]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
tst-fanotify: switch to AC_DEFINE
[thirdparty/glibc.git] / ChangeLog
1 2014-01-04 Mike Frysinger <vapier@gentoo.org>
2
3 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4 * sysdeps/unix/sysv/linux/configure: Regenerated.
5 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7
8 2014-01-03 Joseph Myers <joseph@codesourcery.com>
9
10 [BZ #16390]
11 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13
14 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15
16 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17 extra tokens at end of #undef directive.
18 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
21
22 2014-01-03 Andrew Hunter <ahh@google.com>
23
24 * elf/dl-open.c (dl_open_worker): New comment.
25 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
26 atomic_compare_and_exchange_bool_acq
27 (_dl_allocate_static_tls): Block signals.
28 * elf/dl-tls.c (allocate_and_init): Return void.
29 (_dl_update_slotinfo): Block signals, use atomic update.
30
31 2014-01-03 Joseph Myers <joseph@codesourcery.com>
32
33 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34
35 * math/auto-libm-test-in: Mark various tests with
36 xfail-rounding:ldbl-128ibm.
37 * math/auto-libm-test-out: Regenerated.
38
39 2014-01-02 Joseph Myers <joseph@codesourcery.com>
40
41 [BZ #16386]
42 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
43 numbers with subnormal high part when calculating exponent.
44
45 [BZ #16385]
46 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
47 fabs.
48
49 [BZ #16384]
50 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
51 M_LN2l.
52 (__ieee754_acoshl): Use __log1pl not __log1p.
53
54 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
55
56 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
57 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
58 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
59 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
60 Convert to GNU style.
61 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
62 mem2mem_check, mem2chunk_check, top_check, realloc_check,
63 memalign_check, __malloc_set_state): Likewise.
64 * malloc/mallocbug.c (main): Likewise.
65 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
66 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
67 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
68 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
69 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
70 * malloc/malloc.h: Likewise.
71 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
72 memalignhook, reallochook, mabort): Likewise.
73 * malloc/mcheck.h: Likewise.
74 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
75 mmap64, mremap, munmap, dest): Likewise.
76 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
77 * malloc/morecore.c (__default_morecore): Likewise.
78 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
79 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
80 _obstack_allocated_p, obstack_free, _obstack_memory_used,
81 print_and_abort): Likewise.
82 * malloc/obstack.h: Likewise.
83 * malloc/set-freeres.c (__libc_freeres): Likewise.
84 * malloc/tst-mallocstate.c (main): Likewise.
85 * malloc/tst-mtrace.c (main): Likewise.
86 * malloc/tst-realloc.c (do_test): Likewise.
87
88 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
89
90 [BZ #16366]
91 * nscd/netgroupcache.c (do_notfound): New function.
92 (addgetnetgrentX): Use it.
93
94 [BZ # 16365]
95 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
96 NSS_STATUS_NOTFOUND.
97
98 2014-01-01 Joseph Myers <joseph@codesourcery.com>
99
100 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
102
103 2014-01-01 Allan McRae <allan@archlinux.org>
104
105 * scripts/update-copyrights: Update configure input file suffix.
106
107 * NEWS: Update copyright year.
108 * catgets/gencat.c: Likewise.
109 * csu/version.c: Likewise.
110 * debug/catchsegv.sh: Likewise.
111 * debug/pcprofiledump.c: Likewise.
112 * debug/xtrace.sh: Likewise.
113 * elf/ldconfig.c: Likewise.
114 * elf/ldd.bash.in: Likewise.
115 * elf/pldd.c: Likewise.
116 * elf/sotruss.ksh: Likewise.
117 * elf/sprof.c: Likewise.
118 * iconv/iconv_prog.c: Likewise.
119 * iconv/iconvconfig.c: Likewise.
120 * locale/programs/locale.c: Likewise.
121 * locale/programs/localedef.c: Likewise.
122 * login/programs/pt_chown.c: Likewise.
123 * malloc/memusage.sh: Likewise.
124 * malloc/memusagestat.c: Likewise.
125 * malloc/mtrace.pl: Likewise.
126 * manual/libc.texinfo: Likewise.
127 * nscd/nscd.c: Likewise.
128 * nss/getent.c: Likewise.
129 * nss/makedb.c: Likewise.
130 * posix/getconf.c: Likewise.
131 * scripts/test-installation.pl: Likewise.
132
133 * All files with FSF copyright notices: Update copyright dates
134 using scripts/update-copyrights.
135 * intl/plural.c: Regenerated.
136 * locale/programs/charmap-kw.h: Likewise.
137 * locale/programs/locfile-kw.h: Likewise.
138
139 2013-12-31 Mike Frysinger <vapier@gentoo.org>
140
141 * sysdeps/unix/sysv/linux/configure: Regenerated.
142 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
143 the linux/fanotify.h header.
144 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
145 HAVE_LINUX_FANOTIFY_H is defined.
146
147 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
148
149 * benchtests/cos-inputs: New inputs.
150 * benchtests/sin-inputs: Likewise.
151
152 * benchtests/atan-inputs: New inputs. Fix name of multiple
153 precision fallback inputs.
154
155 * benchtests/atanh-inputs: New inputs.
156 * benchtests/tanh-inputs: Likewise.
157
158 * benchtests/acosh-inputs: New inputs.
159 * benchtests/asinh-inputs: Likewise.
160
161 * benchtests/cosh-inputs: New inputs.
162 * benchtests/sinh-inputs: Likewise.
163
164 * benchtests/acos-inputs: Add more inputs.
165 * benchtests/asin-inputs: Likewise.
166
167 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
168
169 [BZ #16375]
170 * manual/arith.texi: Fix spelling.
171 * manual/charset.texi: Likewise.
172 * manual/errno.texi: Likewise.
173 * manual/filesys.texi: Likewise.
174 * manual/lang.texi: Likewise.
175 * manual/llio.texi: Likewise.
176 * manual/locale.texi: Likewise.
177 * manual/message.texi: Likewise.
178 * manual/resource.texi: Likewise.
179 * manual/search.texi: Likewise.
180 * manual/setjmp.texi: Likewise.
181 * manual/stdio.texi: Likewise.
182 * manual/string.texi: Likewise.
183 * manual/sysinfo.texi: Likewise.
184 * manual/time.texi: Likewise.
185
186 2013-12-27 Carlos O'Donell <carlos@redhat.com>
187
188 * po/sl.po: New file.
189
190 2013-12-27 Mike Frysinger <vapier@gentoo.org>
191
192 * .gitignore: Add core/.gdbinit/.gdb_history.
193
194 2013-12-27 Allan McRae <allan@archlinux.org>
195
196 [BZ #16369]
197 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
198 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
199
200 2013-12-24 Brooks Moses <bmoses@google.com>
201
202 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
203 all compilers that claim C++98 compliance, not just GCC.
204 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
205 Likewise.
206
207 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
208
209 * NEWS: Restore accidentally deleted bug-fix entries.
210
211 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
212 Ondřej Bílka <neleai@seznam.cz>
213
214 [BZ #15073]
215 * malloc/malloc.c (_int_free): Perform sanity check only if we
216 have_lock.
217
218 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
219
220 [BZ #12986]
221 * manual/stdio.texi (String Input Conversions): Clarify that character
222 classes are not supported.
223
224 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
225
226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
227
228 2013-12-22 Joseph Myers <joseph@codesourcery.com>
229
230 [BZ #16337]
231 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
232 Calculate results for small negative arguments directly rather
233 than using reflection formula with special underflow handling.
234
235 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
236 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
237 sysdeps/unix/bsd/bsd4.4/syscalls.list.
238 (fchflags): Likewise.
239 (revoke): Likewise.
240 (setlogin): Likewise.
241 (sigaltstack): Likewise.
242 (wait4): Likewise.
243 (sigblock): Remove.
244 (sigsetmask): Likewise.
245 (wait3): Likewise.
246 (waitpid): Likewise.
247 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
248 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
249 file.
250 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
251 * sysdeps/unix/bsd/Makefile: ... here.
252 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
253 * sysdeps/unix/bsd/Versions: ... here.
254 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
255 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
256 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
257 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
258 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
259 * sysdeps/unix/bsd/sigblock.c: ... here.
260 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
261 * sysdeps/unix/bsd/sigsetmask.c: ... here.
262 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
263 * sysdeps/unix/bsd/sigvec.c: ... here.
264 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
265 * sysdeps/unix/bsd/tcdrain.c: ... here.
266 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
267 * sysdeps/unix/bsd/tcgetattr.c: ... here.
268 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
269 * sysdeps/unix/bsd/tcsetattr.c: ... here.
270 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
271 * sysdeps/unix/bsd/wait.c: ... here.
272 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
273 * sysdeps/unix/bsd/wait3.c: ... here.
274 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
275 * sysdeps/unix/bsd/waitpid.c: ... here.
276
277 2013-12-21 Joseph Myers <joseph@codesourcery.com>
278
279 [BZ #16356]
280 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
281 round-to-nearest for [!USE_AS_EXPM1L].
282 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
283 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
284 more tests of exp and exp10. Expect some exp10 tests to miss
285 exceptions or fail in directed rounding modes.
286 * math/auto-libm-test-out: Regenerated.
287 * math/libm-test.inc (exp10_tonearest_test_data): New array.
288 (exp10_test_tonearest): New function.
289 (exp10_towardzero_test_data): New array.
290 (exp10_test_towardzero): New function.
291 (exp10_downward_test_data): New array.
292 (exp10_test_downward): New function.
293 (exp10_upward_test_data): New array.
294 (exp10_test_upward): New function.
295 (main): Call the new functions.
296 * sysdeps/i386/fpu/libm-test-ulps: Update.
297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
298
299 2013-12-20 Joseph Myers <joseph@codesourcery.com>
300
301 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
302 asinh, atan, atan2, atanh, cbrt, cos and cosh.
303 * math/auto-libm-test-out: Regenerated.
304 * math/libm-test.inc (acosh_test_data): Add more tests.
305 (atanh_test_data): Likewise.
306 (ceil_test_data): Likewise.
307 (copysign_test_data): Likewise.
308 * sysdeps/i386/fpu/libm-test-ulps: Update.
309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
310
311 * timezone/checktab.awk: Update from tzcode 2013i.
312 * timezone/private.h: Likewise.
313 * timezone/scheck.c: Likewise.
314 * timezone/tzfile.h: Likewise.
315 * timezone/tzselect.ksh: Likewise.
316 * timezone/zdump.c: Likewise.
317 * timezone/zic.c: Likewise.
318
319 * math/auto-libm-test-in: Add tests of cpow.
320 * math/auto-libm-test-out: Regenerated.
321 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
322 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
323 mpc_cc_c.
324 (func_calc_desc): Add mpc_cc_c union field.
325 (test_functions): Add cpow.
326 (special_fill_2pi): New function.
327 (special_real_inputs): Add 2pi.
328 (calc_generic_results): Handle mpc_cc_c.
329 * sysdeps/i386/fpu/libm-test-ulps: Update.
330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
331
332 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
333 csqrt, ctan and ctanh.
334 * math/auto-libm-test-out: Regenerated.
335 * math/libm-test.inc (TEST_COND_x86_64): New macro.
336 (TEST_COND_x86): Likewise.
337 (ccos_test_data): Use AUTO_TESTS_c_c.
338 (ccosh_test_data): Likewise.
339 (cexp_test_data): Likewise.
340 (clog_test_data): Likewise.
341 (csqrt_test_data): Likewise.
342 (ctan_test_data): Likewise.
343 (ctan_tonearest_test_data): Likewise.
344 (ctan_towardzero_test_data): Likewise.
345 (ctan_downward_test_data): Likewise.
346 (ctan_upward_test_data): Likewise.
347 (ctanh_test_data): Likewise.
348 (ctanh_tonearest_test_data): Likewise.
349 (ctanh_towardzero_test_data): Likewise.
350 (ctanh_downward_test_data): Likewise.
351 (ctanh_upward_test_data): Likewise.
352 * math/gen-auto-libm-tests.c (func_calc_method): Add value
353 mpc_c_c.
354 (func_calc_desc): Add mpc_c_c union field.
355 (FUNC_mpc_c_c): New macro.
356 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
357 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
358 ctanh.
359 (special_fill_min_subnorm_p120): New function.
360 (special_real_inputs): Add min_subnorm_p120.
361 (calc_generic_results): Handle mpc_c_c.
362 * sysdeps/i386/fpu/libm-test-ulps: Update.
363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
364
365 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
366
367 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
368 do_sin_slow): New functions.
369 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
370 cslow2, csloww1, csloww2): Use the new functions.
371
372 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
373 Use M to change sign of result instead of X. Assume X is
374 positive.
375 (csloww1): Likewise.
376 (__sin): Adjust.
377 (__cos): Adjust.
378
379 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
380 arguments A and DA.
381 (__sin): Adjust.
382 (__cos): Likewise.
383
384 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
385 (__cos): Likewise.
386 (sloww1): Don't adjust sign of DX.
387 (csloww1): Likewise.
388 (sloww2): Use X directly and don't adjust sign of DX.
389 (csloww2): Likewise.
390
391 2013-12-19 Joseph Myers <joseph@codesourcery.com>
392
393 * math/auto-libm-test-in: Add tests of cabs and carg.
394 * math/auto-libm-test-out: Regenerated.
395 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
396 (carg_test_data): Likewise.
397 * math/gen-auto-libm-tests.c (func_calc_method): Add value
398 mpc_c_f.
399 (func_calc_desc): Add mpc_c_f union field.
400 (test_functions): Add cabs and carg.
401 (calc_generic_results): Handle mpc_c_f.
402
403 * sysdeps/powerpc/powerpc32/libgcc-compat.S
404 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
405 as a macro and a compat symbol.
406 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
407 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
408 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
409 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
410 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
411 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
412 not use .hidden.
413 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
414 Likewise.
415 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
416 Likewise.
417 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
418 Likewise.
419 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
420 Likewise.
421 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
422 Likewise.
423 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
424 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
425 from GLIBC_2.3.2.
426
427 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
428
429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
430
431 2013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
432
433 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
434 (__signal_safe_memalign, __signal_safe_free): Use it.
435 (__signal_safe_realloc): Likewise.
436
437 2013-12-19 Joseph Myers <joseph@codesourcery.com>
438
439 * manual/texinfo.tex: Update to version 2013-11-26.10 with
440 trailing whitespace removed.
441 * scripts/config.guess: Update to version 2013-11-29.
442 * scripts/config.sub: Update to version 2013-10-01.
443
444 * math/auto-libm-test-in: Add tests of sincos.
445 * math/auto-libm-test-out: Regenerated.
446 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
447 * math/gen-auto-libm-tests.c (func_calc_method): Add value
448 mpfr_f_11.
449 (func_calc_desc): Add mpfr_f_11 union field.
450 (test_functions): Add sincos.
451 (calc_generic_results): Handle mpfr_f_11.
452 * sysdeps/i386/fpu/libm-test-ulps: Update.
453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
454
455 2013-12-19 Andreas Schwab <schwab@suse.de>
456
457 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
458 CALL_MCOUNT.
459 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
460 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
461 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
462
463 2013-12-19 Joseph Myers <joseph@codesourcery.com>
464
465 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
466 * sysdeps/i386/fpu/libm-test-ulps: Update.
467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
468
469 [BZ #16293]
470 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
471 round-to-nearest mode when using frndint.
472 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
473 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
474 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
475 Likewise.
476 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
477 sinh test to fail.
478 * math/auto-libm-test-out: Regenerated.
479 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
480 (TEST_COND_x86): Likewise.
481 (expm1_tonearest_test_data): New array.
482 (expm1_test_tonearest): New function.
483 (expm1_towardzero_test_data): New array.
484 (expm1_test_towardzero): New function.
485 (expm1_downward_test_data): New array.
486 (expm1_test_downward): New function.
487 (expm1_upward_test_data): New array.
488 (expm1_test_upward): New function.
489 (main): Run the new test functions.
490 * sysdeps/i386/fpu/libm-test-ulps: Update.
491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
492
493 * include/features.h: Update comment documenting feature test
494 macros. Mention _DEFAULT_SOURCE in comment.
495 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
496 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
497 _BSD_SOURCE and _SVID_SOURCE.
498 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
499 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
500 !_SVID_SOURCE]: Likewise.
501 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
502 (__USE_POSIX_IMPLICITLY): Define.
503 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
504 (_POSIX_SOURCE): Undefine and redefine.
505 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
506 (_POSIX_C_SOURCE): Likewise.
507 * manual/creature.texi (_DEFAULT_SOURCE): Document.
508 (Feature Test Macros): Update documentation of default features.
509
510 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
511
512 * benchtests/Makefile: Add bench-strtok.
513 * benchtests/bench-strtok.c: New file: strtok benchtest.
514
515 2013-12-19 Allan McRae <allan@archlinux.org>
516
517 * manual/install.texi: Suppress menu for plain text output.
518 * INSTALL: Regenerated.
519
520 2013-12-18 Andrew Hunter <ahh@google.com>
521
522 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
523 (__signal_safe_malloc, __signal_safe_free): Likewise.
524 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
525 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
526 (__signal_safe_memalign, __signal_safe_malloc): New function.
527 (__signal_safe_free, __signal_safe_realloc): Likewise.
528 (__signal_safe_calloc): Likewise.
529 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
530 functions.
531 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
532
533 2013-12-18 Andrew Hunter <ahh@google.com>
534
535 * elf/Versions (ld): Add _dl_clear_dtv.
536 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
537 * elf/dl-tls.c (_dl_clear_dtv): New function.
538 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
539
540 2013-12-18 Andrew Hunter <ahh@google.com>
541
542 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
543 (_dl_unmask_signals): Likewise.
544 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
545 (_dl_unmask_all_signals): Likewise.
546 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
547 (_dl_unmask_all_signals): Likewise.
548 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
549 (_dl_unmask_signals): Likewise.
550
551 2013-12-18 Brooks Moses <bmoses@google.com>
552
553 [BZ #15846]
554 * misc/getauxval.c: Include errno.h.
555 (__getauxval): Set errno to ENOENT if the requested type is not
556 found.
557 * misc/sys/auxv.h (getauxval): Document that it may set errno;
558 don't declare with __attribute_const__.
559 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
560 * manual/startup.texi: Document that getauxval sets errno.
561
562 2013-12-18 Joseph Myers <joseph@codesourcery.com>
563
564 * math/auto-libm-test-in: Add tests of jn and yn.
565 * math/auto-libm-test-out: Regenerated.
566 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
567 (yn_test_data): Likewise.
568 * math/gen-auto-libm-tests.c (func_calc_method): Add value
569 mpfr_if_f.
570 (func_calc_desc): Add mpfr_if_f union field.
571 (FUNC_mpfr_if_f): New macro.
572 (test_functions): Add jn and yn.
573 (calc_generic_results): Assert type of second input for
574 mpfr_ff_f. Handle mpfr_if_f.
575 (output_for_one_input_case): Disable all checking for arguments
576 fitting floating-point types in case of an integer argument.
577 * sysdeps/i386/fpu/libm-test-ulps: Update.
578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
579
580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
581 Don't expect fegetround reference in libm.so.
582
583 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
584
585 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
586 $(config-cflags-nofma).
587
588 2013-12-18 Joseph Myers <joseph@codesourcery.com>
589
590 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
591 * math/auto-libm-test-out: Regenerated.
592
593 [BZ #16338]
594 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
595 to determine exponent and adjust argument to have exponent of -1.
596 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
597 log2.
598 * math/auto-libm-test-out: Regenerated.
599 * sysdeps/i386/fpu/libm-test-ulps: Update.
600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
601
602 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
603
604 * manual/probes.texi: Remove cases when per-thread arenas are
605 disabled.
606
607 2013-12-18 Andreas Schwab <schwab@suse.de>
608
609 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
610 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
611 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
612 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
613 * sysdeps/i386/i686/multiarch/Makefile: Update.
614 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
615
616 2013-12-17 Joseph Myers <joseph@codesourcery.com>
617
618 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
619 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
620
621 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
622
623 Support TZ transition times < 00:00:00.
624 This is needed for version-3 tz-format files; it supports time
625 stamps past 2037 for America/Godthab (the only entry in the tz
626 database for which this change is relevant).
627 * manual/time.texi (TZ Variable): Document transition times
628 from -167:59:59 through -00:00:01.
629 * time/tzset.c (tz_rule): Time of day is now signed.
630 (__tzset_parse_tz): Parse negative time of day.
631
632 Document TZ transition times >= 25:00:00.
633 * manual/time.texi (TZ Variable): Document transition times from
634 25:00:00 through 167:59:59. These are already supported, and this
635 support will help with version-3 tz-format files.
636
637 * manual/time.texi (TZ Variable): Modernize North America example
638 to reflect current (i.e., 2007-and-later) daylight saving rules.
639
640 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
641
642 2013-12-17 Joseph Myers <joseph@codesourcery.com>
643
644 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
645 * sysdeps/unix/bsd/bits/stat.h: Likewise.
646 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
647 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
648 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
649 * sysdeps/unix/bsd/bsdstat.h: Likewise.
650 * sysdeps/unix/bsd/clock.c: Likewise.
651 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
652 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
653 * sysdeps/unix/bsd/init-posix.c: Likewise.
654 * sysdeps/unix/bsd/poll.c: Likewise.
655 * sysdeps/unix/bsd/ptsname.c: Likewise.
656 * sysdeps/unix/bsd/seekdir.c: Likewise.
657 * sysdeps/unix/bsd/setegid.c: Likewise.
658 * sysdeps/unix/bsd/seteuid.c: Likewise.
659 * sysdeps/unix/bsd/setgid.c: Likewise.
660 * sysdeps/unix/bsd/setrgid.c: Likewise.
661 * sysdeps/unix/bsd/setruid.c: Likewise.
662 * sysdeps/unix/bsd/setsid.c: Likewise.
663 * sysdeps/unix/bsd/setuid.c: Likewise.
664 * sysdeps/unix/bsd/sigaction.c: Likewise.
665 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
666 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
667 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
668 * sysdeps/unix/bsd/telldir.c: Likewise.
669 * sysdeps/unix/bsd/times.c: Likewise.
670 * sysdeps/unix/bsd/usleep.c: Likewise.
671
672 * misc/Makefile (install-lib): Remove libbsd-compat.a.
673 ($(objpfx)libbsd-compat.a): Remove rule.
674
675 * include/features.h (__FAVOR_BSD): Do not define.
676 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
677 features conflicting with POSIX.
678 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
679 (_BSD_SOURCE): Remove description of not being a subset of other
680 feature test macros.
681 * manual/job.texi (getpgrp): Do not document BSD version.
682 (getpgid): Do not document by reference to BSD getpgrp.
683 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
684 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
685 * signal/signal.h [__FAVOR_BSD]: Likewise.
686 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
687 instead of making contents conditional on [__FAVOR_BSD].
688 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
689
690 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
691
692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
693
694 2013-12-17 Joseph Myers <joseph@codesourcery.com>
695
696 [BZ #16314]
697 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
698 values below 2**-450, not 2**-500.
699 * math/auto-libm-test-in: Don't allow spurious underflow from
700 hypot.
701 * math/auto-libm-test-out: Regenerated.
702
703 [BZ #16316]
704 [BZ #16330]
705 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
706 values of ha and hb and sort them after adjusting subnormal
707 arguments.
708 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
709 Likewise.
710 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
711 values of ea and eb and sort them after adjusting subnormal
712 arguments.
713 * math/auto-libm-test-in: Do not expect some hypot tests of
714 subnormals to fail. Add more hypot tests.
715 * math/auto-libm-test-out: Regenerated.
716
717 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
718
719 [BZ #13304]
720 * sysdeps/sh/s_fma.c: New file.
721 * sysdeps/sh/s_fmaf.c: New file.
722 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
723 version.
724 * sysdeps/sh/Implies: Add sh/soft-fp.
725
726 2013-12-16 Roland McGrath <roland@hack.frob.com>
727
728 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
729 level of indirection to members `objname', `errstring', `malloced'.
730 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
731 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
732 it as the __longjmp argument (just pass 1 instead).
733 (_dl_catch_error): Initialize C with argument pointers and address of
734 volatile local ERRCODE rather than copying values out of C at return.
735
736 2013-12-16 Joseph Myers <joseph@codesourcery.com>
737
738 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
739 * math/auto-libm-test-out: Regenerated.
740 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
741 (hypot_test_data): Likewise.
742 (pow_test_data): Likewise.
743 (pow_tonearest_test_data): Likewise.
744 * math/gen-auto-libm-tests.c (func_calc_method): Add value
745 mpfr_ff_f.
746 (func_calc_desc): Add mpfr_ff_f union field.
747 (FUNC_mpfr_ff_f): New macro.
748 (test_functions): Add atan2, hypot and pow.
749 (special_fill_min): New function.
750 (special_fill_minus_min): Likewise.
751 (special_fill_min_subnorm): Likewise.
752 (special_fill_minus_min_subnorm): Likewise.
753 (special_real_inputs): Add min, -min, min_subnorm and
754 -min_subnorm.
755 (calc_generic_results): Handle mpfr_ff_f.
756 * sysdeps/i386/fpu/libm-test-ulps: Update.
757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
758
759 2013-12-16 Will Newton <will.newton@linaro.org>
760
761 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
762 (Aligned Memory Blocks): Add documentation for aligned_alloc
763 and suggest it as an alternative to posix_memalign.
764 (Hooks for Malloc): Document __memalign_hook is also called
765 for aligned_alloc. (Summary of Malloc): Add summary for
766 aligned alloc. Document __memalign_hook is also called
767 for aligned_alloc.
768
769 2013-12-16 Will Newton <will.newton@linaro.org>
770
771 * manual/memory.texi (Malloc Examples): Clarify default
772 alignment documentation. Suggest posix_memalign rather
773 than memalign or valloc.
774 (Aligned Memory Blocks): Remove suggestion to use memalign
775 or valloc. Remove obsolete comment about BSD.
776 Document memalign errno values and mark the function obsolete.
777 Document posix_memalign returned error codes. Mark valloc
778 as obsolete. (Hooks for Malloc): __memalign_hook is also
779 called for posix_memalign and valloc.
780 (Summary of Malloc): Add posix_memalign to function summary.
781 __memalign_hook is also called for posix_memalign and valloc.
782
783 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
784
785 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
786 TAYLOR_SIN.
787 (__sin): Adjust.
788 (__cos): Likewise.
789 (sloww): Use mynumber union. Expand ternary operator into
790 if-else statements.
791 (cslow): use mynumber union.
792
793 2013-12-16 Allan McRae <allan@archlinux.org>
794
795 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
796 * configure: Regenerated.
797
798 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
799
800 [BZ #14120]
801 * configure.ac: Added --enable-maintainer-mode. Check for
802 autoconf when enabled.
803 * configure: Regenerated.
804
805 * nscd/nscd.service: New file.
806 * nscd/nscd.tmpfiles: New file.
807
808 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
809
810 [BZ #12100]
811 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
812 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
813 * sysdeps/x86_64/multiarch/strstr.c: ... here.
814 (strstr): Add __strstr_sse2_unaligned ifunc.
815 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
816 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
817 (strcasestr): Remove __strcasestr_sse42 ifunc.
818 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
819 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
820 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
821
822 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
823
824 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
825 * sysdeps/sh/bits/fenv.h: ... here.
826 * sysdeps/sh/sh4/fpu/bits: Remove directory.
827
828 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
829
830 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
831
832 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
833
834 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
835 hypotf multiarch implementations.
836 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
837 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
838 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
839 multiarch hypot for PPC64.
840 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
841 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
842 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
843 multiarch hypotf for PPC64.
844
845 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
846
847 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
848 modff multiarch implementations.
849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
852 multiarch modf for PPC64.
853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
856 multiarch modff for PPC64.
857
858 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
859
860 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
861 and logl multiarch implementations.
862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
865 multiarch logb for PPC64.
866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
869 multiarch logb for PPC64.
870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
873 multiarch logb for PPC64.
874
875 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
876
877 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
878 isinff multiarch implementation.
879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
880 file.
881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
883 multiarch isinf for PPC64.
884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
885 file.
886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
887 multiarch isinff for PPC64.
888
889 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
890
891 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
892 finitef multiarch implementation.
893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
894 file.
895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
897 multiarch finite for PPC64.
898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
899 file.
900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
901 multiarch finitef for PPC64.
902
903 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
904
905 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
906 lrint multiarch implementation.
907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
908 file.
909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
911 multiarch llrint for PPC64.
912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
913 multiarch lrint for PPC64.
914
915 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
916
917 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
918 copysignf multiarch implementation.
919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
920 file.
921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
922 file.
923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
924 multiarch copysign for PPC64.
925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
926 multiarch copysignf for PPC64.
927
928 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
929
930 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
931 multiarch implementation.
932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
933 file.
934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
935 file.
936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
937 file.
938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
939 file.
940 multiarch llround for PPC64.
941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
942 multiarch trunc for PPC64.
943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
944 multiarch truncf for PPC64.
945
946 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
947
948 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
949 multiarch implementation.
950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
951 file.
952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
953 file.
954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
955 file.
956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
957 file.
958 multiarch llround for PPC64.
959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
960 multiarch round for PPC64.
961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
962 multiarch roundf for PPC64.
963
964 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
965
966 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
967 multiarch implementation.
968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
969 file.
970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
971 file.
972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
973 file.
974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
975 file.
976 multiarch llround for PPC64.
977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
978 multiarch floor for PPC64.
979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
980 multiarch floorf for PPC64.
981
982 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
983
984 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
985 multiarch implementation.
986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
987 file.
988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
989 file.
990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
991 file.
992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
993 file.
994 multiarch llround for PPC64.
995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
996 multiarch ceil for PPC64.
997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
998 multiarch ceilf for PPC64.
999
1000 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1001
1002 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1003 multiarch implementation.
1004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1005 file.
1006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1007 file.
1008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1009 file.
1010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1011 multiarch llround for PPC64.
1012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1013 multiarch lround for PPC64.
1014
1015 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1016
1017 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1018 multiarch implementation.
1019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1022 file.
1023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1026 multiarch isnan for PPC64.
1027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1028 multiarch isnanf for PPC64.
1029
1030 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1031
1032 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1033 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1034 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1035 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1036 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1038
1039 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1040
1041 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1042 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1043 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1044 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1045
1046 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1047
1048 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1049 multiarch implementations.
1050 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1051 (__libc_ifunc_impl_list): Likewise.
1052 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1053 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1054 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1055 multiarch stpcpy for PPC64.
1056
1057 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1058
1059 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1060 multiarch implementations.
1061 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1062 (__libc_ifunc_impl_list): Likewise.
1063 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1064 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1065 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1066 multiarch strcpy for PPC64.
1067
1068 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1069
1070 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1071 redefine function name.
1072 (_wordcopy_fwd_dest_aligned): Likewise.
1073 (_wordcopy_bwd_aligned): Likewise.
1074 (_wordcopy_bwd_dest_aligned): Likewise.
1075 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1076 multiarch implementations.
1077 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1078 (__libc_ifunc_impl_list): Likewise.
1079 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1080 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1081 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1082 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1083 multiarch wcscpy for PPC64.
1084
1085 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1086
1087 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1088 multiarch implementations.
1089 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1090 (__libc_ifunc_impl_list): Likewise.
1091 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1092 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1093 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1094 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1095 multiarch wcscpy for PPC64.
1096
1097 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1098
1099 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1100 multiarch implementations.
1101 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1102 (__libc_ifunc_impl_list): Likewise.
1103 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1104 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1105 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1106 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1107 multiarch wcsrchr for PPC64.
1108
1109 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1110
1111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1112 multiarch implementations.
1113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1114 (__libc_ifunc_impl_list): Likewise.
1115 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1116 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1117 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1118 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1119 multiarch wcschr for PPC64.
1120
1121 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1122
1123 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1124 multiarch implementations.
1125 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1126 (__libc_ifunc_impl_list): Likewise.
1127 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1128 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1129 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1130 multiarch strchrnul for PPC64.
1131
1132 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1133
1134 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1135 implementations.
1136 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1137 (__libc_ifunc_impl_list): Likewise.
1138 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1139 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1140 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1141 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1142 strchr for PPC64.
1143
1144 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1145
1146 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1147 implementations.
1148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1149 (__libc_ifunc_impl_list): Likewise.
1150 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1151 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1152 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1153 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1154 strncmp for PPC64.
1155
1156 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1157
1158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1159 multiarch implementations.
1160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1161 (__libc_ifunc_impl_list): Likewise.
1162 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1163 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1164 strncasecmp for PPC64.
1165 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1166 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1167 multiarch strncasecmp_l for PPC64.
1168
1169 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1170
1171 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1172 multiarch implementations.
1173 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1174 (__libc_ifunc_impl_list): Likewise.
1175 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1176 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1177 multiarch strcasecmp for PPC64.
1178 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1179 file.
1180 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1181 multiarch strcasecmp_l for PPC64.
1182
1183 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1184
1185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1186 implementations.
1187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1188 (__libc_ifunc_impl_list): Likewise.
1189 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1190 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1191 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1192 strnlen for PPC64.
1193
1194 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1195
1196 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1197 implementations.
1198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1199 (__libc_ifunc_impl_list): Likewise.
1200 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1201 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1202 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1203 strlen for PPC64.
1204
1205 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1206
1207 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1208 implementations.
1209 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1210 (__libc_ifunc_impl_list): Likewise.
1211 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1212 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1213 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1214 rawmemrchr for PPC64.
1215
1216 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1217
1218 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1219 implementation.
1220 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1221 (__libc_ifunc_impl_list): Likewise.
1222 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1223 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1224 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1225 memrchr for PPC64.
1226
1227 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1228
1229 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1230 implementation.
1231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1232 (__libc_ifunc_impl_list): Likewise.
1233 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1234 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1235 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1236 memchr for PPC64.
1237
1238 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1239
1240 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1241 implementation.
1242 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1243 (__libc_ifunc_impl_list): Likewise.
1244 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1245 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1246 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1247 mempcpy for PPC64.
1248
1249 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1250
1251 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1252 avoid cretion of __bzero symbol.
1253 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1254 Likewise.
1255 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1256 Likewise.
1257 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1258 Likewise.
1259 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1260 multiarch implementations.
1261 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1262 (__libc_ifunc_impl_list): Likewise.
1263 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1264 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1265 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1266 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1267 bzero for PPC32.
1268 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1269 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1270 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1271 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1272 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1273 memset for PPC64.
1274 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1275
1276 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1277
1278 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1279 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1280 implementations.
1281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1282 (__libc_ifunc_impl_list): Likewise.
1283 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1284 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1285 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1286 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1287 memcmp for PPC64.
1288
1289 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1290
1291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1292 multiarch for POWER/PPC64.
1293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1294 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1295 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1296 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1297 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1298 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1299 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1300 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1301 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1302 memcpy for PPC64.
1303
1304 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1305
1306 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1307 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1308 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1309 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1310 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1311 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1312 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1313 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1314 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1315 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1316 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1317 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1318 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1319 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1320 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1328
1329 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1330
1331 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1332
1333 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1334
1335 * benchtests/Makefile (bench): Add exp2 and log2.
1336 (LDLIBS-bench-exp2): Add -lm.
1337 (LDLIBS-bench-log2): Likewise.
1338 * benchtests/exp2-inputs: New inputs file.
1339 * benchtests/log2-inputs: New inputs file.
1340 * benchtests/log-inputs: Add new inputs.
1341 * benchtests/tan-inputs: Likewise.
1342
1343 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1344
1345 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1346 definition...
1347 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1348 csloww1, csloww2): ... from here.
1349
1350 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1351 instead of structures.
1352 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1353 (POLYNOMIAL): Likewise.
1354 (TAYLOR_SLOW): Likewise.
1355 (__sin): Likewise.
1356 (__cos): Likewise.
1357 (slow1): Likewise.
1358 (slow2): Likewise.
1359 (sloww): Likewise.
1360 (sloww1); Likewise.
1361 (sloww2): Likewise.
1362 (bsloww1): Likewise.
1363 (bsloww2): Likewise.
1364 (cslow2): Likewise.
1365 (csloww): Likewise.
1366 (csloww1): Likewise.
1367 (csloww2): Likewise.
1368
1369 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1370
1371 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1372 (__malloc_assert, __libc_realloc, __libc_calloc,
1373 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1374 memcpy and memset.
1375 * malloc/hooks.c (realloc_check): Likewise.
1376
1377 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1378
1379 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1380 * malloc/arena.c: Remove PER_THREAD conditional.
1381 [!PER_THREAD]: Remove code.
1382 (ptmalloc_unlock_all2): Likewise.
1383 (ptmalloc_init): Likewise.
1384 (_int_new_arena): Likewise.
1385 (arena_get2): Likewise.
1386 * malloc/hooks.c (__malloc_get_state): Likewise.
1387 (__malloc_set_state): Likewise.
1388 * malloc/malloc.c: Likewise.
1389 (struct malloc_state): Likewise.
1390 (struct malloc_par): Likewise.
1391 (__libc_realloc): Likewise.
1392 (__libc_mallopt): Likewise.
1393
1394 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1395
1396 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1397
1398 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1399
1400 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1401 macro to a function. Check for zero perturb_byte.
1402 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1403
1404 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1405
1406 * malloc/malloc.c: (force_reg): Remove.
1407 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1408 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1409 force_reg by atomic_forced_read.
1410 * malloc/arena.c (ptmalloc_init): Likewise.
1411 * malloc/hooks.c (top_check): Likewise.
1412
1413 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1414
1415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1416
1417 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1418
1419 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1420
1421 2013-12-08 Joseph Myers <joseph@codesourcery.com>
1422
1423 * math/auto-libm-test-in: Add tests of lgamma.
1424 * math/auto-libm-test-out: Regenerated.
1425 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1426 (M_LOG_2_SQRT_PIl): Likewise.
1427 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1428 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1429 mpfr_f_f1.
1430 (func_calc_desc): Add mpfr_f_f1 union field.
1431 (ARGS1): New macro.
1432 (ARGS2): Likewise.
1433 (ARGS3): Likewise.
1434 (ARGS4): Likewise.
1435 (RET1): Likewise.
1436 (RET2): Likewise.
1437 (CALC): Likewise.
1438 (FUNC): Likewise.
1439 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1440 (test_functions): Add lgamma.
1441 (calc_generic_results): Handle mpfr_f_f1.
1442 * sysdeps/i386/fpu/libm-test-ulps: Update.
1443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1444
1445 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1446
1447 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1448 __mpn_add_n for PowerPC64/POWER7.
1449 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1450 __mpn_sub_n for PowerPC64/POWER7.
1451
1452 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1453
1454 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1455 __mpn_addmul_1 for PowerPC64.
1456 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1457 __mpn_submul_1 for PowerPC64.
1458 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1459 for PowerPC64.
1460 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1461 for PowerPC64.
1462
1463 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1464
1465 [BZ #15089]
1466 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1467
1468 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1469
1470 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1471
1472 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1473
1474 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1475 add multiarch folders.
1476 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1477 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1478 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1479 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1480 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1481 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1482 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1483 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1484 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1485 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1486 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1493
1494 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1495
1496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1497 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1499 New file.
1500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1501 New file.
1502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1503 multiarch __ieee754_hypot for PowerPC32.
1504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1505 New file.
1506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1507 New file.
1508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1509 multiarch __ieee754_hypotf for PowerPC32.
1510
1511 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1512
1513 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1514 long_double_symbol only if __logbl is defined.
1515 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1516 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1517 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1518 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1519 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1520 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1521 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1522 path for implementation.
1523 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1524 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1526 logb, and logbl multiarch implementations for PowerPC32.
1527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1528 file.
1529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1530 file.
1531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1532 multiarch logb for PowerPC32.
1533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1534 file.
1535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1536 file.
1537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1538 multiarch logbf for PowerPC32.
1539 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1541 file.
1542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1543 multiarch logbl implementation for PowerPC32.
1544
1545 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1546
1547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1548 and modff multiarch implementations.
1549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1550 New file.
1551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1552 New file.
1553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1554 multiarch modf for PowerPC32.
1555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1556 New file.
1557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1558 New file.
1559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1560 multiarch modff for PowerPC32.
1561
1562 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1563
1564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1565 and lrintf multiarch implementations.
1566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1567 New file.
1568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1569 New file.
1570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1571 multiarch lrint for PowerPC32.
1572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1573 file: multiarch lrintf for PowerPC32.
1574
1575 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1576
1577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1578 and lroundf multiarch implementations.
1579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1580 New file.
1581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1582 New file.
1583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1584 New file.
1585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1586 multiarch lround for PowerPC32.
1587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1588 file: multiarch lroundf for PowerPC32.
1589
1590 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1591
1592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1593 copysign and copysignf multiarch implementations.
1594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1595 New file.
1596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1597 New file.
1598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1599 file: multiarch copysign for PowerPC32.
1600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1601 file: multiarch copysignf for PowerPC32.
1602
1603 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1604
1605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1606 and truncf multiarch implementations.
1607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1608 New file.
1609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1610 file.
1611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1612 multiarch trunc for PowerPC32.
1613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1614 New file.
1615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1616 New file.
1617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1618 multiarch truncf for PowerPC32.
1619
1620 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1621
1622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1623 and roundf multiarch implementations.
1624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1625 New file.
1626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1627 file.
1628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1629 multiarch round for PowerPC32.
1630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1631 New file.
1632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1633 New file.
1634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1635 multiarch roundf for PowerPC32.
1636
1637 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1638
1639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1640 and floorf multiarch implementations.
1641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1642 New file.
1643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1644 file.
1645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1646 multiarch floor for PowerPC32.
1647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1648 New file.
1649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1650 New file.
1651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1652 multiarch floorf for PowerPC32.
1653
1654 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1655
1656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1657 and ceilf multiarch implementations.
1658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1659 New file.
1660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1661 file.
1662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1663 multiarch ceil for PowerPC32.
1664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1665 New file.
1666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1667 file.
1668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1669 multiarch ceilf for PowerPC32.
1670
1671 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1672
1673 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1674 is defined.
1675 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1676 FINITEF is defined.
1677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1678 and finitef multiarch implementations.
1679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1680 New file.
1681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1682 file.
1683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1684 multiarch finite for PowerPC32.
1685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1686 New file.
1687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1688 file: multiarch finitef for PowerPC32.
1689
1690 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1691
1692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1693 and isinff multiarch implementations.
1694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1695 file.
1696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1697 file.
1698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1699 multiarch isinf for PowerPC32.
1700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1701 New file.
1702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1703 multiarch isinff for PowerPC32.
1704
1705 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1706
1707 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1708 alias when __isnan is defined.
1709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1710 and isnanf multiarch implementations.
1711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1712 file.
1713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1714 file.
1715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1716 file.
1717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1718 file.
1719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1720 multiarch isnan for PowerPC32.
1721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1722 New file.
1723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1724 New file.
1725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1726 multiarch isnanf for PowerPC32.
1727
1728 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1729
1730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1731 and sqrtf multiarch implementations.
1732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1733 file.
1734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1735 file.
1736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1737 multiarch sqrt for PowerPC32.
1738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1739 file.
1740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1741 file.
1742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1743 multiarch sqrtf for PowerPC32.
1744
1745 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1746
1747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1748 and llroundf multiarch implementations.
1749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1750 New file.
1751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1752 New file.
1753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1754 New file.
1755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1756 file: multiarch llround for PowerPC32.
1757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1758 file: multiarch llroundf for PowerPC32.
1759
1760 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1761
1762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1763 multiarch PowerPC32 fpu implementations.
1764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1765 New file.
1766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1767 New file.
1768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1769 multiarch llrint for PowerPC32.
1770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1771 New file.
1772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1773 New file.
1774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1775 file.
1776
1777 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1778
1779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1780
1781 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1782
1783 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1784 file.
1785 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1786 file.
1787 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1788 file.
1789 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1790 multiarch wordcopy for PPC32.
1791 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1792 wordcopy objects.
1793 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1794 (__libc_ifunc_impl_list): Likewise.
1795 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1796 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1797 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1798 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1799 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1800 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1801
1802 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1803
1804 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1805 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1806 file.
1807 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1808 file.
1809 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1810 file.
1811 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1812 multiarch wcscpy for PPC32.
1813 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1814 multiarch objects.
1815 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1816 (__libc_ifunc_impl_list): Likewise.
1817 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1818 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1819 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1820 sysdeps/powerpc/power6/wcscpy.c.
1821
1822 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1823
1824 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1825 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1826 file.
1827 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1828 file.
1829 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1830 file.
1831 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1832 multiarch wcsrchr for PPC32.
1833 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1834 multiarch objects.
1835 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1836 (__libc_ifunc_impl_list): Likewise.
1837 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1838 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1839 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1840 sysdeps/powerpc/power6/wcsrchr.c.
1841
1842 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1843
1844 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1845 file.
1846 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1847 file.
1848 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1849 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1850 multiarch wcschr for PPc32.
1851 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1852 multiarch objects.
1853 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1854 (__libc_ifunc_impl_list): Likewise.
1855 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1856 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1857 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1858 sysdeps/powerpc/power6/wcschr.c.
1859
1860 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1861
1862 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1863 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1864 file.
1865 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1866 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1867 file: multiarch strchr for PPC32.
1868 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1869 multiarch objects.
1870 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1871 (__libc_ifunc_impl_list): Likewise.
1872
1873 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1874
1875 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1876 name.
1877 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1878 file.
1879 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1880 file.
1881 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1882 multiarch strchrnul for PPC32.
1883 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1884 multiarch objects.
1885 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1886 (__libc_ifunc_impl_list): Likewise.
1887
1888 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1889
1890 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1891 file.
1892 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1893 multiarch strncasecmp for PPC32.
1894 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1895 file.
1896 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1897 multiarch strncasecmp_l for PPC32.
1898 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1899 strncasecmp multiarch objects.
1900 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1901 (__libc_ifunc_impl_list): Likewise.
1902
1903 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1904
1905 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1906 file.
1907 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1908 multiarch strncasecmp for PPC32.
1909 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1910 New file.
1911 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1912 multiarch strcasecmp_l for PPC32.
1913 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1914 multiarch objects.
1915 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1916 (__libc_ifunc_impl_list): Likewise.
1917
1918 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1919
1920 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1921 file.
1922 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1923 file.
1924 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1925 multiarch strncmp for PPC32.
1926 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1927 multiarch objects.
1928 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1929 (__libc_ifunc_impl_list): Likewise.
1930
1931 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1932
1933 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1934 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1935 file.
1936 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1937 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1938 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1939 multiarch objects.
1940 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1941 (__libc_ifunc_impl_list): Likewise.
1942
1943 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1944
1945 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1946 file.
1947 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1948 file.
1949 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1950 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1951 multiarch objects.
1952 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1953 (__libc_ifunc_impl_list): Likewise.
1954
1955 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1956
1957 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1958 file.
1959 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1960 file.
1961 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1962 multiarch rawmemchr for PPC32.
1963 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1964 multiarch objects.
1965 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1966 (__libc_ifunc_impl_list): Likewise.
1967
1968 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1969
1970 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1971 file.
1972 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1973 file.
1974 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1975 file: memrchr multiarch for PPC32.
1976 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1977 multiarch objects.
1978 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1979 (__libc_ifunc_impl_list): Likewise.
1980
1981 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1982
1983 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1984 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1985 file.
1986 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1987 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1988 multiarch memchr for PPC32.
1989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1990 multiarch objects.
1991 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1992 (__libc_ifunc_impl_list): Likewise.
1993
1994 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1995
1996 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1997 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1998 file.
1999 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2000 file.
2001 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2002 file: multiarch mempcpy for PPC32.
2003 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2004 multiarch objects.
2005 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2006 (__libc_ifunc_impl_list): Likewise.
2007
2008 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2009
2010 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2011 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2012 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2013 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2014 multiarch bzero for PPC32.
2015 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2016 file.
2017 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2018 file.
2019 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2020 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2021 file: multiarch memset for PPC32.
2022 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2023 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2024 memset multiarch objects.
2025 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2026 (__libc_ifunc_impl_list): Likewise.
2027
2028 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2029
2030 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2031 file.
2032 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2033 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2034 memcmp for PPC32.
2035 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2036 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2037 multiarch objects.
2038 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2039 (__libc_ifunc_impl_list): Likewise.
2040
2041 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2042
2043 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2044 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2045 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2046 file.
2047 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2048 file.
2049 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2050 file.
2051 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2052 multiarch memcpy for PPC32.
2053 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2054 multiarch objects.
2055 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2056 (__libc_ifunc_impl_list): Likewise.
2057
2058 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2059
2060 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2061 support multiarch for POWER/PPC32.
2062 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2063 Likewise.
2064 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2066 Implies file to make multiarch folder appers before the fpu and
2067 default folder for power4 configuration.
2068
2069 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2070
2071 * scripts/bench.pl: Append volatile keyword to type.
2072
2073 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2074
2075 * sysdeps/sh/sotruss-lib.c: New file.
2076 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2077
2078 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2079
2080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2081
2082 2013-12-05 Joseph Myers <joseph@codesourcery.com>
2083
2084 [BZ #6810]
2085 * math/w_tgamma.c: Include <errno.h>.
2086 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2087 * math/w_tgammaf.c: Include <errno.h>.
2088 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2089 * math/w_tgammal.c: Include <errno.h>.
2090 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2091 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2092 underflow. Add more tgamma tests.
2093 * math/auto-libm-test-out: Regenerated.
2094 * sysdeps/i386/fpu/libm-test-ulps: Update.
2095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2096
2097 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2098 sin, sinh, tan, tanh, tgamma, y0 and y1.
2099 * math/auto-libm-test-out: Regenerated.
2100 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2101 (TEST_COND_x86): Likewise.
2102 (M_E2l): Remove macro.
2103 (M_E3l): Likewise.
2104 (M_2_SQRT_PIl): Likewise.
2105 (M_SQRT_PIl): Likewise.
2106 (M_1_DIV_El): Likewise.
2107 (log_test_data): Use AUTO_TESTS_f_f.
2108 (log10_test_data): Likewise.
2109 (log1p_test_data): Likewise.
2110 (log2_test_data): Likewise.
2111 (sin_test_data): Likewise.
2112 (sin_tonearest_test_data): Likewise.
2113 (sin_towardzero_test_data): Likewise.
2114 (sin_downward_test_data): Likewise.
2115 (sin_upward_test_data): Likewise.
2116 (sinh_test_data): Likewise.
2117 (sinh_tonearest_test_data): Likewise.
2118 (sinh_towardzero_test_data): Likewise.
2119 (sinh_downward_test_data): Likewise.
2120 (sinh_upward_test_data): Likewise.
2121 (tan_test_data): Likewise.
2122 (tan_tonearest_test_data): Likewise.
2123 (tan_towardzero_test_data): Likewise.
2124 (tan_downward_test_data): Likewise.
2125 (tan_upward_test_data): Likewise.
2126 (tanh_test_data): Likewise.
2127 (tgamma_test_data): Likewise.
2128 (y0_test_data): Likewise.
2129 (y1_test_data): Likewise.
2130 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2131 (special_real_inputs): Add pi/4.
2132 * sysdeps/i386/fpu/libm-test-ulps: Update.
2133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2134
2135 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2136
2137 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2138 "longjmp_target" static probes.
2139 (__longjmp): Rename to __longjmp_symbol.
2140 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2141 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2142 on which longjmp to generate.
2143 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2144 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2145 probe.
2146 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2147 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2148 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2149 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2150 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2151 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2153 __longjmp_symbol based on which __longjmp to generate.
2154 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2155 probe.
2156 (setjmp): Rename to setjmp_symbol.
2157 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2158 (_setjmp): Rename to _setjmp_symbol.
2159 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2160 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2161 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2162 which setjmp to generate.
2163 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2164 "longjmp_target" static probes.
2165
2166 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2167
2168 * benchtests/README: Add note about output arguments.
2169 * benchtests/bench-sincos.c: Remove file.
2170 * benchtests/sincos-inputs: New file.
2171 * scripts/bench.pl: Identify output arguments and define
2172 static variables for them.
2173
2174 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2175
2176 [BZ #15941]
2177 * Makefile (INSTALL): Add install-plain.texi as the primary
2178 dependency.
2179 * manual/install-plain.texi: New file.
2180 * manual/install.texi: Include node directive only for
2181 non-plaintext output.
2182
2183 2013-12-04 Joseph Myers <joseph@codesourcery.com>
2184
2185 * stdlib/longlong.h: Update from GCC.
2186
2187 [BZ #6807]
2188 [BZ #15901]
2189 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2190 * math/w_j0f.c (y0f): Likewise.
2191 * math/w_j0l.c (__y0l): Likewise.
2192 * math/w_j1.c (y1): Likewise.
2193 * math/w_j1f.c (y1f): Likewise.
2194 * math/w_j1l.c (__y1l): Likewise
2195 * math/w_jn.c (yn): Likewise.
2196 * math/w_jnf.c (ynf): Likewise.
2197 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2198 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2199 value for Bessel function domain errors outside _SVID_ mode.
2200 Adjust sign of return value for yn (negative integer, 0).
2201 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2202 by zero in return for negative x and set sign appropriately for
2203 negative n.
2204 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2205 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2206 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2207 expectations in error cases.
2208 (y1_test_data): Likewise.
2209 (yn_test_data): Likewise.
2210 * sysdeps/i386/fpu/libm-test-ulps: Update.
2211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2212
2213 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2214
2215 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2216 "64" to "64-v1". Add "64-v2".
2217 (abi-64-options): Rename to ...
2218 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2219 (abi-64-condition): Rename to ...
2220 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2221 (abi-64-ld-soname): Rename to ...
2222 (abi-64-v1-ld-soname): ... this.
2223 (abi-64-v2-options): Define.
2224 (abi-64-v2-condition): Likewise.
2225 (abi-64-v2-ld-soname): Likewise.
2226 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2227 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2231
2232 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2233 Alan Modra <amodra@gmail.com>
2234
2235 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2236 New versions for use with the ELFv2 ABI.
2237 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2238 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2239 declaration.
2240 (struct La_ppc64v2_retval): Likewise.
2241 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2242 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2243 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2244 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2245 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2246 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2247 Do not save or restore CR.
2248 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2249 (_dl_profile_resolve): Do no save or restore CR. Support extended
2250 return values for ELFv2 ABI. Fix location of FPR return registers.
2251 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2252 updated values for _CALL_ELF == 2.
2253 (La_regs, La_retval, int_retval): Likewise.
2254
2255 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2256
2257 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2258 (FRAME_MIN_SIZE_PARM): Likewise.
2259 (FRAME_BACKCHAIN): Likewise.
2260 (FRAME_CR_SAVE): Likewise.
2261 (FRAME_LR_SAVE): Likewise.
2262 (FRAME_TOC_SAVE): Likewise.
2263 (FRAME_PARM_SAVE): Likewise.
2264 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2265 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2266 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2267 (call_mcount_parm_offset): New macro.
2268 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2269 (PROF): Use symbolic stack frame offsets.
2270 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2271 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2272 Redefine in terms of FRAME_MIN_SIZE.
2273 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2274 (_dl_profile_resolve): Likewise. Update comment.
2275 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2276 symbols stack frame offsets.
2277 (__sigsetjmp): Likewise.
2278 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2279 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2280 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2281 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2282
2283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2284 (FRAME_BACKCHAIN): Remove.
2285 (FRAME_CR_SAVE): Likewise.
2286 (FRAME_LR_SAVE): Likewise.
2287 (FRAME_COMPILER_DW): Likewise.
2288 (FRAME_LINKER_DW): Likewise.
2289 (FRAME_TOC_SAVE): Likewise.
2290 (FRAME_PARM_SAVE): Likewise.
2291 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2292 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2293 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2295 (CHECK_SP): Use symbolic stack frame offsets.
2296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2297 zone" instead of caller's parameter save area for temp storage.
2298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2299 Likewise. Also, use symbolic stack frame offsets.
2300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2301 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2302 our own stack frame instead of the caller's.
2303 (__socket): Use symbolic stack frame offsets.
2304
2305 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2306 Alan Modra <amodra@gmail.com>
2307
2308 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2309 Define.
2310 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2311 PPC64_LOCAL_ENTRY_OFFSET): Define.
2312 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2313 New function.
2314 (elf_machine_fixup_plt): Call it.
2315 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2316 reloc arguments.
2317 (elf_machine_rela): Update call to elf_machine_plt_conflict.
2318 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2319 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2320 r2 before calling target.
2321
2322 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2323 Alan Modra <amodra@gmail.com>
2324
2325 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2326 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2327 versions of macros to support ELFv2 ABI.
2328 (LOCALENTRY): New macro.
2329 (ENTRY, EALIGN): Use it.
2330 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2331 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2332 fall through into ENTRY entry point.
2333 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2334 Only define if _CALL_ELF != 2.
2335
2336 (elf_machine_matches_host): Verify ABI version matches.
2337 (RTLD_START): Use LOCALENTRY.
2338 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2339 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2340 (PLT_ENTRY_WORDS): New macro.
2341 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2342 (elf_machine_runtime_setup): Support ELFv2 ABI.
2343 (elf_machine_fixup_plt): Likewise.
2344 (elf_machine_plt_conflict): Likewise.
2345 (resolve_ifunc): Likewise.
2346 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2347 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2348 Likewise.
2349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2350 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2352 (makecontext): Support ELFv2 ABI.
2353 * elf/elf.h (EF_PPC64_ABI): Define.
2354
2355 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2356
2357 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2358 New assembler macro.
2359 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2360 [ASSEMBLER] (ENTRY): ... but instead here ...
2361 [ASSEMBLER] (EALIGN): ... and here.
2362 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2363 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2364 [!ASSEMBLER] (ENTRY_2): Use it.
2365 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2366 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2367 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2368 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2369 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2371 Use PPC64_LOAD_FUNCPTR.
2372
2373 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2374
2375 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2376
2377 2013-12-04 Alan Modra <amodra@gmail.com>
2378
2379 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2380 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2381 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2382 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2383
2384 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2385 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2386 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2387 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2388 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2389 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2390
2391 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2392
2393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2394 (__makecontext): Fix incorrect CFI when backtracing out of
2395 context created via makecontext.
2396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2397 (__setcontext): Fix incorrect CFI during switch to new context.
2398 (__novec_setcontext): Likewise.
2399
2400 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2401
2402 [BZ #4772]
2403 * time/strptime_l.c (__strptime_internal): Allow modifiers
2404 in strptime.
2405 * time/tst-strptime.c (day_tests): Add testcase.
2406
2407
2408 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2409
2410 * scripts/bench.pl: Skip over blank lines.
2411
2412 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2413
2414 [BZ #926]
2415 * manual/time.texi (Calendar Time): Clarify what timezone functions
2416 use.
2417
2418 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2419
2420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2421
2422 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2423
2424 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2425 implementation.
2426 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2427 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2428 * debug/memset_chk.c (__memset_chk): Likewise.
2429 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2430 * debug/strncpy_chk.c: Likewise.
2431
2432 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2433
2434 [BZ #15268]
2435 [BZ #15425]
2436 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2437 (__ieee754_exp): For possibly underflowing results, check size of
2438 result and force underflow exception if required.
2439 * math/auto-libm-test-in: Add more tests of exp.
2440 * math/auto-libm-test-out: Regenerated.
2441 * sysdeps/i386/fpu/libm-test-ulps: Update.
2442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2443
2444 [BZ #16283]
2445 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2446 * math/w_exp2f.c (__exp2f): Likewise.
2447 * math/w_exp2l.c (__exp2l): Likewise.
2448 * math/auto-libm-test-in: Do not allow missing errno on exp2
2449 underflow.
2450 * math/auto-libm-test-out: Regenerated.
2451
2452 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
2453
2454 [BZ #16274]
2455 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2456 handle filename validation.
2457 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2458 (do_open): Delete.
2459
2460 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2461
2462 [BZ #6786]
2463 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2464 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2465 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2466 <float.h>.
2467 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2468 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2469 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2470 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2471 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2472 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2473 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2474 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2475 Add more erfc tests.
2476 * math/auto-libm-test-out: Regenerated.
2477 * sysdeps/i386/fpu/libm-test-ulps: Update.
2478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2479
2480 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2481 exp2, expm1, j0 and j1.
2482 * math/auto-libm-test-out: Regenerated.
2483 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2484 (erfc_test_data): Likewise.
2485 (exp_test_data): Likewise.
2486 (exp_tonearest_test_data): Likewise.
2487 (exp_towardzero_test_data): Likewise.
2488 (exp_downward_test_data): Likewise.
2489 (exp_upward_test_data): Likewise.
2490 (exp10_test_data): Likewise.
2491 (exp2_test_data): Likewise.
2492 (expm1_test_data): Likewise.
2493 (j0_test_data): Likewise.
2494 (j1_test_data): Likewise.
2495 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2496 (input_flag_type): Add flag_xfail_rounding.
2497 (input_flags): Add xfail-rounding.
2498 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2499 (output_for_one_input_case): Handle flag_xfail_rounding.
2500 * sysdeps/i386/fpu/libm-test-ulps: Update.
2501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2502
2503 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2504
2505 [BZ #16289]
2506 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2507 division by 0.
2508
2509 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2510
2511 [BZ #16195]
2512 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2513 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2514 (STAP_PROBE0): New macro.
2515 (STAP_PROBE1): Likewise.
2516 (STAP_PROBE2): Likewise.
2517 (STAP_PROBE3): Likewise.
2518 (STAP_PROBE4): Likewise.
2519
2520 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
2521
2522 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2523
2524 2013-12-02 Steve Ellcey <sellcey@mips.com>
2525
2526 * benchtests/Makefile (bench): Add sqrt.
2527 (LDLIBS-bench-sqrt): New.
2528 * benchtests/sqrt-input: New.
2529
2530 2013-12-02 Pavel Simerda <psimerda@redhat.com>
2531
2532 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2533 (GAIH_EAI): Likewise.
2534 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2535 (gaih_inet): Likewise.
2536 (getaddrinfo): Don't use GAIH_EAI.
2537
2538 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2539 (struct gaih): Remove definition.
2540
2541 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2542
2543 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2544 Use HERRNOP directly.
2545
2546 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2547
2548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2549
2550 2013-11-30 Joseph Myers <joseph@codesourcery.com>
2551
2552 * math/gen-auto-libm-tests.c (test_functions): Add more
2553 single-argument functions.
2554 (special_fill_pi_2): New function.
2555 (special_fill_minus_pi_2): Likewise.
2556 (special_fill_pi_6): Likewise.
2557 (special_fill_minus_pi_6): Likewise.
2558 (special_fill_pi_3): Likewise.
2559 (special_fill_2pi_3): Likewise.
2560 (special_fill_e): Likewise.
2561 (special_fill_1_e): Likewise.
2562 (special_fill_e_minus_1): Likewise.
2563 (special_real_inputs): Add more special inputs.
2564 (output_for_one_input_case): Do not require ERANGE on underflow to
2565 zero if round-to-nearest result does not underflow to zero, unless
2566 exact results required.
2567 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2568 atan, atanh, cbrt, cos and cosh.
2569 * math/auto-libm-test-out: Regenerated.
2570 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2571 (acos_tonearest_test_data): Likewise.
2572 (acos_towardzero_test_data): Likewise.
2573 (acos_downward_test_data): Likewise.
2574 (acos_upward_test_data): Likewise.
2575 (acosh_test_data): Likewise.
2576 (asin_test_data): Likewise.
2577 (asin_tonearest_test_data): Likewise.
2578 (asin_towardzero_test_data): Likewise.
2579 (asin_upward_test_data): Likewise.
2580 (asinh_test_data): Likewise.
2581 (atan_test_data): Likewise.
2582 (atanh_test_data): Likewise.
2583 (cbrt_test_data): Likewise.
2584 (cos_test_data): Likewise.
2585 (cos_tonearest_test_data): Likewise.
2586 (cos_towardzero_test_data): Likewise.
2587 (cos_downward_test_data): Likewise.
2588 (cos_upward_test_data): Likewise.
2589 (cosh_test_data): Likewise.
2590 (cosh_tonearest_test_data): Likewise.
2591 (cosh_towardzero_test_data): Likewise.
2592 (cosh_downward_test_data): Likewise.
2593 (cosh_upward_test_data): Likewise.
2594 * sysdeps/i386/fpu/libm-test-ulps: Update.
2595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2596
2597 2013-11-29 Joseph Myers <joseph@codesourcery.com>
2598
2599 [BZ #6787]
2600 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2601 * math/w_exp10f.c (__exp10f): Likewise.
2602 * math/w_exp10l.c (__exp10l): Likewise.
2603 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2604 errno settings in existing tests.
2605
2606 [BZ #14032]
2607 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2608 precision control set to double precision.
2609 * sysdeps/i386/fpu/w_sqrt.c: New file.
2610 * math/auto-libm-test-in: Add more tests.
2611 * math/auto-libm-test-out: Update.
2612
2613 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2614 (sqrt_test_tonearest): New function.
2615 (sqrt_towardzero_test_data): New variable.
2616 (sqrt_test_towardzero): New function.
2617 (sqrt_downward_test_data): New variable.
2618 (sqrt_test_downward): New function.
2619 (sqrt_upward_test_data): New variable.
2620 (sqrt_test_upward): New function.
2621 (main): Call the new functions.
2622
2623 * math/gen-auto-libm-tests.c: New file.
2624 * math/auto-libm-test-in: Likewise.
2625 * math/auto-libm-test-out: New generated file.
2626 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2627 variables.
2628 (%beautify): Add generated representations of zero.
2629 (top level): Set $auto_input and call parse_auto_input.
2630 (beautify): Remove trailing "f" from hex float constants.
2631 (parse_args): Handle XFAIL_TEST.
2632 (convert_condition): New function.
2633 (or_value): Likewise.
2634 (or_cond_value): Likewise.
2635 (generate_testfile): Handle AUTO_TESTS_* lines.
2636 (parse_auto_input): New function.
2637 * math/libm-test.inc (XFAIL_TEST): New macro.
2638 (ERRNO_UNCHANGED): Update value.
2639 (ERRNO_EDOM): Likewise.
2640 (ERRNO_ERANGE): Likewise.
2641 (IGNORE_RESULT): Likewise.
2642 (TEST_COND_flt_32): New macro.
2643 (TEST_COND_dbl_64): Likewise.
2644 (TEST_COND_ldbl_96_intel): Likewise.
2645 (TEST_COND_ldbl_96_m68k): Likewise.
2646 (TEST_COND_ldbl_128): Likewise.
2647 (TEST_COND_ldbl_128ibm): Likewise.
2648 (TEST_COND_long32): Likewise.
2649 (TEST_COND_long64): Likewise.
2650 (TEST_COND_before_rounding): Likewise.
2651 (TEST_COND_after_rounding): Likewise.
2652 (enable_test): Handle XFAIL_TEST flag.
2653 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2654 with finite results.
2655 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2656 auto-libm-test-out.
2657
2658 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2659 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2660
2661 [BZ #16214]
2662 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2663 __tls_get_addr_internal instead of __tls_get_offset in order to
2664 avoid GOT pointer dependency. Make rtld export
2665 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2666 __tls_get_addr since we are a __tls_get_offset platform.
2667 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2668 GOT pointer being set up before.
2669 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2670
2671 2013-11-28 Joseph Myers <joseph@codesourcery.com>
2672
2673 * manual/math.texi (Errors in Math Functions): Document accuracy
2674 goals.
2675
2676 [BZ #15004]
2677 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2678 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2679 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2680 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2681 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2682 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2683 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2684 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2685 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2686 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2687 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2688 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2689 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2690 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2691 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2692 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2693
2694 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2695 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2696 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2697 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2698 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2699 Likewise.
2700 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2701 Likewise.
2702 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2703 Likewise.
2704 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2705 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2706 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2707 atomic-feupdateenv and flt-rounds.
2708 * sysdeps/powerpc/nofpu/Versions (libc): Add
2709 __atomic_feholdexcept, __atomic_feclearexcept,
2710 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2711 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2712 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2713 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2714 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2715 here.
2716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2717 Update.
2718
2719 * manual/arith.texi (FP Exceptions): Document that exceptions may
2720 not be raised when matherr is used.
2721 (Math Error Reporting): Document overflow in directed rounding
2722 modes. Document that errno may not be set when finite values are
2723 returned on overflow. Document intent to set errno on underflow
2724 only for underflow to zero.
2725
2726 [BZ #16271]
2727 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2728 round-to-nearest then adjust result for other rounding modes.
2729 * include/fenv.h (fegetround): Use libm_hidden_proto.
2730 * math/fegetround.c (fegetround): Use libm_hidden_def.
2731 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2732 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2733 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2734 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2735 Likewise.
2736 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2737 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2738 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2739 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2740
2741 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2742
2743 [BZ #16077]
2744 * nss/Versions (libnss_files): Add
2745 _nss_files_gethostbyname3_r.
2746 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2747 New function.
2748 (HOST_DB_LOOKUP): Remove macro.
2749 (_nss_files_gethostbyname_r): Implement function without the
2750 HOST_DB_LOOKUP macro.
2751 (_nss_files_gethostbyname2_r): Likewise.
2752
2753 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
2754
2755 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2756
2757 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
2758
2759 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2760 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2761 warning.
2762
2763 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2764
2765 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2766 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2767 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2768 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2769 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2770 __fe_nomask_env_priv and attribute_hidden.
2771 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2772 (libc_feupdateenv_test_ppc): Likewise.
2773 (libc_feresetround_ppc): Likewise.
2774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2775 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2776 compat_symbol macro.
2777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2778 (__fe_nomask_env): Likewise.
2779 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2780
2781 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2782
2783 * string/Makefile: Remove ifunc tests.
2784 * string/test-string.h: Define TEST_IFUNC.
2785 * string/test-bcopy-ifunc.c: Remove.
2786 * string/test-bzero-ifunc.c: Likewise.
2787 * string/test-memccpy-ifunc.c: Likewise.
2788 * string/test-memchr-ifunc.c: Likewise.
2789 * string/test-memcmp-ifunc.c: Likewise.
2790 * string/test-memcpy-ifunc.c: Likewise.
2791 * string/test-memmem-ifunc.c: Likewise.
2792 * string/test-memmove-ifunc.c: Likewise.
2793 * string/test-mempcpy-ifunc.c: Likewise.
2794 * string/test-memrchr-ifunc.c: Likewise.
2795 * string/test-memset-ifunc.c: Likewise.
2796 * string/test-rawmemchr-ifunc.c: Likewise.
2797 * string/test-stpcpy-ifunc.c: Likewise.
2798 * string/test-stpncpy-ifunc.c: Likewise.
2799 * string/test-strcasecmp-ifunc.c: Likewise.
2800 * string/test-strcasestr-ifunc.c: Likewise.
2801 * string/test-strcat-ifunc.c: Likewise.
2802 * string/test-strchr-ifunc.c: Likewise.
2803 * string/test-strchrnul-ifunc.c: Likewise.
2804 * string/test-strcmp-ifunc.c: Likewise.
2805 * string/test-strcpy-ifunc.c: Likewise.
2806 * string/test-strcspn-ifunc.c: Likewise.
2807 * string/test-strlen-ifunc.c: Likewise.
2808 * string/test-strncasecmp-ifunc.c: Likewise.
2809 * string/test-strncat-ifunc.c: Likewise.
2810 * string/test-strncmp-ifunc.c: Likewise.
2811 * string/test-strncpy-ifunc.c: Likewise.
2812 * string/test-strnlen-ifunc.c: Likewise.
2813 * string/test-strpbrk-ifunc.c: Likewise.
2814 * string/test-strrchr-ifunc.c: Likewise.
2815 * string/test-strspn-ifunc.c: Likewise.
2816 * string/test-strstr-ifunc.c: Likewise.
2817
2818 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2819
2820 * benchtests/Makefile: Remove ifunc tests.
2821 * benchtests/bench-string.h: Define TEST_IFUNC.
2822 * benchtests/bench-bcopy-ifunc.c: Remove.
2823 * benchtests/bench-bzero-ifunc.c: Likewise.
2824 * benchtests/bench-memccpy-ifunc.c: Likewise.
2825 * benchtests/bench-memchr-ifunc.c: Likewise.
2826 * benchtests/bench-memcmp-ifunc.c: Likewise.
2827 * benchtests/bench-memcpy-ifunc.c: Likewise.
2828 * benchtests/bench-memmem-ifunc.c: Likewise.
2829 * benchtests/bench-memmove-ifunc.c: Likewise.
2830 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2831 * benchtests/bench-memrchr-ifunc.c: Likewise.
2832 * benchtests/bench-memset-ifunc.c: Likewise.
2833 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2834 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2835 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2836 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2837 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2838 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2839 * benchtests/bench-strcat-ifunc.c: Likewise.
2840 * benchtests/bench-strchr-ifunc.c: Likewise.
2841 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2842 * benchtests/bench-strcmp-ifunc.c: Likewise.
2843 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2844 * benchtests/bench-strcpy-ifunc.c: Likewise.
2845 * benchtests/bench-strcspn-ifunc.c: Likewise.
2846 * benchtests/bench-strlen-ifunc.c: Likewise.
2847 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2848 * benchtests/bench-strncat-ifunc.c: Likewise.
2849 * benchtests/bench-strncmp-ifunc.c: Likewise.
2850 * benchtests/bench-strncpy-ifunc.c: Likewise.
2851 * benchtests/bench-strnlen-ifunc.c: Likewise.
2852 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2853 * benchtests/bench-strrchr-ifunc.c: Likewise.
2854 * benchtests/bench-strsep-ifunc.c: Likewise.
2855 * benchtests/bench-strspn-ifunc.c: Likewise.
2856 * benchtests/bench-strstr-ifunc.c: Likewise.
2857
2858 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2859
2860 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2861
2862 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2863
2864 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2865 * rt/aio.h: Likewise.
2866 * sysdeps/gnu/bits/utmp.h: Likewise.
2867 * sysdeps/gnu/bits/utmpx.h: Likewise.
2868 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2869 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2870 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2871 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2872 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2873 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2874 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2875 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2876 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2877 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2878 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2879 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2880 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2882 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2883 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2884 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2885 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2886 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2887 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2888 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2889 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2890 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2891 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2892 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2893 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2894 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2895 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2896 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2897 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2898 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2899 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2900 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2901 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2902 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2903 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2904 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2905 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2906 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2907 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2908 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2909 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2910
2911 2013-11-25 Carlos O'Donell <carlos@redhat.com>
2912
2913 [BZ #16245]
2914 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2915 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2916
2917 2013-11-25 Joseph Myers <joseph@codesourcery.com>
2918
2919 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2920 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2921 Likewise.
2922
2923 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2924
2925 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2926 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2927 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2928 (__fesetround): Remove define.
2929 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2930 rounding and exceptions handling.
2931 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2932 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2933 (__fe_nomask_env): Likewise.
2934 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2935 __fegetround instead of fegetround.
2936 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2937 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2938
2939 2013-11-21 Roland McGrath <roland@hack.frob.com>
2940
2941 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2942 it's there.
2943
2944 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2945
2946 2013-11-21 Meador Inge <meadori@codesourcery.com>
2947
2948 [BZ #11157]
2949 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2950 (encrypt_r): Likewise.
2951 * malloc/obstack.h (obstack_free): Likewise.
2952 * posix/unistd.h (encrypt): Likewise.
2953
2954 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2955
2956 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2957 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2958 DL_CALL_DT_FINI() that call the functions directly.
2959 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2960 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2961 * elf/dl-fini.c: Likewise.
2962
2963 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
2964
2965 * malloc/hooks.c (memalign_check): Add alignment rounding.
2966 * malloc/malloc.c (_mid_memalign): New function.
2967 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2968 Implement by calling _mid_memalign.
2969 * manual/probes.texi (Memory Allocation Probes): Remove
2970 memory_valloc_retry and memory_pvalloc_retry.
2971
2972 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2973
2974 * locale/programs/locarchive.c (open_archive): Add const
2975 qualifier to ARCHIVEFNAME and copy default fname to
2976 DEFAULT_FNAME.
2977
2978 [BZ #15601]
2979 * libio/tst-widetext.input: Rename Oriya to Odia.
2980 * locale/iso-639.def: Likewise.
2981
2982 * manual/probes.texi (Mathematical Function Probes): Add
2983 documentation for sin, cos, asin and acos probes.
2984 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2985 (__sin32): Add slowasin probe.
2986 (__cos32): Add slowacos probe.
2987 (__mpsin): Add slowsin probe.
2988 (__mpcos): Add slowcos probe.
2989
2990 2013-11-19 Joseph Myers <joseph@codesourcery.com>
2991
2992 [BZ #15483]
2993 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2994 thread-local __sim_exceptions_thread and global
2995 __sim_exceptions_global.
2996 (__sim_disabled_exceptions): Change to thread-local
2997 __sim_disabled_exceptions_thread and global
2998 __sim_disabled_exceptions_global.
2999 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3000 and global __sim_round_mode_global.
3001 (__simulate_exceptions): Use thread-local floating-point state and
3002 set global state from it as needed.
3003 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3004 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3005 __sim_round_mode_thread.
3006 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3007 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3008 and global __sim_exceptions_global.
3009 (__sim_disabled_exceptions): Change to thread-local
3010 __sim_disabled_exceptions_thread and global
3011 __sim_disabled_exceptions_global.
3012 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3013 and global __sim_round_mode_global.
3014 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3015 (SIM_SET_GLOBAL): Likewise.
3016 * sysdeps/powerpc/soft-fp/sfp-machine.h
3017 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3018 __sim_round_mode_thread.
3019 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3020 __sim_disabled_exceptions_thread.
3021 (__sim_exceptions): Change to __sim_exceptions_thread.
3022 (__sim_disabled_exceptions): Change to
3023 __sim_disabled_exceptions_thread.
3024 (__sim_round_mode): Change to __sim_round_mode_thread.
3025 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3026 thread-local floating-point state and set global state from it as
3027 needed.
3028 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3029 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3030 (__sim_disabled_exceptions): Remove extern declaration.
3031 (feenableexcept): Use thread-local floating-point state and set
3032 global state from it as needed.
3033 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3034 extern declaration.
3035 (__sim_disabled_exceptions): Likewise.
3036 (__sim_round_mode): Likewise.
3037 (__fegetenv): Use thread-local floating-point state.
3038 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3039 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3040 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3041 floating-point state and set global state from it as needed.
3042 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3043 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3044 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3045 Likewise.
3046 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3047 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3048 Likewise.
3049 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3050 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3051 Use __sim_round_mode_thread.
3052 * math/test-fenv-tls.c: New file.
3053 * math/Makefile (tests): Add test-fenv-tls.
3054 ($(objpfx)test-fenv-tls): Depend on
3055 $(common-objpfx)nptl/libpthread.so.
3056
3057 2013-11-19 Andreas Schwab <schwab@suse.de>
3058
3059 * locale/programs/locale.c (show_info): Decode wordarray elements.
3060 * locale/categories.def (LC_MONETARY): Add element for
3061 _NL_MONETARY_CRNCYSTR.
3062 * locale/C-monetary.c (conversion_rate): New variable.
3063 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3064 element.
3065
3066 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3067
3068 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3069 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3070
3071 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3072
3073 * elf/Makefile (tst-auxv): New test.
3074 * elf/tst-auxv.c: New
3075 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3076
3077 2013-11-18 Joseph Myers <joseph@codesourcery.com>
3078
3079 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3080 (hidden_proto): Caller changed.
3081 (hidden_tls_proto): New macro.
3082 (libc_hidden_tls_proto): Likewise.
3083 (rtld_hidden_tls_proto): Likewise.
3084 (libm_hidden_tls_proto): Likewise.
3085 (libresolv_hidden_tls_proto): Likewise.
3086 (librt_hidden_tls_proto): Likewise.
3087 (libdl_hidden_tls_proto): Likewise.
3088 (libnss_files_hidden_tls_proto): Likewise.
3089 (libnsl_hidden_tls_proto): Likewise.
3090 (libnss_nisplus_hidden_tls_proto): Likewise.
3091 (libutil_hidden_tls_proto): Likewise.
3092
3093 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
3094
3095 [BZ #10253]
3096 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3097 (decompose_rpath): Defer expansion to fillin_rpath.
3098 (_dl_init_paths): Pass linkmap to fillin_rpath.
3099
3100 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3101
3102 * benchtests/Makefile: Add strsep.
3103 * benchtests/bench-strsep.c: New file: strsep benchtest.
3104 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3105
3106 2013-11-18 Andreas Schwab <schwab@suse.de>
3107
3108 * locale/programs/locale.c (show_info) [case byte]: Check for
3109 '\377' instead of '\177'.
3110 * locale/C-monetary.c (not_available): Always use "\377".
3111 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3112 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3113 detect unavailable sign_posn locale elements.
3114 * locale/localeconv.c (__localeconv): For grouping and
3115 mon_grouping handle "\177" and "\377" like no grouping.
3116 (INT_ELEM): New macro. Use it to set all numeric members.
3117 * locale/programs/ld-monetary.c (monetary_read)
3118 <tok_mon_grouping>: Normalize single -1 to the empty string.
3119 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3120 Likewise.
3121
3122 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3123
3124 [BZ #16055]
3125 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3126 when we match (nil).
3127 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3128
3129 2013-11-16 Joseph Myers <joseph@codesourcery.com>
3130
3131 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3132 (NO_TEST_INLINE): Update value.
3133 (ERRNO_UNCHANGED): Likewise.
3134 (ERRNO_EDOM): Likewise.
3135 (ERRNO_ERANGE): Likewise.
3136 (IGNORE_RESULT): Likewise.
3137 (check_float_internal): Check signs of NaN results if
3138 TEST_NAN_SIGN used.
3139 (check_complex): Pass TEST_NAN_SIGN flag through to second
3140 check_float_internal call.
3141 (copysign_test_data): Add tests with quiet NaNs as second
3142 argument. Use TEST_NAN_SIGN.
3143 (fabs_test_data): Add test of negative quiet NaN argument. Use
3144 TEST_NAN_SIGN.
3145 (signbit_test_data): Add tests of quiet NaN argument.
3146 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3147
3148 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3149 $ignore_result.
3150 (parse_args): Handle function results specified as IGNORE.
3151 * math/libm-test.inc (IGNORE_RESULT): New macro.
3152 (check_float_internal): Do not check numerical result if flag
3153 IGNORE_RESULT set.
3154 (check_complex): Pass through IGNORE_RESULT to second
3155 check_float_internal call.
3156 (check_int): Do not check numerical result if flag IGNORE_RESULT
3157 set.
3158 (check_long): Likewise.
3159 (check_bool): Likewise.
3160 (check_longlong): Likewise.
3161 (lrint_test_data): Add tests of infinite and NaN arguments.
3162 (lrint_tonearest_test_data): Likewise.
3163 (lrint_towardzero_test_data): Likewise.
3164 (lrint_downward_test_data): Likewise.
3165 (lrint_upward_test_data): Likewise.
3166 (llrint_test_data): Likewise.
3167 (llrint_tonearest_test_data): Likewise.
3168 (llrint_towardzero_test_data): Likewise.
3169 (llrint_downward_test_data): Likewise.
3170 (llrint_upward_test_data): Likewise.
3171 (lround_test_data): Likewise.
3172 (llround_test_data): Likewise.
3173
3174 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3175 (ERRNO_UNCHANGED): Update value.
3176 (ERRNO_EDOM): Likewise.
3177 (ERRNO_ERANGE): Likewise.
3178 (NO_TEST_INLINE_FLOAT): New macro.
3179 (NO_TEST_INLINE_DOUBLE): Likewise.
3180 (enable_test): New function.
3181 (RUN_TEST_f_f): Check enable_test before running test.
3182 (RUN_TEST_2_f): Likewise.
3183 (RUN_TEST_fff_f): Likewise.
3184 (RUN_TEST_c_f): Likewise.
3185 (RUN_TEST_f_f1): Likewise.
3186 (RUN_TEST_fF_f1): Likewise.
3187 (RUN_TEST_fI_f1): Likewise.
3188 (RUN_TEST_ffI_f1): Likewise.
3189 (RUN_TEST_c_c): Likewise.
3190 (RUN_TEST_cc_c): Likewise.
3191 (RUN_TEST_f_i): Likewise.
3192 (RUN_TEST_f_i_tg): Likewise.
3193 (RUN_TEST_ff_i_tg): Likewise.
3194 (RUN_TEST_f_b): Likewise.
3195 (RUN_TEST_f_b_tg): Likewise.
3196 (RUN_TEST_f_l): Likewise.
3197 (RUN_TEST_f_L): Likewise.
3198 (RUN_TEST_fFF_11): Likewise.
3199 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3200 conditionals.
3201 (cosh_test_data): Likewise.
3202 (exp_test_data): Likewise.
3203 (expm1_test_data): Likewise.
3204 (hypot_test_data): Likewise.
3205 (pow_test_data): Likewise.
3206 (sinh_test_data): Likewise.
3207 (tanh_test_data): Likewise.
3208 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3209 flags argument.
3210
3211 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3212 tests with quiet NaN input and output.
3213 (acosh_test_data): Likewise.
3214 (asin_test_data): Likewise.
3215 (asinh_test_data): Likewise.
3216 (atan_test_data): Likewise.
3217 (atanh_test_data): Likewise.
3218 (atan2_test_data): Likewise.
3219 (cbrt_test_data): Likewise.
3220 (cos_test_data): Likewise.
3221 (cosh_test_data): Likewise.
3222 (erf_test_data): Likewise.
3223 (erfc_test_data): Likewise.
3224 (exp_test_data): Likewise.
3225 (exp10_test_data): Likewise.
3226 (exp2_test_data): Likewise.
3227 (expm1_test_data): Likewise.
3228 (hypot_test_data): Likewise.
3229 (j0_test_data): Likewise.
3230 (j1_test_data): Likewise.
3231 (jn_test_data): Likewise.
3232 (lgamma_test_data): Likewise.
3233 (log_test_data): Likewise.
3234 (log10_test_data): Likewise.
3235 (log1p_test_data): Likewise.
3236 (log2_test_data): Likewise.
3237 (pow_test_data): Likewise.
3238 (scalb_test_data): Likewise.
3239 (sin_test_data): Likewise.
3240 (sincos_test_data): Likewise.
3241 (sinh_test_data): Likewise.
3242 (tan_test_data): Likewise.
3243 (tanh_test_data): Likewise.
3244 (tgamma_test_data): Likewise.
3245 (y0_test_data): Likewise.
3246 (y1_test_data): Likewise.
3247 (yn_test_data): Likewise.
3248
3249 [BZ #16167]
3250 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3251 argument being NaN and avoid computations with second argument in
3252 that case.
3253 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3254 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3255 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3256
3257 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3258
3259 * locale/iso-639.def: Add Chitwani Tharu (the).
3260
3261 2013-11-14 Andreas Schwab <schwab@suse.de>
3262
3263 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3264 word instead of empty string.
3265
3266 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3267
3268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3269 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3271 (__fe_nomask_env): Likewise.
3272
3273 2013-11-13 Steve Ellcey <sellcey@mips.com>
3274
3275 * benchtests/bench-timing.h: Include time.h.
3276
3277 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3278
3279 [BZ #15997]
3280 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3281 to 3.4.0 for x32.
3282 * sysdeps/unix/sysv/linux/configure: Regenerated.
3283
3284 2013-11-13 Joseph Myers <joseph@codesourcery.com>
3285
3286 [BZ #16151]
3287 * stdlib/strtod_l.c (round_and_return): Do not consider
3288 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3289 exponent one less than half the least subnormal exponent.
3290 * stdlib/test-strtod-round-data: Add more tests.
3291 * stdlib/tst-strtod-round.c (tests): Regenerated.
3292
3293 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3294
3295 [BZ #14143]
3296 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3297 (__fe_mask_env): Likewise.
3298 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3299 libm_hidden_proto and add function prototype.
3300 (__fe_mask_env): Add function prototype.
3301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3302 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3304 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3306 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3307
3308 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3309
3310 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3311 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3312
3313 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3314
3315 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3316 of htab_find_slot().
3317
3318 2013-11-11 David S. Miller <davem@davemloft.net>
3319
3320 [BZ #16150]
3321 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3322 symbol in the non-vis3 case in static builds.
3323 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3324 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3325 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3326 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3327
3328 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3329
3330 [BZ #387]
3331 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3332 it is empty.
3333
3334 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3335
3336 * benchtests/Makefile: Add bench-strtod.
3337 * benchtests/bench-strtod.c: New file: strtod benchtest
3338
3339 2013-11-11 Andreas Schwab <schwab@suse.de>
3340
3341 [BZ #16153]
3342 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3343 terminating NUL in key length.
3344
3345 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3346
3347 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3348 Add artificial ODP entry for vDSO symbol for PPC64.
3349 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3350 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3351
3352 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3353
3354 [BZ #15374]
3355 * nss/getent.c (services_keys): Recognize services starting with digit.
3356
3357 2013-11-06 David S. Miller <davem@davemloft.net>
3358
3359 [BZ #15985]
3360 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3361 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3362
3363 2013-11-06 Will Newton <will.newton@linaro.org>
3364
3365 * manual/memory.texi (Malloc Examples): Remove register
3366 keyword from examples.
3367
3368 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
3369
3370 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3371
3372 2013-11-04 Joseph Myers <joseph@codesourcery.com>
3373
3374 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3375 depending on [__GCC_IEC_559 > 0].
3376 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3377 depending on [__GCC_IEC_559_COMPLEX > 0].
3378
3379 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
3380
3381 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3382 to iso-639.def.
3383
3384 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
3385
3386 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3387
3388 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
3389
3390 [BZ #16112]
3391 * malloc/malloc (malloc_info): Do not handle first bin as
3392 special case.
3393
3394 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
3395
3396 * locale/iso-639.def: Add Central Nahuatl (nhn).
3397
3398 2013-11-01 Bruno Haible <bruno@clisp.org>
3399
3400 [BZ #7003]
3401 * manual/math.texi (BSD Random): Specify range upper bound as
3402 in POSIX.
3403
3404 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
3405
3406 * locale/iso-639.def: Add Meadow Mari (mhr).
3407
3408 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
3409
3410 [BZ #14752], [BZ #15763]
3411 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3412 Validate name.
3413 * rt/tst_shm.c: Add test for escaping directory.
3414
3415 2013-10-31 Andreas Schwab <schwab@suse.de>
3416
3417 [BZ #15917]
3418 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3419 followed by 'x' as part of digit sequence.
3420 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3421
3422 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3423
3424 [BZ #16037]
3425 * configure.ac: allow GNU Make 4.0 and greater.
3426 * configure: Regenerated.
3427
3428 2013-10-30 Will Newton <will.newton@linaro.org>
3429
3430 [BZ #16038]
3431 * malloc/hooks.c (memalign_check): Limit alignment to the
3432 maximum representable power of two.
3433 * malloc/malloc.c (__libc_memalign): Likewise.
3434 * malloc/tst-memalign.c (do_test): Add test for very
3435 large alignment values.
3436 * malloc/tst-posix_memalign.c (do_test): Likewise.
3437
3438 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3439
3440 [BZ #11087]
3441 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3442 (munmap_chunk): Likewise.
3443 (mremap_chunk): Likewise.
3444
3445 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3446
3447 [BZ #15799]
3448 * stdlib/div.c (div): Remove obsolete code.
3449 * stdlib/ldiv.c (ldiv): Likewise.
3450 * stdlib/lldiv.c (lldiv): Likewise.
3451
3452 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3453
3454 [BZ #16071]
3455 * nss/nss_files/files-XXX.c (get_contents_ret): New
3456 enumerator.
3457 (get_contents): New function.
3458 (internal_getent): Use it. Expand size of LINEBUFLEN.
3459
3460 2013-10-30 Mike Frysinger <vapier@gentoo.org>
3461
3462 * configure.in: Moved to ...
3463 * configure.ac: ... here. Change reference to configure.in
3464 to configure.ac.
3465 * sysdeps/arm/preconfigure.ac: ... here.
3466 configure.in to configure.ac.
3467 * sysdeps/gnu/configure.in: Moved to ...
3468 * sysdeps/gnu/configure.ac: ... here.
3469 * sysdeps/i386/configure.in: Moved to ...
3470 * sysdeps/i386/configure.ac: ... here.
3471 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3472 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3473 * sysdeps/mach/configure.in: Moved to ...
3474 * sysdeps/mach/configure.ac: ... here.
3475 * sysdeps/mach/hurd/configure.in: Moved to ...
3476 * sysdeps/mach/hurd/configure.ac: ... here.
3477 * sysdeps/powerpc/configure.in: Moved to ...
3478 * sysdeps/powerpc/configure.ac: ... here.
3479 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3480 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3481 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3482 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3483 * sysdeps/s390/s390-32/configure.in: Moved to ...
3484 * sysdeps/s390/s390-32/configure.ac: ... here.
3485 * sysdeps/s390/s390-64/configure.in: Moved to ...
3486 * sysdeps/s390/s390-64/configure.ac: ... here.
3487 * sysdeps/sh/configure.in: Moved to ...
3488 * sysdeps/sh/configure.ac: ... here.
3489 * sysdeps/sparc/configure.in: Moved to ...
3490 * sysdeps/sparc/configure.ac: ... here.
3491 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3492 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3493 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3494 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3495 * sysdeps/x86_64/configure.in: Moved to ...
3496 * sysdeps/x86_64/configure.ac: ... here.
3497 * sysdeps/x86_64/preconfigure.in: Moved to ...
3498 * sysdeps/x86_64/preconfigure.ac: ... here.
3499 * aclocal.m4: Change reference to configure.in to configure.ac.
3500 * config.h.in: Likewise.
3501 * manual/install.texi: Likewise.
3502 * manual/maint.texi: Likewise.
3503 * Makefile: Likewise.
3504 * malloc/Makefile: Likewise.
3505 * nscd/Makefile: Likewise.
3506 * Makeconfig: Change reference to configure.in and
3507 preconfigure.in to configure.ac and preconfigure.ac
3508 respectively.
3509 * INSTALL: Regenerated.
3510 * configure: Likewise.
3511 * sysdeps/gnu/configure: Likewise.
3512 * sysdeps/i386/configure: Likewise.
3513 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3514 * sysdeps/mach/configure: Likewise.
3515 * sysdeps/mach/hurd/configure: Likewise.
3516 * sysdeps/powerpc/configure: Likewise.
3517 * sysdeps/powerpc/powerpc32/configure: Likewise.
3518 * sysdeps/powerpc/powerpc64/configure: Likewise.
3519 * sysdeps/s390/s390-32/configure: Likewise.
3520 * sysdeps/s390/s390-64/configure: Likewise.
3521 * sysdeps/sh/configure: Likewise.
3522 * sysdeps/sparc/configure: Likewise.
3523 * sysdeps/unix/sysv/linux/configure: Likewise.
3524 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3525 * sysdeps/x86_64/configure: Likewise.
3526 * sysdeps/x86_64/preconfigure: Likewise.
3527
3528 2013-10-29 Andreas Schwab <schwab@suse.de>
3529
3530 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3531
3532 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3533
3534 * benchtests/pow-inputs: Add new inputs.
3535
3536 * benchtests/exp-inputs: Add new inputs.
3537
3538 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3539 conditional check for return value.
3540 (__cos32): Likewise.
3541
3542 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3543
3544 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3545 to provide a boost for large inputs with word alignment.
3546 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3547 implementation based on optimized PPC64 strcpy.
3548 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3549 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3550 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3551 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3552
3553 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3554
3555 [BZ #2801]
3556 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3557
3558 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3559
3560 [BZ #14876]
3561 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3562 * time/tst-strptime.c (day_tests): Add testcase.
3563
3564 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3565
3566 [BZ #14029]
3567 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3568
3569 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3570
3571 [BZ #16074]
3572 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3573 MAP_FAILED on error.
3574
3575 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3576
3577 [BZ #16072]
3578 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3579 heap for large requests.
3580
3581 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3582
3583 [BZ #9954]
3584 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3585 result if the result has no associated interface.
3586 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3587 interface for all 127.X.Y.Z addresses.
3588
3589 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
3590
3591 * locale/iso-639.def: Add Ligurian (lij)
3592
3593 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
3594
3595 [BZ #15825]
3596 * sunrpc/rpc_main.c: Document rpcgen -5.
3597
3598 2013-10-19 Michael Stahl <mstahl@redhat.com>
3599
3600 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3601
3602 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3603
3604 [BZ #10278]
3605 * posix/glob.c: Match only directories when trailing slash is present.
3606 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3607 (main): Add testcase.
3608
3609 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3610
3611 [BZ #15670]
3612 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3613
3614 2013-10-18 Carlos O'Donell <carlos@redhat.com>
3615
3616 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3617 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3618 AUTH_DES and cindex for FIPS 140-2.
3619 (DES Encryption): Add cindex FIPS 46-3.
3620
3621 * locale/locarchive.h (struct locarhandle): Add fname.
3622 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3623 if an optional argument was specified to --list-archive,
3624 otherwise NULL.
3625 * locale/programs/locarchive.c (show_archive_content): Take new
3626 argument fname and pass it via ah.fname to open_archive.
3627 * locale/programs/localedef.h: Update decl.
3628 (open_archive): If AH->fname is non-null, open that file
3629 rather than the default file name, and don't ignore ENOENT.
3630 (create_archive): Set AH.fname to NULL.
3631 (delete_locales_from_archive): Likewise.
3632 (add_locales_to_archive): Likewise.
3633 * locale/programs/locfile.c (write_all_categories): Likewise.
3634
3635 2013-10-18 Joseph Myers <joseph@codesourcery.com>
3636 Aldy Hernandez <aldyh@redhat.com>
3637
3638 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3639 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3640 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3641 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3642 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3643 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3644 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3645 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3646 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3647 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3648 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3649 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3650 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3651 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3652 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3653 Likewise.
3654 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3655 Likewise.
3656 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3657 Likewise.
3658 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3659 Likewise.
3660 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3661 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3662 Likewise.
3663 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3664 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3665 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3666 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3667 Likewise.
3668 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3669 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3670 * sysdeps/powerpc/preconfigure: Likewise.
3671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3672 Likewise.
3673 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3674 Replace contents of file by #include of <fenv_libc.h>.
3675 * sysdeps/powerpc/soft-fp/sfp-machine.h
3676 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3677 and <sys/prctl.h>.
3678 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3679 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3680 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3681 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3682 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3683 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3684 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3685 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3686 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3687 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3688 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3689 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3691 Allow copysignl PLT reference to be missing.
3692
3693 2013-10-18 Richard Sandiford <richard@codesourcery.com>
3694 Joseph Myers <joseph@codesourcery.com
3695
3696 [BZ #15948]
3697 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3698 single character.
3699 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3700
3701 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3702
3703 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3704 * elf/tst-tls1.c: Likewise.
3705 * elf/tst-tls10.h: Likewise.
3706 * elf/tst-tls14.c: Likewise.
3707 * elf/tst-tls2.c: Likewise.
3708 * elf/tst-tls3.c: Likewise.
3709 * elf/tst-tls4.c: Likewise.
3710 * elf/tst-tls5.c: Likewise.
3711 * elf/tst-tls6.c: Likewise.
3712 * elf/tst-tls7.c: Likewise.
3713 * elf/tst-tls8.c: Likewise.
3714 * elf/tst-tls9.c: Likewise.
3715 * elf/tst-tlsmod1.c: Likewise.
3716 * elf/tst-tlsmod13.c: Likewise.
3717 * elf/tst-tlsmod13a.c: Likewise.
3718 * elf/tst-tlsmod14a.c: Likewise.
3719 * elf/tst-tlsmod16a.c: Likewise.
3720 * elf/tst-tlsmod16b.c: Likewise.
3721 * elf/tst-tlsmod2.c: Likewise.
3722 * elf/tst-tlsmod3.c: Likewise.
3723 * elf/tst-tlsmod4.c: Likewise.
3724 * elf/tst-tlsmod5.c: Likewise.
3725 * elf/tst-tlsmod6.c: Likewise.
3726
3727 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
3728
3729 [BZ #12486]
3730 * malloc/malloc.c: remove checks for statistics.
3731
3732 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3733
3734 [BZ #15277]
3735 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3736 * inet/tst-network.c: Add testcase.
3737
3738 2013-10-17 Andreas Schwab <schwab@suse.de>
3739
3740 [BZ #15218]
3741 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3742 to determine canonical name.
3743
3744 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3745
3746 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3747 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3748 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3749 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3750 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3751 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3752 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3753 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3754 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3755 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3756 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3757 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3758 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3759 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3760 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3761 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3762 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3763 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3764 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3765 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3766 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3767 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3768 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3769 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3770 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3771 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3772 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3773 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3774 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3775 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3776 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3777 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3778 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3779 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3780 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3781 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3782 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3783 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3784 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3785 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3786 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3787 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3788 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3789 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3790 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3791 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3792 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3793 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3794 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3795 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3796 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3797 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3798 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3799 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3800 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3801 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3802 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3803 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3804
3805 2013-10-17 Joseph Myers <joseph@codesourcery.com>
3806
3807 [BZ #16041]
3808 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3809 make result into a quiet NaN.
3810
3811 2013-10-16 Joseph Myers <joseph@codesourcery.com>
3812
3813 * soft-fp/adddf3.c: Fix horizontal whitespace.
3814 * soft-fp/addsf3.c: Likewise.
3815 * soft-fp/addtf3.c: Likewise.
3816 * soft-fp/divdf3.c: Likewise.
3817 * soft-fp/divsf3.c: Likewise.
3818 * soft-fp/divtf3.c: Likewise.
3819 * soft-fp/double.h: Likewise.
3820 * soft-fp/eqdf2.c: Likewise.
3821 * soft-fp/eqsf2.c: Likewise.
3822 * soft-fp/eqtf2.c: Likewise.
3823 * soft-fp/extenddftf2.c: Likewise.
3824 * soft-fp/extended.h: Likewise.
3825 * soft-fp/extendsfdf2.c: Likewise.
3826 * soft-fp/extendsftf2.c: Likewise.
3827 * soft-fp/extendxftf2.c: Likewise.
3828 * soft-fp/fixdfdi.c: Likewise.
3829 * soft-fp/fixdfsi.c: Likewise.
3830 * soft-fp/fixdfti.c: Likewise.
3831 * soft-fp/fixsfdi.c: Likewise.
3832 * soft-fp/fixsfsi.c: Likewise.
3833 * soft-fp/fixsfti.c: Likewise.
3834 * soft-fp/fixtfdi.c: Likewise.
3835 * soft-fp/fixtfsi.c: Likewise.
3836 * soft-fp/fixtfti.c: Likewise.
3837 * soft-fp/fixunsdfdi.c: Likewise.
3838 * soft-fp/fixunsdfsi.c: Likewise.
3839 * soft-fp/fixunsdfti.c: Likewise.
3840 * soft-fp/fixunssfdi.c: Likewise.
3841 * soft-fp/fixunssfsi.c: Likewise.
3842 * soft-fp/fixunssfti.c: Likewise.
3843 * soft-fp/fixunstfdi.c: Likewise.
3844 * soft-fp/fixunstfsi.c: Likewise.
3845 * soft-fp/fixunstfti.c: Likewise.
3846 * soft-fp/floatdidf.c: Likewise.
3847 * soft-fp/floatdisf.c: Likewise.
3848 * soft-fp/floatditf.c: Likewise.
3849 * soft-fp/floatsidf.c: Likewise.
3850 * soft-fp/floatsisf.c: Likewise.
3851 * soft-fp/floatsitf.c: Likewise.
3852 * soft-fp/floattidf.c: Likewise.
3853 * soft-fp/floattisf.c: Likewise.
3854 * soft-fp/floattitf.c: Likewise.
3855 * soft-fp/floatundidf.c: Likewise.
3856 * soft-fp/floatundisf.c: Likewise.
3857 * soft-fp/floatunditf.c: Likewise.
3858 * soft-fp/floatunsidf.c: Likewise.
3859 * soft-fp/floatunsisf.c: Likewise.
3860 * soft-fp/floatunsitf.c: Likewise.
3861 * soft-fp/floatuntidf.c: Likewise.
3862 * soft-fp/floatuntisf.c: Likewise.
3863 * soft-fp/floatuntitf.c: Likewise.
3864 * soft-fp/fmadf4.c: Likewise.
3865 * soft-fp/fmasf4.c: Likewise.
3866 * soft-fp/fmatf4.c: Likewise.
3867 * soft-fp/gedf2.c: Likewise.
3868 * soft-fp/gesf2.c: Likewise.
3869 * soft-fp/getf2.c: Likewise.
3870 * soft-fp/ledf2.c: Likewise.
3871 * soft-fp/lesf2.c: Likewise.
3872 * soft-fp/letf2.c: Likewise.
3873 * soft-fp/muldf3.c: Likewise.
3874 * soft-fp/mulsf3.c: Likewise.
3875 * soft-fp/multf3.c: Likewise.
3876 * soft-fp/negdf2.c: Likewise.
3877 * soft-fp/negsf2.c: Likewise.
3878 * soft-fp/negtf2.c: Likewise.
3879 * soft-fp/op-1.h: Likewise.
3880 * soft-fp/op-2.h: Likewise.
3881 * soft-fp/op-4.h: Likewise.
3882 * soft-fp/op-8.h: Likewise.
3883 * soft-fp/op-common.h: Likewise.
3884 * soft-fp/quad.h: Likewise.
3885 * soft-fp/single.h: Likewise.
3886 * soft-fp/soft-fp.h: Likewise.
3887 * soft-fp/sqrtdf2.c: Likewise.
3888 * soft-fp/sqrtsf2.c: Likewise.
3889 * soft-fp/sqrttf2.c: Likewise.
3890 * soft-fp/subdf3.c: Likewise.
3891 * soft-fp/subsf3.c: Likewise.
3892 * soft-fp/subtf3.c: Likewise.
3893 * soft-fp/truncdfsf2.c: Likewise.
3894 * soft-fp/trunctfdf2.c: Likewise.
3895 * soft-fp/trunctfsf2.c: Likewise.
3896 * soft-fp/trunctfxf2.c: Likewise.
3897 * soft-fp/unorddf2.c: Likewise.
3898 * soft-fp/unordsf2.c: Likewise.
3899 * soft-fp/unordtf2.c: Likewise.
3900
3901 2013-10-15 Joseph Myers <joseph@codesourcery.com>
3902
3903 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3904 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3905
3906 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
3907
3908 * elf/dl-libc.c: Clear initfini list after freeing.
3909
3910 2013-10-14 Joseph Myers <joseph@codesourcery.com>
3911
3912 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3913 * soft-fp/addsf3.c: Likewise.
3914 * soft-fp/addtf3.c: Likewise.
3915 * soft-fp/divdf3.c: Likewise.
3916 * soft-fp/divsf3.c: Likewise.
3917 * soft-fp/divtf3.c: Likewise.
3918 * soft-fp/double.h: Likewise.
3919 * soft-fp/eqdf2.c: Likewise.
3920 * soft-fp/eqsf2.c: Likewise.
3921 * soft-fp/eqtf2.c: Likewise.
3922 * soft-fp/extenddftf2.c: Likewise.
3923 * soft-fp/extended.h: Likewise.
3924 * soft-fp/extendsfdf2.c: Likewise.
3925 * soft-fp/extendsftf2.c: Likewise.
3926 * soft-fp/extendxftf2.c: Likewise.
3927 * soft-fp/fixdfdi.c: Likewise.
3928 * soft-fp/fixdfsi.c: Likewise.
3929 * soft-fp/fixdfti.c: Likewise.
3930 * soft-fp/fixsfdi.c: Likewise.
3931 * soft-fp/fixsfsi.c: Likewise.
3932 * soft-fp/fixsfti.c: Likewise.
3933 * soft-fp/fixtfdi.c: Likewise.
3934 * soft-fp/fixtfsi.c: Likewise.
3935 * soft-fp/fixtfti.c: Likewise.
3936 * soft-fp/fixunsdfdi.c: Likewise.
3937 * soft-fp/fixunsdfsi.c: Likewise.
3938 * soft-fp/fixunsdfti.c: Likewise.
3939 * soft-fp/fixunssfdi.c: Likewise.
3940 * soft-fp/fixunssfsi.c: Likewise.
3941 * soft-fp/fixunssfti.c: Likewise.
3942 * soft-fp/fixunstfdi.c: Likewise.
3943 * soft-fp/fixunstfsi.c: Likewise.
3944 * soft-fp/fixunstfti.c: Likewise.
3945 * soft-fp/floatdidf.c: Likewise.
3946 * soft-fp/floatdisf.c: Likewise.
3947 * soft-fp/floatditf.c: Likewise.
3948 * soft-fp/floatsidf.c: Likewise.
3949 * soft-fp/floatsisf.c: Likewise.
3950 * soft-fp/floatsitf.c: Likewise.
3951 * soft-fp/floattidf.c: Likewise.
3952 * soft-fp/floattisf.c: Likewise.
3953 * soft-fp/floattitf.c: Likewise.
3954 * soft-fp/floatundidf.c: Likewise.
3955 * soft-fp/floatundisf.c: Likewise.
3956 * soft-fp/floatunsidf.c: Likewise.
3957 * soft-fp/floatunsisf.c: Likewise.
3958 * soft-fp/floatuntidf.c: Likewise.
3959 * soft-fp/floatuntisf.c: Likewise.
3960 * soft-fp/floatuntitf.c: Likewise.
3961 * soft-fp/fmadf4.c: Likewise.
3962 * soft-fp/fmasf4.c: Likewise.
3963 * soft-fp/fmatf4.c: Likewise.
3964 * soft-fp/gedf2.c: Likewise.
3965 * soft-fp/gesf2.c: Likewise.
3966 * soft-fp/getf2.c: Likewise.
3967 * soft-fp/ledf2.c: Likewise.
3968 * soft-fp/lesf2.c: Likewise.
3969 * soft-fp/letf2.c: Likewise.
3970 * soft-fp/muldf3.c: Likewise.
3971 * soft-fp/mulsf3.c: Likewise.
3972 * soft-fp/multf3.c: Likewise.
3973 * soft-fp/negdf2.c: Likewise.
3974 * soft-fp/negsf2.c: Likewise.
3975 * soft-fp/negtf2.c: Likewise.
3976 * soft-fp/op-1.h: Likewise.
3977 * soft-fp/op-2.h: Likewise.
3978 * soft-fp/op-4.h: Likewise.
3979 * soft-fp/op-8.h: Likewise.
3980 * soft-fp/op-common.h: Likewise.
3981 * soft-fp/quad.h: Likewise.
3982 * soft-fp/single.h: Likewise.
3983 * soft-fp/soft-fp.h: Likewise.
3984 * soft-fp/sqrtdf2.c: Likewise.
3985 * soft-fp/sqrtsf2.c: Likewise.
3986 * soft-fp/sqrttf2.c: Likewise.
3987 * soft-fp/subdf3.c: Likewise.
3988 * soft-fp/subsf3.c: Likewise.
3989 * soft-fp/subtf3.c: Likewise.
3990 * soft-fp/truncdfsf2.c: Likewise.
3991 * soft-fp/trunctfdf2.c: Likewise.
3992 * soft-fp/trunctfsf2.c: Likewise.
3993 * soft-fp/trunctfxf2.c: Likewise.
3994 * soft-fp/unorddf2.c: Likewise.
3995 * soft-fp/unordsf2.c: Likewise.
3996 * soft-fp/unordtf2.c: Likewise.
3997
3998 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
3999
4000 [BZ #15672]
4001 * misc/error.c (error_tail): Fix possible buffer overflow.
4002
4003 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4004
4005 [BZ #13028]
4006 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4007 address.
4008
4009 2013-10-14 P. J. McDermott <pj@pehjota.net>
4010
4011 [BZ #832]
4012 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4013 testing pipefail option.
4014
4015 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4016
4017 * soft-fp/double.h: Indent preprocessor directives inside #if.
4018 * soft-fp/extended.h: Likewise.
4019 * soft-fp/op-2.h: Likewise.
4020 * soft-fp/op-4.h: Likewise.
4021 * soft-fp/op-common.h: Likewise.
4022 * soft-fp/quad.h: Likewise.
4023 * soft-fp/single.h: Likewise.
4024 * soft-fp/soft-fp.h: Likewise.
4025
4026 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4027
4028 * iconv/iconv_prog.c: Fix typos.
4029 * stdio-common/psiginfo-data.h: Likewise.
4030
4031 2013-10-12 Reuben Thomas <rrt@sc3d.org>
4032
4033 [BZ #15764]
4034 * locale/setlocale.c: Fix typo.
4035
4036 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4037
4038 [BZ #16036]
4039 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4040 signaling NaN arguments.
4041 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4042 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4043
4044 [BZ #14910]
4045 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4046 unordered operands.
4047 * soft-fp/gesf2.c (__gesf2): Likewise.
4048 * soft-fp/getf2.c (__getf2): Likewise.
4049 * soft-fp/ledf2.c (__ledf2): Likewise.
4050 * soft-fp/lesf2.c (__lesf2): Likewise.
4051 * soft-fp/letf2.c (__letf2): Likewise.
4052
4053 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4054 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4055 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4056 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4057 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4058 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4059 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4060 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4061 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4062 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4063 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4064 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4065 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4066 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4067 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4068 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4069 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4070 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4071 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4072 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4073 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4074 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4075 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4076 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4077 * soft-fp/floattidf.c (__floattidf): Likewise.
4078 * soft-fp/floattisf.c (__floattisf): Likewise.
4079 * soft-fp/floattitf.c (__floattitf): Likewise.
4080 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4081 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4082 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4083 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4084 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4085 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4086 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4087 * soft-fp/gesf2.c (__gesf2): Likewise.
4088 * soft-fp/getf2.c (__getf2): Likewise.
4089 * soft-fp/ledf2.c (__ledf2): Likewise.
4090 * soft-fp/lesf2.c (__lesf2): Likewise.
4091 * soft-fp/letf2.c (__letf2): Likewise.
4092
4093 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4094 Undefine and redefine.
4095 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4096 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4097 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4098 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4099 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4100 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4101 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4102 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4103 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4104 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4105 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4106 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4107 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4108 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4109 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4110
4111 [BZ #16032]
4112 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4113 without decrementing exponent if mantissa >= that for the
4114 denominator, not >.
4115 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4116 denominator, not >. Decrement exponent in < case instead of
4117 incrementing in >= case.
4118 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4119 without decrementing exponent if mantissa >= that for the
4120 denominator, not >.
4121
4122 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4123 computing saturated result for unsigned overflow.
4124
4125 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4126 Jeff Law <law@redhat.com>
4127
4128 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4129 (atan2Mp): Add systemtap probe marker.
4130 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4131 (__ieee754_log): Add systemtap probe marker.
4132 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4133 (atanMp): Add systemtap probe marker.
4134 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4135 (tanMp): Add systemtap probe marker.
4136 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4137 (__slowexp): Add systemtap probe marker.
4138 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4139 (__slowpow): Add systemtap probe marker.
4140 * manual/probes.texi: Document probes.
4141
4142 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
4143
4144 [BZ #15362]
4145 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4146 written.
4147 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4148 written.
4149 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4150 written to buffer but not flushed.
4151 * libio/iofwrite_u.c: Likewise.
4152 * libio/iopadn.c: Return bytes returned even if EOF was
4153 encountered.
4154 * libio/iowpadn.c: Likewise.
4155 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4156 if _IO_padn does not write the whole buffer.
4157 [!COMPILE_WPRINTF] (PAD): Likewise.
4158
4159 2013-10-10 David S. Miller <davem@davemloft.net>
4160
4161 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4162 directory block.
4163
4164 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4165
4166 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4167 instead of FSF address.
4168 * soft-fp/fixdfti.c: Likewise.
4169 * soft-fp/fixsfti.c: Likewise.
4170 * soft-fp/fixtfti.c: Likewise.
4171 * soft-fp/fixunsdfti.c: Likewise.
4172 * soft-fp/fixunssfti.c: Likewise.
4173 * soft-fp/fixunstfti.c: Likewise.
4174 * soft-fp/floattidf.c: Likewise.
4175 * soft-fp/floattisf.c: Likewise.
4176 * soft-fp/floattitf.c: Likewise.
4177 * soft-fp/floatuntidf.c: Likewise.
4178 * soft-fp/floatuntisf.c: Likewise.
4179 * soft-fp/floatuntitf.c: Likewise.
4180 * soft-fp/trunctfxf2.c: Likewise.
4181
4182 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4183 * soft-fp/fixdfti.c: Likewise.
4184 * soft-fp/fixsfti.c: Likewise.
4185 * soft-fp/fixtfti.c: Likewise.
4186 * soft-fp/fixunsdfti.c: Likewise.
4187 * soft-fp/fixunssfti.c: Likewise.
4188 * soft-fp/fixunstfti.c: Likewise.
4189 * soft-fp/floattidf.c: Likewise.
4190 * soft-fp/floattisf.c: Likewise.
4191 * soft-fp/floattitf.c: Likewise.
4192 * soft-fp/floatuntidf.c: Likewise.
4193 * soft-fp/floatuntisf.c: Likewise.
4194 * soft-fp/floatuntitf.c: Likewise.
4195 * soft-fp/trunctfxf2.c: Likewise.
4196
4197 2013-10-10 David S. Miller <davem@davemloft.net>
4198
4199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4200
4201 2013-10-10 Joseph Myers <joseph@codsourcery.com>
4202
4203 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4204 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4205 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4206 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4207 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4208 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4209 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4210
4211 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4212 for NaNs before doing comparisons on argument.
4213 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4214 Likewise.
4215
4216 2013-10-10 Will Newton <will.newton@linaro.org>
4217
4218 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4219 passed to _int_memalign does not overflow.
4220
4221 2013-10-10 Torvald Riegel <triegel@redhat.com>
4222
4223 * scripts/bench.pl: Add include-sources directive.
4224 * benchtests/README: Update documentation.
4225
4226 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4227
4228 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4229 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4230 instead of FP_INIT_ROUNDMODE.
4231 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4232 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4233
4234 [BZ #16034]
4235 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4236 copy class of input value.
4237 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4238 not handle exceptions.
4239 * soft-fp/negsf2.c (__negsf2): Likewise.
4240 * soft-fp/negtf2.c (__negtf2): Likewise.
4241 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4242
4243 2013-10-09 Joseph Myers <joseph@codesourcery.com>
4244
4245 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4246 semicolon. From Linux kernel.
4247
4248 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4249
4250 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4251
4252 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4253
4254 [BZ #156]
4255 * manual/socket.texi: Added statement about buffer
4256 for gethostbyname2_r.
4257
4258 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
4259
4260 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4261 Use .p2align directive instead, throughout.
4262 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4263 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4264 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4265 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4266 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4267 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4268 * sysdeps/x86_64/strchr.S: Likewise.
4269 * sysdeps/x86_64/strrchr.S: Likewise.
4270
4271 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4272
4273 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4274
4275 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4276
4277 * sysdeps/generic/math_private.h (__mpsin1): Remove
4278 declaration.
4279 (__mpcos1): Likewise.
4280 (__mpsin): New argument __range_reduce.
4281 (__mpcos): Likewise.
4282 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4283 (slow): Use __mpsin and __mpcos.
4284 (slow1): Likewise.
4285 (slow2): Likewise.
4286 (sloww): Likewise.
4287 (sloww1): Likewise.
4288 (sloww2): Likewise.
4289 (bsloww): Likewise.
4290 (bsloww1): Likewise.
4291 (bsloww2): Likewise.
4292 (cslow2): Likewise.
4293 (csloww): Likewise.
4294 (csloww1): Likewise.
4295 (csloww2): Likewise.
4296 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4297 range_reduce. Merge in __mpsin1.
4298 (__mpcos): Likewise.
4299 (__mpsin1): Remove.
4300 (__mpcos1): Likewise.
4301
4302 2013-10-07 Joseph Myers <joseph@codesourcery.com>
4303
4304 * locale/loadlocale.c (_nl_intern_locale_data): Use
4305 LOCFILE_ALIGNED_P.
4306 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4307 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4308 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4309 obstack data is appropriately aligned.
4310 (obstack_int32_grow_fast): Likewise.
4311 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4312 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4313 (add_locale_uint32_array): Likewise.
4314
4315 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4316
4317 * benchtests/Makefile: Remove ARGLIST and RET variables.
4318 ($(objpfx)bench-%.c): Pass only function name to the script.
4319 * benchtests/README: Update documentation.
4320 * benchtests/acos-inputs: Add new directives.
4321 * benchtests/acosh-inputs: Likewise.
4322 * benchtests/asin-inputs: Likewise.
4323 * benchtests/asinh-inputs: Likewise.
4324 * benchtests/atan-inputs: Likewise.
4325 * benchtests/atanh-inputs: Likewise.
4326 * benchtests/cos-inputs: Likewise.
4327 * benchtests/cosh-inputs: Likewise.
4328 * benchtests/exp-inputs: Likewise.
4329 * benchtests/log-inputs: Likewise.
4330 * benchtests/pow-inputs: Likewise.
4331 * benchtests/rint-inputs: Likewise.
4332 * benchtests/sin-inputs: Likewise.
4333 * benchtests/sinh-inputs: Likewise.
4334 * benchtests/tan-inputs: Likewise.
4335 * benchtests/tanh-inputs: Likewise.
4336 * scripts/bench.pl: Add support for new directives.
4337
4338 2013-10-07 Alan Modra <amodra@gmail.com>
4339
4340 * README: Fix careless merge.
4341
4342 2013-10-05 Alan Modra <amodra@gmail.com>
4343
4344 * NEWS: Mention powerpc64le support and bugs fixed.
4345 * README: Both big-endian and little-endian powerpc64 supported.
4346
4347 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4348
4349 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4350 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4351 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4352 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4353
4354 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4355
4356 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4357 match prototype.
4358
4359 2013-10-04 Joseph Myers <joseph@codesourcery.com>
4360
4361 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4362 Move -mhard-float appending from
4363 ports/sysdeps/powerpc/powerpc32/Makefile.
4364 [$(with-fp) = yes] (ASFLAGS): Likewise.
4365 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4366 * sysdeps/powerpc/nofpu: Move directory from
4367 ports/sysdeps/powerpc/nofpu.
4368 * sysdeps/powerpc/soft-fp: Move directory from
4369 ports/sysdeps/powerpc/soft-fp.
4370 * sysdeps/powerpc/powerpc32/405: Move directory from
4371 ports/sysdeps/powerpc/powerpc32/405.
4372 * sysdeps/powerpc/powerpc32/440: Move directory from
4373 ports/sysdeps/powerpc/powerpc32/440.
4374 * sysdeps/powerpc/powerpc32/464: Move directory from
4375 ports/sysdeps/powerpc/powerpc32/464.
4376 * sysdeps/powerpc/powerpc32/476: Move directory from
4377 ports/sysdeps/powerpc/powerpc32/476.
4378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4379 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4381 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4383 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4385 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4387 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4388 * README: Update for powerpc-*-linux-gnu software floating point
4389 support in libc.
4390
4391 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4392 case to powerpc/powerpc32*.
4393 * sysdeps/unix/sysv/linux/configure: Regenerated.
4394
4395 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4396 (_FPU_MASK_OM): Define as 0x04.
4397 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4398 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4399 0x00c10080.
4400 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4401 0x0000003c.
4402 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4403
4404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4405 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4406 getcontext_e500.
4407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4408 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4409 setcontext_e500.
4410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4411 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4412 and setcontext_e500.
4413
4414 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4415
4416 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4417
4418 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4419
4420 * manual/threads.texi (Default Thread Attributes): Fix typo.
4421
4422 2013-10-04 Will Newton <will.newton@linaro.org>
4423
4424 * malloc/Makefile: Add tst-memalign.
4425 * malloc/tst-memalign.c: New file.
4426
4427 * malloc/tst-posix_memalign.c: Add comments.
4428 (do_test): Add comments and call free on all potentially
4429 allocated pointers. Add space after cast.
4430
4431 * malloc/tst-pvalloc.c: Add comments.
4432 (do_test): Add comments and call free on all potentially
4433 allocated pointers. Remove duplicate check for NULL pointer.
4434 Add space after cast.
4435
4436 * malloc/tst-valloc.c: Add comments.
4437 (do_test): Add comments and call free on all potentially
4438 allocated pointers. Remove duplicate check for NULL pointer.
4439 Add space after cast.
4440
4441 2013-10-04 Alan Modra <amodra@gmail.com>
4442
4443 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4444 Use stdint types in rather than __attribute__((mode())).
4445 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4446
4447 2013-10-04 Alan Modra <amodra@gmail.com>
4448
4449 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4450 Correct handling of unaligned relocs for little-endian.
4451 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4452
4453 2013-10-04 Alan Modra <amodra@gmail.com>
4454
4455 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4456 * configure: Regenerate.
4457 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4458 * shlib-versions: Likewise.
4459
4460 2013-10-04 Alan Modra <amodra@gmail.com>
4461
4462 * string/tester.c (test_memrchr): Increment reported test cycle.
4463
4464 2013-10-04 Alan Modra <amodra@gmail.com>
4465
4466 * string/test-memcpy.c (do_one_test): When reporting errors, print
4467 string address and don't overrun end of string.
4468
4469 2013-10-04 Alan Modra <amodra@gmail.com>
4470
4471 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4472 insrdi. Make better use of reg selection to speed exit slightly.
4473 Schedule entry path a little better. Remove useless "are we done"
4474 checks on entry to main loop. Handle wrapping around zero address.
4475 Correct main loop count. Handle single left-over word from main
4476 loop inline rather than by using loop_small. Remove extra word
4477 case in loop_small caused by wrong loop count. Add little-endian
4478 support.
4479 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4480 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4481 cache hint.
4482 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4483 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4484 support. Avoid rlwimi.
4485 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4486
4487 2013-10-04 Alan Modra <amodra@gmail.com>
4488
4489 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4490 insrdi. Formatting.
4491 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4492 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4493 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4494 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4495 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4496 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4497
4498 2013-10-04 Alan Modra <amodra@gmail.com>
4499
4500 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4501 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4502 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4503 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4504 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4505 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4506 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4507 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4508 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4509 use of regs. Use power7 mtocrf. Tidy function tails.
4510
4511 2013-10-04 Alan Modra <amodra@gmail.com>
4512
4513 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4514 Formatting. Consistently use rXXX register defines or rN defines.
4515 Use early exit labels that avoid restoring unused non-volatile regs.
4516 Make cr field use more consistent with rWORDn compares. Rename
4517 regs used as shift registers for unaligned loop, using rN defines
4518 for short lifetime/multiple use regs.
4519 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4520 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4521 addi 1,1,64 to pop stack frame. Simplify return value code.
4522 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4523
4524 2013-10-04 Alan Modra <amodra@gmail.com>
4525
4526 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4527 support. Correct typos, formatting. Optimize tail. Use insrdi
4528 rather than rlwimi.
4529 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4530 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4531 little-endian support. Correct typos.
4532 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4533 rather than rlwimi.
4534 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4535 in loop and entry code to keep "and." results.
4536 (strchr): Add little-endian support. Comment. Move cntlzd
4537 earlier in tail.
4538 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4539
4540 2013-10-04 Alan Modra <amodra@gmail.com>
4541
4542 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4543 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4544 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4545 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4546
4547 2013-10-04 Alan Modra <amodra@gmail.com>
4548
4549 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4550 (rTMP): Define as r11.
4551 (strcmp): Add little-endian support. Optimise tail.
4552 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4553 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4554 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4555 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4556 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4557 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4558 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4559
4560 2013-10-04 Alan Modra <amodra@gmail.com>
4561
4562 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4563 little-endian support. Remove unnecessary "are we done" tests.
4564 Handle "s" wrapping around zero and extremely large "size".
4565 Correct main loop count. Handle single left-over word from main
4566 loop inline rather than by using small_loop. Correct comments.
4567 Delete "zero" tail, use "end_max" instead.
4568 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4569
4570 2013-10-04 Alan Modra <amodra@gmail.com>
4571
4572 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4573 support. Don't branch over align.
4574 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4575 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4576 support. Rearrange tmp reg use to suit. Comment.
4577 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4578
4579 2013-10-04 Alan Modra <amodra@gmail.com>
4580
4581 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4582
4583 2013-10-04 Alan Modra <amodra@gmail.com>
4584
4585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4586 conditional form of branch and link when obtaining pc.
4587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4588
4589 2013-10-04 Alan Modra <amodra@gmail.com>
4590
4591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4592 HIWORD/LOWORD.
4593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4595
4596 2013-10-04 Alan Modra <amodra@gmail.com>
4597
4598 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4599 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4600 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4601 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4602 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4603 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4604 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4605 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4606 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4607 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4608
4609 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4610 Alistair Popple <alistair@ozlabs.au.ibm.com>
4611 Alan Modra <amodra@gmail.com>
4612
4613 [BZ #15723]
4614 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4615 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4616 _dl_hwcap access for little-endian.
4617 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4618 destroy vmx regs when saving unaligned.
4619 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4620 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4621 destroy vmx regs when saving unaligned.
4622
4623 2013-10-04 Alan Modra <amodra@gmail.com>
4624
4625 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4626 Don't use a union to pack hi/low value.
4627
4628 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4629
4630 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4631 for little-endian.
4632 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4633 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4634 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4635 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4636 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4637
4638 2013-10-04 Alan Modra <amodra@gmail.com>
4639
4640 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4641 constants to usual value for .cst8 section, and remove redundant
4642 high address load.
4643 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4644 constant for 0x1p52. Load little-endian words of double from
4645 correct stack offsets.
4646
4647 2013-10-04 Alan Modra <amodra@gmail.com>
4648
4649 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4650 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4651 words of double from correct stack offsets.
4652 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4653 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4654 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4655 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4656 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4657 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4658 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4659 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4660 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4661 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4662 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4663 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4664 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4665 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4666 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4667 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4668 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4669
4670 2013-10-04 Alan Modra <amodra@gmail.com>
4671
4672 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4673 64-bit int/double union.
4674 (_FPU_SETCW): Likewise.
4675 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4676 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4677
4678 2013-10-04 Alan Modra <amodra@gmail.com>
4679
4680 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4681 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4682
4683 2013-10-04 Alan Modra <amodra@gmail.com>
4684
4685 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4686 use vector int constants.
4687 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4688
4689 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4690
4691 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4692 array with long long.
4693 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4694 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4695 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4696 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4697 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4698 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4699 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4700 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4701 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4702 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4703 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4704 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4705 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4706
4707 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4708
4709 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4710 (__signbit): Likewise. Correct for little-endian.
4711 (__signbitl): Call __signbit.
4712 (lrint): Correct for little-endian.
4713 (lrintf): Call lrint.
4714
4715 2013-10-04 Alan Modra <amodra@gmail.com>
4716
4717 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4718 union 32-bit int array member with 64-bit int array.
4719 (t515, tm256): Double rather than long double.
4720 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4721
4722 2013-10-04 Alan Modra <amodra@gmail.com>
4723
4724 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4725 Delete.
4726 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4727 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4728 version of math_ldbl.h.
4729
4730 2013-10-04 Alan Modra <amodra@gmail.com>
4731
4732 [BZ #15734], [BZ #15735]
4733 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4734 all uses of ieee875 long double macros and unions. Simplify test
4735 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4736 ldbl_extract_mantissa value for ix,iy exponents. Properly
4737 normalize after ldbl_extract_mantissa, and don't add hidden bit
4738 already handled. Don't treat low word of ieee854 mantissa like
4739 low word of IBM long double and mask off bit when testing for
4740 zero.
4741 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4742 all uses of ieee875 long double macros and unions. Simplify tests
4743 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4744 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4745 two1022, instead use their values. Recognise that tests for large
4746 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4747 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4748 Rewrite all uses of ieee875 long double macros and unions. Simplify
4749 test for 0.0L and nan. Correct negation.
4750 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4751 ieee875 long double macros and unions. Correct output for large
4752 magnitude x. Correct absolute value calculation.
4753 (__erfcl): Likewise.
4754 * math/libm-test.inc: Add tests for errors discovered in IBM long
4755 double versions of fmodl, remainderl, erfl and erfcl.
4756
4757 2013-10-04 Alan Modra <amodra@gmail.com>
4758
4759 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4760 all uses of ieee854 long double macros and unions. Simplify tests
4761 for long doubles that are fully specified by the high double.
4762 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4763 Likewise.
4764 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4765 Remove dead code too.
4766 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4767 (__ieee754_ynl): Likewise.
4768 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4769 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4770 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4771 Remove dead code too.
4772 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4773 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4774 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4775 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4776 Simplify.
4777 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4778 Simplify.
4779 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4780 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4781 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4782 Comment on variable precision.
4783 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4784 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4785 Likewise.
4786 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4787 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4788 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4789 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4790 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4791
4792 2013-10-04 Alan Modra <amodra@gmail.com>
4793
4794 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4795 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4796 all uses of ieee854 long double macros and unions.
4797 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4798 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4799 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4800 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4801 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4802 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4803 Likewise.
4804 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4805 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4806 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4807 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4808 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4809 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4810 Simplify sign and nan test too.
4811 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4812 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4813 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4814 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4815 Likewise.
4816 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4817 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4818 Likewise.
4819 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4820 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4821 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4822 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4823 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4824 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4825
4826 2013-10-04 Alan Modra <amodra@gmail.com>
4827
4828 * stdio-common/printf_size.c (__printf_size): Don't use
4829 union ieee854_long_double in fpnum union.
4830 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4831 signbit macro to retrieve sign from long double.
4832 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4833 retrieve sign from long double.
4834 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4835 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4836 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4837 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4838 * math/test-misc.c (main): Don't use union ieee854_long_double.
4839
4840 2013-10-04 Alan Modra <amodra@gmail.com>
4841
4842 [BZ #15680]
4843 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4844 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4845 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4846 calculation. Remove unnecessary test for denormal exponent.
4847 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4848 Correct handling of denormals. Avoid undefined shift behaviour.
4849 Correct normalisation of low mantissa when low double is denormal.
4850 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4851 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4852 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4853 Correct normalisation of low mantissa. Test for overflow of high
4854 mantissa and normalise.
4855 (ldbl_nearbyint): Use more readable constant for two52.
4856 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4857 (__mpn_construct_long_double): Fix test for overflow of high
4858 mantissa and correct normalisation. Avoid undefined shift.
4859
4860 2013-10-04 Alan Modra <amodra@gmail.com>
4861
4862 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4863 (union ibm_extended_long_double): Define as an array of ieee754_double.
4864 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4865 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4866 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4867 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4868 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4869 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4870 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4871 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4872 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4873 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4874 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4875
4876 2013-10-03 Joseph Myers <joseph@codesourcery.com>
4877
4878 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4879 page size instead of calling getpagesize.
4880
4881 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4882 (LOCFILE_ALIGN_MASK): Likewise.
4883 (LOCFILE_ALIGN_UP): Likewise.
4884 (LOCFILE_ALIGNED_P): Likewise.
4885 * locale/programs/ld-collate.c (collate_output): Use the new
4886 macros instead of __alignof__ (int32_t).
4887 * locale/weight.h (findidx): Likewise.
4888
4889 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
4890
4891 [BZ #431]
4892 * manual/string.texi: Fix strncat and wcsncat.
4893
4894 2013-10-03 Brooks Moses <bmoses@google.com>
4895
4896 [BZ #15915]
4897 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4898 * Makerules: ...here, and adjust associated comments.
4899
4900 2013-10-02 Will Newton <will.newton@linaro.org>
4901
4902 * malloc/Makefile: Add tst-pvalloc.
4903 * malloc/tst-pvalloc.c: New file.
4904
4905 2013-10-02 Will Newton <will.newton@linaro.org>
4906
4907 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4908 improve test coverage.
4909
4910 2013-10-02 Will Newton <will.newton@linaro.org>
4911
4912 * malloc/Makefile: Add tst-posix_memalign.
4913 * malloc/tst-posix_memalign.c: New file.
4914
4915 2013-10-01 Eric Blake <eblake@redhat.com>
4916
4917 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4918 Use __THROWNL rather than __THROW on static functions.
4919
4920 2013-09-30 Petr Machata <pmachata@redhat.com>
4921
4922 * elf/elf.h (R_AARCH64_ABS16): New macro.
4923 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4924 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4925 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4926 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4927 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4928 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4929 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4930 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4931 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4932 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4933 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4934 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4935 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4936 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4937 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4938 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4939 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4940 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4941 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4942 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4943 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4944 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4945 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4946 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4947 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4948 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4949 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4950 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4951 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4952 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4953 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4954 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4955 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4956 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4957 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4958 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4959 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4960 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4961 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4962 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4963 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4964 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4965 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4966 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4967 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4968 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4969 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4970 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4971 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4972 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4973 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4974 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4975 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4976 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4977 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4978 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4979 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4980 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4981 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4982 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4983 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4984 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4985 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4986 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4987 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4988 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4989 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4990 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4991 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4992 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4993 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4994 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4995 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4996 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4997 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4998 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4999 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5000 (R_AARCH64_TLSDESC_LDR): Likewise.
5001 (R_AARCH64_TLSDESC_ADD): Likewise.
5002 (R_AARCH64_TLSDESC_CALL): Likewise.
5003
5004 2013-09-30 Andreas Schwab <schwab@suse.de>
5005
5006 [BZ #15048]
5007 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5008 the nss database lookup.
5009 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5011
5012 2013-09-28 Mike Frysinger <vapier@gentoo.org>
5013
5014 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5015
5016 2013-09-28 P. J. McDermott <pj@pehjota.net>
5017
5018 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5019 ${Bash-specific parameter/pattern/string} parameter expansion.
5020 * sysdeps/unix/make-syscalls.sh: Likewise.
5021
5022 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5023
5024 * sysdeps/sh/stackguard-macros.h: New file.
5025
5026 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
5027
5028 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5029 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5030 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5031 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5032 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5033 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5034
5035 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5036
5037 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5038 Fix thread ID register.
5039
5040 2013-09-25 Joseph Myers <joseph@codesourcery.com>
5041
5042 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5043 [POSIX || UNIX98]: Require rather than permitting all symbols from
5044 <time.h>.
5045 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5046 element of struct sched_param.
5047 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5048 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5049 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5050 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5051 constant.
5052
5053 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5054
5055 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5056 argument calculation.
5057
5058 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5059
5060 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5061 Expect macro.
5062 [POSIX] (pthread_attr_t): Do not require type.
5063 [POSIX] (pthread_cond_t): Likewise.
5064 [POSIX] (pthread_condattr_t): Likewise.
5065 [POSIX] (pthread_key_t): Likewise.
5066 [POSIX] (pthread_mutex_t): Likewise.
5067 [POSIX] (pthread_mutexattr_t): Likewise.
5068 [POSIX] (pthread_once_t): Likewise.
5069 [POSIX] (pthread_t): Likewise.
5070 [POSIX-based standards] (pthread_atfork): Expect function.
5071
5072 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5073 Richard Sandiford <richard@codesourcery.com>
5074
5075 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5076 (swap_endianness_p): New extern variable.
5077 (set_big_endian): New inline function.
5078 (maybe_swap_uint32): Likewise.
5079 (maybe_swap_uint32_array): Likewise.
5080 (maybe_swap_uint32_obstack): Likewise.
5081 * locale/programs/locfile.c: Include <stdbool.h>.
5082 (swap_endianness_p): New variable.
5083 (add_locale_uint32): Call maybe_swap_uint32.
5084 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5085 (write_locale_data): Call maybe_swap_uint32_array.
5086 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5087 maybe_swap_uint32.
5088 (obstack_int32_grow_fast): Likewise.
5089 (output_weightwc): Call maybe_swap_uint32_obstack.
5090 (collate_output): Likewise.
5091 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5092 (OPT_LITTLE_ENDIAN): Likewise.
5093 (options): Add --little-endian and --big-endian options.
5094 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5095 * locale/programs/locarchive.c: Include "locfile.h".
5096 (GET): New macro.
5097 (SET): Likewise.
5098 (INC): Likewise.
5099 (create_archive): Use the new macros to access fields of
5100 structures directly mapped from or written to locale archives.
5101 (oldlocrecentcmp): Likewise.
5102 (enlarge_archive): Likewise.
5103 (insert_name): Likewise.
5104 (add_alias): Likewise.
5105 (add_locale): Likewise.
5106 (delete_locales_from_archive): Likewise.
5107 (show_archive_content): Likewise.
5108 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5109 locale data.
5110
5111 2013-09-24 Roland McGrath <roland@hack.frob.com>
5112
5113 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5114 http://www.gnu.org/doc/freemanuals.texi.
5115 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5116
5117 2013-09-24 Will Newton <will.newton@linaro.org>
5118
5119 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5120 macro.
5121
5122 2013-09-23 Joseph Myers <joseph@codesourcery.com>
5123
5124 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5125 unsigned char.
5126
5127 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5128
5129 * manual/threads.texi (POSIX Threads): Fix a typo.
5130
5131 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5132
5133 [BZ #14547]
5134 * string/tst-strcoll-overflow.c: New test case.
5135 * string/Makefile (xtests): Add tst-strcoll-overflow.
5136 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5137 cache if string sizes may cause integer overflow.
5138
5139 [BZ #14547]
5140 * string/strcoll_l.c (coll_seq): New members rule, idx,
5141 save_idx and back_us.
5142 (get_next_seq_nocache): New function.
5143 (do_compare_nocache): New function.
5144 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5145 when malloc fails.
5146
5147 2013-09-23 Carlos O'Donell <carlos@redhat.com>
5148
5149 [BZ #15754]
5150 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5151 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5152 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5153
5154 [BZ #15754]
5155 * elf/Makefile (tests): Add tst-ptrguard1.
5156 (tests-static): Add tst-ptrguard1-static.
5157 (tst-ptrguard1-ARGS): Define.
5158 (tst-ptrguard1-static-ARGS): Define.
5159 * elf/tst-ptrguard1.c: New file.
5160 * elf/tst-ptrguard1-static.c: New file.
5161 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5162 * sysdeps/i386/stackguard-macros.h: Likewise.
5163 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5164 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5165 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5166 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5167 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5168 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5169
5170 2013-09-23 Hector Marco <hecmargi@upv.es>
5171 Ismael Ripoll <iripoll@disca.upv.es>
5172 Carlos O'Donell <carlos@redhat.com>
5173
5174 [BZ #15754]
5175 * sysdeps/generic/stackguard-macros.h: Define
5176 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5177 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5178 Define __pointer_chk_guard_local.
5179 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5180 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5181
5182 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5183
5184 [BZ #15859]
5185 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5186
5187 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5188
5189 * include/string.h (__ffs): Declare as hidden.
5190 * string/ffs.c (__ffs): Define as hidden.
5191 * sysdeps/i386/ffs.c (__ffs): Likewise.
5192 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5193 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5194 * sysdeps/s390/ffs.c (__ffs): Likewise.
5195 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5196
5197 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
5198
5199 * NEWS: Mention malloc probes.
5200
5201 * malloc/arena.c (new_heap): New memory_heap_new probe.
5202 (grow_heap): New memory_heap_more probe.
5203 (shrink_heap): New memory_heap_less probe.
5204 (heap_trim): New memory_heap_free probe.
5205 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5206 (systrim): New memory_sbrk_less probe.
5207 * manual/probes.texi: Document them.
5208
5209 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5210 * manual/probes.texi: Document it.
5211
5212 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5213 (__libc_realloc): Add memory_realloc_retry probe.
5214 (__libc_memalign): Add memory_memalign_retry probe.
5215 (__libc_valloc): Add memory_valloc_retry probe.
5216 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5217 (__libc_calloc): Add memory_calloc_retry probe.
5218 * manual/probes.texi: Document them.
5219
5220 * malloc/arena.c (get_free_list): Add probe
5221 memory_arena_reuse_free_list.
5222 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5223 and memory_arena_reuse.
5224 (arena_get2) [!PER_THREAD]: Likewise.
5225 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5226 memory_arena_reuse_realloc.
5227 * manual/probes.texi: Document them.
5228
5229 * malloc/malloc.c (__libc_free): Add
5230 memory_mallopt_free_dyn_thresholds probe.
5231 (__libc_mallopt): Add multiple memory_mallopt probes.
5232 * manual/probes.texi: Document them.
5233
5234 * malloc/malloc.c: Include stap-probe.h.
5235 (__libc_mallopt): Add memory_mallopt probe.
5236 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5237 * manual/probes.texi: New.
5238 * manual/Makefile (chapters): Add probes.
5239 * manual/threads.texi: Set next node.
5240
5241 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
5242
5243 [BZ #15963, #13985]
5244 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5245 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5246 Add `Chinese' to `nan' entry name.
5247
5248 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5249
5250 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5251 (POLYNOMIAL): Likewise.
5252 (TAYLOR_SINCOS): Likewise.
5253 (TAYLOR_SLOW): Likewise.
5254 (__sin): Use TAYLOR_SINCOS.
5255 (__cos): Likewise.
5256 (slow): Use TAYLOR_SLOW.
5257 (sloww): Likewise.
5258 (bsloww): Likewise.
5259 (csloww): Likewise.
5260
5261 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5262
5263 * stdlib/strtod_l.c: Fix buffer overrun.
5264
5265 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5266
5267 * benchtests/Makefile (bench): Add sincos.
5268 * benchtests/bench-sincos.c: New file.
5269
5270 * math/libm-test.inc (cos_test_data): New test inputs.
5271 (sin_test_data): Likewise.
5272
5273 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5274 macro.
5275 (__sin): Use it.
5276 (__cos): Likewise.
5277 (slow1): Likewise.
5278 (slow2): Likewise.
5279 (sloww1): Likewise.
5280 (sloww2): Likewise.
5281 (bsloww1): Likewise.
5282 (bsloww2): Likewise.
5283 (cslow2): Likewise.
5284 (csloww1): Likewise.
5285 (csloww2): Likewise.
5286
5287 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5288 function.
5289 (__sin): Use it.
5290 (__cos): Likewise.
5291
5292 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5293 gotos.
5294 (__cos): Likewise.
5295
5296 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5297
5298 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5299 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5300 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5301 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5302 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5303 * elf/cache.c (print_entry): Handle the new cache flags.
5304
5305 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5306 Aldy Hernandez <aldyh@redhat.com>
5307
5308 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5309 Change condition to [_SOFT_FLOAT].
5310 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5311 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5312 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5313 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5314 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5315 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5316 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5317 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5318 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5319 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5320 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5321 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5322 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5323 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5324 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5325 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5326 declaration.
5327
5328 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5329
5330 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5331 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5332 (__longjmp): Use LOAD_GP to load saved GPRs.
5333 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5334 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5335 (__sigsetjmp): Use SAVE_GP to save GPRs.
5336
5337 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5338 Do not append -msoft-float.
5339 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5340
5341 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5342
5343 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5344
5345 2013-09-17 Joseph Myers <joseph@codesourcery.com>
5346
5347 [BZ #15966]
5348 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5349 (_FPU_GETCW): Use initial "__" on variable and field names but not
5350 on macro parameter name.
5351 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5352 parentheses around reference to macro parameter.
5353
5354 2013-09-13 Richard Sandiford <richard@codesourcery.com>
5355
5356 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5357 prototype.
5358 (ctype_startup): Use uint32_t in cast and sizeof for
5359 ctype->charnames.
5360
5361 2013-09-11 Jia Liu <proljc@gmail.com>
5362
5363 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5364 __daddr_t_defined.
5365 [__FreeBSD__]: Likewise.
5366
5367 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
5368
5369 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5370 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5371 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5372 (strchr): Remove __strchr_sse42 ifunc selection.
5373 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5374 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5375
5376 2013-09-11 Will Newton <will.newton@linaro.org>
5377
5378 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5379 parameter to RES. Remove hardcoded 1000 value.
5380 * benchtests/bench-skeleton.c (main): Pass RES parameter
5381 to TIMING_INIT and multiply result by 1000.
5382
5383 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5384
5385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5386
5387 2013-09-11 Andreas Schwab <schwab@suse.de>
5388
5389 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5390 if not defined.
5391 (O_TMPFILE) [__USE_GNU]: Define.
5392 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5393 Define.
5394
5395 2013-09-11 Will Newton <will.newton@linaro.org>
5396
5397 [BZ #15857]
5398 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5399 does not overflow.
5400
5401 2013-09-11 Will Newton <will.newton@linaro.org>
5402
5403 [BZ #15856]
5404 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5405 does not overflow.
5406
5407 2013-09-11 Will Newton <will.newton@linaro.org>
5408
5409 [BZ #15855]
5410 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5411 does not overflow.
5412
5413 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
5414
5415 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5416 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5417 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5418 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5419 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5420
5421 2013-09-10 Allan McRae <allan@archlinux.org>
5422
5423 [BZ #15748]
5424 * manual/arith.texi (Parsing of Floats): Clarify
5425 cross-reference.
5426
5427 [BZ #15849]
5428 * manual/install.texi (Running make install): Mention
5429 --enable-pt-chown.
5430 * INSTALL: Regenerated.
5431
5432 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5433
5434 * csu/init-first.c (_init): Remove the !SHARED condition around
5435 FPU control word initialization.
5436 * elf/dl-support.c (_dl_fpu_control): New variable.
5437 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5438 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5439 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5440 * math/test-fpucw-static.c: New file.
5441 * math/test-fpucw-ieee.c: New file.
5442 * math/test-fpucw-ieee-static.c: New file.
5443 * math/Makefile (tests): Add `test-fpucw-ieee' and
5444 `$(tests-static)'.
5445 (tests-static): New variable.
5446 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5447 dependency to...
5448 [($(build-shared),yes)]
5449 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5450 ... this.
5451 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5452 New dependency.
5453
5454 2013-09-09 Allan McRae <allan@archlinux.org>
5455
5456 [BZ #15939]
5457 * manual/string.texi (Collation Functions): Fix typo in
5458 strcoll example.
5459 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5460
5461 [BZ #15893]
5462 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5463
5464 [BZ #15892]
5465 * libio/memstream.c (open_memstream): Fix memory leak.
5466 * libio/wmemstream.c (open_wmemstream): Likewise.
5467
5468 [BZ #15895]
5469 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5470
5471 2013-09-09 Will Newton <will.newton@linaro.org>
5472
5473 * malloc/Makefile: Add tst-realloc to tests.
5474 * malloc/tst-realloc.c: New file.
5475
5476 2013-09-09 Allan McRae <allan@archlinux.org>
5477
5478 [BZ #15844]
5479 * COPYING: Update from GNU website to fix FSF address.
5480 * COPYING.LIB: Likewise.
5481
5482 2013-09-06 David S. Miller <davem@davemloft.net>
5483
5484 * po/zh_TW.po: Update Chinese (traditional) translation from
5485 translation project.
5486
5487 2013-09-06 Richard Sandiford <richard@codesourcery.com>
5488 Joseph Myers <joseph@codesourcery.com>
5489
5490 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5491 "localeinfo.h".
5492 (obstack_chunk_alloc): New macro.
5493 (obstack_chunk_free): Likewise.
5494 (record_offset): New function.
5495 (init_locale_data): Likewise.
5496 (align_locale_data): Likewise.
5497 (add_locale_empty): Likewise.
5498 (add_locale_raw_data): Likewise.
5499 (add_locale_raw_obstack): Likewise.
5500 (add_locale_string): Likewise.
5501 (add_locale_wstring): Likewise.
5502 (add_locale_uint32): Likewise.
5503 (add_locale_uint32_array): Likewise.
5504 (add_locale_char): Likewise.
5505 (start_locale_structure): Likewise.
5506 (end_locale_structure): Likewise.
5507 (start_locale_prelude): Likewise.
5508 (end_locale_prelude): Likewise.
5509 (write_locale_data): Take locale_file structure rather than an
5510 iovec.
5511 * locale/programs/locfile.h: Include "obstack.h".
5512 (struct locale_file): Change to store locale file contents instead
5513 of header.
5514 (init_locale_data): New prototype.
5515 (align_locale_data): Likewise.
5516 (add_locale_empty): Likewise.
5517 (add_locale_raw_data): Likewise.
5518 (add_locale_raw_obstack): Likewise.
5519 (add_locale_string): Likewise.
5520 (add_locale_wstring): Likewise.
5521 (add_locale_uint32): Likewise.
5522 (add_locale_uint32_array): Likewise.
5523 (add_locale_char): Likewise.
5524 (start_locale_structure): Likewise.
5525 (end_locale_structure): Likewise.
5526 (start_locale_prelude): Likewise.
5527 (end_locale_prelude): Likewise.
5528 (write_locale_data): Update prototype.
5529 * locale/programs/3level.h (struct TABLE): Remove result field.
5530 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5531 Use new locale_file interface.
5532 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5533 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5534 * locale/programs/ld-address.c (address_output): Use new
5535 locale_file interface.
5536 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5537 NO_ADD_LOCALE.
5538 (collate_finish): Don't call collseq_table_finalize.
5539 (collate_output): Use new locale_file interface.
5540 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5541 in file.
5542 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5543 (TABLE): Move defines earlier in file.
5544 (ELEMENT): Likewise.
5545 (DEFAULT): Likewise.
5546 (wctrans_table_add): Move macro and inline function earlier in
5547 file.
5548 (struct wctype_table): Move type earlier in file.
5549 (add_locale_wctype_table): New static prototype.
5550 (struct locale_ctype_t): Use logical types instead of struct iovec
5551 pointers for members.
5552 (ctype_output): Use new locale_file interface.
5553 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5554 new locale_file interface.
5555 (allocate_arrays): Update for use of new locale_file interface.
5556 * locale/programs/ld-identification.c (identification_output): Use
5557 new locale_file interface.
5558 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5559 * locale/programs/ld-messages.c (messages_output): Likewise.
5560 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5561 * locale/programs/ld-name.c (name_output): Likewise.
5562 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5563 * locale/programs/ld-paper.c (paper_output): Likewise.
5564 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5565 * locale/programs/ld-time.c (time_output): Likewise.
5566
5567 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5568
5569 * benchtests/Makefile: Add memrchr benchmark.
5570 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5571 benchmark as memrchr.
5572 * benchtests/bench-memrchr-ifunc.c: New file.
5573 * benchtests/bench-memrchr.c: New file.
5574
5575 2013-09-06 Will Newton <will.newton@linaro.org>
5576
5577 * benchtests/Makefile (string-bench): Add memcpy.
5578
5579 2013-09-05 Carlos O'Donell <carlos@redhat.com>
5580 Cong Wang <amwang@redhat.com>
5581
5582 * sysdeps/unix/sysv/linux/bits/in.h
5583 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5584 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5585 before __USE_KERNEL_IPV6_DEFS uses.
5586 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5587 IPPROTO_BEETPH.
5588 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5589 sockaddr_in6, or ipv6_mreq.
5590
5591 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5592
5593 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5594 memory access for final bytes in some large inputs.
5595 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5596
5597 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5598
5599 * string/test-memrchr.c: New file.
5600 * string/test-memrchr-ifunc.c: New file.
5601 * string/Makefile: Add new memrchr testcase.
5602
5603 2013-09-05 Mike Frysinger <vapier@gentoo.org>
5604
5605 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5606 fanotify_init returns EPERM.
5607
5608 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5609
5610 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5611 errors.
5612 (top level): Treat second token from macro or constant entries for
5613 allowed headers as allowed.
5614 * include/complex.h: Condition internal declarations on
5615 [!_ISOMAC].
5616 * include/fenv.h: Condition include of <stdbool.h> and internal
5617 declarations on [!_ISOMAC].
5618
5619 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5620
5621 [BZ #15923]
5622 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5623
5624 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5625
5626 * configure.in (--enable-versioning): Remove configure option.
5627 (libc_cv_asm_symver_directive): Remove configure test.
5628 (libc_cv_ld_version_script_option): Likewise.
5629 (VERSIONING): Remove variable and AC_SUBST.
5630 (DO_VERSIONING): Remove AC_DEFINE.
5631 * configure: Regenerated.
5632 * config.h.in (DO_VERSIONING): Remove macro.
5633 * Makerules [$(versioning) = yes]: Change conditionals to
5634 [$(build-shared) = yes].
5635 * config.make.in (versioning): Remove variable.
5636 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5637 [$(build-shared) = yes].
5638 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5639 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5640 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5641 [$(build-shared) = yes].
5642 * extra-lib.mk [$(versioning) = yes]: Likewise.
5643 * hurd/Makefile [$(versioning) = yes]: Likewise.
5644 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5645 [SHARED].
5646 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5647 [SHARED].
5648 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5649 [SHARED && !NO_HIDDEN].
5650 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5651 [SHARED].
5652 [SHARED && DO_VERSIONING]: Likewise..
5653 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5654 [$(build-shared) = yes].
5655 * manual/install.texi (--disable-versioning): Remove
5656 documentation.
5657 * INSTALL: Regenerated.
5658 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5659 to [SHARED].
5660 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5661 [$(build-shared) = yes].
5662 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5663 * sysdeps/i386/i686/multiarch/strstr-c.c
5664 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5665 [SHARED && !NO_HIDDEN].
5666 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5667 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5668 * sysdeps/powerpc/powerpc32/dl-machine.c
5669 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5670 * sysdeps/powerpc/powerpc32/sysdep.h
5671 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5672 to [SHARED && PIC && !NO_HIDDEN].
5673 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5674 conditional to [SHARED].
5675
5676 2013-09-04 Will Newton <will.newton@linaro.org>
5677
5678 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5679 * benchtests/bench-string.h: Include bench-timing.h instead
5680 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5681 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5682 call to HP_TIMING_DIFF_INIT.
5683 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5684 instead of hp-timing.h macros.
5685 * benchtests/bench-memchr.c: Likewise.
5686 * benchtests/bench-memcmp.c: Likewise.
5687 * benchtests/bench-memcpy.c: Likewise.
5688 * benchtests/bench-memmem.c: Likewise.
5689 * benchtests/bench-memmove.c: Likewise.
5690 * benchtests/bench-memset.c: Likewise.
5691 * benchtests/bench-rawmemchr.c: Likewise.
5692 * benchtests/bench-strcasecmp.c: Likewise.
5693 * benchtests/bench-strcasestr.c: Likewise.
5694 * benchtests/bench-strcat.c: Likewise.
5695 * benchtests/bench-strchr.c: Likewise.
5696 * benchtests/bench-strcmp.c: Likewise.
5697 * benchtests/bench-strcpy.c: Likewise.
5698 * benchtests/bench-strcpy_chk.c: Likewise.
5699 * benchtests/bench-strlen.c: Likewise.
5700 * benchtests/bench-strncasecmp.c: Likewise.
5701 * benchtests/bench-strncat.c: Likewise.
5702 * benchtests/bench-strncmp.c: Likewise.
5703 * benchtests/bench-strncpy.c: Likewise.
5704 * benchtests/bench-strnlen.c: Likewise.
5705 * benchtests/bench-strpbrk.c: Likewise.
5706 * benchtests/bench-strrchr.c: Likewise.
5707 * benchtests/bench-strspn.c: Likewise.
5708 * benchtests/bench-strstr.c: Likewise.
5709
5710 2013-09-04 Will Newton <will.newton@linaro.org>
5711
5712 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5713
5714 2013-09-03 Joseph Myers <joseph@codesourcery.com>
5715
5716 [BZ #15427]
5717 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5718 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5719 * math/libm-test.inc (lgamma_test_data): Add more tests.
5720 * sysdeps/i386/fpu/libm-test-ulps: Update.
5721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5722
5723 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
5724
5725 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5726 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5727 Add ifunc.
5728 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5729 Add strcmp-sse2-unaligned
5730 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5731
5732 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5733
5734 * Versions.def (libc): Add GLIBC_2.19.
5735
5736 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5737
5738 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5739 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5740
5741 2013-09-02 Joseph Myers <joseph@codesourcery.com>
5742
5743 [BZ #14155]
5744 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5745 intermediate calculations in recurrence.
5746 (__ieee754_ynf): Likewise.
5747 * math/libm-test.inc (jn_test_data): Do not allow spurious
5748 underflow exception. Add more tests.
5749 (yn_test_data): Add more tests.
5750 * sysdeps/i386/fpu/libm-test-ulps: Update.
5751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5752
5753 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
5754
5755 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5756
5757 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5758
5759 * csu/init-first.c: Fix then/than typos.
5760 * locale/programs/ld-collate.c: Likewise.
5761 * locale/programs/linereader.h: Likewise.
5762 * manual/charset.texi: Likewise.
5763 * manual/filesys.texi: Likewise.
5764 * manual/stdio.texi: Likewise.
5765 * manual/string.texi: Likewise.
5766 * stdlib/fmtmsg.c: Likewise.
5767 * sysdeps/i386/stpncpy.S: Likewise.
5768 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5769 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5770 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5771 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5772
5773 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5774
5775 * elf/dl-open.c: Fix typos.
5776 * iconvdata/gbbig5.c: Likewise.
5777 * iconvdata/iso-2022-jp.c: Likewise.
5778 * iconv/gconv_int.h: Likewise.
5779 * iconv/loop.c: Likewise.
5780 * nis/rpcsvc/nis.h: Likewise.
5781 * resolv/ns_name.c: Likewise.
5782 * stdio-common/vfscanf.c: Likewise.
5783 * streams/stropts.h: Likewise.
5784 * sunrpc/rpc_thread.c: Likewise.
5785 * sysdeps/i386/strpbrk.S: Likewise.
5786 * sysdeps/ieee754/k_standard.c: Likewise.
5787 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5788 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5789 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5790 * sysdeps/mach/hurd/profil.c: Likewise.
5791 * sysdeps/s390/dl-procinfo.h: Likewise.
5792 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5793 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5794 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5795 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5796 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5797
5798 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5799
5800 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5801 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5802
5803 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5804
5805 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5806 aix specific files.
5807 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5808 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5809 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5810 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5811 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5812 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5813 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5814 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5815
5816 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5817 Roland McGrath <roland@hack.frob.com>
5818
5819 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5820 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5821
5822 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5823
5824 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5825 __executable_start symbol instead of _start.
5826
5827 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5828
5829 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5830 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5831 Move macros to...
5832 * sysdeps/gnu/ldsodefs.h: ... this new file.
5833
5834 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5835 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5836 instead of ELFOSABI_LINUX.
5837
5838 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5839 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5840 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5841 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5842 Likewise.
5843 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5844 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5845 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5846 Likewise.
5847 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5848 (ibm_extended_long_double): Add ieee_nan member.
5849 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5850 (do_test): New function.
5851
5852 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5853 TEST_TRUNC.
5854 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5855 functions, renamed from truncdfsf_test, trunctfsf_test,
5856 trunctfdf_test.
5857 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5858 functions.
5859 (do_test): Run all these.
5860
5861 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5862
5863 * argp/argp-help.c: Fix typos.
5864 * argp/argp-parse.c: Likewise.
5865 * debug/backtracesyms.c: Likewise.
5866 * elf/elf.h: Likewise.
5867 * malloc/malloc.c: Likewise.
5868 * nis/nis_print.c: Likewise.
5869 * resolv/res_comp.c: Likewise.
5870 * stdlib/stdlib.h: Likewise.
5871 * sunrpc/clnt_tcp.c: Likewise.
5872 * sunrpc/clnt_udp.c: Likewise.
5873 * sunrpc/clnt_unix.c: Likewise.
5874 * sysdeps/unix/bsd/ptsname.c: Likewise.
5875 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5876 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5878 Likewise.
5879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5880 Likewise.
5881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5882 Likewise.
5883 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5884
5885 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5886
5887 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5888 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5889
5890 2013-08-27 Mike Frysinger <vapier@gentoo.org>
5891
5892 [BZ #15897]
5893 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5894 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5895 ($(objpfx)bug-dl-leaf): New rule.
5896 ($(objpfx)bug-dl-leaf.so): Likewise.
5897 ($(objpfx)bug-dl-leaf.out): Likewise.
5898 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5899 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5900 * dlfcn/bug-dl-leaf.c: New test.
5901 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5902 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5903 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5904 (dlclose): Likewise.
5905 (dlmopen): Likewise.
5906
5907 2013-08-27 Roland McGrath <roland@hack.frob.com>
5908
5909 * include/netdb.h [!_ISOMAC]:
5910 Don't include <tls.h>.
5911 (h_errno, __libc_h_errno): Move declaration and macros out of
5912 [_LIBC_REENTRANT].
5913
5914 * include/resolv.h [_RESOLV_H_]:
5915 Don't include <tls.h>.
5916 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5917 * resolv/res_libc.c: Don't include <tls.h>.
5918 (_res): Use __attribute__ ((nocommon)) in place of
5919 __attribute__ ((section (".bss"))).
5920
5921 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5922 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5923
5924 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5925
5926 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5927 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5928
5929 * resolv/res_mkquery.c: Include <sys/time.h>.
5930
5931 * inet/ifreq.c: Moved to ...
5932 * sysdeps/unix/ifreq.c: ... here.
5933 * inet/ifreq.c: New file, true stub version.
5934
5935 * socket/sa_len.c: New file.
5936 * socket/Makefile (aux): Add it.
5937 * sysdeps/unix/sysv/linux/Makefile
5938 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5939 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5940 and #include <socket/sa_len.c>.
5941 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5942 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5943
5944 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5945 * bits/socket.h: ... here.
5946
5947 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5948 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5949 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5950
5951 2013-08-27 Andreas Schwab <schwab@suse.de>
5952
5953 [BZ #15736]
5954 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5955 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5956 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5957 * string/test-strcasecmp.c (test_main): Run tests in several
5958 locales.
5959 * string/test-strncasecmp.c (test_main): Likewise.
5960
5961 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5962 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5963 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5964 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5965 (__strncasecmp_ssse3) [PIC]: Likewise.
5966
5967 2013-08-26 Roland McGrath <roland@hack.frob.com>
5968
5969 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5970
5971 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5972 instead of explicitly declaring xdecrypt.
5973 * nis/nss_nis/nis-publickey.c: Likewise.
5974
5975 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5976
5977 [BZ #15890]
5978 * nscd/aicache.c: Include res_hconf.h.
5979 (addhstaiX): Initialize res_hconf.
5980
5981 2013-08-26 Andreas Schwab <schwab@suse.de>
5982
5983 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5984 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5985
5986 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5987
5988 * nscd/aicache.c (addhstaiX): Fix indentation.
5989
5990 2013-08-25 Mike Frysinger <vapier@gentoo.org>
5991
5992 * configure.ac: Quote $build_pt_chown test.
5993 * configure: Regenerated.
5994
5995 2013-08-23 Joseph Myers <joseph@codesourcery.com>
5996
5997 [BZ #15532]
5998 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5999 * math/s_cexpf.c (__cexpf): Likewise.
6000 * math/s_cexpl.c (__cexpl): Likewise.
6001 * math/libm-test.inc (cexp_test_data): Correct expected return
6002 value for NaN + i0. Add another test.
6003
6004 2013-08-22 David S. Miller <davem@davemloft.net>
6005
6006 * po/ca.po: Update Catalan translation from translation project.
6007 * po/uk.po: Add Ukrainian translations from translation project.
6008
6009 2013-08-21 Joseph Myers <joseph@codesourcery.com>
6010
6011 [BZ #15797]
6012 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6013 is infinite, not alongside NaN test.
6014 * math/s_fdimf.c (__fdimf): Likewise.
6015 * math/s_fdiml.c (__fdiml): Likewise.
6016 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6017 errno is unchanged.
6018
6019 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
6020
6021 * argp/argp-help.c: Fix typos.
6022 * crypt/speeds.c: Likewise.
6023 * csu/check_fds.c: Likewise.
6024 * elf/dl-load.c: Likewise.
6025 * elf/dl-open.c: Likewise.
6026 * elf/reldep3.c: Likewise.
6027 * elf/reldep.c: Likewise.
6028 * elf/sprof.c: Likewise.
6029 * iconv/iconv_charmap.c: Likewise.
6030 * iconv/skeleton.c: Likewise.
6031 * iconv/strtab.c: Likewise.
6032 * io/lockf64.c: Likewise.
6033 * libio/libioP.h: Likewise.
6034 * resolv/gai_notify.c: Likewise.
6035 * resolv/ns_name.c: Likewise.
6036 * resolv/ns_samedomain.c: Likewise.
6037 * resolv/res_send.c: Likewise.
6038 * stdlib/random.c: Likewise.
6039 * sunrpc/rpc/xdr.h: Likewise.
6040 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6041 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6042 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6043 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6044 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6045 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6046 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6047 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6048 * sysdeps/mach/hurd/check_fds.c: Likewise.
6049 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6050 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6051 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6052 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6053 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6054 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6055 * sysdeps/pthread/aio_notify.c: Likewise.
6056 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6057 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6058 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6059 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6060 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6061
6062 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6063
6064 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6065 version if bit_Slow_SSE4_2 is set.
6066 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6067 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6068
6069 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6070
6071 [BZ #15867]
6072 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6073 trampoline stack frame information.
6074 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6075 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6076 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6077 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6078 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6079 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6080 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6081 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6082 sa_flags value.
6083 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6084 interrupting a syscall and set with option SA_SIGINFO.
6085
6086 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6087
6088 [BZ #15531]
6089 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6090 argument is infinite.
6091 * math/s_cprojf.c (__cprojf): Likewise.
6092 * math/s_cprojl.c (__cprojl): Likewise.
6093 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6094 * math/libm-test.inc (cproj_test_data): Add more tests.
6095
6096 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6097
6098 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6099 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6100 size. Use __ffs to determine corresponding shift.
6101
6102 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6103 Roland McGrath <roland@hack.frob.com>
6104
6105 * Makefile (INSTALL): Remove trailing blank lines from output of
6106 makeinfo.
6107
6108 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6109
6110 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6111 Align 32 bit compat elf_greg to 8 bytes.
6112
6113 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6114
6115 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6116
6117 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6118
6119 * string/strcoll_l.c (coll_seq): New structure.
6120 (get_next_seq_cached): New function.
6121 (get_next_seq): New function.
6122 (do_compare): New function.
6123 (STRCOLL): Use GNU style definition. Simplify implementation
6124 by using get_next_seq, get_next_seq_cached and do_compare.
6125
6126 2013-08-16 Florian Weimer <fweimer@redhat.com>
6127
6128 [BZ #14699]
6129 CVE-2013-4237
6130 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6131 member.
6132 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6133 member.
6134 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6135 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6136 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6137 conditional.
6138 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6139 GETDENTS_64BIT_ALIGNED.
6140 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6141 * manual/filesys.texi (Reading/Closing Directory): Document
6142 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6143 strongly.
6144 * manual/conf.texi (Limits for Files): Add portability note to
6145 NAME_MAX, PATH_MAX.
6146 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6147
6148 2013-08-13 Andreas Schwab <schwab@suse.de>
6149
6150 [BZ #15749]
6151 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6152 of fabs.
6153 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6154 LDBL_MAX_EXP >= 16384]: Add tests for it.
6155
6156 2013-08-12 David S. Miller <davem@davemloft.net>
6157
6158 * version.h (RELEASE): Set to "development".
6159 (VERSION): Set to "2.18.90".
6160 * NEWS: Add 2.19 section.
6161
6162 2013-08-03 David S. Miller <davem@davemloft.net>
6163
6164 * po/ko.po: Update Korean translation from translation project.
6165
6166 2013-08-01 David S. Miller <davem@davemloft.net>
6167
6168 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6169 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6170 Bilka.
6171
6172 2013-07-30 David S. Miller <davem@davemloft.net>
6173
6174 * po/fr.po: Update French translation from translation project.
6175
6176 2013-07-28 David S. Miller <davem@davemloft.net>
6177
6178 * po/cs.po: Update Czech translation from translation project.
6179
6180 * po/sv.po: Update Swedish translation from translation project.
6181
6182 2013-07-27 David S. Miller <davem@davemloft.net>
6183
6184 * po/eo.po: Update Esperanto translation from translation project.
6185
6186 * po/vi.po: Update Vietnamese translation from translation project.
6187
6188 * po/de.po: Update German translation from translation project.
6189
6190 2013-07-26 David S. Miller <davem@davemloft.net>
6191
6192 * po/bg.po: Update Bulgarian translation from translation project.
6193
6194 * po/nl.po: Update Dutch translation from translation project.
6195 * po/pl.po: Update Polish translation from translation project.
6196 * po/ru.po: Update Russian translation from translation project.
6197
6198 2013-07-24 David S. Miller <davem@davemloft.net>
6199
6200 * po/libc.pot: Update.
6201
6202 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6203
6204 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6205 variable page size.
6206 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6207 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6208 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6209
6210 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6211
6212 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6213
6214 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6215 Andreas Schwab <schwab@suse.de>
6216 Roland McGrath <roland@hack.frob.com>
6217 Joseph Myers <joseph@codesourcery.com>
6218 Carlos O'Donell <carlos@redhat.com>
6219
6220 [BZ #15755]
6221 * config.h.in: Define HAVE_PT_CHOWN.
6222 * config.make.in (build-pt-chown): New variable.
6223 * configure.in (--enable-pt_chown): New configure option.
6224 * configure: Regenerate.
6225 * login/Makefile: Include Makeconfig. Build pt_chown only if
6226 build-pt-chown is enabled.
6227 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6228 pt_chown to fix pty ownership.
6229 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6230 CLOSE_ALL_FDS.
6231 * manual/install.texi (Configuring and compiling): Mention
6232 --enable-pt_chown. Add @findex for grantpt.
6233 * INSTALL: Regenerate.
6234
6235 2013-07-20 David S. Miller <davem@davemloft.net>
6236
6237 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6238 difference between 32-bit and 64-bit.
6239
6240 2013-07-15 Carlos O'Donell <carlos@redhat.com>
6241
6242 [BZ #15711]
6243 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6244 Avoid system header dependency with -ffreestanding.
6245 ($(objpfx)bits/syscall%d): Likewise.
6246
6247 2013-07-13 David S. Miller <davem@davemloft.net>
6248
6249 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6250 underflows from atanl/atan2l due to bug 15319.
6251 (casinh_test_data): Likewise.
6252
6253 2013-07-07 David S. Miller <davem@davemloft.net>
6254
6255 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6256
6257 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6258
6259 * sysdeps/i386/fpu/libm-test-ulps: Update.
6260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6261
6262 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6263
6264 * configure.in (--enable-lock-elision): Fix message text.
6265 * INSTALL: Regenerate.
6266 * configure: Regenerate.
6267
6268 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6269
6270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6271
6272 2013-07-03 Andreas Jaeger <aj@suse.de>
6273
6274 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6275 define.
6276 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6277 (ptrace_peeksiginfo_args): Add.
6278 (__ptrace_peeksiginfo_flags): Add.
6279 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6280 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6281 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6282
6283 2013-07-03 Allan McRae <allan@archlinux.org>
6284
6285 * sysdeps/i386/fpu/libm-test-ulps: Update.
6286
6287 2013-07-02 David S. Miller <davem@davemloft.net>
6288
6289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6290
6291 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6292
6293 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6294
6295 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6296
6297 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6299
6300 2013-07-02 Andi Kleen <ak@linux.intel.com>
6301
6302 * config.h.in (ENABLE_LOCK_ELISION): Add.
6303 * configure.in (--enable-lock-elision): Add option.
6304 * manual/install.texi: Document --enable lock elision.
6305 * configure: Regenerate
6306 * INSTALL: Regenerate.
6307
6308 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6309
6310 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6311 SSE4.2 strcasecmp for libc.a.
6312 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6313
6314 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6315
6316 [BZ #13304]
6317 * soft-fp/op-common.h (_FP_FMA): New macro.
6318 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6319 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6320 (_FP_MUL_MEAT_1_imm): ... here.
6321 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6322 (_FP_MUL_MEAT_1_wide): ... here.
6323 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6324 (_FP_MUL_MEAT_1_hard): ... here.
6325 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6326 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6327 (_FP_MUL_MEAT_2_wide): ... here.
6328 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6329 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6330 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6331 (_FP_MUL_MEAT_2_gmp): ... here.
6332 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6333 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6334 (_FP_MUL_MEAT_4_wide): ... here.
6335 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6336 (_FP_MUL_MEAT_4_gmp): ... here.
6337 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6338 (_FP_WFRACBITS_DW_S): Likewise.
6339 (_FP_WFRACXBITS_DW_S): Likewise.
6340 (_FP_HIGHBIT_DW_S): Likewise.
6341 (FP_FMA_S): Likewise.
6342 (_FP_FRAC_HIGH_DW_S): Likewise.
6343 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6344 (_FP_WFRACBITS_DW_D): Likewise.
6345 (_FP_WFRACXBITS_DW_D): Likewise.
6346 (_FP_HIGHBIT_DW_D): Likewise.
6347 (FP_FMA_D): Likewise.
6348 (_FP_FRAC_HIGH_DW_D): Likewise.
6349 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6350 (_FP_WFRACBITS_DW_E): Likewise.
6351 (_FP_WFRACXBITS_DW_E): Likewise.
6352 (_FP_HIGHBIT_DW_E): Likewise.
6353 (FP_FMA_E): Likewise.
6354 (_FP_FRAC_HIGH_DW_E): Likewise.
6355 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6356 (_FP_WFRACBITS_DW_Q): Likewise.
6357 (_FP_WFRACXBITS_DW_Q): Likewise.
6358 (_FP_HIGHBIT_DW_Q): Likewise.
6359 (FP_FMA_Q): Likewise.
6360 (_FP_FRAC_HIGH_DW_Q): Likewise.
6361 * soft-fp/fmasf4.c: New file.
6362 * soft-fp/fmadf4.c: Likewise.
6363 * soft-fp/fmatf4.c: Likewise.
6364
6365 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6366
6367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6368 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6369 Silvermont.
6370 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6371 macro.
6372 (index_Slow_SSE4_2): Likewise.
6373 (index_Prefer_PMINUB_for_stringop): Likewise.
6374 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6375 bit_Slow_SSE4_2 is set.
6376 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6377 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6378
6379 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6380
6381 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6382 rtld_global._dl_hwcap2.
6383 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6384 POWER8.
6385 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6386 POWER8 feature descriptions defined in _dl_hwcap2.
6387 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6388 string handling for POWER8 feature bits.
6389 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6390 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6391 _dl_powerpc_cap_flags.
6392 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6393 * sysdeps/powerpc/rtld-global-offsets.sym
6394 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6395 _dl_hwcap2 in the rtld_global_ro structure.
6396
6397 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6398
6399 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6400 hardware capabilities in support of AT_HWCAP2.
6401 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6402 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6403 GLRO(dl_hwcap2).
6404 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6405 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6406 explicitly the unknown a_type display mechanism is used.
6407 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6408 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6409 struct member.
6410 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6411 to macro prototype for AT_HWCAP2 support.
6412 * sysdeps/i386/dl-procinfo.h: Likewise.
6413 * sysdeps/s390/dl-procinfo.h: Likewise.
6414 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6415 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6416 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6417 return -1 for unknown a_type display fallback.
6418 * sysdeps/sparc/dl-procinfo.h: Likewise.
6419 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6420 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6421
6422 2013-06-28 Joseph Myers <joseph@codesourcery.com>
6423
6424 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6425 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6426
6427 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6428
6429 [BZ #12492]
6430 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6431 mprotect making __stack_prot writable.
6432
6433 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6434 Joseph Myers <joseph@codesourcery.com>
6435
6436 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6437 as being properly aligned.
6438
6439 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6440
6441 * dlfcn/modstatic5.c: New file.
6442 * dlfcn/tststatic5.c: New file.
6443 * dlfcn/Makefile (tests): Add tststatic5.
6444 (tests-static): Likewise.
6445 (modules-names): Add modstatic5.
6446 (tststatic5-ENV): New variable.
6447 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6448
6449 [BZ #15022]
6450 * elf/dl-support.c (_dl_main_map): New variable.
6451 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6452 (_dl_nns, _dl_load_adds): Set to 1.
6453 (_dl_initial_searchlist): Refer to _dl_main_map.
6454 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6455 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6456 call to _dl_get_origin.
6457 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6458 around call_map.
6459 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6460 * dlfcn/modstatic3.c: New file.
6461 * dlfcn/tststatic3.c: New file.
6462 * dlfcn/tststatic4.c: New file.
6463 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6464 (tests-static): Likewise.
6465 (modules-names): Add modstatic3.
6466 (tststatic3-ENV, tststatic4-ENV): New variables.
6467 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6468 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6469
6470 2013-06-26 Joseph Myers <joseph@codesourcery.com>
6471
6472 * configure.in (CC): Require GCC version 4.4 or later.
6473 * configure: Regenerated.
6474 * manual/install.texi (Tools for Compilation): Update GCC version
6475 requirement.
6476 * INSTALL: Regenerated.
6477
6478 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6479
6480 [BZ #15674]
6481 * string/test-memcmp.c (check2): New.
6482 (main): Call check2.
6483
6484 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6485
6486 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6487
6488 [BZ #15022]
6489 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6490 over to...
6491 (dl_open_worker) [!SHARED]: ... here.
6492
6493 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6494
6495 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6496
6497 2013-06-25 Richard Henderson <rth@redhat.com>
6498
6499 * locale/programs/locarchive.c: Include <libc-internal.h>
6500
6501 2013-06-25 Joseph Myers <joseph@codesourcery.com>
6502
6503 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6504 trailing whitespace removed.
6505
6506 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6507
6508 [BZ #10283]
6509 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6510 * locale/programs/locarchive.c: Include libc-mmap.h.
6511 (prepare_address_space): Take two new outputs (the mmap base and len).
6512 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6513 values.
6514 (create_archive): Declare new mmap base and len values for
6515 prepare_address_space, and store the result in ah.
6516 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6517 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6518 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6519 Declare new mmap base and len values for
6520 prepare_address_space, and store the result in new_ah.
6521 (open_archive): Declare new mmap base and len values for
6522 prepare_address_space, and store the result in ah.
6523 (close_archive): If ah->mmap_base is not NULL, use that and
6524 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6525 * sysdeps/generic/libc-mmap.h: New file.
6526
6527 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6528
6529 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6530 (ALIGN_UP): Likewise.
6531 (PTR_ALIGN_DOWN): Likewise.
6532 (PTR_ALIGN_UP): Likewise.
6533
6534 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6535
6536 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6537 entry mapped to PPC_PLATFORM_POWER8.
6538 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6539 POWER8.
6540 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6541 (_dl_string_platform): Add case for exporting platform position for
6542 POWER8.
6543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6544 search path to sysdeps/powerpc/powerpc32/power8 directory.
6545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6546 search path to sysdeps/powerpc/powerpc64/power8 directory.
6547 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6548 power7 directories.
6549 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6550 power7 directories.
6551
6552 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6553
6554 * INSTALL: Regenerate.
6555
6556 * nscd/connections.c (nscd_init): Fix comment.
6557
6558 2013-06-22 Joseph Myers <joseph@codesourcery.com>
6559
6560 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6561
6562 [BZ #15667]
6563 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6564 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6565
6566 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6567
6568 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6569 DL_DST_REQ_STATIC.
6570 (DL_DST_REQ_STATIC): Remove macro.
6571
6572 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6573
6574 [BZ #7006]
6575 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6576 with a shift of 0 bits.
6577
6578 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6579
6580 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6581 $(tststatic-ENV).
6582
6583 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6584
6585 [BZ #15655]
6586 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6587
6588 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6589
6590 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6591 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6592 accepts -fno-tree-loop-distribute-patterns.
6593 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6594 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6595 recursive call.
6596 * string/memset.c (memset): Likewise.
6597 * string/test-memmove.c (simple_memmove): Disable loop transformation
6598 to library calls.
6599 * string/test-memset.c (simple_memset): Likewise.
6600 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6601 * benchtests/bench-memset.c (simple_memset): Likewise.
6602 * configure: Regenerated.
6603
6604 2013-06-20 Joseph Myers <joseph@codesourcery.com>
6605
6606 * math/test-misc.c (main): Ignore fesetround failure when failures
6607 of subsequent rounding tests would be ignored.
6608
6609 [BZ #15654]
6610 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6611 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6612 * math/fegetenv.c (__fegetenv): Return 0.
6613 * math/fegetexcept.c (fegetexcept): Return 0.
6614 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6615 FE_TONEAREST.
6616 * math/feholdexcpt.c (feholdexcept): Return 0.
6617 * math/fesetenv.c (__fesetenv): Return 0.
6618 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6619 argument FE_TONEAREST.
6620 * math/feupdateenv.c (__feupdateenv): Return 0.
6621 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6622
6623 2013-06-18 Roland McGrath <roland@hack.frob.com>
6624
6625 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6626 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6627 ($(objpfx)rtld-%.os rules): Use them.
6628
6629 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6630
6631 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6632 fields.
6633
6634 2013-06-17 Roland McGrath <roland@hack.frob.com>
6635
6636 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6637 length of target pattern, then descending length of dependency pattern.
6638 * configure.in (AWK): Require gawk 3.1.2 or newer.
6639 * manual/install.texi (Tools for Compilation): Say that we do.
6640 * configure: Regenerated.
6641
6642 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6643 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6644 * scripts/sysd-rules.awk: ... this new script.
6645 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6646 than a glob-style pattern.
6647
6648 2013-06-17 Joseph Myers <joseph@codesourcery.com>
6649
6650 * math/test-misc.c (main): Do not treat incorrectly rounded
6651 conversions as failure unless ROUNDING_TESTS passes.
6652
6653 2013-06-15 Joseph Myers <joseph@codesourcery.com>
6654
6655 [BZ #15631]
6656 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6657 restore exception state around main square root computation, then
6658 check for inexactness explicitly.
6659
6660 * math/libm-test.inc (fma_test_data): Add another test.
6661
6662 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6663
6664 * manual/threads.texi (Non-POSIX Extensions): New document
6665 node. Document pthread_getattr_default_np and
6666 pthread_setattr_default_np.
6667
6668 * Versions.def (libpthread): Add GLIBC_2.18.
6669 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6671 Likewise.
6672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6673 Likewise.
6674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6675 Likewise.
6676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6677 Likewise.
6678 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6679 Likewise.
6680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6681 Likewise.
6682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6683 Likewise.
6684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6685 Likewise.
6686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6687 Likewise.
6688
6689 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6690
6691 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6692 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6693
6694 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6695 H.J. Lu <hjl.tools@gmail.com>
6696
6697 [BZ #15627]
6698 * sysdeps/x86_64/rtld-memset.c: Remove file.
6699 * sysdeps/x86_64/rtld-memset.S: New file.
6700
6701 2013-06-14 Joseph Myers <joseph@codesourcery.com>
6702
6703 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6704 (test_in_one_mode): Take arguments for whether the rounding mode
6705 is supported for each floating-point type.
6706 (do_test): Pass new arguments to test_in_one_mode using
6707 ROUNDING_TESTS.
6708
6709 2013-06-13 Roland McGrath <roland@hack.frob.com>
6710
6711 * posix/tst-waitid.c (do_test): Distinguish different instances of
6712 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6713 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6714 before entering the kernel for waitpid.
6715
6716 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6717
6718 * NEWS: Fix note on clock function precision. Text by Roland
6719 McGrath.
6720
6721 2013-06-13 Roland McGrath <roland@hack.frob.com>
6722
6723 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6724 it into place only when and if the sanity check passes.
6725
6726 2013-06-13 Joseph Myers <joseph@codesourcery.com>
6727
6728 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6729 output for whether conversion result is exact. Take argument
6730 indicating whether type is IBM long double.
6731 (round_for_all): Change need_exact field to ibm_ld.
6732 * stdlib/tst-strtod-round.c (struct exactness): New type.
6733 (struct test): Change bool ld_ok field to struct exactness exact.
6734 (TEST): Update all definitions for change to field.
6735 (tests): Regenerate array contents.
6736 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6737 field value. Check for IBM long double here.
6738 (do_test): Update calls to test_in_one_mode.
6739
6740 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6741
6742 [BZ #12515]
6743 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6744 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6745
6746 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6747
6748 [BZ #15605]
6749 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6750 generated by the compiler on loop optimizations.
6751 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6752 general definitions.
6753
6754 2013-06-12 Joseph Myers <joseph@codesourcery.com>
6755
6756 * math/bug-nextafter.c: Include <math-tests.h>.
6757 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6758 the relevant type.
6759 * math/bug-nexttoward.c: Include <math-tests.h>.
6760 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6761 the relevant type.
6762 * math/test-misc.c: Include <math-tests.h>.
6763 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6764 the relevant type.
6765
6766 2013-06-12 Andreas Jaeger <aj@suse.de>
6767
6768 * po/ia.po: Update Interlingua translation from translation
6769 project.
6770
6771 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6772
6773 * include/fenv.h: Include stdbool.h.
6774 (struct rm_ctx): New structure.
6775 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6776 Define macro.
6777 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6778 (SET_RESTORE_ROUNDF): Likewise.
6779 (SET_RESTORE_ROUNDL): Likewise.
6780 (SET_RESTORE_ROUND_NOEX): Likewise.
6781 (SET_RESTORE_ROUND_NOEXF): Likewise.
6782 (SET_RESTORE_ROUND_NOEXL): Likewise.
6783 (SET_RESTORE_ROUND_53BIT): Likewise.
6784 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6785 (libc_feresetround_noexf_ctx): Likewise.
6786 (libc_feresetround_noexl_ctx): Likewise.
6787 (libc_feholdsetround_53bit_ctx): Likewise.
6788 (libc_feresetround_53bit_ctx): Likewise.
6789 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6790 (libc_feholdexcept_setround_sse_ctx): New function.
6791 (libc_fesetenv_sse_ctx): Likewise.
6792 (libc_feupdateenv_sse_ctx): Likewise.
6793 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6794 (libc_feholdexcept_setround_387_ctx): Likewise.
6795 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6796 (libc_feholdsetround_387_prec_ctx): Likewise.
6797 (libc_feholdsetround_387_ctx): Likewise.
6798 (libc_feholdsetround_387_53bit_ctx): Likewise.
6799 (libc_feholdsetround_sse_ctx): Likewise.
6800 (libc_feresetround_sse_ctx): Likewise.
6801 (libc_feresetround_387_ctx): Likewise.
6802 (libc_feupdateenv_387_ctx): Likewise.
6803 (libc_feholdexcept_setroundf_ctx): Define macro.
6804 (libc_fesetenvf_ctx): Likewise.
6805 (libc_feupdateenvf_ctx): Likewise.
6806 (libc_feholdsetroundf_ctx): Likewise.
6807 (libc_feresetroundf_ctx): Likewise.
6808 (libc_feholdexcept_setround_ctx): Likewise.
6809 (libc_fesetenv_ctx): Likewise.
6810 (libc_feupdateenv_ctx): Likewise.
6811 (libc_feholdsetround_ctx): Likewise.
6812 (libc_feresetround_ctx): Likewise.
6813 (libc_feholdexcept_setroundl_ctx): Likewise.
6814 (libc_feupdateenvl_ctx): Likewise.
6815 (libc_feholdsetroundl_ctx): Likewise.
6816 (libc_feresetroundl_ctx): Likewise.
6817 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6818 (libc_feresetround_53bit_ctx): Likewise.
6819
6820 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6821
6822 * locale/iso-639.def: Convert to UTF-8.
6823
6824 2013-06-11 Joseph Myers <joseph@codesourcery.com>
6825
6826 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6827 (EXCEPTION_TESTS_double): Likewise.
6828 (EXCEPTION_TESTS_long_double): Likewise.
6829 (EXCEPTION_TESTS): Likewise.
6830 * math/libm-test.inc (test_exceptions): Only test exceptions if
6831 EXCEPTION_TESTS (FLOAT).
6832
6833 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6834
6835 * benchtests/Makefile (string-bench): Add strcpy_chk and
6836 stpcpy_chk.
6837 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6838 * benchtests/bench-stpcpy_chk.c: New file.
6839 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6840 * benchtests/bench-strcpy_chk.c: New file.
6841 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6842 code.
6843 (do_test): Likewise.
6844
6845 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6846
6847 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6848 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6849 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6850 with tabs where appropriate.
6851 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6852 dl-procinfo.h.
6853 [PPC_PLATFORM_PPC440]: Likewise.
6854 [PPC_PLATFORM_PPC464]: Likewise.
6855 [PPC_PLATFORM_PPC476]: Likewise.
6856 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6857 ppc464, and ppc476 platform strings merging from ports/
6858 dl-procinfo.h.
6859
6860 2013-06-11 Andreas Schwab <schwab@suse.de>
6861
6862 [BZ #14991]
6863 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6864 (from_ucs4_idx): Regenerate.
6865 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6866 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6867 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6868 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6869 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6870 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6871 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6872 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6873 from FROM_LOOP and TO_LOOP specific macros.
6874 (BODY): Handle combining characters.
6875 * iconvdata/BIG5HKSCS.irreversible: Update.
6876 * iconvdata/BIG5HKSCS.precomposed: New file.
6877 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6878 characters.
6879 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6880
6881 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6882
6883 * include/sys/time.h: Fix indentation and add copyright header.
6884
6885 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6886 (do_test): Likewise.
6887 * string/test-memchr.c (do_one_test): Likewise.
6888 (do_test): Likewise.
6889 * string/test-memcmp.c (do_one_test): Likewise.
6890 (do_test): Likewise.
6891 * string/test-memcpy.c (do_one_test): Likewise.
6892 (do_test): Likewise.
6893 * string/test-memmem.c (do_one_test): Likewise.
6894 (do_test): Likewise.
6895 (do_random_tests): Likewise.
6896 * string/test-memmove.c (do_one_test): Likewise.
6897 (do_test): Likewise.
6898 * string/test-memset.c (do_one_test): Likewise.
6899 (do_test): Likewise.
6900 * string/test-rawmemchr.c (do_one_test): Likewise.
6901 (do_test): Likewise.
6902 * string/test-strcasecmp.c (do_one_test): Likewise.
6903 (do_test): Likewise.
6904 * string/test-strcasestr.c (do_one_test): Likewise.
6905 (do_test): Likewise.
6906 * string/test-strcat.c (do_one_test): Likewise.
6907 (do_test): Likewise.
6908 * string/test-strchr.c (do_one_test): Likewise.
6909 (do_test): Likewise.
6910 * string/test-strcmp.c (do_one_test): Likewise.
6911 (do_test): Likewise.
6912 * string/test-strcpy.c (do_one_test): Likewise.
6913 (do_test): Likewise.
6914 * string/test-string.h: Likewise.
6915 (test_init): Likewise.
6916 * string/test-strlen.c (do_one_test): Likewise.
6917 (do_test): Likewise.
6918 * string/test-strncasecmp.c (do_one_test): Likewise.
6919 (do_test): Likewise.
6920 * string/test-strncat.c (do_one_test): Likewise.
6921 (do_test): Likewise.
6922 * string/test-strncmp.c (do_one_test): Likewise.
6923 (do_test_limit): Likewise.
6924 (do_test): Likewise.
6925 * string/test-strncpy.c (do_one_test): Likewise.
6926 (do_test): Likewise.
6927 * string/test-strnlen.c (do_one_test): Likewise.
6928 (do_test): Likewise.
6929 * string/test-strpbrk.c (do_one_test): Likewise.
6930 (do_test): Likewise.
6931 * string/test-strrchr.c (do_one_test): Likewise.
6932 (do_test): Likewise.
6933 * string/test-strspn.c (do_one_test): Likewise.
6934 (do_test): Likewise.
6935 * string/test-strstr.c (do_one_test): Likewise.
6936 (do_test): Likewise.
6937
6938 * benchtests/Makefile (string-bench): Add string benchmarks.
6939 * benchtests/bench-bcopy-ifunc.c: New file.
6940 * benchtests/bench-bcopy.c: New file.
6941 * benchtests/bench-bzero-ifunc.c: New file.
6942 * benchtests/bench-bzero.c: New file.
6943 * benchtests/bench-memccpy-ifunc.c: New file.
6944 * benchtests/bench-memccpy.c: New file.
6945 * benchtests/bench-memchr-ifunc.c: New file.
6946 * benchtests/bench-memchr.c: New file.
6947 * benchtests/bench-memcmp-ifunc.c: New file.
6948 * benchtests/bench-memcmp.c: New file.
6949 * benchtests/bench-memmem-ifunc.c: New file.
6950 * benchtests/bench-memmem.c: New file.
6951 * benchtests/bench-memmove-ifunc.c: New file.
6952 * benchtests/bench-memmove.c: New file.
6953 * benchtests/bench-mempcpy-ifunc.c: New file.
6954 * benchtests/bench-mempcpy.c: New file.
6955 * benchtests/bench-memset-ifunc.c: New file.
6956 * benchtests/bench-memset.c: New file.
6957 * benchtests/bench-rawmemchr-ifunc.c: New file.
6958 * benchtests/bench-rawmemchr.c: New file.
6959 * benchtests/bench-stpcpy-ifunc.c: New file.
6960 * benchtests/bench-stpcpy.c: New file.
6961 * benchtests/bench-stpncpy-ifunc.c: New file.
6962 * benchtests/bench-stpncpy.c: New file.
6963 * benchtests/bench-strcasecmp-ifunc.c: New file.
6964 * benchtests/bench-strcasecmp.c: New file.
6965 * benchtests/bench-strcasestr-ifunc.c: New file.
6966 * benchtests/bench-strcasestr.c: New file.
6967 * benchtests/bench-strcat-ifunc.c: New file.
6968 * benchtests/bench-strcat.c: New file.
6969 * benchtests/bench-strchr-ifunc.c: New file.
6970 * benchtests/bench-strchr.c: New file.
6971 * benchtests/bench-strchrnul-ifunc.c: New file.
6972 * benchtests/bench-strchrnul.c: New file.
6973 * benchtests/bench-strcmp-ifunc.c: New file.
6974 * benchtests/bench-strcmp.c: New file.
6975 * benchtests/bench-strcpy-ifunc.c: New file.
6976 * benchtests/bench-strcpy.c: New file.
6977 * benchtests/bench-strcspn-ifunc.c: New file.
6978 * benchtests/bench-strcspn.c: New file.
6979 * benchtests/bench-strlen-ifunc.c: New file.
6980 * benchtests/bench-strlen.c: New file.
6981 * benchtests/bench-strncasecmp-ifunc.c: New file.
6982 * benchtests/bench-strncasecmp.c: New file.
6983 * benchtests/bench-strncat-ifunc.c: New file.
6984 * benchtests/bench-strncat.c: New file.
6985 * benchtests/bench-strncmp-ifunc.c: New file.
6986 * benchtests/bench-strncmp.c: New file.
6987 * benchtests/bench-strncpy-ifunc.c: New file.
6988 * benchtests/bench-strncpy.c: New file.
6989 * benchtests/bench-strnlen-ifunc.c: New file.
6990 * benchtests/bench-strnlen.c: New file.
6991 * benchtests/bench-strpbrk-ifunc.c: New file.
6992 * benchtests/bench-strpbrk.c: New file.
6993 * benchtests/bench-strrchr-ifunc.c: New file.
6994 * benchtests/bench-strrchr.c: New file.
6995 * benchtests/bench-strspn-ifunc.c: New file.
6996 * benchtests/bench-strspn.c: New file.
6997 * benchtests/bench-strstr-ifunc.c: New file.
6998 * benchtests/bench-strstr.c: New file.
6999
7000 * benchtests/Makefile: Disable parallel execution of targets.
7001 (string-bench): Add memcpy.
7002 (benchset): New variable to store a list of benchmark sets.
7003 (bench-func): Renamed from bench.
7004 (bench-set): New target.
7005 (bench): Depend on bench-func and bench-set.
7006 * benchtests/README: Add section on benchmark sets.
7007 * benchtests/bench-memcpy-ifunc.c: New file.
7008 * benchtests/bench-memcpy.c: New file.
7009 * benchtests/bench-string.h: New file.
7010
7011 2013-06-11 Andreas Schwab <schwab@suse.de>
7012
7013 [BZ #15577]
7014 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7015 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7016 values in the triple.
7017 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7018 terminator in the group key.
7019
7020 2013-06-11 Andreas Jaeger <aj@suse.de>
7021
7022 * po/zh_TW.po: Update Chinese (traditional) translation from
7023 translation project.
7024
7025 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7026
7027 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7028 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7029 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7030 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7031 (clock_getcpuclockid): Likewise.
7032 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7033 Add weak_alias and libc_hidden_def.
7034 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7035 * rt/clock_gettime.c (clock_gettime): Rename to
7036 __clock_gettime. Add weak_alias and libc_hidden_def.
7037 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7038 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7039 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7040 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7041 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7042 Likewise.
7043 * rt/clock_settime.c (clock_settime): Rename to
7044 __clock_settime. Add weak_alias and libc_hidden_def.
7045 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7046
7047 2013-06-10 Joseph Myers <joseph@codesourcery.com>
7048
7049 * mach/err_boot.sub: Remove trailing whitespace.
7050 * mach/err_ipc.sub: Likewise.
7051 * mach/err_mach.sub: Likewise.
7052
7053 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7054 (ROUNDING_TESTS_double): Likewise.
7055 (ROUNDING_TESTS_long_double): Likewise.
7056 (ROUNDING_TESTS): Likewise.
7057 * math/libm-test.inc: Include <math-tests.h>.
7058 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7059 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7060 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7061 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7062
7063 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7064
7065 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7066 of assigning.
7067
7068 2013-06-08 Joseph Myers <joseph@codesourcery.com>
7069
7070 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7071 otherwise empty TRANS lines.
7072 * sysdeps/gnu/errlist.c: Regenerated.
7073
7074 * catgets/gencat.c (error_print): Use (void) in function
7075 definition.
7076 * crypt/crypt_util.c (__init_des): Likewise.
7077 * crypt/speeds.c (Stop): Likewise.
7078 (main): Likewise.
7079 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7080 * inet/ruserpass.c (token): Likewise.
7081 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7082 * intl/localealias.c (extend_alias_table): Likewise.
7083 * intl/plural-exp.c (init_germanic_plural): Likewise.
7084 * libio/fcloseall.c (__fcloseall): Likewise.
7085 * libio/genops.c (_IO_flush_all): Likewise.
7086 (_IO_flush_all_linebuffered): Likewise.
7087 (_IO_cleanup): Likewise.
7088 (_IO_iter_begin): Likewise.
7089 (_IO_iter_end): Likewise.
7090 (_IO_list_lock): Likewise.
7091 (_IO_list_unlock): Likewise.
7092 (_IO_list_resetlock): Likewise.
7093 * libio/getchar.c (getchar): Likewise.
7094 * libio/getchar_u.c (getchar_unlocked): Likewise.
7095 * libio/getwchar.c (getwchar): Likewise.
7096 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7097 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7098 * login/getpt.c (__getpt): Likewise.
7099 * login/tst-utmp.c (main): Likewise.
7100 * malloc/hooks.c (__malloc_check_init): Likewise.
7101 * malloc/malloc.c (__malloc_stats): Likewise.
7102 * malloc/mtrace.c (tr_break): Likewise.
7103 (mtrace): Likewise.
7104 (muntrace): Likewise.
7105 * misc/fstab.c (endfsent): Likewise.
7106 * misc/getclktck.c (__getclktck): Likewise.
7107 * misc/getdtsz.c (__getdtablesize): Likewise.
7108 * misc/gethostid.c (gethostid): Likewise.
7109 * misc/getpagesize.c (__getpagesize): Likewise.
7110 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7111 (__get_nprocs): Likewise.
7112 (__get_phys_pages): Likewise.
7113 (__get_avphys_pages): Likewise.
7114 * misc/getttyent.c (getttyent): Likewise.
7115 (setttyent): Likewise.
7116 (endttyent): Likewise.
7117 * misc/getusershell.c (getusershell): Likewise.
7118 (endusershell): Likewise.
7119 (setusershell): Likewise.
7120 (initshells): Likewise.
7121 * misc/hsearch.c (__hdestroy): Likewise.
7122 * misc/sync.c (sync): Likewise.
7123 * misc/syslog.c (closelog_internal): Likewise.
7124 (closelog): Likewise.
7125 * misc/ttyslot.c (ttyslot): Likewise.
7126 * misc/vhangup.c (vhangup): Likewise.
7127 * posix/fork.c (__fork): Likewise.
7128 * posix/getegid.c (__getegid): Likewise.
7129 * posix/geteuid.c (__geteuid): Likewise.
7130 * posix/getgid.c (__getgid): Likewise.
7131 * posix/getpid.c (__getpid): Likewise.
7132 * posix/getppid.c (__getppid): Likewise.
7133 * posix/getuid.c (__getuid): Likewise.
7134 * posix/pause.c (pause): Likewise.
7135 * posix/setpgrp.c (setpgrp): Likewise.
7136 * posix/setsid.c (__setsid): Likewise.
7137 * posix/test-vfork.c (noop): Likewise.
7138 * resolv/gethnamaddr.c (_endhtent): Likewise.
7139 (_gethtent): Likewise.
7140 (ht_endhostent): Likewise.
7141 (gethostent): Likewise.
7142 (dns_service): Likewise.
7143 * stdlib/drand48.c (drand48): Likewise.
7144 * stdlib/lrand48.c (lrand48): Likewise.
7145 * stdlib/mrand48.c (mrand48): Likewise.
7146 * stdlib/rand.c (rand): Likewise.
7147 * stdlib/random.c (__random): Likewise.
7148 * stdlib/setenv.c (clearenv): Likewise.
7149 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7150 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7151 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7152 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7153 (__get_nprocs): Likewise.
7154 (__get_phys_pages): Likewise.
7155 (__get_avphys_pages): Likewise.
7156 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7157 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7158 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7159 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7160 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7161 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7162 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7163 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7164 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7165 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7166 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7167 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7168 * sysdeps/posix/clock.c (clock): Likewise.
7169 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7170 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7171 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7172 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7173 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7174 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7175 (__get_nprocs_conf): Likewise.
7176 (__get_phys_pages): Likewise.
7177 (__get_avphys_pages): Likewise.
7178 * time/clock.c (clock): Likewise.
7179 * time/tzset.c (__tzname_max): Likewise.
7180
7181 2013-06-07 Joseph Myers <joseph@codesourcery.com>
7182
7183 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7184 (__bswap_32): Do not use "register".
7185 * crypt/crypt.c (_ufc_doit_r): Likewise.
7186 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7187 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7188 * gmon/gmon.c (__monstartup): Likewise.
7189 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7190 * hurd/hurdmalloc.c (more_memory): Likewise.
7191 (malloc): Likewise.
7192 (free): Likewise.
7193 (realloc): Likewise.
7194 (malloc_fork_prepare): Likewise.
7195 (malloc_fork_parent): Likewise.
7196 (malloc_fork_child): Likewise.
7197 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7198 (_svcauth_des): Likewise.
7199 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7200 * inet/inet_net.c (inet_network): Likewise.
7201 * inet/inet_netof.c (inet_netof): Likewise.
7202 * inet/rcmd.c (__validuser2_sa): Likewise.
7203 * io/fts.c (fts_open): Likewise.
7204 (fts_load): Likewise.
7205 (fts_close): Likewise.
7206 (fts_read): Likewise.
7207 (fts_children): Likewise.
7208 (fts_build): Likewise.
7209 (fts_stat): Likewise.
7210 (fts_sort): Likewise.
7211 (fts_alloc): Likewise.
7212 (fts_lfree): Likewise.
7213 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7214 (_IO_file_xsgetn): Likewise.
7215 (_IO_file_xsgetn_mmap): Likewise.
7216 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7217 (_IO_cookie_write): Likewise.
7218 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7219 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7220 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7221 * malloc/obstack.c (_obstack_begin): Likewise.
7222 (_obstack_begin_1): Likewise.
7223 (_obstack_newchunk): Likewise.
7224 (_obstack_allocated_p): Likewise.
7225 (obstack_free): Likewise.
7226 (_obstack_memory_used): Likewise.
7227 * misc/getttyent.c (getttynam): Likewise.
7228 (getttyent): Likewise.
7229 (skip): Likewise.
7230 (value): Likewise.
7231 * misc/getusershell.c (initshells): Likewise.
7232 * misc/syslog.c (__vsyslog_chk): Likewise.
7233 * misc/ttyslot.c (ttyslot): Likewise.
7234 * nis/nis_hash.c (__nis_hash): Likewise.
7235 * posix/fnmatch_loop.c (FCT): Likewise.
7236 * posix/getconf.c (print_all): Likewise.
7237 (main): Likewise.
7238 * posix/getopt.c (exchange): Likewise.
7239 * posix/glob.c (globfree): Likewise.
7240 (prefix_array): Likewise.
7241 (__glob_pattern_type): Likewise.
7242 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7243 (NS_GET32): Likewise.
7244 (NS_PUT16): Likewise.
7245 (NS_PUT32): Likewise.
7246 * resolv/gethnamaddr.c (getanswer): Likewise.
7247 (gethostbyname2): Likewise.
7248 (gethostbyaddr): Likewise.
7249 (_gethtent): Likewise.
7250 (_gethtbyname2): Likewise.
7251 (_gethtbyaddr): Likewise.
7252 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7253 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7254 * resolv/res_init.c (__res_vinit): Likewise.
7255 (net_mask): Likewise.
7256 * resolv/res_mkquery.c (outchar): Likewise.
7257 (PRINT): Likewise.
7258 * stdio-common/printf_fp.c (outchar): Likewise.
7259 (PRINT): Likewise.
7260 * stdio-common/printf_fphex.c (outchar): Likewise.
7261 (PRINT): Likewise.
7262 * stdio-common/printf_size.c (outchar): Likewise.
7263 (PRINT): Likewise.
7264 * stdio-common/test_rdwr.c (main): Likewise.
7265 * stdio-common/tfformat.c (matches): Likewise.
7266 * stdio-common/vfprintf.c (outchar): Likewise.
7267 (printf_unknown): Likewise.
7268 (buffered_vfprintf): Likewise.
7269 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7270 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7271 (ReadFile): Likewise.
7272 * stdlib/qsort.c (SWAP): Likewise.
7273 (_quicksort): Likewise.
7274 * stdlib/setenv.c (__add_to_environ): Likewise.
7275 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7276 * stdlib/strtol_l.c (__strtol_l): Likewise.
7277 * stdlib/tst-strtod.c (main): Likewise.
7278 * stdlib/tst-strtol.c (main): Likewise.
7279 * stdlib/tst-strtoll.c (main): Likewise.
7280 * string/bits/string2.h (__strcmp_cc): Likewise.
7281 (__strcmp_cg): Likewise.
7282 (__strcspn_c1): Likewise.
7283 (__strcspn_c2): Likewise.
7284 (__strcspn_c3): Likewise.
7285 (__strspn_c1): Likewise.
7286 (__strspn_c2): Likewise.
7287 (__strspn_c3): Likewise.
7288 (__strsep_1c): Likewise.
7289 (__strsep_2c): Likewise.
7290 (__strsep_3c): Likewise.
7291 * string/memccpy.c (__memccpy): Likewise.
7292 * string/stpcpy.c (__stpcpy): Likewise.
7293 * string/strcmp.c (strcmp): Likewise.
7294 * string/strrchr.c (strrchr): Likewise.
7295 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7296 Likewise.
7297 * sysdeps/mach/hurd/getcwd.c
7298 (_hurd_canonicalize_directory_name_internal): Likewise.
7299 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7300 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7301 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7302 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7303 Likewise, in both definitions.
7304 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7305 definitions.
7306 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7307 64] (__bswap_64): Likewise.
7308 * time/test_time.c (main): Likewise.
7309 * time/tzfile.c (__tzfile_read): Likewise.
7310 (__tzfile_compute): Likewise.
7311 * time/tzset.c (__tzset_parse_tz): Likewise.
7312 (tzset_internal): Likewise.
7313 (compute_change): Likewise.
7314 * wcsmbs/wcscat.c (__wcscat): Likewise.
7315 * wcsmbs/wcschr.c (wcschr): Likewise.
7316 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7317 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7318 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7319 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7320 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7321 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7322 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7323 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7324 * wcsmbs/wmemset.c (wmemset): Likewise.
7325
7326 2013-06-06 Joseph Myers <joseph@codesourcery.com>
7327
7328 * scripts/config.guess: Update to version 2013-05-16.
7329 * scripts/config.sub: Update to version 2013-04-24.
7330 * scripts/install-sh: Update to version 2011-11-20.07.
7331 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7332 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7333
7334 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
7335
7336 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7337 * elf/sln.c: Likewise.
7338 * hurd/hurd/ioctl.h: Likewise.
7339 * hurd/hurdmalloc.c: Likewise.
7340 * hurd/xattr.c: Likewise.
7341 * include/shlib-compat.h: Likewise.
7342 * inet/ruserpass.c: Likewise.
7343 * libio/iofgets_u.c: Likewise.
7344 * libio/iofgetws_u.c: Likewise.
7345 * locale/programs/ld-identification.c: Likewise.
7346 * locale/programs/ld-time.c: Likewise.
7347 * mach/msg-destroy.c: Likewise.
7348 * nss/nss_files/files-netgrp.c: Likewise.
7349 * resolv/res_data.c: Likewise.
7350 * soft-fp/op-1.h: Likewise.
7351 * soft-fp/op-2.h: Likewise.
7352 * soft-fp/op-4.h: Likewise.
7353 * soft-fp/op-common.h: Likewise.
7354 * stdio-common/printf_fphex.c: Likewise.
7355 * stdlib/strtod_l.c: Likewise.
7356 * sunrpc/rpc/clnt.h: Likewise.
7357 * sysdeps/generic/framestate.c: Likewise.
7358 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7359 * sysdeps/i386/bsd-setjmp.S: Likewise.
7360 * sysdeps/i386/__longjmp.S: Likewise.
7361 * sysdeps/i386/setjmp.S: Likewise.
7362 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7363 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7364 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7365 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7366 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7367 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7368 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7369 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7370 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7371 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7372 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7373 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7374 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7375 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7376 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7377 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7378 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7379 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7380 * sysdeps/ieee754/support.c: Likewise.
7381 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7382 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7383 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7384 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7385 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7386 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7387 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7388 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7389 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7390 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7391 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7392 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7393 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7394 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7395 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7396 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7397 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7399
7400 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
7401
7402 * posix/transbug.c: Remove executable mode.
7403
7404 2013-06-05 Joseph Myers <joseph@codesourcery.com>
7405
7406 * crypt/speeds.c: Remove trailing whitespace.
7407 * dlfcn/default.c: Likewise.
7408 * elf/ifuncdep2.c: Likewise.
7409 * elf/ifuncmain1.c: Likewise.
7410 * elf/ifuncmain1vis.c: Likewise.
7411 * elf/testobj.h: Likewise.
7412 * elf/tst-stackguard1.c: Likewise.
7413 * gmon/sys/gmon.h: Likewise.
7414 * hurd/hurdmsg.c: Likewise.
7415 * hurd/new-fd.c: Likewise.
7416 * hurd/ports-get.c: Likewise.
7417 * iconvdata/ibm1008_420.c: Likewise.
7418 * inet/tst-getni1.c: Likewise.
7419 * inet/tst-getni2.c: Likewise.
7420 * libio/ioungetc.c: Likewise.
7421 * libio/wfiledoalloc.c: Likewise.
7422 * manual/libm-err-tab.pl: Likewise.
7423 * math/w_dremf.c: Likewise.
7424 * misc/ftruncate.c: Likewise.
7425 * posix/bug-glob2.c: Likewise.
7426 * posix/tst-pcre.c: Likewise.
7427 * posix/wait4.c: Likewise.
7428 * resolv/README: Likewise.
7429 * resolv/res_debug.h: Likewise.
7430 * resolv/tst-inet_ntop.c: Likewise.
7431 * setjmp/bug269-setjmp.c: Likewise.
7432 * soft-fp/extended.h: Likewise.
7433 * soft-fp/op-1.h: Likewise.
7434 * soft-fp/op-2.h: Likewise.
7435 * soft-fp/op-4.h: Likewise.
7436 * soft-fp/op-8.h: Likewise.
7437 * soft-fp/testit.c: Likewise.
7438 * stdio-common/bug16.c: Likewise.
7439 * stdlib/random.c: Likewise.
7440 * sunrpc/rpcsvc/rquota.x: Likewise.
7441 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7442 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7443 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7444 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7445 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7446 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7447 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7448 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7449 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7450 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7451 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7452 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7453 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7454 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7455 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7456 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7457 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7458 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7459 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7460 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7461 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7462 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7463 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7464 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7465 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7466 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7467 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7468 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7469 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7470 * sysdeps/ieee754/s_lib_version.c: Likewise.
7471 * sysdeps/mach/hurd/check_fds.c: Likewise.
7472 * sysdeps/mach/hurd/getsockname.c: Likewise.
7473 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7474 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7475 * sysdeps/powerpc/bits/link.h: Likewise.
7476 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7477 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7478 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7479 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7480 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7481 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7482 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7483 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7484 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7485 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7486 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7487 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7488 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7489 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7490 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7491 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7492 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7493 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7494 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7495 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7496 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7497 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7498 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7499 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7500 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7501 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7502 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7503 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7504 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7505 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7506 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7507 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7508 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7509 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7510 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7511 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7512 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7513 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7514 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7515 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7516 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7517 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7518 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7519 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7520 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7521 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7522 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7523 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7524 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7525 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7526 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7527 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7528 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7529 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7530 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7531 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7532 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7533 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7534 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7535 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7536 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7537 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7538 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7539 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7540 * sysdeps/powerpc/sysdep.h: Likewise.
7541 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7542 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7543 * sysdeps/sh/dl-trampoline.S: Likewise.
7544 * sysdeps/sh/memset.S: Likewise.
7545 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7546 * sysdeps/sh/strlen.S: Likewise.
7547 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7548 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7549 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7550 * sysdeps/sparc/sparc32/rem.S: Likewise.
7551 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7552 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7553 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7554 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7555 * sysdeps/sparc/sparc32/urem.S: Likewise.
7556 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7557 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7558 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7559 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7560 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7561 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7562 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7563 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7564 * sysdeps/unix/bsd/times.c: Likewise.
7565 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7566 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7570 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7571 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7572 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7573 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7574 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7575 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7576 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7577 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7578 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7579 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7580 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7581 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7582 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7583 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7584 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7585 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7586 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7587 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7588 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7589 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7590 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7591 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7592 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7593 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7594 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7595 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7596 * sysdeps/x86_64/strcspn.S: Likewise.
7597
7598 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7599
7600 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7601 generated file. Regenerate properly from gen-translit.pl.
7602 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7603 locale/C-translit.h.
7604
7605 2013-06-05 Andreas Schwab <schwab@suse.de>
7606
7607 [BZ #15100]
7608 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7609 week as 6 instead of -1.
7610 * time/tst-strptime.c (day_tests): Add test case.
7611
7612 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7613
7614 * sysdeps/generic/math_private.h
7615 (libc_feholdexcept_setround_53bit): Replace with
7616 libc_feholdsetround_53bit.
7617 (libc_feupdateenv_53bit): Replace with
7618 libc_feresetround_53bit.
7619 (SET_RESTORE_ROUND_53BIT): Adjust.
7620
7621 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7622
7623 * string/test-strchrnul.c: Add copyright header.
7624
7625 * posix/tst-getaddrinfo4.c: Increase test timeout.
7626
7627 2013-06-03 Carlos O'Donell <carlos@redhat.com>
7628
7629 [BZ #15536]
7630 * math/libm-test.inc (MAX_EXP): Remove
7631 (MIN_EXP): Define.
7632 (ulp): Use MIN_EXP - MANT_DIG.
7633 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7634
7635 2013-05-31 Carlos O'Donell <carlos@redhat.com>
7636
7637 * po/be.po: Revert last change.
7638 * po/zh_CN.po: Likewise.
7639 * po/header.pot: Likewise.
7640
7641 2013-05-31 Joseph Myers <joseph@codesourcery.com>
7642
7643 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7644 link-libc-deps to empty as target-specific variable.
7645 * Makerules (link-libc-args): New variable.
7646 (libc-for-link): Likewise.
7647 (link-libc-deps): Likewise.
7648 (lib%.so): Depend on $(link-libc-deps). Link with
7649 $(link-libc-args).
7650 (build-module): Link with $(link-libc-args).
7651 (build-module-asneeded): Likewise.
7652 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7653 list of objects.
7654 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7655 target-specific variable.
7656 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7657 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7658 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7659 libc.
7660 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7661 libc and ld.so.
7662 ($(objpfx)libpcprofile.so): Likewise.
7663 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7664 libc_nonshared.a.
7665 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7666 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7667 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7668 $(link-libc-deps).
7669 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7670 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7671 * login/Makefile ($(objpfx)libutil.so): Likewise.
7672 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7673 * math/Makefile ($(objpfx)libm.so): Likewise.
7674 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7675 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7676 variable instead of depending directly on libc.
7677 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7678 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7679 $(link-libc-deps).
7680 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7681 libc.
7682 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7683 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7684 ($(objpfx)libanl.so): Likewise.
7685 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7686 ld.so.
7687 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7688 $(link-libc-deps).
7689 * sysdeps/i386/fpu/Makefile: Remove file.
7690 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7691 ($(objpfx)libm.so): Remove dependency on ld.so.
7692
7693 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
7694
7695 [BZ # 15553]
7696 * nis/yp_xdr.c (XDRMAXNAME): Define.
7697 (XDRMAXRECORD): Define.
7698 (xdr_domainname): Use XDRMAXNAME.
7699 (xdr_mapname): Likewise.
7700 (xdr_peername): Likewise.
7701 (xdr_keydat): Use XDRMAXRECORD.
7702 (xdr_valdat): Likewise.
7703
7704 2013-05-30 Jeff Law <law@redhat.com>
7705
7706 [BZ #14256]
7707 * manual/errno.texi (ESTALE): Update to account for more than
7708 just NFS file systems.
7709 * sysdeps/gnu/errlist.c: Regenerated.
7710
7711 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7712
7713 [BZ #15465]
7714 * elf/Makefile (tests): Add tst-null-argv.
7715 (modules-names): Add tst-null-argv-lib.
7716 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7717 (tst-null-argv-ENV): Set environment for tst-null-argv.
7718 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7719 (RTLD_PROGNAME): New macro.
7720 * elf/tst-null-argv.c: New test case.
7721 * elf/tst-null-argv-lib.c: Library for test case.
7722 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7723 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7724 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7725 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7726 * elf/dl-init.c (call_init): Likewise.
7727 (_dl_init): Likewise.
7728 * elf/dl-load.c (print_search_path): Likewise.
7729 (_dl_map_object): Likewise.
7730 * elf/dl-lookup.c (do_lookup_x): Likewise.
7731 (add_dependency): Likewise.
7732 (_dl_lookup_symbol_x): Likewise.
7733 (_dl_debug_bindings): Likewise.
7734 * elf/dl-open.c (_dl_show_scope): Likewise.
7735 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7736 * elf/dl-version.c (match_symbol): Likewise.
7737 (_dl_check_map_versions): Likewise.
7738 * elf/rtld.c (dl_main): Likewise.
7739 (print_unresolved): Use RTLD_PROGNAME.
7740 (print_missing_version): Likewise.
7741 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7742 (elf_machine_rela): Likewise.
7743 * sysdeps/powerpc/powerpc32/dl-machine.c
7744 (__process_machine_rela): Likewise.
7745 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7746 Likewise.
7747 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7748 Likewise.
7749 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7750 Likewise.
7751 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7752 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7753 Likewise.
7754 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7755 Likewise.
7756 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7757
7758 2013-05-28 Carlos O'Donell <carlos@redhat.com>
7759
7760 * po/be.po: Add descriptive title.
7761 * po/zh_CN.po: Likewise.
7762 * po/header.pot: Likewise.
7763
7764 2013-05-28 Mike Frysinger <vapier@gentoo.org>
7765
7766 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7767 error message.
7768 (enlarge_archive): Likewise.
7769
7770 2013-05-28 Ben North <ben@redfrontdoor.org>
7771
7772 * manual/arith.texi (frexp): It is the magnitude of the return
7773 value which lies in [0.5, 1), not the return value itself.
7774
7775 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7776
7777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7778
7779 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7780
7781 * stdio-common/bug26.c (main): Correct fscanf template.
7782
7783 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7784 declare _dl_skip_args.
7785
7786 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7787 Don't declare.
7788
7789 * manual/platform.texi: Add missing @end deftypefun.
7790
7791 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7792
7793 [BZ #15529]
7794 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7795 bit of mantissa of 2^16382.
7796 * math/libm-test.inc (hypot_test_data): Add more tests.
7797
7798 * math/libm-test.inc: Add drem and pow10 to list of tested
7799 functions.
7800 (pow10_test): New function.
7801 (drem_test): Likewise.
7802 (drem_test_tonearest): Likewise.
7803 (drem_test_towardzero): Likewise.
7804 (drem_test_downward): Likewise.
7805 (drem_test_upward): Likewise.
7806 (main): Call the new functions.
7807
7808 * math/libm-test.inc (finite_test_data): Remove.
7809 (finite_test): Run tests from isfinite_test_data.
7810 (gamma_test_data): Remove.
7811 (gamma_test): Run tests from lgamma_test_data.
7812 * sysdeps/i386/fpu/libm-test-ulps: Update.
7813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7814
7815 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7816
7817 * manual/platform.texi: Add PowerPC PPR function set documentation.
7818 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7819 implementation.
7820
7821 2013-05-24 Carlos O'Donell <carlos@redhat.com>
7822
7823 * math/libm-test.inc (MAX_EXP): Define.
7824 (ULPDIFF): Define.
7825 (ulp): New function.
7826 (check_float_internal): Use ULPDIFF.
7827 (cpow_test): Disable failing test.
7828 (check_ulp): Test ulp() implemetnation.
7829 (main): Call check_ulp before starting tests.
7830
7831 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7832
7833 * math/gen-libm-test.pl (generate_testfile): Do not handle
7834 START_DATA and END_DATA.
7835 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7836 END_DATA.
7837 (acos_tonearest_test_data): Likewise.
7838 (acos_towardzero_test_data): Likewise.
7839 (acos_downward_test_data): Likewise.
7840 (acos_upward_test_data): Likewise.
7841 (acosh_test_data): Likewise.
7842 (asin_test_data): Likewise.
7843 (asin_tonearest_test_data): Likewise.
7844 (asin_towardzero_test_data): Likewise.
7845 (asin_downward_test_data): Likewise.
7846 (asin_upward_test_data): Likewise.
7847 (asinh_test_data): Likewise.
7848 (atan_test_data): Likewise.
7849 (atanh_test_data): Likewise.
7850 (atan2_test_data): Likewise.
7851 (cabs_test_data): Likewise.
7852 (cacos_test_data): Likewise.
7853 (cacosh_test_data): Likewise.
7854 (carg_test_data): Likewise.
7855 (casin_test_data): Likewise.
7856 (casinh_test_data): Likewise.
7857 (catan_test_data): Likewise.
7858 (catanh_test_data): Likewise.
7859 (cbrt_test_data): Likewise.
7860 (ccos_test_data): Likewise.
7861 (ccosh_test_data): Likewise.
7862 (ceil_test_data): Likewise.
7863 (cexp_test_data): Likewise.
7864 (cimag_test_data): Likewise.
7865 (clog_test_data): Likewise.
7866 (clog10_test_data): Likewise.
7867 (conj_test_data): Likewise.
7868 (copysign_test_data): Likewise.
7869 (cos_test_data): Likewise.
7870 (cos_tonearest_test_data): Likewise.
7871 (cos_towardzero_test_data): Likewise.
7872 (cos_downward_test_data): Likewise.
7873 (cos_upward_test_data): Likewise.
7874 (cosh_test_data): Likewise.
7875 (cosh_tonearest_test_data): Likewise.
7876 (cosh_towardzero_test_data): Likewise.
7877 (cosh_downward_test_data): Likewise.
7878 (cosh_upward_test_data): Likewise.
7879 (cpow_test_data): Likewise.
7880 (cproj_test_data): Likewise.
7881 (creal_test_data): Likewise.
7882 (csin_test_data): Likewise.
7883 (csinh_test_data): Likewise.
7884 (csqrt_test_data): Likewise.
7885 (ctan_test_data): Likewise.
7886 (ctan_tonearest_test_data): Likewise.
7887 (ctan_towardzero_test_data): Likewise.
7888 (ctan_downward_test_data): Likewise.
7889 (ctan_upward_test_data): Likewise.
7890 (ctanh_test_data): Likewise.
7891 (ctanh_tonearest_test_data): Likewise.
7892 (ctanh_towardzero_test_data): Likewise.
7893 (ctanh_downward_test_data): Likewise.
7894 (ctanh_upward_test_data): Likewise.
7895 (erf_test_data): Likewise.
7896 (erfc_test_data): Likewise.
7897 (exp_test_data): Likewise.
7898 (exp_tonearest_test_data): Likewise.
7899 (exp_towardzero_test_data): Likewise.
7900 (exp_downward_test_data): Likewise.
7901 (exp_upward_test_data): Likewise.
7902 (exp10_test_data): Likewise.
7903 (exp2_test_data): Likewise.
7904 (expm1_test_data): Likewise.
7905 (fabs_test_data): Likewise.
7906 (fdim_test_data): Likewise.
7907 (finite_test_data): Likewise.
7908 (floor_test_data): Likewise.
7909 (fma_test_data): Likewise.
7910 (fma_towardzero_test_data): Likewise.
7911 (fma_downward_test_data): Likewise.
7912 (fma_upward_test_data): Likewise.
7913 (fmax_test_data): Likewise.
7914 (fmin_test_data): Likewise.
7915 (fmod_test_data): Likewise.
7916 (fpclassify_test_data): Likewise.
7917 (frexp_test_data): Likewise.
7918 (gamma_test_data): Likewise.
7919 (hypot_test_data): Likewise.
7920 (ilogb_test_data): Likewise.
7921 (isfinite_test_data): Likewise.
7922 (isgreater_test_data): Likewise.
7923 (isgreaterequal_test_data): Likewise.
7924 (isinf_test_data): Likewise.
7925 (isless_test_data): Likewise.
7926 (islessequal_test_data): Likewise.
7927 (islessgreater_test_data): Likewise.
7928 (isnan_test_data): Likewise.
7929 (isnormal_test_data): Likewise.
7930 (issignaling_test_data): Likewise.
7931 (isunordered_test_data): Likewise.
7932 (j0_test_data): Likewise.
7933 (j1_test_data): Likewise.
7934 (jn_test_data): Likewise.
7935 (ldexp_test_data): Likewise.
7936 (lgamma_test_data): Likewise.
7937 (lrint_test_data): Likewise.
7938 (lrint_tonearest_test_data): Likewise.
7939 (lrint_towardzero_test_data): Likewise.
7940 (lrint_downward_test_data): Likewise.
7941 (lrint_upward_test_data): Likewise.
7942 (llrint_test_data): Likewise.
7943 (llrint_tonearest_test_data): Likewise.
7944 (llrint_towardzero_test_data): Likewise.
7945 (llrint_downward_test_data): Likewise.
7946 (llrint_upward_test_data): Likewise.
7947 (log_test_data): Likewise.
7948 (log10_test_data): Likewise.
7949 (log1p_test_data): Likewise.
7950 (log2_test_data): Likewise.
7951 (logb_test_data): Likewise.
7952 (logb_downward_test_data): Likewise.
7953 (lround_test_data): Likewise.
7954 (llround_test_data): Likewise.
7955 (modf_test_data): Likewise.
7956 (nearbyint_test_data): Likewise.
7957 (nextafter_test_data): Likewise.
7958 (nexttoward_test_data): Likewise.
7959 (pow_test_data): Likewise.
7960 (pow_tonearest_test_data): Likewise.
7961 (pow_towardzero_test_data): Likewise.
7962 (pow_downward_test_data): Likewise.
7963 (pow_upward_test_data): Likewise.
7964 (remainder_test_data): Likewise.
7965 (remainder_tonearest_test_data): Likewise.
7966 (remainder_towardzero_test_data): Likewise.
7967 (remainder_downward_test_data): Likewise.
7968 (remainder_upward_test_data): Likewise.
7969 (remquo_test_data): Likewise.
7970 (rint_test_data): Likewise.
7971 (rint_tonearest_test_data): Likewise.
7972 (rint_towardzero_test_data): Likewise.
7973 (rint_downward_test_data): Likewise.
7974 (rint_upward_test_data): Likewise.
7975 (round_test_data): Likewise.
7976 (scalb_test_data): Likewise.
7977 (scalbn_test_data): Likewise.
7978 (scalbln_test_data): Likewise.
7979 (signbit_test_data): Likewise.
7980 (sin_test_data): Likewise.
7981 (sin_tonearest_test_data): Likewise.
7982 (sin_towardzero_test_data): Likewise.
7983 (sin_downward_test_data): Likewise.
7984 (sin_upward_test_data): Likewise.
7985 (sincos_test_data): Likewise.
7986 (sinh_test_data): Likewise.
7987 (sinh_tonearest_test_data): Likewise.
7988 (sinh_towardzero_test_data): Likewise.
7989 (sinh_downward_test_data): Likewise.
7990 (sinh_upward_test_data): Likewise.
7991 (sqrt_test_data): Likewise.
7992 (tan_test_data): Likewise.
7993 (tan_tonearest_test_data): Likewise.
7994 (tan_towardzero_test_data): Likewise.
7995 (tan_downward_test_data): Likewise.
7996 (tan_upward_test_data): Likewise.
7997 (tanh_test_data): Likewise.
7998 (tgamma_test_data): Likewise.
7999 (trunc_test_data): Likewise.
8000 (y0_test_data): Likewise.
8001 (y1_test_data): Likewise.
8002 (yn_test_data): Likewise.
8003 (significand_test_data): Likewise.
8004
8005 * math/gen-libm-test.pl (@functions): Remove variable.
8006 (generate_testfile): Don't handle START and END lines.
8007 * math/libm-test.inc (START): New macro.
8008 (END): Likewise.
8009 (END_COMPLEX): Likewise.
8010 (acos_test): Use END macro without arguments.
8011 (acos_test_tonearest): Likewise.
8012 (acos_test_towardzero): Likewise.
8013 (acos_test_downward): Likewise.
8014 (acos_test_upward): Likewise.
8015 (acosh_test): Likewise.
8016 (asin_test): Likewise.
8017 (asin_test_tonearest): Likewise.
8018 (asin_test_towardzero): Likewise.
8019 (asin_test_downward): Likewise.
8020 (asin_test_upward): Likewise.
8021 (asinh_test): Likewise.
8022 (atan_test): Likewise.
8023 (atanh_test): Likewise.
8024 (atan2_test): Likewise.
8025 (cabs_test): Likewise.
8026 (cacos_test): Use END_COMPLEX macro without arguments.
8027 (cacosh_test): Likewise.
8028 (carg_test): Use END macro without arguments.
8029 (casin_test): Use END_COMPLEX macro without arguments.
8030 (casinh_test): Likewise.
8031 (catan_test): Likewise.
8032 (catanh_test): Likewise.
8033 (cbrt_test): Use END macro without arguments.
8034 (ccos_test): Use END_COMPLEX macro without arguments.
8035 (ccosh_test): Likewise.
8036 (ceil_test): Use END macro without arguments.
8037 (cexp_test): Use END_COMPLEX macro without arguments.
8038 (cimag_test): Use END macro without arguments.
8039 (clog_test): Use END_COMPLEX macro without arguments.
8040 (clog10_test): Likewise.
8041 (conj_test): Likewise.
8042 (copysign_test): Use END macro without arguments.
8043 (cos_test): Likewise.
8044 (cos_test_tonearest): Likewise.
8045 (cos_test_towardzero): Likewise.
8046 (cos_test_downward): Likewise.
8047 (cos_test_upward): Likewise.
8048 (cosh_test): Likewise.
8049 (cosh_test_tonearest): Likewise.
8050 (cosh_test_towardzero): Likewise.
8051 (cosh_test_downward): Likewise.
8052 (cosh_test_upward): Likewise.
8053 (cpow_test): Use END_COMPLEX macro without arguments.
8054 (cproj_test): Likewise.
8055 (creal_test): Use END macro without arguments.
8056 (csin_test): Use END_COMPLEX macro without arguments.
8057 (csinh_test): Likewise.
8058 (csqrt_test): Likewise.
8059 (ctan_test): Likewise.
8060 (ctan_test_tonearest): Likewise.
8061 (ctan_test_towardzero): Likewise.
8062 (ctan_test_downward): Likewise.
8063 (ctan_test_upward): Likewise.
8064 (ctanh_test): Likewise.
8065 (ctanh_test_tonearest): Likewise.
8066 (ctanh_test_towardzero): Likewise.
8067 (ctanh_test_downward): Likewise.
8068 (ctanh_test_upward): Likewise.
8069 (erf_test): Use END macro without arguments.
8070 (erfc_test): Likewise.
8071 (exp_test): Likewise.
8072 (exp_test_tonearest): Likewise.
8073 (exp_test_towardzero): Likewise.
8074 (exp_test_downward): Likewise.
8075 (exp_test_upward): Likewise.
8076 (exp10_test): Likewise.
8077 (exp2_test): Likewise.
8078 (expm1_test): Likewise.
8079 (fabs_test): Likewise.
8080 (fdim_test): Likewise.
8081 (finite_test): Likewise.
8082 (floor_test): Likewise.
8083 (fma_test): Likewise.
8084 (fma_test_towardzero): Likewise.
8085 (fma_test_downward): Likewise.
8086 (fma_test_upward): Likewise.
8087 (fmax_test): Likewise.
8088 (fmin_test): Likewise.
8089 (fmod_test): Likewise.
8090 (fpclassify_test): Likewise.
8091 (frexp_test): Likewise.
8092 (gamma_test): Likewise.
8093 (hypot_test): Likewise.
8094 (ilogb_test): Likewise.
8095 (isfinite_test): Likewise.
8096 (isgreater_test): Likewise.
8097 (isgreaterequal_test): Likewise.
8098 (isinf_test): Likewise.
8099 (isless_test): Likewise.
8100 (islessequal_test): Likewise.
8101 (islessgreater_test): Likewise.
8102 (isnan_test): Likewise.
8103 (isnormal_test): Likewise.
8104 (issignaling_test): Likewise.
8105 (isunordered_test): Likewise.
8106 (j0_test): Likewise.
8107 (j1_test): Likewise.
8108 (jn_test): Likewise.
8109 (ldexp_test): Likewise.
8110 (lgamma_test): Likewise.
8111 (lrint_test): Likewise.
8112 (lrint_test_tonearest): Likewise.
8113 (lrint_test_towardzero): Likewise.
8114 (lrint_test_downward): Likewise.
8115 (lrint_test_upward): Likewise.
8116 (llrint_test): Likewise.
8117 (llrint_test_tonearest): Likewise.
8118 (llrint_test_towardzero): Likewise.
8119 (llrint_test_downward): Likewise.
8120 (llrint_test_upward): Likewise.
8121 (log_test): Likewise.
8122 (log10_test): Likewise.
8123 (log1p_test): Likewise.
8124 (log2_test): Likewise.
8125 (logb_test): Likewise.
8126 (logb_test_downward): Likewise.
8127 (lround_test): Likewise.
8128 (llround_test): Likewise.
8129 (modf_test): Likewise.
8130 (nearbyint_test): Likewise.
8131 (nextafter_test): Likewise.
8132 (nexttoward_test): Likewise.
8133 (pow_test): Likewise.
8134 (pow_test_tonearest): Likewise.
8135 (pow_test_towardzero): Likewise.
8136 (pow_test_downward): Likewise.
8137 (pow_test_upward): Likewise.
8138 (remainder_test): Likewise.
8139 (remainder_test_tonearest): Likewise.
8140 (remainder_test_towardzero): Likewise.
8141 (remainder_test_downward): Likewise.
8142 (remainder_test_upward): Likewise.
8143 (remquo_test): Likewise.
8144 (rint_test): Likewise.
8145 (rint_test_tonearest): Likewise.
8146 (rint_test_towardzero): Likewise.
8147 (rint_test_downward): Likewise.
8148 (rint_test_upward): Likewise.
8149 (round_test): Likewise.
8150 (scalb_test): Likewise.
8151 (scalbn_test): Likewise.
8152 (scalbln_test): Likewise.
8153 (signbit_test): Likewise.
8154 (sin_test): Likewise.
8155 (sin_test_tonearest): Likewise.
8156 (sin_test_towardzero): Likewise.
8157 (sin_test_downward): Likewise.
8158 (sin_test_upward): Likewise.
8159 (sincos_test): Likewise.
8160 (sinh_test): Likewise.
8161 (sinh_test_tonearest): Likewise.
8162 (sinh_test_towardzero): Likewise.
8163 (sinh_test_downward): Likewise.
8164 (sinh_test_upward): Likewise.
8165 (sqrt_test): Likewise.
8166 (tan_test): Likewise.
8167 (tan_test_tonearest): Likewise.
8168 (tan_test_towardzero): Likewise.
8169 (tan_test_downward): Likewise.
8170 (tan_test_upward): Likewise.
8171 (tanh_test): Likewise.
8172 (tgamma_test): Likewise.
8173 (trunc_test): Likewise.
8174 (y0_test): Likewise.
8175 (y1_test): Likewise.
8176 (yn_test): Likewise.
8177 (significand_test): Likewise.
8178
8179 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
8180
8181 [BZ #15381]
8182 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8183
8184 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8185
8186 [BZ #14894]
8187 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8188 __ppc_mdoio and __ppc_mdoom.
8189 * manual/platform.texi: Document new functions __ppc_yield,
8190 __ppc_mdoio and __ppc_mdoom.
8191
8192 2013-05-22 Carlos O'Donell <carlos@redhat.com>
8193
8194 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8195 (main): Mention "tls" pseudo-hwcap is legacy.
8196 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8197
8198 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8199
8200 * math/gen-libm-test.pl (parse_args): Output only string of
8201 arguments as text for test name, not full call or descriptions of
8202 tests for extra outputs.
8203 (generate_testfile): Do not pass function name to parse_args.
8204 Generate this_func variable from START.
8205 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8206 field to arg_str.
8207 (struct test_ff_f_data): Likewise.
8208 (test_ff_f_data_nexttoward): Likewise.
8209 (struct test_fi_f_data): Likewise.
8210 (struct test_fl_f_data): Likewise.
8211 (struct test_if_f_data): Likewise.
8212 (struct test_fff_f_data): Likewise.
8213 (struct test_c_f_data): Likewise.
8214 (struct test_f_f1_data): Likewise. Remove field extra_name.
8215 (struct test_fF_f1_data): Likewise.
8216 (struct test_ffI_f1_data): Likewise.
8217 (struct test_c_c_data): Rename test_name field to arg_str.
8218 (struct test_cc_c_data): Likewise.
8219 (struct test_f_i_data): Likewise.
8220 (struct test_ff_i_data): Likewise.
8221 (struct test_f_l_data): Likewise.
8222 (struct test_f_L_data): Likewise.
8223 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8224 and extra2_name.
8225 (COMMON_TEST_SETUP): New macro.
8226 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8227 (COMMON_TEST_CLEANUP): Likewise.
8228 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8229 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8230 macros.
8231 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8232 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8233 macros.
8234 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8235 (RUN_TEST_fff_f): Take argument string. Call new setup and
8236 cleanup macros.
8237 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8238 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8239 macros.
8240 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8241 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8242 macros.
8243 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8244 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8245 cleanup macros.
8246 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8247 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8248 cleanup macros.
8249 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8250 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8251 cleanup macros.
8252 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8253 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8254 macros.
8255 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8256 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8257 macros.
8258 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8259 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8260 macros.
8261 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8262 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8263 cleanup macros.
8264 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8265 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8266 cleanup macros.
8267 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8268 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8269 macros.
8270 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8271 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8272 cleanup macros.
8273 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8274 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8275 macros.
8276 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8277 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8278 macros.
8279 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8280 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8281 cleanup macros.
8282 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8283
8284 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8285
8286 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8287 to _sifields.sigfault.
8288 (si_addr_lsb): Define new macro.
8289 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8290 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8291 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8292
8293 2013-05-03 Carlos O'Donell <carlos at redhat.com>
8294
8295 [BZ #15441]
8296 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8297 returns -1.
8298 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8299 null return -1.
8300 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8301 loading the domain.
8302
8303 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8304
8305 * math/gen-libm-test.pl (parse_args): Do not include expected
8306 result in test name.
8307 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8308 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8309 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8310 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8311 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8313
8314 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8315
8316 * benchtests/Makefile: Sort function entries.
8317
8318 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8319 tanh, asinh, acosh, atanh.
8320 * benchtests/acos-inputs: New file.
8321 * benchtests/acosh-inputs: New file.
8322 * benchtests/asin-inputs: New file.
8323 * benchtests/asinh-inputs: New file.
8324 * benchtests/atanh-inputs: New file.
8325 * benchtests/cosh-inputs: New file.
8326 * benchtests/log-inputs: New file.
8327 * benchtests/sinh-inputs: New file.
8328 * benchtests/tanh-inputs: New file.
8329
8330 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8331
8332 [BZ #15339]
8333 * posix/tst-getaddrinfo4.c: New test.
8334 * posix/Makefile (tests): Add it.
8335
8336 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8337
8338 [BZ #15339]
8339 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8340 when no services were used.
8341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8342 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8343
8344 2013-05-21 Andreas Schwab <schwab@suse.de>
8345
8346 [BZ #15014]
8347 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8348 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8349 successful.
8350 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8351 redundant variable declarations and reallocation of buffer when
8352 parsing as IPv6 address. Always set NSS status when called from
8353 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8354 buffer too small. Correct computation of needed size.
8355 * nss/Makefile (tests): Add test-digits-dots.
8356 * nss/test-digits-dots.c: New test.
8357
8358 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8359
8360 * benchtests/Makefile: Remove instructions for adding
8361 benchmark tests.
8362 * benchtests/README: New file to explain how to execute and
8363 enhance the benchmark tests.
8364
8365 2013-05-21 Andreas Schwab <schwab@suse.de>
8366
8367 [BZ #15493]
8368 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8369 * setjmp/tst-sigsetjmp.c: New test.
8370
8371 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8372
8373 * sysdeps/x86_64/memset.S (memset): New implementation.
8374 (__bzero): Likewise.
8375 (__memset_tail): New function.
8376
8377 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8378
8379 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8380 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8381 __memcpy_sse2_unaligned ifunc selection.
8382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8383 Add memcpy-sse2-unaligned.S.
8384 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8385 Add: __memcpy_sse2_unaligned.
8386
8387 2013-05-19 Joseph Myers <joseph@codesourcery.com>
8388
8389 [BZ #15490]
8390 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8391 math_force_eval before restoring floating-point envrionment.
8392 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8393 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8394 Likewise.
8395 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8396 <math_private.h>.
8397 (__nearbyintl): Use math_force_eval before restoring
8398 floating-point environment.
8399 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8400
8401 * math/gen-libm-test.pl (special_functions): Remove.
8402 (parse_args): Don't handle TEST_extra. Handle functions with no
8403 return value.
8404 * math/libm-test.inc (struct test_sincos_data): Replace with
8405 struct test_fFF_11_data.
8406 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8407 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8408 (sincos_test_data): Change element type to struct
8409 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8410 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8411 RUN_TEST_LOOP_sincos.
8412 * math/README.libm-test: Don't mention special handling of
8413 individual functions.
8414 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8415 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8416 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8417 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8418 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8420
8421 * math/gen-libm-test.pl (get_variable): Remove function.
8422 (parse_args): Don't show pointer parameters to call in test
8423 names. Use "extra output N" in test names for extra outputs
8424 rather than naming variables.
8425
8426 2013-05-18 Joseph Myers <joseph@codesourcery.com>
8427
8428 [BZ #15488]
8429 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8430 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8431 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8432 double tests.
8433 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8434 disable.
8435 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8436 check_long_double.
8437
8438 * math/gen-libm-test.pl (@tests): Remove variable.
8439 ($count): Likewise.
8440 (new_test): Remove function.
8441 (show_exceptions): New function.
8442 (special_functions): Use show_exceptions instead of new_test.
8443 (parse_args): Likewise.
8444 (generate_testfile): Pass only function name in generated call to
8445 print_max_error or print_complex_max_error.
8446 (get_ulps): Do not handle complex tests specially.
8447 (output_test): Rename to ...
8448 (get_all_ulps_for_test): ... this. Return a string rather than
8449 printing to a file. Require ulps to be present.
8450 (output_ulps): Generate arrays rather than #defines.
8451 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8452 (struct ulp_data): New type.
8453 (BUILD_COMPLEX_ULP): Remove macro.
8454 (compare_ulp_data): New function.
8455 (find_ulps): Likewise.
8456 (find_test_ulps): Likewise.
8457 (find_function_ulps): Likewise.
8458 (find_complex_function_ulps): Likewise.
8459 (print_max_error): Determine allowed ulps using
8460 find_function_ulps.
8461 (print_complex_max_error): Determine allowed ulps using
8462 find_complex_function_ulps.
8463 (check_float_internal): Determine max ulps using find_test_ulps.
8464 (check_float): Do not take max_ulp parameter. Update call to
8465 check_float_internal.
8466 (check_complex): Likewise.
8467 (check_int): Do not take max_ulp parameter.
8468 (check_long): Likewise.
8469 (check_bool): Likewise.
8470 (check_longlong): Likewise.
8471 (struct test_f_f_data): Remove max_ulp field.
8472 (struct test_ff_f_data): Likewise.
8473 (struct test_ff_f_data_nexttoward): Likewise.
8474 (struct test_fi_f_data): Likewise.
8475 (struct test_fl_f_data): Likewise.
8476 (struct test_if_f_data): Likewise.
8477 (struct test_fff_f_data): Likewise.
8478 (struct test_c_f_data): Likewise.
8479 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8480 (struct test_fF_f1_data): Likewise.
8481 (struct test_ffI_f1_data): Likewise.
8482 (struct test_c_c_data): Remove max_ulp field.
8483 (struct test_cc_c_data): Likewise.
8484 (struct test_f_i_data): Likewise.
8485 (struct test_ff_i_data): Likewise.
8486 (struct test_f_l_data): Likewise.
8487 (struct test_f_L_data): Likewise.
8488 (struct test_sincos_data): Likewise.
8489 (RUN_TEST_f_f): Do not handle ulps.
8490 (RUN_TEST_LOOP_f_f): Likewise.
8491 (RUN_TEST_2_f): Likewise.
8492 (RUN_TEST_LOOP_2_f): Likewise.
8493 (RUN_TEST_fff_f): Likewise.
8494 (RUN_TEST_LOOP_fff_f): Likewise.
8495 (RUN_TEST_c_f): Likewise.
8496 (RUN_TEST_LOOP_c_f): Likewise.
8497 (RUN_TEST_f_f1): Likewise.
8498 (RUN_TEST_LOOP_f_f1): Likewise.
8499 (RUN_TEST_fF_f1): Likewise.
8500 (RUN_TEST_LOOP_fF_f1): Likewise.
8501 (RUN_TEST_fI_f1): Likewise.
8502 (RUN_TEST_LOOP_fI_f1): Likewise.
8503 (RUN_TEST_ffI_f1): Likewise.
8504 (RUN_TEST_LOOP_ffI_f1): Likewise.
8505 (RUN_TEST_c_c): Likewise.
8506 (RUN_TEST_LOOP_c_c): Likewise.
8507 (RUN_TEST_cc_c): Likewise.
8508 (RUN_TEST_LOOP_cc_c): Likewise.
8509 (RUN_TEST_f_i): Likewise.
8510 (RUN_TEST_LOOP_f_i): Likewise.
8511 (RUN_TEST_f_i_tg): Likewise.
8512 (RUN_TEST_LOOP_f_i_tg): Likewise.
8513 (RUN_TEST_ff_i_tg): Likewise.
8514 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8515 (RUN_TEST_f_b): Likewise.
8516 (RUN_TEST_LOOP_f_b): Likewise.
8517 (RUN_TEST_f_b_tg): Likewise.
8518 (RUN_TEST_LOOP_f_b_tg): Likewise.
8519 (RUN_TEST_f_l): Likewise.
8520 (RUN_TEST_LOOP_f_l): Likewise.
8521 (RUN_TEST_f_L): Likewise.
8522 (RUN_TEST_LOOP_f_L): Likewise.
8523 (RUN_TEST_sincos): Likewise.
8524 (RUN_TEST_LOOP_sincos): Likewise.
8525
8526 2013-05-17 Joseph Myers <joseph@codesourcery.com>
8527
8528 [BZ #15480]
8529 [BZ #15485]
8530 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8531 main case of finite arguments, set rounding mode to FE_TONEAREST
8532 and discard exceptions.
8533 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8534 exceptions.
8535 (remainder_tonearest_test_data): New variable.
8536 (remainder_test_tonearest): New function.
8537 (remainder_towardzero_test_data): New variable.
8538 (remainder_test_towardzero): New function.
8539 (remainder_downward_test_data): New variable.
8540 (remainder_test_downward): New function.
8541 (remainder_upward_test_data): New variable.
8542 (remainder_test_upward): New function.
8543 (main): Call the new test functions.
8544
8545 * math/libm-test.inc (struct test_f_f1_data): Remove field
8546 extra_init.
8547 (struct test_fF_f1_data): Likewise.
8548 (struct test_ffI_f1_data): Likewise.
8549 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8550 based on value of EXTRA_EXPECTED.
8551 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8552 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8553 EXTRA_VAR based on value of EXTRA_EXPECTED.
8554 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8555 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8556 EXTRA_VAR based on value of EXTRA_EXPECTED.
8557 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8558 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8559 EXTRA_VAR based on value of EXTRA_EXPECTED.
8560 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8561 * math/gen-libm-test.pl (parse_args): Don't output initializers
8562 for extra output values.
8563
8564 * math/libm-test.inc (check_int): Expect result to be exactly
8565 equal to expected value and do not handle ulps.
8566 (check_long): Likewise.
8567 (check_longlong): Likewise.
8568
8569 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8570 exceptions.
8571 (cimag_test_data): Likewise.
8572 (conj_test_data): Likewise.
8573 (copysign_test_data): Likewise.
8574 (cproj_test_data): Likewise.
8575 (creal_test_data): Likewise.
8576 (fabs_test_data): Likewise.
8577 (fdim_test_data): Likewise.
8578 (finite_test_data): Likewise.
8579 (floor_test_data): Likewise.
8580 (fmax_test_data): Likewise.
8581 (fmin_test_data): Likewise.
8582 (fmod_test_data): Likewise.
8583 (fpclassify_test_data): Likewise.
8584 (frexp_test_data): Likewise.
8585 (ilogb_test_data): Likewise.
8586 (isfinite_test_data): Likewise.
8587 (isgreater_test_data): Likewise.
8588 (isgreaterequal_test_data): Likewise.
8589 (isinf_test_data): Likewise.
8590 (isless_test_data): Likewise.
8591 (islessequal_test_data): Likewise.
8592 (islessgreater_test_data): Likewise.
8593 (isnan_test_data): Likewise.
8594 (isnormal_test_data): Likewise.
8595 (issignaling_test_data): Likewise.
8596 (isunordered_test_data): Likewise.
8597 (ldexp_test_data): Likewise.
8598 (lrint_test_data): Likewise.
8599 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8600 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8601 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8602 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8603 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8604 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8605 test input.
8606 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8607 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8608 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8609 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8610 that test input.
8611 (lrint_downward_test_data): Test for "inexact" exceptions.
8612 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8613 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8614 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8615 test input.
8616 (lrint_upward_test_data): Test for "inexact" exceptions.
8617 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8618 test input.
8619 (llrint_test_data): Test for "inexact" exceptions.
8620 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8621 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8622 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8623 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8624 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8625 (llrint_downward_test_data): Test for "inexact" exceptions.
8626 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8627 (llrint_upward_test_data): Test for "inexact" exceptions.
8628 (logb_test_data): Likewise.
8629 (logb_downward_test_data): Likewise.
8630 (nextafter_test_data): Likewise.
8631 (nexttoward_test_data): Likewise.
8632 (remainder_test_data): Likewise.
8633 (remquo_test_data): Likewise.
8634 (scalbn_test_data): Likewise.
8635 (scalbln_test_data): Likewise.
8636 (signbit_test_data): Likewise.
8637 (sqrt_test_data): Likewise.
8638 (significand_test_data): Likewise.
8639
8640 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8641
8642 [BZ #15424]
8643 * benchtests/bench-modf.c (struct args): Mark arg0 as
8644 volatile.
8645 * scripts/bench.pl: Mark members of struct args as volatile.
8646
8647 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8648
8649 [BZ # 15497]
8650 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8651 negative infinity on POWER6 or lower.
8652 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8653
8654 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8655
8656 [BZ #15442]
8657 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8658 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8659 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8660 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8661 (_FP_SETQNAN): New macro.
8662 (_FP_SETQNAN_SEMIRAW): Likewise.
8663 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8664 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8665 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8666 (FP_EXTEND): Use _FP_FRAC_SNANP.
8667 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8668 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8669 into account.
8670 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8671 New macro.
8672 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8673 Likewise.
8674
8675 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8676
8677 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8678 with DIVIDE_BY_ZERO_EXCEPTION.
8679 (gamma_test_data): Likewise.
8680 (lgamma_test_data): Likewise.
8681 (log_test_data): Likewise.
8682 (log10_test_data): Likewise.
8683 (log2_test_data): Likewise.
8684 (tgamma_test_data): Likewise.
8685
8686 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8687 (acos_test_tonearest): Likewise.
8688 (acos_test_towardzero): Likewise.
8689 (acos_test_downward): Likewise.
8690 (acos_test_upward): Likewise.
8691 (acosh_test): Likewise.
8692 (asin_test): Likewise.
8693 (asin_test_tonearest): Likewise.
8694 (asin_test_towardzero): Likewise.
8695 (asin_test_downward): Likewise.
8696 (asin_test_upward): Likewise.
8697 (asinh_test): Likewise.
8698 (atan_test): Likewise.
8699 (atanh_test): Likewise.
8700 (atan2_test): Likewise.
8701 (cabs_test): Likewise.
8702 (cacos_test): Likewise.
8703 (cacosh_test): Likewise.
8704 (casin_test): Likewise.
8705 (casinh_test): Likewise.
8706 (catan_test): Likewise.
8707 (catanh_test): Likewise.
8708 (cbrt_test): Likewise.
8709 (ccos_test): Likewise.
8710 (ccosh_test): Likewise.
8711 (cexp_test): Likewise.
8712 (clog_test): Likewise.
8713 (clog10_test): Likewise.
8714 (cos_test): Likewise.
8715 (cos_test_tonearest): Likewise.
8716 (cos_test_towardzero): Likewise.
8717 (cos_test_downward): Likewise.
8718 (cos_test_upward): Likewise.
8719 (cosh_test): Likewise.
8720 (cosh_test_tonearest): Likewise.
8721 (cosh_test_towardzero): Likewise.
8722 (cosh_test_downward): Likewise.
8723 (cosh_test_upward): Likewise.
8724 (cpow_test): Likewise.
8725 (csin_test): Likewise.
8726 (csinh_test): Likewise.
8727 (csqrt_test): Likewise.
8728 (ctan_test): Likewise.
8729 (ctan_test_tonearest): Likewise.
8730 (ctan_test_towardzero): Likewise.
8731 (ctan_test_downward): Likewise.
8732 (ctan_test_upward): Likewise.
8733 (ctanh_test): Likewise.
8734 (ctanh_test_tonearest): Likewise.
8735 (ctanh_test_towardzero): Likewise.
8736 (ctanh_test_downward): Likewise.
8737 (ctanh_test_upward): Likewise.
8738 (erf_test): Likewise.
8739 (erfc_test): Likewise.
8740 (exp_test): Likewise.
8741 (exp_test_tonearest): Likewise.
8742 (exp_test_towardzero): Likewise.
8743 (exp_test_downward): Likewise.
8744 (exp_test_upward): Likewise.
8745 (exp10_test): Likewise.
8746 (exp2_test): Likewise.
8747 (expm1_test): Likewise.
8748 (fmod_test): Likewise.
8749 (gamma_test): Likewise.
8750 (hypot_test): Likewise.
8751 (j0_test): Likewise.
8752 (j1_test): Likewise.
8753 (jn_test): Likewise.
8754 (lgamma_test): Likewise.
8755 (log_test): Likewise.
8756 (log10_test): Likewise.
8757 (log1p_test): Likewise.
8758 (log2_test): Likewise.
8759 (logb_test_downward): Likewise.
8760 (pow_test): Likewise.
8761 (pow_test_tonearest): Likewise.
8762 (pow_test_towardzero): Likewise.
8763 (pow_test_downward): Likewise.
8764 (pow_test_upward): Likewise.
8765 (remainder_test): Likewise.
8766 (remquo_test): Likewise.
8767 (sin_test): Likewise.
8768 (sin_test_tonearest): Likewise.
8769 (sin_test_towardzero): Likewise.
8770 (sin_test_downward): Likewise.
8771 (sin_test_upward): Likewise.
8772 (sincos_test): Likewise.
8773 (sinh_test): Likewise.
8774 (sinh_test_tonearest): Likewise.
8775 (sinh_test_towardzero): Likewise.
8776 (sinh_test_downward): Likewise.
8777 (sinh_test_upward): Likewise.
8778 (sqrt_test): Likewise.
8779 (tan_test): Likewise.
8780 (tan_test_tonearest): Likewise.
8781 (tan_test_towardzero): Likewise.
8782 (tan_test_downward): Likewise.
8783 (tan_test_upward): Likewise.
8784 (tanh_test): Likewise.
8785 (tgamma_test): Likewise.
8786 (y0_test): Likewise.
8787 (y1_test): Likewise.
8788 (yn_test): Likewise.
8789
8790 * math/gen-libm-test.pl (adjust_arg): Remove function.
8791 (special_function): Remove argument $in_func. Only handle
8792 generating output for tables of tests, not inside functions.
8793 (parse_args): Likewise.
8794 (generate_testfile): Remove variable $in_func. Update call to
8795 parse_args.
8796 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8797 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8798 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8799 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8800 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8801 (MAX_VALUE_INIT): Rename macro to max_value.
8802 (MIN_VALUE_INIT): Rename macro to min_value.
8803 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8804 (plus_zero): Remove variable.
8805 (minus_zero): Likewise.
8806 (plus_infty): Likewise.
8807 (minus_infty): Likewise.
8808 (qnan_value): Likewise.
8809 (max_value): Likewise.
8810 (min_value): Likewise.
8811 (min_subnorm_value): Likewise.
8812
8813 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8814
8815 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8816 uint64_t or uint32_t usage.
8817 * crypt/sha256-block.c: Likewise.
8818 * crypt/sha256-crypt.c: Likewise.
8819 * crypt/sha256.c: Likewise.
8820 * crypt/sha512-block.c: Likewise.
8821 * crypt/sha512-crypt.c: Likewise.
8822 * crypt/sha512.c: Likewise.
8823 * debug/backtrace-tst.c: Likewise.
8824 * debug/pcprofiledump.c: Likewise.
8825 * elf/cache.c: Likewise.
8826 * elf/dl-cache.c: Likewise.
8827 * elf/dl-misc.c: Likewise.
8828 * elf/dl-profile.c: Likewise.
8829 * elf/dl-support.c: Likewise.
8830 * elf/ldconfig.c: Likewise.
8831 * elf/sprof.c: Likewise.
8832 * iconv/dummy-repertoire.c: Likewise.
8833 * iconv/iconv_charmap.c: Likewise.
8834 * iconv/skeleton.c: Likewise.
8835 * iconvdata/8bit-generic.c: Likewise.
8836 * iconvdata/cp737.h: Likewise.
8837 * iconvdata/cp775.h: Likewise.
8838 * iconvdata/ibm1008.h: Likewise.
8839 * iconvdata/ibm1025.h: Likewise.
8840 * iconvdata/ibm1046.h: Likewise.
8841 * iconvdata/ibm1097.h: Likewise.
8842 * iconvdata/ibm1112.h: Likewise.
8843 * iconvdata/ibm1122.h: Likewise.
8844 * iconvdata/ibm1123.h: Likewise.
8845 * iconvdata/ibm1124.h: Likewise.
8846 * iconvdata/ibm1129.h: Likewise.
8847 * iconvdata/ibm1130.h: Likewise.
8848 * iconvdata/ibm1132.h: Likewise.
8849 * iconvdata/ibm1133.h: Likewise.
8850 * iconvdata/ibm1137.h: Likewise.
8851 * iconvdata/ibm1140.h: Likewise.
8852 * iconvdata/ibm1141.h: Likewise.
8853 * iconvdata/ibm1142.h: Likewise.
8854 * iconvdata/ibm1143.h: Likewise.
8855 * iconvdata/ibm1144.h: Likewise.
8856 * iconvdata/ibm1145.h: Likewise.
8857 * iconvdata/ibm1146.h: Likewise.
8858 * iconvdata/ibm1147.h: Likewise.
8859 * iconvdata/ibm1148.h: Likewise.
8860 * iconvdata/ibm1149.h: Likewise.
8861 * iconvdata/ibm1153.h: Likewise.
8862 * iconvdata/ibm1154.h: Likewise.
8863 * iconvdata/ibm1155.h: Likewise.
8864 * iconvdata/ibm1156.h: Likewise.
8865 * iconvdata/ibm1157.h: Likewise.
8866 * iconvdata/ibm1158.h: Likewise.
8867 * iconvdata/ibm1160.h: Likewise.
8868 * iconvdata/ibm1161.h: Likewise.
8869 * iconvdata/ibm1162.h: Likewise.
8870 * iconvdata/ibm1163.h: Likewise.
8871 * iconvdata/ibm1164.h: Likewise.
8872 * iconvdata/ibm1166.h: Likewise.
8873 * iconvdata/ibm1167.h: Likewise.
8874 * iconvdata/ibm12712.h: Likewise.
8875 * iconvdata/ibm1390.h: Likewise.
8876 * iconvdata/ibm1399.h: Likewise.
8877 * iconvdata/ibm16804.h: Likewise.
8878 * iconvdata/ibm4517.h: Likewise.
8879 * iconvdata/ibm4899.h: Likewise.
8880 * iconvdata/ibm4909.h: Likewise.
8881 * iconvdata/ibm4971.h: Likewise.
8882 * iconvdata/ibm5347.h: Likewise.
8883 * iconvdata/ibm803.h: Likewise.
8884 * iconvdata/ibm856.h: Likewise.
8885 * iconvdata/ibm901.h: Likewise.
8886 * iconvdata/ibm902.h: Likewise.
8887 * iconvdata/ibm9030.h: Likewise.
8888 * iconvdata/ibm9066.h: Likewise.
8889 * iconvdata/ibm921.h: Likewise.
8890 * iconvdata/ibm922.h: Likewise.
8891 * iconvdata/ibm9448.h: Likewise.
8892 * iconvdata/isiri-3342.h: Likewise.
8893 * iconvdata/jis0201.h: Likewise.
8894 * include/link.h: Likewise.
8895 * include/netdb.h: Likewise.
8896 * inet/check_native.c: Likewise.
8897 * inet/check_pf.c: Likewise.
8898 * inet/getipv4sourcefilter.c: Likewise.
8899 * inet/getnameinfo.c: Likewise.
8900 * inet/getsourcefilter.c: Likewise.
8901 * inet/htonl.c: Likewise.
8902 * inet/setipv4sourcefilter.c: Likewise.
8903 * inet/setsourcefilter.c: Likewise.
8904 * inet/test-inet6_opt.c: Likewise.
8905 * inet/tst-network.c: Likewise.
8906 * locale/C-collate.c: Likewise.
8907 * locale/C-ctype.c: Likewise.
8908 * locale/C-time.c: Likewise.
8909 * locale/C-translit.h: Likewise.
8910 * locale/loadarchive.c: Likewise.
8911 * locale/programs/3level.h: Likewise.
8912 * locale/programs/charmap.c: Likewise.
8913 * locale/programs/charmap.h: Likewise.
8914 * locale/programs/ld-address.c: Likewise.
8915 * locale/programs/ld-collate.c: Likewise.
8916 * locale/programs/ld-ctype.c: Likewise.
8917 * locale/programs/ld-identification.c: Likewise.
8918 * locale/programs/ld-measurement.c: Likewise.
8919 * locale/programs/ld-messages.c: Likewise.
8920 * locale/programs/ld-monetary.c: Likewise.
8921 * locale/programs/ld-name.c: Likewise.
8922 * locale/programs/ld-numeric.c: Likewise.
8923 * locale/programs/ld-paper.c: Likewise.
8924 * locale/programs/ld-telephone.c: Likewise.
8925 * locale/programs/ld-time.c: Likewise.
8926 * locale/programs/linereader.c: Likewise.
8927 * locale/programs/locale.c: Likewise.
8928 * locale/programs/locarchive.c: Likewise.
8929 * locale/programs/locfile.h: Likewise.
8930 * locale/programs/repertoire.c: Likewise.
8931 * locale/programs/simple-hash.c: Likewise.
8932 * locale/programs/simple-hash.h: Likewise.
8933 * malloc/memusage.c: Likewise.
8934 * malloc/memusagestat.c: Likewise.
8935 * nis/nis_defaults.c: Likewise.
8936 * nis/nis_hash.c: Likewise.
8937 * nis/nis_print.c: Likewise.
8938 * nis/nis_xdr.c: Likewise.
8939 * nscd/connections.c: Likewise.
8940 * nscd/hstcache.c: Likewise.
8941 * nscd/nscd_gethst_r.c: Likewise.
8942 * nscd/nscd_getserv_r.c: Likewise.
8943 * nscd/nscd_helper.c: Likewise.
8944 * nscd/servicescache.c: Likewise.
8945 * nss/makedb.c: Likewise.
8946 * nss/nss_db/db-XXX.c: Likewise.
8947 * nss/nss_db/db-initgroups.c: Likewise.
8948 * nss/nss_db/db-netgrp.c: Likewise.
8949 * nss/nss_files/files-network.c: Likewise.
8950 * nss/nss_files/files-parse.c: Likewise.
8951 * posix/bug-regex5.c: Likewise.
8952 * posix/fnmatch_loop.c: Likewise.
8953 * posix/regcomp.c: Likewise.
8954 * posix/regexec.c: Likewise.
8955 * posix/tst-rfc3484-2.c: Likewise.
8956 * posix/tst-rfc3484-3.c: Likewise.
8957 * posix/tst-rfc3484.c: Likewise.
8958 * resolv/nss_dns/dns-canon.c: Likewise.
8959 * resolv/nss_dns/dns-network.c: Likewise.
8960 * resolv/res_init.c: Likewise.
8961 * resolv/res_mkquery.c: Likewise.
8962 * resolv/tst-aton.c: Likewise.
8963 * stdlib/cxa_atexit.c: Likewise.
8964 * stdlib/cxa_finalize.c: Likewise.
8965 * stdlib/gen-fpioconst.c: Likewise.
8966 * stdlib/strtol_l.c: Likewise.
8967 * string/tst-endian.c: Likewise.
8968 * sunrpc/auth_des.c: Likewise.
8969 * sunrpc/clnt_udp.c: Likewise.
8970 * sunrpc/rtime.c: Likewise.
8971 * sunrpc/svcauth_des.c: Likewise.
8972 * sunrpc/xdr.c: Likewise.
8973 * sunrpc/xdr_intXX_t.c: Likewise.
8974 * sunrpc/xdr_rec.c: Likewise.
8975 * sysdeps/generic/ldconfig.h: Likewise.
8976 * sysdeps/generic/ldsodefs.h: Likewise.
8977 * sysdeps/generic/memusage.h: Likewise.
8978 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8979 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8980 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8981 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8982 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8983 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8984 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8985 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8986 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8987 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8988 * sysdeps/posix/getaddrinfo.c: Likewise.
8989 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8990 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8991 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8992 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8993 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8994 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8995 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8996 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8997 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8998 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8999 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9000 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9001 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9002 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9003 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9004 * sysdeps/x86_64/dl-tls.h: Likewise.
9005 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9006 * time/alt_digit.c: Likewise.
9007 * time/era.c: Likewise.
9008 * wcsmbs/tst-c16c32-1.c: Likewise.
9009
9010 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9011
9012 * math/libm-test.inc (struct test_sincos_data): New type.
9013 (RUN_TEST_LOOP_sincos): New macro.
9014 (sincos_test_data): New variable.
9015 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9016
9017 2013-05-16 Richard Henderson <rth@redhat.com>
9018
9019 * math/atest-exp2.c (LIMB64): New macro.
9020 (CONSTSZ): New macro.
9021 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9022 (hexdig): Move ...
9023 (print_mpn_fp): ... to function scope.
9024 (read_mpn_hex): Remove.
9025 (get_log2): Remove.
9026 (exp2_mpn): Use mp_log2.
9027 (main): Use mp_exp1.
9028
9029 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9030
9031 * math/libm-test.inc: Remove comment about not testing "inexact"
9032 exceptions.
9033 (INEXACT_EXCEPTION): New macro.
9034 (NO_INEXACT_EXCEPTION): Likewise.
9035 (INVALID_EXCEPTION_OK): Update value.
9036 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9037 (OVERFLOW_EXCEPTION_OK): Likewise.
9038 (UNDERFLOW_EXCEPTION_OK): Likewise.
9039 (IGNORE_ZERO_INF_SIGN): Likewise.
9040 (ERRNO_UNCHANGED): Likewise.
9041 (ERRNO_EDOM): Likewise.
9042 (ERRNO_ERANGE): Likewise.
9043 (test_exceptions): Handle testing "inexact" exceptions.
9044 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9045 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9046 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9047 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9048 INEXACT_EXCEPTION.
9049 (rint_towardzero_test_data): Likewise.
9050 (rint_downward_test_data): Likewise.
9051 (rint_upward_test_data): Likewise.
9052
9053 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9054 with OVERFLOW_EXCEPTION.
9055 (exp10_test_data): Likewise.
9056 (exp2_test_data): Likewise.
9057 (expm1_test_data): Likewise.
9058 (lgamma_test_data): Likewise.
9059 (pow_test_data): Likewise.
9060 (tgamma_test_data): Likewise.
9061 (yn_test_data): Remove duplicate test of overflow.
9062
9063 * math/libm-test.inc (struct test_cc_c_data): New type.
9064 (RUN_TEST_LOOP_cc_c): New macro.
9065 (cpow_test_data): New variable.
9066 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9067
9068 * math/libm-test.inc (struct test_f_L_data): New type.
9069 (RUN_TEST_LOOP_f_L): New macro.
9070 (llrint_test_data): New variable.
9071 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9072 (llrint_tonearest_test_data): New variable.
9073 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9074 (llrint_towardzero_test_data): New variable.
9075 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9076 (llrint_downward_test_data): New variable.
9077 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9078 (llrint_upward_test_data): New variable.
9079 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9080 (llround_test_data): New variable.
9081 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9082
9083 2013-05-13 Peter Collingbourne <pcc@google.com>
9084
9085 * math/atest-exp2.c (get_log2): Remove const attribute.
9086
9087 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9088
9089 * math/libm-test.inc (struct test_f_l_data): New type.
9090 (RUN_TEST_LOOP_f_l): New macro.
9091 (lrint_test_data): New variable.
9092 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9093 (lrint_tonearest_test_data): New variable.
9094 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9095 (lrint_towardzero_test_data): New variable.
9096 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9097 (lrint_downward_test_data): New variable.
9098 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9099 (lrint_upward_test_data): New variable.
9100 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9101 (lround_test_data): New variable.
9102 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9103
9104 2013-05-15 Peter Collingbourne <pcc@google.com>
9105
9106 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9107 (EXTRACT_WORDS64) Use where appropriate.
9108 (INSERT_WORDS64) Likewise.
9109
9110 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9111 constraints with x constraints.
9112 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9113
9114 * malloc/obstack.c (_obstack_compat): Add initializer.
9115
9116 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9117
9118 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9119 si_trapno and add si_addr_lsb to _sifields.sigfault.
9120 (si_trapno): Remove macro.
9121 (si_addr_lsb): Define new macro.
9122 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9123
9124 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9125
9126 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9127 instead of TEST_f_l.
9128 (llrint_test_tonearest): Likewise.
9129 (llrint_test_towardzero): Likewise.
9130 (llrint_test_downward): Likewise.
9131 (llrint_test_upward): Likewise.
9132 (llround_test): Likewise.
9133
9134 * math/libm-test.inc (struct test_f_i_data): Add comment.
9135 (RUN_TEST_LOOP_f_b): New macro.
9136 (RUN_TEST_LOOP_f_b_tg): Likewise.
9137 (finite_test_data): New variable.
9138 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9139 (isfinite_test_data): New variable.
9140 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9141 (isinf_test_data): New variable.
9142 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9143 (isnan_test_data): New variable.
9144 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9145 (isnormal_test_data): New variable.
9146 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9147 (issignaling_test_data): New variable.
9148 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9149 (signbit_test_data): New variable.
9150 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9151
9152 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9153 with INVALID_EXCEPTION.
9154 (acosh_test_data): Likewise.
9155 (asin_test_data): Likewise.
9156 (atanh_test_data): Likewise.
9157 (fmod_test_data): Likewise.
9158 (log_test_data): Likewise.
9159 (log10_test_data): Likewise.
9160 (log2_test_data): Likewise.
9161 (pow_test_data): Likewise.
9162 (sqrt_test_data): Likewise.
9163 (y0_test_data): Likewise.
9164 (y1_test_data): Likewise.
9165 (yn_test_data): Likewise.
9166
9167 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9168 function contents.
9169
9170 * math/libm-test.inc (struct test_ff_i_data): New type.
9171 (RUN_TEST_LOOP_ff_i_tg): New macro.
9172 (isgreater_test_data): New variable.
9173 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9174 (isgreaterequal_test_data): New variable.
9175 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9176 (isless_test_data): New variable.
9177 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9178 (islessequal_test_data): New variable.
9179 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9180 (islessgreater_test_data): New variable.
9181 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9182 (isunordered_test_data): New variable.
9183 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9184
9185 2013-05-14 David S. Miller <davem@davemloft.net>
9186
9187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9188
9189 2013-05-14 Joseph Myers <joseph@codesourcery.com>
9190
9191 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9192
9193 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9194 extra_test to int.
9195 (struct test_f_i_data): Change type of max_ulp to int.
9196
9197 * math/libm-test.inc (test_ffI_f1_data): New type.
9198 (RUN_TEST_LOOP_ffI_f1): New macro.
9199 (remquo_test_data): New variable.
9200 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9201
9202 * setjmp/tst-setjmp-fp.c: New file.
9203 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9204 (link-libm): New variable.
9205 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9206
9207 * math/libm-test.inc (struct test_f_i_data): New type.
9208 (RUN_TEST_LOOP_f_i): New macro.
9209 (RUN_TEST_LOOP_f_i_tg): Likewise.
9210 (fpclassify_test_data): New variable.
9211 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9212 (ilogb_test_data): New variable.
9213 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9214
9215 * math/libm-test.inc (scalbln_test): Correct function name in END
9216 call.
9217
9218 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9219 (RUN_TEST_LOOP_fI_f1): New macro.
9220 (frexp_test_data): New variable.
9221 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9222
9223 * math/libm-test.inc (struct test_fF_f1_data): New type.
9224 (RUN_TEST_LOOP_fF_f1): New macro.
9225 (modf_test_data): New variable.
9226 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9227
9228 * math/libm-test.inc (struct test_f_f1_data): New type.
9229 (RUN_TEST_LOOP_f_f1): New macro.
9230 (gamma_test_data): New variable.
9231 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9232 (lgamma_test_data): New variable.
9233 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9234
9235 2013-05-13 Carlos O'Donell <carlos@redhat.com>
9236
9237 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9238 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9239 (main): Comment "tls" pseudo-hwcap.
9240
9241 2013-05-13 Joseph Myers <joseph@codesourcery.com>
9242
9243 * math/libm-test.inc (struct test_fl_f_data): New type.
9244 (RUN_TEST_LOOP_fl_f): New variable.
9245 (scalbln_test_data): New variable.
9246 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9247
9248 * math/libm-test.inc (struct test_fi_f_data): New type.
9249 (RUN_TEST_LOOP_fi_f): New macro.
9250 (ldexp_test_data): New variable.
9251 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9252 (scalbn_test_data): New variable.
9253 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9254
9255 * math/libm-test.inc (struct test_c_f_data): New type.
9256 (RUN_TEST_LOOP_c_f): New macro.
9257 (cabs_test_data): New variable.
9258 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9259 (carg_test_data): New variable.
9260 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9261 (cimag_test_data): New variable.
9262 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9263 (creal_test_data): New variable.
9264 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9265
9266 * math/libm-test.inc (struct test_if_f_data): New type.
9267 (RUN_TEST_LOOP_if_f): New macro.
9268 (jn_test_data): New variable.
9269 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9270 (yn_test_data): New variable.
9271 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9272
9273 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9274
9275 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9276
9277 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9278 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9279
9280 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9281
9282 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9283 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9284 (bench-deps): Add bench-timing.h.
9285 * benchtests-bench-skeleton.c: Include bench-timing.h.
9286 (main): Use TIMING_* macros instead of clock_gettime.
9287 * benchtests/bench-timing.h: New file.
9288
9289 [BZ #14582]
9290 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9291 Renamed from _LIB_VERSION.
9292 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9293
9294 2013-05-12 Joseph Myers <joseph@codesourcery.com>
9295
9296 * math/libm-test.inc (struct test_fff_f_data): New type.
9297 (RUN_TEST_LOOP_fff_f): New macro.
9298 (fma_test_data): New variable.
9299 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9300 (fma_towardzero_test_data): New variable.
9301 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9302 (fma_downward_test_data): New variable.
9303 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9304 (fma_upward_test_data): New variable.
9305 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9306
9307 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9308 (struct test_c_c_data): New type.
9309 (RUN_TEST_LOOP_c_c): New macro.
9310 (cacos_test_data): New variable.
9311 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9312 (cacosh_test_data): New variable.
9313 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9314 (casin_test_data): New variable.
9315 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9316 (casinh_test_data): New variable.
9317 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9318 (catan_test_data): New variable.
9319 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9320 (catanh_test_data): New variable.
9321 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9322 (ccos_test_data): New variable.
9323 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9324 (ccosh_test_data): New variable.
9325 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9326 (cexp_test_data): New variable.
9327 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9328 (clog_test_data): New variable.
9329 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9330 (clog10_test_data): New variable.
9331 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9332 (conj_test_data): New variable.
9333 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9334 (cproj_test_data): New variable.
9335 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9336 (csin_test_data): New variable.
9337 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9338 (csinh_test_data): New variable.
9339 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9340 (csqrt_test_data): New variable.
9341 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9342 (ctan_test_data): New variable.
9343 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9344 (ctan_tonearest_test_data): New variable.
9345 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9346 (ctan_towardzero_test_data): New variable.
9347 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9348 (ctan_downward_test_data): New variable.
9349 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9350 (ctan_upward_test_data): New variable.
9351 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9352 (ctanh_test_data): New variable.
9353 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9354 (ctanh_tonearest_test_data): New variable.
9355 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9356 (ctanh_towardzero_test_data): New variable.
9357 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9358 (ctanh_downward_test_data): New variable.
9359 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9360 (ctanh_upward_test_data): New variable.
9361 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9362 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9363 of BUILD_COMPLEX.
9364
9365 * math/libm-test.inc (struct test_ff_f_data): New type.
9366 (struct test_ff_f_data_nexttoward): Likewise.
9367 (RUN_TEST_LOOP_2_f): New macro.
9368 (RUN_TEST_LOOP_ff_f): Likewise.
9369 (atan2_test_data): New variable.
9370 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9371 (copysign_test_data): New variable.
9372 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9373 (fdim_test_data): New variable.
9374 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9375 (fmax_test_data): New variable.
9376 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9377 (fmin_test_data): New variable.
9378 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9379 (fmod_test_data): New variable.
9380 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9381 (hypot_test_data): New variable.
9382 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9383 (nextafter_test_data): New variable.
9384 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9385 (nexttoward_test_data): New variable.
9386 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9387 (pow_test_data): New variable.
9388 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9389 (pow_tonearest_test_data): New variable.
9390 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9391 (pow_towardzero_test_data): New variable.
9392 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9393 (pow_downward_test_data): New variable.
9394 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9395 (pow_upward_test_data): New variable.
9396 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9397 (remainder_test_data): New variable.
9398 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9399 (scalb_test_data): New variable.
9400 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9401 * sysdeps/i386/fpu/libm-test-ulps: Update.
9402
9403 2013-05-11 Joseph Myers <joseph@codesourcery.com>
9404
9405 * math/libm-test.inc (fma_test): Use max_value instead of local
9406 variable fltmax.
9407 (nextafter_test): Likewise.
9408
9409 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9410 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9411 (acos_downward_test_data): New variable.
9412 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9413 (acos_upward_test_data): New variable.
9414 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9415 (acosh_test_data): New variable.
9416 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9417 (asin_test_data): New variable.
9418 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9419 (asin_tonearest_test_data): New variable.
9420 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9421 (asin_towardzero_test_data): New variable.
9422 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9423 (asin_downward_test_data): New variable.
9424 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9425 (asin_upward_test_data): New variable.
9426 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9427 (asinh_test_data): New variable.
9428 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9429 (atan_test_data): New variable.
9430 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9431 (atanh_test_data): New variable.
9432 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9433 (cbrt_test_data): New variable.
9434 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9435 (ceil_test_data): New variable.
9436 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9437 (cos_test_data): New variable.
9438 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9439 (cos_tonearest_test_data): New variable.
9440 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9441 (cos_towardzero_test_data): New variable.
9442 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9443 (cos_downward_test_data): New variable.
9444 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9445 (cos_upward_test_data): New variable.
9446 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9447 (cosh_test_data): New variable.
9448 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9449 (cosh_tonearest_test_data): New variable.
9450 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9451 (cosh_towardzero_test_data): New variable.
9452 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9453 (cosh_downward_test_data): New variable.
9454 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9455 (cosh_upward_test_data): New variable.
9456 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9457 (erf_test_data): New variable.
9458 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9459 (erfc_test_data): New variable.
9460 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9461 (exp_test_data): New variable.
9462 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9463 (exp_tonearest_test_data): New variable.
9464 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9465 (exp_towardzero_test_data): New variable.
9466 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9467 (exp_downward_test_data): New variable.
9468 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9469 (exp_upward_test_data): New variable.
9470 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9471 (exp10_test_data): New variable.
9472 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9473 (exp2_test_data): New variable.
9474 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9475 (expm1_test_data): New variable.
9476 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9477 (fabs_test_data): New variable.
9478 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9479 (floor_test_data): New variable.
9480 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9481 (j0_test_data): New variable.
9482 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9483 (j1_test_data): New variable.
9484 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9485 (log_test_data): New variable.
9486 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9487 (log10_test_data): New variable.
9488 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9489 (log1p_test_data): New variable.
9490 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9491 (log2_test_data): New variable.
9492 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9493 (logb_test_data): New variable.
9494 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9495 (logb_downward_test_data): New variable.
9496 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9497 (nearbyint_test_data): New variable.
9498 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9499 (rint_test_data): New variable.
9500 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9501 (rint_tonearest_test_data): New variable.
9502 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9503 (rint_towardzero_test_data): New variable.
9504 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9505 (rint_downward_test_data): New variable.
9506 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9507 (rint_upward_test_data): New variable.
9508 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9509 (round_test_data): New variable.
9510 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9511 (sin_test_data): New variable.
9512 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9513 (sin_tonearest_test_data): New variable.
9514 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9515 (sin_towardzero_test_data): New variable.
9516 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9517 (sin_downward_test_data): New variable.
9518 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9519 (sin_upward_test_data): New variable.
9520 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9521 (sinh_test_data): New variable.
9522 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9523 (sinh_tonearest_test_data): New variable.
9524 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9525 (sinh_towardzero_test_data): New variable.
9526 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9527 (sinh_downward_test_data): New variable.
9528 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9529 (sinh_upward_test_data): New variable.
9530 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9531 (sqrt_test_data): New variable.
9532 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9533 (tan_test_data): New variable.
9534 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9535 (tan_tonearest_test_data): New variable.
9536 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9537 (tan_towardzero_test_data): New variable.
9538 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9539 (tan_downward_test_data): New variable.
9540 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9541 (tan_upward_test_data): New variable.
9542 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9543 (tanh_test_data): New variable.
9544 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9545 (tgamma_test_data): New variable.
9546 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9547 (trunc_test_data): New variable.
9548 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9549 (y0_test_data): New variable.
9550 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9551 (y1_test_data): New variable.
9552 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9553 (significand_test_data): New variable.
9554 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9555
9556 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9557
9558 [BZ #12387]
9559 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9560
9561 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9562
9563 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9564
9565 2013-05-10 Andreas Jaeger <aj@suse.de>
9566
9567 [BZ #15448]
9568 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9569 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9570
9571 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9572
9573 * math/gen-libm-test.pl (adjust_arg): New function.
9574 (special_functions): Handle generating output in both functions
9575 and arrays.
9576 (parse_args): Likewise.
9577 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9578 $in_func argument to parse_args.
9579 * math/libm-test.inc (struct test_f_f_data): New type.
9580 (IF_ROUND_INIT_): New macro.
9581 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9582 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9583 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9584 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9585 (ROUND_RESTORE_): Likewise.
9586 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9587 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9588 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9589 (ROUND_RESTORE_FE_UPWARD): Likewise.
9590 (RUN_TEST_LOOP_f_f): New macro.
9591 (acos_test_data): New variable.
9592 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9593 (acos_tonearest_test_data): New variable.
9594 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9595
9596 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9597
9598 * benchtests/bench-skeleton.c (startup): Fix coding style.
9599
9600 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9601
9602 [BZ #6809]
9603 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9604 negative infinity argument.
9605 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9606 negative infinity argument.
9607 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9608 negative infinity argument.
9609 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9610 domain errors.
9611
9612 2013-05-10 Florian Weimer <fweimer@redhat.com>
9613
9614 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9615 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9616 * iconv/iconv_prog.c (main): Likewise.
9617 * locale/programs/charmap-dir.c (charmap_readdir)
9618 (fopen_uncompressed): Likewise.
9619 * locale/programs/locfile.c (siblings_uncached)
9620 (write_locale_data): Use lstat64 instead of lstat.
9621 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9622 stat.
9623
9624 2013-05-10 Andreas Jaeger <aj@suse.de>
9625
9626 [BZ #15395]
9627 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9628 localization.
9629 Include <locale.h>.
9630
9631 2013-05-09 Carlos O'Donell <carlos@redhat.com>
9632
9633 * elf/dl-close.c (_dl_close_worker): Add comments.
9634
9635 2013-05-09 Joseph Myers <joseph@codesourcery.com>
9636
9637 [BZ #15359]
9638 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9639 high part of pi/2.
9640 (__ieee754_rem_pio2l): Update comments.
9641
9642 [BZ #15429]
9643 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9644 high part of pi/2.
9645 (__ieee754_rem_pio2l): Update comments.
9646
9647 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9648 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9649
9650 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9651 M_PI_4l.
9652
9653 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9654 (M_PI_34_LOG10El): Likewise.
9655 (M_PI2_LOG10El): Likewise.
9656 (M_PI4_LOG10El): Likewise.
9657 (M_PI_LOG10El): Likewise.
9658
9659 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9660
9661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9662
9663 2013-05-08 Joseph Myers <joseph@codesourcery.com>
9664
9665 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9666 (MINUS_ZERO_INIT): Likewise.
9667 (PLUS_INFTY_INIT): Likewise.
9668 (MINUS_INFTY_INIT): Likewise.
9669 (QNAN_VALUE_INIT): Likewise.
9670 (MAX_VALUE_INIT): Likewise.
9671 (MIN_VALUE_INIT): Likewise.
9672 (MIN_SUBNORM_VALUE_INIT): Likewise.
9673 (plus_zero): Initialize with PLUS_ZERO_INIT.
9674 (minus_zero): Initialize with MINUS_ZERO_INIT.
9675 (plus_infty): Initialize with PLUS_INFTY_INIT.
9676 (minus_infty): Initialize with MINUS_INFTY_INIT.
9677 (qnan_value): Initialize with QNAN_VALUE_INIT.
9678 (max_value): Initialize with MAX_VALUE_INIT.
9679 (min_value): Initialize with MIN_VALUE_INIT.
9680 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9681
9682 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9683 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9684 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9685 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9686
9687 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9688 (RUN_TEST_2_f): Likewise.
9689 (RUN_TEST_ff_f): Likewise.
9690 (RUN_TEST_fi_f): Likewise.
9691 (RUN_TEST_fl_f): Likewise.
9692 (RUN_TEST_fff_f): Likewise.
9693 (RUN_TEST_c_f): Likewise.
9694 (RUN_TEST_f_f1): Likewise.
9695 (RUN_TEST_fF_f1): Likewise.
9696 (RUN_TEST_fI_f1): Likewise.
9697 (RUN_TEST_ffI_f1): Likewise.
9698 (RUN_TEST_c_c): Likewise.
9699 (RUN_TEST_cc_c): Likewise.
9700 (RUN_TEST_f_i): Likewise.
9701 (RUN_TEST_f_i_tg): Likewise.
9702 (RUN_TEST_ff_i_tg): Likewise.
9703 (RUN_TEST_f_b): Likewise.
9704 (RUN_TEST_f_b_tg): Likewise.
9705 (RUN_TEST_f_l): Likewise.
9706 (RUN_TEST_f_L): Likewise.
9707 (RUN_TEST_sincos): Likewise.
9708 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9709 whether to show exceptions. Do not include ");\n" in return
9710 value.
9711 (special_functions): Output call to RUN_TEST_sincos instead of
9712 check_float calls. Update calls to new_test.
9713 (parse_args): Output call to single RUN_TEST_* macro instead of
9714 check_* calls and other assignments. Update calls to new_test.
9715
9716 [BZ #2546]
9717 [BZ #2560]
9718 [BZ #5159]
9719 [BZ #15426]
9720 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9721 input to result for tgamma overflow.
9722 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9723 (gamma_coeff): New variable.
9724 (NCOEFF): New macro.
9725 (gamma_positive): New function.
9726 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9727 underflow here. Use gamma_positive instead of exp (lgamma) for
9728 other arguments.
9729 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9730 (gamma_coeff): New variable.
9731 (NCOEFF): New macro.
9732 (gammaf_positive): New function.
9733 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9734 underflow here. Use gamma_positive instead of exp (lgamma) for
9735 other arguments.
9736 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9737 (gamma_coeff): New variable.
9738 (NCOEFF): New macro.
9739 (gammal_positive): New function.
9740 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9741 underflow here. Use gamma_positive instead of exp (lgamma) for
9742 other arguments.
9743 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9744 (gamma_coeff): New variable.
9745 (NCOEFF): New macro.
9746 (gammal_positive): New function.
9747 (__ieee754_gammal_r): Handle positive infinity, overflow and
9748 underflow here. Handle NaN the same as positive infinity. Remove
9749 check x < 0xffffffff for negative integers. Use gamma_positive
9750 instead of exp (lgamma) for other arguments.
9751 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9752 (gamma_coeff): New variable.
9753 (NCOEFF): New macro.
9754 (gammal_positive): New function.
9755 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9756 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9757 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9758 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9759 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9760 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9761 * sysdeps/generic/math_private.h (__gamma_productf): New
9762 prototype.
9763 (__gamma_product): Likewise.
9764 (__gamma_productl): Likewise.
9765 * math/Makefile (libm-calls): Add gamma_product.
9766 * math/libm-test.inc (tgamma_test): Add more tests.
9767 * sysdeps/i386/fpu/libm-test-ulps: Update.
9768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9769
9770 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
9771
9772 * benchtests/bench-skeleton.c (main): Preheat CPU.
9773
9774 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9775
9776 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9777
9778 2013-05-07 Roland McGrath <roland@hack.frob.com>
9779
9780 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9781 and _dl_skip_args_internal.
9782
9783 2013-05-07 Carlos O'Donell <carlos@redhat.com>
9784
9785 * manual/message.texi (Message Translation): Talk about users.
9786 Message to key mapping impacts design.
9787
9788 2013-05-06 Roland McGrath <roland@hack.frob.com>
9789
9790 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9791
9792 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9793
9794 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9795 * sysdeps/wordsize-64/glob64.c: ... here.
9796
9797 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9798 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9799 New macros.
9800
9801 * debug/getlogin_r_chk.c: Moved to ...
9802 * login/getlogin_r_chk.c: ... here.
9803 * debug/Makefile (routines): Move getlogin_r_chk to ...
9804 * login/Makefile (routines): ... here.
9805 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9806 * login/Versions (libc: GLIBC_2.4): ... here.
9807
9808 * io/poll.c (__poll): Renamed from poll.
9809 Add libc_hidden_def.
9810 (poll): Define as weak alias.
9811
9812 * debug/ptsname_r_chk.c: Moved to ...
9813 * login/ptsname_r_chk.c: ... here.
9814 * debug/Makefile (routines): Move ptsname_r_chk to ...
9815 * login/Makefile (routines): ... here.
9816 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9817 * login/Versions (libc: GLIBC_2.4): ... here.
9818
9819 * posix/getlogin.c: Moved to ...
9820 * login/getlogin.c: ... here.
9821 * posix/getlogin_r.c: Moved to ...
9822 * login/getlogin_r.c: ... here.
9823 * posix/getlogin_r.c: Moved to ...
9824 * login/getlogin_r.c: ... here.
9825 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9826 * login/Makefile (routines): ... here.
9827 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9828 * login/Versions (libc: GLIBC_2.0): ... here.
9829
9830 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9831 (setrlimit): Define as weak alias.
9832
9833 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9834 Call __ names for open, ftruncate, and close.
9835 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9836 (truncate): Define as weak alias.
9837
9838 2013-05-06 Joseph Myers <joseph@codesourcery.com>
9839
9840 * math/gen-libm-test.pl (parse_args): Initialize x before each
9841 test of frexp, modf and remquo.
9842
9843 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9844 test signgam value.
9845
9846 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9847
9848 [BZ #15418]
9849 [BZ #15419]
9850 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9851 internal tests.
9852 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9853
9854 2013-05-06 Roland McGrath <roland@hack.frob.com>
9855
9856 * elf/dl-writev.h: New file.
9857 * elf/dl-misc.c: Include it.
9858 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9859 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9860
9861 2013-05-04 Joseph Myers <joseph@codesourcery.com>
9862
9863 * math/libm-test.inc (noXFails): Remove variable.
9864 (noXPasses): Likewise.
9865 (BUILD_COMPLEX_INT): Remove macro.
9866 (print_screen): Remove xfail argument.
9867 (print_screen_max_error): Likewise.
9868 (update_stats): Likewise.
9869 (print_max_error): Likewise. Update calls to other affected
9870 functions.
9871 (print_complex_max_error): Likewise.
9872 (test_single_exception): Update calls to print_screen.
9873 (test_single_errno): Likewise.
9874 (check_float_internal): Remove xfail argument. Update calls to
9875 other affected functions.
9876 (check_float): Likewise.
9877 (check_complex): Likewise.
9878 (check_int): Likewise.
9879 (check_long): Likewise.
9880 (check_bool): Likewise.
9881 (check_longlong): Likewise.
9882 (main): Don't print noXFails and noXPasses.
9883 * math/gen-libm-test.pl (top level): Don't mention expected
9884 failure handling in comment.
9885 (new_test): Don't handle expected failures.
9886 (parse_args): Don't mention expected failure handling in comment.
9887 (generate_testfile): Don't handle expected failures.
9888 (parse_ulps): Likewise.
9889 (print_ulps_file): Likewise.
9890 (get_failure): Remove function.
9891 (output_test): Don't handle expected failures.
9892 * make/README.libm-test: Don't mention expected failure handling.
9893
9894 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9895 (minus_zero): Likewise.
9896 (plus_infty): Likewise.
9897 (minus_infty): Likewise.
9898 (qnan_value): Likewise.
9899 (max_value): Likewise.
9900 (min_value): Likewise.
9901 (min_subnorm_value): Likewise.
9902 (initialize): Do not initialize those variables dynamically.
9903
9904 2013-05-03 Roland McGrath <roland@hack.frob.com>
9905
9906 * io/open.c (__open_2): Moved to ...
9907 * io/open_2.c: ... this new file.
9908 * io/open64.c (__open64_2): Moved to ...
9909 * io/open64_2.c: ... this new file.
9910 * io/openat.c (__openat_2): Moved to ...
9911 * io/openat_2.c: ... this new file.
9912 * io/openat64.c (__openat64_2): Moved to ...
9913 * io/openat64_2.c: ... this new file.
9914 * io/Makefile (routines): Add them.
9915 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9916 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9917 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9918 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9919 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9920 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9921 (__openat64): Add hidden_ver.
9922 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9923 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9924
9925 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9926 Separately conditionalize setting of GLRO(dl_sysinfo) so
9927 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9928 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9929
9930 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9931
9932 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9933 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9934 definition.
9935 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9936 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9937 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9938 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9939 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9940
9941 2013-05-03 Joseph Myers <joseph@codesourcery.com>
9942
9943 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9944 test signgam value.
9945
9946 * math/libm-test.inc (hypot_test): Do not use
9947 IGNORE_ZERO_INF_SIGN.
9948
9949 2013-05-03 Andreas Jaeger <aj@suse.de>
9950
9951 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9952 Linux 3.9.
9953 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9954 (PF_MAX): Adjust for VSOCK change.
9955
9956 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9957
9958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9959
9960 2013-05-02 Carlos O'Donell <carlos@redhat.com>
9961
9962 [BZ #15264]
9963 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9964 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9965 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9966
9967 2013-05-02 David S. Miller <davem@davemloft.net>
9968
9969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9970
9971 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
9972
9973 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9974
9975 2013-05-01 Roland McGrath <roland@hack.frob.com>
9976
9977 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9978
9979 2013-05-01 Richard Smith <richard@metafoo.co.uk>
9980
9981 [BZ #14952]
9982 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9983 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9984 Use __attribute__ ((__gnu_inline__)).
9985 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9986 Don't use __attribute__ ((__gnu_inline__)).
9987
9988 2013-05-01 Joseph Myers <joseph@codesourcery.com>
9989
9990 [BZ #15423]
9991 * math/s_catan.c (__catan): Handle small real or imaginary part of
9992 input specially to avoid spurious underflow.
9993 * math/s_catanf.c (__catanf): Likewise.
9994 * math/s_catanh.c (__catanh): Likewise.
9995 * math/s_catanhf.c (__catanhf): Likewise.
9996 * math/s_catanhl.c (__catanhl): Likewise.
9997 * math/s_catanl.c (__catanl): Likewise.
9998 * math/libm-test.inc (catan_test): Add more tests.
9999 (catanh_test): Likewise.
10000 * sysdeps/i386/fpu/libm-test-ulps: Update.
10001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10002
10003 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10004
10005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10006
10007 2013-04-30 Joseph Myers <joseph@codesourcery.com>
10008
10009 [BZ #15416]
10010 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10011 accurately for denominator in atan2.
10012 * math/s_catanf.c (__catanf): Likewise.
10013 * math/s_catanh.c (__catanh): Likewise.
10014 * math/s_catanhf.c (__catanhf): Likewise.
10015 * math/s_catanhl.c (__catanhl): Likewise.
10016 * math/s_catanl.c (__catanl): Likewise.
10017 * math/libm-test.inc (catan_test): Add more tests.
10018 (catanh_test): Likewise.
10019 * sysdeps/i386/fpu/libm-test-ulps: Update.
10020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10021
10022 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10023
10024 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10025
10026 * benchtests/Makefile (bench): Remove slow benchmarks.
10027 * benchtests/atan-inputs: Add slow benchmark inputs.
10028 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10029 (BENCH_FUNC): Accept variant offset.
10030 (VARIANT): Define.
10031 * benchtests/bench-skeleton.c (main): Run benchmark for each
10032 variant.
10033 * benchtests/cos-inputs: Add slow benchmark inputs.
10034 * benchtests/exp-inputs: Likewise.
10035 * benchtests/pow-inputs: Likewise.
10036 * benchtests/sin-inputs: Likewise.
10037 * benchtests/slowatan-inputs: Remove.
10038 * benchtests/slowatan.c: Remove.
10039 * benchtests/slowcos-inputs: Remove.
10040 * benchtests/slowcos.c: Remove.
10041 * benchtests/slowexp-inputs: Remove.
10042 * benchtests/slowexp.c: Remove.
10043 * benchtests/slowpow-inputs: Remove.
10044 * benchtests/slowpow.c: Remove.
10045 * benchtests/slowsin-inputs: Remove.
10046 * benchtests/slowsin.c: Remove.
10047 * benchtests/slowtan-inputs: Remove.
10048 * benchtests/slowtan.c: Remove.
10049 * benchtests/tan-inputs: Add slow benchmark inputs.
10050 * scripts/bench.pl: Parse comments and directives.
10051
10052 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10053 in CPPFLAGS.
10054 ($(objpfx)bench-%.c): Remove *-ITER.
10055 * benchtests/bench-modf.c: Remove definition of ITER.
10056 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10057 (main): Loop for DURATION seconds instead of fixed number of
10058 iterations.
10059 * scripts/bench.pl: Don't expect iterations in parameters.
10060
10061 2013-04-29 Roland McGrath <roland@hack.frob.com>
10062
10063 * io/fchdir.c (__fchdir): Renamed from fchdir.
10064 (fchdir): Define as weak alias.
10065
10066 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10067
10068 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10069 (ERRNO_EDOM): Likewise.
10070 (ERRNO_ERANGE): Likewise.
10071 (noErrnoTests): New variable.
10072 (init_max_error): Set errno to 0.
10073 (test_single_errno): New function.
10074 (test_errno): Likewise.
10075 (check_float_internal): Call test_errno. Set errno to 0.
10076 (check_complex): Refer to errno tests in comment.
10077 (check_int): Call test_errno. Set errno to 0.
10078 (check_long): Likewise.
10079 (check_bool): Likewise.
10080 (check_longlong): Likewise.
10081 (cos_test): Use ERRNO_* flags for errno tests instead of
10082 check_int.
10083 (expm1_test): Likewise.
10084 (fmod_test): Likewise.
10085 (ilogb_test): Likewise.
10086 (lgamma_test): Likewise.
10087 (pow_test): Likewise.
10088 (remainder_test): Likewise.
10089 (sin_test): Likewise.
10090 (tan_test): Likewise.
10091 (yn_test): Likewise.
10092 (initialize): Set errno to 0.
10093 (main): Print number of errno tests.
10094 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10095
10096 2013-04-29 Andreas Jaeger <aj@suse.de>
10097
10098 [BZ #15084]
10099 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10100 and RES_USEVC.
10101
10102 [BZ #15085]
10103 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10104 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10105 unimplemented.
10106
10107 [BZ #15380]
10108 * stdlib/random.c (__initstate): Return NULL if
10109 __initstate fails.
10110
10111 [BZ #15086]
10112 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10113 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10114 RES_SNGLKUPREOP.
10115
10116 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10117
10118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10119
10120 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10121
10122 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10123 of individual tests.
10124 (casin_test): Likewise.
10125 (casinh_test): Likewise.
10126
10127 2013-04-27 Joseph Myers <joseph@codesourcery.com>
10128
10129 [BZ #15409]
10130 * math/s_catan.c (__catan): Handle arguments with large real or
10131 imaginary part separately without squaring.
10132 * math/s_catanf.c (__catanf): Likewise.
10133 * math/s_catanh.c (__catanh): Likewise.
10134 * math/s_catanhf.c (__catanhf): Likewise.
10135 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10136 and redefine.
10137 (__catanhl): Handle arguments with large real or imaginary part
10138 separately without squaring.
10139 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10140 and redefine.
10141 (__catanl): Handle arguments with large real or imaginary part
10142 separately without squaring.
10143 * math/libm-test.inc (catan_test): Add more tests.
10144 (catanh_test): Likewise.
10145 * sysdeps/i386/fpu/libm-test-ulps: Update.
10146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10147
10148 2013-04-27 Andreas Jaeger <aj@suse.de>
10149
10150 [BZ #15007]
10151 * stdlib/stdlib.h: Update guards for qecvt.
10152 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10153 <stdlib.h>.
10154
10155 2013-04-27 Allan McRae <allan@archlinux.org>
10156
10157 * sysdeps/i386/fpu/libm-test-ulps: Update.
10158
10159 2013-04-26 Joseph Myers <joseph@codesourcery.com>
10160
10161 [BZ #15406]
10162 * math/s_catan.c: Include <float.h>.
10163 (__catan): Ensure underflow exception occurs for underflowed
10164 result.
10165 * math/s_catanf.c: Include <float.h>.
10166 (__catanf): Ensure underflow exception occurs for underflowed
10167 result.
10168 * math/s_catanh.c: Include <float.h>.
10169 (__catanh): Ensure underflow exception occurs for underflowed
10170 result.
10171 * math/s_catanhf.c: Include <float.h>.
10172 (__catanhf): Ensure underflow exception occurs for underflowed
10173 result.
10174 * math/s_catanhl.c: Include <float.h>.
10175 (__catanhl): Ensure underflow exception occurs for underflowed
10176 result.
10177 * math/s_catanl.c: Include <float.h>.
10178 (__catanl): Ensure underflow exception occurs for underflowed
10179 result.
10180 * math/libm-test.inc (catan_test): Add more tests.
10181 (catanh_test): Likewise.
10182
10183 [BZ #15405]
10184 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10185 underflowed result.
10186 * math/s_ccoshf.c (__ccoshf): Likewise.
10187 * math/s_ccoshl.c (__ccoshl): Likewise.
10188 * math/s_csin.c (__csin): Likewise.
10189 * math/s_csinf.c (__csinf): Likewise.
10190 * math/s_csinh.c (__csinh): Likewise.
10191 * math/s_csinhf.c (__csinhf): Likewise.
10192 * math/s_csinhl.c (__csinhl): Likewise.
10193 * math/s_csinl.c (__csinl): Likewise.
10194 * math/libm-test.inc (ccos_test): Add more tests.
10195 (ccosh_test): Likewise.
10196 (csin_test): Likewise.
10197 (csinh_test): Likewise.
10198
10199 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10200
10201 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10202 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10203 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10204 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10205 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10206 powerpc/power5+/fpu folders.
10207 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10208
10209
10210 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10211
10212 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10213
10214 2013-04-25 Joseph Myers <joseph@codesourcery.com>
10215
10216 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10217 additions to variable.
10218 [$(config-machine) = x86_64] (modules-names): Likewise.
10219 ($(objpfx)tst-audit3): Remove dependency.
10220 ($(objpfx)tst-audit3.out): Likewise.
10221 ($(objpfx)tst-audit4): Likewise.
10222 ($(objpfx)tst-audit4.out): Likewise.
10223 ($(objpfx)tst-audit5): Likewise.
10224 ($(objpfx)tst-audit5.out): Likewise.
10225 ($(objpfx)tst-audit6): Likewise.
10226 ($(objpfx)tst-audit6.out): Likewise.
10227 ($(objpfx)tst-audit7): Likewise.
10228 ($(objpfx)tst-audit7.out): Likewise.
10229 (tst-audit3-ENV): Remove variable.
10230 (tst-audit4-ENV): Likewise.
10231 (tst-audit5-ENV): Likewise.
10232 (tst-audit6-ENV): Likewise.
10233 (tst-audit7-ENV): Likewise.
10234 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10235 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10236 addition to variable.
10237 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10238 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10239 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10240 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10241 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10242 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10243 tst-audit3, tst-audit4 and tst-audit5.
10244 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10245 tst-audit6 and tst-audit7.
10246 [$(subdir) = elf] (modules-names): Add audit modules for those
10247 tests.
10248 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10249 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10250 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10251 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10252 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10253 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10254 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10255 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10256 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10257 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10258 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10259 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10260 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10261 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10262 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10263 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10264 Likewise.
10265 [$(subdir) = elf && $(config-cflags-avx) = yes]
10266 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10267 [$(subdir) = elf && $(config-cflags-avx) = yes]
10268 (CFLAGS-tst-auditmod4a.c): Likewise.
10269 [$(subdir) = elf && $(config-cflags-avx) = yes]
10270 (CFLAGS-tst-auditmod4b.c): Likewise.
10271 [$(subdir) = elf && $(config-cflags-avx) = yes]
10272 (CFLAGS-tst-auditmod6b.c): Likewise.
10273 [$(subdir) = elf && $(config-cflags-avx) = yes]
10274 (CFLAGS-tst-auditmod6c.c): Likewise.
10275 [$(subdir) = elf && $(config-cflags-avx) = yes]
10276 (CFLAGS-tst-auditmod7b.c): Likewise.
10277 * elf/tst-audit3.c: Move to ...
10278 * sysdeps/x86_64/tst-audit3.c: ... here.
10279 * elf/tst-audit4.c: Move to ...
10280 * sysdeps/x86_64/tst-audit4.c: ... here.
10281 * elf/tst-audit5.c: Move to ...
10282 * sysdeps/x86_64/tst-audit5.c: ... here.
10283 * elf/tst-audit6.c: Move to ...
10284 * sysdeps/x86_64/tst-audit6.c: ... here.
10285 * elf/tst-audit7.c: Move to ...
10286 * sysdeps/x86_64/tst-audit7.c: ... here.
10287 * elf/tst-auditmod3a.c: Move to ...
10288 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10289 * elf/tst-auditmod3b.c: Move to ...
10290 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10291 * elf/tst-auditmod4a.c: Move to ...
10292 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10293 * elf/tst-auditmod4b.c: Move to ...
10294 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10295 * elf/tst-auditmod5a.c: Move to ...
10296 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10297 * elf/tst-auditmod5b.c: Move to ...
10298 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10299 * elf/tst-auditmod6a.c: Move to ...
10300 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10301 * elf/tst-auditmod6b.c: Move to ...
10302 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10303 * elf/tst-auditmod6c.c: Move to ...
10304 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10305 * elf/tst-auditmod7a.c: Move to ...
10306 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10307 * elf/tst-auditmod7b.c: Move to ...
10308 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10309
10310 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10311
10312 [BZ #15366]
10313 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10314 define unconditionally.
10315 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10316 define unconditionally.
10317 (INT8_C, INT16_C, etc.): Likewise.
10318
10319 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10320
10321 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10322 __ehdr_start with hidden visibility.
10323
10324 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10325
10326 2013-04-24 Carlos O'Donell <carlos@redhat.com>
10327
10328 * math/libm-test.inc (cos_test): Use accurate hex constants.
10329 (sincost_test): Likewise.
10330
10331 2013-04-24 Joseph Myers <joseph@codesourcery.com>
10332
10333 * math/libm-test.inc (catan_test): Add more tests.
10334 (catanh_test): Likewise.
10335
10336 * math/s_catanf.c (__catanf): Use suffixed floating-point
10337 constants.
10338 * math/s_catanhf.c (__catanhf): Likewise.
10339 * math/s_catanhl.c (__catanhl): Likewise.
10340 * math/s_catanl.c (__catanl): Likewise.
10341
10342 [BZ #15394]
10343 * math/s_catan.c (__catan): Calculate imaginary part of result
10344 with log1p not log unless computing log of number close to 0.
10345 * math/s_catanf.c (__catanf): Likewise.
10346 * math/s_catanl.c (__catanl): Likewise.
10347 * math/s_catanh.c (__catanh): Calculate real part of result with
10348 log1p not log unless computing log of number close to 0.
10349 * math/s_catanhf.c (__catanhf): Likewise.
10350 * math/s_catanhl.c (__catanhl): Likewise.
10351 * math/libm-test.inc (catan_test): Add more tests.
10352 (catanh_test): Likewise.
10353 * sysdeps/i386/fpu/libm-test-ulps: Update.
10354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10355
10356 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10357
10358 * benchtests/Makefile: Mention files in which fast and slow
10359 paths of math functions are implemented.
10360
10361 2013-04-23 Roland McGrath <roland@hack.frob.com>
10362
10363 * sysdeps/posix/timespec_get.c: New file.
10364
10365 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10366
10367 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10368 POWER.
10369 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10370 for POWER.
10371 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10372 powerpc/power5/fpu folders.
10373 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10374 * benchtests/Makefile: Add modf testcase.
10375 * benchtests/bench-modf.c: New file: Benchmark test for mo
10376
10377 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10378
10379 [BZ #14888]
10380 * time/Makefile (tests): Add tst-strptime-whitespace.
10381 * time/strptime_l.c (get_number): Use ISSPACE.
10382 (__strptime_internal): Likewise.
10383 * time/tst-strptime-whitespace.c: New test case.
10384
10385 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10386
10387 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10388 member.
10389 (_nss_files_init): Set it here.
10390
10391 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10392
10393 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10394 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10395 unsigned.
10396
10397 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10398
10399 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10400
10401 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10402
10403 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10404 size just once.
10405
10406 2013-04-21 David S. Miller <davem@davemloft.net>
10407
10408 * po/ru.po: Update Russion translation from translation project.
10409
10410 2013-04-17 Adam Conrad <adconrad@0c3.net>
10411
10412 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10413 and setfsgid.
10414
10415 2013-04-17 Carlos O'Donell <carlos@redhat.com>
10416
10417 * configure.in: Remove i386 configure warning. Remove i386 case.
10418 * configure: Regenerate.
10419 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10420 Add example to error message.
10421 * sysdeps/i386/configure: Regenerate.
10422
10423 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10424
10425 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10426 slowtan.
10427 * benchtests/cos-inputs: New file.
10428 * benchtests/slowcos-inputs: New file.
10429 * benchtests/slowcos.c: New file.
10430 * benchtests/slowtan-inputs: New file.
10431 * benchtests/slowtan.c: New file.
10432 * benchtests/tan-inputs: New file.
10433
10434 2013-04-16 Roland McGrath <roland@hack.frob.com>
10435
10436 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10437 considered kosher.
10438
10439 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10440
10441 * benchtests/Makefile: Include cppflags-iterator.mk to add
10442 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10443
10444 * Makefile.in (bench-clean): New target.
10445 * benchtests/Makefile (bench-clean): Likewise.
10446
10447 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10448
10449 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10450
10451 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10452
10453 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10454
10455 2013-04-15 Andreas Schwab <schwab@suse.de>
10456
10457 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10458 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10459 * nscd/pwdcache.c (cache_addpw): Likewise.
10460 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10461 more than recsize.
10462
10463 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10464
10465 * benchtests/Makefile (bench): Write all output to
10466 bench-out.tmp together.
10467
10468 2013-04-15 Andreas Schwab <schwab@suse.de>
10469
10470 * nscd/nscd.c (main): Don't fork again after closing files.
10471
10472 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10473
10474 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10475
10476 * benchtests/Rules (bench-deps): Collect dependencies into a
10477 single variable. Add Makefile to dependencies.
10478 ($(objpfx)bench-%.c): Depend on bench-deps.
10479
10480 2013-04-12 Roland McGrath <roland@hack.frob.com>
10481 Xavier Roche <roche+kml2@exalead.com>
10482
10483 [BZ #15361]
10484 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10485 just that it's a file descriptor.
10486 * manual/llio.texi (Synchronizing AIO Operations): Update description
10487 for EBADF error from aio_fsync.
10488
10489 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10490
10491 * Rules (bench): Move target definition...
10492 * benchtests/Makefile: ... here.
10493
10494 2013-04-11 Carlos O'Donell <carlos@redhat.com>
10495
10496 * math/libm-test.inc (cos_test): Fix PI/2 test.
10497 (sincos_test): Likewise.
10498 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10499 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10500
10501 2013-04-11 Andreas Schwab <schwab@suse.de>
10502
10503 [BZ #13988]
10504 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10505 accept exponent character only when digits were seen.
10506 * stdio-common/Makefile (tests): Add bug26.
10507 * stdio-common/bug26.c: New file.
10508
10509 [BZ #14293]
10510 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10511 non-freeable.
10512
10513 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10514
10515 * Makeconfig (rtld-prefix): Define built linker prefix.
10516 * Rules (run-bench): Use it.
10517 * math/Makefile (run-regen-ulps): Likewise.
10518
10519 * Rules (bench): Remove eval.
10520
10521 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10522 Roland McGrath <roland@hack.frob.com>
10523 Ondrej Bilka <neleai@seznam.cz>
10524
10525 [BZ #15346]
10526 * time/getdate.c: Include ctype.h and alloca.h.
10527 (__getdate_r): Trim leading and trailing spaces of input.
10528 * time/tst-getdate.c (tests): Add tests with leading and
10529 trailing spaces.
10530
10531 2013-04-08 Roland McGrath <roland@hack.frob.com>
10532
10533 [BZ #14280]
10534 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10535 when computing value.
10536
10537 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10538
10539 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10540 Use testrun.sh to run libm tests.
10541
10542 [BZ #15309]
10543 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10544
10545 2013-04-06 Marko Myllynen <myllynen@redhat.com>
10546
10547 [BZ #15264]
10548 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10549
10550 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10551
10552 * Makefile.in (regen-ulps): New target.
10553 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10554 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10555 [ifneq (no,$(PERL)] (regen-ulps): New target.
10556 [ifeq (no,$(PERL)] (regen-ulps): New target.
10557 * math/libm-test.inc (ulps_file_name): Define.
10558 (output_dir): New variable.
10559 (options): Add "output-dir" option.
10560 (parse_opt): Handle 'o' case.
10561 (main): If output_dir is non-NULL use it as a prefix
10562 otherwise use "".
10563 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10564
10565 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10566
10567 [BZ #10060, #10062]
10568 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10569 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10570 fail configure if __sync_val_compare_and_swap is not inlined.
10571 * sysdeps/i386/configure: Regenerate.
10572 * configure.in: Build for i686 when configured for i386.
10573 * configure: Regenerate.
10574 * README: Remove i386 reference.
10575
10576 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10577
10578 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10579 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10580
10581 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10582
10583 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10584 (lmsnanval): New variables.
10585 (F): Add conversion tests.
10586 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10587 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10588
10589 * stdio-common/tstdiomisc.c (F): Properly collect individual
10590 tests' results.
10591
10592 [BZ #14686, #15336]
10593 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10594 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10595 Instead, use input NaN values or generate a qNaN by arithmetic
10596 operation. Also fix bugs to comply with the standard.
10597 * math/libm-test.inc (remainder_test): Add more tests.
10598
10599 [BZ #15335, #15342]
10600 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10601 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10602 input NaN values or generate a qNaN by arithmetic operation.
10603
10604 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10605 unreachable code.
10606
10607 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10608 definitions.
10609
10610 2013-04-03 Joseph Myers <joseph@codesourcery.com>
10611
10612 [BZ #14478]
10613 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10614 underflowed result.
10615 * math/s_cexpf.c (__cexpf): Likewise.
10616 * math/s_cexpl.c (__cexpl): Likewise.
10617 * math/libm-test.inc (cexp_test): Add more tests.
10618
10619 2013-04-03 Andreas Schwab <schwab@suse.de>
10620
10621 [BZ #15330]
10622 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10623 order arrays from heap if bigger than alloca cutoff.
10624
10625 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10626
10627 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10628 (SNAN_TESTS_double): Refer to GCC PR56831.
10629 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10630 GCC PR56828.
10631
10632 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10633
10634 * Rules (bench): Move bench.out after the run is complete.
10635
10636 * Rules (bench): Echo currently running benchmark.
10637
10638 * benchtests/Makefile (bench): Add atan and slowatan.
10639 * benchtests/atan-inputs: New file.
10640 * benchtests/slowatan-inputs: New file.
10641 * benchtests/slowatan.c: New file.
10642
10643 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10644 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10645 its value.
10646
10647 [BZ #15305]
10648 * sysdeps/unix/sysv/linux/kernel-features.h
10649 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10650 __ASSUME_XFS_RESTRICTED_CHOWN.
10651 * sysdeps/unix/sysv/linux/pathconf.c
10652 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10653 Save and restore errno.
10654
10655 2013-04-02 Joseph Myers <joseph@codesourcery.com>
10656
10657 [BZ #15327]
10658 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10659 arguments using __kernel_casinh.
10660 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10661 arguments using __kernel_casinhf.
10662 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10663 arguments using __kernel_casinhl.
10664 * math/libm-test.inc (cacosh_test): Add more tests.
10665 * sysdeps/i386/fpu/libm-test-ulps: Update.
10666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10667
10668 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10669
10670 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10671 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10672
10673 * bench/Makefile (bench): Add sin and slowsin.
10674 * benchtests/sin-inputs: New file.
10675 * benchtests/slowsin-inputs: New file.
10676 * benchtests/slowsin.c: New file.
10677
10678 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10679 (bench): Add slowexp and slowpow.
10680 (exp-ITER): Increase iterations.
10681 (pow-ITER): Likewise.
10682 * benchtests/exp-inputs: Change input.
10683 * benchtests/pow-inputs: Likewise.
10684 * benchtests/slowexp-inputs: New file.
10685 * benchtests/slowexp.c: New file.
10686 * benchtests/slowpow-inputs: New file.
10687 * benchtests/slowpow.c: New file.
10688
10689 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10690
10691 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10692 instructions.
10693 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10694 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10695 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10696 * benchtests/Makefile: Add rint benchtest.
10697 * benchtests/rint-inputs: Input for rint benchtest.
10698
10699 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10700
10701 * Versions.def (libm): Add GLIBC_2.18.
10702 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10703 hidden libm prototypes.
10704 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10705 * math/Makefile (libm-calls): Add s_issignaling.
10706 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10707 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10708 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10709 declaration.
10710 * math/math.h [__USE_GNU] (issignaling): New macro.
10711 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10712 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10713 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10714 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10715 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10716 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10717 * manual/arith.texi (issignaling): New section.
10718 * manual/libm-err-tab.pl (@all_functions): Update comment.
10719 * math/gen-libm-test.pl (parse_args): Apply special handling for
10720 issignaling.
10721 * math/libm-test.inc (print_float, issignaling_test): New
10722 functions.
10723 (check_float_internal): Add issignaling checks.
10724 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10725 default definition.
10726 * sysdeps/powerpc/math-tests.h: New file.
10727 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10728 tests.
10729 * math/test-snan.c (TEST_FUNC): Likewise.
10730
10731 2013-03-30 David S. Miller <davem@davemloft.net>
10732
10733 * po/de.po: Update from translation team.
10734
10735 2013-03-30 Joseph Myers <joseph@codesourcery.com>
10736
10737 [BZ #10357]
10738 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10739 imaginary part less than 1.0 and real part less than 0.5
10740 specially.
10741 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10742 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10743 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10744 (cacos_test): Add more tests.
10745 (casin_test): Likewise.
10746 (casinh_test): Likewise.
10747 * sysdeps/i386/fpu/libm-test-ulps: Update.
10748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10749
10750 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10751
10752 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10753 ONE with its value.
10754
10755 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10756 (__pow_mp): Replace ONE and MONE with their values.
10757 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10758 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10759 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10760 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10761 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10762 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10763
10764 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10765
10766 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10767 (__pow_mp): Replace ZERO and MZERO with their values.
10768 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10769 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10770 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10771 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10772 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10773 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10774 (__sqr): Likewise.
10775
10776 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10777
10778 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10779
10780 2013-03-28 Roland McGrath <roland@hack.frob.com>
10781
10782 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10783 Declare with __attribute__ ((weak)).
10784 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10785 Call __call_tls_dtors only if it's not NULL.
10786
10787 2013-03-28 Roland McGrath <roland@hack.frob.com>
10788
10789 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10790 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10791 magic __ehdr_start linker symbol if it's defined.
10792 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10793 them up here if it was already done.
10794
10795 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10796 (_dl_aux_init): Use const in cast when setting it.
10797 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10798 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10799 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10800
10801 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10802 Declare them here.
10803 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10804 * csu/libc-tls.c: Nor here.
10805 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10806
10807 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10808 (__libc_message): Never call vsyslog.
10809
10810 2013-03-28 Alan Modra <amodra@gmail.com>
10811
10812 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10813 Define as empty.
10814 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10815 Likewise.
10816
10817 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10818
10819 [BZ #15214]
10820 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10821 underflow.
10822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10823
10824 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10825
10826 [BZ #15304]
10827 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10828 Don't add gid passed as argument.
10829
10830 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10831
10832 2013-03-27 Joseph Myers <joseph@codesourcery.com>
10833
10834 [BZ #15307]
10835 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10836 imaginary part between 1.0 and 1.5 and real part less than 0.5
10837 specially.
10838 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10839 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10840 * math/libm-test.inc (cacos_test): Add more tests.
10841 (casin_test): Likewise.
10842 (casinh_test): Likewise.
10843 * sysdeps/i386/fpu/libm-test-ulps: Update.
10844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10845
10846 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10847
10848 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10849 constants.
10850 (norm): Likewise.
10851 (denorm): Likewise.
10852 (__dbl_mp): Likewise.
10853 (add_magnitudes): Likewise.
10854 (sub_magnitudes): Likewise.
10855 (__add): Likewise.
10856 (__sub): Likewise.
10857 (__mul): Likewise.
10858 (__sqr): Likewise.
10859 (__inv): Likewise.
10860 (__dvd): Likewise.
10861
10862 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10863 commented code.
10864 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10865 (__dubcos): Likewise.
10866 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10867 (__ieee754_acos): Likewise.
10868 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10869 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10870 (__exp1): Likewise.
10871 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10872 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10873 (log1): Likewise.
10874 (my_log2): Likewise.
10875 (checkint): Likewise.
10876 * sysdeps/ieee754/dbl-64/e_remainder.c
10877 (__ieee754_remainder): Likewise.
10878 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10879 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10880 (bsloww): Likewise.
10881 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10882
10883 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10884 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10885 MANTISSA_STORE_T to store computations on mantissa. Use
10886 macros for rounding and division.
10887 (denorm): Likewise.
10888 (__dbl_mp): Likewise.
10889 (add_magnitudes): Likewise.
10890 (sub_magnitudes): Likewise.
10891 (__mul): Likewise.
10892 (__sqr): Likewise.
10893 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10894 powers of two in terms of TWOPOW macro.
10895 (mp_no): Make type of mantissa as MANTISSA_T.
10896 [!RADIXI]: Define RADIXI.
10897 [!TWO52]: Define TWO52.
10898 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10899
10900 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10901
10902 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10903 llroundl symbol when building for PPC32.
10904
10905 2013-03-24 Mark H Weaver <mhw@netris.org>
10906
10907 * manual/arith.texi (Normalization Functions): Fix prototypes for
10908 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10909
10910 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10911
10912 [BZ #13889]
10913 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10914 high value to check if expl overflow.
10915 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10916 to check for underflow and overflow.
10917 * math/libm-test.inc: Add exp test.
10918
10919 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10920
10921 [BZ #11120]
10922 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10923 with NOT_IN_libc.
10924
10925 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10926
10927 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10928 symbol.
10929
10930 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10931
10932 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10933 wrap blocks consisting of several statements.
10934
10935 * sysdeps/generic/math-tests.h: New file.
10936 * sysdeps/i386/fpu/math-tests.h: Likewise.
10937 * math/test-snan.c: Include it.
10938 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10939
10940 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10941
10942 [BZ #15285]
10943 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10944 (__ieee754_j0l): Do not improve calculations using cos of twice
10945 input for inputs above LDBL_MAX / 2.0L.
10946 (__ieee754_y0l): Likewise.
10947 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10948 (__ieee754_j1l): Do not improve calculations using cos of twice
10949 input for inputs above LDBL_MAX / 2.0L.
10950 (__ieee754_y1l): Likewise.
10951 * math/libm-test.inc (j0_test): Add another test.
10952 (j1_test): Likewise.
10953 (y0_test): Likewise.
10954 (y1_test): Likewise.
10955 * sysdeps/i386/fpu/libm-test-ulps: Update.
10956
10957 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10958
10959 * Rules ($(objpfx)bench-%.c): Include code from a C source
10960 file.
10961
10962 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10963
10964 [BZ #15287]
10965 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10966 imaginary part 1.0 and real part less than 0.5 specially.
10967 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10968 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10969 * math/libm-test.inc (cacos_test): Add more tests.
10970 (casin_test): Likewise.
10971 (casinh_test): Likewise.
10972 * sysdeps/i386/fpu/libm-test-ulps: Update.
10973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10974
10975 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10976
10977 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10978 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10979
10980 2013-03-20 Joseph Myers <joseph@codesourcery.com>
10981
10982 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10983 * config.make.in (config-cflags-sse4): Remove variable.
10984 (config-cflags-avx): Likewise.
10985 (config-cflags-sse2avx): Likewise.
10986 (config-cflags-novzeroupper): Likewise.
10987 (config-asflags-i686): Likewise.
10988 (have-mfma4): Likewise.
10989 (have-as-vis3): Likewise.
10990 (MIG): Likewise.
10991 * configure.in (MIG): Do not AC_SUBST.
10992 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10993 (libc_cv_cc_sse4): Do not AC_SUBST.
10994 (libc_cv_cc_avx): Likewise.
10995 (libc_cv_cc_sse2avx): Likewise.
10996 (libc_cv_cc_novzeroupper): Likewise.
10997 (libc_cv_cc_fma4): Likewise.
10998 (libc_cv_as_i686): Likewise.
10999 (libc_cv_sparc_as_vis3): Likewise.
11000 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11001 LIBC_CONFIG_VAR.
11002 (config-asflags-i686): Likewise.
11003 (config-cflags-avx): Likewise.
11004 (config-cflags-sse2avx): Likewise.
11005 (have-mfma4): Likewise.
11006 (config-cflags-novzeroupper): Likewise.
11007 * sysdeps/mach/configure.in (MIG): Likewise.
11008 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11009 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11010 LIBC_CONFIG_VAR.
11011 (config-cflags-avx): Likewise.
11012 (config-cflags-sse2avx): Likewise.
11013 (have-mfma4): Likewise.
11014 (config-cflags-novzeroupper): Likewise.
11015 * configure: Regenerated.
11016 * sysdeps/i386/configure: Likewise.
11017 * sysdeps/mach/configure: Likewise.
11018 * sysdeps/sparc/configure: Likewise.
11019 * sysdeps/x86_64/configure: Likewise.
11020
11021 2013-03-20 Roland McGrath <roland@hack.frob.com>
11022
11023 [BZ #14812]
11024 * locale/programs/localedef.c (options): Put N_ translation marker
11025 on argument names, not just descriptions.
11026
11027 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11028
11029 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11030
11031 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
11032
11033 [BZ #14176]
11034 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11035
11036 2013-03-19 Roland McGrath <roland@hack.frob.com>
11037
11038 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11039 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11040 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11041 [!BEFORE_ABORT] (before_abort): New function.
11042 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11043 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11044 (writev_for_fatal): New function.
11045 (WRITEV_FOR_FATAL): New macro; call that.
11046 (backtrace_and_maps): New function.
11047 (BEFORE_ABORT): New macro; call that.
11048 (struct str_list): Type removed.
11049 (__libc_message, __libc_fatal): Functions removed.
11050 Include <sysdeps/posix/libc_fatal.c> instead.
11051
11052 2013-03-19 Joseph Myers <joseph@codesourcery.com>
11053
11054 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11055 constants.
11056 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11057 double constants.
11058
11059 2013-03-19 Andreas Schwab <schwab@suse.de>
11060
11061 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11062 * sysdeps/gnu/configure: Regenerate.
11063
11064 * configure.in: Substitute libc_cv_rtlddir.
11065 * configure: Regenerate.
11066 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11067 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11068 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11069 * elf/Makefile (install-others, CFLAGS-interp.c)
11070 (ldso_install, common-ldd-rewrite): Likewise.
11071 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11072 $(inst_slibdir)/$(rtld-installed-name).
11073 * scripts/rellns-sh: Add -p option.
11074 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11075 for source.
11076
11077 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11078
11079 * manual/nptl.texi: Renamed to ...
11080 * manual/threads.texi: ... this.
11081 * manual/Makefile (chapters): Update.
11082
11083 2013-03-18 Roland McGrath <roland@hack.frob.com>
11084
11085 [BZ #14812]
11086 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11087 on argument names, not just descriptions.
11088 * malloc/memusagestat.c (options): Likewise.
11089 * nss/getent.c (options): Likewise.
11090
11091 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
11092
11093 [BZ #14812]
11094 * iconv/iconv_prog.c (options): Put N_ translation marker
11095 on argument names, not just descriptions.
11096 * iconv/iconvconfig.c (options): Likewise.
11097
11098 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
11099
11100 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11101 implementation which is faster on all x86_64 architectures.
11102 Tested on AMD, Intel Nehalem, SNB, IVB.
11103 * sysdeps/x86_64/strnlen.S: Likewise.
11104
11105 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11106 Remove all multiarch strlen and strnlen versions.
11107 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11108 Remove strlen and strnlen related parts.
11109
11110 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11111 Inline strlen part.
11112 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11113
11114 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11115 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11116 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11117 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11118 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11119 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11120
11121 2013-03-17 Carlos O'Donell <carlos@redhat.com>
11122
11123 * manual/memory.texi (Malloc Tunable Parameters):
11124 Sort parameters alphabetically. Add comments for missing entries.
11125
11126 2013-03-17 David S. Miller <davem@davemloft.net>
11127
11128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11129
11130 2013-03-16 Joseph Myers <joseph@codesourcery.com>
11131
11132 [BZ #15283]
11133 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11134 for arguments at most half maximum finite value.
11135 * math/libm-test.inc (j0_test): Add more tests.
11136 (j1_test): Likewise.
11137 (y0_test): Likewise.
11138 (y1_test): Likewise.
11139 * sysdeps/i386/fpu/libm-test-ulps: Update.
11140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11141
11142 [BZ #14155]
11143 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11144 1 / x and functions P and Q for arguments above 0x1p256L.
11145 (__ieee754_y0l): Likewise.
11146 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11147 (__ieee754_y1l): Likewise.
11148 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11149 (j1_test): Likewise.
11150 (y0_test): Likewise.
11151 (y1_test): Likewise.
11152
11153 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11154
11155 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11156 variable.
11157
11158 2013-03-15 Roland McGrath <roland@hack.frob.com>
11159
11160 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11161 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11162 zero since it's initialized to EXEC_PAGESIZE.
11163
11164 * sysdeps/unix/sysv/linux/ldsodefs.h
11165 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11166 * sysdeps/generic/ldsodefs.h: ... here.
11167
11168 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11169
11170 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11171
11172 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11173 math/test-snan.c.
11174 * math/test-snan.c: Renamed from
11175 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11176 * math/Makefile (tests): Add test-snan.
11177 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11178 test-powerpc-snan.
11179
11180 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11181 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11182 functions.
11183 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11184 __builtin_nan family of functions.
11185 * math/libm-test.inc (initialize): Initialize qnan_value with
11186 __builtin_nan family of functions.
11187 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11188 Remove variables.
11189 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11190 Remove functions.
11191 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11192 storage class. Initialize qNaN_var and sNaN_var with
11193 __builtin_nan and __builtin_nans families of functions,
11194 respectively.
11195
11196 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11197 (sqrt_test): Remove duplicate test with qNaN input.
11198 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11199 (round_test, signbit_test, significand_test): Note missing +/-Inf
11200 as well as qNaN tests.
11201
11202 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11203 qNaN_var. Fix a few strings, too.
11204 * math/libm-test.inc (nan_value): Rename to qnan_value.
11205 * math/gen-libm-test.pl (%beautify): Adjust to that.
11206 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11207 * math/test-misc.c (main): Likewise.
11208 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11209 to __qnan_bytes, and __qnan_union, respectively.
11210 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11211 Likewise.
11212 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11213 and lqnanval, respectively.
11214 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11215 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11216 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11217 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11218
11219 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11220 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11221 doubles.
11222
11223 * math/test-misc.c (main): Fix copy'n'pastos.
11224 * misc/tst-efgcvt.c (special): Likewise.
11225
11226 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11227 Remove declarations.
11228
11229 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11230
11231 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11232 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11233 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11234 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11235
11236 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11237
11238 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11239 macro to return vdso values correctly in IFUNC implementations.
11240 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11241 Optimization by using IFUNC.
11242
11243 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11244 Richard Henderson <rth@redhat.com>
11245 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11246
11247 * Makefile.in (bench): New target.
11248 * NEWS: Mention the benchmark framework.
11249 * Rules (bench): Likewise.
11250 (binaries-bench): Generate binaries for functions to
11251 benchmark.
11252 * benchtests/Makefile: New makefile for benchmark tests.
11253 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11254 programs.
11255 * benchtests/exp-inputs: New input file for EXP function.
11256 * benchtests/pow-inputs: New input file for POW function.
11257 * scripts/bench.pl: New script to generate source files for
11258 benchmark programs.
11259
11260 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11261
11262 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11263 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11264 computations on mantissa. Use macros for rounding and
11265 division.
11266 (denorm): Likewise.
11267 (__dbl_mp): Likewise.
11268 (add_magnitudes): Likewise.
11269 (sub_magnitudes): Likewise.
11270 (__mul): Likewise.
11271 (__sqr): Likewise.
11272 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11273 powers of two in terms of TWOPOW macro.
11274 (mp_no): Make type of mantissa as MANTISSA_T.
11275 [!RADIXI]: Define RADIXI.
11276 [!TWO52]: Define TWO52.
11277 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11278
11279 * manual/nptl.texi (cindex): Modify threads to pthreads.
11280
11281 2013-03-15 Joseph Myers <joseph@codesourcery.com>
11282
11283 * sysdeps/x86_64/preconfigure: Regenerated.
11284
11285 2013-03-14 Joseph Myers <joseph@codesourcery.com>
11286
11287 [BZ #14155]
11288 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11289 0x1p28 and above.
11290 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11291 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11292 0x1p28 and above.
11293 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11294 * math/libm-test.inc (j0_test): Do not allow one spurious
11295 underflow exception.
11296 (y1_test): Likewise.
11297
11298 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11299
11300 * manual/Makefile (chapters): Add nptl.
11301 * manual/debug.texi (Debugging Support): Add link to Threads
11302 chapter.
11303 * manual/nptl.texi: New file.
11304
11305 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11306
11307 2013-03-14 Petr Baudis <pasky@ucw.cz>
11308
11309 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11310 for non-NULL pointer before the memory validity test. Pointed
11311 out by Holger Brunck <holger.brunck@keymile.com>.
11312
11313 2013-03-13 Andreas Schwab <schwab@suse.de>
11314
11315 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11316 instead of .os.
11317
11318 2013-03-13 Joseph Myers <joseph@codesourcery.com>
11319
11320 * timezone/zic.c: Update from tzcode 2013b.
11321
11322 2013-03-12 Carlos O'Donell <carlos@redhat.com>
11323
11324 * manual/install.texi (Configuring and compiling):
11325 Mention i686 and i586.
11326 * INSTALL: Regenerate.
11327
11328 2013-03-12 Roland McGrath <roland@hack.frob.com>
11329
11330 * sysdeps/init_array/elf-init.c: New file.
11331 * csu/elf-init.c
11332 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11333 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11334
11335 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11336 __gmon_start__ as global, but as static with a .preinit_array pointer.
11337 * sysdeps/init_array/gmon-start.c: New file. Use that.
11338 * sysdeps/init_array/crti.S: New file, empty except for comments.
11339 * sysdeps/init_array/crtn.S: Likewise.
11340
11341 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
11342
11343 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11344 definining bcopy.
11345 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11346 Remove Prefer_SSE_for_memop.
11347 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11348 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11349 HAS_PREFER_SSE_FOR_MEMOP.
11350 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11351 memset-x86-64.
11352 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11353 Remove bzero, memset ifunc support.
11354 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11355 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11356 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11357 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11358
11359 2013-03-11 Andreas Schwab <schwab@suse.de>
11360
11361 [BZ #15234]
11362 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11363 by SHLIB_COMPAT.
11364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11365 (GLIBC_2.16): Remove pthread_atfork.
11366
11367 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11368
11369 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11370 (ptestcases.h): Likewise.
11371
11372 2013-03-08 Roland McGrath <roland@hack.frob.com>
11373
11374 * Makeconfig ($(common-objpfx)config.status): Depend on
11375 sysdeps/*/preconfigure{,.in} too.
11376
11377 2013-03-08 Joseph Myers <joseph@codesourcery.com>
11378
11379 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11380 (__free_hook): Use void * instead of __malloc_ptr_t.
11381 (__malloc_hook): Likewise.
11382 (__realloc_hook): Likewise.
11383 (__memalign_hook): Likewise.
11384 (__after_morecore_hook): Likewise.
11385 * malloc/arena.c (save_malloc_hook): Likewise.
11386 (save_free_hook): Likewise.
11387 * malloc/hooks.c (malloc_hook_ini): Likewise.
11388 (realloc_hook_ini): Likewise.
11389 (memalign_hook_ini): Likewise.
11390 * malloc/malloc.c (malloc_hook_ini): Likewise.
11391 (realloc_hook_ini): Likewise.
11392 (memalign_hook_ini): Likewise.
11393 (__free_hook): Likewise.
11394 (__malloc_hook): Likewise.
11395 (__realloc_hook): Likewise.
11396 (__memalign_hook): Likewise.
11397 (__libc_malloc): Likewise.
11398 (__libc_free): Likewise.
11399 (__libc_realloc): Likewise.
11400 (__libc_memalign): Likewise.
11401 (__libc_valloc): Likewise.
11402 (__libc_pvalloc): Likewise.
11403 (__libc_calloc): Likewise.
11404 (__posix_memalign): Likewise.
11405 * malloc/morecore.c (__sbrk): Likewise.
11406 (__default_morecore): Likewise.
11407
11408 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11409
11410 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11411 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11412 __malloc_ptrdiff_t.
11413
11414 * malloc/malloc.h (__malloc_size_t): Remove macro.
11415 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11416 __malloc_size_t.
11417 (old_memalign_hook): Likewise.
11418 (old_realloc_hook): Likewise.
11419 (struct hdr): Likewise.
11420 (flood): Likewise.
11421 (mallochook): Likewise.
11422 (memalignhook): Likewise.
11423 (reallochook): Likewise.
11424 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11425 (tr_old_realloc_hook): Likewise.
11426 (tr_old_memalign_hook): Likewise.
11427 (tr_mallochook): Likewise.
11428 (tr_reallochook): Likewise.
11429 (tr_memalignhook): Likewise.
11430
11431 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11432
11433 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11434 default_ldbl_pack and using as default implementation.
11435 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11436 implementation.
11437 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11438 redundant definition.
11439 (ldbl_insert_mantissa): Likewise.
11440 (ldbl_canonicalize): Likewise.
11441 (ldbl_nearbyint): Likewise.
11442 (ldbl_pack): Rename to ldbl_pack_ppc.
11443 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11444 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11445 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11446
11447 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11448
11449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11450 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11451 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11452 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11453 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11454 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11455 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11456 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11457
11458 2013-03-07 Andreas Jaeger <aj@suse.de>
11459
11460 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11461 bits/mman-linux.h.
11462
11463 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11464
11465 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11466 Include mpa.h and declare __MPEXP.
11467 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11468 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11469 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11470 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11471 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11472 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11473 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11474
11475 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11476 (__slowpow): Use long double EXPL and LOGL functions to
11477 compute POW.
11478 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11479 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11480 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11481 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11482 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11483 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11484
11485 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11486 intermediate variable to calculate exponent.
11487 (__sqr): Likewise.
11488 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11489 Likewise.
11490 (__sqr): Likewise.
11491
11492 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11493 [!NO__SQR]: Define __sqr.
11494 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11495 and NO__SQR. Remove all code except __mul and __sqr. Include
11496 sysdeps/ieee754/dbl-64/mpa.c.
11497 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11498
11499 [BZ #12723]
11500 * posix/Makefile (tests): Add tst-pathconf.
11501 * posix/tst-pathconf.c: New test case.
11502 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11503 _PC_PIPE_BUF.
11504 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11505
11506 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
11507
11508 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11509
11510 2013-03-06 Andreas Jaeger <aj@suse.de>
11511
11512 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11513 definition via __MAP_ANONYMOUS.
11514
11515 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11516 it's not part of Linux headers.
11517
11518 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11519 (MAP_HUGE_MASK): Define.
11520
11521 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11522 Define.
11523 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11524 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11525 Define.
11526 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11527 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11528 Define.
11529 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11530 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11531 Define.
11532 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11533
11534 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11535 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11536 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11537 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11538 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11539 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11540
11541 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11542 Handle f2fs.
11543
11544 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11545 Handle f2fs and efivarfs.
11546
11547 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11548 f2fs.
11549
11550 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11551 (EFIVARFS_MAGIC): Add.
11552 (F2FS_LINK_MAX): Add.
11553
11554 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11555
11556 * stdio-common/vfprintf.c: Replace __builtin_expect with
11557 __glibc_unlikely.
11558
11559 2013-03-06 Joseph Myers <joseph@codesourcery.com>
11560
11561 [BZ #13550]
11562 * sysdeps/generic/bp-sym.h: Remove file.
11563 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11564 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11565 <bp-sym.h> and <bp-asm.h>.
11566 (__longjmp): Don't use BP_SYM.
11567 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11568 and <bp-asm.h>.
11569 (memcpy): Don't use BP_SYM.
11570 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11571 <bp-sym.h> and <bp-asm.h>.
11572 (memcpy): Don't use BP_SYM.
11573 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11574 <bp-asm.h>.
11575 (memcpy): Don't use BP_SYM.
11576 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11577 <bp-asm.h>.
11578 (memset): Don't use BP_SYM.
11579 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11580 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11581 (__bzero): Don't use BP_SYM.
11582 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11583 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11584 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11585 <bp-sym.h> and <bp-asm.h>.
11586 (memcmp): Don't use BP_SYM. Remove comment about bounded
11587 pointers.
11588 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11589 <bp-sym.h> and <bp-asm.h>.
11590 (memcpy): Don't use BP_SYM.
11591 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11592 <bp-sym.h> and <bp-asm.h>.
11593 (memset): Don't use BP_SYM.
11594 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11595 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11596 (__bzero): Don't use BP_SYM.
11597 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11598 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11599 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11600 <bp-sym.h> and <bp-asm.h>.
11601 (strncmp): Don't use BP_SYM. Remove comment about bounded
11602 pointers.
11603 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11604 <bp-sym.h> and <bp-asm.h>.
11605 (memcpy): Don't use BP_SYM.
11606 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11607 <bp-sym.h> and <bp-asm.h>.
11608 (memset): Don't use BP_SYM.
11609 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11610 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11611 (__bzero): Don't use BP_SYM.
11612 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11613 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11614 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11615 <bp-sym.h> and <bp-asm.h>.
11616 (__memchr): Don't use BP_SYM.
11617 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11618 <bp-sym.h> and <bp-asm.h>.
11619 (memcmp): Don't use BP_SYM. Remove comment about bounded
11620 pointers.
11621 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11622 <bp-sym.h> and <bp-asm.h>.
11623 (memcpy): Don't use BP_SYM.
11624 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11625 <bp-sym.h> and <bp-asm.h>.
11626 (__mempcpy): Don't use BP_SYM.
11627 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11628 <bp-sym.h> and <bp-asm.h>.
11629 (__memrchr): Don't use BP_SYM.
11630 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11631 <bp-sym.h> and <bp-asm.h>.
11632 (memset): Don't use BP_SYM.
11633 (__bzero): Likewise.
11634 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11635 <bp-sym.h> and <bp-asm.h>.
11636 (__rawmemchr): Don't use BP_SYM.
11637 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11638 <bp-sym.h> and <bp-asm.h>.
11639 (__STRCMP): Don't use BP_SYM.
11640 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11641 <bp-sym.h> and <bp-asm.h>.
11642 (strchr): Don't use BP_SYM.
11643 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11644 <bp-sym.h> and <bp-asm.h>.
11645 (__strchrnul): Don't use BP_SYM.
11646 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11647 <bp-sym.h> and <bp-asm.h>.
11648 (strlen): Don't use BP_SYM.
11649 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11650 <bp-sym.h> and <bp-asm.h>.
11651 (strncmp): Don't use BP_SYM. Remove comment about bounded
11652 pointers.
11653 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11654 <bp-sym.h> and <bp-asm.h>.
11655 (__strnlen): Don't use BP_SYM.
11656 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11657 <bp-sym.h> and <bp-asm.h>.
11658 (__GI__setjmp): Don't use BP_SYM.
11659 (_setjmp): Likewise.
11660 (__sigsetjmp): Likewise.
11661 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11662 (L(start_addresses)): Don't use BP_SYM.
11663 (_start): Likewise.
11664 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11665 <bp-asm.h>.
11666 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11667 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11668 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11669 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11670 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11671 <bp-asm.h>.
11672 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11673 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11674 about bounded pointers.
11675 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11676 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11677 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11678 <bp-asm.h>.
11679 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11680 about bounded pointers. Remove GKM FIXME comments.
11681 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11682 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11683 <bp-asm.h>.
11684 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11685 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11686 Remove GKM FIXME comments.
11687 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11688 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11689 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11690 <bp-asm.h>.
11691 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11692 about bounded pointers. Remove GKM FIXME comment.
11693 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11694 and <bp-asm.h>.
11695 (strncmp): Don't use BP_SYM. Remove comment about bounded
11696 pointers.
11697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11698 <bp-sym.h> and <bp-asm.h>.
11699 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11701 <bp-sym.h> and <bp-asm.h>.
11702 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11703 comment.
11704
11705 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11706
11707 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11708 call free(NULL).
11709
11710 2013-03-05 David S. Miller <davem@davemloft.net>
11711
11712 * po/es.po: Update from translation team.
11713
11714 2013-03-05 Andreas Jaeger <aj@suse.de>
11715
11716 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11717 <bits/mman-linux.h>.
11718 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11719 is fine.
11720 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11721 <bits/mman-linux.h> to end of file.
11722 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11723 is fine.
11724 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11725 <bits/mman-linux.h> to end of file.
11726 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11727 is fine.
11728 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11729 <bits/mman-linux.h> to end of file.
11730
11731 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11732 (MCL_CURRENT, MCL_FUTURE): Define here.
11733
11734 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11735
11736 [BZ #15232]
11737 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11738 attribute_hidden.
11739 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11740
11741 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11742
11743 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11744 fourth parameter needed for rt_sigprocmask syscall.
11745 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11746 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11747 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11748 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11749 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11750 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11751
11752 2013-03-04 Joseph Myers <joseph@codesourcery.com>
11753
11754 [BZ #13550]
11755 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11756 comment about bounded pointers.
11757 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11758 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11759
11760 2013-03-04 Andreas Jaeger <aj@suse.de>
11761
11762 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11763 common definitions.
11764
11765 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11766 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11767 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11768 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11769 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11770 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11771
11772 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11773
11774 [BZ #15055]
11775 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11776 __ieee754_sqrl instead of __sqrl.
11777
11778 2013-03-01 Joseph Myers <joseph@codesourcery.com>
11779
11780 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11781 * sysdeps/powerpc/fpu_control.h: ... here.
11782 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11783 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11784 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11785 * sysdeps/powerpc/bits/mathinline.h: ... here.
11786
11787 2013-03-01 Roland McGrath <roland@hack.frob.com>
11788
11789 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11790 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11791 to just [NEED_DL_SYSINFO_DSO].
11792 * elf/dl-support.c: Likewise.
11793 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11794 * elf/rtld.c (dl_main): Likewise.
11795 * elf/setup-vdso.h (setup_vdso): Likewise.
11796 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11797 * sysdeps/unix/sysv/linux/dl-sysdep.c
11798 (_dl_discover_osversion): Likewise.
11799
11800 2013-03-01 Carlos O'Donell <carlos@redhat.com>
11801
11802 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11803 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11804
11805 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11806
11807 * NEWS: Mention libm performance improvements and non-x86 PI
11808 futex support.
11809
11810 * csu/libc-start.c (__pthread_initialize_minimal): Change
11811 function arguments.
11812 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11813
11814 2013-02-28 Joseph Myers <joseph@codesourcery.com>
11815
11816 [BZ #13550]
11817 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11818 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11819 <bp-sym.h> and <bp-asm.h>.
11820 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11821 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11822 and <bp-asm.h>.
11823 (memcpy): Don't use BP_SYM.
11824 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11825 <bp-asm.h>.
11826 (__mpn_add_n): Don't use BP_SYM.
11827 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11828 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11829 and <bp-asm.h>.
11830 (__mpn_addmul_1): Don't use BP_SYM.
11831 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11832 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11833 <bp-sym.h>.
11834 (_setjmp): Don't use BP_SYM.
11835 (__novmx_setjmp): Likewise.
11836 (__GI__setjmp): Likewise.
11837 (__vmx_setjmp): Likewise.
11838 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11839 <bp-sym.h>.
11840 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11841 (__bzero): Don't use BP_SYM.
11842 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11843 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11844 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11845 <bp-sym.h> and <bp-asm.h>.
11846 (memcpy): Don't use BP_SYM.
11847 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11848 <bp-sym.h> and <bp-asm.h>.
11849 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11850 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11851 <bp-sym.h> and <bp-asm.h>.
11852 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11853 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11854 <bp-asm.h>.
11855 (__mpn_lshift): Don't use BP_SYM.
11856 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11857 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11858 <bp-asm.h>.
11859 (memset): Don't use BP_SYM.
11860 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11861 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11862 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11863 <bp-asm.h>.
11864 (__mpn_mul_1): Don't use BP_SYM.
11865 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11866 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11867 <bp-sym.h> and <bp-asm.h>.
11868 (memcmp): Don't use BP_SYM.
11869 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11870 <bp-sym.h> and <bp-asm.h>.
11871 (memcpy): Don't use BP_SYM.
11872 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11873 <bp-sym.h> and <bp-asm.h>.
11874 (memset): Don't use BP_SYM.
11875 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11876 <bp-sym.h> and <bp-asm.h>.
11877 (strncmp): Don't use BP_SYM.
11878 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11879 <bp-sym.h> and <bp-asm.h>.
11880 (memcpy): Don't use BP_SYM.
11881 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11882 <bp-sym.h> and <bp-asm.h>.
11883 (memset): Don't use BP_SYM.
11884 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11885 <bp-sym.h> and <bp-asm.h>.
11886 (__memchr): Don't use BP_SYM.
11887 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11888 <bp-sym.h> and <bp-asm.h>.
11889 (memcmp): Don't use BP_SYM.
11890 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11891 <bp-sym.h> and <bp-asm.h>.
11892 (memcpy): Don't use BP_SYM.
11893 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11894 <bp-sym.h> and <bp-asm.h>.
11895 (__mempcpy): Don't use BP_SYM.
11896 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11897 <bp-sym.h> and <bp-asm.h>.
11898 (__memrchr): Don't use BP_SYM.
11899 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11900 <bp-sym.h> and <bp-asm.h>.
11901 (memset): Don't use BP_SYM.
11902 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11903 <bp-sym.h> and <bp-asm.h>.
11904 (__rawmemchr): Don't use BP_SYM.
11905 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11906 <bp-sym.h> and <bp-asm.h>.
11907 (__STRCMP): Don't use BP_SYM.
11908 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11909 <bp-sym.h> and <bp-asm.h>.
11910 (strchr): Don't use BP_SYM.
11911 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11912 <bp-sym.h> and <bp-asm.h>.
11913 (__strchrnul): Don't use BP_SYM.
11914 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11915 <bp-sym.h> and <bp-asm.h>.
11916 (strlen): Don't use BP_SYM.
11917 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11918 <bp-sym.h> and <bp-asm.h>.
11919 (strncmp): Don't use BP_SYM.
11920 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11921 <bp-sym.h> and <bp-asm.h>.
11922 (__strnlen): Don't use BP_SYM.
11923 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11924 <bp-asm.h>.
11925 (__mpn_rshift): Don't use BP_SYM.
11926 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11927 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11928 <bp-sym.h> and <bp-asm.h>.
11929 (__sigsetjmp): Don't use BP_SYM.
11930 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11931 (L(start_addresses)): Don't use BP_SYM.
11932 (_start): Likewise.
11933 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11934 <bp-asm.h>.
11935 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11936 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11937 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11938 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11939 <bp-asm.h>.
11940 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11941 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11942 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11943 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11944 <bp-asm.h>.
11945 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11946 comments.
11947 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11948 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11949 <bp-asm.h>.
11950 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11951 FIXME comments.
11952 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11953 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11954 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11955 <bp-asm.h>.
11956 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11957 comment.
11958 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11959 and <bp-asm.h>.
11960 (strncmp): Don't use BP_SYM,
11961 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11962 <bp-asm.h>.
11963 (__mpn_sub_n): Don't use BP_SYM.
11964 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11965 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11966 and <bp-asm.h>.
11967 (__mpn_submul_1): Don't use BP_SYM.
11968 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11970 <bp-sym.h> and <bp-asm.h>.
11971 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11973 <bp-sym.h> and <bp-asm.h>.
11974 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11975 comment.
11976
11977 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11978
11979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11980 Use ZK to minimize writes to Z.
11981 (sub_magnitudes): Simplify code a bit.
11982 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11983 Use ZK to minimize writes to Z.
11984 (sub_magnitudes): Simplify code a bit.
11985
11986 2013-02-27 Roland McGrath <roland@hack.frob.com>
11987
11988 * csu/gmon-start.c: Add special exception to license text.
11989
11990 2013-02-27 Richard Henderson <rth@redhat.com>
11991
11992 * scripts/config.guess: Update from config.git.
11993 * scripts/config.sub: Likewise.
11994
11995 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11996
11997 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11998
11999 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12000
12001 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12002
12003 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12004
12005 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12006
12007 2013-02-26 Roland McGrath <roland@hack.frob.com>
12008
12009 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12010 [$(build-shared = yes].
12011
12012 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12013
12014 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12015 (__mul): Reduce iterations for calculating mantissa.
12016
12017 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12018 MPTWO.
12019 (__mpranred): Likewise.
12020
12021 [BZ #15160]
12022 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12023 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12024
12025 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12026
12027 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12028 Define __attribute__.
12029
12030 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12031
12032 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12033 unused.
12034 * posix/regex_internal.h (__attribute): Remove.
12035 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12036 (re_string_context_at): Likewise.
12037 (bitset_not): Use __attribute__ and mark function as possibly
12038 unused.
12039 (bitset_merge): Likewise.
12040 (bitset_mask): Likewise.
12041 (re_string_char_size_at): Likewise.
12042 (re_string_wchar_at): Likewise.
12043 (re_string_elem_size_at): Likewise.
12044
12045 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12046
12047 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12048 code.
12049 (cc32): Likewise.
12050
12051 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12052 (__acr): Likewise.
12053 (__cpy): Likewise.
12054 (norm): Likewise.
12055 (denorm): Likewise.
12056 (__dbl_mp): Likewise.
12057 (add_magnitudes): Likewise.
12058 (sub_magnitudes): Likewise.
12059 (__mul): Likewise.
12060 (__inv): Likewise.
12061
12062 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12063 style.
12064
12065 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12066 style.
12067
12068 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12069 code.
12070
12071 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12072 up changes with default code.
12073 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12074 Likewise.
12075
12076 2013-02-24 Allan McRae <allan@archlinux.org>
12077
12078 * manual/socket.texi (The Internet Namespace): Order menu items
12079 to match that in the file.
12080
12081 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12082 node listing of the info page menu.
12083
12084 2013-02-21 Joseph Myers <joseph@codesourcery.com>
12085
12086 [BZ #13550]
12087 * sysdeps/i386/bp-asm.h: Remove file.
12088 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12089 (PARMS): Do not use macros from bp-asm.h.
12090 (S1): Likewise.
12091 (S2): Likewise.
12092 (SIZE): Likewise.
12093 (__mpn_add_n): Do not use BP_SYM
12094 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12095 "bp-asm.h".
12096 (PARMS): Do not use macros from bp-asm.h.
12097 (S1): Likewise.
12098 (SIZE): Likewise.
12099 (__mpn_addmul_1): Do not use BP_SYM
12100 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12101 "bp-asm.h".
12102 (PARMS): Do not use macros from bp-asm.h.
12103 (SIGMSK): Likewise.
12104 (_setjmp): Likewise. Do not use BP_SYM.
12105 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12106 "bp-asm.h".
12107 (PARMS): Do not use macros from bp-asm.h.
12108 (SIGMSK): Likewise.
12109 (setjmp): Likewise. Do not use BP_SYM.
12110 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12111 "bp-asm.h".
12112 (PARMS): Do not use macros from bp-asm.h.
12113 (__frexp): Do not use BP_SYM.
12114 (frexp): Likewise.
12115 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12116 "bp-asm.h".
12117 (PARMS): Do not use macros from bp-asm.h.
12118 (__frexpf): Do not use BP_SYM.
12119 (frexpf): Likewise.
12120 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12121 "bp-asm.h".
12122 (PARMS): Do not use macros from bp-asm.h.
12123 (__frexpl): Do not use BP_SYM.
12124 (frexpl): Likewise.
12125 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12126 "bp-asm.h".
12127 (PARMS): Do not use macros from bp-asm.h.
12128 (__remquo): Do not use BP_SYM.
12129 (remquo): Likewise.
12130 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12131 "bp-asm.h".
12132 (PARMS): Do not use macros from bp-asm.h.
12133 (__remquof): Do not use BP_SYM.
12134 (remquof): Likewise.
12135 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12136 "bp-asm.h".
12137 (PARMS): Do not use macros from bp-asm.h.
12138 (__remquol): Do not use BP_SYM.
12139 (remquol): Likewise.
12140 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12141 "bp-asm.h".
12142 (PARMS): Do not use macros from bp-asm.h.
12143 (DEST): Likewise.
12144 (SRC): Likewise.
12145 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12146 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12147 "bp-asm.h".
12148 (PARMS): Do not use macros from bp-asm.h.
12149 (strlen): Do not use BP_SYM.
12150 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12151 "bp-asm.h".
12152 (PARMS): Do not use macros from bp-asm.h.
12153 (S1): Likewise.
12154 (S2): Likewise.
12155 (SIZE): Likewise.
12156 (__mpn_add_n): Do not use BP_SYM.
12157 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12158 "bp-asm.h".
12159 (PARMS): Do not use macros from bp-asm.h.
12160 (S1): Likewise.
12161 (SIZE): Likewise.
12162 (__mpn_addmul_1): Do not use BP_SYM.
12163 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12164 weak_alias.
12165 (bzero): Likewise.
12166 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12167 "bp-asm.h".
12168 (PARMS): Do not use macros from bp-asm.h.
12169 (S): Likewise.
12170 (SIZE): Likewise.
12171 (__mpn_lshift): Do not use BP_SYM.
12172 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12173 "bp-asm.h".
12174 (PARMS): Do not use macros from bp-asm.h.
12175 (DEST): Likewise.
12176 (SRC): Likewise.
12177 (LEN): Likewise.
12178 (memcpy): Likewise. Do not use BP_SYM.
12179 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12180 libc_hidden_def and weak_alias.
12181 (mempcpy): Do not use BP_SYM in weak_alias.
12182 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12183 "bp-asm.h".
12184 (PARMS): Do not use macros from bp-asm.h.
12185 (DEST): Likewise.
12186 (LEN): Likewise.
12187 [!BZERO_P] (CHR): Likewise.
12188 (memset): Likewise. Do not use BP_SYM.
12189 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12190 "bp-asm.h".
12191 (PARMS): Do not use macros from bp-asm.h.
12192 (S1): Likewise.
12193 (SIZE): Likewise.
12194 (__mpn_mul_1): Do not use BP_SYM.
12195 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12196 "bp-asm.h".
12197 (PARMS): Do not use macros from bp-asm.h.
12198 (S): Likewise.
12199 (SIZE): Likewise.
12200 (__mpn_rshift): Do not use BP_SYM.
12201 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12202 "bp-asm.h".
12203 (PARMS): Do not use macros from bp-asm.h.
12204 (STR): Likewise.
12205 (CHR): Likewise.
12206 (strchr): Likewise. Do not use BP_SYM.
12207 (index): Do not use BP_SYM in weak_alias.
12208 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12209 "bp-asm.h".
12210 (PARMS): Do not use macros from bp-asm.h.
12211 (DEST): Likewise.
12212 (SRC): Likewise.
12213 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12214 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12215 "bp-asm.h".
12216 (PARMS): Do not use macros from bp-asm.h.
12217 (strlen): Do not use BP_SYM.
12218 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12219 "bp-asm.h".
12220 (PARMS): Do not use macros from bp-asm.h.
12221 (S1): Likewise.
12222 (S2): Likewise.
12223 (SIZE): Likewise.
12224 (__mpn_sub_n): Do not use BP_SYM.
12225 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12226 "bp-asm.h".
12227 (PARMS): Do not use macros from bp-asm.h.
12228 (S1): Likewise.
12229 (SIZE): Likewise.
12230 (__mpn_submul_1): Do not use BP_SYM.
12231 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12232 "bp-asm.h".
12233 (PARMS): Do not use macros from bp-asm.h.
12234 (S1): Likewise.
12235 (S2): Likewise.
12236 (SIZE): Likewise.
12237 (__mpn_add_n): Do not use BP_SYM.
12238 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12239 weak_alias.
12240 (bzero): Likewise.
12241 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12242 "bp-asm.h".
12243 (PARMS): Do not use macros from bp-asm.h.
12244 (BLK2): Likewise.
12245 (LEN): Likewise.
12246 (memcmp): Do not use BP_SYM.
12247 (bcmp): Do not use BP_SYM in weak_alias.
12248 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12249 "bp-asm.h".
12250 (PARMS): Do not use macros from bp-asm.h.
12251 (DEST): Likewise.
12252 (SRC): Likewise.
12253 (LEN): Likewise.
12254 (memcpy): Likewise. Do not use BP_SYM.
12255 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12256 "bp-asm.h".
12257 (PARMS): Do not use macros from bp-asm.h.
12258 (DEST): Likewise.
12259 (SRC): Likewise.
12260 (LEN): Likewise.
12261 (memmove): Likewise. Do not use BP_SYM.
12262 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12263 "bp-asm.h".
12264 (PARMS): Do not use macros from bp-asm.h.
12265 (DEST): Likewise.
12266 (SRC): Likewise.
12267 (LEN): Likewise.
12268 (__mempcpy): Likewise. Do not use BP_SYM.
12269 (mempcpy): Do not use BP_SYM in weak_alias.
12270 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12271 "bp-asm.h".
12272 (PARMS): Do not use macros from bp-asm.h.
12273 (DEST): Likewise.
12274 (LEN): Likewise.
12275 [!BZERO_P] (CHR): Likewise.
12276 (memset): Likewise. Do not use BP_SYM.
12277 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12278 "bp-asm.h".
12279 (PARMS): Do not use macros from bp-asm.h.
12280 (STR2): Likewise.
12281 (strcmp): Do not use BP_SYM.
12282 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12283 "bp-asm.h".
12284 (PARMS): Do not use macros from bp-asm.h.
12285 (STR): Likewise.
12286 (DELIM): Likewise.
12287 [USE_AS_STRTOK_R] (SAVE): Likewise.
12288 (FUNCTION): Likewise. Do not use BP_SYM.
12289 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12290 aliases.
12291 (strtok_r): Likewise.
12292 (__GI___strtok_r): Likewise.
12293 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12294 (PARMS): Do not use macros from bp-asm.h.
12295 (S): Likewise.
12296 (SIZE): Likewise.
12297 (__mpn_lshift): Do not use BP_SYM.
12298 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12299 (PARMS): Do not use macros from bp-asm.h.
12300 (STR): Likewise.
12301 (CHR): Likewise.
12302 (__memchr): Do not use BP_SYM.
12303 (memchr): Do not use BP_SYM in weak_alias.
12304 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12305 (PARMS): Do not use macros from bp-asm.h.
12306 (BLK2): Likewise.
12307 (LEN): Likewise.
12308 (memcmp): Do not use BP_SYM.
12309 (bcmp): Do not use BP_SYM in weak_alias.
12310 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12311 (PARMS): Do not use macros from bp-asm.h.
12312 (S1): Likewise.
12313 (SIZE): Likewise.
12314 (__mpn_mul_1): Do not use BP_SYM.
12315 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12316 "bp-asm.h".
12317 (PARMS): Do not use macros from bp-asm.h.
12318 (STR): Likewise.
12319 (CHR): Likewise.
12320 (__rawmemchr): Do not use BP_SYM.
12321 (rawmemchr): Do not use BP_SYM in weak_alias.
12322 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12323 (PARMS): Do not use macros from bp-asm.h.
12324 (S): Likewise.
12325 (SIZE): Likewise.
12326 (__mpn_rshift): Do not use BP_SYM.
12327 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12328 (PARMS): Do not use macros from bp-asm.h.
12329 (SIGMSK): Likewise.
12330 (__sigsetjmp): Likewise. Do not use BP_SYM.
12331 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12332 (_start): Do not use BP_SYM.
12333 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12334 (PARMS): Do not use macros from bp-asm.h.
12335 (DEST): Likewise.
12336 (SRC): Likewise.
12337 (__stpcpy): Likewise. Do not use BP_SYM.
12338 (stpcpy): Do not use BP_SYM in weak_alias.
12339 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12340 "bp-asm.h".
12341 (PARMS): Do not use macros from bp-asm.h.
12342 (DEST): Likewise.
12343 (SRC): Likewise.
12344 (LEN): Likewise.
12345 (__stpncpy): Likewise. Do not use BP_SYM.
12346 (stpncpy): Do not use BP_SYM in weak_alias.
12347 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12348 (PARMS): Do not use macros from bp-asm.h.
12349 (STR): Likewise.
12350 (CHR): Likewise.
12351 (strchr): Likewise. Do not use BP_SYM.
12352 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12353 "bp-asm.h".
12354 (PARMS): Do not use macros from bp-asm.h.
12355 (STR): Likewise.
12356 (CHR): Likewise.
12357 (__strchrnul): Likewise. Do not use BP_SYM.
12358 (strchrnul): Do not use BP_SYM in weak_alias.
12359 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12360 "bp-asm.h".
12361 (PARMS): Do not use macros from bp-asm.h.
12362 (STOP): Likewise.
12363 (strcspn): Do not use BP_SYM.
12364 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12365 "bp-asm.h".
12366 (PARMS): Do not use macros from bp-asm.h.
12367 (STR): Likewise.
12368 (STOP): Likewise.
12369 (strpbrk): Likewise. Do not use BP_SYM.
12370 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12371 "bp-asm.h".
12372 (PARMS): Do not use macros from bp-asm.h.
12373 (STR): Likewise.
12374 (CHR): Likewise.
12375 (strrchr): Likewise. Do not use BP_SYM.
12376 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12377 (PARMS): Do not use macros from bp-asm.h.
12378 (SKIP): Likewise.
12379 (strspn): Do not use BP_SYM.
12380 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12381 (PARMS): Do not use macros from bp-asm.h.
12382 (STR): Likewise.
12383 (DELIM): Likewise.
12384 (SAVE): Likewise.
12385 (FUNCTION): Likewise. Do not use BP_SYM.
12386 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12387 aliases.
12388 (strtok_r): Likewise.
12389 (__GI___strtok_r): Likewise.
12390 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12391 (PARMS): Do not use macros from bp-asm.h.
12392 (S1): Likewise.
12393 (S2): Likewise.
12394 (SIZE): Likewise.
12395 (__mpn_sub_n): Do not use BP_SYM.
12396 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12397 "bp-asm.h".
12398 (PARMS): Do not use macros from bp-asm.h.
12399 (S1): Likewise.
12400 (SIZE): Likewise.
12401 (__mpn_submul_1): Do not use BP_SYM.
12402 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12403 <bp-sym.h>.
12404 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12405 and <bp-asm.h>.
12406 (PARMS): Do not use macros from bp-asm.h.
12407 (FLAGS): Likewise.
12408 (PTID): Likewise.
12409 (TLS): Likewise.
12410 (CTID): Likewise.
12411 (__clone): Do not use BP_SYM.
12412 (clone): Do not use BP_SYM in weak_alias.
12413 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12414 and <bp-asm.h>.
12415 (PARMS): Do not use macros from bp-asm.h.
12416 (LEN): Likewise.
12417 (__mmap64): Do not use BP_SYM.
12418 (mmap64): Do not use BP_SYM in weak_alias.
12419 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12420 <bp-sym.h> and <bp-asm.h>.
12421 (PARMS): Do not use macros from bp-asm.h.
12422 (__posix_fadvise64_l64): Do not use BP_SYM.
12423 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12424 (PARMS): Do not use macros from bp-asm.h.
12425 (NSOPS): Likewise.
12426 (semtimedop): Do not use BP_SYM.
12427 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12428 and <bp-asm.h>.
12429
12430 2013-02-21 Allan McRae <allan@archlinux.org>
12431
12432 * manual/message.texi (Charset conversion in gettext):
12433 Move @end statement to beginning of line.
12434
12435 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12436
12437 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12438 static.
12439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12440 Likewise.
12441
12442 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12443 (denorm): Likewise.
12444 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12446
12447 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12448
12449 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12450 tail-call to the resolved function if pltexit isn't needed.
12451
12452 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12453
12454 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12455 or Y being zero as being unlikely.
12456 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12457 Likewise.
12458
12459 2013-02-20 Carlos O'Donell <carlos@redhat.com>
12460
12461 * manual/nss.texi (System Databases and Name Service Switch):
12462 Remove frobnicate @pxref.
12463
12464 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12465
12466 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12467 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12468
12469 2013-02-20 Petr Machata <pmachata@redhat.com>
12470
12471 * elf/elf.h (R_ARM_TARGET1): New macro.
12472 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12473 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12474 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12475 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12476 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12477 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12478 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12479 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12480 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12481 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12482 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12483 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12484 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12485 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12486 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12487 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12488 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12489 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12490 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12491 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12492 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12493 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12494 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12495 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12496 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12497 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12498 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12499 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12500 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12501 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12502 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12503 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12504 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12505 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12506 (R_ARM_THM_GOT_BREL12): Likewise.
12507 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12508 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12509 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12510 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12511 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12512 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12513 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12514 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12515 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12516
12517 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12518
12519 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12520 __attribute_used__ to __attribute__ ((unused)).
12521
12522 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12523
12524 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12525 powerpc mpa.c.
12526 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12527 comment formatting.
12528 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12529
12530 2013-02-19 Joseph Myers <joseph@codesourcery.com>
12531
12532 [BZ #13550]
12533 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12534 Remove macro.
12535 (ENTER): Remove both macro definitions.
12536 (LEAVE): Likewise.
12537 (CHECK_BOUNDS_LOW): Likewise.
12538 (CHECK_BOUNDS_HIGH): Likewise.
12539 (CHECK_BOUNDS_BOTH): Likewise.
12540 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12541 (RETURN_BOUNDED_POINTER): Likewise.
12542 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12543 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12544 (POP_ERRNO_LOCATION_RETURN): Likewise.
12545 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12546 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12547 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12548 macros.
12549 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12550 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12551 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12552 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12553 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12554 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12555 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12556 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12557 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12558 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12559 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12560 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12561 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12562 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12563 removed macros.
12564 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12565 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12566 macros.
12567 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12568 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12569 * sysdeps/i386/i586/memset.S (memset): Likewise.
12570 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12571 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12572 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12573 macros.
12574 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12575 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12576 Change uses of L(2) to L(out).
12577 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12578 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12579 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12580 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12581 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12582 removed macros.
12583 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12584 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12585 macros.
12586 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12587 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12588 (RETURN): Do not use macro LEAVE.
12589 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12590 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12591 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12592 * sysdeps/i386/i686/memset.S (memset): Likewise.
12593 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12594 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12595 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12596 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12597 Likewise.
12598 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12599 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12600 L(1_2) and L(1_3) into L(1).
12601 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12602 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12603 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12604 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12605 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12606 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12607 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12608 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12609 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12610 macros.
12611 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12612 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12613 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12614 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12615 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12616 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12617 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12618 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12619 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12620 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12621 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12622 * sysdeps/i386/strspn.S (strspn): Likewise.
12623 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12624 conditional code.
12625 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12626 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12627 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12628 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12629 L(1_3) into L(1_1).
12630 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12631 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12632 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12633 macros.
12634 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12635
12636 2013-02-19 Jakub Jelinek <jakub@redhat.com>
12637
12638 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12639 macro.
12640
12641 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12642
12643 * math/atest-exp.c (exp_mpn): Remove ROUND.
12644 * math/atest-exp2.c (exp_mpn): Likewise.
12645 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12646
12647 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12648 * stdlib/tst-tls-atexit-lib.c: Likewise.
12649 * stdlib/tst-tls-atexit.c: Likewise.
12650
12651 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12652
12653 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12654 and __attribute_alloc_size__.
12655
12656 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12657
12658 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12659 __attribute_alloc_size__.
12660 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12661 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12662
12663 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12664
12665 * include/programs/xmalloc.h: New file.
12666 * catgets/gencat.c: Include it.
12667 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12668 * elf/pldd.c: Likewise.
12669 * iconv/iconv_charmap.c: Likewise.
12670 * iconv/iconvconfig.c: Likewise.
12671 * iconv/strtab.c: Likewise.
12672 * locale/programs/locale.c: Likewise.
12673 * locale/programs/localedef.h: Likewise.
12674 * locale/programs/simple-hash.c: Likewise.
12675 * nscd/nscd.h: Likewise.
12676 * nss/makedb.c: Likewise.
12677 * sysdeps/generic/ldconfig.h: Likewise.
12678
12679 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12680
12681 * Versions.def: Add GLIBC_2.18.
12682 * include/link.h (struct link_map): New member l_tls_dtor_count.
12683 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12684 (__call_tls_dtors): Likewise.
12685 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12686 __cxa_thread_atexit_impl.
12687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12688 Likewise.
12689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12690 Likewise.
12691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12692 Likewise.
12693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12694 Likewise.
12695 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12697 Likewise.
12698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12699 Likewise.
12700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12702 Likewise.
12703 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12704 (tests): Add test case tst-tls-atexit.
12705 (modules-names): Add shared library for tst-tls-atexit.
12706 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12707 (GLIBC_PRIVATE): Add __call_tls_dtors.
12708 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12709 for libstdc++.
12710 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12711 * stdlib/tst-tls-atexit.c: New test case.
12712 * stdlib/tst-tls-atexit-lib.c: New test case.
12713
12714 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12715
12716 * elf/Versions (ld): Add _dl_find_dso_for_object.
12717 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12718 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12719 (dl_open_worker): Use _dl_find_dso_for_object.
12720 * elf/dl-sym.c (do_sym): Likewise.
12721 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12722
12723 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12724
12725 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12726 Syntactic changes only.
12727 (_dl_runtime_profile): Do a tail-call to the resolved function.
12728
12729 2013-02-17 Joseph Myers <joseph@codesourcery.com>
12730
12731 [BZ #13550]
12732 * sysdeps/x86_64/bp-asm.h: Remove file.
12733 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12734 <bp-sym.h> and <bp-asm.h>.
12735 (__clone): Do not use BP_SYM.
12736 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12737 <bp-sym.h> and <bp-asm.h>.
12738 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12739 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12740 "bp-asm.h".
12741 (_setjmp): Do not use BP_SYM.
12742 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12743 "bp-asm.h".
12744 (setjmp): Do not use BP_SYM.
12745 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12746 libc_hidden_def.
12747 (mempcpy): Do not use BP_SYM in weak_alias.
12748 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12749 "bp-asm.h".
12750 (strchr): Do not use BP_SYM.
12751 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12752 "bp-asm.h".
12753 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12754 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12755 (_start): Do not use BP_SYM.
12756 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12757 "bp-asm.h".
12758 (strcat): Do not use BP_SYM.
12759 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12760 "bp-asm.h".
12761 (STRCMP): Do not use BP_SYM.
12762 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12763 "bp-asm.h".
12764 (STRCPY): Do not use BP_SYM.
12765 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12766 "bp-asm.h".
12767 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12768 "bp-asm.h".
12769 (FUNCTION): Do not use BP_SYM.
12770 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12771 weak_alias.
12772 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12773
12774 2013-02-17 Andreas Jaeger <aj@suse.de>
12775
12776 * time/Versions: Sort entries.
12777 * string/Versions: Likewise.
12778 * resolv/Versions: Likewise.
12779 * posix/Versions: Likewise.
12780 * iconv/Versions: Likewise.
12781 * elf/Versions: Likewise.
12782 * wcsmbs/Versions: Likewise.
12783
12784 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12785
12786 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12787 loop termination condition.
12788
12789 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12790 variable to calculate EZ.
12791 (__sqr): Likewise.
12792
12793 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12794 the lower precision input.
12795
12796 2013-02-15 Joseph Myers <joseph@codesourcery.com>
12797
12798 [BZ #13550]
12799 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12800 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12801 (run-via-rtld-prefix): Do not handle %-bp tests.
12802 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12803 (all-object-suffixes): Remove .ob.
12804 (bppfx): Remove variable.
12805 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12806 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12807 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12808 [$(build-bounded) = yes] (libtype.ob): Likewise.
12809 * Makerules (elide-routines.ob): Remove variable.
12810 (do-tests-clean): Do not handle *-bp.out.
12811 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12812 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12813 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12814 (tests): Do not include $(tests-bp.out).
12815 (xtests): Do not include $(xtests-bp.out).
12816 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12817 [$(build-bounded) = yes] ($(addprefix
12818 $(objpfx),$(binaries-bounded))): Remove rule.
12819 ($(objpfx)%-bp.out): Remove rule.
12820 * config.make.in (build-bounded): Remove variable.
12821 * crypt/Makefile [$(build-bounded) = yes]
12822 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12823 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12824 append to variable.
12825 [$(build-bounded) = yes] (install-lib): Likewise.
12826 [$(build-bounded) = yes] (generated): Likewise.
12827 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12828 Remove rule.
12829 * intl/Makefile [$(build-bounded) = yes]
12830 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12831 * math/Makefile [$(build-bounded) = yes]
12832 ($(tests:%=$(objpfx)%-bp): Likewise.
12833 * misc/Makefile [$(build-bounded) = yes]
12834 ($(objpfx)tst-tsearch-bp): Likewise.
12835 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12836 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12837 Remove dependency.
12838 * string/Makefile (o-objects.ob): Remove variable.
12839 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12840 (CFLAGS-.ob): Remove variable.
12841 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12842 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12843 both definitions of variable.
12844 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12845 (ASFLAGS-.ob): Remove variable.
12846
12847 2013-02-14 Joseph Myers <joseph@codesourcery.com>
12848
12849 [BZ #13550]
12850 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12851 Remove __BOUNDED_POINTERS__ from condition.
12852 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12853 * string/bits/string2.h [!__NO_STRING_INLINES &&
12854 !__BOUNDED_POINTERS__]: Likewise.
12855 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12856 Likewise.
12857 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12858 Remove conditional code.
12859 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12860 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12861 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12862 condition.
12863
12864 [BZ #13550]
12865 * csu/libc-start.c: Do not include <bp-sym.h>.
12866 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12867 * elf/dl-open.c: Do not include <bp-sym.h>.
12868 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12869 * math/fegetenv.c: Do not include <bp-sym.h>.
12870 (fegetenv): Do not use BP_SYM in versioned symbols.
12871 * nptl/sysdeps/pthread/bits/libc-lockP.h
12872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12873 <bp-sym.h>.
12874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12875 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12877 (__pthread_mutex_destroy): Likewise.
12878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12879 (__pthread_mutex_lock): Likewise.
12880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12881 (__pthread_mutex_trylock): Likewise.
12882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12883 (__pthread_mutex_unlock): Likewise.
12884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12885 (__pthread_mutexattr_init): Likewise.
12886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12887 (__pthread_mutexattr_destroy): Likewise.
12888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12889 (__pthread_mutexattr_settype): Likewise.
12890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12891 (__pthread_rwlock_init): Likewise.
12892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12893 (__pthread_rwlock_destroy): Likewise.
12894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12895 (__pthread_rwlock_rdlock): Likewise.
12896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12897 (__pthread_rwlock_tryrdlock): Likewise.
12898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12899 (__pthread_rwlock_wrlock): Likewise.
12900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12901 (__pthread_rwlock_trywrlock): Likewise.
12902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12903 (__pthread_rwlock_unlock): Likewise.
12904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12905 (__pthread_key_create): Likewise.
12906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12907 (__pthread_setspecific): Likewise.
12908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12909 (__pthread_getspecific): Likewise.
12910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12911 Likewise.
12912 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12913 (_pthread_cleanup_push_defer): Likewise.
12914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12915 (_pthread_cleanup_pop_restore): Likewise.
12916 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12917 (pthread_setcancelstate): Likewise.
12918 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12919 <bp-sym.h>.
12920 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12921 (memchr): Do not use BP_SYM in weak_alias.
12922 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12923 (fegetenv): Do not use BP_SYM in versioned symbols.
12924 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12925 (fesetenv): Do not use BP_SYM in versioned symbols.
12926 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12927 (feupdateenv): Do not use BP_SYM in versioned symbols.
12928 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12929 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12930 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12931 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12932 (open64): Do not use BP_SYM in weak_alias.
12933 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12934 (fegetenv): Do not use BP_SYM in versioned symbols.
12935 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12936 (fesetenv): Do not use BP_SYM in versioned symbols.
12937 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12938 (feupdateenv): Do not use BP_SYM in versioned symbols.
12939 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12940 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12941 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12942 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12943 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12944 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12945 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12946 <bp-sym.h>.
12947 (__libc_start_main): Do not use BP_SYM.
12948
12949 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12950
12951 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12952 redundant return line.
12953 (norm): Likewise.
12954 (denorm): Likewise.
12955 (dbl_mp): Likewise.
12956 (sub_magnitudes): Likewise.
12957 (__add): Likewise.
12958 (__sub): Likewise.
12959 (__mul): Likewise.
12960 (__inv): Likewise.
12961 (__dvd): Likewise.
12962 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12963 (norm): Likewise.
12964 (denorm): Likewise.
12965 (dbl_mp): Likewise.
12966 (sub_magnitudes): Likewise.
12967 (__add): Likewise.
12968 (__sub): Likewise.
12969 (__mul): Likewise.
12970 (__inv): Likewise.
12971 (__dvd): Likewise.
12972
12973 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12974 instead of __mul.
12975 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12976 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12977 (cc32): Likewise.
12978
12979 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12980 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12981 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12982 of __mul for squares.
12983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12984 function
12985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12986 Likewise.
12987 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12988 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12989
12990 2013-02-13 Joseph Myers <joseph@codesourcery.com>
12991
12992 [BZ #13550]
12993 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12994 code.
12995 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12996 prototype or function definition. Rename ubp_* variables and
12997 parameters. Remove argv definitions conditional on
12998 [__BOUNDED_POINTERS__].
12999 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13000 * elf/dl-runtime.c (_dl_fixup): Likewise.
13001 * include/set-hooks.h (RUN_HOOK): Likewise.
13002 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13003 definition.
13004 * string/strcpy.c (strcpy): Do not use __unbounded.
13005 * sysdeps/generic/frame.h (struct layout): Likewise.
13006 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13007 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13008 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13009 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13010 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13011 (__backtrace): Likewise.
13012 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13013 use __ptrvalue.
13014 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13015 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13016 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13017 Likewise.
13018 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13019 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13020 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13021 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13022 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13023 Do not use __unbounded.
13024 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13025 Rename __unboundedrlimits parameter to rlimits in prototype.
13026 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13027 Do not use __unbounded.
13028 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13029 not use __ptrvalue.
13030 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13031 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13032 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13033 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13034 __ptrvalue or __unbounded.
13035 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13036 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13037 use __unbounded.
13038 (__new_msgctl): Do not use __ptrvalue.
13039 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13040 __unbounded.
13041 (__libc_msgrcv): Do not use __ptrvalue.
13042 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13043 startup_info): Do not use __unbounded.
13044 (__libc_start_main): Likewise. Rename ubp_* variables and
13045 parameters. Remove argv definitions conditional on
13046 [__BOUNDED_POINTERS__].
13047 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13048 __ptrvalue.
13049 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13050 use __unbounded.
13051 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13052 or __ptrvalue.
13053 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13054 use __unbounded.
13055 (__new_shmctl): Do not use __ptrvalue.
13056 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13057 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13058 Likewise.
13059 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13060 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13061 (__libc_sigaction): Likewise.
13062 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13063 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13064 Likewise.
13065 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13066
13067 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
13068
13069 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13070
13071 * string/mempcpy.c: Implement by calling memcpy.
13072
13073 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13074
13075 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13076
13077 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13078 evaluation.
13079
13080 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13081 values in the mantissa.
13082
13083 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13084 minimize writes to Z.
13085 (sub_magnitudes): Simplify code a bit.
13086
13087 2013-02-12 Roland McGrath <roland@hack.frob.com>
13088
13089 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13090 from the message. The linker prefixes all warnings with that already.
13091
13092 2013-02-12 Andreas Schwab <schwab@suse.de>
13093
13094 [BZ #15078]
13095 * posix/regexec.c (extend_buffers): Add parameter min_len.
13096 (check_matching): Pass minimum needed length.
13097 (clean_state_log_if_needed): Likewise.
13098 (get_subexp): Likewise.
13099 * posix/Makefile (tests): Add bug-regex34.
13100 (bug-regex34-ENV): Define.
13101 * posix/bug-regex34.c: New file.
13102
13103 [BZ #11561]
13104 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13105 elements compare against the byte sequence of it, not its name.
13106 * posix/Makefile (tests): Add bug-regex35.
13107 (bug-regex35-ENV): Define.
13108 * posix/bug-regex35.c: New file.
13109
13110 2013-02-11 Tom de Vries <tom@codesourcery.com>
13111
13112 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13113 comment.
13114 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13115 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13116 (CHECK_EOL): Add undef.
13117
13118 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
13119
13120 * bits/stdlib-bsearch.h: New file.
13121 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13122 * stdlib/stdlib.h: Likewise.
13123
13124 2013-02-11 Roland McGrath <roland@hack.frob.com>
13125
13126 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13127 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13128 declaration.
13129 * manual/search.texi (Array Search Function): Add missing const in
13130 lfind prototype.
13131 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13132 declaration to use rlim_t.
13133 (Basic Scheduling Functions): Remove erroneous const from
13134 sched_getparam prototype. Remove erroneous * from
13135 sched_get_priority_max and sched_get_priority_min prototypes.
13136 (Resource Usage): Fix summary @comment on vtimes to refer to
13137 sys/vtimes.h rather than vtimes.h.
13138 Add missing *s in vtimes prototype.
13139 (Limits on Resources): Fix ulimit prototype to return long int.
13140 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13141 prototypes to use long int rather than double.
13142 (BSD Random): Fix initstate and setstate to use char *, not void *.
13143 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13144 prototype to make second argument 'struct aiocb64 *const[]'.
13145 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13146 (Status of AIO Operations): Remove erroneous const in aio_return and
13147 aio_return64 prototypes.
13148 (Synchronizing I/O): Fix sync prototype to return void.
13149 * manual/startup.texi (Suboptions): Remove an erroneous const in
13150 getsubopt prototype.
13151 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13152 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13153 use size_t rather than int.
13154 (Scanning All Users): Likewise for getpwent_r.
13155 (Setting Groups): Add missing const to setgroups prototype.
13156 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13157 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13158 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13159 'const void *' rather than 'const char *'.
13160 (Host Address Functions): Likewise for inet_ntop.
13161 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13162 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13163 ssize_t for return value.
13164 (Sending Data): Likewise for send, sendto, sendmsg.
13165 (Socket Option Functions): Add a missing const in setsockopt prototype.
13166 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13167 use wchar_t for the argument.
13168 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13169 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13170 take no arguments.
13171 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13172 double/float/long double for second argument.
13173 Fix return types of significand, significandf, significandl.
13174 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13175 argument in fchmod prototype.
13176 (File Owner): Use uid_t and gid_t in fchown prototype.
13177 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13178 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13179 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13180 use 'const struct dirent **' as argument types to CMP function pointer
13181 argument.
13182 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13183 (File Times): Fix summary magic @comment for struct utimbuf and utime
13184 to refer to utime.h, not time.h.
13185 * manual/string.texi (Argz Functions): Add missing const in
13186 argz_extract and argz_next prototypes.
13187 (Finding Tokens in a String): Likewise for basename.
13188 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13189 (Copying and Concatenation): Fix typo in wmemmove prototype.
13190 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13191 (Signal Stack): Remove erroneous const in sigstack prototype.
13192 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13193 prototype.
13194 (Simple Calendar Time): Likewise for stime.
13195 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13196 prototype.
13197 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13198 say sys/sysctl.h instead.
13199 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13200 and vsyslog prototypes.
13201
13202 2013-02-11 Tom de Vries <tom@codesourcery.com>
13203
13204 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13205 Remove.
13206
13207 2013-02-11 Roland McGrath <roland@hack.frob.com>
13208
13209 * misc/sys/mman.h: Fix typo in mremap comment.
13210
13211 2013-02-08 Roland McGrath <roland@hack.frob.com>
13212
13213 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13214 the '\0' terminator.
13215
13216 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13217
13218 [BZ #13550]
13219 * debug/segfault.c: Don't include <bp-checks.h>.
13220 * sysdeps/generic/bp-checks.h: Remove file.
13221 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13222 (__GETDENTS): Don't use CHECK_N.
13223 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13224 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13225 (__getgroups): Don't use CHECK_N.
13226 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13227 (setgroups): Don't use CHECK_N.
13228 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13229 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13230 (__libc_msgrcv): Don't use CHECK_N.
13231 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13232 (__libc_msgsnd): Don't use CHECK_N.
13233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13234 <bp-checks.h>.
13235 (__libc_pread): Don't use CHECK_N.
13236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13237 include <bp-checks.h>.
13238 (__libc_pread64): Don't use CHECK_N.
13239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13240 include <bp-checks.h>.
13241 (__libc_pwrite): Don't use CHECK_N.
13242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13243 include <bp-checks.h>.
13244 (__libc_pwrite64): Don't use CHECK_N.
13245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13246 <bp-checks.h>.
13247 (__libc_pread): Don't use CHECK_N.
13248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13249 include <bp-checks.h>.
13250 (__libc_pread64): Don't use CHECK_N.
13251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13252 include <bp-checks.h>.
13253 (__libc_pwrite): Don't use CHECK_N.
13254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13255 include <bp-checks.h>.
13256 (__libc_pwrite64): Don't use CHECK_N.
13257 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13258 (do_pread): Don't use CHECK_N.
13259 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13260 (do_pread64): Don't use CHECK_N.
13261 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13262 (do_pwrite): Don't use CHECK_N.
13263 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13264 (do_pwrite64): Don't use CHECK_N.
13265 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13266 (__libc_readv): Don't use CHECK_N.
13267 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13268 (semop): Don't use CHECK_N.
13269 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13270 <bp-checks.h>.
13271 (semtimedop): Don't use CHECK_N.
13272 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13273 (__libc_pread): Don't use CHECK_N.
13274 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13275 <bp-checks.h>.
13276 (__libc_pread64): Don't use CHECK_N.
13277 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13278 <bp-checks.h>.
13279 (__libc_pwrite): Don't use CHECK_N.
13280 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13281 <bp-checks.h>.
13282 (__libc_pwrite64): Don't use CHECK_N.
13283 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13284 <bp-checks.h>.
13285 (__libc_msgrcv): Don't use CHECK_N.
13286 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13287 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13288 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13289 (__libc_writev): Don't use CHECK_N.
13290
13291 2013-02-08 Roland McGrath <roland@hack.frob.com>
13292
13293 * string/strcpy.c: Removed unused variable.
13294
13295 * Makeconfig (+sysdep-includes): Define with := rather than =.
13296 Use an existing include/ subdir of each sysdeps dir before it.
13297
13298 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13299
13300 * nscd/connection.c (register_traced_file): Comment function.
13301 [HAVE_INOTIFY] (union __inev): Define.
13302 [HAVE_INOTIFY] (inotify_check_files): New function.
13303 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13304 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13305 clear_db_cache.
13306 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13307
13308 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13309
13310 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13311 loaded if not already and that a failure is permanent.
13312
13313 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13314
13315 [BZ #15006]
13316 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13317 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13318
13319 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13320
13321 [BZ #13550]
13322 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13323 (CHECK_1_NULL_OK): Likewise.
13324 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13325 (__fxstat): Do not use CHECK_1.
13326 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13327 <bp-checks.h>.
13328 (___fxstat64): Do not use CHECK_1.
13329 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13330 <bp-checks.h>.
13331 (__fxstatat): Do not use CHECK_1.
13332 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13333 <bp-checks.h>.
13334 (__fxstatat64): Do not use CHECK_1.
13335 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13336 <bp-checks.h>.
13337 (__fxstat): Do not use CHECK_1.
13338 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13339 <bp-checks.h>.
13340 (__fxstatat): Do not use CHECK_1.
13341 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13342 <bp-checks.h>.
13343 (__getresgid): Do not use CHECK_1.
13344 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13345 <bp-checks.h>.
13346 (__getresuid): Do not use CHECK_1.
13347 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13348 <bp-checks.h>.
13349 (__lxstat): Do not use CHECK_1.
13350 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13351 <bp-checks.h>.
13352 (__old_msgctl): Do not use CHECK_1.
13353 (__new_msgctl): Likewise.
13354 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13355 <bp-checks.h>.
13356 (__new_setrlimit): Do not use CHECK_1.
13357 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13358 <bp-checks.h>.
13359 (__old_shmctl): Do not use CHECK_1.
13360 (__new_shmctl): Likewise.
13361 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13362 <bp-checks.h>.
13363 (__xstat): Do not use CHECK_1.
13364 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13365 (__lxstat): Do not use CHECK_1.
13366 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13367 <bp-checks.h>.
13368 (___lxstat64): Do not use CHECK_1.
13369 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13370 (__old_msgctl): Do not use CHECK_1.
13371 (__new_msgctl): Likewise.
13372 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13373 <bp-checks.h>.
13374 (__gettimeofday): Do not use CHECK_1.
13375 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13376 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13377 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13378 <bp-checks.h>.
13379 (__gettimeofday): Do not use CHECK_1.
13380 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13381 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13382 (__new_shmctl): Do not use CHECK_1.
13383 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13384 <bp-checks.h>.
13385 (do_sigtimedwait): Do not use CHECK_1.
13386 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13387 <bp-checks.h>.
13388 (do_sigwaitinfo): Do not use CHECK_1.
13389 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13390 <bp-checks.h>.
13391 (msgctl): Do not use CHECK_1.
13392 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13393 <bp-checks.h>.
13394 (shmctl): Do not use CHECK_1.
13395 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13396 (ustat): Do not use CHECK_1.
13397 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13398 <bp-checks.h>.
13399 (__fxstat): Do not use CHECK_1.
13400 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13401 <bp-checks.h>.
13402 (__fxstatat): Do not use CHECK_1.
13403 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13404 <bp-checks.h>.
13405 (__lxstat): Do not use CHECK_1.
13406 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13407 <bp-checks.h>.
13408 (__xstat): Do not use CHECK_1.
13409 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13410 (__xstat): Do not use CHECK_1.
13411 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13412 (___xstat64): Do not use CHECK_1.
13413
13414 [BZ #13550]
13415 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13416 definitions.
13417 (CHECK_BOUNDS_HIGH): Likewise.
13418 * string/strcpy.c: Do not include <bp-checks.h>.
13419 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13420
13421 2013-02-07 Roland McGrath <roland@hack.frob.com>
13422
13423 * nscd/nscd-client.h (__nscd_drop_map_ref):
13424 Add __attribute__ ((unused)).
13425 * nis/nss-nisplus.h (niserr2nss): Likewise.
13426
13427 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13428 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13429
13430 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13431 Remove inline keyword.
13432 * include/rounding-mode.h (round_away): Likewise.
13433 * libio/wfileops.c (adjust_wide_data): Likewise.
13434 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13435 (__m128i_strloadu_tolower): Likewise.
13436 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13437 (__m128i_strloadu_tolower): Likewise.
13438 * time/mktime.c (ydhms_diff): Likewise.
13439 * locale/elem-hash.h (elem_hash): Likewise.
13440 * locale/setlocale.c (setdata): Likewise.
13441 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13442 (re_string_wchar_at): Likewise.
13443 (bitset_not, bitset_merge, bitset_mask): Likewise.
13444 [!(__GNUC__ > 3)] (inline): Remove macro.
13445 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13446 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13447 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13448 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13449 * string/memcmp.c (memcmp_bytes): Likewise.
13450 * locale/programs/locarchive.c (compute_hashval): Likewise.
13451 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13452 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13453 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13454 * nss/getent.c (print_rpc, print_protocols): Likewise.
13455 (print_passwd, print_group, print_aliases): Likewise.
13456 * nis/nss-nisplus.h (niserr2nss): Likewise.
13457 * nscd/connections.c (restart_p): Likewise.
13458 Change return type to bool.
13459
13460 2013-02-05 Roland McGrath <roland@hack.frob.com>
13461
13462 * Makeconfig (all-Depend-files): Add existing
13463 $(sorted-subdirs:=/Depend) files.
13464 (all-subdirs): Remove nss.
13465 * sysdeps/unix/inet/Subdirs: Add it here instead.
13466 * hesiod/Depend: New file.
13467
13468 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13469 instead of calling alloca.
13470
13471 * io/lseek.c (__lseek): Rename to __libc_lseek.
13472 Define __lseek as an alias.
13473
13474 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13475
13476 2013-02-04 Carlos O'Donell <carlos@redhat.com>
13477
13478 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13479 else clause and remove check for non-standard endianness.
13480
13481 2013-02-04 David S. Miller <davem@davemloft.net>
13482
13483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13484
13485 2013-02-04 Joseph Myers <joseph@codesourcery.com>
13486
13487 [BZ #13550]
13488 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13489 (__ubp_memchr): Remove prototype.
13490 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13491 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13492 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13493 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13494 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13495 Remove alias.
13496 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13497 (__ubp_memchr): Likewise.
13498 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13499 (__ubp_memchr): Likewise.
13500 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13501 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13502 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13503 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13504 CHECK_STRING.
13505 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13506 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13507 (__getcwd): Do not use CHECK_STRING.
13508 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13509 <bp-checks.h>.
13510 (__real_chown): Do not use CHECK_STRING.
13511 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13512 <bp-checks.h>.
13513 (fchownat): Do not use CHECK_STRING.
13514 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13515 CHECK_STRING.
13516 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13517 <bp-checks.h>.
13518 (__lchown): Do not use CHECK_STRING.
13519 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13520 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13521 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13522 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13524 include <bp-checks.h>.
13525 (truncate64): Do not use CHECK_STRING.
13526 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13527 <bp-checks.h>.
13528 (__real_chown): Do not use CHECK_STRING.
13529 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13530 <bp-checks.h>.
13531 (__lchown): Do not use CHECK_STRING.
13532 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13533 <bp-checks.h>.
13534 (__chown): Do not use CHECK_STRING.
13535 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13536 <bp-checks.h>.
13537 (truncate64): Do not use CHECK_STRING.
13538 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13539 Likewise.
13540 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13541 (__xmknod): Do not use CHECK_STRING.
13542 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13543 <bp-checks.h>.
13544 (__xmknodat): Do not use CHECK_STRING.
13545 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13546 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13547
13548 2013-02-04 Andreas Schwab <schwab@suse.de>
13549
13550 [BZ #14142]
13551 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13552 * include/netdb.h: Likewise for h_errno.
13553 * elf/tst-stackguard1.c: Include <tls.h>.
13554
13555 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13556
13557 * elf/link.h (struct link_map): Extend the l_addr comment.
13558 * include/link.h (struct link_map): Likewise.
13559
13560 2013-02-01 Joseph Myers <joseph@codesourcery.com>
13561
13562 [BZ #13550]
13563 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13564 (BOUNDED_1): Remove macro.
13565 * debug/backtrace.c: Don't include <bp-checks.h>.
13566 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13567 (__backtrace): Likewise.
13568 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13569 <bp-checks.h>.
13570 (__backtrace): Don't use BOUNDED_1.
13571 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13572 <bp-checks.h>.
13573 (__backtrace): Don't use BOUNDED_1.
13574 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13575 (__backtrace): Don't use BOUNDED_1.
13576 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13577 (shmat): Don't use BOUNDED_N.
13578
13579 2013-01-31 Joseph Myers <joseph@codesourcery.com>
13580
13581 [BZ #13550]
13582 * sysdeps/generic/bp-start.h: Remove file.
13583 * csu/libc-start.c: Don't include <bp-start.h>.
13584 (LIBC_START_MAIN): Set up __environ directly instead of using
13585 INIT_ARGV_and_ENVIRON.
13586 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13587 <bp-start.h>.
13588
13589 [BZ #13550]
13590 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13591 definitions.
13592 (CHECK_FCNTL): Likewise.
13593 (CHECK_N_PAGES): Likewise.
13594
13595 [BZ #13550]
13596 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13597 definitions.
13598 (CHECK_SIGSET_NULL_OK): Likewise.
13599 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13600 <bp-checks.h>.
13601 (sigpending): Don't use CHECK_SIGSET.
13602 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13603 <bp-checks.h>.
13604 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13605 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13606 <bp-checks.h>.
13607 (do_sigsuspend): Don't use CHECK_SIGSET.
13608 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13609 use CHECK_SIGSET.
13610 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13611 (do_sigwait): Don't use CHECK_SIGSET.
13612 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13613 use CHECK_SIGSET.
13614 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13615 include <bp-checks.h>.
13616 (sigpending): Don't use CHECK_SIGSET.
13617 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13618 include <bp-checks.h>.
13619 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13620 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13621 <bp-checks.h>.
13622 (sigpending): Don't use CHECK_SIGSET.
13623 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13624 <bp-checks.h>.
13625 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13626
13627 [BZ #13550]
13628 * sysdeps/generic/bp-semctl.h: Remove file.
13629 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13630 <bp-checks.h> and <bp-semctl.h>.
13631 (__old_semctl): Don't use CHECK_SEMCTL.
13632 (__new_semctl): Likewise.
13633 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13634 and <bp-semctl.h>.
13635 (__old_semctl): Don't use CHECK_SEMCTL.
13636 (__new_semctl): Likewise.
13637 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13638 <bp-checks.h> and <bp-semctl.h>.
13639 (__old_semctl): Don't use CHECK_SEMCTL.
13640 (__new_semctl): Likewise.
13641 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13642 <bp-checks.h> and <bp-semctl.h>.
13643 (semctl): Don't use CHECK_SEMCTL.
13644
13645 [BZ #13550]
13646 * Makerules (elide-bp-thunks): Remove variable.
13647 (elide-routines.oS): Don't use $(elide-bp-thunks).
13648 (elide-routines.os): Likewise.
13649 (elide-routines.o): Likewise.
13650 (elide-routines.op): Likewise.
13651 (elide-routines.og): Likewise.
13652 (objects): Don't use $(bp-thunks).
13653 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13654 include.
13655 (common-generated): Do not add s-proto-bp.d.
13656 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13657 (int): Likewise.
13658 (typ): Likewise.
13659 Do not generate makefile rules for bounded-pointer thunks.
13660 * sysdeps/generic/bp-thunks.h: Remove file.
13661 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13662 * sysdeps/unix/s-proto-bp.S: Likewise.
13663
13664 [BZ #15062]
13665 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13666 parts of result separately when argument is not close to line from
13667 -i to i and one part of argument is small.
13668 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13669 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13670 * math/libm-test.inc (cacos_test): Add more tests.
13671 (casin_test): Likewise.
13672 (casinh_test): Likewise.
13673 * sysdeps/i386/fpu/libm-test-ulps: Update.
13674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13675
13676 2013-01-31 David S. Miller <davem@davemloft.net>
13677
13678 * po/de.po: Update from translation team.
13679
13680 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13681
13682 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13683
13684 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13685
13686 * configure.in (_AC_PROG_CC_C89): New definition.
13687 * configure: Regenerate.
13688
13689 * configure.in (AC_PROG_CPP): New definition.
13690 * configure: Regenerate.
13691
13692 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13693
13694 * debug/tst-backtrace.h: New file.
13695 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13696 (ret): Remove variable.
13697 (x): Likewise.
13698 (FAIL): Remove macro.
13699 (NO_INLINE): Likewise.
13700 (fn1): Use match function instead of strstr.
13701 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13702 (ret): Remove variable.
13703 (x): Likewise.
13704 (FAIL): Remove macro.
13705 (NO_INLINE): Likewise.
13706 (fn): Use match function instead of strstr.
13707 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13708 (ret): Remove variable.
13709 (x): Likewise.
13710 (FAIL): Remove macro.
13711 (NO_INLINE): Likewise.
13712 (handle_signal): Use match function instead of strstr.
13713 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13714 (ret): Remove variable.
13715 (x): Likewise.
13716 (FAIL): Remove macro.
13717 (NO_INLINE): Likewise.
13718 (handle_signal): Use match function instead of strstr.
13719
13720 2013-01-23 Roland McGrath <roland@hack.frob.com>
13721
13722 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13723
13724 2013-01-23 David S. Miller <davem@davemloft.net>
13725
13726 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13727 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13728 argument of CAS if possible.
13729 * sysdeps/sparc/sparc64/bits/atomic.h
13730 (__arch_compare_and_exchange_val_32_acq): Likewise.
13731 (__arch_compare_and_exchange_val_64_acq): Likewise.
13732
13733 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13734
13735 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13736 * sysdeps/posix/ulimit.c: ... this.
13737 Include <limits.h>.
13738 * sysdeps/unix/bsd/ulimit.c: Remove file.
13739
13740 2013-01-23 Adam Conrad <adconrad@0c3.net>
13741
13742 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13743 (LDFLAGS-tst-array5): Likewise.
13744
13745 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13746
13747 [BZ #15036]
13748 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13749 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13750 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13751 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13752
13753 2013-01-21 David S. Miller <davem@davemloft.net>
13754
13755 * sysdeps/sparc/backtrace.c: New file.
13756 * sysdeps/sparc/sparc32/backtrace.h: New file.
13757 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13758 * sysdeps/sparc/sparc64/backtrace.h: New file.
13759 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13760 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13761 -funwind-tables.
13762
13763 2013-01-21 Andreas Schwab <schwab@suse.de>
13764
13765 [BZ #15020]
13766 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13767 closed its stdout.
13768
13769 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13770
13771 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13772 "mpa2.h".
13773 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13774
13775 2013-01-18 Joseph Myers <joseph@codesourcery.com>
13776 Mark Mitchell <mark@codesourcery.com>
13777 Tom de Vries <tom@codesourcery.com>
13778 Paul Pluzhnikov <ppluzhnikov@google.com>
13779
13780 * debug/tst-backtrace2.c: New file.
13781 * debug/tst-backtrace3.c: Likewise.
13782 * debug/tst-backtrace4.c: Likewise.
13783 * debug/tst-backtrace5.c: Likewise.
13784 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13785 (CFLAGS-tst-backtrace3.c): Likewise.
13786 (CFLAGS-tst-backtrace4.c): Likewise.
13787 (CFLAGS-tst-backtrace5.c): Likewise.
13788 (LDFLAGS-tst-backtrace2): Likewise.
13789 (LDFLAGS-tst-backtrace3): Likewise.
13790 (LDFLAGS-tst-backtrace4): Likewise.
13791 (LDFLAGS-tst-backtrace5): Likewise.
13792 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13793 tst-backtrace4 and tst-backtrace5.
13794
13795 2013-01-18 Anton Blanchard <anton@samba.org>
13796 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13797
13798 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13799 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13800 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13801 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13803 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13804 "+r" and remove output regs list as redundant. Add explicit inline
13805 asm to specify register of return val to work around compiler codegen
13806 bug. Remove (int) cast on return value. Add return type parameter to
13807 use in macro so that this macro does not truncate return value for
13808 64-bit values.
13809 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13810 pass to INTERNAL_VSYSCALL_NCS.
13811 (INLINE_VSYSCALL): Add 'long int' as return type to
13812 INTERNAL_VSYSCALL_NCS macro invocation.
13813 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13814 INTERNAL_VSYSCALL_NCS macro invocation.
13815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13816
13817 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13818
13819 [BZ #14496]
13820 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13821 Fix application of SIMD FP exception mask.
13822
13823 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13824 mp_no from a power of two.
13825 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13826 __mpexp_twomm1. Use __pow_mp.
13827
13828 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13829 multiplication.
13830
13831 2013-01-17 David S. Miller <davem@davemloft.net>
13832
13833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13834
13835 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13836
13837 [BZ #15023]
13838 * include/complex.h: Condition contents on [!_COMPLEX_H].
13839 (__kernel_casinhf): New prototype.
13840 (__kernel_casinh): Likewise.
13841 (__kernel_casinhl): Likewise.
13842 * math/Makefile (libm_calls): Add k_casinh.
13843 * math/k_casinh.c: New file.
13844 * math/k_casinhf.c: Likewise.
13845 * math/k_casinhl.c: Likewise.
13846 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13847 finite nonzero arguments.
13848 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13849 finite nonzero arguments.
13850 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13851 finite nonzero arguments.
13852 * math/s_casinh.c: Do not include <float.h>.
13853 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13854 * math/s_casinhf.c: Do not include <float.h>.
13855 (__casinhf): Move code for finite nonzero arguments to
13856 k_casinhf.c.
13857 * math/s_casinhl.c: Do not include <float.h>.
13858 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13859 redefine.
13860 (__casinhl): Move code for finite nonzero arguments to
13861 k_casinhl.c.
13862 * math/libm-test.inc (cacos_test): Add more tests.
13863 * sysdeps/i386/fpu/libm-test-ulps: Update.
13864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13865
13866 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13867
13868 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13869 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13870 [!HAVE_MREMAP]: Remove [defined linux] case.
13871 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13872
13873 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13874
13875 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13876
13877 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
13878
13879 * elf/elf.h (R_386_SIZE32): New relocation.
13880 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13881 R_386_SIZE32.
13882 (elf_machine_rela): Likewise.
13883 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13884 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13885
13886 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13887
13888 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13889 (FP_FAST_FMA): Do not define.
13890 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13891 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13892 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13893 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13894 !_SOFT_FLOAT]: Likewise.
13895 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13896 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13897 value.
13898 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13899 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13900 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13901 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13902 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13903 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13904 file.
13905
13906 2013-01-16 Andreas Schwab <schwab@suse.de>
13907
13908 [BZ #14327]
13909 * include/stdlib.h (__mktemp): Add declaration.
13910 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13911 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13912
13913 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13914
13915 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13916 definitions.
13917 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13918 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13919 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13920 definitions here.
13921 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13922 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13923 definitions.
13924 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13925 and ONE.
13926 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13927 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13928 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13929 definitions.
13930 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13931 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13932 definitions.
13933 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13934
13935 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13936
13937 2013-01-15 David S. Miller <davem@davemloft.net>
13938
13939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13940 trunc{,f} to libm-sysdep_routes.
13941 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13943 file.
13944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13946 file.
13947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13948 file.
13949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13951 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13952 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13953 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13954 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13955 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13956 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13957
13958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13959 nearbyint{,f} to libm-sysdep_routes.
13960 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13962 New file.
13963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13964 file.
13965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13966 New file.
13967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13968 file.
13969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13971 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13972 file.
13973 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13974 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13975 file.
13976 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13977 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13978 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13979
13980 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13981 libc_feholdexcept and libc_fesetenv.
13982
13983 2013-01-15 Mike Frysinger <vapier@gentoo.org>
13984
13985 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13986
13987 2013-01-14 David S. Miller <davem@davemloft.net>
13988
13989 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13990 (SPARC_ASM_VIS2_IFUNC): Likewise.
13991 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13993 use of 'siam' instruction.
13994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13995 Likewise.
13996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13997 Likewise.
13998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13999 Likewise.
14000 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14002 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14003 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14005 file.
14006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14007 file.
14008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14009 file.
14010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14011 file.
14012 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14013 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14014 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14015 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14017 new VIS2 routines.
14018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14021 Likewise.
14022 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14023 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14024 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14025 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14027 routines to libm-sysdep_routines.
14028 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14029
14030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14031 fdim/fdimf to libm-sysdep_routines.
14032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14033 file.
14034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14036 file.
14037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14040 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14041 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14042 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14043 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14044
14045 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14046
14047 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14048 to optimize copies.
14049
14050 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14051 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14052 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14053
14054 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14055 local variable MPTWO.
14056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14057 Likewise.
14058
14059 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14060
14061 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14062 GLOB_NOESCAPE.
14063
14064 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14065
14066 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14067
14068 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14069
14070 * manual/pattern.texi (glob_t): Document gl_flags.
14071 (glob64_t): Likewise.
14072
14073 2013-01-11 David S. Miller <davem@davemloft.net>
14074
14075 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14076 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14077 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
14078 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14079 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14080 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14081 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14082 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14083 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14084 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14085 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14086 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14087 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14088
14089 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14090 sparc V9 rather than using V8 code.
14091 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14092 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14093
14094 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14095 Move to...
14096 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14097 Here.
14098
14099 2013-01-11 Roland McGrath <roland@hack.frob.com>
14100
14101 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14102 not in the main loop.
14103 * configure: Regenerated.
14104
14105 2013-01-11 Joseph Myers <joseph@codesourcery.com>
14106
14107 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14108 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14109 to just #else.
14110 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14111 [!__GLIBC_HAVE_LONG_LONG] case.
14112 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14113 condition to just #else.
14114 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14115 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14116 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14117 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14118 unconditional.
14119 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14120 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14121 #elif condition to just #else.
14122 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14123 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14124 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14125 #elif condition to just #else.
14126
14127 2013-01-11 Steve Ellcey <sellcey@mips.com>
14128
14129 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14130 (EF_MIPS_ARCH_64): Fix value.
14131 (EF_MIPS_ARCH_32R2): New.
14132 (EF_MIPS_ARCH_64R2): New.
14133
14134 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14135
14136 * Makeconfig (+link-pie-before-libc): New.
14137 (+link-pie-after-libc): Likewise.
14138 (+link-pie-tests): Likewise.
14139 (+link-pie): Rewritten.
14140 (link-before-libc): Remove $(config-LDFLAGS).
14141 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14142 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14143 (config-LDFLAGS): Renamed to ...
14144 (rtld-LDFLAGS): This.
14145 (rtld-tests-LDFLAGS): New macro.
14146 (link-libc-rpath-link): Likewise.
14147 (link-libc-tests-rpath-link): Likewise.
14148 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14149 (link-libc): Prepand $(link-libc-rpath-link).
14150 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14151 (test-program-prefix): New macro.
14152 (test-via-rtld-prefix): Likewise.
14153 (test-program-cmd): Likewise.
14154 (host-test-program-cmd): Likewise.
14155 * Makefile ($(common-objpfx)testrun.sh): Replace
14156 $(run-program-prefix) with $(test-program-prefix).
14157 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14158 $(rtld-LDFLAGS).
14159 ($(common-objpfx)shlib.lds): Likewise.
14160 (build-module-helper): Likewise.
14161 ($(common-objpfx)format.lds): Likewise.
14162 * Rules (binaries-pie-tests): New.
14163 (binaries-pie-notests): Likewise.
14164 (binaries-pie): Rewritten.
14165 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14166 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14167 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14168 (make-test-out): Replace $(host-built-program-cmd) with
14169 $(host-test-program-cmd).
14170 * config.make.in (build-hardcoded-path-in-tests): New variable.
14171 * configure.in (--enable-hardcoded-path-in-tests): New configure
14172 option.
14173 (hardcoded_path_in_tests): New AC_SUBST.
14174 * configure: Regenerated.
14175 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14176 $(built-program-cmd) with $(test-program-cmd).
14177 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14178 (test_program_cmd): This.
14179 * elf/Makefile ($(objpfx)order.out): Run test with
14180 $(test-program-prefix).
14181 ($(objpfx)order2.out): Likewise.
14182 ($(objpfx)tst-initorder.out): Likewise.
14183 ($(objpfx)tst-initorder2.out): Likewise.
14184 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14185 $(test-program-cmd).
14186 ($(objpfx)tst-array1-static.out): Likewise.
14187 ($(objpfx)tst-array2.out): Likewise.
14188 ($(objpfx)tst-array3.out): Likewise.
14189 ($(objpfx)tst-array4.out): Likewise.
14190 ($(objpfx)tst-array5.out): Likewise.
14191 ($(objpfx)tst-array5-static.out): Likewise.
14192 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14193 $(test-program-cmd).
14194 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14195 $(run-program-prefix) with $(test-program-prefix).
14196 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14197 (test_program_prefix): This.
14198 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14199 $(run-program-prefix) with $(test-program-prefix).
14200 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14201 (test_program_prefix): This.
14202 * iconvdata/tst-tables.sh: Likewise.
14203 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14204 $(run-program-prefix) with $(test-program-prefix).
14205 ($(objpfx)tst-translit.out): Likewise.
14206 ($(objpfx)tst-gettext2.out): Likewise.
14207 ($(objpfx)tst-gettext4.out): Likewise.
14208 ($(objpfx)tst-gettext6.out): Likewise.
14209 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14210 (test_program_prefix): This.
14211 * intl/tst-gettext2.sh: Likewise.
14212 * intl/tst-gettext4.sh Likewise.
14213 * intl/tst-gettext6.sh: Likewise.
14214 * intl/tst-translit.sh: Likewise.
14215 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14216 with $(test-program-cmd).
14217 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14218 $(run-program-prefix) with $(test-program-prefix).
14219 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14220 (test_program_prefix): This.
14221 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14222 $(run-program-prefix) with $(test-program-prefix).
14223 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14224 (test_program_prefix): This.
14225 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14226 * posix/Makefile ($(objpfx)globtest.out): Replace
14227 $(run-via-rtld-prefix) and $(test-wrapper) with
14228 $(test-program-prefix) and $(test-via-rtld-prefix).
14229 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14230 $(test-program-prefix).
14231 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14232 $(host-test-program-cmd).
14233 (tst-spawn-ARGS): Likewise.
14234 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14235 $(test-program-prefix).
14236 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14237 (test_via_rtld_prefix): This.
14238 (test_wrapper): Renamed to ...
14239 (test_program_prefix): This.
14240 (run_program_prefix): Replaced by test_program_prefix.
14241 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14242 (test_program_prefix): This.
14243 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14244 with $(host-test-program-cmd).
14245 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14246 $(run-program-prefix) with $(test-program-prefix).
14247 ($(objpfx)tst-printf.out): Likewise.
14248 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14249 $(test-program-cmd).
14250 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14251 (test_program_prefix): This.
14252 * stdio-common/tst-unbputc.sh: Likewise.
14253 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14254 $(run-program-prefix) with $(test-program-prefix).
14255 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14256 (test_program_prefix): This.
14257 * string/Makefile ($(objpfx)tst-svc.out): Replace
14258 $(built-program-cmd) with $(test-program-cmd).
14259
14260 2013-01-11 Andreas Jaeger <aj@suse.de>
14261
14262 [BZ #15003]
14263 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14264 value. Sync with Linux 3.7.
14265
14266 2013-01-10 David S. Miller <davem@davemloft.net>
14267
14268 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14269 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14270 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14271
14272 2013-01-10 Roland McGrath <roland@hack.frob.com>
14273
14274 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14275 never set.
14276 * configure: Regenerated.
14277
14278 2013-01-10 David S. Miller <davem@davemloft.net>
14279
14280 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14281 sparc V9 rather than using V8 code.
14282 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14283 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14284
14285 2013-01-10 Roland McGrath <roland@hack.frob.com>
14286
14287 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14288 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14289 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14290 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14291 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14292 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14293 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14294 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14295 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14296 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14297 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14298 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14299 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14300 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14301 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14302 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14303 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14304 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14305 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14306 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14307 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14308 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14309 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14310 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14311 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14312 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14313 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14314
14315 2013-01-10 David S. Miller <davem@davemloft.net>
14316
14317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14318
14319 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14320
14321 * posix/Makefile (tests-static): New variable.
14322 (tests): Add $(tests-static).
14323 (tst-exec-static-ARGS): New variable.
14324 (tst-spawn-static-ARGS): Likewise.
14325 * posix/tst-exec-static.c: New file.
14326 * posix/tst-spawn-static.c: Likewise.
14327 * posix/tst-exec.c: Support run directly.
14328 * posix/tst-spawn.c: Likewise.
14329
14330 2013-01-10 Joseph Myers <joseph@codesourcery.com>
14331
14332 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14333 long.
14334 * math/bits/mathcalls.h (llrint): Likewise.
14335 (llround): Likewise.
14336 * stdlib/stdlib.h (struct drand48_data): Likewise.
14337 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14338 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14339 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14340 Likewise.
14341 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14342 Likewise.
14343 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14344 (elf_greg_t): Likewise.
14345 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14346 (__jmp_buf): Likewise.
14347 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14348 definitions.
14349 (llrint): Likewise, for all definitions.
14350 (llrintl): Likewise.
14351
14352 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14353 Remove [__GNUC__] condition.
14354 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14355 condition to just [__USE_ISOC99].
14356 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14357
14358 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14359
14360 [BZ #14200]
14361 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14362 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14363 defined.
14364 (_POSIX_V6_ILP32_OFF32): Likewise.
14365 (_XBS5_ILP32_OFF32): Likewise.
14366 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14367 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14368
14369 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14370
14371 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14372
14373 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14374 doubles __mpexp_twomm1. Adjust usage.
14375 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14376 Remove.
14377
14378 2013-01-10 Andreas Schwab <schwab@suse.de>
14379
14380 [BZ #14964]
14381 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14382 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14383
14384 2013-01-09 David S. Miller <davem@davemloft.net>
14385
14386 [BZ #15003]
14387 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14388 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14389 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14390 TCP_FASTOPEN): Define.
14391 (tcp_repair_opt): New structure.
14392 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14393 enum values.
14394 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14395 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14396 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14397 (tcp_cookie_transactions): New structure.
14398
14399 2013-01-09 Anton Blanchard <anton@samba.org>
14400
14401 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14402 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14403 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14404 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14405
14406 2013-01-09 Joseph Myers <joseph@codesourcery.com>
14407
14408 * include/features.h (__USE_ANSI): Remove.
14409
14410 2013-01-09 Roland McGrath <roland@hack.frob.com>
14411
14412 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14413
14414 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14415
14416 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14417
14418 * sysdeps/s390/fpu/libm-test-ulps: Update.
14419
14420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14421
14422 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14423 (__acr): Likewise.
14424 (__cpy): Likewise.
14425 (norm): Likewise.
14426 (denorm): Likewise.
14427 (__mp_dbl): Likewise.
14428 (__dbl_mp): Likewise.
14429 (add_magnitudes): Likewise.
14430 (sub_magnitudes): Likewise.
14431 (__add): Likewise.
14432 (__sub): Likewise.
14433 (__mul): Likewise.
14434 (__inv): Likewise.
14435 (__dvd): Likewise.
14436 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14437 (__acr): Likewise.
14438 (__cpy): Likewise.
14439 (norm): Likewise.
14440 (denorm): Likewise.
14441 (__mp_dbl): Likewise.
14442 (__dbl_mp): Likewise.
14443 (add_magnitudes): Likewise.
14444 (sub_magnitudes): Likewise.
14445 (__add): Likewise.
14446 (__sub): Likewise.
14447 (__mul): Likewise.
14448 (__inv): Likewise.
14449 (__dvd): Likewise.
14450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14451 (__acr): Likewise.
14452 (__cpy): Likewise.
14453 (norm): Likewise.
14454 (denorm): Likewise.
14455 (__mp_dbl): Likewise.
14456 (__dbl_mp): Likewise.
14457 (add_magnitudes): Likewise.
14458 (sub_magnitudes): Likewise.
14459 (__add): Likewise.
14460 (__sub): Likewise.
14461 (__mul): Likewise.
14462 (__inv): Likewise.
14463 (__dvd): Likewise.
14464
14465 2013-01-08 Joseph Myers <joseph@codesourcery.com>
14466
14467 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14468 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14469 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14470 2 && __USE_EXTERN_INLINES]: Likewise.
14471
14472 2013-01-08 Andreas Jaeger <aj@suse.de>
14473
14474 [BZ# 14985]
14475 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14476 Remove.
14477 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14478 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14479
14480 2013-01-07 Anton Blanchard <anton@samba.org>
14481
14482 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14483 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14484 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14485 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14486 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14487 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14488 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14489 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14490 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14491 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14492 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14493 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14494 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14495 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14496 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14497 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14498 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14499 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14500 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14501 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14502 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14503 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14504 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14505 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14506 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14507 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14508 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14509 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14510 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14511 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14512 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14513 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14514 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14515 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14516 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14517 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14518 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14519 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14520 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14521 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14522 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14523 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14524 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14525
14526 2013-01-07 Joseph Myers <joseph@codesourcery.com>
14527
14528 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14529 (__MALLOC_PMT): Likewise.
14530 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14531 [__GNUC__], only on [_LIBC].
14532 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14533 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14534 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14535 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14536 forward declaration.
14537 (realloc_hook_ini): Likewise.
14538 (memalign_hook_ini): Likewise.
14539 (__libc_memalign): Do not use __MALLOC_PMT in variable
14540 declaration.
14541 (__libc_valloc): Likewise.
14542 (__libc_pvalloc): Likewise.
14543 (__libc_calloc): Likewise.
14544 (__posix_memalign): Likewise.
14545
14546 [BZ #14996]
14547 * math/s_casinh.c: Include <float.h>.
14548 (__casinh): Do not do computation with squaring and square root
14549 for large arguments.
14550 * math/s_casinhf.c: Include <float.h>.
14551 (__casinhf): Do not do computation with squaring and square root
14552 for large arguments.
14553 * math/s_casinhl.c: Include <float.h>.
14554 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14555 (__casinhl): Do not do computation with squaring and square root
14556 for large arguments.
14557 * math/libm-test.inc (casin_test): Add more tests.
14558 (casinh_test): Likewise.
14559 * sysdeps/i386/fpu/libm-test-ulps: Update.
14560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14561
14562 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14563
14564 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14565 (__x86_64_raw_data_cache_size): Likewise.
14566 (__x86_64_data_cache_size_half): Likewise.
14567 (__x86_64_raw_data_cache_size_half): Likewise.
14568 (__x86_64_shared_cache_size): Likewise.
14569 (__x86_64_raw_shared_cache_size): Likewise.
14570 (__x86_64_shared_cache_size_half): Likewise.
14571 (__x86_64_raw_shared_cache_size_half): Likewise.
14572 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14573 to ...
14574 (__x86_data_cache_size): This.
14575 (__x86_64_raw_data_cache_size): Renamed to ...
14576 (__x86_raw_data_cache_size): This.
14577 (__x86_64_data_cache_size_half): Renamed to ...
14578 (__x86_data_cache_size_half): This.
14579 (__x86_64_raw_data_cache_size_half): Renamed to ...
14580 (__x86_raw_data_cache_size_half): This.
14581 (__x86_64_shared_cache_size): Renamed to ...
14582 (__x86_shared_cache_size): This.
14583 (__x86_64_raw_shared_cache_size): Renamed to ...
14584 (__x86_raw_shared_cache_size): This.
14585 (__x86_64_shared_cache_size_half): Renamed to ...
14586 (__x86_shared_cache_size_half): This.
14587 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14588 (__x86_raw_shared_cache_size_half): This.
14589 * sysdeps/x86_64/memcpy.S: Updated.
14590 * sysdeps/x86_64/memset.S: Likewise.
14591 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14592 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14593 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14594
14595 2013-01-04 David S. Miller <davem@davemloft.net>
14596
14597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14598
14599 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14600
14601 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14602 1 to avoid redefinition warning.
14603 (__USE_GNU): Don't define.
14604 (init_signaling_nan): Protoize.
14605
14606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14607
14608 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14609
14610 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14611 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14612 (__cpymn): Likewise.
14613 (norm): Remove commented code.
14614 (denorm): Likewise.
14615 (__mp_dbl): Likewise.
14616 (__inv): Likewise.
14617 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14618 (__cpymn): Likewise.
14619 (norm): Remove commented code.
14620 (denorm): Likewise.
14621 (__mp_dbl): Likewise.
14622 (__inv): Likewise.
14623
14624 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14625 mp_no value for 1.0 and 2.0.
14626 (norm): Use RADIXI instead of radixi.d.
14627 (denorm): Likewise.
14628 (__mul): Use 0.0 instead of zero.d.
14629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14630 mp_no value for 1.0 and 2.0.
14631 (norm): Use RADIXI instead of radixi.d.
14632 (denorm): Likewise.
14633 (__mul): Use 0.0 instead of zero.d.
14634
14635 2013-01-04 Joseph Myers <joseph@codesourcery.com>
14636
14637 [BZ #14994]
14638 * math/s_casinh.c (__casinh): Reduce finite argument to first
14639 quadrant then set signs of results at the end.
14640 * math/s_casinhf.c (__casinhf): Likewise.
14641 * math/s_casinhl.c (__casinhl): Likewise.
14642 * math/libm-test.inc (casin_test): Add more tests.
14643 (casinh_test): Likewise.
14644 * sysdeps/i386/fpu/libm-test-ulps: Update.
14645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14646
14647 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14648
14649 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14650
14651 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14652
14653 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14654 declarations.
14655 (denorm): Likewise.
14656 (__mp_dbl): Likewise.
14657 (__inv): Likewise.
14658
14659 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14660 and adjust the header comment.
14661
14662 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14663 variable name from declaration.
14664
14665 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14666
14667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14668 Initialize COMMON_CPUID_INDEX_7 element.
14669 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14670 (CPUID_RTM): Likewise.
14671 (HAS_RTM): Likewise.
14672 (COMMON_CPUID_INDEX_7): New enum.
14673
14674 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14675
14676 [BZ #14981]
14677 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14678 size is zero, record memory as freed.
14679
14680 2013-01-03 Andreas Jaeger <aj@suse.de>
14681
14682 * po/ia.po: Add new Interlingua translation.
14683
14684 2012-01-03 Allan McRae <allan@archlinux.org>
14685
14686 * locale/programs/localedef.c: Fix description of '--posix' flag.
14687
14688 2013-01-02 Joseph Myers <joseph@codesourcery.com>
14689
14690 * NEWS: Update dates in second copyright notice.
14691 * README: Update copyright dates in example.
14692 * manual/libc.texinfo: Update copyright dates.
14693 * scripts/test-installation.pl: Update copyright date in --version
14694 output.
14695
14696 * hurd/ctty-input.c: Fix copyright notice formatting.
14697 * hurd/ctty-output.c: Likewise.
14698 * hurd/dtable.c: Likewise.
14699 * hurd/hurd-raise.c: Likewise.
14700 * hurd/hurdprio.c: Likewise.
14701 * hurd/msgportdemux.c: Likewise.
14702 * misc/sys/file.h: Likewise.
14703 * misc/sys/ioctl.h: Likewise.
14704 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14705 * sysdeps/mach/hurd/chdir.c: Likewise.
14706 * sysdeps/mach/hurd/fchdir.c: Likewise.
14707 * sysdeps/mach/hurd/rename.c: Likewise.
14708 * sysdeps/mach/hurd/rmdir.c: Likewise.
14709 * sysdeps/mach/hurd/seekdir.c: Likewise.
14710 * sysdeps/mach/hurd/setsid.c: Likewise.
14711 * sysdeps/posix/wait3.c: Likewise.
14712
14713 * All files with FSF copyright notices: Update copyright dates
14714 using scripts/update-copyrights.
14715 * intl/plural.c: Regenerated.
14716 * locale/programs/charmap-kw.h: Likewise.
14717 * locale/programs/locfile-kw.h: Likewise.
14718
14719 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14720
14721 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14722 four values.
14723
14724 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14725 calculation loop and add branch prediction.
14726
14727 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14728 check access beyond bounds of m1np.
14729
14730 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14731 MPTWO.
14732 (__inv): Remove local variable MPTWO to use the global
14733 constant.
14734 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14735 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14736 variable MPTWO.
14737 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14738 MP3HALFS static const.
14739
14740 2013-01-01 David S. Miller <davem@davemloft.net>
14741
14742 * po/ca.po: Update from translation team.
14743
14744 2013-01-01 Joseph Myers <joseph@codesourcery.com>
14745
14746 * scripts/update-copyrights: New file.
14747 * Makeconfig: Reformat copyright notice.
14748 * ctype/ctype.h: Likewise.
14749 * debug/swprintf_chk.c: Likewise.
14750 * elf/dl-cache.c: Likewise.
14751 * elf/dl-debug.c: Likewise.
14752 * elf/dl-object.c: Likewise.
14753 * grp/initgroups.c: Likewise.
14754 * hurd/Makefile: Likewise.
14755 * hurd/hurd/signal.h: Likewise.
14756 * hurd/hurdfault.c: Likewise.
14757 * hurd/hurdioctl.c: Likewise.
14758 * hurd/hurdlookup.c: Likewise.
14759 * hurd/intr-msg.c: Likewise.
14760 * iconv/gconv_open.c: Likewise.
14761 * libio/swprintf.c: Likewise.
14762 * locale/lc-ctype.c: Likewise.
14763 * locale/nl_langinfo.c: Likewise.
14764 * mach/Machrules: Likewise.
14765 * mach/Makefile: Likewise.
14766 * malloc/obstack.h: Likewise.
14767 * manual/Makefile: Likewise.
14768 * manual/tsort.awk: Likewise.
14769 * misc/bits/stab.def: Likewise.
14770 * nis/nis_print_group_entry.c: Likewise.
14771 * nis/nis_table.c: Likewise.
14772 * nis/nss_compat/compat-pwd.c: Likewise.
14773 * nis/nss_compat/compat-spwd.c: Likewise.
14774 * po/Makefile: Likewise.
14775 * posix/fnmatch.c: Likewise.
14776 * posix/regex.h: Likewise.
14777 * resolv/Makefile: Likewise.
14778 * resolv/nss_dns/dns-network.c: Likewise.
14779 * resolv/res_hconf.c: Likewise.
14780 * scripts/gen-sorted.awk: Likewise.
14781 * soft-fp/soft-fp.h: Likewise.
14782 * stdio-common/printf.h: Likewise.
14783 * stdlib/monetary.h: Likewise.
14784 * stdlib/random.c: Likewise.
14785 * stdlib/random_r.c: Likewise.
14786 * sysdeps/generic/Makefile: Likewise.
14787 * sysdeps/gnu/Makefile: Likewise.
14788 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14789 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14790 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14791 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14792 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14793 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14794 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14795 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14796 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14797 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14798 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14799 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14800 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14801 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14802 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14803 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14804 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14805 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14806 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14807 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14808 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14809 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14810 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14811 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14812 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14813 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14814 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14815 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14816 * sysdeps/mach/hurd/errnos.awk: Likewise.
14817 * sysdeps/mach/hurd/fork.c: Likewise.
14818 * sysdeps/mach/hurd/getcwd.c: Likewise.
14819 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14820 * sysdeps/mach/hurd/mmap.c: Likewise.
14821 * sysdeps/mach/hurd/utimes.c: Likewise.
14822 * sysdeps/mach/hurd/xmknod.c: Likewise.
14823 * sysdeps/posix/profil.c: Likewise.
14824 * sysdeps/posix/readdir_r.c: Likewise.
14825 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14826 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14827 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14828 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14829 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14830 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14831 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14832 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14833 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14834 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14835 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14836 * sysdeps/pthread/lio_listio.c: Likewise.
14837 * sysdeps/sparc/dl-procinfo.h: Likewise.
14838 * sysdeps/unix/i386/sysdep.S: Likewise.
14839 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14840 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14841 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14842 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14844 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14845 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14846 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14847 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14848 * sysdeps/wordsize-32/divdi3.c: Likewise.
14849 * time/sys/time.h: Likewise.
14850 * wcsmbs/Makefile: Likewise.
14851
14852 2013-01-01 David S. Miller <davem@davemloft.net>
14853
14854 * po/fr.po: Update from translation team.
14855
14856 * catgets/gencat.c: Update copyright year.
14857 * csu/version.c: Likewise.
14858 * debug/catchsegv.sh: Likewise.
14859 * debug/pcprofiledump.c: Likewise.
14860 * debug/xtrace.sh: Likewise.
14861 * elf/ldconfig.c: Likewise.
14862 * elf/ldd.bash.in: Likewise.
14863 * elf/pldd.c: Likewise.
14864 * elf/sotruss.ksh: Likewise.
14865 * elf/sprof.c: Likewise.
14866 * iconv/iconv_prog.c: Likewise.
14867 * iconv/iconvconfig.c: Likewise.
14868 * locale/programs/locale.c: Likewise.
14869 * locale/programs/localedef.c: Likewise.
14870 * login/programs/pt_chown.c: Likewise.
14871 * malloc/memusage.sh: Likewise.
14872 * malloc/memusagestat.c: Likewise.
14873 * malloc/mtrace.pl: Likewise.
14874 * nscd/nscd.c: Likewise.
14875 * nss/getent.c: Likewise.
14876 * nss/makedb.c: Likewise.
14877 * posix/getconf.c: Likewise.
14878
14879 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14880
14881 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14882 numbers.
14883
14884 2012-12-30 Mike Frysinger <vapier@gentoo.org>
14885
14886 * math/bits/mathcalls.h (modf): Use __nonnull.
14887
14888 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14889
14890 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14891 (split): Use macro CN instead of the bare value.
14892 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14893 could be used.
14894 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14895 instead of the bare value.
14896 (power1): Likewise.
14897
14898 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14899
14900 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14901 __ATAN_TWOM.
14902 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14903
14904 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14905 their values.
14906 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14907 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14908 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14909 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14910
14911 2012-12-28 Andreas Jaeger <aj@suse.de>
14912
14913 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14914 values are from Linux 3.7.
14915
14916 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14917 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14918
14919 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14920
14921 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14922 TRUE case.
14923
14924 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14925 (norm): Likewise.
14926 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14927 variables with preprocessor constants.
14928 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14929 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14930 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14931
14932 2012-12-27 Bruno Haible <bruno@clisp.org>
14933
14934 [BZ #14317]
14935 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14936 only if needed.
14937
14938 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14939
14940 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14941 and use variable directly.
14942 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14943
14944 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14945 MPONE.
14946 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14947 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14948 variable MPONE.
14949 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14950 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14951 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14952 include directive. Remove local variable MPONE.
14953 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14954 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14955 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14956
14957 2012-12-25 David S. Miller <davem@davemloft.net>
14958
14959 * version.h (RELEASE): Set to "development".
14960 (VERSION): Set to "2.17.90".
14961 * NEWS: Add 2.18 section.
14962
14963 2012-12-21 David S. Miller <davem@davemloft.net>
14964
14965 * po/hr.po: Update from translation team.
14966
14967 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14968
14969 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14970
14971 2012-12-19 Steve Ellcey <sellcey@mips.com>
14972
14973 * NEWS: Mention new memcpy for MIPS.
14974
14975 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14976
14977 * manual/contrib.texi (Contributors): Spelling correction.
14978
14979 2012-12-15 David S. Miller <davem@davemloft.net>
14980
14981 * po/ru.po: Update from translation team.
14982
14983 2012-12-13 David S. Miller <davem@davemloft.net>
14984
14985 * NEWS: Mention IFUNC testsuite enhancements.
14986
14987 * po/pl.po: Update from translation team.
14988 * po/bg.po: Likewise.
14989
14990 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14991 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14992
14993 2012-12-11 David S. Miller <davem@davemloft.net>
14994
14995 * po/sv.po: Update from translation team.
14996
14997 * po/vi.po: Update from translation team.
14998
14999 * po/cs.po: Update from translation team.
15000
15001 * po/de.po: Update from translation team.
15002 * po/eo.po: Likewise.
15003 * po/nl.po: Likewise.
15004
15005 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15006
15007 [BZ #14246]
15008 * manual/argp.texi (Argp Helper Functions): Move node to follow
15009 Argp Parsing State.
15010
15011 [BZ #14872]
15012 * manual/conf.texi (Limits on File System Capacity): Mention if
15013 terminating null is included in the max size.
15014
15015 2012-12-10 Andreas Jaeger <aj@suse.de>
15016
15017 * po/cs.po: Update from translation team.
15018
15019 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15020
15021 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15022 void pointer and cast to uintptr_t.
15023 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15024 path.
15025 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15026 * sysdeps/s390/s390-64/memset.S: Likewise.
15027
15028 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
15029
15030 [BZ #14833]
15031 * menual/message.texi (Message Translation): Fix typos.
15032 (Helper programs for gettext): Likewise.
15033
15034 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15035
15036 [BZ #14898]
15037 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15038 Change to -1.
15039
15040 2012-12-07 David S. Miller <davem@davemloft.net>
15041
15042 * po/libc.pot: Update.
15043
15044 2012-12-07 Richard Henderson <rth@redhat.com>
15045
15046 [BZ #10114]
15047 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15048 normal/normal case to before the switch.
15049 (_FP_DIV): Likewise.
15050
15051 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15052 Mike Frysinger <vapier@gentoo.org>
15053
15054 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15055 check for __NR_fadvise64_64.
15056
15057 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15058
15059 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15060 0, not just to plain "0" as a statement.
15061 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15062 with cw.
15063
15064 2012-12-06 Joseph Myers <joseph@codesourcery.com>
15065
15066 * NEWS: Use sourceware.org in Bugzilla URL.
15067
15068 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15069
15070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15071 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15072
15073 * stdio-common/tst-put-error.c (do_test): Add newline to the
15074 padded test to ensure flush.
15075
15076 2012-12-05 Jeff Law <law@redhat.com>
15077
15078 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15079
15080 2012-12-05 Joseph Myers <joseph@codesourcery.com>
15081
15082 * README: Don't refer to ports add-on as distributed separately.
15083 Mention AArch64 in list of systems supported in the ports add-on.
15084
15085 * LICENSES: Add more non-FSF copyright and license notices.
15086
15087 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15088 ((unused)).
15089
15090 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15091
15092 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15093 10000 as width of padded output.
15094
15095 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15096
15097 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15098
15099 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15100 variable LX with __attribute__ ((unused)).
15101 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15102 Likewise.
15103 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15104 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15105 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15106 with __attribute__ ((unused)).
15107
15108 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
15109
15110 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15111
15112 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15113
15114 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15115 (CFLAGS-nldbl-acos.c): New variable.
15116 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15117 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15118 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15119 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15120 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15121 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15122 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15123 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15124 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15125 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15126 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15127 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15128 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15129 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15130 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15131 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15132 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15133 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15134 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15135 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15136 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15137 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15138 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15139 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15140 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15141 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15142 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15143 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15144 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15145 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15146 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15147 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15148 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15149 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15150 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15151 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15152 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15153 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15154 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15155 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15156 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15157 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15158 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15159 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15160 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15161 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15162 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15163 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15164 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15165 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15166 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15167 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15168 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15169 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15170 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15171 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15172 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15173 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15174 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15175 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15176 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15177 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15178 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15179 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15180 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15181 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15182 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15183 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15184 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15185 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15186 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15187 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15188 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15189 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15190 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15191 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15192 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15193 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15194 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15195 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15196 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15197 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15198 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15199 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15200 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15201 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15202 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15203 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15204 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15205 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15206 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15207 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15208 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15209 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15210 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15211 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15212 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15213
15214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15215 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15216
15217 [BZ #14914]
15218 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15219 whole low double instead of just low 47 bits when splitting values
15220 into two parts.
15221
15222 2012-12-03 Allan McRae <allan@archlinux.org>
15223
15224 * manual/stdio.texi (Predefined Printf Handlers): Remove
15225 @hsep and @vsep usage.
15226
15227 2012-12-03 Mike Frysinger <vapier@gentoo.org>
15228
15229 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15230 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15231
15232 2012-12-03 Jeff Law <law@redhat.com>
15233
15234 * time/sys/time.h (settimeofday): Do not mark TV argument
15235 as __nonnull.
15236
15237 2012-12-01 Mike Frysinger <vapier@gentoo.org>
15238
15239 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15240 when currently writing and seek to current position when not.
15241 * libio/Makefile (tests): Remove bug-fclose1.
15242 * libio/bug-fclose1.c: Delete.
15243
15244 2012-12-01 Joseph Myers <joseph@codesourcery.com>
15245
15246 * manual/arith.texi (feenableexcept): Fix typo.
15247 (fedisableexcept): Likewise.
15248
15249 2012-11-30 Roland McGrath <roland@hack.frob.com>
15250
15251 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15252 second, differently-typed declaration, rather than a cast.
15253
15254 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15255
15256 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15257 * include/rpc/svc.h: ... here.
15258
15259 2012-11-30 Aurelien Jarno <aurel32@debian.org>
15260
15261 [BZ #13013]
15262 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15263 depending n and resplen2 to catch cases where answer
15264 equals answerp2.
15265
15266 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15267
15268 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15269 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15270
15271 2012-11-29 Mike Frysinger <vapier@gentoo.org>
15272
15273 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15274
15275 2012-11-29 Roland McGrath <roland@hack.frob.com>
15276
15277 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15278
15279 2012-11-28 Jeff Law <law@redhat.com>
15280
15281 [BZ #13761]
15282 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15283 dataset_temporary. Track alloca usage into alloca_used.
15284 If dataset is large allocate and release it via malloc/free.
15285
15286 2012-06-04 Florian Weimer <fweimer@redhat.com>
15287
15288 [BZ #14197]
15289 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15290
15291 2012-11-28 David S. Miller <davem@davemloft.net>
15292
15293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15294
15295 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15296
15297 [BZ #14803]
15298 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15299 of pi/2 rounded to nearest to 64 bits.
15300 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15301 nearest to 64 bits.
15302 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15303 bits.
15304
15305 2012-11-28 Jeff Law <law@redhat.com>
15306 Martin Osvald <mosvald@redhat.com>
15307
15308 [BZ #14889]
15309 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15310 * sunrpc/svc.c: Include time.h.
15311 (__svc_accept_failed): New function.
15312 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15313 any reason other than EINTR, call __svc_accept_failed.
15314 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15315 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15316
15317 2012-11-28 Andreas Schwab <schwab@suse.de>
15318
15319 * scripts/abilist.awk: Also handle indirect functions in .opd
15320 section.
15321
15322 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15323
15324 [BZ #13881]
15325 * sysdeps/x86/fpu/powl_helper.c: New file.
15326 * sysdeps/x86/fpu/Makefile: Likewise.
15327 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15328 (p3): New object.
15329 (__ieee754_powl): Use __powl_helper for finite arguments except
15330 integer exponents below 8.
15331 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15332 (p3): New object.
15333 (__ieee754_powl): Use __powl_helper for finite arguments except
15334 integer exponents below 8.
15335 * math/libm-test.inc (pow_test): Add more tests and enable some
15336 previously disabled tests.
15337 * sysdeps/i386/fpu/libm-test-ulps: Update.
15338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15339
15340 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15341 Carlos O'Donell <carlos_odonell@mentor.com>
15342
15343 * nss/makedb.c (is_prime): Assert that input is odd and greater
15344 than 4. Note that fact in a comment too.
15345 (next_prime): Add 4 to input.
15346
15347 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15348
15349 [BZ #11741]
15350 * libio/Makefile (tests): Add test case tst-fwrite-error.
15351 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15352 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15353 * libio/tst-fwrite-error.c: New test case.
15354
15355 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15356
15357 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15358 before casting to void *.
15359 * include/libc-internal.h (__pointer_type): New macro.
15360 (__integer_if_pointer_type_sub): Likewise.
15361 (__integer_if_pointer_type): Likewise.
15362 (cast_to_integer): Likewise.
15363 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15364 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15365 before casting to atomic64_t.
15366 (atomic_exchange_acq): Likewise.
15367 (__arch_exchange_and_add_body): Likewise.
15368 (__arch_add_body): Likewise.
15369 (atomic_add_negative): Likewise.
15370 (atomic_add_zero): Likewise.
15371
15372 2012-11-26 Joseph Myers <joseph@codesourcery.com>
15373
15374 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15375 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15376 (add_fdes): Likewise.
15377 (linear_search_fdes): Likewise.
15378 (binary_search_unencoded_fdes): Likewise.
15379
15380 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15381
15382 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15383
15384 2012-11-24 Adam Conrad <adconrad@0c3.net>
15385
15386 * configure.in: Autodetect C++ header directories.
15387 * configure: Regenerated.
15388
15389 2012-11-23 Mike Frysinger <vapier@gentoo.org>
15390
15391 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15392
15393 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15394
15395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15396
15397 2012-11-22 Joseph Myers <joseph@codesourcery.com>
15398
15399 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15400 LDBL_MANT_DIG == 106]: Disable some tests.
15401 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15402 Likewise.
15403 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15404 Likewise.
15405
15406 [BZ #14871]
15407 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15408 input for small inputs. Return +/- pi/2 for large inputs.
15409 * math/libm-test.inc (atan_test): Add more tests.
15410
15411 * sysdeps/generic/unwind-dw2-fde-glibc.c
15412 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15413 __attribute__ ((unused)).
15414
15415 [BZ #14645]
15416 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15417 x * y if x and y are nonzero and z is zero.
15418
15419 [BZ #14811]
15420 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15421 nonzero exponents with absolute value below 0x1p-117 to +/-
15422 0x1p-117.
15423
15424 [BZ #14869]
15425 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15426 up arguments below 2**-450, not just those below 2**-500.
15427 * math/libm-test.inc (hypot_test): Add another test.
15428
15429 [BZ #14868]
15430 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15431 Return a+b for ratio over 2**120, not 2**60.
15432 * math/libm-test.inc (hypot_test): Add another test.
15433
15434 * math/libm-test.inc (clog_test): Use
15435 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15436 (clog10_test): Likewise.
15437
15438 [BZ #6778]
15439 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15440
15441 2012-11-22 Andreas Schwab <schwab@suse.de>
15442
15443 * sysdeps/i386/fpu/libm-test-ulps: Update.
15444
15445 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15446
15447 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15448 printf output with newline.
15449
15450 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15451
15452 [BZ #14865]
15453 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15454 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15455 -z nodlopen, -z initfirst and -z execstack support.
15456 * configure: Regenerated.
15457
15458 * elf/elf.h (DF_1_NODIRECT): New macro.
15459 (DF_1_IGNMULDEF): Likewise.
15460 (DF_1_NOKSYMS): Likewise.
15461 (DF_1_NOHDR): Likewise.
15462 (DF_1_EDITED): Likewise.
15463 (DF_1_NORELOC): Likewise.
15464 (DF_1_SYMINTPOSE): Likewise.
15465 (DF_1_GLOBAUDIT): Likewise.
15466 (DF_1_SINGLETON): Likewise.
15467 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15468 DT_1_SUPPORTED_MASK bits.
15469 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15470
15471 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15472
15473 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15474
15475 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15476
15477 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15478 macro.
15479
15480 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15481 (sendmmsg): Move declarations...
15482 * socket/sys/socket.h: ... here.
15483 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15484 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15485 include it from...
15486 * socket/recvmmsg.c: ... this new file.
15487 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15488 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15489 definition of __sendmmsg hidden.
15490 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15491 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15492 Move ENOSYS stub into and include it from...
15493 * socket/sendmmsg.c: ... this new file.
15494 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15495 (sysdep_routines): Move recvmmsg and sendmmsg...
15496 * socket/Makefile (routines): ... here.
15497 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15498 (GLIBC_PRIVATE): Add __sendmmsg.
15499 * include/sys/socket.h (__sendmmsg): Add declarations.
15500 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15501 sendmmsg.
15502
15503 2012-11-20 Joseph Myers <joseph@codesourcery.com>
15504
15505 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15506 variable I1 with __attribute__ ((unused)).
15507 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15508
15509 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15510
15511 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15512 DUMMY variables with __attribute__ ((unused)).
15513
15514 * bits/byteswap.h: Include <bits/types.h>.
15515 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15516
15517 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15518
15519 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15520 string_t. Do not manually set errno.
15521 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15522 length with __strnlen. Make sure to both set errno and return it on
15523 failure.
15524
15525 2012-11-19 David S. Miller <davem@davemloft.net>
15526
15527 With help from Joseph Myers.
15528 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15529 very large arguments properly.
15530 * math/libm-test.inc (atan_test): New tests.
15531 (atan2_test): New tests.
15532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15533 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15534
15535 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15536
15537 [BZ #14856]
15538 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15539 Define to 3.
15540
15541 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15542 [POSIX] (EADDRNOTAVAIL): Likewise.
15543 [POSIX] (EAFNOSUPPORT): Likewise.
15544 [POSIX] (EALREADY): Likewise.
15545 [POSIX] (ECONNABORTED): Likewise.
15546 [POSIX] (ECONNREFUSED): Likewise.
15547 [POSIX] (ECONNRESET): Likewise.
15548 [POSIX] (EDESTADDRREQ): Likewise.
15549 [POSIX] (EDQUOT): Likewise.
15550 [POSIX] (EHOSTUNREACH): Likewise.
15551 [POSIX] (EIDRM): Likewise.
15552 [POSIX] (EISCONN): Likewise.
15553 [POSIX] (ELOOP): Likewise.
15554 [POSIX] (EMULTIHOP): Likewise.
15555 [POSIX] (ENETDOWN): Likewise.
15556 [POSIX] (ENETUNREACH): Likewise.
15557 [POSIX] (ENOBUFS): Likewise.
15558 [POSIX] (ENODATA): Likewise.
15559 [POSIX] (ENOLINK): Likewise.
15560 [POSIX] (ENOMSG): Likewise.
15561 [POSIX] (ENOPROTOOPT): Likewise.
15562 [POSIX] (ENOSR): Likewise.
15563 [POSIX] (ENOSTR): Likewise.
15564 [POSIX] (ENOTCONN): Likewise.
15565 [POSIX] (ENOTSOCK): Likewise.
15566 [POSIX] (EOPNOTSUPP): Likewise.
15567 [POSIX] (EOVERFLOW): Likewise.
15568 [POSIX] (EPROTO): Likewise.
15569 [POSIX] (EPROTONOSUPPORT): Likewise.
15570 [POSIX] (EPROTOTYPE): Likewise.
15571 [POSIX] (ESTALE): Likewise.
15572 [POSIX] (ETIME): Likewise.
15573 [POSIX] (ETXTBSY): Likewise.
15574 [POSIX] (EWOULDBLOCK): Likewise.
15575 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15576 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15577 [POSIX] (SEEK_CUR): Likewise.
15578 [POSIX] (SEEK_END): Likewise.
15579 [POSIX || UNIX98] (mode_t): Do not require.
15580 [POSIX] (off_t): Likewise.
15581 [POSIX] (pid_t): Likewise.
15582 [POSIX] (sys/stat.h): Do not allow header.
15583 [POSIX] (unistd.h): Likewise.
15584 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15585 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15586 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15587 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15588 require.
15589 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15590 sigevent): Specify elements.
15591 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15592 entry.
15593 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15594 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15595
15596 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15597 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15598 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15599 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15600 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15601 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15602 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15603 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15604 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15605 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15606 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15607 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15608 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15609 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15610 Likewise.
15611 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15612 Likewise.
15613 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15614 Likewise.
15615 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15616 Likewise.
15617 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15618 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15619 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15620 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15621 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15622 Specify lower bound on value.
15623 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15624 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15625 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15626 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15627 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15628 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15629 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15630 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15631 value.
15632 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15633 as optional.
15634 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15635 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15636 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15637 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15638 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15639 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15640 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15641 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15642 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15643 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15644 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15645 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15646 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15647 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15648 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15649 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15650 entry.
15651 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15652 optional.
15653 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15654 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15655 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15656 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15657 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15658 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15659 Likewise.
15660 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15661 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15662 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15663 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15664 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15665 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15666 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15667 as optional.
15668 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15669 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15670 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15671 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15672 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15673 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15674 specify as optional.
15675 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15676 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15677 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15678 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15679 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15680 [XPG3] (NL_LANGMAX): Likewise.
15681 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15682 [POSIX || XPG3] (NL_NMAX): Likewise.
15683 [POSIX || XPG3] (NL_SETMAX): Likewise.
15684 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15685 [XPG3] (NZERO): Likewise.
15686 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15687 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15688 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15689 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15690 (REG_ERANGE): Expect.
15691 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15692 optional-constant.
15693 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15694 Use (void) in prototype.
15695 [POSIX] (*_t): Allow.
15696 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15697 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15698 (WRDE_BADVAL): Expect.
15699
15700 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15701 expect.
15702 [XPG3 || XPG4] (O_RSYNC): Likewise.
15703 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15704 Likewise.
15705 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15706 [XPG3 || XPG4] (sigqueue): Likewise.
15707 [XPG3 || XPG4] (sigtimedwait): Likewise.
15708 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15709 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15710 [XPG3 || XPG4] (vsnprintf): Likewise.
15711 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15712 Likewise.
15713 [XPG3 || XPG4] (blksize_t): Likewise.
15714 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15715 Likewise.
15716 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15717 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15718 [XPG3 || XPG4] (struct itimerspec): Likewise.
15719 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15720 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15721 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15722 [XPG3 || XPG4] (clockid_t): Likewise.
15723 [XPG3 || XPG4] (timer_t): Likewise.
15724 [XPG3 || XPG4] (clock_getres): Likewise.
15725 [XPG3 || XPG4] (clock_gettime): Likewise.
15726 [XPG3 || XPG4] (clock_settime): Likewise.
15727 [XPG3 || XPG4] (nanosleep): Likewise.
15728 [XPG3 || XPG4] (timer_create): Likewise.
15729 [XPG3 || XPG4] (timer_delete): Likewise.
15730 [XPG3 || XPG4] (timer_gettime): Likewise.
15731 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15732 [XPG3 || XPG4] (timer_settime): Likewise.
15733 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15734 [XPG3 || XPG4] (getlogin_r): Likewise.
15735 [XPG3 || XPG4] (pread): Likewise.
15736 [XPG3 || XPG4] (pthread_atfork): Likewise.
15737 [XPG3 || XPG4] (pwrite): Likewise.
15738
15739 [BZ #14835]
15740 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15741 <bits/siginfo.h>.
15742
15743 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15744
15745 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15746 finalizing MALLSTREAM.
15747
15748 * sysdeps/mach/hurd/syncfs.c: New file.
15749
15750 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15751
15752 [BZ #14719]
15753 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15754 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15755 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15756 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15757 (_nss_dns_gethostbyname4_r): Likewise.
15758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15759 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15760
15761 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15762
15763 [BZ #13763]
15764 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15765
15766 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15767
15768 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15769 * elf/cache.c (print_entry): Print ",AArch64" for
15770 FLAG_AARCH64_LIB64
15771
15772 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15773 * elf/cache.c (print_entry): Print ",hard-float" for
15774 FLAG_ARM_LIBHF.
15775
15776 2012-11-18 David S. Miller <davem@davemloft.net>
15777
15778 With help from Joseph Myers.
15779 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15780 cutoff to 2**-13.
15781 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15782 cutoff to 2**-25.
15783 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15784 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15785 small.
15786 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15787 * math/libm-test.inc (y0_test): New tests.
15788 (y1_test): New tests.
15789 * sysdeps/i386/fpu/libm-test-ulps: Update.
15790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15792
15793 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15794
15795 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15796 64-bit targets.
15797 * configure: Regenerated.
15798
15799 2012-11-17 David S. Miller <davem@davemloft.net>
15800
15801 [BZ #14811]
15802 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15803 nonzero exponents with absolute value below 0x1p-128 to +/-
15804 0x1p-128.
15805
15806 2012-11-17 Joseph Myers <joseph@codesourcery.com>
15807
15808 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15809
15810 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15811
15812 * posix/getconf-speclist.c: New file.
15813 * posix/posix-envs.def: Likewise.
15814 * posix/confstr.c (START_ENV_GROUP): New macro.
15815 (END_ENV_GROUP): Likewise.
15816 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15817 (KNOWN_PRESENT_ENV_STRING): Likewise.
15818 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15819 (UNKNOWN_ENVIRONMENT): Likewise.
15820 (confstr): Include posix-envs.def instead of handling
15821 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15822 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15823 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15824 (END_ENV_GROUP): Likewise.
15825 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15826 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15827 (UNKNOWN_ENVIRONMENT): Likewise.
15828 (__sysconf): Include posix-envs.def instead of handling associated
15829 cases directly here.
15830 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15831 preprocessing getconf-speclist.c rather than running getconf or
15832 generating empty file.
15833
15834 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15835
15836 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15837
15838 2012-11-16 Andrej Lajovic <natrij@gmail.com>
15839
15840 [BZ #14672]
15841 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15842
15843 2012-11-16 David S. Miller <davem@davemloft.net>
15844
15845 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15846 smaller than LDBL_EPSILON/2.0L, just return xm1.
15847
15848 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15849
15850 * elf/tst-array1.c (init): Set constructor priority to 1000.
15851 (fini): Set destructor priority to 1000.
15852 * elf/tst-array2dep.c: Likewise.
15853
15854 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15855
15856 [BZ #11741]
15857 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15858 (_IO_new_file_xsputn): Also return EOF if none of the input
15859 data was written when overflow failed.
15860 * libio/iopadn.c (_IO_padn): Likewise.
15861 * libio/iowpadn.c (_IO_wpadn): Likewise.
15862 * stdio-common/tst-put-error.c: Add copyright notice.
15863 (do_test): Add case for printing padded string.
15864 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15865 _IO_padn returned error.
15866 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15867 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15868 return EOF.
15869
15870 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15871
15872 * libio/libioP.h: Add comment note that the references to C++
15873 bits are now obsolete.
15874
15875 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15876
15877 * math/libm-test.inc (check_complex): Use asprintf.
15878
15879 2012-11-14 Joseph Myers <joseph@codesourcery.com>
15880
15881 * debug/pcprofiledump.c (print_version): Update copyright year.
15882 * malloc/memusagestat.c (print_version): Likewise.
15883
15884 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15885
15886 [BZ #14831]
15887 * elf/Makefile (tests): Add tst-audit8.
15888 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15889 ($(objpfx)tst-audit8.out): New target.
15890 (tst-audit8-ENV): New variable.
15891 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15892 audit if l_reloc_result is NULL.
15893 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15894 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15895 * elf/tst-audit8.c: New file.
15896
15897 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15898
15899 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15900 * misc/Makefile (CFLAGS-select.c): Define.
15901 * posix/Makefile (CFLAGS-pause.c): Define.
15902
15903 2012-11-13 David S. Miller <davem@davemloft.net>
15904
15905 * crypt/Makefile: Move test targets after toplevel Rules
15906 inclusion. Grab any necessary sysdep routines when linking.
15907 * crypt/md5.c (md5_process_block): Remove define, we will always
15908 name it __md5_process_block.
15909 (md5_finish_ctx): Update md5_process_block call.
15910 (md5_stream): Likewise.
15911 (md5_process_bytes): Likewise.
15912 (md5_process_block): Rename to __md5_process_block and move to ...
15913 * crypt/md5-block.c: ... here.
15914 * crypt/sha256.c (sha256_process_block): Move to ...
15915 * crypt/sha256-block.c: ... here.
15916 * crypt/sha512.c (sha512_process_block): Move to ...
15917 * crypt/sha512-block.c: ... here.
15918 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15919 path.
15920 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15921 * sysdeps/sparc/sparc64/multiarch/Makefile
15922 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15923 crypt subdir.
15924 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15925 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15926 multiarch changes.
15927 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15928 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15929 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15930 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15931 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15932 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15933 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15934 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15935 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15936 file.
15937 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15938 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15939 file.
15940 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15941
15942 2012-11-13 Joseph Myers <joseph@codesourcery.com>
15943
15944 * timezone/tzselect.ksh: Update from tzcode git revision
15945 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15946 * timezone/zdump.c: Likewise.
15947 * timezone/zic.c: Likewise.
15948 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15949 in TZVERSION setting, not $(PKGVERSION).
15950 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15951 REPORT_BUGS_TO settings.
15952
15953 [BZ #14838]
15954 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15955 macro.
15956
15957 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15958
15959 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15960 detection to immediately after _FP_ROUND().
15961 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15962 bits are 0.
15963
15964 2012-11-11 David S. Miller <davem@davemloft.net>
15965
15966 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15967 inttypes.h
15968 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15969 __close rather than their public counterparts.
15970
15971 2012-11-10 Joseph Myers <joseph@codesourcery.com>
15972
15973 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15974 file.
15975 [UNIX98] (sem_timedwait): Do not expect.
15976 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15977 [XPG4 || UNIX98] (sockatmark): Do not expect.
15978 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15979 (clock_getcpuclockid): Do not expect.
15980 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15981 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15982 Do not expect.
15983 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15984 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15985 [UNIX98] (vwscanf): Likewise.
15986 [UNIX98] (vswscanf): Likewise.
15987
15988 2012-11-09 Joseph Myers <joseph@codesourcery.com>
15989
15990 * timezone/version.h: Remove file.
15991 * timezone/README: Do not refer to version.h.
15992 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15993 $(objpfx)version.h.
15994 ($(objpfx)zdump.o): Likewise.
15995 ($(objpfx)version.h): New target.
15996
15997 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15998 2012i.
15999 * timezone/README: Don't mention modification to tzselect.ksh.
16000 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16001 work on unmodified tzselect.ksh. Substitute version numbers in
16002 tzselect.ksh.
16003
16004 * Makefile (format-me): Remove.
16005 (INSTALL): Adjust indentation. Use commands directly instead of
16006 using $(format-me).
16007
16008 * aclocal.m4 (ACX_PKGVERSION): New macro.
16009 (ACX_BUGURL): Likewise.
16010 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16011 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16012 (REPORT_BUGS_TO): Likewise.
16013 * configure: Regenerated.
16014 * config.h.in (PKGVERSION): New macro.
16015 (REPORT_BUGS_TO): Likewise.
16016 * config.make.in (PKGVERSION): New variable.
16017 (PKGVERSION_TEXI): Likewise.
16018 (REPORT_BUGS_TO): Likewise.
16019 (REPORT_BUGS_TEXI): Likewise.
16020 * Makefile (format-me): Use -I$(common-objpfx)manual.
16021 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16022 ($(common-objpfx)manual/%): New target.
16023 (manual/%): Remove target.
16024 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16025 (print_version): Use PKGVERSION.
16026 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16027 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16028 and REPORT_BUGS_TO.
16029 ($(objpfx)xtrace): Likewise.
16030 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16031 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16032 (print_version): Use PKGVERSION.
16033 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16034 (do_version): Use PKGVERSION.
16035 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16036 REPORT_BUGS_TO.
16037 (common-ldd-rewrite): Likewise.
16038 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16039 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16040 (print_version): Use PKGVERSION.
16041 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16042 * elf/pldd.c (argp_program_bug_address): Remove variable.
16043 (more_help): New function.
16044 (argp): Use more_help.
16045 (print_version): Use PKGVERSION.
16046 * elf/sln.c (main): Use PKGVERSION.
16047 (usage): Use REPORT_BUGS_TO.
16048 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16049 (top level): Use PKGVERSION.
16050 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16051 (print_version): Use PKGVERSION.
16052 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16053 (print_version): Use PKGVERSION.
16054 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16055 (print_version): Use PKGVERSION.
16056 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16057 (print_version): Use PKGVERSION.
16058 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16059 (print_version): Use PKGVERSION.
16060 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16061 (print_version): Use PKGVERSION.
16062 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16063 and BUGURL.
16064 ($(objpfx)memusage): Likewise.
16065 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16066 (do_version): Use PKGVERSION.
16067 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16068 (print_version): Use PKGVERSION.
16069 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16070 ($PKGVERSION): New variable.
16071 ($REPORT_BUGS_TO): Likewise.
16072 (usage): Use $REPORT_BUGS_TO.
16073 (top level): Use $PKGVERSION.
16074 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16075 ($(objpfx)pkgvers.texi): New rule.
16076 ($(objpfx)stamp-pkgvers): Likewise.
16077 * manual/install.texi: Include pkgvers.texi.
16078 (--with-pkgversion): Document new configure option.
16079 (--with-bugurl): Likewise.
16080 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16081 than necessarily for this particular distribution. Use
16082 REPORT_BUGS_TO for where to report bugs.
16083 * INSTALL: Regenerated.
16084 * manual/libc.texinfo: Include pkgvers.texi.
16085 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16086 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16087 (print_version): Use PKGVERSION.
16088 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16089 (print_version): Use PKGVERSION.
16090 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16091 (print_version): Use PKGVERSION.
16092 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16093 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16094 macro.
16095 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16096 (print_version): Use PKGVERSION.
16097 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16098 (print_version): Use PKGVERSION.
16099 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16100 and PKGVERSION.
16101
16102 * timezone/checktab.awk: Update from tzcode 2012i.
16103 * timezone/ialloc.c: Likewise.
16104 * timezone/private.h: Likewise.
16105 * timezone/scheck.c: Likewise.
16106 * timezone/tzfile.h: Likewise.
16107 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16108 (TZVERSION): Hardcode tzcode version number.
16109 * timezone/zdump.c: Update from tzcode 2012i.
16110 * timezone/zic.c: Likewise.
16111 * timezone/version.h: New file.
16112 * timezone/README: Describe version.h. Update upstream location.
16113
16114 [BZ #14824]
16115 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16116 (mktemp): Enable declaration.
16117 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16118 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16119 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16120 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16121 Likewise.
16122 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16123 Likewise.
16124 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16125 Likewise.
16126 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16127 Likewise.
16128 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16129 Likewise.
16130 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16131 Likewise.
16132
16133 [BZ #14821]
16134 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16135 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16136 for copies of such integer values.
16137 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16138 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16139
16140 2012-11-09 Andreas Jaeger <aj@suse.de>
16141
16142 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16143 definitions and declarations that are provided by
16144 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16145
16146 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16147
16148 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16149 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16150 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16151 definition.
16152
16153 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16154
16155 * elf/elf.h: Update comment before AArch64 relocations.
16156
16157 2012-11-07 David S. Miller <davem@davemloft.net>
16158
16159 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16160 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16161 (__start_context): Declare.
16162 (__makecontext_ret): Delete.
16163 (__makecontext): Hook up __start_context instead of
16164 __makecontext_ret.
16165 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16166 (sysdep_routines): Add __start_context when in stdlib.
16167
16168 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16169
16170 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16171 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16172 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16173 hardcoded "nm".
16174 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16175 (READELF): New variable. Use it instead of hardcoded "readelf".
16176
16177 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16178
16179 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16180 * sysdeps/x86/Makefile: Here.
16181 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16182 * sysdeps/x86/tst-xmmymm.sh: This.
16183
16184 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16185
16186 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16187 expectations.
16188 [UNIX98] (pthread_barrier_t): Do not expect.
16189 [UNIX98] (pthread_barrierattr_t): Likewise.
16190 [UNIX98] (pthread_spinlock_t): Likewise.
16191 [UNIX98] (pthread_barrier_destroy): Likewise.
16192 [UNIX98] (pthread_barrier_init): Likewise.
16193 [UNIX98] (pthread_barrier_wait): Likewise.
16194 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16195 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16196 [UNIX98] (pthread_barrierattr_init): Likewise.
16197 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16198 [UNIX98] (pthread_getcpuclockid): Likewise.
16199 [UNIX98] (pthread_mutex_timedlock): Likewise.
16200 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16201 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16202 [UNIX98] (pthread_sigmask): Likewise.
16203 [UNIX98] (pthread_spin_destroy): Likewise.
16204 [UNIX98] (pthread_spin_init): Likewise.
16205 [UNIX98] (pthread_spin_lock): Likewise.
16206 [UNIX98] (pthread_spin_trylock): Likewise.
16207 [UNIX98] (pthread_spin_unlock): Likewise.
16208 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16209 Do not expect.
16210 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16211 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16212 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16213 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16214 [XPG3 || XPG4] (pthread_key_t): Likewise.
16215 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16216 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16217 [XPG3 || XPG4] (pthread_once_t): Likewise.
16218 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16219 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16220 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16221 [XPG3 || XPG4] (pthread_t): Likewise.
16222
16223 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16224 not expect.
16225 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16226
16227 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16228 Change function return type to int.
16229
16230 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16231 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16232 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16233 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16234 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16235 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16236 [!POSIX] (posix_madvise): Likewise.
16237 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16238 && !UNIX98].
16239 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16240 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16241 (mode_t): Likewise.
16242 (posix_mem_offset): Likewise.
16243 (posix_typed_mem_get_info): Likewise.
16244 (posix_typed_mem_open): Likewise.
16245
16246 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16247 Change condition to [XOPEN2K8].
16248
16249 * conform/conformtest.pl: Preprocess allow-header data with -x c
16250 instead of from stdin.
16251 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16252 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16253 [C99-based standards] (cerfc): Likewise.
16254 [C99-based standards] (cexp2): Likewise.
16255 [C99-based standards] (cexpm1): Likewise.
16256 [C99-based standards] (clog10): Likewise.
16257 [C99-based standards] (clog1p): Likewise.
16258 [C99-based standards] (clog2): Likewise.
16259 [C99-based standards] (clgamma): Likewise.
16260 [C99-based standards] (ctgamma): Likewise.
16261 [C99-based standards] (cerff): Likewise.
16262 [C99-based standards] (cerfcf): Likewise.
16263 [C99-based standards] (cexp2f): Likewise.
16264 [C99-based standards] (cexpm1f): Likewise.
16265 [C99-based standards] (clog10f): Likewise.
16266 [C99-based standards] (clog1pf): Likewise.
16267 [C99-based standards] (clog2f): Likewise.
16268 [C99-based standards] (clgammaf): Likewise.
16269 [C99-based standards] (ctgammaf): Likewise.
16270 [C99-based standards] (cerfl): Likewise.
16271 [C99-based standards] (cerfcl): Likewise.
16272 [C99-based standards] (cexp2l): Likewise.
16273 [C99-based standards] (cexpm1l): Likewise.
16274 [C99-based standards] (clog10l): Likewise.
16275 [C99-based standards] (clog1pl): Likewise.
16276 [C99-based standards] (clog2l): Likewise.
16277 [C99-based standards] (clgammal): Likewise.
16278 [C99-based standards] (ctgammal): Likewise.
16279 * conform/data/inttypes.h-data [C99-based standards]: Include
16280 stdint.h-data. Remove all expectations for stdint.h contents.
16281 [C99-based standards] (PRI*): Do not allow.
16282 [C99-based standards] (SCN*): Likewise.
16283 [C99-based standards] (*_t): Likewise.
16284 [C99-based-standards] (PRId8): Expect macro.
16285 [C99-based-standards] (PRIi8): Likewise.
16286 [C99-based-standards] (PRIo8): Likewise.
16287 [C99-based-standards] (PRIu8): Likewise.
16288 [C99-based-standards] (PRIx8): Likewise.
16289 [C99-based-standards] (PRIX8): Likewise.
16290 [C99-based-standards] (SCNd8): Likewise.
16291 [C99-based-standards] (SCNi8): Likewise.
16292 [C99-based-standards] (SCNo8): Likewise.
16293 [C99-based-standards] (SCNu8): Likewise.
16294 [C99-based-standards] (SCNx8): Likewise.
16295 [C99-based-standards] (PRIdLEAST8): Likewise.
16296 [C99-based-standards] (PRIiLEAST8): Likewise.
16297 [C99-based-standards] (PRIoLEAST8): Likewise.
16298 [C99-based-standards] (PRIuLEAST8): Likewise.
16299 [C99-based-standards] (PRIxLEAST8): Likewise.
16300 [C99-based-standards] (PRIXLEAST8): Likewise.
16301 [C99-based-standards] (SCNdLEAST8): Likewise.
16302 [C99-based-standards] (SCNiLEAST8): Likewise.
16303 [C99-based-standards] (SCNoLEAST8): Likewise.
16304 [C99-based-standards] (SCNuLEAST8): Likewise.
16305 [C99-based-standards] (SCNxLEAST8): Likewise.
16306 [C99-based-standards] (PRIdFAST8): Likewise.
16307 [C99-based-standards] (PRIiFAST8): Likewise.
16308 [C99-based-standards] (PRIoFAST8): Likewise.
16309 [C99-based-standards] (PRIuFAST8): Likewise.
16310 [C99-based-standards] (PRIxFAST8): Likewise.
16311 [C99-based-standards] (PRIXFAST8): Likewise.
16312 [C99-based-standards] (SCNdFAST8): Likewise.
16313 [C99-based-standards] (SCNiFAST8): Likewise.
16314 [C99-based-standards] (SCNoFAST8): Likewise.
16315 [C99-based-standards] (SCNuFAST8): Likewise.
16316 [C99-based-standards] (SCNxFAST8): Likewise.
16317 [C99-based-standards] (PRId16): Likewise.
16318 [C99-based-standards] (PRIi16): Likewise.
16319 [C99-based-standards] (PRIo16): Likewise.
16320 [C99-based-standards] (PRIu16): Likewise.
16321 [C99-based-standards] (PRIx16): Likewise.
16322 [C99-based-standards] (PRIX16): Likewise.
16323 [C99-based-standards] (SCNd16): Likewise.
16324 [C99-based-standards] (SCNi16): Likewise.
16325 [C99-based-standards] (SCNo16): Likewise.
16326 [C99-based-standards] (SCNu16): Likewise.
16327 [C99-based-standards] (SCNx16): Likewise.
16328 [C99-based-standards] (PRIdLEAST16): Likewise.
16329 [C99-based-standards] (PRIiLEAST16): Likewise.
16330 [C99-based-standards] (PRIoLEAST16): Likewise.
16331 [C99-based-standards] (PRIuLEAST16): Likewise.
16332 [C99-based-standards] (PRIxLEAST16): Likewise.
16333 [C99-based-standards] (PRIXLEAST16): Likewise.
16334 [C99-based-standards] (SCNdLEAST16): Likewise.
16335 [C99-based-standards] (SCNiLEAST16): Likewise.
16336 [C99-based-standards] (SCNoLEAST16): Likewise.
16337 [C99-based-standards] (SCNuLEAST16): Likewise.
16338 [C99-based-standards] (SCNxLEAST16): Likewise.
16339 [C99-based-standards] (PRIdFAST16): Likewise.
16340 [C99-based-standards] (PRIiFAST16): Likewise.
16341 [C99-based-standards] (PRIoFAST16): Likewise.
16342 [C99-based-standards] (PRIuFAST16): Likewise.
16343 [C99-based-standards] (PRIxFAST16): Likewise.
16344 [C99-based-standards] (PRIXFAST16): Likewise.
16345 [C99-based-standards] (SCNdFAST16): Likewise.
16346 [C99-based-standards] (SCNiFAST16): Likewise.
16347 [C99-based-standards] (SCNoFAST16): Likewise.
16348 [C99-based-standards] (SCNuFAST16): Likewise.
16349 [C99-based-standards] (SCNxFAST16): Likewise.
16350 [C99-based-standards] (PRId32): Likewise.
16351 [C99-based-standards] (PRIi32): Likewise.
16352 [C99-based-standards] (PRIo32): Likewise.
16353 [C99-based-standards] (PRIu32): Likewise.
16354 [C99-based-standards] (PRIx32): Likewise.
16355 [C99-based-standards] (PRIX32): Likewise.
16356 [C99-based-standards] (SCNd32): Likewise.
16357 [C99-based-standards] (SCNi32): Likewise.
16358 [C99-based-standards] (SCNo32): Likewise.
16359 [C99-based-standards] (SCNu32): Likewise.
16360 [C99-based-standards] (SCNx32): Likewise.
16361 [C99-based-standards] (PRIdLEAST32): Likewise.
16362 [C99-based-standards] (PRIiLEAST32): Likewise.
16363 [C99-based-standards] (PRIoLEAST32): Likewise.
16364 [C99-based-standards] (PRIuLEAST32): Likewise.
16365 [C99-based-standards] (PRIxLEAST32): Likewise.
16366 [C99-based-standards] (PRIXLEAST32): Likewise.
16367 [C99-based-standards] (SCNdLEAST32): Likewise.
16368 [C99-based-standards] (SCNiLEAST32): Likewise.
16369 [C99-based-standards] (SCNoLEAST32): Likewise.
16370 [C99-based-standards] (SCNuLEAST32): Likewise.
16371 [C99-based-standards] (SCNxLEAST32): Likewise.
16372 [C99-based-standards] (PRIdFAST32): Likewise.
16373 [C99-based-standards] (PRIiFAST32): Likewise.
16374 [C99-based-standards] (PRIoFAST32): Likewise.
16375 [C99-based-standards] (PRIuFAST32): Likewise.
16376 [C99-based-standards] (PRIxFAST32): Likewise.
16377 [C99-based-standards] (PRIXFAST32): Likewise.
16378 [C99-based-standards] (SCNdFAST32): Likewise.
16379 [C99-based-standards] (SCNiFAST32): Likewise.
16380 [C99-based-standards] (SCNoFAST32): Likewise.
16381 [C99-based-standards] (SCNuFAST32): Likewise.
16382 [C99-based-standards] (SCNxFAST32): Likewise.
16383 [C99-based-standards] (PRId64): Likewise.
16384 [C99-based-standards] (PRIi64): Likewise.
16385 [C99-based-standards] (PRIo64): Likewise.
16386 [C99-based-standards] (PRIu64): Likewise.
16387 [C99-based-standards] (PRIx64): Likewise.
16388 [C99-based-standards] (PRIX64): Likewise.
16389 [C99-based-standards] (SCNd64): Likewise.
16390 [C99-based-standards] (SCNi64): Likewise.
16391 [C99-based-standards] (SCNo64): Likewise.
16392 [C99-based-standards] (SCNu64): Likewise.
16393 [C99-based-standards] (SCNx64): Likewise.
16394 [C99-based-standards] (PRIdLEAST64): Likewise.
16395 [C99-based-standards] (PRIiLEAST64): Likewise.
16396 [C99-based-standards] (PRIoLEAST64): Likewise.
16397 [C99-based-standards] (PRIuLEAST64): Likewise.
16398 [C99-based-standards] (PRIxLEAST64): Likewise.
16399 [C99-based-standards] (PRIXLEAST64): Likewise.
16400 [C99-based-standards] (SCNdLEAST64): Likewise.
16401 [C99-based-standards] (SCNiLEAST64): Likewise.
16402 [C99-based-standards] (SCNoLEAST64): Likewise.
16403 [C99-based-standards] (SCNuLEAST64): Likewise.
16404 [C99-based-standards] (SCNxLEAST64): Likewise.
16405 [C99-based-standards] (PRIdFAST64): Likewise.
16406 [C99-based-standards] (PRIiFAST64): Likewise.
16407 [C99-based-standards] (PRIoFAST64): Likewise.
16408 [C99-based-standards] (PRIuFAST64): Likewise.
16409 [C99-based-standards] (PRIxFAST64): Likewise.
16410 [C99-based-standards] (PRIXFAST64): Likewise.
16411 [C99-based-standards] (SCNdFAST64): Likewise.
16412 [C99-based-standards] (SCNiFAST64): Likewise.
16413 [C99-based-standards] (SCNoFAST64): Likewise.
16414 [C99-based-standards] (SCNuFAST64): Likewise.
16415 [C99-based-standards] (SCNxFAST64): Likewise.
16416 [C99-based-standards] (PRIdMAX): Likewise.
16417 [C99-based-standards] (PRIiMAX): Likewise.
16418 [C99-based-standards] (PRIoMAX): Likewise.
16419 [C99-based-standards] (PRIuMAX): Likewise.
16420 [C99-based-standards] (PRIxMAX): Likewise.
16421 [C99-based-standards] (PRIXMAX): Likewise.
16422 [C99-based-standards] (SCNdMAX): Likewise.
16423 [C99-based-standards] (SCNiMAX): Likewise.
16424 [C99-based-standards] (SCNoMAX): Likewise.
16425 [C99-based-standards] (SCNuMAX): Likewise.
16426 [C99-based-standards] (SCNxMAX): Likewise.
16427 [C99-based-standards] (PRIdPTR): Likewise.
16428 [C99-based-standards] (PRIiPTR): Likewise.
16429 [C99-based-standards] (PRIoPTR): Likewise.
16430 [C99-based-standards] (PRIuPTR): Likewise.
16431 [C99-based-standards] (PRIxPTR): Likewise.
16432 [C99-based-standards] (PRIXPTR): Likewise.
16433 [C99-based-standards] (SCNdPTR): Likewise.
16434 [C99-based-standards] (SCNiPTR): Likewise.
16435 [C99-based-standards] (SCNoPTR): Likewise.
16436 [C99-based-standards] (SCNuPTR): Likewise.
16437 [C99-based-standards] (SCNxPTR): Likewise.
16438 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16439 allow.
16440 * conform/data/stdint.h-data: Update comments to clarify
16441 requirements.
16442 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16443 type.
16444 [C99-based standards] (INT8_MAX): Likewise.
16445 [C99-based standards] (INT16_MIN): Likewise.
16446 [C99-based standards] (INT16_MAX): Likewise.
16447 [C99-based standards] (INT32_MIN): Likewise.
16448 [C99-based standards] (INT32_MAX): Likewise.
16449 [C99-based standards] (INT64_MIN): Likewise.
16450 [C99-based standards] (INT64_MAX): Likewise.
16451 [C99-based standards] (UINT8_MAX): Likewise.
16452 [C99-based standards] (UINT16_MAX): Likewise.
16453 [C99-based standards] (UINT32_MAX): Likewise.
16454 [C99-based standards] (UINT64_MAX): Likewise.
16455 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16456 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16457 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16458 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16459 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16460 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16461 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16462 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16463 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16464 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16465 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16466 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16467 [C99-based standards] (INT_FAST8_MIN): Likewise.
16468 [C99-based standards] (INT_FAST8_MAX): Likewise.
16469 [C99-based standards] (INT_FAST16_MIN): Likewise.
16470 [C99-based standards] (INT_FAST16_MAX): Likewise.
16471 [C99-based standards] (INT_FAST32_MIN): Likewise.
16472 [C99-based standards] (INT_FAST32_MAX): Likewise.
16473 [C99-based standards] (INT_FAST64_MIN): Likewise.
16474 [C99-based standards] (INT_FAST64_MAX): Likewise.
16475 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16476 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16477 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16478 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16479 [C99-based standards] (INTPTR_MIN): Likewise.
16480 [C99-based standards] (INTPTR_MAX): Likewise.
16481 [C99-based standards] (UINTPTR_MAX): Likewise.
16482 [C99-based standards] (INTMAX_MIN): Likewise.
16483 [C99-based standards] (INTMAX_MAX): Likewise.
16484 [C99-based standards] (UINTMAX_MAX): Likewise.
16485 [C99-based standards] (PTRDIFF_MIN): Likewise.
16486 [C99-based standards] (PTRDIFF_MAX): Likewise.
16487 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16488 [C99-based standards] (SIZE_MAX): Likewise.
16489 [C99-based standards] (WCHAR_MAX): Likewise.
16490 [C99-based standards] (WINT_MAX): Likewise.
16491 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16492 constraint on value.
16493 [C99-based standards] (WCHAR_MIN): Likewise.
16494 [C99-based standards] (WINT_MIN): Likewise.
16495 [C99-based standards] (*_t): Allow.
16496 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16497 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16498 Include math.h-data and complex.h-data. Remove all expectations
16499 of math.h and complex.h contents.
16500 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16501 at end of line.
16502 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16503 (struct tm): Expect tag.
16504 [C99-based-standards] (wcstof): Expect function.
16505 [C99-based-standards] (wcstold): Likewise.
16506 [C99-based-standards] (wcstoll): Likewise.
16507 [C99-based-standards] (wcstoull): Likewise.
16508 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16509 macro-int-constant. Specify type.
16510 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16511 constraint on value.
16512 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16513 Specify type.
16514 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16515 Specify value.
16516 [ISO C standards]: Do not allow headers.
16517 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16518 wcs[abcdefghijklmnopqrstuvwxyz]*.
16519 [ISO C standards] (*_t): Do not allow.
16520 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16521 Expect function.
16522 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16523 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16524 Specify type.
16525 [ISO C standards]: Do not allow headers.
16526 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16527 is[abcdefghijklmnopqrstuvwxyz]*.
16528 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16529 to[abcdefghijklmnopqrstuvwxyz]*.
16530 [ISO C standards] (*_t): Do not allow.
16531 * conform/data/stdalign.h-data: New file.
16532 * conform/data/stdbool.h-data: Likewise.
16533 * conform/data/stdnoreturn.h-data: Likewise.
16534
16535 2012-11-07 Roland McGrath <roland@hack.frob.com>
16536
16537 [BZ #14815]
16538 * manual/filesys.texi (Directory Entries): Typo fix.
16539 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16540
16541 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16542
16543 * elf/elf.h (EM_AARCH64): New macro.
16544 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16545 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16546 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16547 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16548 (R_AARCH64_TLSDESC): Likewise.
16549 (NT_ARM_TLS): Likewise.
16550 (NT_ARM_HW_BREAK): Likewise.
16551 (NT_ARM_HW_WATCH): Likewise.
16552
16553 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16554
16555 [BZ #14811]
16556 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16557 (__ieee754_powl): Saturate nonzero exponents with absolute value
16558 below 0x1p-79 to +/- 0x1p-79.
16559 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16560 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16561 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16562 nonzero exponents with absolute value below 0x1p-32 to +/-
16563 0x1p-32.
16564 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16565 (__ieee754_powl): Saturate nonzero exponents with absolute value
16566 below 0x1p-79 to +/- 0x1p-79.
16567 * math/libm-test.inc (pow_test): Add more tests.
16568
16569 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16570
16571 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16572 _dl_s390_cap_flags with kernel. Increase string length.
16573 (_dl_s390_platforms): Add z196 and zEC12.
16574
16575 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16576
16577 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16578 Change XOPEN21K to XOPEN2K.
16579
16580 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16581
16582 * string/memmove.c: Use memcpy when possible.
16583
16584 2012-11-06 Andreas Jaeger <aj@suse.de>
16585
16586 * po/eo.po: Update from translation team.
16587
16588 2012-11-06 Joseph Myers <joseph@codesourcery.com>
16589
16590 [BZ #14793]
16591 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16592 exponent and small x and y exponents, scale x or y up. Increase
16593 by 2 the exponent used in scaling up.
16594 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16595 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16596 * math/libm-test.inc (fma_test): Add more tests.
16597 (fma_test_towardzero): Likewise.
16598 (fma_test_downward): Likewise.
16599 (fma_test_upward): Likewise.
16600
16601 2012-11-05 Joseph Myers <joseph@codesourcery.com>
16602
16603 [BZ #14805]
16604 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16605 fenv_t *.
16606
16607 [BZ #14801]
16608 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16609 namespace for names of struct fields.
16610 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16611 fenv_t fields.
16612 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16613 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16614
16615 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16616
16617 [BZ #3665]
16618 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16619
16620 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16621
16622 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16623 PTR_DEMANGLE.
16624
16625 [BZ #5246]
16626 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16627 PTR_DEMANGLE.
16628
16629 2012-11-04 Joseph Myers <joseph@codesourcery.com>
16630
16631 [BZ #14797]
16632 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16633 definitely overflow as x * y not x * y + z.
16634 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16635 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16636 * math/libm-test.inc (fma_test): Add more tests.
16637 (fma_test_towardzero): Likewise.
16638 (fma_test_downward): Likewise.
16639 (fma_test_upward): Likewise.
16640
16641 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16642
16643 [BZ #157]
16644
16645 * include/stub-tag.h: Remove file.
16646 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16647 '#include' of it.
16648 * manual/maint.texi (Porting): Don't reference it.
16649 * Makerules ($(objpfx)stubs): Likewise.
16650 * dirent/closedir.c: Don't include <stub-tag.h>.
16651 * dirent/dirfd.c: Likewise.
16652 * dirent/fdopendir.c: Likewise.
16653 * dirent/getdents.c: Likewise.
16654 * dirent/getdents64.c: Likewise.
16655 * dirent/opendir.c: Likewise.
16656 * dirent/readdir.c: Likewise.
16657 * dirent/readdir64.c: Likewise.
16658 * dirent/readdir64_r.c: Likewise.
16659 * dirent/readdir_r.c: Likewise.
16660 * dirent/rewinddir.c: Likewise.
16661 * dirent/seekdir.c: Likewise.
16662 * dirent/telldir.c: Likewise.
16663 * gmon/profil.c: Likewise.
16664 * grp/setgroups.c: Likewise.
16665 * inet/if_index.c: Likewise.
16666 * io/access.c: Likewise.
16667 * io/chdir.c: Likewise.
16668 * io/chmod.c: Likewise.
16669 * io/chown.c: Likewise.
16670 * io/close.c: Likewise.
16671 * io/dup.c: Likewise.
16672 * io/dup2.c: Likewise.
16673 * io/dup3.c: Likewise.
16674 * io/euidaccess.c: Likewise.
16675 * io/faccessat.c: Likewise.
16676 * io/fchdir.c: Likewise.
16677 * io/fchmod.c: Likewise.
16678 * io/fchmodat.c: Likewise.
16679 * io/fchown.c: Likewise.
16680 * io/fchownat.c: Likewise.
16681 * io/fcntl.c: Likewise.
16682 * io/flock.c: Likewise.
16683 * io/fstatfs.c: Likewise.
16684 * io/fstatfs64.c: Likewise.
16685 * io/fstatvfs.c: Likewise.
16686 * io/fstatvfs64.c: Likewise.
16687 * io/futimens.c: Likewise.
16688 * io/fxstat.c: Likewise.
16689 * io/fxstat64.c: Likewise.
16690 * io/fxstatat.c: Likewise.
16691 * io/fxstatat64.c: Likewise.
16692 * io/getcwd.c: Likewise.
16693 * io/isatty.c: Likewise.
16694 * io/lchmod.c: Likewise.
16695 * io/lchown.c: Likewise.
16696 * io/link.c: Likewise.
16697 * io/linkat.c: Likewise.
16698 * io/lseek.c: Likewise.
16699 * io/lseek64.c: Likewise.
16700 * io/lxstat64.c: Likewise.
16701 * io/mkdir.c: Likewise.
16702 * io/mkdirat.c: Likewise.
16703 * io/mkfifo.c: Likewise.
16704 * io/mkfifoat.c: Likewise.
16705 * io/open.c: Likewise.
16706 * io/open64.c: Likewise.
16707 * io/openat.c: Likewise.
16708 * io/openat64.c: Likewise.
16709 * io/pipe.c: Likewise.
16710 * io/pipe2.c: Likewise.
16711 * io/poll.c: Likewise.
16712 * io/posix_fadvise.c: Likewise.
16713 * io/posix_fadvise64.c: Likewise.
16714 * io/posix_fallocate.c: Likewise.
16715 * io/posix_fallocate64.c: Likewise.
16716 * io/read.c: Likewise.
16717 * io/readlink.c: Likewise.
16718 * io/readlinkat.c: Likewise.
16719 * io/rmdir.c: Likewise.
16720 * io/sendfile.c: Likewise.
16721 * io/sendfile64.c: Likewise.
16722 * io/statfs.c: Likewise.
16723 * io/statfs64.c: Likewise.
16724 * io/statvfs.c: Likewise.
16725 * io/statvfs64.c: Likewise.
16726 * io/symlink.c: Likewise.
16727 * io/symlinkat.c: Likewise.
16728 * io/ttyname.c: Likewise.
16729 * io/ttyname_r.c: Likewise.
16730 * io/umask.c: Likewise.
16731 * io/unlink.c: Likewise.
16732 * io/unlinkat.c: Likewise.
16733 * io/utime.c: Likewise.
16734 * io/utimensat.c: Likewise.
16735 * io/write.c: Likewise.
16736 * io/xmknod.c: Likewise.
16737 * io/xmknodat.c: Likewise.
16738 * io/xstat.c: Likewise.
16739 * io/xstat64.c: Likewise.
16740 * login/getpt.c: Likewise.
16741 * login/grantpt.c: Likewise.
16742 * login/unlockpt.c: Likewise.
16743 * math/e_acoshl.c: Likewise.
16744 * math/e_acosl.c: Likewise.
16745 * math/e_asinl.c: Likewise.
16746 * math/e_atan2l.c: Likewise.
16747 * math/e_atanhl.c: Likewise.
16748 * math/e_coshl.c: Likewise.
16749 * math/e_expl.c: Likewise.
16750 * math/e_fmodl.c: Likewise.
16751 * math/e_gammal_r.c: Likewise.
16752 * math/e_hypotl.c: Likewise.
16753 * math/e_j0l.c: Likewise.
16754 * math/e_j1l.c: Likewise.
16755 * math/e_jnl.c: Likewise.
16756 * math/e_lgammal_r.c: Likewise.
16757 * math/e_log10l.c: Likewise.
16758 * math/e_log2l.c: Likewise.
16759 * math/e_logl.c: Likewise.
16760 * math/e_powl.c: Likewise.
16761 * math/e_rem_pio2l.c: Likewise.
16762 * math/e_sinhl.c: Likewise.
16763 * math/e_sqrtl.c: Likewise.
16764 * math/fclrexcpt.c: Likewise.
16765 * math/fedisblxcpt.c: Likewise.
16766 * math/feenablxcpt.c: Likewise.
16767 * math/fegetenv.c: Likewise.
16768 * math/fegetexcept.c: Likewise.
16769 * math/fegetround.c: Likewise.
16770 * math/feholdexcpt.c: Likewise.
16771 * math/fesetenv.c: Likewise.
16772 * math/fesetround.c: Likewise.
16773 * math/feupdateenv.c: Likewise.
16774 * math/fgetexcptflg.c: Likewise.
16775 * math/fraiseexcpt.c: Likewise.
16776 * math/fsetexcptflg.c: Likewise.
16777 * math/ftestexcept.c: Likewise.
16778 * math/k_cosl.c: Likewise.
16779 * math/k_rem_pio2l.c: Likewise.
16780 * math/k_sinl.c: Likewise.
16781 * math/k_tanl.c: Likewise.
16782 * math/s_asinhl.c: Likewise.
16783 * math/s_atanl.c: Likewise.
16784 * math/s_cbrtl.c: Likewise.
16785 * math/s_erfl.c: Likewise.
16786 * math/s_expm1l.c: Likewise.
16787 * math/s_log1pl.c: Likewise.
16788 * math/s_tanhl.c: Likewise.
16789 * misc/acct.c: Likewise.
16790 * misc/brk.c: Likewise.
16791 * misc/chflags.c: Likewise.
16792 * misc/chroot.c: Likewise.
16793 * misc/fchflags.c: Likewise.
16794 * misc/fgetxattr.c: Likewise.
16795 * misc/flistxattr.c: Likewise.
16796 * misc/fremovexattr.c: Likewise.
16797 * misc/fsetxattr.c: Likewise.
16798 * misc/fsync.c: Likewise.
16799 * misc/ftruncate.c: Likewise.
16800 * misc/futimes.c: Likewise.
16801 * misc/futimesat.c: Likewise.
16802 * misc/getdomain.c: Likewise.
16803 * misc/getdtsz.c: Likewise.
16804 * misc/gethostid.c: Likewise.
16805 * misc/gethostname.c: Likewise.
16806 * misc/getloadavg.c: Likewise.
16807 * misc/getpagesize.c: Likewise.
16808 * misc/getsysstats.c: Likewise.
16809 * misc/getxattr.c: Likewise.
16810 * misc/gtty.c: Likewise.
16811 * misc/ioctl.c: Likewise.
16812 * misc/lgetxattr.c: Likewise.
16813 * misc/listxattr.c: Likewise.
16814 * misc/llistxattr.c: Likewise.
16815 * misc/lremovexattr.c: Likewise.
16816 * misc/lsetxattr.c: Likewise.
16817 * misc/lutimes.c: Likewise.
16818 * misc/madvise.c: Likewise.
16819 * misc/mincore.c: Likewise.
16820 * misc/mlock.c: Likewise.
16821 * misc/mlockall.c: Likewise.
16822 * misc/mmap.c: Likewise.
16823 * misc/mprotect.c: Likewise.
16824 * misc/msync.c: Likewise.
16825 * misc/munlock.c: Likewise.
16826 * misc/munlockall.c: Likewise.
16827 * misc/munmap.c: Likewise.
16828 * misc/preadv.c: Likewise.
16829 * misc/preadv64.c: Likewise.
16830 * misc/ptrace.c: Likewise.
16831 * misc/pwritev.c: Likewise.
16832 * misc/pwritev64.c: Likewise.
16833 * misc/readv.c: Likewise.
16834 * misc/reboot.c: Likewise.
16835 * misc/remap_file_pages.c: Likewise.
16836 * misc/removexattr.c: Likewise.
16837 * misc/revoke.c: Likewise.
16838 * misc/select.c: Likewise.
16839 * misc/setdomain.c: Likewise.
16840 * misc/setegid.c: Likewise.
16841 * misc/seteuid.c: Likewise.
16842 * misc/sethostid.c: Likewise.
16843 * misc/sethostname.c: Likewise.
16844 * misc/setregid.c: Likewise.
16845 * misc/setreuid.c: Likewise.
16846 * misc/setxattr.c: Likewise.
16847 * misc/sstk.c: Likewise.
16848 * misc/stty.c: Likewise.
16849 * misc/swapoff.c: Likewise.
16850 * misc/swapon.c: Likewise.
16851 * misc/sync.c: Likewise.
16852 * misc/syncfs.c: Likewise.
16853 * misc/syscall.c: Likewise.
16854 * misc/truncate.c: Likewise.
16855 * misc/ualarm.c: Likewise.
16856 * misc/usleep.c: Likewise.
16857 * misc/ustat.c: Likewise.
16858 * misc/utimes.c: Likewise.
16859 * misc/vhangup.c: Likewise.
16860 * misc/writev.c: Likewise.
16861 * posix/_exit.c: Likewise.
16862 * posix/alarm.c: Likewise.
16863 * posix/execve.c: Likewise.
16864 * posix/fexecve.c: Likewise.
16865 * posix/fork.c: Likewise.
16866 * posix/fpathconf.c: Likewise.
16867 * posix/getaddrinfo.c: Likewise.
16868 * posix/getegid.c: Likewise.
16869 * posix/geteuid.c: Likewise.
16870 * posix/getgid.c: Likewise.
16871 * posix/getgroups.c: Likewise.
16872 * posix/getlogin.c: Likewise.
16873 * posix/getlogin_r.c: Likewise.
16874 * posix/getpgid.c: Likewise.
16875 * posix/getpid.c: Likewise.
16876 * posix/getppid.c: Likewise.
16877 * posix/getresgid.c: Likewise.
16878 * posix/getresuid.c: Likewise.
16879 * posix/getsid.c: Likewise.
16880 * posix/getuid.c: Likewise.
16881 * posix/glob64.c: Likewise.
16882 * posix/nanosleep.c: Likewise.
16883 * posix/pathconf.c: Likewise.
16884 * posix/pause.c: Likewise.
16885 * posix/posix_madvise.c: Likewise.
16886 * posix/pread.c: Likewise.
16887 * posix/pread64.c: Likewise.
16888 * posix/pwrite.c: Likewise.
16889 * posix/pwrite64.c: Likewise.
16890 * posix/sched_getaffinity.c: Likewise.
16891 * posix/sched_getp.c: Likewise.
16892 * posix/sched_gets.c: Likewise.
16893 * posix/sched_primax.c: Likewise.
16894 * posix/sched_primin.c: Likewise.
16895 * posix/sched_rr_gi.c: Likewise.
16896 * posix/sched_setaffinity.c: Likewise.
16897 * posix/sched_setp.c: Likewise.
16898 * posix/sched_sets.c: Likewise.
16899 * posix/sched_yield.c: Likewise.
16900 * posix/setgid.c: Likewise.
16901 * posix/setlogin.c: Likewise.
16902 * posix/setpgid.c: Likewise.
16903 * posix/setresgid.c: Likewise.
16904 * posix/setresuid.c: Likewise.
16905 * posix/setsid.c: Likewise.
16906 * posix/setuid.c: Likewise.
16907 * posix/sleep.c: Likewise.
16908 * posix/spawni.c: Likewise.
16909 * posix/sysconf.c: Likewise.
16910 * posix/times.c: Likewise.
16911 * posix/wait.c: Likewise.
16912 * posix/wait3.c: Likewise.
16913 * posix/wait4.c: Likewise.
16914 * posix/waitpid.c: Likewise.
16915 * resolv/gai_sigqueue.c: Likewise.
16916 * resource/getpriority.c: Likewise.
16917 * resource/getrlimit.c: Likewise.
16918 * resource/getrusage.c: Likewise.
16919 * resource/nice.c: Likewise.
16920 * resource/setpriority.c: Likewise.
16921 * resource/setrlimit.c: Likewise.
16922 * resource/ulimit.c: Likewise.
16923 * rt/aio_cancel.c: Likewise.
16924 * rt/aio_fsync.c: Likewise.
16925 * rt/aio_read.c: Likewise.
16926 * rt/aio_sigqueue.c: Likewise.
16927 * rt/aio_suspend.c: Likewise.
16928 * rt/aio_write.c: Likewise.
16929 * rt/clock_getres.c: Likewise.
16930 * rt/clock_gettime.c: Likewise.
16931 * rt/clock_nanosleep.c: Likewise.
16932 * rt/clock_settime.c: Likewise.
16933 * rt/lio_listio.c: Likewise.
16934 * rt/mq_close.c: Likewise.
16935 * rt/mq_getattr.c: Likewise.
16936 * rt/mq_notify.c: Likewise.
16937 * rt/mq_open.c: Likewise.
16938 * rt/mq_receive.c: Likewise.
16939 * rt/mq_send.c: Likewise.
16940 * rt/mq_setattr.c: Likewise.
16941 * rt/mq_timedreceive.c: Likewise.
16942 * rt/mq_timedsend.c: Likewise.
16943 * rt/mq_unlink.c: Likewise.
16944 * rt/shm_open.c: Likewise.
16945 * rt/shm_unlink.c: Likewise.
16946 * rt/timer_create.c: Likewise.
16947 * rt/timer_delete.c: Likewise.
16948 * rt/timer_getoverr.c: Likewise.
16949 * rt/timer_gettime.c: Likewise.
16950 * rt/timer_settime.c: Likewise.
16951 * setjmp/__longjmp.c: Likewise.
16952 * setjmp/setjmp.c: Likewise.
16953 * signal/kill.c: Likewise.
16954 * signal/killpg.c: Likewise.
16955 * signal/raise.c: Likewise.
16956 * signal/sigaction.c: Likewise.
16957 * signal/sigaltstack.c: Likewise.
16958 * signal/sigblock.c: Likewise.
16959 * signal/sigignore.c: Likewise.
16960 * signal/sigintr.c: Likewise.
16961 * signal/signal.c: Likewise.
16962 * signal/sigpause.c: Likewise.
16963 * signal/sigpending.c: Likewise.
16964 * signal/sigqueue.c: Likewise.
16965 * signal/sigreturn.c: Likewise.
16966 * signal/sigset.c: Likewise.
16967 * signal/sigsetmask.c: Likewise.
16968 * signal/sigstack.c: Likewise.
16969 * signal/sigsuspend.c: Likewise.
16970 * signal/sigtimedwait.c: Likewise.
16971 * signal/sigvec.c: Likewise.
16972 * signal/sigwait.c: Likewise.
16973 * signal/sigwaitinfo.c: Likewise.
16974 * signal/sysv_signal.c: Likewise.
16975 * socket/accept.c: Likewise.
16976 * socket/accept4.c: Likewise.
16977 * socket/bind.c: Likewise.
16978 * socket/connect.c: Likewise.
16979 * socket/getpeername.c: Likewise.
16980 * socket/getsockname.c: Likewise.
16981 * socket/getsockopt.c: Likewise.
16982 * socket/isfdtype.c: Likewise.
16983 * socket/listen.c: Likewise.
16984 * socket/recv.c: Likewise.
16985 * socket/recvfrom.c: Likewise.
16986 * socket/recvmsg.c: Likewise.
16987 * socket/send.c: Likewise.
16988 * socket/sendmsg.c: Likewise.
16989 * socket/sendto.c: Likewise.
16990 * socket/setsockopt.c: Likewise.
16991 * socket/shutdown.c: Likewise.
16992 * socket/sockatmark.c: Likewise.
16993 * socket/socket.c: Likewise.
16994 * socket/socketpair.c: Likewise.
16995 * stdio-common/ctermid.c: Likewise.
16996 * stdio-common/cuserid.c: Likewise.
16997 * stdio-common/remove.c: Likewise.
16998 * stdio-common/rename.c: Likewise.
16999 * stdio-common/renameat.c: Likewise.
17000 * stdio-common/tempname.c: Likewise.
17001 * stdlib/getcontext.c: Likewise.
17002 * stdlib/makecontext.c: Likewise.
17003 * stdlib/setcontext.c: Likewise.
17004 * stdlib/swapcontext.c: Likewise.
17005 * stdlib/system.c: Likewise.
17006 * streams/fattach.c: Likewise.
17007 * streams/fdetach.c: Likewise.
17008 * streams/getmsg.c: Likewise.
17009 * streams/getpmsg.c: Likewise.
17010 * streams/putmsg.c: Likewise.
17011 * streams/putpmsg.c: Likewise.
17012 * sysdeps/unix/bsd/getpt.c: Likewise.
17013 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17014 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17015 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17017 Likewise.
17018 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17019 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17020 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17021 * sysvipc/msgctl.c: Likewise.
17022 * sysvipc/msgget.c: Likewise.
17023 * sysvipc/msgrcv.c: Likewise.
17024 * sysvipc/msgsnd.c: Likewise.
17025 * sysvipc/semctl.c: Likewise.
17026 * sysvipc/semget.c: Likewise.
17027 * sysvipc/semop.c: Likewise.
17028 * sysvipc/semtimedop.c: Likewise.
17029 * sysvipc/shmat.c: Likewise.
17030 * sysvipc/shmctl.c: Likewise.
17031 * sysvipc/shmdt.c: Likewise.
17032 * sysvipc/shmget.c: Likewise.
17033 * termios/tcdrain.c: Likewise.
17034 * termios/tcflow.c: Likewise.
17035 * termios/tcflush.c: Likewise.
17036 * termios/tcgetattr.c: Likewise.
17037 * termios/tcgetpgrp.c: Likewise.
17038 * termios/tcsendbrk.c: Likewise.
17039 * termios/tcsetattr.c: Likewise.
17040 * termios/tcsetpgrp.c: Likewise.
17041 * time/adjtime.c: Likewise.
17042 * time/clock.c: Likewise.
17043 * time/getitimer.c: Likewise.
17044 * time/gettimeofday.c: Likewise.
17045 * time/setitimer.c: Likewise.
17046 * time/settimeofday.c: Likewise.
17047 * time/stime.c: Likewise.
17048 * time/time.c: Likewise.
17049
17050 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
17051
17052 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17053 /usr/old/bin.
17054
17055 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17056 instead of spaces.
17057 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17058
17059 2012-11-03 Joseph Myers <joseph@codesourcery.com>
17060
17061 [BZ #14796]
17062 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17063 FE_TONEAREST before applying Dekker multiplication and Knuth
17064 addition. Clear inexact exceptions and check for exact zero
17065 results afterwards.
17066 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17067 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17068 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17069 * math/libm-test.inc (fma_test): Add more tests.
17070 (fma_test_towardzero): Likewise.
17071 (fma_test_downward): Likewise.
17072 (fma_test_upward): Likewise.
17073 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17074 function.
17075 (libc_fesetround): New macro.
17076 (libc_fesetroundf): Likewise.
17077 (libc_fesetroundl): Likewise.
17078 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17079 function.
17080 (libc_fesetround_387): Likewise.
17081 (libc_fesetroundf): New macro.
17082 (libc_fesetround): Likewise.
17083 (libc_fesetroundl): Likewise.
17084 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17085 function.
17086 (libc_fesetroundf): New macro.
17087 (libc_fesetround): Likewise.
17088 (libc_fesetroundl): Likewise.
17089 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17090 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17091 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17092 libm_hidden_ver.
17093 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17094 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17095 libm_hidden_def.
17096 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17097 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17098 libm_hidden_ver.
17099 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17100 libm_hidden_def.
17101
17102 [BZ #3439]
17103 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17104 integer constant usable in #if and use that to give value to enum
17105 constant.
17106 (FE_DIVBYZERO): Likewise.
17107 (FE_UNDERFLOW): Likewise.
17108 (FE_OVERFLOW): Likewise.
17109 (FE_INVALID): Likewise.
17110 (FE_INVALID_SNAN): Likewise.
17111 (FE_INVALID_ISI): Likewise.
17112 (FE_INVALID_IDI): Likewise.
17113 (FE_INVALID_ZDZ): Likewise.
17114 (FE_INVALID_IMZ): Likewise.
17115 (FE_INVALID_COMPARE): Likewise.
17116 (FE_INVALID_SOFTWARE): Likewise.
17117 (FE_INVALID_SQRT): Likewise.
17118 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17119 (FE_TONEAREST): Likewise.
17120 (FE_TOWARDZERO): Likewise.
17121 (FE_UPWARD): Likewise.
17122 (FE_DOWNWARD): Likewise.
17123 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17124 (FE_DIVBYZERO): Likewise.
17125 (FE_OVERFLOW): Likewise.
17126 (FE_UNDERFLOW): Likewise.
17127 (FE_INEXACT): Likewise.
17128 (FE_TONEAREST): Likewise.
17129 (FE_DOWNWARD): Likewise.
17130 (FE_UPWARD): Likewise.
17131 (FE_TOWARDZERO): Likewise.
17132 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17133 (FE_UNDERFLOW): Likewise.
17134 (FE_OVERFLOW): Likewise.
17135 (FE_DIVBYZERO): Likewise.
17136 (FE_INVALID): Likewise.
17137 (FE_TONEAREST): Likewise.
17138 (FE_TOWARDZERO): Likewise.
17139 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17140 (FE_OVERFLOW): Likewise.
17141 (FE_UNDERFLOW): Likewise.
17142 (FE_DIVBYZERO): Likewise.
17143 (FE_INEXACT): Likewise.
17144 (FE_TONEAREST): Likewise.
17145 (FE_TOWARDZERO): Likewise.
17146 (FE_UPWARD): Likewise.
17147 (FE_DOWNWARD): Likewise.
17148 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17149 (FE_DIVBYZERO): Likewise.
17150 (FE_OVERFLOW): Likewise.
17151 (FE_UNDERFLOW): Likewise.
17152 (FE_INEXACT): Likewise.
17153 (FE_TONEAREST): Likewise.
17154 (FE_DOWNWARD): Likewise.
17155 (FE_UPWARD): Likewise.
17156 (FE_TOWARDZERO): Likewise.
17157
17158 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17159
17160 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17161
17162 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17163
17164 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17165 commands. Quote $PWD.
17166 (blacklist_exports): Don't use remove_newlines. Replace "declare
17167 -x" by "export".
17168 (remove_newlines): Remove.
17169
17170 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17171
17172 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17173 * stdlib/stdlib.h (atof): Moved to ...
17174 * include/bits/stdlib-float.h: Here. New file.
17175 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17176 * stdlib/bits/stdlib-float.h: New file.
17177 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17178 -mno-sse -mno-mmx.
17179 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17180 <xmmintrin.h>.
17181
17182 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17183
17184 * conform/conformtest.pl (@headers): Add fenv.h.
17185 * conform/data/fenv.h-data: New file.
17186 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17187 include of <math/fenv.h>.
17188
17189 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17190 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17191 && !UNIX98]. Enables tests for XOPEN2K8.
17192 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17193 POSIX2008]: Likewise.
17194
17195 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17196 (struct rusage): Do not expect type or its members.
17197
17198 [BZ #3439]
17199 * math/math.h (FP_NAN): Define macro to integer constant usable in
17200 #if and use that to give value to enum constant.
17201 (FP_INFINITE): Likewise.
17202 (FP_ZERO): Likewise.
17203 (FP_SUBNORMAL): Likewise.
17204 (FP_NORMAL): Likewise.
17205
17206 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17207
17208 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17209 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17210 arguments.
17211
17212 2012-11-02 Roland McGrath <roland@hack.frob.com>
17213
17214 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17215 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17216 autoconf-time if not.
17217 * configure.in: Remove AC_PREREQ.
17218
17219 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17220
17221 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17222 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17223 of the internal implementation.
17224
17225 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17226
17227 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17228 except include of <misc/sys/syslog.h>.
17229
17230 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17231
17232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17233 function returns with a NULL context exit with zero.
17234
17235 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17236
17237 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17238
17239 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17240
17241 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17242 (run_program_cmd): This.
17243 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17244 (tst_langinfo): New variable. Use it.
17245
17246 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17247
17248 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17249 floating point opcodes.
17250
17251 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17252
17253 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17254 variable.
17255
17256 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17257
17258 * sysdeps/mach/hurd/powerpc: Remove directory.
17259 * sysdeps/mach/powerpc: Likewise.
17260
17261 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17262
17263 * scripts/check-local-headers.sh: Ignore c++ headers.
17264
17265 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17266
17267 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17268 __libc_cleanup_region_start argument.
17269
17270 2012-11-01 Joseph Myers <joseph@codesourcery.com>
17271
17272 [BZ #14784]
17273 [BZ #14785]
17274 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17275 x * y using scaling, not as x * y + z.
17276 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17277 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17278 * math/libm-test.inc (fma_test): Add more tests.
17279 (fma_test_towardzero): Likewise.
17280 (fma_test_downward): Likewise.
17281 (fma_test_upward): Likewise.
17282
17283 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17284
17285 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17286
17287 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17288
17289 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17290 New variable.
17291
17292 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17293
17294 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17295
17296 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17297
17298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17299 Fix sort order.
17300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17301 Likewise.
17302
17303 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17304
17305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17306 Fix the order of the list for glibc 2.17.
17307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17308 Likewise.
17309
17310 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17311
17312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17313
17314 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17315
17316 [BZ #14610]
17317 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17318 for low part of x being zero before using __atanl (y).
17319 * math/libm-test.inc (atan2_test): Add another test.
17320
17321 * manual/install.texi (Configuring and compiling): Document
17322 general use of test-wrapper and test-wrapper-env.
17323 * INSTALL: Regenerated.
17324
17325 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17326 (__fma): Do not extract and scale down low bits on after-rounding
17327 systems when result rounded to normal precision would have normal
17328 exponent.
17329 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17330 (__fmal): Do not extract and scale down low bits on after-rounding
17331 systems when result rounded to normal precision would have normal
17332 exponent.
17333 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17334 (__fmal): Do not extract and scale down low bits on after-rounding
17335 systems when result rounded to normal precision would have normal
17336 exponent.
17337 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17338 macro.
17339 (fma_test): Add more tests.
17340 (fma_test_towardzero): Likewise.
17341 (fma_test_downward): Likewise.
17342 (fma_test_upward): Likewise.
17343
17344 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17345
17346 * sysdeps/i386/tininess.h: Renamed to ...
17347 * sysdeps/x86/tininess.h: This.
17348 * sysdeps/x86_64/tininess.h: Removed.
17349
17350 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17351
17352 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17353 input. Use $(build-program-cmd).
17354 ($(objpfx)tst-array1-static.out): Likewise.
17355 ($(objpfx)tst-array2.out): Likewise.
17356 ($(objpfx)tst-array3.out): Likewise.
17357 ($(objpfx)tst-array4.out): Likewise.
17358 ($(objpfx)tst-array5.out): Likewise.
17359 ($(objpfx)tst-array5-static.out): Likewise.
17360
17361 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17362
17363 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17364 if defined.
17365
17366 * nss/nsswitch.h (nss_interface_function): Provide new
17367 macro for use with NSS functions.
17368 * grp/initgroups.c: Use new macro.
17369 * nss/getXXbyYY.c: Likewise.
17370 * nss/getXXbyYY_r.c: Likewise.
17371 * nss/getXXent.c: Likewise.
17372 * nss/getXXent_r.c: Likewise.
17373 * sysdeps/posix/getaddrinfo.c: Likewise.
17374
17375 2012-10-30 Andreas Jaeger <aj@suse.de>
17376
17377 * po/ru.po: Update Russion translation from translation project.
17378
17379 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17380
17381 [BZ #14152]
17382 [BZ #14783]
17383 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17384 result and shift together with sticky bit instead of replicating
17385 round-to-nearest rounding.
17386 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17387 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17388 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17389 missing underflow exceptions.
17390 (fma_test_towardzero): Add more tests.
17391 (fma_test_downward): Likewise.
17392 (fma_test_upward): Likewise.
17393
17394 [BZ #14047]
17395 * sysdeps/generic/tininess.h: New file.
17396 * sysdeps/i386/tininess.h: Likewise.
17397 * sysdeps/sh/tininess.h: Likewise.
17398 * sysdeps/x86_64/tininess.h: Likewise.
17399 * stdlib/tst-strtod-underflow.c: Likewise.
17400 * stdlib/tst-tininess.c: Likewise.
17401 * stdlib/strtod_l.c: Include <tininess.h>.
17402 (round_and_return): Do not set errno for exact underflow cases.
17403 Force an underflow exception when setting errno for underflow.
17404 Determine underflow based on rounding to normal precision if
17405 TININESS_AFTER_ROUNDING.
17406 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17407 ERANGE for exact underflow cases.
17408 * stdlib/Makefile (tests): Add tst-tininess and
17409 tst-strtod-underflow.
17410 ($(objpfx)tst-tininess): Use $(link-libm).
17411 ($(objpfx)tst-strtod-underflow): Likewise.
17412
17413 2012-10-30 Andreas Jaeger <aj@suse.de>
17414
17415 [BZ#14767]
17416 * elf/Makefile (tests): Remove conditional for have-initfini-array
17417 since this is now always required and the variable does not exist
17418 anymore.
17419 (tests-static): Likewise.
17420 (modules-names): Likewise.
17421
17422 * po/eo.po: Add Esperanto translation from translation project.
17423
17424 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17425 merged with constructor/destructor.
17426 (init_array): Likewise.
17427 * elf/tst-array2dep.c (fini_array): Likewise.
17428 (init_array): Likewise.
17429
17430 2012-10-29 Mike Frysinger <vapier@gentoo.org>
17431
17432 * manual/message.texi: Delete @cartouche tags.
17433
17434 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17435
17436 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17437 EOPNOTSUPP.
17438 * sysdeps/mach/hurd/fsync.c: Likewise.
17439
17440 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17441 [_POSIX_REALTIME_SIGNALS]: Change condition to
17442 [_POSIX_REALTIME_SIGNALS > 0].
17443
17444 2012-10-27 Andreas Jaeger <aj@suse.de>
17445
17446 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17447 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17448 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17449 [__WORDSIZE != 64]: Likewise.
17450
17451 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17452
17453 * iconvdata/tst-table.sh: Remove ${SHELL}.
17454 * iconvdata/tst-tables.sh: Likewise.
17455
17456 2012-10-25 David S. Miller <davem@davemloft.net>
17457
17458 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17459 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17460 of strtoull.
17461
17462 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17463 ifunc-impl-list.c
17464 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17465 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17466 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17467 file.
17468
17469 2012-10-25 Roland McGrath <roland@hack.frob.com>
17470
17471 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17472 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17473 __getdirentries.
17474
17475 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17476 Jim Blandy <jimb@codesourcery.com>
17477
17478 * scripts/cross-test-ssh.sh: New file.
17479 * manual/install.texi (Configuring and compiling): Document use of
17480 cross-test-ssh.sh.
17481 * INSTALL: Regenerated.
17482
17483 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17484
17485 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17486 EOPNOTSUPP.
17487
17488 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17489
17490 * Makeconfig (run-program-prefix): Fix comment.
17491
17492 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17493 Jim Blandy <jimb@codesourcery.com>
17494
17495 * Makeconfig (test-wrapper): New variable,
17496 (test-wrapper-env): Likewise.
17497 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17498 (run-built-tests): Define to yes.
17499 (run-program-prefix): Use $(test-wrapper).
17500 (built-program-cmd): Likewise.
17501 * Rules (make-test-out): Use $(test-wrapper-env) and
17502 $(host-built-program-cmd).
17503 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17504 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17505 tst-pathopt.sh.
17506 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17507 $(test-wrapper-env) to tst-rtld-load-self.sh.
17508 ($(objpfx)order2.out): Use $(test-wrapper).
17509 ($(objpfx)tst-initorder.out): Likewise.
17510 ($(objpfx)tst-initorder2.out): Likewise.
17511 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17512 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17513 (test_wrapper_env): New variable. Use it to run ld.so.
17514 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17515 Use it to run ld.so.
17516 (test_wrapper_env): Likewise.
17517 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17518 $(test-wrapper) to run-iconv-test.sh.
17519 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17520 (ICONV): Use $test_wrapper.
17521 * posix/Makefile ($(objpfx)globtest.out): Pass
17522 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17523 globtest.sh, not $(run-program-prefix).
17524 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17525 (test_wrapper): Likewise.
17526 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17527 set together with run_via_rtld_prefix.
17528 (run_program_prefix): Define in terms of test_wrapper and
17529 run_via_rtld_prefix.
17530
17531 2012-10-24 Roland McGrath <roland@hack.frob.com>
17532
17533 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17534 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17535 Targets removed.
17536
17537 [BZ #14743]
17538 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17539 Declare __clock_getres, __clock_gettime, __clock_settime,
17540 __clock_nanosleep, and __clock_getcpuclockid.
17541 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17542 Remove librt_hidden_def (clock_gettime).
17543 * sysdeps/unix/clock_gettime.c: Likewise.
17544 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17545 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17546 * rt/clock_getres.c: Define __clock_getres as an alias.
17547 * sysdeps/posix/clock_getres.c: Likewise.
17548 * rt/clock_settime.c: Define __clock_settime as an alias.
17549 * sysdeps/unix/clock_settime.c: Likewise.
17550 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17551 * sysdeps/unix/clock_nanosleep.c: Likewise.
17552 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17553 * rt/clock-compat.c: New file.
17554 * rt/Makefile (librt-routines): Add clock-compat and move
17555 $(clock-routines) to ...
17556 (routines): ... here, new variable.
17557 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17558 Don't add get_clockfreq here.
17559 * rt/Versions (libc: GLIBC_2.17): New version set.
17560 Add clock_* symbols here.
17561 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17562 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17563 (GLIBC_2.17): Add clock_* symbols.
17564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17566 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17568 Likewise.
17569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17570 Likewise.
17571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17572 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17575 * NEWS: Mention the move.
17576
17577 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17578 Use __open, __read, __close rather than their public counterparts.
17579 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17580 (__get_clockfreq_via_cpuinfo): Likewise.
17581 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17582 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17583
17584 * config.h.in (HAVE_IFUNC): New #undef.
17585 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17586 was successful.
17587 * configure: Regenerated.
17588
17589 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17590
17591 * configure.in: Move READELF check to start of file.
17592 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17593 libc_cv_asm_gnu_indirect_function in the process.
17594 * configure: Regenerated.
17595
17596 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17597
17598 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17599 send the output to /dev/null.
17600 (libc_cv_cc_with_libunwind): Likewise.
17601 (libc_cv_as_noexecstack): Likewise.
17602 * configure: Regenerate.
17603
17604 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17605
17606 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17607
17608 * posix/globtest.sh (TMPDIR): Do not set.
17609 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17610 (testout): Likewise.
17611
17612 2012-10-24 Andreas Jaeger <aj@suse.de>
17613
17614 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17615 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17616 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17617 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17618 posix_fadvise64, posix_fallocate64.
17619
17620 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17621 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17622 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17623 Likewise.
17624 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17625 Likewise.
17626 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17627
17628 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17629 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17630 <bits/fcntl-linux.h>.
17631 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17632
17633 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17634 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17635 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17636 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17637 [__WORDSIZE != 64]: Likewise.
17638
17639 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17640
17641 * Makeconfig (run-built-tests): New variable.
17642 * Rules [$(cross-compiling) = yes]: Change condition to
17643 [$(run-built-tests) = no].
17644 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17645 to [$(run-built-tests) = yes].
17646 * elf/Makefile [$(cross-compiling) = no]: Likewise
17647 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17648 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17649 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17650 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17651 * io/Makefile [$(cross-compiling) = no]: Likewise.
17652 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17653 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17654 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17655 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17656 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17657 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17658 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17659 * string/Makefile [$(cross-compiling) = no]: Likewise.
17660
17661 * posix/Makefile ($(objpfx)globtest.out): Pass
17662 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17663 $(rtld-installed-name).
17664 * posix/globtest.sh (elf_objpfx): Remove variable.
17665 (rtld_installed_name): Likewise.
17666 (library_path): Likewise.
17667 (run_program_prefix): New variable. Use for running globtest
17668 binary.
17669
17670 2012-10-23 Jim Blandy <jimb@codesourcery.com>
17671 Joseph Myers <joseph@codesourcery.com>
17672
17673 * Makeconfig (host-built-program-cmd): New variable.
17674 * elf/Makefile (tst-stackguard1-ARGS): Use
17675 $(host-built-program-cmd).
17676 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17677 (tst-spawn-ARGS): Likewise.
17678 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17679
17680 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17681 Jim Blandy <jimb@codesourcery.com>
17682
17683 * Makeconfig (run-via-rtld-prefix): New variable.
17684 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17685 (built-program-cmd): Likewise.
17686
17687 2012-10-22 Andreas Jaeger <aj@suse.de>
17688
17689 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17690 __O_RSYNC if it exists, otherwise to O_SYNC.
17691
17692 2012-10-22 Jim Blandy <jimb@codesourcery.com>
17693 Joseph Myers <joseph@codesourcery.com>
17694
17695 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17696 /dev/null.
17697 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17698 from /dev/null
17699 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17700 /dev/null.
17701
17702 2012-10-22 Andreas Jaeger <aj@suse.de>
17703
17704 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17705 Define always.
17706 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17707
17708 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17709 bits/fcntl-linux.h.
17710
17711 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17712 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17713
17714 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17715 to __O_LARGEFILE.
17716 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17717 to __O_LARGEFILE.
17718
17719 2012-10-21 Jim Blandy <jimb@codesourcery.com>
17720 Joseph Myers <joseph@codesourcery.com>
17721
17722 * config.make.in (NM): New variable.
17723
17724 2012-10-21 Andreas Jaeger <aj@suse.de>
17725
17726 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17727 definitions and declarations that are provided by
17728 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17729
17730 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17731
17732 [BZ #14683]
17733 * elf/Makefile (tests-static): Add tst-leaks1-static.
17734 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17735 ($(objpfx)tst-leaks1-static): New rule.
17736 ($(objpfx)tst-leaks1-static-mem): Likewise.
17737 (tst-leaks1-static-ENV): New macro.
17738 * elf/dl-open.c (dl_open_worker): Check the main application
17739 only if SHARED is defined.
17740 * elf/tst-leaks1-static.c: New file.
17741
17742 2012-10-20 Andreas Jaeger <aj@suse.de>
17743
17744 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17745 generic values for Linux.
17746 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17747 and declarations that are provided by <bits/fcntl-linux.h> and
17748 include <bits/fcntl-linux.h>.
17749 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17750 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17751
17752 2012-10-20 Roland McGrath <roland@hack.frob.com>
17753
17754 * io/fcntl.h: Move include of <bits/types.h> to the top and
17755 include it unconditionally.
17756
17757 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17758
17759 * wcsmbs/Makefile (tests-ifunc): New variable.
17760 (tests): Add $(tests-ifunc).
17761 * wcsmbs/test-wcschr-ifunc.c: New file.
17762 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17763 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17764 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17765 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17766 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17767
17768 * string/Makefile (tests-ifunc): New variable.
17769 (tests): Add $(tests-ifunc).
17770 * string/test-memccpy.c (TEST_NAME): New macro.
17771 * string/test-memchr.c (TEST_NAME): Likewise.
17772 * string/test-memcmp.c (TEST_NAME): Likewise.
17773 * string/test-memcpy.c (TEST_NAME): Likewise.
17774 * string/test-memmem.c (TEST_NAME): Likewise.
17775 * string/test-memmove.c (TEST_NAME): Likewise.
17776 * string/test-memset.c (TEST_NAME): Likewise.
17777 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17778 * string/test-stpcpy.c (TEST_NAME): Likewise.
17779 * string/test-stpncpy.c (TEST_NAME): Likewise.
17780 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17781 * string/test-strcasestr.c (TEST_NAME): Likewise.
17782 * string/test-strcat.c (TEST_NAME): Likewise.
17783 * string/test-strchr.c (TEST_NAME): Likewise.
17784 * string/test-strcmp.c(TEST_NAME): Likewise.
17785 * string/test-strcpy.c (TEST_NAME): Likewise.
17786 * string/test-strcspn.c (TEST_NAME): Likewise.
17787 * string/test-strlen.c (TEST_NAME): Likewise.
17788 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17789 * string/test-strncmp.c (TEST_NAME): Likewise.
17790 * string/test-strncpy.c (TEST_NAME): Likewise.
17791 * string/test-strnlen.c (TEST_NAME): Likewise.
17792 * string/test-strpbrk.c (TEST_NAME): Likewise.
17793 * string/test-strrchr.c (TEST_NAME): Likewise.
17794 * string/test-strspn.c (TEST_NAME): Likewise.
17795 * string/test-strstr.c (TEST_NAME): Likewise.
17796 * string/test-bcopy-ifunc.c: New file.
17797 * string/test-bzero-ifunc.c: Likewise.
17798 * string/test-memccpy-ifunc.c: Likewise.
17799 * string/test-memchr-ifunc.c: Likewise.
17800 * string/test-memcmp-ifunc.c: Likewise.
17801 * string/test-memcpy-ifunc.c: Likewise.
17802 * string/test-memmem-ifunc.c: Likewise.
17803 * string/test-memmove-ifunc.c: Likewise.
17804 * string/test-mempcpy-ifunc.c: Likewise.
17805 * string/test-memset-ifunc.c: Likewise.
17806 * string/test-rawmemchr-ifunc.c: Likewise.
17807 * string/test-stpcpy-ifunc.c: Likewise.
17808 * string/test-stpncpy-ifunc.c: Likewise.
17809 * string/test-strcasecmp-ifunc.c: Likewise.
17810 * string/test-strcasestr-ifunc.c: Likewise.
17811 * string/test-strcat-ifunc.c: Likewise.
17812 * string/test-strchr-ifunc.c: Likewise.
17813 * string/test-strchrnul-ifunc.c: Likewise.
17814 * string/test-strcmp-ifunc.c: Likewise.
17815 * string/test-strcpy-ifunc.c: Likewise.
17816 * string/test-strcspn-ifunc.c: Likewise.
17817 * string/test-strlen-ifunc.c: Likewise.
17818 * string/test-strncasecmp-ifunc.c: Likewise.
17819 * string/test-strncat-ifunc.c: Likewise.
17820 * string/test-strncmp-ifunc.c: Likewise.
17821 * string/test-strncpy-ifunc.c: Likewise.
17822 * string/test-strnlen-ifunc.c: Likewise.
17823 * string/test-strpbrk-ifunc.c: Likewise.
17824 * string/test-strrchr-ifunc.c: Likewise.
17825 * string/test-strspn-ifunc.c: Likewise.
17826 * string/test-strstr-ifunc.c: Likewise.
17827
17828 * debug/Makefile (tests-ifunc): New variable.
17829 (tests): Add $(tests-ifunc).
17830 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17831 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17832 * debug/test-stpcpy_chk-ifunc.c: New file.
17833 * debug/test-strcpy_chk-ifunc.c: Likewise.
17834
17835 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17836
17837 [BZ #13601]
17838 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17839 header is not read in.
17840
17841 2012-10-19 Joseph Myers <joseph@codesourcery.com>
17842
17843 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17844 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17845 directly. Pass built executable to script as
17846 $(built-program-cmd).
17847 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17848 $testprogram without using LD_LIBRARY_PATH and $ldso.
17849
17850 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17851 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17852 $(rtld-installed-name).
17853 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17854 (rtld_installed_name): Likewise.
17855 (library_path): Likewise.
17856 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17857 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17858 $(run-program-prefix) to tst-tables.sh.
17859 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17860 it to run tst-table-from and tst-table-to.
17861 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17862 Pass it to tst-table.sh.
17863 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17864 $(run-program-prefix) to tst-gettext.sh.
17865 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17866 tst-translit.sh.
17867 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17868 tst-gettext2.sh.
17869 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17870 to run tst-gettext.
17871 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17872 to run tst-gettext2.
17873 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17874 to run tst-translit.
17875 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17876 $(run-program-prefix) to tst-mtrace.sh.
17877 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17878 to run tst-mtrace.
17879 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17880 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17881 $(rtld-installed-name).
17882 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17883 (rtld_installed_name): Likewise.
17884 (run_program_prefix): New variable. Use it to run wordexp-test.
17885
17886 * Makeconfig (ARCH): Remove all definitions.
17887 (machine): Likewise.
17888 [ARCH]: Remove conditional code.
17889 [!objdir]: Give error.
17890 [!objdir] (objpfx): Remove.
17891 [!objdir] (common-objpfx): Likewise.
17892 [!objdir] (common-objdir): Likewise.
17893 * configure.in (config_makefile): Remove. Hardcode Makefile in
17894 AC_CONFIG_FILES call.
17895 * configure: Regenerated.
17896
17897 [BZ #13888]
17898 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17899 or TMPDIR.
17900 (testout): Likewise.
17901
17902 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17903 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17904 $(rtld-installed-name).
17905 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17906 (rtld_installed_name): Likwise.
17907 (runit): Remove function.
17908 (run_getconf): New variable, Use it for running getconf binary.
17909
17910 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17911
17912 [BZ #14716]
17913 * string/test-memmem.c (check_result): New function.
17914 (do_one_test): Use it.
17915 (check1): New function.
17916 (test_main): Use it.
17917
17918 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17919
17920 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17921
17922 2012-10-18 Joseph Myers <joseph@codesourcery.com>
17923
17924 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17925 (_G_LSEEK64): Likewise.
17926 (_G_MMAP64): Likewise.
17927 (_G_FSTAT64): Likewise.
17928 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17929 (_G_LSEEK64): Likewise.
17930 (_G_MMAP64): Likewise.
17931 (_G_FSTAT64): Likewise.
17932 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17933 unconditional. Call __mmap64 directly.
17934 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17935 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17936 __lseek64 directly.
17937 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17938 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17939 __mmap64 directly.
17940 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17941 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17942 __lseek64 directly.
17943 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17944 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17945 __lseek64 directly.
17946 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17947 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17948 __lseek64 directly.
17949 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17950 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17951 __fxstat64 directly.
17952 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17953 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17954 unconditional.
17955 (freopen64) [!_G_OPEN64]: Remove conditional code.
17956 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17957 unconditional.
17958 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17959 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17960 unconditional.
17961 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17962 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17963 unconditional.
17964 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17965 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17966 unconditional.
17967 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17968 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17969 unconditional.
17970 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17971 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17972 unconditional.
17973 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17974 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17975 unconditional.
17976 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17977
17978 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17979
17980 [BZ #12140]
17981 * manual/memory.texi (Malloc Tunable Parameters): Add note
17982 about free list pointers overwriting some perturb bytes.
17983 Wording suggested by Roland McGrath.
17984
17985 2012-10-17 Joseph Myers <joseph@codesourcery.com>
17986
17987 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17988 (lgamma_test): Likewise.
17989 (tgamma_test): Likewise.
17990
17991 2012-10-16 Florian Weimer <fweimer@redhat.com>
17992
17993 [BZ #14700]
17994 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17995 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17996
17997 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17998
17999 * NEWS: Mention BZ #14716.
18000 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18001 when removing AVAILABLE1_USES_J macro.
18002
18003 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18004
18005 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18006 (__bswap_64): __uint64_t for unsigned 64-bit int.
18007
18008 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18009
18010 * include/string.h (memmem): Declare libc hidden alias.
18011 * string/memmem.c (memmem): Define libc hidden alias.
18012 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18013 __read, __close instead of open, read, close.
18014
18015 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18016
18017 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18018 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18019 global and hidden.
18020 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18021 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18022 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18023 Likewise.
18024 (__rawmemchr_sse2): Likewise.
18025 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18026 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18027 (__strchr_sse2): Likewise.
18028 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18029 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18030 (__strcasecmp_sse2): Likewise.
18031 (__strncasecmp_sse2): Likewise.
18032 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18033 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18034 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18035 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18036 (__strrchr_sse2): Likewise.
18037 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18038 ifunc-impl-list.c.
18039 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18040 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18041 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18042 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18043 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18044 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18045 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18046 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18047 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18048 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18049 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18050 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18051 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18052 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18053 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18054 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18055 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18056 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18057 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18058 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18059 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18060 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18061 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18062 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18063 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18064 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18065 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18066 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18067 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18068 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18069
18070 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18071 global and hidden.
18072 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18073 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18074 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18075 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18076 Likewise.
18077 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18078 Likewise.
18079 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18080 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18081 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18082 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18083 ifunc-impl-list.c.
18084 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18085 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18086 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18087 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18088 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18089 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18090 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18091 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18092 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18093 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18094 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18095 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18096 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18097 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18098 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18099 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18100 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18101 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18102 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18103 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18104 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18105 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18106 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18107 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18108 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18109 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18110 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18111 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18112 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18113 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18114 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18115 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18116 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18117 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18118 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18119 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18120 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18121 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18122 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18123 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18124 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18125
18126 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18127 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18128 * include/ifunc-impl-list.h: New file.
18129 * misc/ifunc-impl-list.c: Likewise.
18130 * misc/Makefile (routines): Add ifunc-impl-list.
18131 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18132 * string/test-string.h: Include <ifunc-impl-list.h>.
18133 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18134 impl_array): New variables.
18135 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18136 are defined.
18137 (test_init): Call __libc_ifunc_impl_list to initialize
18138 func_list if TEST_IFUNC and TEST_NAME are defined.
18139
18140 * string/Makefile (strop-tests): Add bcopy and bzero.
18141 * string/test-bcopy.c: New file.
18142 * string/test-bzero.c: Likewise.
18143 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18144 defined.
18145 * string/test-memset.c: Support bzero test if TEST_BZERO is
18146 defined.
18147 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18148 __libc_memmove.
18149 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18150 __libc_memset.
18151 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18152 of memset.
18153
18154 2012-10-10 Joseph Myers <joseph@codesourcery.com>
18155
18156 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18157 * configure: Regenerated.
18158
18159 * Makeconfig (+link-static-before-libc): Don't include
18160 $(link-static-libc).
18161
18162 * libio/libio.h (_IO_pos_t): Remove.
18163
18164 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18165
18166 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18167 McGrath.
18168
18169 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18170
18171 * crypt/crypt-entry.c: Include fips-private.h.
18172 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18173 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18174 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18175 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18176
18177 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18178
18179 * crypt/crypt-private.h: Include stdbool.h.
18180 (_ufc_setup_salt_r): Return bool.
18181 * crypt/crypt-entry.c: Include errno.h.
18182 (__crypt_r): Return NULL with EINVAL for bad salt.
18183 * crypt/crypt_util.c (bad_for_salt): New.
18184 (_ufc_setup_salt_r): Check that salt is long enough and within
18185 the specified alphabet.
18186 * crypt/badsalttest.c: New file.
18187 * crypt/Makefile (tests): Add it.
18188 ($(objpfx)badsalttest): New.
18189
18190 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18191
18192 * NEWS: Add entry for BZ #14602.
18193
18194 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18195
18196 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18197 type-generic.
18198 * math/libm-test.inc: Update comment listing what functions and
18199 macros are tested.
18200 (isgreater_test): New function.
18201 (isgreaterequal_test): Likewise.
18202 (isless_test): Likewise.
18203 (islessequal_test): Likewise.
18204 (islessgreater_test): Likewise.
18205 (isunordered_test): Likewise.
18206 (main): Call the new functions.
18207
18208 2012-10-09 Roland McGrath <roland@hack.frob.com>
18209
18210 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18211 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18212 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18213 * sysdeps/i386/configure: Regenerated.
18214 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18215 * sysdeps/mach/configure: Regenerated.
18216 * sysdeps/mach/hurd/configure: Regenerated.
18217 * sysdeps/powerpc/configure: Regenerated.
18218 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18219 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18220 * sysdeps/s390/s390-32/configure: Regenerated.
18221 * sysdeps/s390/s390-64/configure: Regenerated.
18222 * sysdeps/sh/configure: Regenerated.
18223 * sysdeps/sparc/configure: Regenerated.
18224 * sysdeps/unix/sysv/linux/configure: Regenerated.
18225 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18226 * sysdeps/x86_64/configure: Regenerated.
18227
18228 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18229 defined. Don't check if MAP is NULL.
18230
18231 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18232
18233 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18234 (_G_stat64): Likewise.
18235 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18236 (_G_stat64): Likewise.
18237 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18238 instead of struct _G_stat64.
18239 * libio/fileops.c (mmap_remap_check): Likewise.
18240 (decide_maybe_mmap): Likewise.
18241 (_IO_new_file_seekoff): Likewise.
18242 (_IO_file_stat): Likewise.
18243 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18244 _G_off64_t.
18245 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18246 instead of struct _G_stat64.
18247 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18248
18249 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18250
18251 [BZ #14602]
18252 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18253 Replace with ...
18254 (CHECK_EOL): New macro.
18255 (two_way_short_needle): Check beginning of haystack for EOL. Use
18256 CHECK_EOL.
18257 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18258 Replace with CHECK_EOL.
18259 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18260 Replace with CHECK_EOL.
18261
18262 2012-10-08 Joseph Myers <joseph@codesourcery.com>
18263
18264 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18265 type-generic.
18266 * math/libm-test.inc: Update comment listing what functions and
18267 macros are tested.
18268 (finite_test): New function.
18269 (isinf_test): Likewise.
18270 (isnan_test): Likewise.
18271 (fpclassify_test): Test subnormal input.
18272 (isfinite_test): Likewise.
18273 (isnormal_test): Likewise.
18274 (main): Call the new functions.
18275
18276 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18277
18278 [BZ #14660]
18279 * Makerules (%.dynsym): Force C locale when running
18280 $(OBJDUMP) --dynamic-syms.
18281
18282 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18283
18284 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18285 <stdint.h>.
18286
18287 2012-10-06 David S. Miller <davem@davemloft.net>
18288
18289 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18290 upper 32-bits of the length value in %o2 since we use branch-on-register
18291 tests which consider the entire 64-bit register.
18292
18293 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18294
18295 * string/test-strstr.c (check2): Add a test for page boundary.
18296
18297 2012-10-05 David S. Miller <davem@davemloft.net>
18298
18299 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18300 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18301 file.
18302 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18303 sysdep_routines.
18304 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18305 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18306 and bzero when HWCAP_SPARC_CRYPTO is present.
18307
18308 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18309
18310 [BZ #14602]
18311 * string/test-strstr.c (check2): New function.
18312 (test_main): Call check2.
18313
18314 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18315 and bug-strchr1.
18316 * string/bug-strcasestr1.c (do_test): Moved to ...
18317 * string/test-strcasestr.c (check1): Here. New function.
18318 (do_one_test): Break out result checking code into ...
18319 (check_result): This. New function.
18320 (do_one_test): Call check_result.
18321 (test_main): Call check1.
18322 * string/bug-strchr1.c (do_test): Moved to ...
18323 * string/test-strchr.c (check1): Here. New function.
18324 (do_one_test): Break out result checking code into ...
18325 (check_result): This. New function.
18326 (do_one_test): Call check_result.
18327 (test_main): Call check1.
18328 * string/bug-strstr1.c (main): Moved to ...
18329 * string/test-strstr.c (check1): Here. New function.
18330 (do_one_test): Break out result checking code into ...
18331 (check_result): This. New function.
18332 (do_one_test): Call check_result.
18333 (test_main): Call check1.
18334 * string/bug-strcasestr1.c: Removed.
18335 * string/bug-strchr1.c: Likewise.
18336 * string/bug-strstr1.c: Likewise.
18337
18338 * elf/Makefile (dl-routines): Add hwcaps.
18339 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18340 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18341 (_dl_important_hwcaps): Moved to ...
18342 * elf/dl-hwcaps.c: Here. New file.
18343 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18344
18345 [BZ #14557]
18346 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18347 if IS_IN_rtld isn't defined.
18348
18349 * elf/dl-support.c (_dl_sysinfo_map): New.
18350 Include "get-dynamic-info.h" and "setup-vdso.h".
18351 (_dl_non_dynamic_init): Call setup_vdso.
18352 * elf/dynamic-link.h: Don't include <assert.h>.
18353 (elf_get_dynamic_info): Moved to ...
18354 * elf/get-dynamic-info.h: Here. New file.
18355 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18356 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18357 * elf/setup-vdso.h: Here. New file.
18358 * elf/rtld.c: Include "setup-vdso.h".
18359 (dl_main): Call setup_vdso.
18360
18361 2012-10-05 Joseph Myers <joseph@codesourcery.com>
18362
18363 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18364 creal in comment listing functions tested. List finite, isinf,
18365 isnan, isless, islessequal, isgreater, isgreaterequal,
18366 islessgreater, isunordered, lgamma_r and pow10 as functions and
18367 macros not tested. Mention which functions not tested are aliases
18368 for other functions. Fix typo. Note that signs of NaNs are not
18369 tested.
18370
18371 * scripts/config.guess: Update from config.git.
18372 * scripts/config.sub: Likewise.
18373
18374 2012-10-04 Roland McGrath <roland@hack.frob.com>
18375
18376 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18377 * misc/madvise.c (madvise): Renamed to __madvise.
18378 Make madvise a weak alias.
18379 * include/sys/mman.h: Declare __madvise.
18380 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18381 * sysdeps/unix/syscalls.list
18382 (madvise): Make __madvise the strong name, and madvise a weak alias.
18383 * sysdeps/unix/sysv/linux/syscalls.list
18384 (madvise, mmap): Remove redundant entries.
18385 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18386 * malloc/malloc.c (mtrim): Likewise.
18387 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18388
18389 2012-10-03 Roland McGrath <roland@hack.frob.com>
18390
18391 * sysdeps/mach/hurd/dl-cache.c: File removed.
18392 * config.h.in (USE_LDCONFIG): New #undef.
18393 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18394 * configure: Regenerated.
18395 * elf/Makefile (dl-routines): Add dl-cache only under
18396 [$(use-ldconfig) = yes].
18397 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18398 cache on [USE_LDCONFIG].
18399 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18400 [USE_LDCONFIG].
18401 * elf/rtld.c (dl_main): Likewise.
18402
18403 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18404
18405 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18406 _SC_LEVEL4_CACHE_LINESIZE.
18407
18408 2012-10-03 Roland McGrath <roland@hack.frob.com>
18409
18410 * sysdeps/unix/bsd/confstr.h: File removed.
18411
18412 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
18413
18414 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18415 sys/sdt-config.h.
18416
18417 2012-10-02 Roland McGrath <roland@hack.frob.com>
18418
18419 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18420 Make 'mapoff' field ElfW(Off) rather than off_t.
18421
18422 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18423
18424 * nscd/Makefile: Remove nscd-cflags and all its users.
18425 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18426 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18427
18428 [BZ #10631]
18429 * malloc.c (malloc_printerr): Clarify error message.
18430
18431 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18432
18433 [BZ #14648]
18434 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18435 Set bit_FMA_Usable if FMA is supported.
18436 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18437 macro.
18438 (bit_FMA4_Usable): Updated.
18439 (index_FMA_Usable): New macro.
18440 (CPUID_FMA): Likewise
18441 (HAS_FMA): Defined with bit_FMA_Usable.
18442
18443 2012-10-01 Roland McGrath <roland@hack.frob.com>
18444
18445 * bits/types.h (__swblk_t): Type removed.
18446 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18447 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18448 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18449 (__SWBLK_T_TYPE): Likewise.
18450 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18451 (__SWBLK_T_TYPE): Likewise.
18452 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18453 (__SWBLK_T_TYPE): Likewise.
18454 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18455 (__SWBLK_T_TYPE): Likewise.
18456
18457 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
18458 Honza Horak <hhorak@redhat.com>
18459
18460 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18461 (xdr_mapname): Use YPMAXMAP as maxsize.
18462 (xdr_peername): Use YPMAXPEER as maxsize.
18463 (xdr_keydat): Use YPAXRECORD as maxsize.
18464 (xdr_valdat): Use YPMAXRECORD as maxsize.
18465
18466 2012-10-01 Roland McGrath <roland@hack.frob.com>
18467
18468 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18469
18470 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18471 * csu/init-first.c: ... here.
18472 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18473 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18474 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18475 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18476 * sysdeps/i386/init-first.c: File removed.
18477 * sysdeps/sh/init-first.c: File removed.
18478
18479 2012-10-01 Joseph Myers <joseph@codesourcery.com>
18480
18481 [BZ #14645]
18482 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18483 if x * y might underflow to zero and z is zero.
18484 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18485 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18486 * math/libm-test.inc (min_subnorm_value): New variable.
18487 (fma_test): Add more tests.
18488 (fma_test_towardzero): Likewise.
18489 (fma_test_downward): Likewise
18490 (fma_test_upward): Likewise.
18491 (initialize): Set min_subnorm_value.
18492
18493 2012-09-29 Joseph Myers <joseph@codesourcery.com>
18494
18495 [BZ #14638]
18496 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18497 0 + 0.
18498 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18499 mode for addition resulting in exact zero.
18500 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18501 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18502 exact 0 + 0.
18503 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18504 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18505 * math/libm-test.inc (fma_test): Add more tests.
18506 (fma_test_towardzero): New function.
18507 (fma_test_downward): Likewise.
18508 (fma_test_upward): Likewise.
18509 (main): Call the new functions.
18510
18511 2012-09-28 David S. Miller <davem@davemloft.net>
18512
18513 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18514
18515 2012-09-28 Roland McGrath <roland@hack.frob.com>
18516
18517 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18518 instead of SIGALRM.
18519
18520 * sysdeps/gnu/_G_config.h: Moved to ...
18521 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18522 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18523 * sysdeps/generic/_G_config.h: ... here.
18524
18525 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18526
18527 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18528
18529 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18530 Conditionalize target on [libnss_test1.so-version].
18531
18532 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18533
18534 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18535 (elfobjdir): Move out of conditionals.
18536
18537 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18538 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18539 (__nss_lookup_function): Conditionalize label remove_from_tree on
18540 [!DO_STATIC_NSS || SHARED], matching its only use.
18541
18542 2012-09-28 David S. Miller <davem@davemloft.net>
18543
18544 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18545 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18546 file.
18547 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18548 sysdep_routines.
18549 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18550 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18551 when HWCAP_SPARC_CRYPTO is present.
18552
18553 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18554
18555 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18556
18557 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18558
18559 [BZ #6530]
18560 * stdio-common/vfprintf.c (process_string_arg): Revert
18561 2000-07-22 change.
18562
18563 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18564
18565 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18566 for testcase.
18567 * stdio-common/tst-sprintf.c: Include <locale.h>
18568 (main): Test sprintf's handling of incomplete multibyte
18569 characters.
18570
18571 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18572
18573 * elf/dl-runtime.c (VERSYMIDX): Removed.
18574 * elf/dl-version.c (VERSYMIDX): Likewise.
18575 * elf/do-rel.h (VERSYMIDX): Likewise.
18576 (VALIDX): Likewise.
18577 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18578 * elf/rtld.c (VALIDX): Likewise.
18579 (ADDRIDX): Likewise.
18580 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18581 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18582 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18583 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18584 (VALIDX): Likewise.
18585 (ADDRIDX): Likewise.
18586
18587 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18588
18589 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18590
18591 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18592
18593 [BZ #11438]
18594 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18595 to global scope.
18596 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18597 addresses are in the same scope as 192.0.2/24.
18598 * posix/gai.conf: Document new scope table defaults.
18599
18600 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18601
18602 [BZ #5298]
18603 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18604 for ftell. Compute offsets from write pointers instead.
18605 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18606
18607 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18608
18609 [BZ #14543]
18610 * libio/Makefile (tests): New test case tst-fseek.
18611 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18612 combination works in wide mode.
18613 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18614 state when the external buffer state changes.
18615
18616 2012-09-27 David S. Miller <davem@davemloft.net>
18617
18618 [BZ #14376]
18619 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18620 pass reloc->r_addend in as the 'high' argument to
18621 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18622
18623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18624
18625 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18626
18627 * rt/tst-aio2.c: Include <pthread.h>.
18628 * rt/tst-aio3.c: Likewise.
18629
18630 2012-09-27 Steve Ellcey <sellcey@mips.com>
18631
18632 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18633
18634 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18635
18636 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18637 contents on [SHARED].
18638
18639 2012-09-26 Marek Polacek <polacek@redhat.com>
18640
18641 [BZ #14530]
18642 [BZ #13741]
18643 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18644 for C++ and GCC <4.3 as well as for non GCC compilers.
18645
18646 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18647
18648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18649
18650 2012-09-25 Roland McGrath <roland@hack.frob.com>
18651
18652 * Makefile.in (all, install): Declare with .PHONY.
18653 Reported by Michael Hope <michael.hope@linaro.org>.
18654
18655 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18656
18657 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18658 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18659 system header.
18660 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18661 Likewise.
18662 (sydep_routines): Add the new and the internal functions.
18663 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18664 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18666 (GLIBC_2.17): Add the new function.
18667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18668 (GLIBC_2.17): Likewise.
18669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18670 (GLIBC_2.17): Likewise.
18671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18672 (GLIBC_2.17): Likewise.
18673 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18674
18675 2012-09-25 Alan Modra <amodra@gmail.com>
18676
18677 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18678 Add release barrier before setting once_control to say
18679 initialisation is done. Add hints on lwarx. Use macro in
18680 place of isync.
18681 (clear_once_control): Add release barrier.
18682
18683 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18684
18685 [BZ #13629]
18686 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18687 specially.
18688 * math/s_clog10.c (__clog10): Likewise.
18689 * math/s_clog10f.c (__clog10f): Likewise.
18690 * math/s_clog10l.c (__clog10l): Likewise.
18691 * math/s_clogf.c (__clogf): Likewise.
18692 * math/s_clogl.c (__clogl): Likewise.
18693 * math/Makefile (libm-calls): Add x2y2m1.
18694 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18695 (__x2y2m1): Likewise.
18696 (__x2y2m1l): Likewise.
18697 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18698 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18699 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18700 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18701 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18702 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18703 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18704 * sysdeps/i386/fpu/libm-test-ulps: Update.
18705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18706
18707 [BZ #14621]
18708 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18709 int as type of variable DEPTH.
18710 (glob): Use size_t instead of int as type of variables NEWCOUNT
18711 and OLD_PATHC.
18712
18713 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18714
18715 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18716 Add s_sincosf-sse2.
18717 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18718 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18719 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18720 macros for using routine as __sincosf_ia32.
18721 Use macro for function declaration and weak_alias.
18722 * sysdeps/i386/fpu/libm-test-ulps: Update.
18723
18724 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18725 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18726
18727 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18728 subnormal argument.
18729 * math/s_cexpf.c (__cexpf): Likewise.
18730 * math/s_csinf.c (__csinf): Likewise.
18731 * math/s_csinhf.c (__csinhf): Likewise.
18732 * math/s_ctanf.c (__ctanf): Likewise.
18733 * math/s_ctanhf.c (__ctanhf): Likewise.
18734 * math/s_ccosh.c (__ccoshf): Likewise.
18735 * math/s_cexp.c (__cexpl): Likewise.
18736 * math/s_csin.c (__csin): Likewise.
18737 * math/s_csinh.c (__csinh): Likewise.
18738 * math/s_ctan.c (__ctan): Likewise.
18739 * math/s_ctanh.c (ctanh): Likewise.
18740 * math/s_ccoshl.c (__ccoshl): Likewise.
18741 * math/s_cexpl.c (__cexpl): Likewise.
18742 * math/s_csinl.c (__csinl): Likewise.
18743 * math/s_csinhl.c (__csinhl): Likewise.
18744 * math/s_ctanl.c (__ctanl): Likewise.
18745 * math/s_ctanhl.c (__ctanhl): Likewise.
18746
18747 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18748
18749 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18750 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18751 (_IO_off_t): Define to __off_t, not _G_off_t.
18752 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18753 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18754 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18755 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18756 type of __dummy and __dummy2 fields.
18757 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18758 (_G_ssize_t): Likewise.
18759 (_G_off_t): Likewise.
18760 (_G_pid_t): Likewise.
18761 (_G_uid_t): Likewise.
18762 (_G_wchar_t): Likewise.
18763 (_G_wint_t): Likewise.
18764 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18765 (_G_ssize_t): Likewise.
18766 (_G_off_t): Likewise.
18767 (_G_pid_t): Likewise.
18768 (_G_uid_t): Likewise.
18769 (_G_wchar_t): Likewise.
18770 (_G_wint_t): Likewise.
18771 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18772 (_G_ssize_t): Likewise.
18773 (_G_off_t): Likewise.
18774 (_G_pid_t): Likewise.
18775 (_G_uid_t): Likewise.
18776 (_G_wchar_t): Likewise.
18777 (_G_wint_t): Likewise.
18778
18779 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18780
18781 * malloc/arena.c: Include malloc-sysdep.h.
18782 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18783 is sufficient to shrink the heap or an unmap is needed.
18784 * sysdeps/generic/malloc-sysdep.h: New file. Define
18785 new function check_may_shrink_heap.
18786 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18787 new function check_may_shrink_heap.
18788
18789 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18790
18791 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18792 comments.
18793
18794 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18795
18796 * catgets/test-gencat.sh: Add "set -e".
18797 * elf/tst-pathopt.sh: Likewise.
18798 * grp/tst_fgetgrent.sh: Likewise.
18799 * iconvdata/run-iconv-test.sh: Likewise.
18800 * intl/tst-gettext.sh: Likewise.
18801 * intl/tst-gettext2.sh: Likewise.
18802 * intl/tst-gettext4.sh: Likewise.
18803 * intl/tst-gettext6.sh: Likewise.
18804 * intl/tst-translit.sh: Likewise.
18805 * io/ftwtest-sh: Likewise.
18806 * libio/test-freopen.sh: Likewise.
18807 * malloc/tst-mtrace.sh: Likewise.
18808 * posix/globtest.sh: Likewise.
18809 * posix/tst-getconf.sh: Likewise.
18810 * posix/wordexp-tst.sh: Likewise.
18811 * stdio-common/tst-printf.sh: Likewise.
18812 * stdio-common/tst-unbputc.sh: Likewise.
18813 * stdlib/tst-fmtmsg.sh: Likewise.
18814 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18815 * catgets/Makefile: Do not specify -e option when running
18816 testsuite shell scripts.
18817 * elf/Makefile: Likewise.
18818 * grp/Makefile: Likewise.
18819 * iconvdata/Makefile: Likewise.
18820 * intl/Makefile: Likewise.
18821 * io/Makefile: Likewise.
18822 * libio/Makefile: Likewise.
18823 * malloc/Makefile: Likewise.
18824 * posix/Makefile: Likewise.
18825 * stdio-common/Makefile: Likewise.
18826 * stdlib/Makefile: Likewise.
18827 * sysdeps/x86_64/Makefile: Likewise.
18828
18829 * io/ftwtest-sh: Add copyright header.
18830 * posix/globtest.sh: Likewise.
18831 * posix/tst-getconf.sh: Likewise.
18832 * posix/wordexp-tst.sh: Likewise.
18833 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18834
18835 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18836
18837 [BZ #13679]
18838 * Makeconfig (+link): Defined as $(+link-static) if
18839 $(build-shared) isn't yes.
18840 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18841 isn't yes.
18842 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18843
18844 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18845
18846 [BZ #14562]
18847 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18848 new chunk size with MALLOC_ALIGN_MASK.
18849
18850 2012-09-24 Joseph Myers <joseph@codesourcery.com>
18851
18852 [BZ #5044]
18853 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18854 <rounding-mode.h>.
18855 (__printf_fphex): Determine rounding using get_rounding_mode and
18856 round_away.
18857 * stdio-common/tst-printf-round.c (struct hex_test): New
18858 structure.
18859 (hex_tests): New variable.
18860 (test_hex_in_one_mode): New function.
18861 (do_test): Also run tests for hex float output.
18862
18863 2012-09-21 Joseph Myers <joseph@codesourcery.com>
18864
18865 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18866 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18867 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18868 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18869 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18870 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18871 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18872 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18873
18874 2012-09-20 Joseph Myers <joseph@codesourcery.com>
18875
18876 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18877 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18878 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18879 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18880
18881 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18882
18883 [BZ #14579]
18884 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18885 mode only.
18886 * elf/tst-rtld-load-self.sh: New test.
18887 * elf/Makefile: Run it.
18888
18889 2012-09-18 Joseph Myers <joseph@codesourcery.com>
18890
18891 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18892 (tst-writev-ENV): Remove.
18893 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18894
18895 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18896
18897 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18898
18899 2012-09-17 Joseph Myers <joseph@codesourcery.com>
18900
18901 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18902 unconditional.
18903 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18904 Likewise.
18905 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18906 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18907 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18908 Likewise.
18909
18910 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18911
18912 [BZ #14587]
18913 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18914 * config.make.in (have-cpp-asm-debuginfo): Removed.
18915 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18916 * configure: Regenerated.
18917
18918 2012-09-14 Joseph Myers <joseph@codesourcery.com>
18919
18920 [BZ #5044]
18921 * stdio-common/printf_fp.c: Include <stdbool.h> and
18922 <rounding-mode.h>.
18923 (___printf_fp): Determine rounding using get_rounding_mode and
18924 round_away.
18925 * stdio-common/tst-printf-round.c: New file.
18926 * stdio-common/Makefile (tests): Add tst-printf-round.
18927 (link-libm): New variable.
18928 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18929
18930 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18931
18932 [BZ #14576]
18933 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18934 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18935 Likewise.
18936 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18937 Likewise.
18938
18939 2012-09-13 Joseph Myers <joseph@codesourcery.com>
18940
18941 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18942 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18943 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18944 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18945
18946 2012-09-12 Joseph Myers <joseph@codesourcery.com>
18947
18948 [BZ #14518]
18949 * include/rounding-mode.h: New file.
18950 * sysdeps/generic/get-rounding-mode.h: Likewise.
18951 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18952 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18953 (MAX_VALUE): New macro.
18954 (MIN_VALUE): Likewise.
18955 (overflow_value): New function.
18956 (underflow_value): Likewise.
18957 (round_and_return): Use overflow_value and underflow_value to
18958 determine return values in overflow and underflow cases. Use
18959 round_away to determine rounding depending on rounding mode.
18960 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18961 determine return values in overflow and underflow cases.
18962 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18963 (struct test_results): New structure.
18964 (struct test): Use struct test_results to store expected results
18965 for all rounding modes.
18966 (TEST): Include expected results for all rounding modes.
18967 (test_in_one_mode): New function.
18968 (do_test): Use test_in_one_mode to compute and check results.
18969 Check results for all rounding modes.
18970 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18971 $(link-libm).
18972
18973 2012-12-09 Allan McRae <allan@archlinux.org>
18974
18975 * sysdeps/i386/fpu/libm-test-ulps: Update
18976
18977 2012-09-11 Joseph Myers <joseph@codesourcery.com>
18978
18979 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18980 (_G_int32_t): Likewise.
18981 (_G_uint16_t): Likewise.
18982 (_G_uint32_t): Likewise.
18983 (_G_HAVE_BOOL): Likewise.
18984 (_G_HAVE_ATEXIT): Likewise.
18985 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18986 (_G_HAVE_IO_FILE_OPEN): Likewise.
18987 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18988 (_G_int32_t): Likewise.
18989 (_G_uint16_t): Likewise.
18990 (_G_uint32_t): Likewise.
18991 (_G_HAVE_BOOL): Likewise.
18992 (_G_HAVE_ATEXIT): Likewise.
18993 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18994 (_G_HAVE_IO_FILE_OPEN): Likewise.
18995 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18996 (_G_int32_t): Likewise.
18997 (_G_uint16_t): Likewise.
18998 (_G_uint32_t): Likewise.
18999 (_G_HAVE_BOOL): Likewise.
19000 (_G_HAVE_ATEXIT): Likewise.
19001 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19002 (_G_HAVE_IO_FILE_OPEN): Likewise.
19003
19004 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19005
19006 * csu/libc-tls.c: Update copyright years.
19007
19008 2012-09-10 Joseph Myers <joseph@codesourcery.com>
19009
19010 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19011 [!_G_USING_THUNKS]: Remove conditional code.
19012 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19013 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19014
19015 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19016 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19017 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19018 (_G_VTABLE_LABEL_PREFIX): Likewise.
19019 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19020 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19021 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19022 (_G_VTABLE_LABEL_PREFIX): Likewise.
19023 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19024 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19025 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19026 (_G_VTABLE_LABEL_PREFIX): Likewise.
19027 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19028
19029 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19030
19031 * libio/Makefile: Include ../Makeconfig before tests.
19032 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19033 only if $(build-shared) is yes.
19034
19035 * iconv/gconv_db.c: Update copyright years.
19036
19037 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19038
19039 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19040 unwind info if defined PIC. Fix special cases description.
19041 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19042
19043 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19044 DP_HI_MASK entry.
19045 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19046
19047 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19048
19049 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19050
19051 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19052 is NULL.
19053
19054 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19055 (LDLIBS-tst-chk4): This.
19056 (LDFLAGS-tst-chk5): Renamed to ...
19057 (LDLIBS-tst-chk5): This.
19058 (LDFLAGS-tst-chk6): Renamed to ...
19059 (LDLIBS-tst-chk6): This.
19060 (LDFLAGS-tst-lfschk4): Renamed to ...
19061 (LDLIBS-tst-lfschk4): This.
19062 (LDFLAGS-tst-lfschk5): Renamed to ...
19063 (LDLIBS-tst-lfschk5): This.
19064 (LDFLAGS-tst-lfschk6): Renamed to ...
19065 (LDLIBS-tst-lfschk6): This.
19066
19067 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19068 on $(common-objpfx)soversions.mk.
19069
19070 2012-09-07 Joseph Myers <joseph@codesourcery.com>
19071
19072 [BZ #10014]
19073 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19074 example host name.
19075
19076 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19077
19078 * malloc/arena.c (arena_get_retry): New function that gets
19079 another arena for the caller to try its request on.
19080 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19081 current arena cannot fulfill the request.
19082 (__libc_memalign): Likewise.
19083 (__libc_memalign): Likewise.
19084 (__libc_pvalloc): Likewise.
19085 (__libc_calloc): Likewise.
19086
19087 2012-09-05 John Tobey <john.tobey@gmail.com>
19088
19089 [BZ #13542]
19090 * manual/arith.texi (Operations on Complex): Fix description
19091 of carg branch cut.
19092
19093 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19094
19095 [BZ #10014]
19096 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19097 host name.
19098
19099 [BZ #10038]
19100 * manual/memory.texi (Memory): Make order of menu items match
19101 order of sections.
19102
19103 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19104
19105 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19106 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19107 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19108
19109 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19110
19111 * csu/libc-tls.c (static_dtv): Renamed to ...
19112 (_dl_static_dtv): This. Make it global.
19113 (_dl_initial_dtv): Removed.
19114 (__libc_setup_tls): Updated.
19115 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19116 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19117 DL_INITIAL_DTV.
19118
19119 2012-09-06 Petr Machata <pmachata@redhat.com>
19120
19121 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19122 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19123 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19124 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19125
19126 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19127
19128 [BZ #14545]
19129 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19130 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19131 freeing dtv[-1].
19132
19133 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19134
19135 [BZ #14544]
19136 * Makeconfig (link-static-before-libc): Replace $(+prector)
19137 with $(+prectorT).
19138 (link-static-after-libc): Replace $(+postctor) with
19139 $(+postctorT).
19140 (link-bounded): Replace $(+prector)/$(+postctor) with
19141 $(+prectorT)/$(+postctorT).
19142 (+prectorT): New macro.
19143 (+postctorT): Likewise.
19144
19145 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19146
19147 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19148 (round_str): Handle values above the maximum for IBM long double
19149 as inexact.
19150 * stdlib/tst-strtod-round.c (tests): Regenerated.
19151
19152 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19153
19154 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19155 assembler flag.
19156 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19157 zarch_nohighgprs around the zarch optimized routines.
19158 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19159 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19160 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19161 for zarch.
19162
19163 2012-09-05 David S. Miller <davem@davemloft.net>
19164
19165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19166
19167 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19168 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19169 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19170 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19171 entries.
19172
19173 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19174
19175 * malloc/arena.c: Fold copyright years.
19176 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19177
19178 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19179
19180 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19181
19182 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19183
19184 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19185
19186 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19187
19188 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19189 change internal state upon failure.
19190
19191 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19192
19193 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19194 * malloc/memusage.c (mmap): Likewise.
19195 (mmap64, mremap): Likewise. Adjust name in comment.
19196
19197 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19198
19199 * libio/fileops.c: Fix typos in comments.
19200 * libio/oldfileops.c: Likewise.
19201 * libio/wfileops.c: Likewise.
19202
19203 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19204
19205 [BZ #1349]
19206 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19207 (tst-malloc-usable-ENV): Set environment for test case.
19208 * malloc/hooks.c (malloc_check_get_size): New function to get
19209 requested size.
19210 * malloc/malloc.c (musable): Use malloc_check_get_size.
19211 * malloc/tst-malloc-usable.c: New test case.
19212
19213 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19214
19215 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19216
19217 2012-09-05 Allan McRae <allan@archlinux.org>
19218
19219 [BZ #13966]
19220 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19221 determine header location.
19222 * configure: Regenerated.
19223
19224 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19225
19226 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19227 float format.
19228 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19229 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19230 format.
19231 (test): Regenerate.
19232
19233 2012-09-04 David S. Miller <davem@davemloft.net>
19234
19235 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19236 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19237 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19238
19239 2012-09-04 Florian Weimer <fweimer@redhat.com>
19240
19241 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19242 failures.
19243
19244 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19245
19246 2012-09-04 Joseph Myers <joseph@codesourcery.com>
19247
19248 [BZ #9914]
19249 * libio/iogetdelim.c: Include <limits.h>.
19250 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19251 + len + 1 would overflow.
19252
19253 2012-09-03 Andreas Jaeger <aj@suse.de>
19254
19255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19256 * sysdeps/i386/fpu/libm-test-ulps: Update.
19257
19258 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19259
19260 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19261 Add s_sinf-sse2, s_conf-sse2.
19262
19263 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19264 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19265 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19266 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19267
19268 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19269 for using routine as __sinf_ia32.
19270 Use macro for function declaration and weak_alias.
19271 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19272 for using routine as __cosf_ia32.
19273 Use macro for function declaration and weak_alias.
19274
19275 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19276 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19277
19278 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19279 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19280 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19281
19282 * math/libm-test.inc (cos_test): Add more test cases.
19283 (sin_test): Likewise.
19284 (sincos_test): Likewise.
19285
19286 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19287
19288 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19289 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19290 hidden.
19291 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19292
19293 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19294
19295 [BZ #14538]
19296 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19297 first element of the GOT.
19298 (elf_machine_load_address): Return the difference between
19299 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19300
19301 2012-09-01 Allan McRae <allan@archlinux.org>
19302
19303 [BZ #13412]
19304 * configure.in (AWK): Require gawk version 3.0 or later.
19305 * configure: Regenerated.
19306
19307 2012-09-01 Joseph Myers <joseph@codesourcery.com>
19308
19309 * sysdeps/unix/sysv/linux/kernel-features.h
19310 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19311 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19312 [__NR_clock_getres]: Make code unconditional.
19313 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19314 (clock_getcpuclockid): Remove code left unreachable by removal of
19315 conditionals.
19316 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19317 code unconditional.
19318 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19319 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19320 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19321 Make code unconditional.
19322 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19323 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19324 * sysdeps/unix/sysv/linux/clock_settime.c
19325 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19326 conditional code.
19327 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19328 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19329
19330 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19331
19332 [BZ #14476]
19333 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19334 scripts/test-installation.pl.
19335
19336 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19337 and $ld_so_version if it is set.
19338
19339 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19340
19341 [BZ #14516]
19342 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19343 failure if reading from procfs failed.
19344 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19345
19346 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19347
19348 * sysdeps/unix/sysv/linux/kernel-features.h
19349 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19350 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19351 Remove conditional code.
19352 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19353 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19354 Remove conditional code.
19355 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19356 * sysdeps/unix/sysv/linux/i386/fxstat.c
19357 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19358 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19359 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19360 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19361 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19362 * sysdeps/unix/sysv/linux/i386/lxstat.c
19363 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19364 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19365 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19366 Remove conditional code.
19367 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19368 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19369 Remove conditional code.
19370 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19371 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19372 <kernel-features.h>.
19373 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19374 Remove.
19375 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19376 Remove conditional code.
19377 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19378 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19379 Remove conditional.
19380
19381 2012-08-27 Mike Frysinger <vapier@gentoo.org>
19382
19383 [BZ #5400]
19384 * NEWS: Add fixed bug number.
19385
19386 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19387
19388 [BZ #14519]
19389 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19390 underflowing exponent in case of negative sign.
19391 * stdlib/tst-strtod-round-data: Add more tests.
19392 * stdlib/tst-strtod-round.c (tests): Regenerated.
19393
19394 [BZ #3479]
19395 * stdlib/strtod_l.c (NDIG): Remove.
19396 (HEXNDIG): Likewise.
19397 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19398 smallest representable value.
19399 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19400 lie within an exact representation of 1/2 ulp of the result.
19401 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19402 unconditionally.
19403 (TENS_P9_IDX): Define unconditionally.
19404 (TENS_P9_SIZE): Likewise.
19405 (TENS_P10_IDX): Likewise.
19406 (TENS_P10_SIZE): Likewise.
19407 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19408 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19409 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19410 entries for 10^2^13 and 10^2^14.
19411 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19412 (TENS_P13_IDX): Define.
19413 (TENS_P13_SIZE): Likewise.
19414 (TENS_P14_IDX): Likewise.
19415 (TENS_P14_SIZE): Likewise.
19416 (_fpioconst_pow10): Change array size to
19417 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19418 unconditional.
19419 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19420 1024]: Add entries for 10^2^13 and 10^2^14.
19421 [LAST_POW10 > _LAST_POW10]: Remove #error.
19422 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19423 (_fpioconst_pow10): Change array size to
19424 FPIOCONST_POW10_ARRAY_SIZE.
19425 * stdlib/gen-fpioconst.c: New file.
19426 * stdlib/gen-tst-strtod-round.c: Likewise.
19427 * stdlib/tst-strtod-round-data: Likewise.
19428 * stdlib/tst-strtod-round.c: Likewise.
19429 * stdlib/Makefile (tests): Add tst-strtod-round.
19430
19431 [BZ #14459]
19432 * stdlib/strtod_l.c: Include <stdint.h>.
19433 (NDEBUG): Do not define.
19434 (round_and_return): Change EXPONENT parameter to type intmax_t.
19435 Rearrange calculations to avoid internal overflow possibilities.
19436 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19437 Rearrange calculations to avoid internal overflow possibilities.
19438 Assert that number fits inside MPNSIZE limbs.
19439 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19440 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19441 calculations and add assertions to avoid internal overflow
19442 possibilities. Add casts to avoid signed/unsigned operations.
19443 * stdlib/tst-strtod-overflow.c: New file.
19444 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19445
19446 2012-08-25 Marek Polacek <polacek@redhat.com>
19447
19448 * time/time.h: Fix some typos in comments.
19449
19450 2012-08-23 Roland McGrath <roland@hack.frob.com>
19451
19452 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19453 * posix/tst-rfc3484-2.c: Likewise.
19454 * posix/tst-rfc3484-3.c: Likewise.
19455
19456 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19457
19458 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19459 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19460
19461 2012-08-23 Joseph Myers <joseph@codesourcery.com>
19462
19463 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19464 #include of fxstatat64.c.
19465
19466 2012-08-22 Roland McGrath <roland@hack.frob.com>
19467
19468 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19469 * shadow/getspent_r.c: Likewise.
19470 * shadow/getspnam.c: Likewise.
19471 * shadow/getspnam_r.c: Likewise.
19472 * gshadow/getsgent.c: Likewise.
19473 * gshadow/getsgent_r.c: Likewise.
19474 * gshadow/getsgnam.c: Likewise.
19475 * gshadow/getsgnam_r.c: Likewise.
19476 * inet/getnetbyad.c: Likewise.
19477 * inet/getnetbyad_r.c: Likewise.
19478 * inet/getnetbynm.c: Likewise.
19479 * inet/getnetbynm_r.c: Likewise.
19480 * inet/getnetent.c: Likewise.
19481 * inet/getnetent_r.c: Likewise.
19482 * inet/getproto.c: Likewise.
19483 * inet/getproto_r.c: Likewise.
19484 * inet/getprtent.c: Likewise.
19485 * inet/getprtent_r.c: Likewise.
19486 * inet/getprtname.c: Likewise.
19487 * inet/getprtname_r.c: Likewise.
19488 * inet/getrpcbyname.c: Likewise.
19489 * inet/getrpcbyname_r.c: Likewise.
19490 * inet/getrpcbynumber.c: Likewise.
19491 * inet/getrpcbynumber_r.c: Likewise.
19492 * inet/getrpcent.c: Likewise.
19493 * inet/getrpcent_r.c: Likewise.
19494 * inet/getaliasent.c: Likewise.
19495 * inet/getaliasent_r.c: Likewise.
19496 * inet/getaliasname.c: Likewise.
19497 * inet/getaliasname_r.c: Likewise.
19498 * nscd/getgrgid_r.c: Likewise.
19499 * nscd/getgrnam_r.c: Likewise.
19500 * nscd/gethstbyad_r.c: Likewise.
19501 * nscd/gethstbynm3_r.c: Likewise.
19502 * nscd/getpwnam_r.c: Likewise.
19503 * nscd/getpwuid_r.c: Likewise.
19504 * nscd/getsrvbynm_r.c: Likewise.
19505 * nscd/getsrvbypt_r.c: Likewise.
19506 * nscd/gai.c: Likewise.
19507
19508 * configure.in (build_nscd): New substituted variable, set
19509 by --disable-build-nscd and defaults to $use_nscd.
19510 * configure: Regenerated.
19511 * config.make.in (build-nscd): New substituted variable.
19512 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19513 Change conditional to require [$(build-nscd) = yes] as well.
19514 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19515
19516 [BZ# 13696]
19517 * configure.in (use_nscd): New substituted variable, set by
19518 --disable-nscd. If enabled, define USE_NSCD.
19519 * configure: Regenerated.
19520 * config.h.in: Add USE_NSCD.
19521 * config.make.in (use-nscd): New substituted variable.
19522 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19523 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19524 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19525 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19526 (CFLAGS-getgrnam_r.c): Likewise.
19527 (CFLAGS-initgroups.c): Likewise.
19528 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19529 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19530 Variables removed.
19531 * inet/getnetgrent_r.c
19532 (nscd_setnetgrent): New function, broken out of ...
19533 (setnetgrent): ... here. Call it.
19534 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19535 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19536 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19537 * nscd/Makefile (routines, aux): Move definitions after include of
19538 Makeconfig. Conditionalize on [$(use-nscd) != no].
19539 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19540 Conditionalize on [USE_NSCD].
19541 (is_nscd, nscd_init_cb): Likewise.
19542 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19543 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19544 * nss/nss_db/db-init.c: Likewise.
19545 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19546 [USE_NSCD].
19547 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19548 (make_request): Use it.
19549 (cache_valid_p): New function.
19550 (__check_pf): Use it.
19551 * NEWS: Add item for --disable-nscd.
19552
19553 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19554
19555 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19556 to support sed >= 4.2.1-20-ga9bf076.
19557 * configure: Regenerated.
19558
19559 2012-08-22 Roland McGrath <roland@hack.frob.com>
19560
19561 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19562 Conditionalize whole body on [IREL].
19563
19564 2012-08-22 Jeff Law <law@redhat.com>
19565
19566 [BZ #14505]
19567 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19568 if the family is PF_UNSPEC.
19569
19570 2012-08-22 Mike Frysinger <vapier@gentoo.org>
19571
19572 * Makerules (lib-version): Rename from V.
19573 (install-lib-nosubdir): Change V to lib-version.
19574
19575 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19576
19577 [BZ #14252]
19578 * powerpc32/power6/wcschr.c: New file.
19579 * powerpc32/power6/wcscpy.c: New file.
19580 * powerpc32/power6/wcsrchr.c: New file.
19581 * powerpc64/power6/wcschr.c: New file.
19582 * powerpc64/power6/wcscpy.c: New file.
19583 * powerpc64/power6/wcsrchr.c: New file.
19584
19585 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19586
19587 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19588 (two_way_short_needle): Use it.
19589 * string/strstr.c (AVAILABLE1_USES_J): Define.
19590 * string/strcasestr.c: Likewise.
19591
19592 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19593 array references.
19594 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19595
19596 [BZ #11607]
19597 * NEWS: Add an entry.
19598 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19599 define their defaults.
19600 (two_way_short_needle): Detect end-of-string on-the-fly.
19601 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19602 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19603 * string/bug-strcasestr1.c: New test.
19604 * string/Makefile: Run it.
19605
19606 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19607
19608 [BZ #11607]
19609 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19610 the first character.
19611
19612 2012-08-21 Roland McGrath <roland@hack.frob.com>
19613
19614 * csu/elf-init.c (__libc_csu_irel): Function removed.
19615 * csu/libc-start.c (apply_irel): New function.
19616 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19617
19618 2012-08-21 Joseph Myers <joseph@codesourcery.com>
19619
19620 * sysdeps/unix/sysv/linux/kernel-features.h
19621 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19622 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19623 <kernel-features.h>.
19624 [__NR_fadvise64_64]: Make code unconditional.
19625 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19626 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19627 !__NR_fadvise64_64)]: Likewise.
19628 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19629 !__NR_fadvise64_64))]: Likewise.
19630 [__NR_fadvise64]: Make code unconditional.
19631 [!__NR_fadvise64]: Remove conditional code.
19632 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19633 <kernel-features.h>.
19634 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19635 unconditional.
19636 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19637 conditional code.
19638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19639 not include <kernel-features.h>.
19640 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19641 unconditional.
19642 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19643 conditional code.
19644 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19645 include <kernel-features.h>.
19646 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19647 unconditional.
19648 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19649 conditional code.
19650
19651 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19652
19653 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19654 slight instruction rearrangements per scrollpipe analysis.
19655 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19656
19657 2012-08-20 Roland McGrath <roland@hack.frob.com>
19658
19659 * manual/syslog.texi (syslog; vsyslog, closelog):
19660 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19661 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19662
19663 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19664 DSOCAPS to match condition on defining it.
19665
19666 2012-08-20 Joseph Myers <joseph@codesourcery.com>
19667
19668 * sysdeps/unix/sysv/linux/kernel-features.h
19669 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19671 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19672 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19674 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19675 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19677 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19678 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19679
19680 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19681 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19682
19683 * sysdeps/unix/sysv/linux/kernel-features.h
19684 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19685 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19686 unconditional.
19687 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19688 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19689 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19690 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19691 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19692 Make code unconditional.
19693 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19694 (__mmap64) [!__NR_mmap2]: Likewise.
19695 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19696 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19697 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19698 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19699 [__NR_mmap2]: Make code unconditional.
19700 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19701 (__mmap64) [!__NR_mmap2]: Likewise.
19702
19703 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19704
19705 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19706
19707 2012-08-18 Andreas Jaeger <aj@suse.de>
19708
19709 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19710
19711 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19712
19713 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19714 * include/unistd.h (__have_sock_cloexec): Likewise.
19715 (__have_pipe2): Likewise.
19716 (__have_dup3): Likewise.
19717
19718 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19719
19720 [BZ #9685]
19721 * include/unistd.h (__have_pipe2): Change define into an extern int.
19722 (__have_dup3): Likewise.
19723 * socket/have_sock_cloexec.c: Include fcntl.h.
19724 (__have_pipe2): New variable.
19725 (__have_dup3): Likewise.
19726
19727 2012-08-17 Mike Frysinger <vapier@gentoo.org>
19728
19729 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19730
19731 2012-08-17 Marek Polacek <polacek@redhat.com>
19732
19733 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19734 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19735
19736 2012-08-17 Roland McGrath <roland@hack.frob.com>
19737
19738 * configure.in: Add AC_SUBST for sysheaders.
19739 * configure: Regenerated.
19740 * config.make.in (sysheaders): New substituted variable.
19741
19742 * sysdeps/unix/mkfifo.c: Moved ...
19743 * sysdeps/posix/mkfifo.c: ... here.
19744 * sysdeps/unix/mkfifoat.c: Moved ...
19745 * sysdeps/posix/mkfifoat.c: ... here.
19746
19747 * sysdeps/unix/utime.c: Moved ...
19748 * sysdeps/posix/utime.c: ... here.
19749
19750 * sysdeps/unix/time.c: Moved ...
19751 * sysdeps/posix/time.c: ... here.
19752 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19753 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19754
19755 * sysdeps/unix/nice.c: Moved ...
19756 * sysdeps/posix/nice.c: ... here.
19757
19758 * sysdeps/unix/alarm.c: Moved ...
19759 * sysdeps/posix/alarm.c: ... here.
19760
19761 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19762
19763 2012-08-17 Jeff Law <law@redhat.com>
19764
19765 * intl/Makefile (codeset_mo): New variable.
19766 ($(codeset_mo)): New target.
19767 (tst-codeset.out): Depend on that. Remove explicit rule.
19768 (tst-gettext3.out, tst-gettext5.out): Likewise.
19769 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19770 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19771 * intl/tst-codeset.sh: Remove.
19772 * intl/tst-gettext3.sh: Likewise.
19773 * intl/tst-gettext5.sh: Likewise.
19774
19775 2012-08-17 Roland McGrath <roland@hack.frob.com>
19776
19777 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19778 * sysdeps/unix/syscalls.list: ... here.
19779
19780 * sysdeps/posix/getaddrinfo.c
19781 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19782 (gaiconf_init, gaiconf_reload): Use them.
19783 [!_STATBUF_ST_NSEC]
19784 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19785 Define using time_t rather than struct timespec.
19786
19787 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19788 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19789 Macros removed.
19790 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19791 [!NO_THREADS].
19792 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19793 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19794 Likewise.
19795
19796 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19797 __libc_cleanup_push argument.
19798
19799 * bits/param.h: New file.
19800 * misc/sys/param.h: New file.
19801 * include/sys/param.h: New file.
19802 * misc/Makefile (headers): Add bits/param.h.
19803 * sysdeps/generic/sys/param.h: File removed.
19804 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19805 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19806 * sysdeps/mach/hurd/bits/param.h: New file.
19807 * sysdeps/mach/hurd/sys/param.h: File removed.
19808
19809 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19810 last change.
19811
19812 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19813 [_IO_MTSAFE_IO].
19814 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19815 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19816 New macros.
19817
19818 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19819 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19820 rather than -D_IO_MTSAFE_IO conditionally.
19821 * stdio-common/Makefile (CPPFLAGS): Likewise.
19822 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19823 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19824 Use $(libio-mtsafe).
19825 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19826 of -D_IO_MTSAFE_IO.
19827 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19828 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19829 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19830 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19831 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19832 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19833 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19834 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19835 (CFLAGS-fread_u_chk.c): Likewise.
19836 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19837 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19838 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19839 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19840 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19841 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19842 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19843 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19844 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19845
19846 * libio/Makefile: Test [$(libc-reentrant) = yes]
19847 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19848
19849 * Makeconfig
19850 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19851 * sysdeps/pthread/configure: File removed.
19852 * sysdeps/pthread/Makeconfig: New file.
19853 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19854 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19855
19856 2012-08-16 Gary Benson <gbenson@redhat.com>
19857
19858 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19859 unmapping the first object in a namespace.
19860
19861 2012-08-16 Roland McGrath <roland@hack.frob.com>
19862
19863 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19864 (__internal_setnetgrent): ... this. Add internal_function to
19865 definition. Add libc_hidden_def.
19866 (setnetgrent): Update caller.
19867 (internal_endnetgrent): Renamed to ...
19868 (__internal_endnetgrent): ... this. Add internal_function to
19869 definition. Add libc_hidden_def.
19870 (endnetgrent): Update caller.
19871 (internal_getnetgrent_r): Renamed to ...
19872 (__internal_getnetgrent_r): ... this. Add internal_function to
19873 definition. Add libc_hidden_def.
19874 (__getnetgrent_r): Update caller.
19875 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19876
19877 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19878
19879 * stdlib/longlong.h: Update from GCC.
19880
19881 2012-08-16 Roland McGrath <roland@hack.frob.com>
19882
19883 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19884 on _QL, which is set by umul_ppmm but never used.
19885 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19886 variables, which are set by GMP macros but never used.
19887 * stdio-common/_itowa.c (_itowa): Likewise.
19888 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19889 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19890
19891 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19892
19893 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19894 struct La_sh_regs is not constant.
19895 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19896 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19897 and struct La_sparc64_regs are not constant.
19898
19899 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19900
19901 * sysdeps/unix/sysv/linux/kernel-features.h
19902 (__ASSUME_POSIX_TIMERS): Remove.
19903 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19904 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19905 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19906 Make code unconditional.
19907 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19908 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19909 Make code unconditional.
19910 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19911 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19912 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19913 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19914 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19915 Make code unconditional.
19916 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19917 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19918 (__libc_missing_posix_timers): Remove.
19919
19920 2012-08-15 Roland McGrath <roland@hack.frob.com>
19921
19922 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19923 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19924
19925 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19926
19927 * elf/dl-sym.c: Include <stdlib.h>.
19928
19929 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19930 constants, which avoids warnings in 32-bit builds.
19931
19932 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19933 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19934
19935 * misc/lseek.c: File moved to ...
19936 * io/lseek.c: ... here.
19937
19938 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19939
19940 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19941 shifting LEN more than 31 bits at once.
19942
19943 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19944
19945 [BZ #14195]
19946 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19947 segmentation fault for a case of two empty input strings.
19948 * string/test-strncasecmp.c (check1): Renamed to...
19949 (bz12205): ...this.
19950 (bz14195): Add new testcase for two empty input strings and N > 0.
19951 (test_main): Call new testcase, adapt for renamed function.
19952
19953 2012-08-15 Andreas Jaeger <aj@suse.de>
19954
19955 [BZ #14090]
19956 * crypt/md5test2.c: New test, based on test supplied by Serge
19957 Belyshev <belyshev@depni.sinp.msu.ru>.
19958 * crypt/Makefile (xtests): Add md5test-giant..
19959 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19960
19961 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19962
19963 [BZ #14090]
19964 * crypt/md5.c (md5_process_block): Don't assume the buffer
19965 length is less than 2**32.
19966 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19967 length is less than 2**64.
19968
19969 2012-08-15 Roland McGrath <roland@hack.frob.com>
19970
19971 * string/str-two-way.h: Include <sys/param.h>.
19972 (MAX): Macro removed.
19973
19974 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19975 Move #define and #undef of memmove to just before and after
19976 including <string.h>.
19977
19978 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19979 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19980 and after including <string.h>. Move declarations of
19981 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19982 to before #include "string/memmove.c".
19983
19984 * include/dirent.h: Declare __getdirentries.
19985
19986 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19987 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19988
19989 2012-08-14 Mike Frysinger <vapier@gentoo.org>
19990
19991 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19992 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19993 * sysdeps/i386/configure: Regenerated.
19994 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19995 STABS_CURRENT_FILE, and STABS_FUN.
19996 (END): Remove call to STABS_FUN_END.
19997 (STABS_CURRENT_FILE1): Delete.
19998 (STABS_CURRENT_FILE): Likewise.
19999 (STABS_FUN): Likewise.
20000 (STABS_FUN_END): Likewise.
20001 (STABS_FUN2): Likewise.
20002 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20003 * sysdeps/x86_64/configure: Regenerated.
20004
20005 2012-08-14 Roland McGrath <roland@hack.frob.com>
20006
20007 * elf/dl-open.c: Include <atomic.h>.
20008 * elf/dl-lookup.c: Likewise.
20009
20010 2012-08-14 Joseph Myers <joseph@codesourcery.com>
20011
20012 * sysdeps/unix/sysv/linux/kernel-features.h
20013 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20014 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20015 unconditionally.
20016 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20017 unconditionally.
20018 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20019 condition on __ASSUME_CLONE_THREAD_FLAGS.
20020
20021 2012-08-14 Andreas Jaeger <aj@suse.de>
20022
20023 * sysdeps/i386/fpu/libm-test-ulps: Update.
20024
20025 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20026
20027 * include/atomic.h (atomic_exchange_and_add): Split into ...
20028 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20029 New atomic macros.
20030
20031 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20032
20033 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20034
20035 2012-08-13 Jeff Law <law@redhat.com>
20036
20037 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20038 null byte in the output string.
20039
20040 2012-08-10 Joseph Myers <joseph@codesourcery.com>
20041
20042 * sysdeps/unix/sysv/linux/kernel-features.h
20043 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20044 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20045 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20046 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20047 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20048 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20049 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20050
20051 2012-08-09 Jeff Law <law@redhat.com>
20052
20053 [BZ #13939]
20054 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20055 When avoid_arena is set, don't retry in the that arena. Pick the
20056 next one, whatever it might be.
20057 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20058 (arena_lock): Pass in new parameter to arena_get2.
20059 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20060 arena_get2.
20061 (__libc_malloc): Unify retrying after main arena failure with
20062 __libc_memalign version.
20063 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20064
20065 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20066
20067 [BZ #14166]
20068 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20069 to __redirect_strstr.
20070 (__strstr_sse42): Use typeof __redirect_strstr.
20071 (__strstr_ia32): Likewise.
20072 (__libc_strstr): New prototype.
20073 (strstr): Renamed to ...
20074 (__libc_strstr): This.
20075 (strstr): New strong alias of __libc_strstr.
20076 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20077 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20078 __redirect_time.
20079 Include <time.h>.
20080 (__libc_time): New prototype.
20081 (time_ifunc): Replace time with __libc_time.
20082 (time): New strong alias and hidden definition of __libc_time.
20083 (__GI_time): Remove strong alias.
20084 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20085 Include <stddef.h>.
20086 (memmove): Redefined to __redirect_memmove.
20087 (__memmove_sse2): Use typeof __redirect_memmove.
20088 (__memmove_ssse3): Likewise.
20089 (__memmove_ssse3_back): Likewise.
20090 (__libc_memmove): New prototype.
20091 (memmove): Renamed to ...
20092 (__libc_memmove): This.
20093 (memmove): New strong alias of __libc_memmove.
20094
20095 2012-08-08 Mark Salter <msalter@redhat.com>
20096
20097 * elf/elf.h
20098 (R_MN10300_TLS_GD): Define.
20099 (R_MN10300_TLS_LD): Likewise.
20100 (R_MN10300_TLS_LDO): Likewise.
20101 (R_MN10300_TLS_GOTIE): Likewise.
20102 (R_MN10300_TLS_IE): Likewise.
20103 (R_MN10300_TLS_LE): Likewise.
20104 (R_MN10300_TLS_DTPMOD): Likewise.
20105 (R_MN10300_TLS_DTPOFF): Likewise.
20106 (R_MN10300_TLS_TPOFF): Likewise.
20107 (R_MN10300_SYM_DIFF): Likewise.
20108 (R_MN10300_ALIGN): Likewise.
20109 (R_MN10300_NUM): Update.
20110
20111 2012-08-08 Joseph Myers <joseph@codesourcery.com>
20112
20113 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20114 Remove.
20115
20116 2012-08-08 Roland McGrath <roland@hack.frob.com>
20117
20118 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20119
20120 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20121 sysdeps/unix -> sysdeps/posix move.
20122 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20123
20124 2012-08-07 Allan McRae <allan@archlinux.org>
20125
20126 [BZ #14303]
20127 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20128 (SUNOS_CPP): Likewise.
20129 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20130 not found.
20131 (open_input): Call CPP using execvp.
20132
20133 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20134
20135 * sysdeps/unix/sysv/linux/kernel-features.h
20136 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20137 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20138 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20139 (__ASSUME_WAITID_SYSCALL): Likewise.
20140 * sysdeps/unix/sysv/linux/dl-execstack.c
20141 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20142 code unconditional.
20143 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20144 conditional code.
20145 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20146 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20147 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20148 code.
20149 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20150 unconditional.
20151 [__ASSUME_WAITID_SYSCALL]: Likewise.
20152 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20153
20154 2012-08-07 Roland McGrath <roland@hack.frob.com>
20155
20156 * sysdeps/unix/closedir.c: Renamed to ...
20157 * sysdeps/posix/closedir.c: ... here.
20158 * sysdeps/unix/dirfd.c: Renamed to ...
20159 * sysdeps/posix/dirfd.c: ... here.
20160 * sysdeps/unix/dirstream.h: Renamed to ...
20161 * sysdeps/posix/dirstream.h: ... here.
20162 * sysdeps/unix/fdopendir.c: Renamed to ...
20163 * sysdeps/posix/fdopendir.c: ... here.
20164 * sysdeps/unix/opendir.c: Renamed to ...
20165 * sysdeps/posix/opendir.c: ... here.
20166 * sysdeps/unix/readdir.c: Renamed to ...
20167 * sysdeps/posix/readdir.c: ... here.
20168 * sysdeps/unix/readdir_r.c: Renamed to ...
20169 * sysdeps/posix/readdir_r.c: ... here.
20170 * sysdeps/unix/rewinddir.c: Renamed to ...
20171 * sysdeps/posix/rewinddir.c: ... here.
20172 * sysdeps/unix/seekdir.c: Renamed to ...
20173 * sysdeps/posix/seekdir.c: ... here.
20174 * sysdeps/unix/telldir.c: Renamed to ...
20175 * sysdeps/posix/telldir.c: ... here.
20176 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20177 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20178 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20179 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20180
20181 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20182 * bits/fcntl.h: ... here.
20183
20184 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20185 not 0.
20186 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20187 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20188 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20189 (struct flock): Move l_start, l_len to the beginning.
20190 Use __pid_t for l_pid.
20191 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20192 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20193 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20194 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20195 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20196 [__USE_LARGEFILE64] (struct flock64): New type.
20197 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20198
20199 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20200 * bits/dirent.h: ... here.
20201
20202 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20203 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20204
20205 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20206
20207 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20208 Change from 2.6.0 to 2.6.16.
20209 * sysdeps/unix/sysv/linux/configure: Regenerated.
20210 * sysdeps/unix/sysv/linux/kernel-features.h
20211 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20212 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20213 version.
20214 (__ASSUME_UTIMES): Likewise.
20215 (__ASSUME_CLONE_STOPPED): Remove.
20216 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20217 architectures, not kernel version.
20218 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20219 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20220 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20221 (__ASSUME_WAITID_SYSCALL): Likewise.
20222 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20223 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20224 * README: State 2.6.16 as minimum Linux kernel version. Do not
20225 refer to older versions.
20226
20227 2012-08-06 Roland McGrath <roland@hack.frob.com>
20228
20229 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20230 Define alphasort64 as an alias.
20231 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20232 Define versionsort64 as an alias.
20233 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20234 Define scandir64 as an alias.
20235 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20236 Define scandirat64 as an alias.
20237 * dirent/alphasort64.c (alphasort64):
20238 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20239 * dirent/versionsort64.c: Likewise.
20240 * dirent/scandir64.c: Likewise.
20241 * dirent/scandirat64.c: Likewise.
20242 * sysdeps/wordsize-64/alphasort.c: File removed.
20243 * sysdeps/wordsize-64/alphasort64.c: File removed.
20244 * sysdeps/wordsize-64/scandir.c: File removed.
20245 * sysdeps/wordsize-64/scandir64.c: File removed.
20246 * sysdeps/wordsize-64/scandirat.c: File removed.
20247 * sysdeps/wordsize-64/scandirat64.c: File removed.
20248 * sysdeps/wordsize-64/versionsort.c: File removed.
20249 * sysdeps/wordsize-64/versionsort64.c: File removed.
20250 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20251 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20252 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20253 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20254 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20255 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20256 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20257 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20258
20259 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20260 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20261 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20262 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20263 [defined __arch64__ || defined __sparcv9]
20264 (__INO_T_MATCHES_INO64_T): New macro.
20265 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20266 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20267 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20268 * sysdeps/unix/sysv/linux/bits/dirent.h
20269 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20270 (_DIRENT_MATCHES_DIRENT64): New macro.
20271
20272 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20273 Define lockf64 as an alias.
20274 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20275 Define fseeko64 as an alias.
20276 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20277 Define ftello64 as an alias.
20278 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20279 Define _IO_fgetpos64 and fgetpos64 as aliases.
20280 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20281 Define _IO_fsetpos64 and fsetpos64 as aliases.
20282 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20283 Conditionalize body on this.
20284 * libio/fseeko64.c: Likewise.
20285 * libio/ftello64.c: Likewise.
20286 * libio/iofgetpos64.c: Likewise.
20287 * libio/iofsetpos64.c: Likewise.
20288 * sysdeps/wordsize-64/lockf.c: File removed.
20289 * sysdeps/wordsize-64/lockf64.c: File removed.
20290 * sysdeps/wordsize-64/fseeko.c: File removed.
20291 * sysdeps/wordsize-64/fseeko64.c: File removed.
20292 * sysdeps/wordsize-64/ftello.c: File removed.
20293 * sysdeps/wordsize-64/ftello64.c: File removed.
20294 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20295 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20296 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20297 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20298 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20299 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20300 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20301 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20302 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20303 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20304 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20305 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20306 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20307 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20308
20309 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20310 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20311 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20312 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20313 [defined __arch64__ || defined __sparcv9]
20314 (__OFF_T_MATCHES_OFF64_T): New macro.
20315 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20316 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20317 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20318 (__OFF_T_MATCHES_OFF64_T): New macro.
20319
20320 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20321
20322 * stdlib/secure-getenv.c (__secure_getenv): Replace
20323 GLIBC_2_16 with GLIBC_2_17.
20324
20325 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20326
20327 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20328 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20329
20330 2012-08-03 David S. Miller <davem@davemloft.net>
20331
20332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20333
20334 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20335
20336 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20337 Remove.
20338 (__ASSUME_CORRECT_SI_PID): Likewise.
20339 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20340 (__ASSUME_TMPFS_NAME): Likewise.
20341 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20342 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20343 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20344 (HAVE_AUX_SECURE): Make definition unconditional.
20345 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20346 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20347
20348 2012-08-03 Roland McGrath <roland@hack.frob.com>
20349
20350 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20351 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20352 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20353 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20354 __eloop_threshold instead of SYMLOOP_MAX.
20355
20356 * sysdeps/generic/eloop-threshold.h: New file.
20357 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20358 of MAXSYMLINKS.
20359 * elf/chroot_canon.c (chroot_canon): Likewise.
20360
20361 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20362
20363 [BZ #13717]
20364 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20365 Change to 2.6.0 everywhere.
20366 * sysdeps/unix/sysv/linux/configure: Regenerated.
20367 * sysdeps/unix/sysv/linux/kernel-features.h
20368 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20369 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20370 kernel versions.
20371 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20372 (__ASSUME_FUTEX_REQUEUE): Remove.
20373 (__ASSUME_STATFS64): Define unconditionally.
20374 (__ASSUME_AT_SECURE): Likewise.
20375 (__ASSUME_CORRECT_SI_PID): Likewise.
20376 (__ASSUME_TGKILL): Define without depending on kernel version for
20377 i386.
20378 (__ASSUME_UTIMES): Likewise.
20379 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20380 kernel version.
20381 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20382 (__ASSUME_TMPFS_NAME): Likewise.
20383 * README: Update reference to Linux kernel versions.
20384
20385 2012-08-02 Marek Polacek <polacek@redhat.com>
20386
20387 [BZ# 14150]
20388 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20389 libc_cv_asm_type_prefix with %.
20390 * configure: Regenerated.
20391 * include/libc-symbols.h: Remove comment about
20392 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20393 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20394 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20395 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20396 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20397 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20398 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20399 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20400 * elf/tst-unique2mod1.c: Likewise.
20401 * elf/tst-unique1mod2.c: Likewise.
20402 * elf/tst-unique1mod1.c: Likewise.
20403 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20404 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20405 Replace ASM_TYPE_DIRECTIVE with .type.
20406 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20407 * sysdeps/i386/sysdep.h: Likewise.
20408 * sysdeps/x86_64/sysdep.h: Likewise.
20409 * sysdeps/sh/sysdep.h: Likewise.
20410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20411 Do not define ASM_TYPE_DIRECTIVE.
20412 * sysdeps/powerpc/sysdep.h: Likewise.
20413 * sysdeps/powerpc/powerpc32/sysdep.h:
20414 Replace ASM_TYPE_DIRECTIVE with .type.
20415 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20416 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20417 * sysdeps/i386/fpu/e_powf.S: Likewise.
20418 * sysdeps/i386/fpu/e_expl.S: Likewise.
20419 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20420 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20421 * sysdeps/i386/fpu/e_pow.S: Likewise.
20422 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20423 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20424 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20425 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20426 * sysdeps/i386/fpu/e_log2.S: Likewise.
20427 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20428 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20429 * sysdeps/i386/fpu/e_powl.S: Likewise.
20430 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20431 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20432 * sysdeps/i386/fpu/e_logl.S: Likewise.
20433 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20434 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20435 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20436 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20437 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20438 * sysdeps/i386/fpu/e_log.S: Likewise.
20439 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20440 * sysdeps/i386/fpu/e_logf.S: Likewise.
20441 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20442 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20443 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20444 * sysdeps/i386/fpu/e_log10.S: Likewise.
20445 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20446 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20447 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20448 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20449 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20450 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20451 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20452 * sysdeps/i386/i686/strtok.S: Likewise.
20453 * sysdeps/i386/i386-mcount.S: Likewise.
20454 * sysdeps/i386/strtok.S: Likewise.
20455 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20456 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20457 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20458 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20459 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20460 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20461 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20462 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20463 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20464 * sysdeps/x86_64/_mcount.S: Likewise.
20465 * sysdeps/x86_64/strtok.S: Likewise.
20466 * sysdeps/sh/_mcount.S: Likewise.
20467
20468 2012-08-01 Roland McGrath <roland@hack.frob.com>
20469
20470 * libio/iofopen.c: Include <fcntl.h>.
20471 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20472 (_IO_fopen64, fopen64): Define as aliases.
20473 * libio/iofopen64.c: Include <fcntl.h>.
20474 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20475 Conditionalize body on this.
20476 * sysdeps/wordsize-64/iofopen.c: File removed.
20477 * sysdeps/wordsize-64/iofopen64.c: File removed.
20478
20479 2012-08-01 Marek Polacek <polacek@redhat.com>
20480
20481 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20482 Use dlfcn directly instead of a variable.
20483 (binfmt-subdir): Do not define.
20484 (dlfcn): Likewise.
20485
20486 2012-08-01 Joseph Myers <joseph@codesourcery.com>
20487
20488 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20489 Remove all definitions.
20490 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20491 <kernel-features.h>.
20492 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20493 (miss_F_GETOWN_EX): Remove all definitions.
20494 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20495 macro definition.
20496 [!__ASSUME_FCNTL64]: Remove conditional code.
20497 [__ASSUME_FCNTL64]: Make code unconditional.
20498 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20499 <kernel-features.h>.
20500 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20501 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20502 (lockf64) [__NR_fcntl64]: Make code unconditional.
20503 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20504
20505 * sysdeps/unix/sysv/linux/kernel-features.h
20506 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20507 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20508 Make code unconditional.
20509 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20510 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20512 [__NR_vfork]: Make code unconditional.
20513 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20514 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20516 [__NR_vfork]: Make code unconditional.
20517 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20518 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20519
20520 2012-08-01 Roland McGrath <roland@hack.frob.com>
20521
20522 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20523 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20524
20525 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20526 Define mkstemp64 as an alias.
20527 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20528 Define mkstemps64 as an alias.
20529 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20530 Define mkostemp64 as an alias.
20531 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20532 Define mkostemps64 as an alias.
20533 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20534 Conditionalize body on this.
20535 * misc/mkostemp64.c: Likewise.
20536 * misc/mkostemps64.c: Likewise.
20537 * misc/mkstemps64.c: Likewise.
20538 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20539 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20540 * sysdeps/wordsize-64/mkostemp.c: File removed.
20541 * sysdeps/wordsize-64/mkstemp.c: File removed.
20542 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20543 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20544 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20545 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20546
20547 [BZ #14138]
20548 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20549 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20550 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20551 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20552
20553 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20554 compat_symbol macros from <shlib-compat.h> rather than the underlying
20555 default_symbol_version and symbol_version macros, so that DEFAULT
20556 lines in shlib-versions are respected.
20557 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20558
20559 2012-08-01 Florian Weimer <fweimer@redhat.com>
20560
20561 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20562 Declare with warn_unused_result.
20563 (setgid, setregid, setegid, setresgid): Likewise.
20564 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20565 Likewise.
20566 * WUR-REPORT: Remove set*id functions.
20567
20568 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20569
20570 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20571
20572 2012-07-31 Roland McGrath <roland@hack.frob.com>
20573
20574 [BZ #10191]
20575 * include/sys/socket.h (__libc_accept, __libc_accept4):
20576 Add attribute_hidden.
20577 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20578
20579 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20580 use of PTR_MANGLE.
20581 * inet/getnetgrent_r.c (setup): Likewise.
20582
20583 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20584
20585 2012-07-31 David S. Miller <davem@davemloft.net>
20586
20587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20588
20589 2012-07-31 Joseph Myers <joseph@codesourcery.com>
20590
20591 [BZ #13629]
20592 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20593 value between 1.0 and 2.0 and smaller part has absolute value less
20594 than 1.0.
20595 * math/s_clog10.c (__clog10): Likewise.
20596 * math/s_clog10f.c (__clog10f): Likewise.
20597 * math/s_clog10l.c (__clog10l): Likewise.
20598 * math/s_clogf.c (__clogf): Likewise.
20599 * math/s_clogl.c (__clogl): Likewise.
20600 * math/libm-test.inc (clog_test): Add more tests.
20601 (clog10_test): Likewise.
20602 * sysdeps/i386/fpu/libm-test-ulps: Update.
20603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20604
20605 2012-07-31 Florian Weimer <fweimer@redhat.com>
20606
20607 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20608 Exit with zero in case no suitable GID is found, and write a
20609 message to standard error.
20610
20611 2012-07-30 Roland McGrath <roland@hack.frob.com>
20612
20613 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20614 rather than to 1.
20615 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20616 (MAXPATHLEN): Removed.
20617 (NOGROUP, NODEV): New macros.
20618 (setbit, clrbit, isset, isclr): New macros.
20619 (howmany, roundup, powerof2): New macros.
20620 (DEV_BSIZE): New macro.
20621
20622 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20623 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20624
20625 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20626 definition on [!__NO_LONG_DOUBLE_MATH].
20627
20628 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20629 PTR_MANGLE and PTR_DEMANGLE.
20630
20631 * socket/accept4.c (accept4): Rename to __libc_accept4.
20632 Define accept4 as a weak alias.
20633
20634 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20635 on [_DIRENT_HAVE_D_TYPE].
20636 * io/ftw.c (ftw_dir): Likewise.
20637
20638 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20639
20640 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20641
20642 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20643 Use the BSD numbers rather than the arbitrary ones we had.
20644 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20645 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20646 (SIGXCPU, SIGXFSZ): New macros.
20647 (_NSIG): Now 32.
20648
20649 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20650 initializer on [_LIBC_REENTRANT].
20651
20652 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20653 definitions inside [_POSIX_MAPPED_FILES].
20654
20655 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20656
20657 * dirent/opendir.c: Include <fcntl.h>.
20658
20659 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20660 (__libc_getspecific): Likewise.
20661 (__libc_key_create): Likewise.
20662
20663 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20664 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20665 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20666 (tmpfile64): Define as alias.
20667 * sysdeps/wordsize-64/tmpfile.c: File removed.
20668 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20669 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20670 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20671
20672 * stdio-common/vfscanf.c: Include <stdbool.h>.
20673 * nss/makedb.c: Likewise.
20674 * stdio-common/_i18n_number.h: Likewise.
20675 * argp/argp-help.c: Likewise.
20676 * posix/wordexp.c: Likewise.
20677 * sysdeps/posix/spawni.c: Likewise.
20678 * nss/nss_files/files-initgroups.c: Likewise.
20679 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20680 * nss/nss_files/files-initgroups.c: Likewise.
20681 * nss/nss_db/db-netgrp.c: Likewise.
20682 * nss/nss_db/db-initgroups.c: Likewise.
20683 * io/fchmodat.c: Include <sys/stat.h>.
20684
20685 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20686 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20687
20688 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20689 [HAVE_MMAP].
20690
20691 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20692 Add multiple inclusion protection.
20693
20694 2012-07-27 David S. Miller <davem@davemloft.net>
20695
20696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20697
20698 2012-07-27 Gary Benson <gbenson@redhat.com>
20699
20700 [BZ #14298]
20701 * elf/rtld.c: Include <stap-probe.h>.
20702 (dl_main): Added static probes "init_start" and "init_complete".
20703 * elf/dl-load.c: Include <stap-probe.h>.
20704 (lose): Take new parameter "nsid".
20705 Added static probe "map_failed".
20706 (_dl_map_object_from_fd): Pass namespace id to lose.
20707 Added static probe "map_start".
20708 (open_verify): Pass namespace id to lose.
20709 * elf/dl-open.c: Include <stap-probe.h>.
20710 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20711 and "reloc_complete".
20712 * elf/dl-close.c: Include <stap-probe.h>.
20713 (_dl_close_worker): Added static probes "unmap_start" and
20714 "unmap_complete".
20715 * elf/rtld-debugger-interface.txt: New file documenting the above.
20716
20717 2012-07-26 Roland McGrath <roland@hack.frob.com>
20718
20719 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20720 rather than a string variable.
20721 * sunrpc/rpc_main.c (h_output): Likewise.
20722 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20723
20724 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20725
20726 * inet/check_native.c: New file.
20727
20728 2012-07-26 Joseph Myers <joseph@codesourcery.com>
20729
20730 [BZ #13629]
20731 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20732 if larger part has absolute value 1.0.
20733 * math/s_clog10.c (__clog10): Likewise.
20734 * math/s_clog10f.c (__clog10f): Likewise.
20735 * math/s_clog10l.c (__clog10l): Likewise.
20736 * math/s_clogf.c (__clogf): Likewise.
20737 * math/s_clogl.c (__clogl): Likewise.
20738 * math/libm-test.inc (clog_test): Add more tests.
20739 (clog10_test): Likewise.
20740 * sysdeps/i386/fpu/libm-test-ulps: Update.
20741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20742
20743 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20744 (pltexit): Likewise.
20745 (La_regs): Likewise.
20746 (La_retval): Likewise.
20747 (int_retval): Likewise.
20748 Update #error for removed macros to refer only to definitions in
20749 tst-audit.h.
20750 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20751 macro.
20752 (pltexit): Likewise.
20753 (La_regs): Likewise.
20754 (La_retval): Likewise.
20755 (int_retval): Likewise.
20756 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20757 macro.
20758 (pltexit): Likewise.
20759 (La_regs): Likewise.
20760 (La_retval): Likewise.
20761 (int_retval): Likewise.
20762 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20763 macro.
20764 (pltexit): Likewise.
20765 (La_regs): Likewise.
20766 (La_retval): Likewise.
20767 (int_retval): Likewise.
20768 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20769 macro.
20770 (pltexit): Likewise.
20771 (La_regs): Likewise.
20772 (La_retval): Likewise.
20773 (int_retval): Likewise.
20774 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20775 macro.
20776 (pltexit): Likewise.
20777 (La_regs): Likewise.
20778 (La_retval): Likewise.
20779 (int_retval): Likewise.
20780 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20781 macro.
20782 (pltexit): Likewise.
20783 (La_regs): Likewise.
20784 (La_retval): Likewise.
20785 (int_retval): Likewise.
20786 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20787 macro definitions in tst-audit.h.
20788 * sysdeps/i386/tst-audit.h: New file.
20789 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20790 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20791 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20792 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20793 * sysdeps/sh/tst-audit.h: Likewise.
20794 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20795 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20796 * sysdeps/x86_64/tst-audit.h: Likewise.
20797
20798 2012-07-26 Andreas Jaeger <aj@suse.de>
20799
20800 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20801 ptrace.
20802
20803 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20804 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20805 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20806 PTRACE_O_MASK.
20807 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20808 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20809 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20810
20811 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20812 value.
20813
20814 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20815 _sigsys.
20816 (si_call_addr, si_syscall, si_arch): Define new macro.
20817 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20818 _sigsys.
20819 (si_call_addr, si_syscall, si_arch): Define new marcro.
20820 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20821 _sigsys.
20822 (si_call_addr, si_syscall, si_arch): Define new macro.
20823 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20824 _sigsys.
20825 (si_call_addr, si_syscall, si_arch): Define new macro.
20826
20827 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20828
20829 [BZ #13717]
20830 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20831 Change to 2.4.21 where previously 2.4.1.
20832 * sysdeps/unix/sysv/linux/configure: Regenerated.
20833 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20834 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20835 Linux kernel version.
20836 (__ASSUME_STD_AUXV): Remove.
20837 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20838 kernel version.
20839 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20840 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20841 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20842 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20843 (__ASSUME_NETLINK_SUPPORT): Likewise.
20844 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20845 (__no_netlink_support): Remove conditional definition.
20846 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20847 Remove.
20848 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20849 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20850 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20851 (if_nameindex_ioctl): Remove.
20852 (if_nameindex_netlink): Do not handle __no_netlink_support.
20853 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20854 code.
20855 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20856 Remove conditional code.
20857 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20858 code.
20859 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20860 unconditional.
20861 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20862 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20863 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20864 Remove.
20865 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20866 [!__ASSUME_STD_AUXV]: Remove conditional code.
20867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20868 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20869 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20871 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20872 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20873 code.
20874 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20876 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20877 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20878 conditional code.
20879 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20881 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20882 code.
20883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20884 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20885 conditional code.
20886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20887 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20888 code unconditional.
20889 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20890 conditional code.
20891 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20892 unconditional.
20893 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20894 conditional code.
20895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20896 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20897 unconditional.
20898 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20899 conditional code.
20900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20901 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20902 code unconditional.
20903 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20904 conditional code.
20905 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20906 unconditional.
20907 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20908 conditional code.
20909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20910 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20911 code unconditional.
20912 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20913 conditional code.
20914 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20915 unconditional.
20916 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20917 conditional code.
20918
20919 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20920
20921 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20922 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20923 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20924 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20925 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20926 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20927 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20928 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20929 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20930 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20931 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20932 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20933 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20934 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20935 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20936 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20937 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20938 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20939 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20940 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20941 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20942 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20943 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20944
20945 2012-07-25 Florian Weimer <fweimer@redhat.com>
20946
20947 * Versions.def: Add GLIBC_2.17.
20948 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20949 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20950 Introduce __libc_secure_getenv.
20951 * stdlib/Versions (2.17): Add secure_getenv
20952 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20953 * stdlib/secure-getenv.c: Rename __secure_getenv to
20954 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20955 symbol __secure_getenv for GLIBC_2.0.
20956 * stdlib/tst-secure-getenv.c: New.
20957 * stdlib/Makefile (tests): Add testcase.
20958 * manual/startup.texi (Environment Access): Document
20959 secure_getenv.
20960 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20961 __libc_secure_getenv.
20962 * inet/ruserpass.c (ruserpass): Likewise.
20963 * malloc/mtrace.c (mtrace): Likewise.
20964 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20965 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20966 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20967 * sysdeps/posix/tempname.c: Likewise. Evaluate
20968 HAVE_SECURE_GETENV.
20969 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20970 __secure_getenv to __libc_secure_getenv.
20971 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20973 Likewise.
20974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20975 Likewise.
20976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20978 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20980 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20981 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20983
20984 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20985
20986 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20987 (struct La_i86_retval): Likewise.
20988 (struct La_x86_64_regs): Likewise.
20989 (struct La_x86_64_retval): Likewise.
20990 (struct La_x32_regs): Likewise.
20991 (struct La_x32_retval): Likewise.
20992 (struct La_ppc32_regs): Likewise.
20993 (struct La_ppc32_retval): Likewise.
20994 (struct La_ppc64_regs): Likewise.
20995 (struct La_ppc64_retval): Likewise.
20996 (struct La_sh_regs): Likewise.
20997 (struct La_sh_retval): Likewise.
20998 (struct La_s390_32_regs): Likewise.
20999 (struct La_s390_32_retval): Likewise.
21000 (struct La_s390_64_regs): Likewise.
21001 (struct La_s390_64_retval): Likewise.
21002 (struct La_sparc32_regs): Likewise.
21003 (struct La_sparc32_retval): Likewise.
21004 (struct La_sparc64_regs): Likewise.
21005 (struct La_sparc64_retval): Likewise.
21006 (struct audit_ifaces): Remove architecture-specific pltenter and
21007 pltexit members.
21008 * sysdeps/i386/ldsodefs.h: New file.
21009 * sysdeps/powerpc/ldsodefs.h: Likewise.
21010 * sysdeps/s390/ldsodefs.h: Likewise.
21011 * sysdeps/sh/ldsodefs.h: Likewise.
21012 * sysdeps/sparc/ldsodefs.h: Likewise.
21013 * sysdeps/x86_64/ldsodefs.h: Likewise.
21014
21015 2012-07-25 Marek Polacek <polacek@redhat.com>
21016
21017 [BZ #6808]
21018 * math/libm-test.inc (yn_test): Add another test.
21019 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21020 to ERANGE when the result is +-Inf.
21021 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21022 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21023 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21024 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21025
21026 2012-07-24 Joseph Myers <joseph@codesourcery.com>
21027
21028 * conform/data/time.h-data (NULL): Use macro-constant. Require
21029 equal to 0.
21030 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21031 clock_t.
21032 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21033
21034 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21035
21036 * configure.in <sysdeps resolving>: Correct printing
21037 Implies_before.
21038 * configure: Regenerate.
21039
21040 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21041
21042 * math/w_ilogb.c: Include <limits.h>.
21043 * math/w_ilogbl.c: Likewise.
21044
21045 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21046
21047 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21048 va_copy. Document allowing for unavailable va_copy only as
21049 pre-C99 compatibility.
21050 * manual/string.texi (Copying and Concatenation): Use va_copy
21051 instead of __va_copy in concat example.
21052
21053 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21054
21055 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21056 (__sendto): Use create_address_port. Initialize APORT and deallocate
21057 it if not null.
21058
21059 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21060 with O_NOLINK passed to __file_name_lookup.
21061
21062 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21063 with O_NOLINK passed to __file_name_lookup.
21064
21065 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21066 negative N or less than NGIDS.
21067
21068 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21069 type to string_t. Set ERANGE as errno and return it if NAME is not big
21070 enough. Use memcpy instead of strncpy.
21071
21072 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21073
21074 * elf/Makefile (check-data): Remove.
21075 (localplt.data): New vpath directive.
21076 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21077 instead of $(check-data).
21078 * scripts/data/localplt-generic.data: Move to ...
21079 * sysdeps/generic/localplt.data: ... here.
21080 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21081 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21082 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21084 ... here.
21085 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21087 ... here.
21088 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21090 ... here.
21091 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21093 ... here.
21094 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21096 ... here.
21097 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21099 ... here.
21100
21101 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21102
21103 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21104 PPC32 and PPC64 files.
21105 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21106 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21107
21108 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21109
21110 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21111 __makecontext_ret to ...
21112 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21113 ... here and call exit if uc_link is NULL. New file.
21114 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21115 __makecontext_ret.S.
21116 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21117 __makecontext_ret to ...
21118 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21119 ... here and call exit if uc_link is NULL. New file.
21120 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21121 __makecontext_ret.S.
21122
21123 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21124
21125 * elf/elf.h (R_390_IRELATIVE): New definition.
21126 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21127 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21128 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21129 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21130 (elf_machine_lazy_rel): Likewise.
21131 * sysdeps/s390/dl-irel.h: New file.
21132 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21133 * sysdeps/s390/s390-64/memset.S: New asm code.
21134 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21135 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21136 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21137 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21138 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21139 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21140 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21141 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21142 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21143 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21144 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21145 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21146 * sysdeps/s390/s390-32/memset.S: New asm code.
21147 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21148
21149 2012-07-17 Marek Polacek <polacek@redhat.com>
21150
21151 [BZ #14349]
21152 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21153 * sysdeps/s390/s390-64/configure.in: Likewise.
21154 * sysdeps/sparc/configure.in: Likewise.
21155 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21156 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21157 * sysdeps/i386/configure.in: Likewise.
21158 * sysdeps/x86_64/configure.in: Likewise.
21159 * sysdeps/sh/configure.in: Likewise.
21160 * sysdeps/s390/s390-32/configure: Regenerated.
21161 * sysdeps/s390/s390-64/configure: Likewise.
21162 * sysdeps/x86_64/configure: Likewise.
21163 * sysdeps/sh/configure: Likewise.
21164 * sysdeps/powerpc/powerpc64/configure: Likewise.
21165 * sysdeps/powerpc/powerpc32/configure: Likewise.
21166 * sysdeps/sparc/configure: Likwise.
21167 * sysdeps/i386/configure: Likewise.
21168
21169 * elf/dl-open.c: Comment fixes.
21170
21171 2012-07-17 Joseph Myers <joseph@codesourcery.com>
21172
21173 * Makefile [CXX] (check-data): Remove.
21174 [CXX] (c++-types.data): New vpath directive.
21175 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21176 vpath. Do not allow for C++ type data being missing.
21177 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21178 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21179 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21180 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21181 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21182 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21183 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21185 ... here.
21186 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21188 ... here.
21189 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21191 ... here.
21192 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21194 ... here.
21195 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21197 ... here.
21198 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21200 ... here.
21201 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21203 ... here.
21204 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21206
21207 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21208 definitions to architecture-specific files.
21209 (TLS_IE): Likewise.
21210 (TLS_LD): Likewise.
21211 (TLS_GD): Likewise.
21212 * sysdeps/i386/tls-macros.h: New file.
21213 * sysdeps/powerpc/tls-macros.h: Likewise.
21214 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21215 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21216 * sysdeps/sh/tls-macros.h: Likewise.
21217 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21218 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21219 * sysdeps/x86_64/tls-macros.h: Likewise.
21220
21221 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21222
21223 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21224 zero value for regular exit case.
21225
21226 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21227 (__start_context): Preserve zero value for regular exit case.
21228
21229 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21230 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21231
21232 * manual/setjmp.texi (setcontext): Clarify normal process
21233 termination when uc_link is the null pointer.
21234 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21235 exit call.
21236
21237 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21238
21239 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21240 preprocessor. Test for each exception mask separately.
21241
21242 2012-07-16 Andreas Jaeger <aj@suse.de>
21243
21244 * po/ru.po: Update from translation team.
21245
21246 2012-07-15 Joseph Myers <joseph@codesourcery.com>
21247
21248 * conform/data/string.h-data (NULL): Use macro-constant. Require
21249 equal to 0.
21250 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21251 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21252 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21253 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21254 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21255
21256 2012-07-13 Andreas Jaeger <aj@suse.de>
21257
21258 * po/fr.po: Update from translation team.
21259
21260 2012-07-12 Marek Polacek <polacek@redhat.com>
21261
21262 [BZ #14173]
21263 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21264 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21265 loop condition.
21266
21267 2012-07-12 Joseph Myers <joseph@codesourcery.com>
21268
21269 [BZ #13717]
21270 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21271 Change to 2.4.1 where previously 2.4.0.
21272 * sysdeps/unix/sysv/linux/configure: Regenerated.
21273 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21274 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21275 version.
21276 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21277 (__ASSUME_AT_CLKTCK): Remove.
21278 (__ASSUME_AT_PAGESIZE): Likewise.
21279 (__ASSUME_AT_XID): Likewise.
21280 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21281 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21282 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21283 unconditionally.
21284 (HAVE_AUX_PAGESIZE): Likewise.
21285 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21286 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21287 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21288
21289 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21290
21291 [BZ #14307]
21292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21293 the temporary buffer used to invoke __gethostbyname2_r,
21294 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21295 host_data / struct gaih_addrtuple.
21296 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21297 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21298 header file nss/nsswitch.h.
21299 * nss/nsswitch.h (global scope): Add definition of implementation
21300 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21301 resolv/nss_dns/dns-host.c).
21302
21303 2012-07-11 Andreas Jaeger <aj@suse.de>
21304
21305 * po/fr.po: Update from translation team.
21306
21307 * po/sv.po: Update from translation team
21308 * po/fr.po: Another update from translation team.
21309
21310 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21311
21312 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21313 for subnormals or multiply small sinh result by itself.
21314 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21316
21317 2012-07-11 David S. Miller <davem@davemloft.net>
21318
21319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21320
21321 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21322
21323 [BZ #14347]
21324 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21325 (INTERNAL_MARK): Shift it here.
21326
21327 2012-07-10 Marek Polacek <polacek@redhat.com>
21328
21329 [BZ #14151]
21330 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21331 libc_cv_asm_global_directive with .globl.
21332 * configure: Regenerated.
21333 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21334 with .globl.
21335 * sysdeps/i386/configure: Regenerated.
21336 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21337 with .globl.
21338 * sysdeps/x86_64/configure: Regenerated.
21339 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21340 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21341 * elf/tst-unique2mod2.c: Likewise.
21342 * elf/tst-unique2mod1.c: Likewise.
21343 * elf/tst-unique1mod2.c: Likewise.
21344 * elf/tst-unique1mod1.c: Likewise.
21345 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21346 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21347 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21348 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21349 * sysdeps/mach/sysdep.h: Likewise.
21350 * sysdeps/i386/sysdep.h: Likewise.
21351 * sysdeps/i386/i386-mcount.S: Likewise.
21352 * sysdeps/x86_64/_mcount.S: Likewise.
21353 * sysdeps/x86_64/sysdep.h: Likewise.
21354 * sysdeps/sh/_mcount.S: Likewise.
21355 * sysdeps/sh/sysdep.h: Likewise.
21356 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21357 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21358 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21359 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21360 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21361 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21362 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21363 * locale/localeinfo.h: Likewise.
21364 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21365 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21366
21367 2012-07-09 Roland McGrath <roland@hack.frob.com>
21368
21369 [BZ #14336]
21370 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21371 system".
21372 * manual/message.texi (The Uniforum approach): Likewise.
21373 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21374 (glibc iconv Implementation): Likewise.
21375
21376 2012-07-09 Joseph Myers <joseph@codesourcery.com>
21377
21378 [BZ #14337]
21379 * math/s_clog.c (__clog): Avoid scaling a value down where that
21380 could result in underflow.
21381 * math/s_clog10.c (__clog10): Likewise.
21382 * math/s_clog10f.c (__clog10f): Likewise.
21383 * math/s_clog10l.c (__clog10l): Likewise.
21384 * math/s_clogf.c (__clogf): Likewise.
21385 * math/s_clogl.c (__clogl): Likewise.
21386 * math/libm-test.inc (clog_test): Add more tests.
21387 (clog10_test): Likewise.
21388 * sysdeps/i386/fpu/libm-test-ulps: Update.
21389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21390
21391 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21392
21393 [BZ #14283]
21394 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21395 by 7 not 8 to examine high bit of fractional part.
21396
21397 [BZ #14042]
21398 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21399 for call to __mcount_internal.
21400 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21401 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21402 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21403
21404 2012-07-06 Joseph Myers <joseph@codesourcery.com>
21405
21406 [BZ #14154]
21407 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21408 approximation for values within 0x1p-13f of an odd multiple of
21409 pi/4.
21410 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21411 exception. Add more tests.
21412 * sysdeps/i386/fpu/libm-test-ulps: Update.
21413
21414 [BZ #6778]
21415 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21416 inputs and return -1 for them. Do not check for +Inf in case not
21417 reachable for +Inf.
21418 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21419 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21420 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21421 and return -1 for them. Do not check for +Inf in case not
21422 reachable for +Inf.
21423 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21424 define.
21425 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21426 and return -1 for them. Do not check for +Inf in case not
21427 reachable for +Inf.
21428 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21429 spurious underflow.
21430 * sysdeps/i386/fpu/libm-test-ulps: Update.
21431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21432
21433 2012-07-06 Mike Frysinger <vapier@gentoo.org>
21434
21435 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21436
21437 2012-07-05 Joseph Myers <joseph@codesourcery.com>
21438
21439 [BZ #14157]
21440 [BZ #14331]
21441 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21442 could result in spurious underflow. Scale down values above
21443 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21444 * math/s_csqrtf.c (__csqrtf): Likewise.
21445 * math/s_csqrtl.c (__csqrtl): Likewise.
21446 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21447 spurious underflow.
21448 * sysdeps/i386/fpu/libm-test-ulps: Update.
21449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21450
21451 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21452
21453 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21454 xopen-msg.sed.
21455 * catgets/xopen-msg.awk: New file.
21456 * catgets/xopen-msg.sed: Removed.
21457
21458 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21459 po2text.sed.
21460 * intl/po2test.awk: New file.
21461 * intl/po2test.sed: Removed.
21462
21463 2012-07-04 Joseph Myers <joseph@codesourcery.com>
21464
21465 [BZ #14328]
21466 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21467 or multiply small sinh result by itself.
21468 * math/s_ctanf.c (__ctanf): Likewise.
21469 * math/s_ctanh.c (__ctanh): Likewise.
21470 * math/s_ctanhf.c (__ctanhf): Likewise.
21471 * math/s_ctanhl.c (__ctanhl): Likewise.
21472 * math/s_ctanl.c (__ctanl): Likewise.
21473 * math/libm-test.inc (ctan_test_tonearest): New function.
21474 (ctan_test_towardzero): Likewise.
21475 (ctan_test_downward): Likewise.
21476 (ctan_test_upward): Likewise.
21477 (ctanh_test_tonearest): Likewise.
21478 (ctanh_test_towardzero): Likewise.
21479 (ctanh_test_downward): Likewise.
21480 (ctanh_test_upward): Likewise.
21481 (main): Call these new functions.
21482 * sysdeps/i386/fpu/libm-test-ulps: Update.
21483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21484
21485 2012-07-03 Mike Frysinger <vapier@gentoo.org>
21486
21487 * .gitignore: Delete /ports entry.
21488
21489 2012-07-03 Andreas Jaeger <aj@suse.de>
21490
21491 * po/bg.po: Update from translation team.
21492 * po/cs.po: Likewise.
21493 * po/de.po: Likewise.
21494 * po/hr.po: Likewise.
21495 * po/nl.pl: Likewise.
21496 * po/pl.po: Likewise.
21497 * po/vi.po: Likewise.
21498
21499 2012-07-03 Joseph Myers <joseph@codesourcery.com>
21500
21501 * Makeconfig [!+link] (+link-before-libc): New variable.
21502 [!+link] (+link-after-libc): Likewise.
21503 [!+link] (+link-tests): Likewise.
21504 [!+link] (+link): Define in terms of $(+link-before-libc) and
21505 $(+link-after-libc).
21506 [!+link-static] (+link-static-before-libc): New variable.
21507 [!+link-static] (+link-static-after-libc): Likewise.
21508 [!+link-static] (+link-static-tests): Likewise.
21509 [!+link-static] (+link-static): Define in terms of
21510 $(+link-static-before-libc) and $(+link-static-after-libc).
21511 [build-shared] (link-libc-before-gnulib): New variable.
21512 [build-shared] (link-libc-tests): Likewise.
21513 [build-shared] (link-libc): Define in terms of
21514 $(link-libc-before-gnulib).
21515 [!build-shared] (link-libc-tests): New variable.
21516 (link-libc-static-tests): New variable.
21517 [!gnulib] (gnulib-arch): New variable.
21518 [!gnulib] (gnulib-tests): Likewise.
21519 [!gnulib] (static-gnulib-arch): Likewise.
21520 [!gnulib] (static-gnulib-tests): Likewise.
21521 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21522 Define with "=" instead of ":=".
21523 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21524 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21525 * Rules (binaries-all-notests): New variable.
21526 (binaries-all-tests): Likewise.
21527 (binaries-static-notests): Likewise.
21528 (binaries-static-tests): Likewise.
21529 (binaries-all): Define using $(binaries-all-notests) and
21530 $(binaries-all-tests).
21531 (binaries-static): Define using $(binaries-static-notests) and
21532 $(binaries-static-tests).
21533 (binaries-shared-tests): New variable.
21534 (binaries-shared-notests): Likewise.
21535 (binaries-shared): Remove variable.
21536 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21537 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21538 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21539 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21540 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21541 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21542 * elf/Makefile (sln-modules): New variable.
21543 (extra-objs): Add $(sln-modules:=.o).
21544 (ldconfig-modules): Add static-stubs.
21545 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21546 * elf/static-stubs.c: New file.
21547
21548 [BZ #14283]
21549 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21550 by 7 not 8 to examine high bit of fractional part. Use volatile
21551 variables when splitting into final array of floats if
21552 __FLT_EVAL_METHOD__ != 0.
21553 * math/libm-test.inc (cos_test): Add another test.
21554 (sin_test): Likewise.
21555 * sysdeps/i386/fpu/libm-test-ulps: Update.
21556
21557 [BZ #14273]
21558 * math/libm-test.inc (cosh_test): Add more tests.
21559
21560 * version.h (RELEASE): Set to "development".
21561 (VERSION): Set to "2.16.90".
21562
21563 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21564
21565 * NEWS: Update copyright. Remove last-updated date.
21566 Mention math library bug fixes and timezone data changes.
21567 * README: Mention GNU/Hurd, x32, and HPPA support status.
21568
21569 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21570
21571 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21572
21573 2012-06-27 Andreas Jaeger <aj@suse.de>
21574
21575 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21576
21577 2012-06-25 Andreas Jaeger <aj@suse.de>
21578
21579 * sysdeps/s390/fpu/libm-test-ulps: Update.
21580
21581 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21582 Thomas Schwinge <thomas@codesourcery.com>
21583
21584 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21585 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21586 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21587 fanotify_mark.
21588
21589 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21590
21591 * sysdeps/mach/start.c: Remove file.
21592 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21593 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21594 * sysdeps/sh/init-first.c: Likewise.
21595
21596 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21597 registers for frame unwinding purposes, add CFI directives.
21598 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21599 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21600 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21601 Likewise.
21602
21603 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21604 __fortify_fail returning.
21605 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21606
21607 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21608 sysdeps/sh/____longjmp_chk.S.
21609 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21610 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21611 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21612 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21613
21614 * sysdeps/sh/abort-instr.h: New file.
21615 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21616 process in case exit returns.
21617
21618 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21619 initialize the GOT register before use.
21620
21621 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21622 calculation of ARGC > 4.
21623
21624 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21625 meaningful names to some local labels.
21626
21627 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21628 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21629
21630 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21631 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21632 (__arch_compare_and_exchange_val_16_acq): Likewise.
21633 (__arch_compare_and_exchange_val_32_acq): Likewise.
21634 (atomic_exchange_and_add): Fix gUSA sequence.
21635 (atomic_add): Likewise.
21636 (atomic_add_negative): Likewise.
21637 (atomic_add_zero): Likewise.
21638 (atomic_bit_test_set): Likewise.
21639
21640 2012-06-22 Andreas Schwab <schwab@redhat.com>
21641
21642 [BZ #13579]
21643 * include/link.h (struct link_map): Add l_free_initfini.
21644 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21645 l_initfini.
21646 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21647 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21648 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21649 set.
21650
21651 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21652
21653 * configure.in: Use AC_LANG_SOURCE.
21654 * configure: Regenerate.
21655
21656 2012-06-22 Roland McGrath <roland@hack.frob.com>
21657
21658 * configure.in (libc_cv_localstatedir): New substituted variable.
21659 * configure: Regenerated.
21660 * config.make.in (localstatedir): New variable, substituted from
21661 libc_cv_localstatedir.
21662 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21663 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21664 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21665 * sysdeps/gnu/configure: Regenerated.
21666
21667 2012-06-21 Jeff Law <law@redhat.com>
21668
21669 [BZ #14277]
21670 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21671 free. Simplify list management for _LIBC case.
21672
21673 2012-06-21 Joseph Myers <joseph@codesourcery.com>
21674
21675 [BZ #14273]
21676 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21677 Clear sign bit of 64-bit integer value before comparing against
21678 overflow value.
21679
21680 * sysdeps/mach/configure: Regenerated.
21681
21682 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21683
21684 [BZ #14278]
21685 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21686
21687 2012-06-21 Jeff Law <law@redhat.com>
21688
21689 [BZ #13882]
21690 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21691 uint16_t for elements in the "seen" array to avoid char overflows.
21692 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21693 * elf/dl-open.c (dl_open_worker): Likewise.
21694
21695 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21696
21697 * scripts/list-sources.sh: Scan PORTS for translations.
21698 * po/libc.pot: Regenerated.
21699
21700 2012-06-21 Andreas Jaeger <aj@suse.de>
21701
21702 [BZ #12194]
21703 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21704 warning.
21705 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21706 * bits/byteswap-16.h (__bswap_16): Likewise.
21707 * bits/byteswap.h (__bswap_constant_16): Likewise.
21708
21709 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21710
21711 [BZ #14117]
21712 * sysdeps/i386/fpu_control.h: Removed.
21713 * sysdeps/x86_64/fpu_control.h: Moved to ...
21714 * sysdeps/x86/fpu_control.h: Here.
21715
21716 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21717 (_FPU_SETCW): Likewise.
21718
21719 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21720
21721 [BZ #14117]
21722 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21723 * sysdeps/x86/fpu/bits/mathinline.h: This.
21724 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21725
21726 [BZ #14050]
21727 [BZ #14117]
21728 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21729 functions if __x86_64__ is defined.
21730
21731 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21732
21733 * string/endian.h: Add !__ASSEMBLER__ condition for including
21734 conversion interfaces.
21735
21736 2012-06-15 Joseph Myers <joseph@codesourcery.com>
21737
21738 [BZ #14241]
21739 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21740 of ABS(x) in calculating zero to negative powers other than odd
21741 integers.
21742 * math/libm-test.inc (pow_test): Add more tests.
21743
21744 2012-06-15 Andreas Jaeger <aj@suse.de>
21745
21746 * manual/contrib.texi (Contributors): Update entry of Liubov
21747 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21748 Machado Filho.
21749
21750 2012-06-15 Cyril Hrubis <metan@ucw.cz>
21751
21752 * string/string.h: Add __wur to GNU version of strerror_r.
21753
21754 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21755
21756 [BZ #14229]
21757 * string/Makefile (tests): Add tst-strtok_r.
21758 * string/tst-strtok_r.c: New file.
21759 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21760 RAX_LP/RDX_LP on SAVE_PTR.
21761
21762 2012-06-14 Roland McGrath <roland@hack.frob.com>
21763
21764 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21765
21766 2012-06-14 Joseph Myers <joseph@codesourcery.com>
21767
21768 * libm_test.inc (csqrt_test): Allow more spurious underflow
21769 exceptions.
21770 (j0_test): Likewise.
21771 (j1_test): Likewise.
21772 (y0_test): Likewise.
21773 (y1_test): Likewise.
21774
21775 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21776
21777 * po/Makefile (libc.pot): Use UTF-8 charset.
21778
21779 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21780
21781 [BZ #14210]
21782 Suppress sign-conversion warning from FD_SET.
21783 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21784 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21785 not unsigned long int.
21786 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21787
21788 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21789
21790 [BZ #14050]
21791 [BZ #14117]
21792 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21793 __extern_always_inline instead of __extern_inline.
21794 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21795 (__signbit): Likewise.
21796 (__signbitl): Support C++ namespace.
21797 (lrintf): New inline function.
21798 (lrint): Likewise.
21799 (llrintf): Likewise.
21800 (llrint): Likewise.
21801 (fmaxf): Likewise.
21802 (fmax): Likewise.
21803 (fminf): Likewise.
21804 (fmin): Likewise.
21805 (rint): Likewise.
21806 (rintf): Likewise.
21807 (ceil): Likewise.
21808 (ceilf): Likewise.
21809 (floor): Likewise.
21810 (floorf): Likewise.
21811 (nearbyint): Likewise.
21812 (nearbyintf): Likewise.
21813
21814 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21815
21816 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21817 non-default versions.
21818
21819 2012-06-11 Roland McGrath <roland@hack.frob.com>
21820
21821 [BZ #14218]
21822 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21823
21824 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21825
21826 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21827 (FE_UPWARD, FE_DOWNWARD): Don't define.
21828 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21829 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21830
21831 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21832 reading it.
21833 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21834 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21835
21836 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21837
21838 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21839 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21840 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21841 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21842
21843 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21844
21845 [BZ #14117]
21846 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21847 * sysdeps/i386/fpu/Implies: New file.
21848 * sysdeps/x86_64/fpu/Implies: Likewise.
21849 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21850 * sysdeps/x86/fpu/bits/fenv.h: This.
21851
21852 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21853 __SSE_MATH__.
21854
21855 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21856
21857 [BZ #14134]
21858 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21859 character 0xffff that matches the last element of the
21860 conversion table.
21861
21862 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21863
21864 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21865 fmodl commit.
21866
21867 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21868
21869 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21870 values higher than 25.6283.
21871
21872 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21873
21874 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21875 subnormal exponent extraction and add some __builtin_expect.
21876 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21877 Fix for subnormal mantissa calculation.
21878
21879 2012-06-04 Mike Frysinger <vapier@gentoo.org>
21880
21881 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21882 cpu2 is -1 and errno is not ENOSYS.
21883
21884 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21885
21886 [BZ #14117]
21887 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21888 * sysdeps/x86/bits/string.h: This.
21889 * sysdeps/x86_64/bits/string.h: Removed.
21890
21891 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21892 if not compiling for x86-64, but compiling for >= i486.
21893
21894 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21895 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21896
21897 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21898 New macro from Linux kernel 3.4.0.
21899 (FP_XSTATE_MAGIC2): Likewise.
21900 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21901 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21902 (struct _fpx_sw_bytes): New struct.
21903 (struct _xsave_hdr): Likewise.
21904 (struct _ymmh_state): Likewise.
21905 (struct _xstate): Likewise.
21906
21907 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21908 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21909 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21910 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21911 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21912 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21913
21914 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21915 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21916 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21917 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21918 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21919 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21920
21921 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21922
21923 [BZ #13743]
21924 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21925 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21926 (sysdep_headers): Include sys/platform/ppc.h.
21927 * sysdeps/powerpc/test-gettimebase.c: Test for
21928 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21929 * manual/Makefile (appendices): Include platform.texi.
21930 * manual/contrib.texi (Contributors): Update @node pointers.
21931 * manual/maint.texi (Maintenance): Likewise.
21932 (Platform): New node.
21933 * manual/platform.texi: New file. Document the new features.
21934
21935 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21936 Jakub Jelinek <jakub@redhat.com>
21937
21938 [BZ #14188]
21939 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21940 where __builtin_expect is unavailable.
21941
21942 2012-06-03 David S. Miller <davem@davemloft.net>
21943
21944 * stdlib/longlong.h: Updated from GCC.
21945
21946 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21947
21948 [BZ #14042]
21949 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21950 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21951 __mcount_internal.
21952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21953 (GLIBC_2.16): Likewise.
21954
21955 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21956
21957 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21958
21959 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21960
21961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21962 (default-abi): New variable.
21963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21964 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21965 variable.
21966 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21967 Likewise.
21968 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21969 Likewise.
21970 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21971 Likewise.
21972
21973 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21974 definition. Document in comment.
21975
21976 2012-06-01 David S. Miller <davem@davemloft.net>
21977
21978 * stdlib/longlong.h: Updated from GCC.
21979
21980 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21981
21982 [BZ #14117]
21983 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21984 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21985 sys/debugreg.h sys/io.h here.
21986 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21987 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21988 sys/io.h.
21989 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21990 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21991 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21992 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21993 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21994 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21995
21996 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21997 Define only if __x86_64__ is defined.
21998
21999 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22000
22001 [BZ #14048]
22002 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22003 Use int64_t for variable i.
22004 * math/libm-test.inc (fmod_test): Add more tests.
22005
22006 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22007 z computation is not scheduled after fetestexcept.
22008 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22009 Use math_force_eval instead of asm to ensure calculation scheduled
22010 before exception test.
22011 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22012 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22013
22014 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22015
22016 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22017 computation is not scheduled after fetestexcept.
22018
22019 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22020
22021 [BZ #14117]
22022 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22023 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22024
22025 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22026
22027 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22028 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22029
22030 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22031
22032 [BZ #14117]
22033 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22034 <bits/wordsize.h>.
22035 (__WCHAR_MIN): Support __WORDSIZE == 64.
22036 (__WCHAR_MAX): Likewise.
22037
22038 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22039 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22040
22041 [BZ #14183]
22042 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22043 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22044
22045 [BZ #14117]
22046 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22047 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22048
22049 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22050 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22051
22052 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22053 Defined to 1 if __x86_64__ isn't defined.
22054 (_STAT_VER_LINUX_OLD): New.
22055 (st_atime): Remove duplicate.
22056 (st_mtime): Likewise.
22057 (st_ctime): Likewise.
22058
22059 2012-05-31 David S. Miller <davem@davemloft.net>
22060
22061 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22062 entries.
22063
22064 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22065
22066 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22067 gen-libm-test.pl.
22068
22069 [BZ #14132]
22070 * elf/dl-reloc.c: Include <_itoa.h>.
22071 (_dl_reloc_bad_type): Remove use of INTUSE.
22072 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22073 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22074 * stdio-common/psiginfo.c (psiginfo): Likewise.
22075 * stdio-common/psignal.c (psignal): Likewise.
22076 * string/strsignal.c (strsignal): Likewise.
22077 * include/signal.h (_sys_siglist): Declare hidden proto.
22078 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22079 INTVARDEF with libc_hidden_data_def.
22080 * stdio-common/itoa-udigits.c: Likewise.
22081 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22082 (_itoa_lower_digits_internal): Remove declaration.
22083 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22084 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22085 (_sys_sigabbrev_internal): Remove aliases.
22086 (_sys_siglist): Define hidden alias.
22087
22088 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22089
22090 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22091 bits/sysctl.h.
22092
22093 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22094
22095 [BZ #14117]
22096 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22097 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22098
22099 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22100 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22101 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22102 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22103 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22104 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22105
22106 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22107 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22108 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22109
22110 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22111 with __addr.
22112 (insw): Likewise.
22113 (insl): Likewise.
22114 (outsb): Likewise.
22115 (outsw): Likewise.
22116 (outsl): Likewise.
22117
22118 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22119 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22120 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22121
22122 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22123 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22124 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22125 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22126 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22127 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22128
22129 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22130 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22131
22132 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22133 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22134
22135 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22136 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22137 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22138
22139 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22140 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22141 to ...
22142 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22143
22144 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22145 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22146 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22147
22148 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22149 for x86-64.
22150 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22151
22152 2012-05-31 Joseph Myers <joseph@codesourcery.com>
22153
22154 * math/math.h (M_El): Use two more decimal places.
22155 (M_LOG2El): Likewise.
22156 (M_LOG10El): Likewise.
22157 (M_LN2l): Likewise.
22158 (M_LN10l): Likewise.
22159 (M_PIl): Likewise.
22160 (M_PI_2l): Likewise.
22161 (M_PI_4l): Likewise.
22162 (M_1_PIl): Likewise.
22163 (M_2_PIl): Likewise.
22164 (M_2_SQRTPIl): Likewise.
22165 (M_SQRT2l): Likewise.
22166 (M_SQRT1_2l): Likewise.
22167
22168 2012-05-31 David S. Miller <davem@davemloft.net>
22169
22170 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22171 values between float registers.
22172 * sysdeps/sparc/sparc64/memset.S: Likewise.
22173 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22174
22175 2012-05-31 Mike Frysinger <vapier@gentoo.org>
22176
22177 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22178 -D_FORTIFY_SOURCE=1.
22179 (CPPFLAGS-tst-longjmp_chk.c): Define.
22180 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22181 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22182 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22183 CFLAGS-tst-wchar-h.c.
22184
22185 2012-05-31 Marek Polacek <polacek@redhat.com>
22186
22187 [BZ #14132]
22188 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22189 __endmntent_internal): Remove declaration.
22190 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22191 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22192 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22193
22194 2012-05-30 David S. Miller <davem@davemloft.net>
22195
22196 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22197 (___Q_simulate_exceptions): Use real FP ops rather than writing
22198 into the %fsr.
22199 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22200 Likewise.
22201
22202 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22203
22204 [BZ #14117]
22205 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22206 * sysdeps/x86/bits/xtitypes.h: This.
22207
22208 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22209 * sysdeps/x86/bits/wordsize.h: This.
22210
22211 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22212 * sysdeps/x86/bits/huge_vall.h: This.
22213
22214 * sysdeps/i386/bits/select.h: Removed.
22215 * sysdeps/x86_64/bits/select.h: Renamed to ...
22216 * sysdeps/x86/bits/select.h: This.
22217
22218 * sysdeps/i386/bits/setjmp.h: Removed.
22219 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22220 * sysdeps/x86/bits/setjmp.h: This.
22221
22222 * sysdeps/i386/bits/mathdef.h: Removed.
22223 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22224 * sysdeps/x86/bits/mathdef.h: This.
22225
22226 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22227
22228 [BZ #14132]
22229 * include/sys/socket.h (__connect_internal)
22230 (__libc_sa_len_internal): Remove declaration.
22231 (__connect, __libc_sa_len): Declare hidden_proto.
22232 (SA_LEN): Remove use of INTUSE.
22233 * socket/connect.c: Add libc_hidden_def.
22234 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22235 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22236 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22237 alias.
22238 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22239 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22240 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22241 of adding _internal alias.
22242
22243 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22244
22245 [BZ #14117]
22246 * sysdeps/i386/bits/link.h: Removed.
22247 * sysdeps/i386/bits/linkmap.h: Likewise.
22248 * sysdeps/x86_64/bits/link.h: Renamed to ...
22249 * sysdeps/x86/bits/link.h: This.
22250 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22251 * sysdeps/x86/bits/linkmap.h: This.
22252
22253 * sysdeps/i386/bits/endian.h: Removed.
22254 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22255 * sysdeps/x86/bits/endian.h: This.
22256
22257 * sysdeps/i386/bits/byteswap.h: Removed.
22258 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22259 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22260 * sysdeps/x86/bits/byteswap.h: This.
22261 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22262 * sysdeps/x86/bits/byteswap-16.h: This.
22263 * sysdeps/i386/Implies: Add x86.
22264 * sysdeps/x86_64/Implies: Likewise.
22265
22266 2012-05-30 David S. Miller <davem@davemloft.net>
22267
22268 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22269 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22270 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22271 (FP_TRAPPING_EXCEPTIONS): Define.
22272 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22273 (FP_TRAPPING_EXCEPTIONS): Define.
22274 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22275 subnormals only when inexact has been signalled or underflow
22276 exceptions are enabled.
22277 (_FP_PACK_CANONICAL): Likewise.
22278
22279 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22280
22281 [BZ #14183]
22282 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22283 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22284
22285 2012-05-30 Richard Henderson <rth@twiddle.net>
22286
22287 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22288 with #ifndef NOT_IN_libc.
22289
22290 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22291 marked to avoid plt entry.
22292
22293 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22294
22295 [BZ #14112]
22296 * Makeconfig (default-abi): New macro.
22297 (abi-includes): Likewise.
22298 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22299 $(abi-$(default-abi)-lib-soname) for soname if defined.
22300 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22301 abi-variants.
22302 * Makefile (installed-stubs): Likewise.
22303 * include/stubs-biarch.h: Removed.
22304 * scripts/lib-names.awk: Only handle one library at a time.
22305 * scripts/soversions.awk: Remove WORDSIZE support.
22306 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22307 entries.
22308 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22309 Removed.
22310 (syscall-list-default-condition): Likewise.
22311 (syscall-list-default-condition): Likewise.
22312 (syscall-list-includes): Likewise.
22313 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22314 syscall-list-* with abi-*. Handle undefined abi-variants.
22315 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22316 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22317 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22318 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22319 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22320 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22321 Removed.
22322 (syscall-list-32-options): Likewise.
22323 (syscall-list-32-condition): Likewise.
22324 (syscall-list-64-options): Likewise.
22325 (syscall-list-64-condition): Likewise.
22326 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22327 macro.
22328 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22329 Renamed to ...
22330 (abi-*): This.
22331 (abi-64-ld-soname): New macro.
22332 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22333 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22334 Renamed to ...
22335 (abi-*): This.
22336 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22337 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22338
22339 2012-05-30 Joseph Myers <joseph@codesourcery.com>
22340
22341 * sysdeps/unix/sysv/linux/kernel-features.h
22342 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22343 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22344 include <kernel-features.h>.
22345 [!__NR_ftruncate64]: Remove conditional code.
22346 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22347 [__NR_ftruncate64]: Make code unconditional.
22348 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22349 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22350 include <kernel-features.h>.
22351 [!__NR_ftruncate64]: Remove conditional code.
22352 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22353 [__NR_ftruncate64]: Make code unconditional.
22354 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22356 include <kernel-features.h>.
22357 [!__NR_ftruncate64]: Remove conditional code.
22358 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22359 [__NR_ftruncate64]: Make code unconditional.
22360 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22362 include <kernel-features.h>.
22363 [!__NR_ftruncate64]: Remove conditional code.
22364 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22365 [__NR_ftruncate64]: Make code unconditional.
22366 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22367
22368 * configure.in (libc_cv_fpie): Weaken to a compile test using
22369 LIBC_TRY_CC_OPTION.
22370 * configure: Regenerated.
22371
22372 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22373
22374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22378 Refreshed.
22379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22385 Refreshed.
22386
22387 2012-05-27 David S. Miller <davem@davemloft.net>
22388
22389 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22390 (___Q_zero): New.
22391 (__Q_simulate_exceptions): Return void. Change to simulate
22392 exceptions by writing into the %fsr.
22393 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22394 (__Qp_handle_exceptions): Likewise.
22395 (numbers): Delete.
22396 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22397 __Qp_handle_exceptions.
22398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22399 __Qp_handle_exceptions.
22400 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22401 as unused and give dummy FP_RND_NEAREST initializer.
22402 (FP_INHIBIT_RESULTS): Define.
22403 (___Q_simulate_exceptions): Update declaration.
22404 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22405 formatting.
22406 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22407 as unused and give dummy FP_RND_NEAREST initializer.
22408 (__Qp_handle_exceptions): Update declaration.
22409 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22410 formatting.
22411
22412 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22413
22414 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22415 the temporary FPU control word.
22416 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22417 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22418 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22419 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22420 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22421 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22422 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22423 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22424 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22425 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22426 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22427
22428 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22429
22430 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22431 fields.
22432
22433 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22434
22435 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22436 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22437 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22438 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22439 Likewise.
22440 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22441 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22442 Likewise.
22443
22444 2012-05-27 Ulrich Drepper <drepper@gmail.com>
22445
22446 * po/h.po: Update from translation team.
22447
22448 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22449
22450 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22451
22452 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22453 handling of denormals.
22454 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22455 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22456 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22457 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22458 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22459 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22460 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22461 Likewise.
22462
22463 2012-05-26 Marek Polacek <polacek@redhat.com>
22464
22465 [BZ #14152]
22466 * math/libm-test.inc (fma_test): Don't always expect underflow
22467 exception.
22468
22469 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22470
22471 [BZ #12416]
22472 * elf/tst-execstack.c: Include stackinfo.h.
22473 (do_test): Adjust test case to ensure that pthread_getattr_np
22474 behaviour remains the same after marking stack executable.
22475
22476 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22477
22478 * sysdeps/unix/sysv/linux/kernel-features.h
22479 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22480 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22481 kernel-features.h.
22482 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22483 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22484 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22485 kernel-features.h.
22486 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22487 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22488
22489 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22490
22491 * configure.in: Define the default includes to being none.
22492 * configure: Regenerated.
22493
22494 2012-05-25 Roland McGrath <roland@hack.frob.com>
22495
22496 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22497 * sysdeps/x86_64/setjmp.S: Likewise.
22498 * sysdeps/i386/bsd-setjmp.S: Likewise.
22499 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22500 * sysdeps/i386/setjmp.S: Likewise.
22501 * sysdeps/i386/__longjmp.S: Likewise.
22502 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22503 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22504
22505 * include/stap-probe.h: New file.
22506 * configure.in: Handle --enable-systemtap.
22507 * configure: Regenerated.
22508 * config.h.in (USE_STAP_PROBE): New #undef.
22509 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22510 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22511 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22512
22513 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22514
22515 [BZ #13717]
22516 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22517 to 2.4.0 where earlier.
22518 * sysdeps/unix/sysv/linux/configure: Regenerated.
22519 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22520 <kernel-features.h>.
22521 [__ASSUME_32BITUIDS]: Make code unconditional.
22522 [!__ASSUME_32BITUIDS]: Remove conditional code.
22523 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22524 <kernel-features.h>.
22525 [__ASSUME_32BITUIDS]: Make code unconditional.
22526 [!__ASSUME_32BITUIDS]: Remove conditional code.
22527 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22528 [__ASSUME_32BITUIDS]: Make code unconditional.
22529 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22530 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22531 <kernel-features.h>.
22532 [__ASSUME_32BITUIDS]: Make code unconditional.
22533 [!__ASSUME_32BITUIDS]: Remove conditional code.
22534 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22535 <kernel-features.h>.
22536 [__ASSUME_32BITUIDS]: Make code unconditional.
22537 [!__ASSUME_32BITUIDS]: Remove conditional code.
22538 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22539 <kernel-features.h>.
22540 [__ASSUME_32BITUIDS]: Make code unconditional.
22541 [!__ASSUME_32BITUIDS]: Remove conditional code.
22542 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22543 <kernel-features.h>.
22544 [__ASSUME_32BITUIDS]: Make code unconditional.
22545 [!__ASSUME_32BITUIDS]: Remove conditional code.
22546 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22547 <kernel-features.h>.
22548 [__ASSUME_32BITUIDS]: Make code unconditional.
22549 [!__ASSUME_32BITUIDS]: Remove conditional code.
22550 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22551 <kernel-features.h>.
22552 [__ASSUME_32BITUIDS]: Make code unconditional.
22553 [!__ASSUME_32BITUIDS]: Remove conditional code.
22554 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22555 <kernel-features.h>.
22556 [__ASSUME_32BITUIDS]: Make code unconditional.
22557 [!__ASSUME_32BITUIDS]: Remove conditional code.
22558 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22559 <kernel-features.h>.
22560 [__ASSUME_32BITUIDS]: Make code unconditional.
22561 [!__ASSUME_32BITUIDS]: Remove conditional code.
22562 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22563 <kernel-features.h>.
22564 [__ASSUME_32BITUIDS]: Make code unconditional.
22565 [!__ASSUME_32BITUIDS]: Remove conditional code.
22566 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22567 <kernel-features.h>.
22568 [__ASSUME_32BITUIDS]: Make code unconditional.
22569 [!__ASSUME_32BITUIDS]: Remove conditional code.
22570 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22571 <kernel-features.h>.
22572 [__NR_setresgid] (__setresgid): Do not declare.
22573 [__ASSUME_32BITUIDS]: Make code unconditional.
22574 [!__ASSUME_32BITUIDS]: Remove conditional code.
22575 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22576 <kernel-features.h>.
22577 [__NR_setresuid] (__setresuid): Do not declare.
22578 [__ASSUME_32BITUIDS]: Make code unconditional.
22579 [!__ASSUME_32BITUIDS]: Remove conditional code.
22580 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22581 <kernel-features.h>.
22582 [__ASSUME_32BITUIDS]: Make code unconditional.
22583 [!__ASSUME_32BITUIDS]: Remove conditional code.
22584 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22585 <kernel-features.h>.
22586 [__ASSUME_32BITUIDS]: Make code unconditional.
22587 [!__ASSUME_32BITUIDS]: Remove conditional code.
22588 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22589 <kernel-features.h>.
22590 [__ASSUME_32BITUIDS]: Make code unconditional.
22591 [!__ASSUME_32BITUIDS]: Remove conditional code.
22592 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22593 <kernel-features.h>.
22594 [__ASSUME_32BITUIDS]: Make code unconditional.
22595 [!__ASSUME_32BITUIDS]: Remove conditional code.
22596 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22597 <kernel-features.h>.
22598 [__ASSUME_32BITUIDS]: Make code unconditional.
22599 [!__ASSUME_32BITUIDS]: Remove conditional code.
22600 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22601 <kernel-features.h>.
22602 [__ASSUME_32BITUIDS]: Make code unconditional.
22603 [!__ASSUME_32BITUIDS]: Remove conditional code.
22604 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22605 <kernel-features.h>.
22606 [__ASSUME_32BITUIDS]: Make code unconditional.
22607 [!__ASSUME_32BITUIDS]: Remove conditional code.
22608 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22609 <kernel-features.h>.
22610 [__ASSUME_32BITUIDS]: Make code unconditional.
22611 [!__ASSUME_32BITUIDS]: Remove conditional code.
22612 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22613 <kernel-features.h>.
22614 [__ASSUME_32BITUIDS]: Make code unconditional.
22615 [!__ASSUME_32BITUIDS]: Remove conditional code.
22616 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22617 <kernel-features.h>.
22618 [__ASSUME_32BITUIDS]: Make code unconditional.
22619 [!__ASSUME_32BITUIDS]: Remove conditional code.
22620 * sysdeps/unix/sysv/linux/kernel-features.h
22621 (__ASSUME_SETRESUID_SYSCALL): Remove.
22622 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22623 (__ASSUME_32BITUIDS): Likewise.
22624 (__ASSUME_LDT_WORKS): Likewise.
22625 (__ASSUME_O_DIRECTORY): Likewise.
22626 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22627 architecture but not kernel version.
22628 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22629 (__ASSUME_MMAP2_SYSCALL): Likewise.
22630 (__ASSUME_STAT64_SYSCALL): Likewise.
22631 (__ASSUME_IPC64): Likewise.
22632 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22633 <kernel-features.h>.
22634 [__ASSUME_32BITUIDS]: Make code unconditional.
22635 [!__ASSUME_32BITUIDS]: Remove conditional code.
22636 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22637 <kernel-features.h>.
22638 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22639 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22640 132096]: Remove conditional code.
22641 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22642 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22643 <kernel-features.h>.
22644 [__ASSUME_32BITUIDS]: Make code unconditional.
22645 [!__ASSUME_32BITUIDS]: Remove conditional code.
22646 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22647 <kernel-features.h>.
22648 [__ASSUME_32BITUIDS]: Make code unconditional.
22649 [!__ASSUME_32BITUIDS]: Remove conditional code.
22650 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22651 <kernel-features.h>.
22652 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22653 unconditional.
22654 (__setresgid): Do not declare.
22655 [__ASSUME_32BITUIDS]: Make code unconditional.
22656 [!__ASSUME_32BITUIDS]: Remove conditional code.
22657 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22658 <kernel-features.h>.
22659 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22660 unconditional.
22661 (__setresuid): Do not declare.
22662 [__ASSUME_32BITUIDS]: Make code unconditional.
22663 [!__ASSUME_32BITUIDS]: Remove conditional code.
22664 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22665 <kernel-features.h>.
22666 [__ASSUME_32BITUIDS]: Make code unconditional.
22667 [!__ASSUME_32BITUIDS]: Remove conditional code.
22668 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22669 <kernel-features.h>.
22670 [__ASSUME_32BITUIDS]: Make code unconditional.
22671 [!__ASSUME_32BITUIDS]: Remove conditional code.
22672
22673 2012-05-25 Richard Henderson <rth@twiddle.net>
22674
22675 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22676 dl_hwcap to ifunc resolver.
22677 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22678 elf_ifunc_invoke.
22679 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22680 dl_hwcap to ifunc resolver.
22681 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22682
22683 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22684
22685 [BZ #14153]
22686 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22687 for |x| <= 2**-26, not 2**-57.
22688 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22689 exception.
22690
22691 2012-05-24 Jeff Law <law@redhat.com>
22692
22693 * stdio-common/Makefile (tests): Add bug25.
22694 * stdio-common/bug25.c: New test.
22695
22696 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22697
22698 [BZ #13576]
22699 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22700 multiple of MALLOC_ALIGNMENT in size.
22701 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22702
22703 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22704
22705 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22706 Require >= 256.
22707 (FILENAME_MAX): Use macro-int-constant.
22708 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22709 (_IOFBF): Use macro-int-constant.
22710 (_IOLBF): Likewise.
22711 (_IONBF): Likewise.
22712 (SEEK_CUR): Likewise.
22713 (SEEK_END): Likewise.
22714 (SEEK_SET): Likewise.
22715 (TMP_MAX): Likewise.
22716 (EOF): Use macro-int-constant. Require < 0.
22717 (NULL): Use macro-constant. Require == 0.
22718 (stdin): Require type to be FILE *.
22719 (stdout): Likewise.
22720 (stderr): Likewise.
22721 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22722 macro-int-constant.
22723 (EXIT_SUCCESS): Likewise.
22724 (NULL): Use macro-constant. Require == 0.
22725 (RAND_MAX): Use macro-int-constant.
22726 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22727 [C99-based standards] (strtof): Require function.
22728 [C99-based standards] (strtold): Likewise.
22729 [C99-based standards] (strtoll): Likewise.
22730 [C99-based standards] (strtoull): Likewise.
22731 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22732 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22733 [ISO || ISO99 || ISO11] (math.h): Likewise.
22734 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22735 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22736 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22737
22738 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22739
22740 [BZ #14132]
22741 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22742 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22743 * intl/dgettext.c (DCGETTEXT): Likewise.
22744 * intl/gettext.c (DCGETTEXT): Likewise.
22745 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22746 * posix/regex_internal.h (gettext): Likewise.
22747 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22748 Remove declaration.
22749 * include/argz.h (__argz_count_internal)
22750 (__argz_stringify_internal): Remove declaration.
22751 (__argz_count, __argz_stringify): Declare hidden proto.
22752 * intl/dcgettext.c: Remove use of INTDEF.
22753 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22754 * string/argz-stringify.c: Likewise.
22755 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22756 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22757 Declare hidden proto.
22758 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22759 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22760 Declare hidden proto.
22761 * include/stdio.h (__asprintf_internal): Don't declare.
22762 (__asprintf): Don't define as macro. Declare hidden proto.
22763 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22764 (__fsetlocking): Declare hidden proto.
22765 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22766 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22767 hidden proto.
22768 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22769 (_IO_setlinebuf): Remove use of INTUSE.
22770 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22771 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22772 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22773 Remove declaration.
22774 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22775 (_IO_do_flush): Remove use of INTUSE.
22776 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22777 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22778 (_IO_adjust_column, _IO_least_wmarker)
22779 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22780 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22781 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22782 (_IO_default_doallocate, _IO_wdefault_doallocate)
22783 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22784 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22785 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22786 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22787 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22788 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22789 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22790 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22791 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22792 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22793 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22794 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22795 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22796 proto.
22797 (_IO_flush_all_internal, _IO_adjust_column_internal)
22798 (_IO_default_uflow_internal, _IO_default_finish_internal)
22799 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22800 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22801 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22802 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22803 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22804 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22805 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22806 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22807 (_IO_file_close_internal, _IO_file_close_it_internal)
22808 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22809 (_IO_file_init_internal, _IO_file_attach_internal)
22810 (_IO_file_fopen_internal, _IO_file_read_internal)
22811 (_IO_file_sync_internal, _IO_file_seek_internal)
22812 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22813 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22814 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22815 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22816 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22817 (_IO_list_all_internal, _IO_link_in_internal)
22818 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22819 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22820 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22821 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22822 (_IO_do_write_internal, _IO_padn_internal)
22823 (_IO_getline_info_internal, _IO_getline_internal)
22824 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22825 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22826 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22827 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22828 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22829 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22830 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22831 with libc_hidden_ver, remove use of INTUSE.
22832 * libio/genops.c: Likewise.
22833 * libio/freopen.c: Likewise.
22834 * libio/freopen64.c: Likewise.
22835 * libio/iofclose.c: Likewise.
22836 * libio/iofdopen.c: Likewise.
22837 * libio/iofflush.c: Likewise.
22838 * libio/iofflush_u.c: Likewise.
22839 * libio/iofgets.c: Likewise.
22840 * libio/iofgets_u.c: Likewise.
22841 * libio/iofopen.c: Likewise.
22842 * libio/iofopncook.c: Likewise.
22843 * libio/iofread.c: Likewise.
22844 * libio/iofread_u.c: Likewise.
22845 * libio/ioftell.c: Likewise.
22846 * libio/iofwrite.c: Likewise.
22847 * libio/iogetline.c: Likewise.
22848 * libio/iogets.c: Likewise.
22849 * libio/iogetwline.c: Likewise.
22850 * libio/iopadn.c: Likewise.
22851 * libio/iopopen.c: Likewise.
22852 * libio/ioseekoff.c: Likewise.
22853 * libio/ioseekpos.c: Likewise.
22854 * libio/iosetbuffer.c: Likewise.
22855 * libio/iosetvbuf.c: Likewise.
22856 * libio/ioungetc.c: Likewise.
22857 * libio/ioungetwc.c: Likewise.
22858 * libio/iovdprintf.c: Likewise.
22859 * libio/iovsprintf.c: Likewise.
22860 * libio/iovsscanf.c: Likewise.
22861 * libio/memstream.c: Likewise.
22862 * libio/obprintf.c: Likewise.
22863 * libio/oldfileops.c: Likewise.
22864 * libio/oldiofclose.c: Likewise.
22865 * libio/oldiofdopen.c: Likewise.
22866 * libio/oldiofopen.c: Likewise.
22867 * libio/oldiopopen.c: Likewise.
22868 * libio/oldstdfiles.c: Likewise.
22869 * libio/putc.c: Likewise.
22870 * libio/setbuf.c: Likewise.
22871 * libio/setlinebuf.c: Likewise.
22872 * libio/stdfiles.c: Likewise.
22873 * libio/strops.c: Likewise.
22874 * libio/vasprintf.c: Likewise.
22875 * libio/vscanf.c: Likewise.
22876 * libio/vsnprintf.c: Likewise.
22877 * libio/vswprintf.c: Likewise.
22878 * libio/wfiledoalloc.c: Likewise.
22879 * libio/wfileops.c: Likewise.
22880 * libio/wgenops.c: Likewise.
22881 * libio/wmemstream.c: Likewise.
22882 * libio/wstrops.c: Likewise.
22883 * libio/__fpurge.c: Likewise.
22884 * libio/__fsetlocking.c: Likewise.
22885 * assert/assert.c: Likewise.
22886 * debug/fgets_chk.c: Likewise.
22887 * debug/fgets_u_chk.c: Likewise.
22888 * debug/fread_chk.c: Likewise.
22889 * debug/fread_u_chk.c: Likewise.
22890 * debug/gets_chk.c: Likewise.
22891 * debug/obprintf_chk.c: Likewise.
22892 * debug/vasprintf_chk.c: Likewise.
22893 * debug/vdprintf_chk.c: Likewise.
22894 * debug/vsnprintf_chk.c: Likewise.
22895 * debug/vsprintf_chk.c: Likewise.
22896 * malloc/mtrace.c: Likewise.
22897 * misc/error.c: Likewise.
22898 * misc/syslog.c: Likewise.
22899 * stdio-common/asprintf.c: Likewise.
22900 * stdio-common/fxprintf.c: Likewise.
22901 * stdio-common/getw.c: Likewise.
22902 * stdio-common/isoc99_fscanf.c: Likewise.
22903 * stdio-common/isoc99_scanf.c: Likewise.
22904 * stdio-common/isoc99_vfscanf.c: Likewise.
22905 * stdio-common/isoc99_vscanf.c: Likewise.
22906 * stdio-common/isoc99_vsscanf.c: Likewise.
22907 * stdio-common/printf-prs.c: Likewise.
22908 * stdio-common/printf_fp.c: Likewise.
22909 * stdio-common/printf_fphex.c: Likewise.
22910 * stdio-common/printf_size.c: Likewise.
22911 * stdio-common/putw.c: Likewise.
22912 * stdio-common/scanf.c: Likewise.
22913 * stdio-common/sprintf.c: Likewise.
22914 * stdio-common/tmpfile.c: Likewise.
22915 * stdio-common/vfprintf.c: Likewise.
22916 * stdio-common/vfscanf.c: Likewise.
22917 * stdlib/strfmon_l.c: Likewise.
22918 * sunrpc/openchild.c: Likewise.
22919 * sunrpc/xdr_stdio.c: Likewise.
22920 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22921 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22922
22923 2012-05-24 Roland McGrath <roland@hack.frob.com>
22924
22925 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22926
22927 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22928 in the third column, to generate for the shared library an IFUNC
22929 that uses _dl_vdso_vsym.
22930 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22931 * Makeconfig (object-suffixes-noshared): New variable.
22932
22933 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22934 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22935 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22936 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22937
22938 [BZ #14132]
22939 * include/sys/time.h (__gettimeofday): Remove macro.
22940 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22941 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22942 Remove INTDEF.
22943 (__gettimeofday): Add libc_hidden_def.
22944 (gettimeofday): Add libc_hidden_weak.
22945 * sysdeps/mach/gettimeofday.c: Likewise.
22946 * sysdeps/posix/gettimeofday.c: Likewise.
22947 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22948 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22949 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22950 (__gettimeofday_internal): Remove strong_alias.
22951 (__gettimeofday): Add libc_hidden_def.
22952 (gettimeofday): Add libc_hidden_weak.
22953 * sysdeps/unix/syscalls.list (gettimeofday):
22954 Remove __gettimeofday_internal alias.
22955
22956 2012-05-24 Daniel Jacobowitz <drow@false.org>
22957 H.J. Lu <hongjiu.lu@intel.com>
22958
22959 [BZ #12495]
22960 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22961 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22962 (largebin_index_32_big): New.
22963 (largebin_index): Use it for 16-byte alignment.
22964 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22965 correction with front_misalign.
22966
22967 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22968
22969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22971 Likewise.
22972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22973 Likewise.
22974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22975 Likewise.
22976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22977 Likewise.
22978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22979 Likewise.
22980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22981 Likewise.
22982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22983 Likewise.
22984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22985 Likewise.
22986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22987 Likewise.
22988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22989 Likewise.
22990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22991 Likewise.
22992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22993 Likewise.
22994
22995 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22996 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22997
22998 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22999
23000 [BZ #10846]
23001 [BZ #14036]
23002 * math/libm-test.inc (exp_test): Add test from bug 14036.
23003 (pow_test): Add test from bug 10846.
23004
23005 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23006 and other flags.
23007 (special_function): Do not include flags in test name.
23008 (parse_args): Likewise.
23009 * sysdeps/i386/fpu/libm-test-ulps: Update.
23010 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23011 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23012 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23014
23015 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23016 exceptions.
23017 * math/libm-test.inc ("Philosophy"): Update comment about
23018 exception testing.
23019 (UNDERFLOW_EXCEPTION): New macro.
23020 (UNDERFLOW_EXCEPTION_OK): Likewise.
23021 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23022 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23023 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23024 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23025 (INVALID_EXCEPTION_OK): Update value.
23026 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23027 (OVERFLOW_EXCEPTION_OK): Likewise.
23028 (IGNORE_ZERO_INF_SIGN): Likewise.
23029 (test_exceptions): Handle underflow exceptions.
23030 (acos_test): Update for underflow exception expectations.
23031 (cexp_test): Likewise.
23032 (clog_test): Likewise.
23033 (clog10_test): Likewise.
23034 (csqrt_test): Likewise.
23035 (ctan_test): Likewise.
23036 (ctanh_test): Likewise.
23037 (exp_test): Likewise.
23038 (exp10_test): Likewise.
23039 (exp2_test): Likewise.
23040 (expm1_test): Likewise.
23041 (fma_test): Likewise.
23042 (j0_test): Likewise.
23043 (jn_test): Likewise.
23044 (nexttoward_test): Likewise.
23045 (pow_test): Likewise.
23046 (scalbn_test): Likewise.
23047 (scalbln_test): Likewise.
23048 (tan_test): Likewise.
23049 (y1_test): Likewise.
23050 * sysdeps/i386/fpu/libm-test-ulps: Update.
23051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23052
23053 2012-05-23 David S. Miller <davem@davemloft.net>
23054
23055 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23056 (__libc_sigaction): Remove unused local variables.
23057
23058 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23059
23060 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23061
23062 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23063
23064 mktime: avoid signed integer overflow
23065 * time/mktime.c (__mktime_internal): Do not mishandle the case
23066 where diff == INT_MIN.
23067
23068 mktime: simplify computation of average
23069 * time/mktime.c (ranged_convert): Use new time_t_avg function
23070 instead of rolling our own (probably-slower) code.
23071
23072 mktime: do not assume signed right shift propagates sign bit
23073 * time/mktime.c (isdst_differ): New static function.
23074 (__mktime_internal): No need to normalize tm_isdst now.
23075 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23076 tm_isdst values.
23077
23078 mktime: merge another wrapv change from gnulib
23079 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23080 from some compilers.
23081
23082 mktime: remove incorrect attempt at unusual arithmetics
23083 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23084 The code didn't really work on such machines anyway.
23085 (TYPE_MINIMUM): Assume two's complement.
23086 (twos_complement_arithmetic): Verify that long_int and time_t
23087 are two's complement (or unsigned, in the latter case).
23088
23089 mktime: check signed shifts on long_int and time_t, too
23090 * time/mktime.c (SHR): Check that shifts work as desired
23091 on the types long_int and time_t too, as SHR is used on
23092 such types.
23093
23094 mktime: do not assume 'long' is wide enough
23095 * time/mktime.c (verify): Move decl up.
23096 (long_int): New type.
23097 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23098 to remove assumption in the code that 'long' is wide enough to
23099 store year values. This assumption is not true on x32 and on
23100 some non-glibc platforms.
23101
23102 mktime: merge wrapv change from gnulib
23103 * time/mktime.c (WRAPV): New macro.
23104 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23105 (guess_time_tm, __mktime_internal): Do not assume that signed
23106 integer overflow wraps around; modern compilers generate code
23107 where this assumption is no longer valid.
23108
23109 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23110
23111 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23112 Replace "jmp L(pseudo_end)" with "ret".
23113 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23114 Likewise.
23115
23116 2012-05-23 Andreas Jaeger <aj@suse.de>
23117
23118 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23119 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23120
23121 2012-05-23 Andreas Jaeger <aj@suse.de>
23122 Maximilian Attems <max@stro.at>
23123
23124 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23125 New macros.
23126
23127 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23128
23129 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23130 code so that pseudo_end is just ret and the stack pointer is
23131 correct also for static library in error case.
23132
23133 2012-05-23 Joseph Myers <joseph@codesourcery.com>
23134
23135 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23136 move to syscalls.list.
23137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23141
23142 * manual/install.texi (Running make install): Do not mention Linux
23143 kernel version for which pt_chown is not needed.
23144 (Linux): Do not mention problems with nscd with 2.0 kernels.
23145 * INSTALL: Regenerated.
23146
23147 2012-05-23 Andreas Jaeger <aj@suse.de>
23148
23149 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23150 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23151 macro.
23152 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23153 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23154 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23155 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23156 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23157 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23158 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23159 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23160 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23161 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23162 * sysdeps/unix/sysv/linux/bits/in.h
23163 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23164
23165 2012-05-22 Roland McGrath <roland@hack.frob.com>
23166
23167 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23168 (PREPARE_VERSION): Just use assert instead, it will be elided
23169 under [NDEBUG] anyway.
23170
23171 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23172
23173 * sysdeps/unix/sysv/linux/Makefile: Include
23174 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23175 (sysdep_routines): Remove sysctl.
23176 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23177 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23178 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23179 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23180 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23181
23182 2012-05-22 Andreas Jaeger <aj@suse.de>
23183
23184 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23185 that pseudo_end is just ret and the stack pointer is correct also
23186 for static library in error case.
23187
23188 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23189
23190 [BZ #14122]
23191 * nss/nsswitch.c (defconfig_entries): New variable.
23192 (__nss_database_lookup): Don't leak defconfig entries.
23193 (nss_parse_service_list): Don't leak on error paths.
23194 (free_database_entries): New function.
23195 (free_defconfig): New function.
23196 (free_mem): Move common code to free_database_entries.
23197
23198 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23199
23200 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23201 Add arch_prctl.
23202 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23203
23204 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23205 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23206 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23207 New macro.
23208 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23209 (INTERNAL_SYSCALL_TYPES): Likewise.
23210 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23211 (LOAD_REGS_TYPES_[1-6]): Likewise.
23212 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23213 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23214
23215 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23216
23217 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23218 copysignl for GLIBC_2_0.
23219 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23220 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23221 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23222 logbl for GLIBC_2_0.
23223 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23224 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23225
23226 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23227
23228 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23229 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23230
23231 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23232 Use "neg %eax".
23233
23234 * time/mktime.c: Update copyright years.
23235
23236 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23237
23238 mktime: merge comment-quoting-style change from gnulib
23239 * time/mktime.c: Quote 'like this' in comments.
23240 The GNU coding standards suggest that we no longer quote `like this',
23241 as "`" and "'" are typically rendered asymmetrically nowadays.
23242 The typical gnulib style is to quote 'like this' when quoting
23243 code, and "like this" when quoting English.
23244
23245 * time/mktime.c (compile-command): Add "-I.".
23246
23247 mktime: merge mktime-internal.h change from gnulib
23248 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23249
23250 mktime: merge time_r change from gnulib
23251 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23252
23253 mktime: merge DEBUG change from gnulib
23254 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23255 case system <time.h> has a #define.
23256
23257 mktime: merge <sys/types.h> change from gnulib
23258 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23259 since <time.t> is now guaranteed to define time_t.
23260
23261 mktime: merge HAVE_CONFIG_H change from gnulib
23262 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23263
23264 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23265
23266 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23267 Use "neg %eax".
23268
23269 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23270 __rlim_t cast.
23271 (struct rusage): Use anonymous union to pad each field to
23272 __syscall_slong_t.
23273
23274 2012-05-21 David S. Miller <davem@davemloft.net>
23275
23276 * Makefules (o-iterator): Remove .s cases.
23277 (compile-command.s): Delete.
23278 (COMPILE.s): Delete.
23279 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23280
23281 2012-05-21 Joseph Myers <joseph@codesourcery.com>
23282
23283 * configure.in (libc_cv_predef_stack_protector): Only consider
23284 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23285 * configure: Regenerated.
23286
23287 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23288
23289 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23290 New macro. Use R*LP on int and pointer.
23291 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23292 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23293 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23294 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23295
23296 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23297 [__WORDSIZE_TIME64_COMPAT32] instead of
23298 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23299 (struct utmp): Likewise.
23300 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23301 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23302 Renamed to ...
23303 (__WORDSIZE_TIME64_COMPAT32): This.
23304 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23305 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23306 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23307 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23308 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23309 (__WORDSIZE_TIME64_COMPAT32): New macro.
23310
23311 2012-05-21 Andreas Jaeger <aj@suse.de>
23312
23313 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23314 only if [SHARED]. Add prototype for __wcschr_ia32.
23315
23316 2012-05-21 Roland McGrath <roland@hack.frob.com>
23317
23318 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23319 of %rbp unmolested in the jmp_buf while mangling the low bits.
23320 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23321 unmolested high bits of %rbp while demangling the low bits.
23322 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23323
23324 2012-05-21 Andreas Jaeger <aj@suse.de>
23325
23326 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23327 * sunrpc/svc_simple.c: Use it for registerrpc.
23328 * sunrpc/xcrypt.c: Use it for passwd2des.
23329
23330 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23331
23332 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23333
23334 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23335 Don't define if [__SYSCALL_WORDSIZE != 32].
23336 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23337 New macro.
23338
23339 2012-05-21 Bruno Haible <bruno@clisp.org>
23340 Andreas Jaeger <aj@suse.de>
23341
23342 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23343 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23344 inptr and inend for must_buffer_ch.
23345 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23346 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23347 * stdio-common/Makefile (tests): Remove bug15.
23348 (bug15-ENV): Remove macro.
23349 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23350 anymore.
23351
23352 2012-05-19 Andreas Jaeger <aj@suse.de>
23353 Roland McGrath <roland@hack.frob.com>
23354
23355 * manual/contrib.texi: Completely rewritten. It contains now an
23356 alphabetical list of contributors and their contributions.
23357
23358 2012-05-21 Richard Henderson <rth@twiddle.net>
23359
23360 * misc/getauxval.c (__getauxval): Use unsigned long int.
23361 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23362 (getauxval): Use unsigned long int.
23363
23364 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23365
23366 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23367
23368 2012-05-21 Roland McGrath <roland@hack.frob.com>
23369
23370 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23371 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23372 __alignof__ (long double).
23373
23374 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23375
23376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23377
23378 2012-05-20 Richard Henderson <rth@twiddle.net>
23379
23380 * misc/getauxval.c: New file.
23381 * misc/sys/auxv.h: New file.
23382 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23383 (routines): Add getauxval.
23384 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23385 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23386 * elf/dl-sysdep.c (_dl_auxv): Remove.
23387 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23388 * elf/dl-support.c (_dl_auxv): New variable.
23389 (_dl_aux_init): Initialize it.
23390 * manual/startup.texi (Auxiliary Vector): New node.
23391 * sysdeps/generic/bits/hwcap.h: New file.
23392 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23393 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23394 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23395 * sysdeps/sparc/sysdep.h: ... here. Include it.
23396 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23397 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23399 Update.
23400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23403 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23408
23409 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23410
23411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23412
23413 2012-05-19 David S. Miller <davem@davemloft.net>
23414
23415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23416
23417 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23418
23419 [BZ #14123]
23420 * math/s_ccosh.c: Include <float.h>
23421 (__ccosh): Avoid internal overflow calculating sinh and cosh
23422 values before multiplying by sin and cos values.
23423 * math/s_ccoshf.c: Likewise.
23424 * math/s_ccoshl.c: Likewise.
23425 * math/s_csin.c: Likewise.
23426 * math/s_csinf.c: Likewise.
23427 * math/s_csinl.c: Likewise.
23428 * math/s_csinh.c: Likewise.
23429 * math/s_csinhf.c: Likewise.
23430 * math/s_csinhl.c: Likewise.
23431 * math/libm-test.inc (ccos_test): Add more tests.
23432 (ccosh_test): Likewise.
23433 (csin_test): Likewise.
23434 (csinh_test): Likewise.
23435 * sysdeps/i386/fpu/libm-test-ulps: Update.
23436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23437
23438 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23439
23440 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23441 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23442
23443 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23444
23445 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23446
23447 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23448 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23449 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23450 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23451 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23452 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23453 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23454 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23455 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23456 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23457 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23458 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23459 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23460 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23461 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23462 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23463 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23464 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23465 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23466 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23467 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23468 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23469 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23470 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23471 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23472 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23473 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23474 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23475 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23476 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23477 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23478
23479 2012-05-18 Andreas Jaeger <aj@suse.de>
23480
23481 * csu/.gitignore: Delete.
23482
23483 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23484
23485 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23486 (timex): Use __syscall_slong_t.
23487
23488 2012-05-18 Andreas Jaeger <aj@suse.de>
23489 Carlos O'Donell <carlos_odonell@mentor.com>
23490
23491 * manual/install.texi (Configuring and compiling): Update
23492 description about files modified in the source directory.
23493 * INSTALL: Regenerated.
23494
23495 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23496
23497 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23498 value. Use "or" to set return value to -1.
23499 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23500 negate return value.
23501
23502 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23503
23504 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23505 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23506 failure if the compiler has Graphite support disabled.
23507 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23508 Likewise.
23509 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23510 CFLAGS-memmove.c): Likewise.
23511 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23512 Likewise.
23513
23514 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23515
23516 * sysdeps/x86_64/x32/_itoa.h: New file.
23517
23518 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23519 getdents system call only if kernel and user dirents have the
23520 same d_ino and d_off.
23521
23522 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23523 LLONG_MAX != LONG_MAX.
23524 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23525 (_fitoa_word): Likewise.
23526
23527 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23528 years.
23529 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23530 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23531 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23532
23533 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23534 include <bits/wordsize.h>. Check __x86_64__ instead of
23535 __WORDSIZE.
23536 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23537 if __x86_64__ is defined. Use anonymous union on fpstate.
23538
23539 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23540 anonymous union.
23541
23542 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23543
23544 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23545 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23546 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23547 Refer to _rtld_local_ro instead of _rtld_global_ro.
23548 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23549 Likewise.
23550 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23551 Likewise.
23552 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23553 Likewise.
23554 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23555 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23556 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23557
23558 * sysdeps/powerpc/powerpc32/dl-machine.c
23559 (__elf_machine_runtime_setup) [PROF]: Don't reference
23560 _dl_prof_resolve.
23561
23562 2012-05-18 Andreas Jaeger <aj@suse.de>
23563
23564 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23565 function only available for GCCs before 3.4 since GCC 3.4
23566 introduced a builtin.
23567 (lrint): Likewise.
23568 (llrintf): Likewise.
23569 (llrint): Likewise.
23570 (fmaxf): Likewise.
23571 (fmax): Likewise.
23572 (fminf): Likewise.
23573 (fmin): Likewise.
23574 (rint): Likewise.
23575 (rintf): Likewise.
23576 (nearbyint): Likewise.
23577 (nearbyintf): Likewise.
23578 (ceil): Likewise.
23579 (ceilf): Likewise.
23580 (floor): Likewise.
23581 (floorf): Likewise.
23582
23583 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23584
23585 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23586 on both fields and cast pointer to __syscall_ulong_t.
23587
23588 * bits/types.h (__fsword_t): New type.
23589 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23590 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23591 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23592 (__FSWORD_T_TYPE): Likewise.
23593 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23594 (__FSWORD_T_TYPE): Likewise.
23595 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23596 (__FSWORD_T_TYPE): Likewise.
23597 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23598 (__FSWORD_T_TYPE): Likewise.
23599 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23600 __SWORD_TYPE with __fsword_t.
23601 (statfs64): Likewise.
23602
23603 2012-05-17 David S. Miller <davem@davemloft.net>
23604
23605 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23606
23607 2012-05-17 Andreas Jaeger <aj@suse.de>
23608
23609 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23610 warning.
23611
23612 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23613
23614 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23615
23616 2012-05-17 Andreas Jaeger <aj@suse.de>
23617
23618 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23619 when it is used.
23620
23621 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23622
23623 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23624
23625 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23626
23627 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23628 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23629
23630 2012-05-17 Andreas Jaeger <aj@suse.de>
23631 Carlos O'Donell <carlos_odonell@mentor.com>
23632
23633 [BZ #14059]
23634 * sysdeps/x86_64/multiarch/init-arch.h
23635 (bit_YMM_Usable): Rename to...
23636 (bit_AVX_Usable): ... this.
23637 (bit_FMA4_Usable): New macro.
23638 (bit_XMM_state): New macro.
23639 (bit_YMM_state): New macro.
23640 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23641 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23642 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23643 (CPUID_OSXSAVE): New macro.
23644 (CPUID_AVX): New macro.
23645 (CPUID_FMA4): New macro.
23646 (index_YMM_Usable): Rename to...
23647 (index_AVX_Usable): ... this.
23648 (HAS_AVX): Use HAS_ARCH_FEATURE.
23649 (HAS_FMA4): Likewise.
23650 (HAS_YMM_USABLE): Remove.
23651 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23652 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23653 are present.
23654 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23655 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23656 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23657 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23658 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23659
23660 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23661
23662 * math/libm-test.c: Support platforms without multiple rounding modes.
23663 * math/bug-nextafter.c: Support platforms without FP exceptions.
23664 * math/bug-nexttoward.c: Likewise.
23665 * math/test-fenv.c: Likewise.
23666 * math/test-misc.c: Likewise.
23667 * stdlib/bug-getcontext.c: Likewise.
23668
23669 2012-05-17 Andreas Jaeger <aj@suse.de>
23670
23671 * manual/examples/search.c (critter_cmp): Change signature to
23672 avoid warnings.
23673 * manual/string.texi (Collation Functions): Likewise.
23674
23675 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23676
23677 * bits/types.h: Fold copyright years.
23678 * bits/typesizes.h: Likewise.
23679 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23680 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23681 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23682 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23683 * time/time.h: Likewise.
23684
23685 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23686
23687 [BZ #208]
23688 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23689 in instead of returning them. Return void.
23690 (__libc_mallinfo): Accumulate over all arenas.
23691 (__malloc_stats): Adjust for change in int_mallinfo interface.
23692
23693 2012-05-16 Roland McGrath <roland@hack.frob.com>
23694
23695 [BZ #10375]
23696 * configure.in (NM): Add AC_CHECK_TOOL for it.
23697 (libc_extra_cflags): New substituted variable.
23698 Check for -fstack-protector being used implicitly.
23699 * configure: Regenerated.
23700 * config.make.in (config-extra-cflags): New variable,
23701 gets @libc_extra_cflags@.
23702 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23703
23704 [BZ #10375]
23705 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23706 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23707 * configure: Regenerated.
23708 * config.make.in (CPPUNDEFS): New substituted variable.
23709 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23710 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23711 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23712
23713 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23714
23715 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23716 (mq_attr): Use __syscall_slong_t.
23717
23718 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23719
23720 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23721 Check __x86_64__ instead of __WORDSIZE.
23722 (_STAT_VER_LINUX): Likewise.
23723 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23724 __syscall_ulong_t and __syscall_slong_t.
23725 (stat64): Likewise.
23726
23727 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23728
23729 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23730
23731 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23732
23733 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23734
23735 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23736
23737 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23738 __syscall_ulong_t.
23739
23740 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23741 include <bits/wordsize.h>. Check __x86_64__ instead of
23742 __WORDSIZE.
23743 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23744 defined.
23745 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23746
23747 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23748 include <bits/wordsize.h>. Check __x86_64__ instead of
23749 __WORDSIZE.
23750 (user_regs_struct): Use "__extension__ unsigned long long"
23751 instead of "unsigned long" if __x86_64__ is defined.
23752 (user): Likewise. Pad after pointer field if __ILP32__ is
23753 defined.
23754
23755 2012-05-16 Joseph Myers <joseph@codesourcery.com>
23756
23757 * configure.in (makeinfo): Require version 4.5 or later. Allow
23758 versions 5 to 9.
23759 * configure: Regenerated.
23760 * manual/install.texi (texinfo): Increase version requirement to
23761 4.5 or later.
23762 * INSTALL: Regenerated.
23763
23764 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23765
23766 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23767
23768 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23769
23770 * sysdeps/x86_64/x32/ffs.c: New file.
23771
23772 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23773 __syscall_ulong_t.
23774 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23775 defined. Use __syscall_ulong_t.
23776 (shminfo): Use __syscall_ulong_t.
23777 (shm_info): Likewise.
23778
23779 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23780 __syscall_ulong_t.
23781
23782 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23783 <bits/wordsize.h>.
23784 (msgqnum_t): Use __syscall_ulong_t.
23785 (msglen_t): Likewise.
23786 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23787 __syscall_ulong_t.
23788
23789 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23790 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23791
23792 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23793
23794 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23795 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23796
23797 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23798 __syscall_slong_t.
23799
23800 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23801 include <bits/wordsize.h>. Check __x86_64__ instead of
23802 __WORDSIZE.
23803
23804 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23805 "unsigned long long int" if __x86_64__ is defined.
23806 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23807
23808 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23809 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23810 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23811
23812 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23813 <stdint.h>.
23814 (GET_PC): Cast to uintptr_t first.
23815 (GET_FRAME): Likewise.
23816 (GET_STACK): Likewise.
23817
23818 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23819 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23820 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23821 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23822 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23823 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23824 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23825 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23826 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23827 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23828 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23829 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23830 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23831 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23832 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23833 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23834 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23835 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23836 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23837 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23838 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23839 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23840 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23841 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23842 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23843 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23844 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23845 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23846 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23847
23848 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23849
23850 * Makerules (+depfiles): Also collect depfiles from .oS in
23851 $(extra-objs).
23852 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23853 .oS, $(libnldbl-routines)).
23854
23855 * Makerules (native-compile-mkdep-flags): Define.
23856 * sunrpc/Makefile (extra-objs): Add $(addprefix
23857 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23858 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23859 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23860 calling $(make-target-directory).
23861
23862 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23863
23864 * bits/types.h (__snseconds_t): Removed.
23865 * time/time.h (struct timespec): Replace __snseconds_t with
23866 __syscall_slong_t.
23867 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23868 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23869 Likewise.
23870 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23871 (__SNSECONDS_T_TYPE): Likewise.
23872 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23873 (__SNSECONDS_T_TYPE): Likewise.
23874 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23875 (__SNSECONDS_T_TYPE): Likewise.
23876
23877 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23878
23879 * sysdeps/mach/hurd/bits/typesizes.h
23880 (__SYSCALL_SLONG_TYPE): New macro.
23881 (__SYSCALL_ULONG_TYPE): Likewise.
23882
23883 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23884
23885 * bits/types.h (__syscall_slong_t): New type.
23886 (__syscall_ulong_t): Likewise.
23887
23888 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23889 (__SYSCALL_ULONG_TYPE): Likewise.
23890 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23891 (__SYSCALL_SLONG_TYPE): Likewise.
23892 (__SYSCALL_ULONG_TYPE): Likewise.
23893 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23894 (__SYSCALL_SLONG_TYPE): Likewise.
23895 (__SYSCALL_ULONG_TYPE): Likewise.
23896 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23897 (__SYSCALL_SLONG_TYPE): Likewise.
23898 (__SYSCALL_ULONG_TYPE): Likewise.
23899
23900 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23901
23902 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23903 Add sigaltstack-offsets.sym.
23904 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23905 <sigaltstack-offsets.h>.
23906 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23907 longjmp_msg pointer.
23908 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23909 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23910 signal stack.
23911 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23912
23913 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23914
23915 * elf/stackguard-macros.h: Remove file.
23916 * sysdeps/generic/stackguard-macros.h: New file.
23917 * sysdeps/i386/stackguard-macros.h: Likewise.
23918 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23919 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23920 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23921 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23922 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23923 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23924 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23925 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23926 <elf/stackguard-macros.h>.
23927
23928 [BZ #14109]
23929 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23930 __aligned__ in attribute.
23931 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23932 (gregset_t): Likewise.
23933
23934 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23935
23936 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23937 * sysdeps/x86_64/64/Implies-after: Here. New file.
23938 * sysdeps/x86_64/x32/Implies-after: New file.
23939
23940 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23941
23942 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23943 and access return value for _dl_profile_fixup. Use R10_LP to
23944 load frame size.
23945
23946 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23947
23948 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23949
23950 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23951
23952 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23953 * sysdeps/x86_64/x32/sysdep.h: New file.
23954
23955 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23956
23957 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23958 * sysdeps/x86_64/setjmp.S: Likewise.
23959
23960 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23961
23962 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23963 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23964 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23965 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23966 remove unused global constant.
23967
23968 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23969
23970 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23971 include of <not-cancel.h>.
23972
23973 2012-05-15 Roland McGrath <roland@hack.frob.com>
23974
23975 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23976
23977 2012-05-15 Jeff Law <law@redhat.com>
23978 Andreas Jaeger <aj@suse.de>
23979
23980 [BZ #13594]
23981 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23982 out from...
23983 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23984 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23985 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23986 code changing __hst_map_handle.map.
23987
23988 2012-05-15 Roland McGrath <roland@hack.frob.com>
23989
23990 * configure.in (sysnames): Look for Implies-before and Implies-after
23991 files.
23992 * configure: Regenerated.
23993
23994 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23995
23996 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23997 8-byte data alignment with LP_SIZE alignment.
23998
23999 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24000
24001 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24002 into R10_LP.
24003
24004 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24005
24006 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24007
24008 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24009
24010 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24011 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24012 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24013 Likewise.
24014 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24015
24016 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24017
24018 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24019 (stackinfo_sub_sp): Likewise.
24020
24021 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24022
24023 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24024 RAX_LP.
24025
24026 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24027
24028 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24029 into R*_LP.
24030
24031 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24032
24033 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24034 sizes into R*_LP.
24035
24036 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24037
24038 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24039
24040 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24041
24042 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24043 into R11_LP and load __x86_64_shared_cache_size_half into
24044 R8_LP.
24045
24046 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24047
24048 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24049 R8_LP.
24050
24051 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24052
24053 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24054 logb for POWER7.
24055 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24056 logbf for POWER7.
24057 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24058 logbl for POWER7.
24059 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24060 powerpc32/power7/fpu/s_logb.c via #include.
24061 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24062 powerpc32/power7/fpu/s_logbf.c via #include.
24063 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24064 powerpc32/power7/fpu/s_logbl.c via #include.
24065
24066 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24067
24068 * README.libm: Remove file.
24069
24070 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24071
24072 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24073 count for x32. Use R*_LP and omit operand-size suffix.
24074
24075 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24076
24077 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24078 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24079 * sysdeps/x86_64/x32/shlib-versions: New file.
24080
24081 2012-05-14 Roland McGrath <roland@hack.frob.com>
24082
24083 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24084 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24085 Use _dl_fatal_printf instead.
24086
24087 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24088
24089 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24090 set if not set by the user. Do not allow for being unset.
24091 * sysdeps/unix/sysv/linux/configure: Regenerated.
24092
24093 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24094
24095 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24096 the `q' suffix from lea and replace .quad with ASM_ADDR.
24097
24098 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24099
24100 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24101 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24102 instead of $17.
24103 (PTR_DEMANGLE): Likewise.
24104
24105 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24106
24107 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24108 (LP_OP): Likewise.
24109 (ASM_ADDR): Likewise.
24110 (RAX_LP): Likewise.
24111 (RBP_LP): Likewise.
24112 (RBX_LP): Likewise.
24113 (RCX_LP): Likewise.
24114 (RDI_LP): Likewise.
24115 (RSI_LP): Likewise.
24116 (RSP_LP): Likewise.
24117 (R8_LP): Likewise.
24118 (R9_LP): Likewise.
24119 (R10_LP): Likewise.
24120 (R10_LP): Likewise.
24121 (R11_LP): Likewise.
24122 (R12_LP): Likewise.
24123 (R13_LP): Likewise.
24124 (R14_LP): Likewise.
24125 (R15_LP): Likewise.
24126
24127 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24128
24129 * sysdeps/x86_64/x32/dl-machine.h: New file.
24130
24131 2012-05-14 Andreas Jaeger <aj@suse.de>
24132
24133 * manual/Makefile (subdir): Remove export of subdir.
24134 (all): Remove target.
24135 (.PHONY): Remove all from list.
24136 (mkinstalldirs): Remove.
24137 (.PHONY): Remove installdirs from list.
24138 ($(inst_infodir)/libc.info): Use make-target-directory.
24139 (installdirs): Remove.
24140 (subdir_%): Remove.
24141 (glibc-targets): Remove.
24142 (lib): Remove.
24143 (stubs): Remove.
24144 ($(objpfx)stubs ../po/manual.pot): Remove.
24145 ($(objpfx)stamp%): Remove.
24146 (make-target-directory): Remove.
24147 (subdir_install): Remove.
24148 (routines): Remove.
24149 (aux): Remove.
24150 (sources): Remove.
24151 (objects): Remove.
24152 (headers): Remove.
24153
24154 [BZ #13750]
24155 * manual/.gitignore: Remove, it's not needed anymore.
24156 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24157 all files in it.
24158 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24159 directory.
24160 (texis): Renamed to $(objpfx)texis.
24161 (texis-path): New, contains path to generated files.
24162 (chapters.%): Use texis-path for complete path, add extra argument
24163 libc-texinfo.sh.
24164 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24165 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24166 (summary,texi, stamp-summary): Use complete path of
24167 files. Generate files in build dir.
24168 (dir-add.texi): Build in build dir.
24169 (libm-err.texi,stamp-libm-err): Likewise.
24170 (version.texi, stamp-version): Likewise.
24171 (.%c.texi): Likewise.
24172 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24173 (mostlyclean): Remove target.
24174 (realclean): Remove target.
24175 (generated): Add new variable with contents from mostlyclean and
24176 realclean, remove entries duplicated in common-mostlyclean, add
24177 stamp-libm-err and stamp-version.
24178 (generated-dirs): Add libc directory.
24179 ($(inst_infodir)/libc.info): Install files from build dir.
24180
24181 * manual/install.texi (Configuring and compiling): Adjust since
24182 the info files are not part of the tar ball anymore.
24183
24184 2012-05-14 Andreas Jaeger <aj@suse.de>
24185
24186 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24187 variable.
24188
24189 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24190
24191 [BZ #13717]
24192 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24193 to 2.2.0 where earlier.
24194 * sysdeps/unix/sysv/linux/configure: Regenerated.
24195 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24196 Remove conditional code.
24197 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24198 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24199 Remove conditional code.
24200 [!__NR_lchown]: Likewise.
24201 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24202 [__NR_lchown]: Likewise.
24203 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24204 comment referencing __ASSUME_LCHOWN_SYSCALL.
24205 * sysdeps/unix/sysv/linux/i386/sigaction.c
24206 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24207 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24208 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24209 Remove conditional code.
24210 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24211 (__protocol_available): Remove #if 0 code.
24212 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24213 conditional code.
24214 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24215 * sysdeps/unix/sysv/linux/kernel-features.h
24216 (__ASSUME_GETCWD_SYSCALL): Don't define.
24217 (__ASSUME_REALTIME_SIGNALS): Likewise.
24218 (__ASSUME_PREAD_SYSCALL): Likewise.
24219 (__ASSUME_PWRITE_SYSCALL): Likewise.
24220 (__ASSUME_POLL_SYSCALL): Likewise.
24221 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24222 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24223 non-SPARC.
24224 (__ASSUME_SIOCGIFNAME): Don't define.
24225 (__ASSUME_MSG_NOSIGNAL): Likewise.
24226 (__ASSUME_SENDFILE): Define unconditionally.
24227 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24228 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24229 conditional code.
24230 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24231 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24232 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24233 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24234 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24235 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24236 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24238 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24239 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24241 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24242 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24244 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24245 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24247 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24248 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24250 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24251 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24253 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24254 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24256 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24257 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24259 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24260 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24261 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24262 Remove conditional code.
24263 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24264 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24265 Remove conditional code.
24266 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24267 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24268 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24269 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24270 Remove conditional code.
24271 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24272 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24273 Remove conditional code.
24274 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24275 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24276 Remove conditional code.
24277 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24278 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24279 Remove conditional code.
24280 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24281 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24282 Remove conditional code.
24283 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24284 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24285 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24286 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24287 * sysdeps/unix/sysv/linux/sigaction.c
24288 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24289 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24290 * sysdeps/unix/sysv/linux/sigpending.c
24291 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24292 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24293 * sysdeps/unix/sysv/linux/sigprocmask.c
24294 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24295 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24296 * sysdeps/unix/sysv/linux/sigsuspend.c
24297 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24298 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24299 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24300 (__libc_missing_rt_sigs): Remove.
24301 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24302 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24303 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24304 Remove conditional code.
24305 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24306 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24307 return 1.
24308 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24309 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24310 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24311 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24312
24313 2012-05-14 Andreas Jaeger <aj@suse.de>
24314
24315 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24316 it's not used in glibc.
24317 (__coshm1): Likewise.
24318 (__acosh1p): Likewise.
24319 (__sgn): Likewise.
24320
24321 * manual/string.texi (Copying and Concatenation): Add missing
24322 variable in concat example.
24323 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24324
24325 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24326
24327 [BZ #14103]
24328 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24329 __builtin_clzl with __builtin_clzll.
24330
24331 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24332
24333 [BZ #14104]
24334 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24335 libc_freeres_ptr.
24336
24337 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24338
24339 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24340 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24341 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24342 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24343
24344 2012-05-14 Mike Frysinger <vapier@gentoo.org>
24345
24346 * NEWS: Update ia64 info.
24347
24348 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24349
24350 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24351 used as bcopy.
24352
24353 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24354
24355 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24356 * sysdeps/unix/syscalls.list (dup3): Likewise.
24357 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24358 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24359
24360 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24361
24362 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24363 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24364
24365 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24366
24367 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24368 thread pointer.
24369 (TLS_IE): Use mov/add instead of movq/addq to load thread
24370 pointer.
24371 (TLS_GD_PREFIX): New.
24372 (TLS_GD): Use it.
24373
24374 2012-05-11 David S. Miller <davem@davemloft.net>
24375
24376 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24377 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24378 (_FPU_SETCW): Likewise.
24379
24380 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24381
24382 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24383 is 32-byte aligned.
24384
24385 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24386
24387 [BZ #11837]
24388 * iconvdata/gb18030.c: Update tables.
24389 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24390 characters specially.
24391 (BODY for TO_LOOP): Add encoding of missing ranges.
24392
24393 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24394
24395 [BZ #13673]
24396 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24397 * sysdeps/mach/hurd/dup3.c: Likewise.
24398 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24399 * sysdeps/powerpc/memmove.c:: Likewise.
24400
24401 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24402
24403 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24404 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24405
24406 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24407
24408 * elf/elf.h (R_X86_64_RELATIVE64): New.
24409 (R_X86_64_NUM): Updated.
24410 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24411 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24412 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24413 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24414 tst-quad1pie tst-quad2pie
24415 (modules-names): Add tst-quadmod1 tst-quadmod2.
24416 ($(objpfx)tst-quad1): New dependency.
24417 ($(objpfx)tst-quad2): Likewise.
24418 ($(objpfx)tst-quad1pie): Likewise.
24419 ($(objpfx)tst-quad2pie): Likewise.
24420 * sysdeps/x86_64/tst-quad1.c: New file.
24421 * sysdeps/x86_64/tst-quad1pie.c: New file.
24422 * sysdeps/x86_64/tst-quad2.c: Likewise.
24423 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24424 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24425 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24426 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24427 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24428
24429 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24430
24431 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24432 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24433 * streams/stropts.h (t_scalar_t): Define type.
24434
24435 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24436 (_PATH_PRESERVE): Set to "/var/lib".
24437 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24438
24439 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24440 instead of int.
24441
24442 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24443 if __dir_mkfile succeeded.
24444
24445 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24446 checking for _hurd_dtablesize. Unlock it right after having
24447 finished _hurd_dtable allocation.
24448
24449 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24450
24451 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24452 * sysdeps/mach/hurd/configure: Regenerated.
24453 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24454 special-casing to...
24455 * sysdeps/gnu/configure.in: ... this new file.
24456 * sysdeps/unix/sysv/linux/configure: Regenerated.
24457 * sysdeps/gnu/configure: New generated file.
24458
24459 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24460 for Linux: use nsec instead of usec, as well as:
24461 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24462 members of type struct timespec.
24463 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24464 New macros.
24465 (struct stat64): Likewise.
24466 (_STATBUF_ST_NSEC): New macro.
24467 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24468
24469 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24470 __strtoul_internal rather than strtoul.
24471
24472 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24473
24474 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24475 and reject them.
24476
24477 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24478
24479 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24480 which preserves existing values.
24481 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24482
24483 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24484
24485 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24486 TIMEOUT values. Return EINVAL for NFDS values either negative or
24487 greater than FD_SETSIZE.
24488
24489 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24490
24491 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24492 allocated, call __vm_protect to finish enabling the existing space, and
24493 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24494 allocate the remainder.
24495
24496 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24497
24498 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24499 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24500
24501 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24502
24503 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24504 sysdeps/mach/hurd/readlink.c.
24505
24506 * posix/tst-sysconf.c (posix_options): Only use
24507 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24508 _POSIX_SYNCHRONIZED_IO when they are defined
24509 * sysdeps/mach/hurd/bits/posix_opt.h:
24510 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24511 (_XOPEN_REALTIME): Undefine macro.
24512 (_XOPEN_REALTIME_THREADS): Undefine macro.
24513 (_XOPEN_SHM): Undefine macro.
24514 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24515 macro to -1.
24516 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24517 macro to -1.
24518 (_POSIX_ASYNC_IO): Undefine macro.
24519 (_POSIX_PRIORITIZED_IO): Undefine macro.
24520 (_POSIX_SPIN_LOCKS): Define macro to -1.
24521
24522 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24523 SA_NODEFER, SA_RESETHAND.
24524 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24525 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24526 F_DUPFD_CLOEXEC.
24527
24528 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24529
24530 * elf/Makefile (pldd-modules): Define unconditionally.
24531
24532 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24533
24534 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24535
24536 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24537
24538 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24539 Return ENOENT when name is empty.
24540 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24541
24542 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24543
24544 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24545
24546 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24547
24548 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24549
24550 Fix mlock in all cases except non-readable pages.
24551 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24552 instead of VM_PROT_ALL as parameter to __vm_wire function.
24553
24554 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24555 (__mkdir): When path is `/', just fail with EEXIST.
24556 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24557
24558 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24559
24560 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24561 <sys/uio.h> (for writev).
24562 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24563 and <sys/param.h> (for MIN).
24564
24565 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24566
24567 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24568 REQUESTED_TIME. Properly set the remaining time and return EINTR
24569 if interrupted.
24570
24571 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24572
24573 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24574 Depend on against $(link-rpcuserlibs).
24575
24576 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24577
24578 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24579 (__libc_stack_end): Do not use attribute_relro.
24580 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24581 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24582 to libthread-provided value.
24583 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24584 attribute_relro.
24585
24586 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24587
24588 [BZ #3748]
24589 * bits/libc-lock.h (__libc_once_get): New macro.
24590 * sysdeps/mach/bits/libc-lock.h: Likewise.
24591 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24592 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24593 instead of using implementation details.
24594
24595 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24596 * libio/freopen.c: Likewise.
24597 * libio/freopen64.c: Likewise.
24598 * misc/syslog.c: Likewise.
24599 * nscd/connections.c: Likewise.
24600 * nscd/netgroupcache.c: Likewise.
24601 * sysdeps/posix/getcwd.c: Likewise.
24602
24603 2012-05-10 Roland McGrath <roland@hack.frob.com>
24604
24605 * math/w_ilogbf.c: Add #include <limits.h>.
24606
24607 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24608
24609 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24610 path instead of returning without unlocking.
24611
24612 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24613 immediate-write ioctls.
24614 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24615
24616 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24617
24618 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24619 __builtin_frame_address instead of making assumptions about the
24620 location of the return address relative to DATA. Force early load of
24621 the return address.
24622 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24623 __builtin_frame_address.
24624
24625 dup3 for GNU Hurd.
24626 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24627 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24628 implement dup3 and do some further code clean-ups.
24629 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24630 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24631
24632 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24633
24634 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24635
24636 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24637 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24638 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24639 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24640 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24641 d->port.lock.
24642
24643 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24644 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24645 when handler == SIG_ERR, not when handler != SIG_ERR.
24646
24647 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24648
24649 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24650 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24651 definitions.
24652
24653 accept4 for GNU Hurd.
24654 * include/sys/socket.h (__libc_accept4): New prototype.
24655 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24656 to implement __libc_accept4.
24657 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24658 __libc_accept4.
24659 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24660
24661 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24662 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24663 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24664 signal-defines.sym.
24665
24666 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24667
24668 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24669
24670 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24671
24672 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24673 assertion on O_CLOEXEC flag.
24674 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24675 * hurd/intern-fd.c: Likewise.
24676 * hurd/port2fd.c: Likewise.
24677
24678 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24679
24680 [BZ #3906]
24681 * bits/in.h (IPV6_PKTINFO): Define new macro.
24682 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24683
24684 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24685
24686 [BZ #13954]
24687 [BZ #13955]
24688 [BZ #13956]
24689 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24690 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24691 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24692 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24693 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24694 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24695 * math/libm-test.inc (logb_test) : Additional logb tests.
24696
24697 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24698 Andreas Jaeger <aj@suse.de>
24699
24700 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24701 * configure: Regenerated.
24702 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24703 * config.make.in (link-obsolete-rpc): New substituted variable.
24704 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24705 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24706 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24707 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24708 so that libc.a contains the symbols.
24709 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24710 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24711 * sunrpc/auth_none.c: Likewise.
24712 * sunrpc/auth_unix.c: Likewise.
24713 * sunrpc/authdes_prot.c: Likewise.
24714 * sunrpc/authuxprot.c: Likewise.
24715 * sunrpc/clnt_gen.c: Likewise.
24716 * sunrpc/clnt_perr.c: Likewise.
24717 * sunrpc/clnt_raw.c: Likewise.
24718 * sunrpc/clnt_simp.c: Likewise.
24719 * sunrpc/clnt_tcp.c: Likewise.
24720 * sunrpc/clnt_udp.c: Likewise.
24721 * sunrpc/clnt_unix.c: Likewise.
24722 * sunrpc/des_crypt.c: Likewise.
24723 * sunrpc/des_soft.c: Likewise.
24724 * sunrpc/get_myaddr.c: Likewise.
24725 * sunrpc/key_call.c: Likewise.
24726 * sunrpc/key_prot.c: Likewise.
24727 * sunrpc/netname.c: Likewise.
24728 * sunrpc/pm_getmaps.c: Likewise.
24729 * sunrpc/pm_getport.c: Likewise.
24730 * sunrpc/pmap_clnt.c: Likewise.
24731 * sunrpc/pmap_prot.c: Likewise.
24732 * sunrpc/pmap_prot2.c: Likewise.
24733 * sunrpc/pmap_rmt.c: Likewise.
24734 * sunrpc/publickey.c: Likewise.
24735 * sunrpc/rpc_cmsg.c: Likewise.
24736 * sunrpc/rpc_common.c: Likewise.
24737 * sunrpc/rpc_dtable.c: Likewise.
24738 * sunrpc/rpc_prot.c: Likewise.
24739 * sunrpc/rpc_thread.c: Likewise.
24740 * sunrpc/rtime.c: Likewise.
24741 * sunrpc/svc.c: Likewise.
24742 * sunrpc/svc_auth.c: Likewise.
24743 * sunrpc/svc_raw.c: Likewise.
24744 * sunrpc/svc_run.c: Likewise.
24745 * sunrpc/svc_tcp.c: Likewise.
24746 * sunrpc/svc_udp.c: Likewise.
24747 * sunrpc/svc_unix.c: Likewise.
24748 * sunrpc/svcauth_des.c: Likewise.
24749 * sunrpc/xcrypt.c: Likewise.
24750 * sunrpc/xdr.c: Likewise.
24751 * sunrpc/xdr_array.c: Likewise.
24752 * sunrpc/xdr_float.c: Likewise.
24753 * sunrpc/xdr_intXX_t.c: Likewise.
24754 * sunrpc/xdr_mem.c: Likewise.
24755 * sunrpc/xdr_rec.c: Likewise.
24756 * sunrpc/xdr_ref.c: Likewise.
24757 * sunrpc/xdr_sizeof.c: Likewise.
24758 * sunrpc/xdr_stdio.c: Likewise.
24759
24760 2012-05-10 Roland McGrath <roland@hack.frob.com>
24761
24762 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24763 change. Update copyright years.
24764
24765 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24766
24767 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24768
24769 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24770 Joseph Myers <joseph@codesourcery.com>
24771 Paul Pluzhnikov <ppluzhnikov@google.com>
24772
24773 [BZ #14012]
24774 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24775 requiring rpcgen.
24776 [cross-compiling] (extra-libs): Likewise.
24777 [cross-compiling] (extra-libs-others): Likewise.
24778 [cross-compiling] (librpcsvc-routines): Likewise.
24779 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24780 [cross-compiling] (omit-deps): Likewise.
24781 (sunrpc-CPPFLAGS): New variable.
24782 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24783 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24784 (cross-rpcgen-objs): New variable.
24785 (extra-objs): Append $(cross-rpcgen-objs).
24786 ($(cross-rpcgen-objs)): New rule.
24787 ($(objpfx)cross-rpcgen): Likewise.
24788 (rpcgen-cmd): Define to use $(built-program-file). Expand
24789 comment.
24790 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24791 ($(objpfx)x%.stmp): Likewise.
24792 * sunrpc/proto.h [IS_IN_build] (_): Define.
24793 [IS_IN_build] (_libc_intl_domainname): Likewise.
24794
24795 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24796
24797 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24798 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24799 and R_X86_64_TPOFF64.
24800
24801 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24802
24803 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24804 sysdeps/unix/sysv/syscalls.list.
24805 (stime): Likewise.
24806 (utime): Likewise.
24807 * sysdeps/unix/sysv/syscalls.list: Remove file.
24808
24809 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24810
24811 [BZ #3440]
24812 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24813 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24814 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24815 (__LC_IDENTIFICATION): Make these macros useful in #if
24816 expressions, as required by C99.
24817
24818 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24819
24820 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24821 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24822 after this.
24823
24824 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24825
24826 * stdlib/longlong.h: Updated from GCC.
24827
24828 2012-05-09 Andreas Jaeger <aj@suse.de>
24829
24830 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24831 default is first entry.
24832 (run_mode): Set type.
24833 (main): Remove informal message about syslog.
24834 (options): Fix typo.
24835
24836 [BZ #14053]
24837 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24838 to asm.
24839 (lrint): Likewise.
24840 (llrintf): Likewise.
24841 (llrint): Likewise.
24842 (rint): Likewise.
24843 (rintf): Likewise.
24844 (nearbyint): Likewise.
24845 (nearbyintf): Likewise.
24846
24847 2012-05-09 Andreas Jaeger <aj@suse.de>
24848 Pedro Alves <palves@redhat.com>
24849
24850 * nscd/nscd.c (run_mode): Use enum.
24851 (main): Cleanup coding style issue.
24852
24853 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
24854 Andreas Jaeger <aj@suse.de>
24855
24856 * nscd/nscd.c (go_background): Replaced with...
24857 (run_mode): ... this.
24858 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24859 (options): Add -F --foreground.
24860 (main): Implement it.
24861 (parse_opt): Parse it.
24862
24863 2012-05-09 Andreas Jaeger <aj@suse.de>
24864
24865 [BZ #14083]
24866 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24867 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24868 -Wconversion warning.
24869 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24870 Likewise.
24871
24872 2012-05-09 Joseph Myers <joseph@codesourcery.com>
24873
24874 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24875 == 0.
24876 (LC_ALL): Use macro-int-constant.
24877 (LC_COLLATE): Likewise.
24878 (LC_CTYPE): Likewise.
24879 (LC_MESSAGES): Likewise.
24880 (LC_MONETARY): Likewise.
24881 (LC_NUMERIC): Likewise.
24882 (LC_TIME): Likewise.
24883 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24884 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24885 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24886 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24887 Specify type.
24888 [C99-based standards] (float_t): Expect type.
24889 [C99-based standards] (double_t): Expect type.
24890 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24891 type.
24892 [C99-based standards] (HUGE_VALL): Likewise.
24893 [C99-based standards] (INFINITY): Likewise.
24894 [C99-based standards] (NAN): Likewise.
24895 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24896 [C99-based standards] (FP_NAN): Likewise.
24897 [C99-based standards] (FP_NORMAL): Likewise.
24898 [C99-based standards] (FP_SUBNORMAL): Likewise.
24899 [C99-based standards] (FP_ZERO): Likewise.
24900 [C99-based standards] (FP_FAST_FMA): Use
24901 optional-macro-int-constant. Specify type. Require == 1.
24902 [C99-based standards] (FP_FAST_FMAF): Likewise.
24903 [C99-based standards] (FP_FAST_FMAL): Likewise.
24904 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24905 [C99-based standards] (FP_ILOGBNAN): Likewise.
24906 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24907 Specify type.
24908 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24909 [C99-based standards] (math_errhandling): Specify type.
24910 [ISO99 || ISO11] (signgam): Do not allow.
24911 [non-C99-based standards] (copysignf): Do not allow.
24912 [non-C99-based standards] (exp2f): Likewise.
24913 [non-C99-based standards] (log2f): Likewise.
24914 [non-C99-based standards] (modff): Allow.
24915 [non-C99-based standards] (erff): Do not allow.
24916 [non-C99-based standards] (erfcf): Likewise.
24917 [non-C99-based standards] (gammaf): Likewise.
24918 [non-C99-based standards] (hypotf): Likewise.
24919 [non-C99-based standards] (j0f): Likewise.
24920 [non-C99-based standards] (j1f): Likewise.
24921 [non-C99-based standards] (jnf): Likewise.
24922 [non-C99-based standards] (lgammaf): Likewise.
24923 [non-C99-based standards] (tgammaf): Likewise.
24924 [non-C99-based standards] (y0f): Likewise.
24925 [non-C99-based standards] (y1f): Likewise.
24926 [non-C99-based standards] (ynf): Likewise.
24927 [non-C99-based standards] (isnanf): Likewise.
24928 [non-C99-based standards] (acoshf): Likewise.
24929 [non-C99-based standards] (asinhf): Likewise.
24930 [non-C99-based standards] (atanhf): Likewise.
24931 [non-C99-based standards] (cbrtf): Likewise.
24932 [non-C99-based standards] (expm1f): Likewise.
24933 [non-C99-based standards] (ilogbf): Likewise.
24934 [non-C99-based standards] (log1pf): Likewise.
24935 [non-C99-based standards] (logbf): Likewise.
24936 [non-C99-based standards] (nextafterf): Likewise.
24937 [non-C99-based standards] (remainderf): Likewise.
24938 [non-C99-based standards] (rintf): Likewise.
24939 [non-C99-based standards] (scalbf): Likewise.
24940 [non-C99-based standards] (copysignl): Likewise.
24941 [non-C99-based standards] (exp2l): Likewise.
24942 [non-C99-based standards] (log2l): Likewise.
24943 [non-C99-based standards] (modfl): Allow.
24944 [non-C99-based standards] (erfl): Do not allow.
24945 [non-C99-based standards] (erfcl): Likewise.
24946 [non-C99-based standards] (gammal): Likewise.
24947 [non-C99-based standards] (hypotl): Likewise.
24948 [non-C99-based standards] (j0l): Likewise.
24949 [non-C99-based standards] (j1l): Likewise.
24950 [non-C99-based standards] (jnl): Likewise.
24951 [non-C99-based standards] (lgammal): Likewise.
24952 [non-C99-based standards] (tgammal): Likewise.
24953 [non-C99-based standards] (y0l): Likewise.
24954 [non-C99-based standards] (y1l): Likewise.
24955 [non-C99-based standards] (ynl): Likewise.
24956 [non-C99-based standards] (isnanl): Likewise.
24957 [non-C99-based standards] (acoshl): Likewise.
24958 [non-C99-based standards] (asinhl): Likewise.
24959 [non-C99-based standards] (atanhl): Likewise.
24960 [non-C99-based standards] (cbrtl): Likewise.
24961 [non-C99-based standards] (expm1l): Likewise.
24962 [non-C99-based standards] (ilogbl): Likewise.
24963 [non-C99-based standards] (log1pl): Likewise.
24964 [non-C99-based standards] (logbl): Likewise.
24965 [non-C99-based standards] (nextafterl): Likewise.
24966 [non-C99-based standards] (remainderl): Likewise.
24967 [non-C99-based standards] (rintl): Likewise.
24968 [non-C99-based standards] (scalbl): Likewise.
24969 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24970 [non-C99-based standards] (FP_*): Do not allow.
24971 [C99-based standards] (FP_*): Change to
24972 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24973 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24974 allow.
24975 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24976 (SIG_ERR): Likewise.
24977 [X/Open-based standards] (SIG_HOLD): Likewise.
24978 (SIG_IGN): Likewise.
24979 (SIGABRT): Use macro-int-constant. Specify type. Require
24980 positive value.
24981 (SIGFPE): Likewise.
24982 (SIGILL): Likewise.
24983 (SIGINT): Likewise.
24984 (SIGSEGV): Likewise.
24985 (SIGTER): Likewise.
24986 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24987 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24988 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24989 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24990 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24991 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24992 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24993 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24994 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24995 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24996 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24997 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24998 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24999 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25000 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25001 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25002 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25003 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25004 [X/Open-based standards] (SIGTRAP): Likewise.
25005 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25006 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25007 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25008 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25009 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25010 allow.
25011
25012 2012-05-08 Ian Wienand <ianw@vmware.com>
25013
25014 [BZ #14080]
25015 * time/tzset.c (__tzset_parse_tz): Update default rules for
25016 daylight time changes in the Energy Policy Act of 2005.
25017
25018 2012-05-09 Andreas Jaeger <aj@suse.de>
25019
25020 [BZ #13983]
25021 * elf/ldconfig.c (parse_conf): Change string to make clear that
25022 ldconfig only issued a warning if ld.so.conf does not exist.
25023
25024 2012-05-08 David S. Miller <davem@davemloft.net>
25025
25026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25027 movxtod instead of popping the value on the stack.
25028
25029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25030
25031 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25032
25033 * config.h.in: Add HAVE_ARM_PCS_VFP.
25034
25035 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
25036
25037 [BZ #13979]
25038 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25039 checking but the checks are disabled for any reason.
25040
25041 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25042
25043 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25044 and ELF64_R_TYPE with ELFW(R_TYPE).
25045
25046 2012-05-08 Joseph Myers <joseph@codesourcery.com>
25047
25048 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25049 (ulimit): Likewise.
25050
25051 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25052 (settimeofday): Likewise.
25053
25054 2012-05-08 Mike Frysinger <vapier@gentoo.org>
25055
25056 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25057 a struct th_u2 inside the union, and move tu_block/tu_code into
25058 a new th_u3 union of tu_block/tu_code inside of that. Move
25059 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25060 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25061 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25062 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25063 (th_stuff): Change to th_u1.tu_stuff.
25064 (th_data): Define.
25065 (th_msg): Change to th_u1.th_u2.tu_data.
25066
25067 2012-05-07 David S. Miller <davem@davemloft.net>
25068
25069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25070
25071 [BZ #14074]
25072 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25073 (SETUP_PIC_REG): Use it.
25074 (SETUP_PIC_REG_LEAF): Use it.
25075
25076 2012-05-07 Joseph Myers <joseph@codesourcery.com>
25077
25078 [BZ #13885]
25079 [BZ #13923]
25080 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25081 USE_AS_EXPM1L.
25082 (EXPL_FINITE): Likewise.
25083 (FLDLOG): Likewise.
25084 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25085 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25086 e_expl.S.
25087 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25088 USE_AS_EXPM1L.
25089 (EXPL_FINITE): Likewise.
25090 (FLDLOG): Likewise.
25091 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25092 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25093 e_expl.S.
25094 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25095 test of -max_value argument for long double.
25096 * sysdeps/i386/fpu/libm-test-ulps: Update.
25097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25098
25099 2012-05-06 David S. Miller <davem@davemloft.net>
25100
25101 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25102 quad soft-float symbols whose references which are compiler
25103 generated.
25104 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25105
25106 2012-05-06 Joseph Myers <joseph@codesourcery.com>
25107
25108 [BZ #13884]
25109 [BZ #13914]
25110 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25111 USE_AS_EXP10L.
25112 (EXPL_FINITE): Likewise.
25113 (FLDLOG): Likewise.
25114 (c0): Likewise.
25115 (c1): Likewise.
25116 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25117 Adjust comments for base varying.
25118 (__expl_finite): Change alias to EXPL_FINITE.
25119 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25120 e_expl.S.
25121 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25122 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25123 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25124 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25125 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25126 USE_AS_EXP10L.
25127 (EXPL_FINITE): Likewise.
25128 (FLDLOG): Likewise.
25129 (c0): Likewise.
25130 (c1): Likewise.
25131 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25132 Adjust comments for base varying.
25133 (__expl_finite): Change alias to EXPL_FINITE.
25134 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25135 tests for bugs.
25136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25137
25138 [BZ #14064]
25139 * math/libm-test.inc (check_float_internal): Correct ulp
25140 calculation for subnormal expected results.
25141
25142 2012-05-06 Andreas Jaeger <aj@suse.de>
25143
25144 * Makeconfig (+math-flags): New, set to -frounding-math.
25145 (+cflags): Add +math-flags so that all of glibc gets compiled with
25146 it.
25147
25148 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25149
25150 2012-05-05 Joseph Myers <joseph@codesourcery.com>
25151
25152 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25153 Disable one test.
25154
25155 [BZ #13787]
25156 [BZ #13922]
25157 [BZ #14036]
25158 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25159 (__ieee754_expl): Allow for and saturate large arguments.
25160 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25161 (u_threshold): Likewise.
25162 (__exp): Call __ieee754_exp before checking for overflow and
25163 underflow.
25164 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25165 (u_threshold): Likewise.
25166 (__expf): Call __ieee754_expf before checking for overflow and
25167 underflow.
25168 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25169 (u_threshold): Likewise.
25170 (__expl): Call __ieee754_expl before checking for overflow and
25171 underflow.
25172 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25173 (__ieee754_expl): Allow for and saturate large arguments.
25174 * math/libm-test.inc (exp_test): Add another test. Do not allow
25175 missing overflow exception on overflow.
25176 (expm1_test): Do not allow missing overflow exception on overflow.
25177
25178 * sysdeps/i386/fpu/e_expl.c: Move to ...
25179 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25180 rather than using inline asm.
25181 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25182 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25183 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25184
25185 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25186 (nice): Likewise.
25187 (poll): Likewise.
25188 (signal): Likewise.
25189 (time): Likewise.
25190 (times): Likewise.
25191
25192 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25193
25194 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25195 sysdeps/unix/common/syscalls.list.
25196 (fchmod): Likewise.
25197 (fchown): Likewise.
25198 (ftruncate): Likewise.
25199 (getrusage): Likewise.
25200 (gettimeofday): Likewise.
25201 (setpgid): Likewise.
25202 (setregid): Likewise.
25203 (setreuid): Likewise.
25204 (sigaction): Likewise.
25205 (truncate): Likewise.
25206 (vhangup): Likewise.
25207 * sysdeps/unix/common/syscalls.list: Remove file.
25208 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25209 * sysdeps/unix/sysv/linux/Implies: Likewise.
25210
25211 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25212
25213 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25215 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25216 Moved to ...
25217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25218 Here.
25219 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25220 to ...
25221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25222 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25223 to ...
25224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25225 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25226 to ...
25227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25228 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25229 to ...
25230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25231 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25232 to ...
25233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25234 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25235 to ...
25236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25237 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25238 to ...
25239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25240 Here.
25241 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25242 to ...
25243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25244 Here.
25245 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25246 to ...
25247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25248 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25249 Moved to ...
25250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25251 Here.
25252 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25253 to ...
25254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25255
25256 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25257
25258 * sysdeps/unix/common/bits/dirent.h: Remove file.
25259 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25260
25261 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25262 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25263 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25264 * sysdeps/unix/bsd/isatty.c: Likewise.
25265 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25266 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25267 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25268
25269 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25270
25271 [BZ #13563]
25272 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25273 long double comparison inaccuracies.
25274 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25276
25277 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25278
25279 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25280 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25281
25282 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25283
25284 [BZ #14049]
25285 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25286 nonzero digits before rounding a hex value.
25287 * stdlib/tst-strtod.c (tests): Add another test.
25288
25289 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25290
25291 * sysdeps/s390/fpu/libm-test-ulps: Update.
25292
25293 2012-05-03 Andreas Jaeger <aj@suse.de>
25294
25295 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25296 does not get optimized out.
25297 (malloc_opt_barrier): New.
25298
25299 2012-05-03 Andreas Jaeger <aj@suse.de>
25300 Roland McGrath <roland@hack.frob.com>
25301
25302 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25303 intermediate file deletion.
25304 (generated): Add .symlist files.
25305
25306 2012-05-03 Joseph Myers <joseph@codesourcery.com>
25307
25308 [BZ #13775]
25309 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25310 Redirect under this condition.
25311 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25312 [__USE_GNU] (__dprintf_chk): Not under this condition.
25313 [__USE_GNU] (__vdprintf_chk): Likewise.
25314 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25315 under this condition.
25316 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25317 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25318 [__USE_XOPEN2K8] (vdprintf): Likewise.
25319 [__USE_GNU] (__dprintf_chk): Not under this condition.
25320 [__USE_GNU] (__vdprintf_chk): Likewise.
25321 [__USE_GNU] (dprintf): Likewise.
25322 [__USE_GNU] (vdprintf): Likewise.
25323
25324 2012-05-03 Roland McGrath <roland@hack.frob.com>
25325
25326 * elf/Makefile (common-generated): Set this instead of generated for
25327 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25328 $(all-built-dso)-derived lists.
25329
25330 2012-05-03 Andreas Jaeger <aj@suse.de>
25331
25332 * sysdeps/i386/fpu/libm-test-ulps: Update.
25333
25334 * FAQ: Removed.
25335 * FAQ.in: Likewise.
25336 * scripts/gen-FAQ.pl: Likewise.
25337 * manual/install.texi (Installation): Point to online location of
25338 FAQ.
25339 * Makefile (files-for-dist): Remove FAQ.
25340 (FAQ): Remove.
25341
25342 2012-05-02 Allan McRae <allan@archlinux.org>
25343
25344 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25345 (LDFLAGS-reldepmod5.so): Likewise.
25346 (LDFLAGS-reldep6mod1.so): Likewise.
25347 (LDFLAGS-reldep6mod4.so): Likewise.
25348 (LDFLAGS-reldep8mod3.so): Likewise.
25349 (LDFLAGS-unload4mod1.so): Likewise.
25350 (LDFLAGS-unload4mod2.so): Likewise.
25351 (LDFLAGS-tst-initorder): Likewise.
25352 (LDFLAGS-tst-initordera2.so): Likewise.
25353 (LDFLAGS-tst-initordera3.so): Likewise.
25354 (LDFLAGS-tst-initordera4.so): Likewise.
25355 (LDFLAGS-tst-initorderb2.so): Likewise.
25356 (LDFLAGS-noload): Likewise.
25357 (LDFLAGS-next): Likewise.
25358 (LDFLAGS-order2mod1.so): Likewise.
25359 (LDFLAGS-order2mod2.so): Likewise.
25360 (LDFLAGS-tst-initorder2): Likewise.
25361 (LDFLAGS-tst-initorder2a.so): Likewise.
25362 (LDFLAGS-tst-initorder2b.so): Likewise.
25363 (LDFLAGS-tst-initorder2c.so): Likewise.
25364 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25365
25366 2012-05-02 David S. Miller <davem@davemloft.net>
25367
25368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25369
25370 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25371
25372 [BZ #14055]
25373 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25374
25375 2012-05-02 Andreas Jaeger <aj@suse.de>
25376
25377 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25378 since we manipulate rounding mode.
25379 (CPPFLAGS-test-idouble.c): Likewise.
25380 (CPPFLAGS-test-ifloat.c): Likewise.
25381 (CFLAGS-test-ldouble.c): Likewise.
25382 (CFLAGS-test-double.c): Likewise.
25383 (CFLAGS-test-float.c): Likewise.
25384 (CFLAGS-test-misc.c): Likewise.
25385 (CFLAGS-test-test-fenv.c): Likewise.
25386
25387 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25388
25389 [BZ #2550]
25390 [BZ #2570]
25391 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25392 comparisons to determine direction to adjust input.
25393
25394 2012-05-01 Roland McGrath <roland@hack.frob.com>
25395
25396 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25397 output to the target.
25398
25399 * scripts/localplt.awk: New file.
25400 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25401 (check-localplt-CFLAGS): Variable removed.
25402 ($(all-built-dso:=.jmprel)): New static pattern rule.
25403 (generated): Add those targets.
25404 (localplt-built-dso): New variable.
25405 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25406
25407 * elf/check-localplt.c: File removed.
25408
25409 * scripts/check-execstack.awk: New file.
25410 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25411 (check-execstack-CFLAGS): Variable removed.
25412 ($(objpfx)check-execstack.h): Target removed.
25413 ($(objpfx)execstack-default): New target.
25414 (generated): Add that instead of check-execstack.h.
25415 ($(all-built-dso:=.phdr)): New static pattern rule.
25416 (generated): Add those targets.
25417 * elf/check-execstack.c: File removed.
25418
25419 * scripts/check-textrel.awk: New file.
25420 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25421 (check-textrel-CFLAGS): Variable removed.
25422 (all-built-dso): Use := to define.o
25423 ($(all-built-dso:=.dyn)): New static pattern rule.
25424 (generated): Add those targets.
25425 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25426 * config.make.in (READELF): New substituted variable.
25427 * elf/check-textrel.c: File removed.
25428
25429 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25430
25431 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25432 allow.
25433 * conform/data/ctype.h-data [C99-based standards] (isblank):
25434 Expect function.
25435 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25436 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25437 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25438 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25439 Specify type. Require positive value.
25440 (EILSEQ): Likewise.
25441 (ERANGE): Likewise.
25442 [ISO || POSIX] (EILSEQ): Do not expect.
25443 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25444 Specify type. Require positive value.
25445 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25446 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25447 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25448 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25449 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25450 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25451 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25452 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25453 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25454 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25455 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25456 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25457 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25458 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25459 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25460 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25461 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25462 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25463 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25464 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25465 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25466 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25467 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25468 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25469 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25470 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25471 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25472 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25473 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25474 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25475 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25476 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25477 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25478 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25479 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25480 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25481 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25482 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25483 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25484 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25485 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25486 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25487 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25488 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25489 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25490 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25491 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25492 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25493 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25494 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25495 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25496 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25497 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25498 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25499 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25500 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25501 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25502 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25503 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25504 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25505 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25506 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25507 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25508 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25509 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25510 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25511 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25512 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25513 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25514 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25515 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25516 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25517 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25518 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25519 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25520 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25521 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25522 Require >= 2.
25523 (FLT_ROUNDS): Expect as macro, not constant.
25524 (FLT_MANT_DIG): Use macro-int-constant.
25525 (DBL_MANT_DIG): Likewise.
25526 (LDBL_MANT_DIG): Likewise.
25527 (FLT_DIG): Likewise.
25528 (DBL_DIG): Likewise.
25529 (LDBL_DIG): Likewise.
25530 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25531 (DBL_MIN_EXP): Likewise.
25532 (LDBL_MIN_EXP): Likewise.
25533 (FLT_MAX_EXP): Use macro-int-constant.
25534 (DBL_MAX_EXP): Likewise.
25535 (LDBL_MAX_EXP): Likewise.
25536 (FLT_MAX_10_EXP): Likewise.
25537 (DBL_MAX_10_EXP): Likewise.
25538 (LDBL_MAX_10_EXP): Likewise.
25539 (FLT_MAX): Use macro-constant.
25540 (DBL_MAX): Likewise.
25541 (LDBL_MAX): Likewise.
25542 (FLT_EPSILON): Use macro-constant. Give upper bound.
25543 (DBL_EPSILON): Likewise.
25544 (LDBL_EPSILON): Likewise.
25545 (FLT_MIN): Likewise.
25546 (DBL_MIN): Likewise.
25547 (LDBL_MIN): Likewise.
25548 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25549 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25550 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25551 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25552 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25553 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25554 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25555 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25556 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25557 [ISO11] (FLT_TRUE_MIN): Likewise.
25558 [ISO11] (LDBL_TRUE_MIN): Likewise.
25559 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25560 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25561 (SCHAR_MIN): Use macro-int-constant. Specify type.
25562 (SCHAR_MAX): Likewise.
25563 (UCHAR_MAX): Likewise.
25564 (CHAR_MIN): Likewise.
25565 (CHAR_MAX): Likewise.
25566 (MB_LEN_MAX): Use macro-int-constant.
25567 (SHRT_MIN): Use macro-int-constant. Specify type.
25568 (SHRT_MAX): Likewise.
25569 (USHRT_MAX): Likewise.
25570 (INT_MAX): Likewise.
25571 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25572 bound negative.
25573 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25574 bound with "U".
25575 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25576 bound with "L".
25577 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25578 bound negative. Suffix upper bound with "L".
25579 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25580 bound with "UL".
25581 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25582 Specify type.
25583 [C99-based standards] (LLONG_MAX): Likewise.
25584 [C99-based standards] (ULLONG_MAX): Likewise.
25585 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25586 == 0.
25587 [ISO11] (max_align_t): Require type.
25588 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25589
25590 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25591 from $CFLAGS, without defining away __attribute__ calls.
25592 (checknamespace): Use $CFLAGS_namespace.
25593
25594 * conform/conformtest.pl (@keywords): Only include C99 keywords
25595 for standards based on C99 or C11.
25596
25597 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25598 Disable tests.
25599 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25600 UNIX98]: Likewise.
25601
25602 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25603 usability of symbols in #if.
25604
25605 * conform/conformtest.pl: If macro or constant types start
25606 "promoted:", expect the symbol to be of the following type
25607 promoted by the integer promotions.
25608
25609 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25610 in one place. Also handle "macro-constant".
25611
25612 * conform/conformtest.pl: Only accept expected macro values with
25613 "==". Parse all "macro" lines in one place.
25614 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25615
25616 * conform/conformtest.pl: Handle braced types on "constant" lines
25617 instead of handling "typed-constant".
25618 * conform/data/signal.h-data: Use "constant" instead of
25619 "typed-constant".
25620
25621 * conform/conformtest.pl: Handle "optional-" at start of lines in
25622 one place rather than duplicating several cases. Handle each
25623 format of "macro" line with initial "optional-".
25624
25625 * conform/conformtest.pl: Only accept expected constant or
25626 optional-constant values with "==". Parse all "constant" lines in
25627 one place. Parse all "optional-constant" lines in one place.
25628 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25629 * conform/data/fmtmsg.h-data: Likewise.
25630 * conform/data/netinet/in.h-data: Likewise.
25631 * conform/data/tar.h-data: Likewise.
25632 * conform/data/limits.h-data: Use "==" form on "constant" and
25633 "optional-constant" lines.
25634
25635 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25636 Use -std=c99 for XOPEN2K.
25637 (@knownproblems): Remove.
25638 (newtoken): Don't check %isknown.
25639
25640 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25641 Do not expect macro.
25642 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25643 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25644 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25645 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25646 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25647 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25648 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25649 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25650 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25651 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25652 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25653 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25654 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25655 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25656 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25657 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25658 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25659 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25660 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25661 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25662 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25663 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25664 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25665 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25666 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25667 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25668 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25669 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25670 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25671 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25672 [XPG3] (acosh): Likewise.
25673 [XPG3] (asinh): Likewise.
25674 [XPG3] (atanh): Likewise.
25675 [XPG3] (cbrt): Likewise.
25676 [XPG3] (expm1): Likewise.
25677 [XPG3] (ilogb): Likewise.
25678 [XPG3] (log1p): Likewise.
25679 [XPG3] (logb): Likewise.
25680 [XPG3] (nextafter): Likewise.
25681 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25682 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25683 [XPG3] (remainder): Likewise.
25684 [XPG3] (rint): Likewise.
25685 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25686 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25687 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25688 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25689 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25690 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25691 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25692 [UNIX98 || XOPEN2K] (scalb): Expect.
25693 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25694 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25695 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25696 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25697 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25698 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25699 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25700 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25701 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25702 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25703 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25704 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25705 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25706 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25707 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25708 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25709 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25710 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25711 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25712 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25713 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25714 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25715 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25716 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25717 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25718 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25719 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25720 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25721 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25722 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25723 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25724 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25725 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25726 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25727 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25728 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25729 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25730 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25731 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25732 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25733 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25734 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25735 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25736 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25737 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25738 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25739 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25740 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25741 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25742 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25743 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25744 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25745 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25746 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25747 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25748 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25749 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25750 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25751 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25752 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25753 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25754 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25755 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25756 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25757 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25758 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25759 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25760 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25761 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25762 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25763 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25764 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25765 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25766 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25767 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25768 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25769 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25770 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25771 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25772 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25773 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25774 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25775 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25776 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25777 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25778 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25779 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25780 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25781 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25782 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25783 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25784 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25785 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25786 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25787 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25788 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25789 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25790 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25791 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25792 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25793 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25794 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25795 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25796 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25797 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25798 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25799 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25800 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25801 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25802 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25803 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25804 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25805 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25806 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25807 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25808 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25809 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25810 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25811 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25812 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25813 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25814 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25815 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25816 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25817 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25818 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25819 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25820 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25821 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25822 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25823 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25824 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25825 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25826 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25827 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25828 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25829 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25830
25831 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25832 _XOPEN_SOURCE_EXTENDED for XPG4.
25833
25834 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25835
25836 * Makeconfig (localtime): Remove variable.
25837 (inst_localtime-file): Likewise.
25838
25839 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25840
25841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25842 Update.
25843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25844 Update.
25845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25846 Update.
25847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25848 Update.
25849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25850 Update.
25851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25852 Update.
25853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25854 Update.
25855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25856 Update.
25857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25858 Update.
25859
25860 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25861
25862 [BZ #2550]
25863 [BZ #2570]
25864 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25865 comparisons to determine direction to adjust input.
25866 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25867 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25868 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25869 Likewise.
25870 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25871 Likewise.
25872 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25873 Likewise.
25874 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25875 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25876 Likewise.
25877 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25878 Likewise.
25879 * math/libm-test.inc (nexttoward_test): Add more tests.
25880
25881 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25882
25883 [BZ #14040]
25884 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25885 in version GLIBC_2.1, not GLIBC_2.0.
25886 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25887 Likewise.
25888
25889 2012-04-30 Joseph Myers <joseph@codesourcery.com>
25890
25891 [BZ #13942]
25892 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25893 (1 - x) * (1 + x).
25894 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25895 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25896 * math/libm-test.inc (acos_test): Add more tests.
25897 (asin_test): Likewise.
25898 * sysdeps/i386/fpu/libm-test-ulps: Update.
25899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25900
25901 [BZ #14034]
25902 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25903 of square root.
25904 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25905 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25906 * math/libm-test.inc (acos_test_tonearest): New function.
25907 (acos_test_towardzero): Likewise.
25908 (acos_test_downward): Likewise.
25909 (acos_test_upward): Likewise.
25910 (asin_test_tonearest): Likewise.
25911 (asin_test_towardzero): Likewise.
25912 (asin_test_downward): Likewise.
25913 (asin_test_upward): Likewise.
25914 (main): Call the new functions.
25915 * sysdeps/i386/fpu/libm-test-ulps: Update.
25916 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25917
25918 [BZ #13884]
25919 [BZ #13924]
25920 * math/e_exp10.c: Include <float.h>.
25921 (__ieee754_exp10): Handle underflow here rather than multiplying
25922 large negative argument by M_LN10.
25923 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25924 of __ieee754_expf.
25925 * math/e_exp10l.c: Include <float.h>.
25926 (__ieee754_exp10l): Handle underflow here rather than multiplying
25927 large negative argument by M_LN10l.
25928 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25929 spurious overflow exception on underflow.
25930
25931 2012-04-29 Marek Polacek <polacek@redhat.com>
25932
25933 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25934 (__fortify_function): New macro.
25935 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25936 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25937 __extern_always_inline.
25938 * libio/bits/stdio2.h: Likewise.
25939 * libio/bits/stdio.h: Likewise.
25940 * string/string.h: Likewise.
25941 * string/bits/string3.h: Likewise.
25942 * include/stdio.h: Likewise.
25943 * stdlib/bits/stdlib.h: Likewise.
25944 * stdlib/stdlib.h: Likewise.
25945 * rt/bits/mqueue2.h: Likewise.
25946 * rt/mqueue.h: Likewise.
25947 * posix/bits/unistd.h: Likewise.
25948 * posix/unistd.h: Likewise.
25949 * io/bits/poll2.h: Likewise.
25950 * io/bits/fcntl2.h: Likewise.
25951 * io/fcntl.h: Likewise.
25952 * io/sys/poll.h: Likewise.
25953 * misc/bits/syslog.h: Likewise.
25954 * misc/bits/syslog-ldbl.h: Likewise.
25955 * misc/sys/syslog.h: Likewise.
25956 * socket/bits/socket2.h: Likewise.
25957 * socket/sys/socket.h: Likewise.
25958 * debug/tst-chk1.c: Likewise.
25959 * wcsmbs/bits/wchar2.h: Likewise.
25960 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25961 * wcsmbs/wchar.h: Likewise.
25962
25963 2012-04-29 Andreas Jaeger <aj@suse.de>
25964
25965 * Makerules (tests): Remove enable-check-abi protection.
25966 (check-abi-warn): Remove.
25967 (check-abi-%): Remove check-abi-warn usage.
25968
25969 * configure.in: Remove check-abi configure option.
25970 * configure: Regenerated.
25971 * config.make.in (enable-check-abi): Remove.
25972
25973 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25974
25975 [BZ #14033]
25976 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25977 double functions to double *_finite functions.
25978
25979 [BZ #13941]
25980 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25981 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25982 LDBL_MIN_EXP.
25983 * stdio-common/Makefile (tests): Add tst-sprintf3.
25984 * stdio-common/tst-sprintf3.c: New file.
25985
25986 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25987 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25988
25989 2012-04-28 Joseph Myers <joseph@codesourcery.com>
25990
25991 * conform/conformtest.pl: Remove duplicate typed-constant
25992 handling.
25993
25994 2012-04-28 David S. Miller <davem@davemloft.net>
25995
25996 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25997 (check-abi-%): Remove AWK script prerequisite and explicit
25998 abilist directory.
25999 (check-abi): Rewrite to just diff the symlist with the abilist.
26000 (config-tls, config-abi-config): Delete, no longer used.
26001 (update-abi-%): Remove AWK script and explicit abilist directory.
26002 (update-abi): Rewrite to simply compare and conditionally copy the
26003 symlist and the sysdep abilist file. Remove update-abi-config
26004 checks.
26005 * abilist/ld.abilist: Remove.
26006 * abilist/libBrokenLocale.abilist: Remove.
26007 * abilist/libanl.abilist: Remove.
26008 * abilist/libcrypt.abilist: Remove.
26009 * abilist/libdl.abilist: Remove.
26010 * abilist/librt.abilist: Remove.
26011 * abilist/libthread_db.abilist: Remove.
26012 * abilist/libutil.abilist: Remove.
26013 * scripts/extract-abilist.awk: Remove.
26014 * scripts/merge-abilist.awk: Remove.
26015 * sysdeps/generic/libcidn.abilist: New file.
26016 * sysdeps/generic/libnss_compat.abilist: New file.
26017 * sysdeps/generic/libnss_db.abilist: New file.
26018 * sysdeps/generic/libnss_dns.abilist: New file.
26019 * sysdeps/generic/libnss_files.abilist: New file.
26020 * sysdeps/generic/libnss_hesiod.abilist: New file.
26021 * sysdeps/generic/libnss_nis.abilist: New file.
26022 * sysdeps/generic/libnss_nisplus.abilist: New file.
26023 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26024 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26025 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26026 file.
26027 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26028 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26029 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26030 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26031 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26032 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26033 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26034 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26035 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26036 file.
26037 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26038 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26039 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26040 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26041 file.
26042 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26043 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26044 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26045 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26046 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26047 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26048 file.
26049 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26050 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26051 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26052 file.
26053 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26054 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26055 New file.
26056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26057 New file.
26058 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26059 New file.
26060 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26061 New file.
26062 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26063 New file.
26064 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26065 New file.
26066 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26067 New file.
26068 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26069 New file.
26070 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26071 New file.
26072 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26073 New file.
26074 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26075 New file.
26076 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26077 New file.
26078 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26079 New file.
26080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26081 file.
26082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26083 New file.
26084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26085 New file.
26086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26087 file.
26088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26089 New file.
26090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26091 New file.
26092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26093 file.
26094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26095 New file.
26096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26097 New file.
26098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26099 New file.
26100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26101 New file.
26102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26103 New file.
26104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26105 New file.
26106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26108 file.
26109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26110 New file.
26111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26112 file.
26113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26114 file.
26115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26116 file.
26117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26118 file.
26119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26120 file.
26121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26122 New file.
26123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26124 file.
26125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26126 file.
26127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26128 New file.
26129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26130 file.
26131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26133 file.
26134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26135 New file.
26136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26137 file.
26138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26139 file.
26140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26141 file.
26142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26143 file.
26144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26145 file.
26146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26147 New file.
26148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26149 file.
26150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26151 file.
26152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26153 New file.
26154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26155 file.
26156 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26157 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26158 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26159 file.
26160 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26161 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26162 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26163 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26164 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26165 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26166 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26167 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26168 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26169 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26172 file.
26173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26174 New file.
26175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26176 file.
26177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26178 file.
26179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26180 file.
26181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26182 file.
26183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26184 file.
26185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26186 New file.
26187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26188 New file.
26189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26190 file.
26191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26192 New file.
26193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26194 file.
26195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26197 file.
26198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26199 New file.
26200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26201 file.
26202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26203 file.
26204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26205 file.
26206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26207 file.
26208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26209 file.
26210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26211 New file.
26212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26213 New file.
26214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26215 file.
26216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26217 New file.
26218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26219 file.
26220
26221 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26222
26223 * conform/conformtest.pl: Fix typo in handling typed-constant from
26224 allow-header.
26225
26226 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26227
26228 * README: Cut down references to pre-2.6 Linux kernels and
26229 Linuxthreads. Update lists of configurations in libc and ports
26230 and sort alphabetically. Say "or newer" with Linux kernel version
26231 requirements.
26232
26233 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26234
26235 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26236
26237 [BZ #887]
26238 * math/libm-test.inc (logb_test_downward): New test to expose
26239 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26240 rounding mode.
26241
26242 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26243
26244 [BZ #14027]
26245 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26246 to be done.
26247 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26248 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26249
26250 2012-04-26 Joseph Myers <joseph@codesourcery.com>
26251
26252 * sysdeps/unix/i386/brk.S: Remove file.
26253 * sysdeps/unix/i386/dl-brk.S: Likewise.
26254 * sysdeps/unix/i386/pipe.S: Likewise.
26255 * sysdeps/unix/i386/sigreturn.S: Likewise.
26256 * sysdeps/unix/i386/syscall.S: Likewise.
26257 * sysdeps/unix/i386/vfork.S: Likewise.
26258 * sysdeps/unix/i386/wait.S: Likewise.
26259
26260 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26261 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26262
26263 * configure.in (arm*-none*): Do not allow without
26264 --enable-hacker-mode.
26265 (netbsd*): Remove case setting base_os.
26266 (386bsd*): Likewise.
26267 (freebsd*): Likewise.
26268 (bsdi*): Likewise.
26269 (osf*): Likewise.
26270 (sunos*): Likewise.
26271 (ultrix*): Likewise.
26272 (newsos*): Likewise.
26273 (dynix*): Likewise.
26274 (*bsd*): Likewise.
26275 (sysv*): Likewise.
26276 (isc*): Likewise.
26277 (esix*): Likewise.
26278 (sco*): Likewise.
26279 (minix*): Likewise.
26280 (irix4*): Likewise.
26281 (irix6*): Likewise.
26282 (solaris[2-9]*): Likewise.
26283 (none): Likewise.
26284 * configure: Regenerated.
26285
26286 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26287
26288 [BZ #11521]
26289 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26290 overflow or cancellation in calculating denominator.
26291 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26292 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26293 down expression to avoid unexpected rounding in newer GCCs.
26294 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26295
26296 2012-04-26 David S. Miller <davem@davemloft.net>
26297
26298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26299 long-double compat symbols.
26300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26313
26314 2012-04-25 David S. Miller <davem@davemloft.net>
26315
26316 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26317 HWCAP_* values only after the memory barriers have been defined.
26318 (atomic_full_barrier): Define.
26319 (atomic_read_barrier): Define.
26320 (atomic_write_barrier): Define.
26321
26322 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26323
26324 * shlib-versions: Add libgcc_s version information.
26325 * sysdeps/generic/libgcc_s.h: Remove.
26326 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26327 libgcc_s.h.
26328 * sysdeps/gnu/unwind-resume.c: Likewise.
26329 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26330
26331 2012-04-25 David S. Miller <davem@davemloft.net>
26332
26333 * sysdeps/unix/sparc/brk.S: Delete.
26334 * sysdeps/unix/sparc/dl-brk.S: Delete.
26335 * sysdeps/unix/sparc/pipe.S: Delete.
26336 * sysdeps/unix/sparc/sysdep.S: Delete.
26337 * sysdeps/unix/sparc/sysdep.h: Delete.
26338 * sysdeps/unix/sparc/vfork.S: Delete.
26339 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26340 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26341 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26342 ret_ERRVAL, r0, r1, MOVE): Define.
26343 (JUMPTARGET): Remove.
26344 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26345 sysdeps/unix/sparc/sysdep.h
26346 (ENTRY, END): Remove.
26347 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26348
26349 2012-04-25 Joseph Myers <joseph@codesourcery.com>
26350
26351 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26352 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26353 -DIS_IN_build.
26354
26355 * timezone/README: Update upstream location and email address for
26356 tzcode and tzdata.
26357 * timezone/zdump.c: Update from tzcode 2012b.
26358 * timezone/zic.c: Likewise.
26359
26360 * configure.in (libc_cv_as_needed): Remove test.
26361 * configure: Regenerated.
26362 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26363 conditional definition.
26364 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26365 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26366 * config.make.in (have-as-needed): Remove variable.
26367
26368 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26369 Paul Pluzhnikov <ppluzhnikov@google.com>
26370
26371 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26372 strings correctly.
26373
26374 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26375
26376 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26377 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26378 * sysdeps/sh/strlen.S: Likewise.
26379
26380 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26381
26382 * sysdeps/unix/fork.S: Remove file.
26383 * sysdeps/unix/i386/fork.S: Likewise.
26384 * sysdeps/unix/sparc/fork.S: Likewise.
26385
26386 * sysdeps/unix/system.c: Remove file.
26387 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26388
26389 * sysdeps/unix/getegid.S: Remove file.
26390 * sysdeps/unix/geteuid.S: Likewise.
26391
26392 2012-04-24 Roland McGrath <roland@hack.frob.com>
26393
26394 * scripts/check-localplt.awk: New file.
26395 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26396 of diff.
26397 * scripts/data/localplt-generic.data: Add a comment.
26398
26399 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26400 NODE when __dir_mkfile failed.
26401 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26402 Reported by Ludovic Courtès <ludo@gnu.org>.
26403
26404 2012-04-24 Andreas Jaeger <aj@suse.de>
26405
26406 * Makerules (common-clean): Also remove gen-as-const-headers
26407 files.
26408
26409 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26410
26411 * Makerules (native-compile): Do not change working directory for
26412 build. Use $(OUTPUT_OPTION) in command.
26413 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26414
26415 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26416
26417 [BZ #13886]
26418 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26419 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26420 * math/libm-test.inc (floor_test): Add more tests.
26421 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26422
26423 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26424
26425 * sysdeps/unix/getdents.c: Remove file.
26426 * sysdeps/unix/sysv/getdents.c: Likewise.
26427 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26428
26429 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26430 sysdeps/unix/mman/syscalls.list.
26431 (mmap): Likewise.
26432 (mprotect): Likewise.
26433 (msync): Likewise.
26434 (munmap): Likewise.
26435 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26436 * sysdeps/unix/mman/syscalls.list: Remove.
26437 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26438
26439 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26440 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26441 * configure: Regenerated.
26442 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26443 $(libgcc_s_suffix).
26444 * config.make.in (libgcc_s_suffix): Remove variable.
26445
26446 2012-04-23 Joseph Myers <joseph@codesourcery.com>
26447
26448 * sysdeps/unix/sysv/gethostname.c: Move to ...
26449 * sysdeps/posix/gethostname.c: ... here.
26450
26451 * sysdeps/unix/execve.S: Remove file.
26452
26453 * sysdeps/unix/_exit.S: Remove file.
26454
26455 2012-04-23 Andreas Jaeger <aj@suse.de>
26456
26457 [BZ #13739]
26458 * manual/Makefile: Remove make dist support, there's no
26459 need for a stand-alone documentation tar ball.
26460 (TEXI2DVI): Define always, it's not in Makeconfig.
26461 (dist): Removed.
26462 (tar-it): Removed.
26463 (edition): Removed.
26464 (glibc-doc-$(edition).tar): Removed
26465 (%.Z): Removed.
26466 (%.gz): Removed.
26467 (%.uu): Removed.
26468 (ETAGS): Remove, it's in Makeconfig.
26469 (move-if-change): Remove, it's in Makeconfig.
26470
26471 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
26472
26473 [BZ #13970]
26474 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26475 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26476 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26477 (strtod_l, strtof_l, strtold_l): Remove __wur.
26478 It is not necessarily an error to ignore strtol's return value.
26479 One can reliably look at the stored endptr to decide whether
26480 the number had valid syntax.
26481
26482 2012-04-21 Andreas Jaeger <aj@suse.de>
26483
26484 [BZ #13739]
26485 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26486
26487 2012-04-21 Joseph Myers <joseph@codesourcery.com>
26488
26489 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26490 * sysdeps/unix/sysv/Versions: Remove file.
26491
26492 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26493
26494 [BZ #13927]
26495 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26496
26497 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
26498
26499 [BZ #7064]
26500 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26501 version from __vm86.
26502
26503 2012-04-20 Joseph Myers <joseph@codesourcery.com>
26504
26505 * sysdeps/unix/common/lxstat.c: Remove file.
26506 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26507
26508 * sysdeps/unix/sysv/Makefile: Remove file.
26509
26510 * sysdeps/unix/sysv/direct.h: Remove file.
26511
26512 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26513 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26514 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26515 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26516 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26517 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26518 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26519
26520 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26521
26522 * sysdeps/unix/xmknod.c: Remove file.
26523 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26524
26525 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26526
26527 * sysdeps/unix/sysv/i386/time.S: Remove file.
26528
26529 * sysdeps/unix/fxstat.c: Remove file.
26530 * sysdeps/unix/xstat.c: Likewise.
26531 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26532
26533 * sysdeps/unix/sysv/sigaction.c: Remove file.
26534
26535 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26536 (sysdep_headers): Remove variable.
26537 [termio.h not in sysdep_headers] (generated): Likewise.
26538 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26539 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26540 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26541 * sysdeps/unix/sysv/tcflow.c: Likewise.
26542 * sysdeps/unix/sysv/tcflush.c: Likewise.
26543 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26544 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26545 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26546 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26547 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26548
26549 * sysdeps/unix/siglist.c: Remove file.
26550
26551 * sysdeps/unix/getppid.S: Remove file.
26552
26553 * sysdeps/unix/mkdir.c: Remove file.
26554 * sysdeps/unix/rmdir.c: Likewise.
26555
26556 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26557
26558 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26559 ERR_MAX value.
26560 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26561 errlist-compat value.
26562
26563 2012-04-18 David S. Miller <davem@davemloft.net>
26564
26565 * sysdeps/generic/memcopy.h (reg_char): Delete.
26566 * debug/strcat_chk.c: Use char, not reg_char.
26567 * debug/strcpy_chk.c: Likewise.
26568 * debug/strncat_chk.c: Likewise.
26569 * debug/strncpy_chk.c: Likewise.
26570 * string/memchr.c: Likewise.
26571 * string/memrchr.c: Likewise.
26572 * string/rawmemchr.c: Likewise.
26573 * string/strcat.c: Likewise.
26574 * string/strchr.c: Likewise.
26575 * string/strchrnul.c: Likewise.
26576 * string/strcmp.c: Likewise.
26577 * string/strcpy.c: Likewise.
26578 * string/strncat.c: Likewise.
26579 * string/strncmp.c: Likewise.
26580 * string/strncpy.c: Likewise.
26581
26582 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26583
26584 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26585 __builtin_memcopy is called when src and dest ranges are known to not
26586 overlap.
26587
26588 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26589
26590 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26591 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26592 fwd_align_merge macro call.
26593 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26594 bwd_align_merge macro call.
26595 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26596
26597 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26598
26599 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26600 bwd_align_merge macros.
26601 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26602 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26603 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26604
26605 2012-04-18 David S. Miller <davem@davemloft.net>
26606
26607 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26608
26609 2012-04-18 Andreas Jaeger <aj@suse.de>
26610
26611 [BZ# 6794]
26612 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26613 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26614 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26615
26616 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26617 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26618 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26619
26620 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26621 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26622 Adjust for changed ldbl-128 files.
26623
26624 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26625 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26626 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26627
26628 2012-04-17 David S. Miller <davem@davemloft.net>
26629
26630 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26631
26632 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26633
26634 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26635 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26636 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26637 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26638 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26639 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26640
26641 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26642
26643 [BZ #6794]
26644 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26645 * math/libm-test.inc: Add ilogb errno and exception tests.
26646 * math/w_ilogb.c: New file: ilogb wrapper.
26647 * math/w_ilogbf.c: New file: ilogbf wrapper.
26648 * math/w_ilogbl.c: New file: ilogbl wrapper.
26649 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26650 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26651 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26652 exception being thrown with 0.0 as argument.
26653 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26654 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26655 exception being thrown with 0.0 as argument.
26656 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26657 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26658 exception being thrown with 0.0 as argument.
26659 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26660 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26661 exception being thrown with 0.0 as argument.
26662 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26663 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26664 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26665 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26666 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26667 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26668 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26669 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26670 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26671
26672 2012-04-17 Petr Baudis <pasky@ucw.cz>
26673
26674 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26675 with altivec.
26676
26677 2012-04-16 Marek Polacek <polacek@redhat.com>
26678
26679 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26680
26681 2012-04-16 Marek Polacek <polacek@redhat.com>
26682
26683 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26684 operands of fdivp instruction.
26685
26686 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26687
26688 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26689 * elf/tst-auditmod3b.c: Likewise.
26690 * elf/tst-auditmod4b.c: Likewise.
26691 * elf/tst-auditmod5b.c: Likewise.
26692 * elf/tst-auditmod6b.c: Likewise.
26693 * elf/tst-auditmod6c.c: Likewise.
26694 * elf/tst-auditmod7b.c: Likewise.
26695 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26696 * sysdeps/x86_64/preconfigure.in: Likewise.
26697 * sysdeps/x86_64/preconfigure: Regenerated.
26698
26699 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26700
26701 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26702 __ILP32__.
26703
26704 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
26705
26706 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26707 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26708
26709 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26710
26711 [BZ #13973]
26712 * locale/iso-639.def: Fix gl language name. Spotted by
26713 Yaron Shahrabani.
26714
26715 2012-04-12 Roland McGrath <roland@hack.frob.com>
26716
26717 [BZ #2074]
26718 * libio/libio.h (__io_write_fn): Update comment.
26719
26720 2012-04-12 Petr Baudis <pasky@ucw.cz>
26721
26722 [BZ #2074]
26723 * stdio.texi (Hook Functions): The user provided writer function
26724 is not allowed to return -1.
26725
26726 2012-04-11 David S. Miller <davem@davemloft.net>
26727
26728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26729
26730 2012-04-11 Mike Frysinger <vapier@gentoo.org>
26731
26732 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26733 Add a leading slash to rtkaio.
26734
26735 2012-04-11 Jim Meyering <meyering@redhat.com>
26736
26737 [BZ #11959]
26738 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26739 It is not necessarily an error to ignore fwrite's return
26740 value. One can reliably use ferror to test for errors after
26741 the fact.
26742
26743 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26744
26745 * bits/types.h (__snseconds_t): New type.
26746 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26747
26748 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26749 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26750 (__SNSECONDS_T_TYPE): Likewise.
26751 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26752 (__SNSECONDS_T_TYPE): Likewise.
26753 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26754 (__SNSECONDS_T_TYPE): Likewise.
26755
26756 2012-04-10 Andreas Jaeger <aj@suse.de>
26757
26758 [BZ #2636]
26759 * manual/time.texi (Processor Time): Return type of times is
26760 elapsed real time since an arbitrary point in the past.
26761 (CPU Time): Move CLK_TCK from here...
26762 (Processor Time): ...to here. Correct description.
26763 * manual/conf.texi (Constants for Sysconf): Correct description of
26764 _SC_CLK_TCK.
26765
26766 2012-04-10 David S. Miller <davem@davemloft.net>
26767
26768 [BZ #13967]
26769 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26770 where the is a gap between DT_REL(A) and DT_JMPREL.
26771
26772 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26773
26774 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26775 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26776 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26777
26778 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26779
26780 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26781 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26782 (dl_main): Handle --inhibit-cache.
26783 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26784 _dl_inhibit_cache.
26785 * elf/dl-load.c (_dl_map_object): Use it.
26786 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26787
26788 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26789
26790 [BZ #13872]
26791 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26792 (__ieee754_powl): Saturate large exponents rather than testing for
26793 overflow of y*log2(x).
26794 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26795 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26796 exceptions.
26797
26798 [BZ #11521]
26799 * math/s_ctan.c: Include <float.h>.
26800 (__ctan): Avoid internal overflow or cancellation in calculating
26801 denominator.
26802 * math/s_ctanf.c: Likewise.
26803 * math/s_ctanl.c: Likewise.
26804 * math/s_ctanh.c: Likewise.
26805 * math/s_ctanhf.c: Likewise.
26806 * math/s_ctanhl.c: Likewise.
26807 * math/libm-test.inc (ctan_test): Add more tests.
26808 (ctanh_test): Likewise.
26809 * sysdeps/i386/fpu/libm-test-ulps: Update.
26810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26811
26812 2012-04-09 Andreas Jaeger <aj@suse.de>
26813
26814 [BZ #6894]
26815 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26816 is an optional BSD extension.
26817
26818 [BZ #10254]
26819 * manual/stdio.texi (Opening Streams): Document additional fopen
26820 parameters.
26821
26822 2012-04-09 Roland McGrath <roland@hack.frob.com>
26823
26824 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26825 %eax without telling the compiler.
26826
26827 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26828
26829 [BZ # 13963]
26830 * manual/install.texi: Use sourceware.org.
26831
26832 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26833
26834 [BZ #13873]
26835 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26836 (__ieee754_pow): Generate overflow and underflow using huge*huge
26837 and tiny*tiny rather than just returning constant infinity or zero
26838 for large exponents.
26839 * math/libm-test.inc (pow_test): Require overflow exceptions for
26840 applicable cases of large exponents.
26841
26842 [BZ #706]
26843 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26844 (__ieee754_pow): Use iterative multiplication algorithm only for
26845 integer exponents with absolute value below 1024. Check for odd
26846 integer exponents when using algorithm for real exponents.
26847 * math/libm-test.inc (pow_test): Add more tests.
26848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26849
26850 2012-04-08 Joseph Myers <joseph@codesourcery.com>
26851
26852 [BZ #13705]
26853 * math/libm-test.inc (exp_test): Do not allow overflow exception
26854 on underflow test.
26855
26856 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26857
26858 [BZ #13705]
26859 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26860 instead of __kernel_standard_f.
26861
26862 2012-04-08 Mike Frysinger <vapier@gentoo.org>
26863
26864 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26865 * sysdeps/x86_64/memset_chk.S: Likewise.
26866
26867 2012-04-08 Andreas Jaeger <aj@suse.de>
26868
26869 [BZ #10153]
26870 * manual/startup.texi (Environment Access): Describe return value
26871 for putenv and setenv.
26872
26873 [BZ #6895]
26874 * manual/filesys.texi (Directory Entries): Add description for
26875 DT_LNK.
26876
26877 [BZ #6890]
26878 * manual/filesys.texi (Directory Entries): Clarify that it's file
26879 system not operating system in the description of DT_UNKNOWN.
26880
26881 [BZ #6578]
26882 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26883
26884 2012-04-08 Stephen Compall <s11@member.fsf.org>
26885
26886 [BZ #6649]
26887 * manual/llio.texi (Opening and Closing Files): Add cross
26888 reference to explain mode argument.
26889
26890 2012-04-07 Mike Frysinger <vapier@gentoo.org>
26891
26892 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26893 * sysdeps/x86_64/memset_chk.S: Likewise.
26894
26895 2012-04-07 David S. Miller <davem@davemloft.net>
26896
26897 * elf/elf.h (R_SPARC_WDISP10): Define.
26898 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26899 R_SPARC_SIZE32.
26900 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26901 R_SPARC_SIZE64 and R_SPARC_H34.
26902
26903 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26904
26905 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26906 conditions and remove no longer applicable assertion.
26907
26908 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26909
26910 * bits/byteswap.h: Include <features.h>.
26911 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26912 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26913
26914 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26915
26916 * bits/byteswap.h (__bswap_16): Removed.
26917 Include <bits/byteswap-16.h> to get __bswap_16.
26918 * sysdeps/i386/bits/byteswap.h: Likewise.
26919 * sysdeps/s390/bits/byteswap.h: Likewise.
26920 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26921 * bits/byteswap-16.h: New file.
26922 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26923 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26924 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26925 * string/Makefile (headers): Add bits/byteswap-16.h.
26926
26927 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26928
26929 [BZ #13895]
26930 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26931 extra indirection.
26932 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26933 * nss/tst-nss-static.c: New.
26934
26935 2012-04-06 Robert Millan <rmh@gnu.org>
26936
26937 [BZ #6486]
26938 * manual/llio.texi (File Position Primitive): lseek
26939 refers to WHENCE when it really means OFFSET.
26940
26941 2012-04-06 Andreas Jaeger <aj@suse.de>
26942
26943 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26944 strncmp declarations.
26945
26946 * abilist/libc.abilist: Add __poll and __ppoll.
26947
26948 2012-04-05 David S. Miller <davem@davemloft.net>
26949
26950 * scripts/check-local-headers.sh: Accept a host triplet in the
26951 path matched by the exclude regexp.
26952
26953 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26954 definition.
26955 * sysdeps/powerpc/powerpc32/dl-machine.h
26956 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26957 * sysdeps/s390/s390-32/dl-machine.h
26958 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26959 * sysdeps/sparc/sparc32/dl-machine.h
26960 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26961 * sysdeps/sparc/sparc64/dl-machine.h
26962 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26963
26964 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26965 lazy binding.
26966 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26967 undefined symbol errors.
26968
26969 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26970 DT_NEEDED entries.
26971
26972 2012-04-05 Michael Matz <matz@suse.de>
26973
26974 [BZ #13592]
26975 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26976
26977 2012-04-05 Andreas Jaeger <aj@suse.de>
26978
26979 [BZ #13908]
26980 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26981 comment.
26982
26983 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26984
26985 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26986 which ROUND is no valid rounding mode.
26987
26988 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26989
26990 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26991 read again.
26992 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26993
26994 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26995
26996 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26997 an exception using FPU order intentionally.
26998
26999 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27000
27001 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27002 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27003 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27004 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27005
27006 2012-04-05 Simon Josefsson <simon@josefsson.org>
27007
27008 [BZ #12340]
27009 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27010 EINVAL when BUFLEN is too smal.
27011
27012 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27013
27014 [BZ #13553]
27015 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27016 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27017
27018 2012-04-03 Andreas Jaeger <aj@suse.de>
27019
27020 [BZ #13938]
27021 * manual/setjmp.texi (System V contexts): Fix sentence.
27022
27023 [BZ #13926]
27024 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27025 New macro for this case.
27026 [!__GNUC__] (__bswap_64): New inline function for this case.
27027 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27028 * bits/byteswap.h: Likewise.
27029 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27030 ull, guard with __GLIBC_HAVE_LONG_LONG.
27031
27032 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27033 __GLIBC_HAVE_LONG_LONG.
27034
27035 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27036 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27037
27038 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27039
27040 [BZ #13691]
27041 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27042 inptr and inend, rather than using last_ch.
27043
27044 2012-04-02 David S. Miller <davem@davemloft.net>
27045
27046 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27047 * stdio-common/printf-parse.h (read_int): Change return type to
27048 'int', return -1 on INT_MAX overflow.
27049 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27050 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27051 overflows INT_MAX. Check for overflow of in-format-string precision
27052 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27053 SIZE_MAX not INT_MAX for integer overflow test.
27054 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27055 skip the construct in the format string but do not record anything.
27056 * stdio-common/bug22.c: Adjust to test both width/prevision
27057 INT_MAX overflow as well as total length INT_MAX overflow. Check
27058 explicitly for proper errno values.
27059
27060 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27061
27062 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27063 CHAR_MAX.
27064 * string/test-strcmp.c [! WIDE]: Likewise.
27065 * time/tst-mktime2.c: Likewise for INT_MAX.
27066 * string/test-string.h: #include <sys/param.h> for MIN.
27067
27068 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27069 * sysdeps/i386/init-first.c (init): Likewise.
27070 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27071 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27072 * sysdeps/sh/init-first.c (init): Likewise.
27073
27074 2012-04-01 Ulrich Drepper <drepper@gmail.com>
27075
27076 * po/ru.po: Update from translation team.
27077 * po/vi.po: Likewise.
27078
27079 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27080
27081 * resolv/nss_dns/dns-host.c: Merge copyright years.
27082
27083 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27084
27085 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27086 Optimize memcpy with prefetch if
27087 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27088 src, dst pointers have unequal 16 byte alignments.
27089
27090 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27091
27092 [BZ #13928]
27093 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27094 from a CNAME entry and return the minimum ttl for the query.
27095 (gaih_getanswer_slice): Likewise.
27096
27097 2012-03-30 Jeff Law <law@redhat.com>
27098
27099 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27100 due to long keys.
27101 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27102 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27103
27104 * resolv/nss_dns/dns-host.c: Update copyright year.
27105
27106 2012-03-30 Ulrich Drepper <drepper@gmail.com>
27107
27108 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27109 requests to save a system call. Fix check that all bytes are sent.
27110
27111 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27112 comments for sendmmsg.
27113
27114 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27115
27116 [BZ #13691]
27117 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27118 with only 1 character between 0x0041 and 0x01b0.
27119 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27120 * wcsmbs/tst-mbsnrtowcs.c: New file.
27121
27122 2012-03-29 David S. Miller <davem@davemloft.net>
27123
27124 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27125 small copies by hand.
27126
27127 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27128
27129 [BZ #13761]
27130 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27131 _nss_compat_initgroups_dyn): Fall back to malloc/free
27132 for large group memberships.
27133
27134 2012-03-28 David S. Miller <davem@davemloft.net>
27135
27136 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27137 that branches into memcpy.
27138 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27139 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27140 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27141 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27142 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27143 bits.
27144 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27145 implementation too.
27146 * sysdeps/sparc/mempcpy.S: New file.
27147
27148 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27149 the IFUNC routine in the libc case.
27150 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27151
27152 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27153 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27154 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27155 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27156 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27157 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27158 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27159 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27160
27161 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27162 loop to 256 bytes instead of 64 bytes and fix test signedness.
27163
27164 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27165 * sysdeps/sparc/sparc32/Makefile: rather than here...
27166 * sysdeps/sparc/sparc64/Makefile: and here.
27167
27168 2012-03-28 Ulrich Drepper <drepper@gmail.com>
27169
27170 * malloc/mallocbug.c: Avoid warnings about unused variables.
27171
27172 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27173
27174 [BZ #13760]
27175 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27176 in the right place. Discard and retry query if response is
27177 larger than input buffer size.
27178
27179 2012-03-28 Joseph Myers <joseph@codesourcery.com>
27180
27181 [BZ #369]
27182 [BZ #2678]
27183 [BZ #3866]
27184 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27185 x for large integer exponent.
27186 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27187 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27188 sign of result as needed afterwards.
27189 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27190 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27191 result for underflowing pow the same as for overflow.
27192 (__kernel_standard_l): Handle powl overflow and underflow here
27193 rather than calling __kernel_standard.
27194 * math/libm-test.inc (pow_test): Add more tests.
27195
27196 [BZ #3868]
27197 [BZ #13879]
27198 [BZ #13910]
27199 [BZ #13911]
27200 [BZ #13912]
27201 [BZ #13913]
27202 [BZ #13915]
27203 [BZ #13916]
27204 [BZ #13917]
27205 [BZ #13918]
27206 [BZ #13919]
27207 [BZ #13920]
27208 [BZ #13921]
27209 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27210 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27211 (__kernel_standard_l): New function.
27212 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27213 __kernel_standard.
27214 * math/w_acosl.c (__acosl): Likewise.
27215 * math/w_asinl.c (__asinl): Likewise.
27216 * math/w_atan2l.c (__atan2l): Likewise.
27217 * math/w_atanhl.c (__atanhl): Likewise.
27218 * math/w_coshl.c (__coshl): Likewise.
27219 * math/w_exp10l.c (__exp10l): Likewise.
27220 * math/w_exp2l.c (__exp2l): Likewise.
27221 * math/w_fmodl.c (__fmodl): Likewise.
27222 * math/w_hypotl.c (__hypotl): Likewise.
27223 * math/w_j0l.c (__j0l, __y0l): Likewise.
27224 * math/w_j1l.c (__j1l, __y1l): Likewise.
27225 * math/w_jnl.c (__jnl, __ynl): Likewise.
27226 * math/w_lgammal.c (__lgammal): Likewise.
27227 * math/w_log10l.c (__log10l): Likewise.
27228 * math/w_log2l.c (__log2l): Likewise.
27229 * math/w_logl.c (__logl): Likewise.
27230 * math/w_powl.c (__powl): Likewise.
27231 * math/w_remainderl.c (__remainderl): Likewise.
27232 * math/w_scalbl.c (sysv_scalbl): Likewise.
27233 * math/w_sinhl.c (__sinhl): Likewise.
27234 * math/w_sqrtl.c (__sqrtl): Likewise.
27235 * math/w_tgammal.c (__tgammal): Likewise.
27236 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27237 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27238 * math/libm-test.inc (acos_test): Add more tests.
27239 (acosh_test): Likewise.
27240 (asin_test): Likewise.
27241 (atanh_test): Likewise.
27242 (exp_test): Likewise.
27243 (exp10_test): Likewise.
27244 (exp2_test): Likewise.
27245 (expm1_test): Likewise.
27246 (lgamma_test): Likewise.
27247 (log_test): Likewise.
27248 (log10_test): Likewise.
27249 (log1p_test): Likewise.
27250 (log2_test): Likewise.
27251 (pow_test): Do not allow some spurious overflow exceptions.
27252 (sqrt_test): Add more tests.
27253 (tgamma_test): Likewise.
27254 (y0_test): Likewise.
27255 (y1_test): Likewise.
27256 (yn_test): Likewise.
27257
27258 2012-03-27 Anton Blanchard <anton@samba.org>
27259
27260 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27261 MAP_HUGETLB.
27262 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27263 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27264 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27265
27266 2012-03-27 David S. Miller <davem@davemloft.net>
27267
27268 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27269
27270 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27271 have-as-vis3 check.
27272
27273 2012-03-27 Andreas Jaeger <aj@suse.de>
27274
27275 * sysdeps/x86_64/elf/configure.in: Moved to ...
27276 * sysdeps/x86_64/configure.in: ... here.
27277 * sysdeps/x86_64/elf/start.S: Moved to ...
27278 * sysdeps/x86_64/start.S: ... here.
27279 * sysdeps/x86_64/elf/configure: Delete.
27280
27281 * sysdeps/x86_64/configure.in: Merge contents from
27282 sysdeps/i386/configure.in (without i686 check).
27283
27284 * sysdeps/i386/elf/Versions: Merge into ...
27285 * sysdeps/i386/Versions: ... this.
27286 * sysdeps/i386/elf/Versions: Delete file.
27287 * sysdeps/i386/elf/start.S: Moved to ...
27288 * sysdeps/i386/start.S: ...here.
27289 * sysdeps/i386/elf/configure.in: Merge into...
27290 * sysdeps/i386/configure.in: ...here.
27291 * sysdeps/i386/elf/configure.in: Delete file.
27292 * sysdeps/i386/elf/configure: Delete file.
27293
27294 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27295 * debug/backtracesyms.c: ... here.
27296 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27297 * debug/backtracesymsfd.c: ... here.
27298 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27299 * sysdeps/generic/ifunc-sel.h: ... here.
27300
27301 * sysdeps/unix/i386/start.c: Delete file.
27302 * sysdeps/unix/sparc/start.c: Delete file.
27303 * sysdeps/unix/start.c: Delete file.
27304
27305 * sysdeps/sh/elf/configure.in: Moved to ...
27306 * sysdeps/sh/configure.in: ... here.
27307 * sysdeps/sh/elf/start.S: Moved to ...
27308 * sysdeps/sh/start.S: ... here.
27309 * sysdeps/sh/elf/configure: Delete file.
27310
27311 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27312 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27313 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27314 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27315 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27316 * sysdeps/powerpc/powerpc64/start.S: here.
27317 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27318 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27319 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27320 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27321 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27322
27323 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27324 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27325 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27326 * sysdeps/powerpc/powerpc32/start.S: ... here.
27327 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27328 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27329 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27330
27331 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27332 * sysdeps/powerpc/ifunc-sel.h: ... here.
27333 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27334 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27335
27336 * sysdeps/sparc/elf/configure.in: Moved to ...
27337 * sysdeps/sparc/configure.in: ... here.
27338 * sysdeps/sparc/elf/configure: Delete file.
27339 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27340 * sysdeps/sparc/sparc32/start.S: ... here.
27341 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27342 * sysdeps/sparc/sparc64/start.S: ... here.
27343 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27344 * sysdeps/sparc/sparc32/Makefile: ... this.
27345 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27346 * sysdeps/sparc/sparc64/Makefile: ... this.
27347
27348 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27349 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27350 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27351 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27352 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27353 * sysdeps/s390/s390-32/setjmp.S: ... here.
27354 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27355 * sysdeps/s390/s390-32/configure.in: ... here.
27356 * sysdeps/s390/s390-32/elf/configure: Delete file.
27357 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27358 * sysdeps/s390/s390-32/start.S: ... here.
27359
27360 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27361 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27362 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27363 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27364 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27365 * sysdeps/s390/s390-64/setjmp.S: ... here.
27366 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27367 * sysdeps/s390/s390-64/configure.in: ... here
27368 * sysdeps/s390/s390-64/elf/configure: Delete file.
27369 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27370 * sysdeps/s390/s390-64/start.S: ... here.
27371 * sysdeps/s390/s390-64/elf/configure: Delete.
27372
27373 * configure.in: Remove support for elf directories in sysdeps.
27374
27375 * configure: Regenerated.
27376 * sysdeps/i386/configure: Regenerated.
27377 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27378 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27379 * sysdeps/s390/s390-32/configure: Regenerated.
27380 * sysdeps/s390/s390-64/configure: Regenerated.
27381 * sysdeps/sh/configure: Regenerated.
27382 * sysdeps/sparc/configure: Regenerated.
27383 * sysdeps/x86_64/configure: Regenerated.
27384
27385 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27386
27387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27388
27389 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27390 denormal result into account.
27391
27392 2012-03-25 Roland McGrath <roland@hack.frob.com>
27393
27394 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27395 Reported by Allan McRae <allan@archlinux.org>.
27396
27397 2012-03-23 Jeff Law <law@redhat.com>
27398
27399 * nss/getnssent.c (__nss_getent): Fix typo.
27400
27401 2012-03-23 David S. Miller <davem@davemloft.net>
27402
27403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27404
27405 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27406
27407 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27408 to pad to uint64_t for each field.
27409 (dl_tls_index): Replace unsigned long with uint64_t.
27410
27411 2012-03-23 Daniel Jacobowitz <dmj@google.com>
27412 Paul Pluzhnikov <ppluzhnikov@google.com>
27413
27414 [BZ #6528]
27415 * grp/Makefile (otherlibs): Don't set it.
27416 * inet/Makefile (otherlibs): Likewise.
27417 * login/Makefile (otherlibs): Likewise.
27418 * nscd/Makefile (otherlibs): Likewise.
27419 * posix/Makefile (otherlibs): Likewise.
27420 * pwd/Makefile (otherlibs): Likewise.
27421 * rt/Makefile (otherlibs): Likewise.
27422 * sunrpc/Makefile (otherlibs): Likewise.
27423 * nss/Makefile (otherlibs): Likewise.
27424 Add libnss_files to routines and static-only-routines.
27425 ($(objpfx)getent): Remove rule.
27426 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27427 static-only-routines.
27428
27429 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27430
27431 [BZ #13892]
27432 * math/s_cexp.c: Include <float.h>.
27433 (__cexp): Handle exp result overflowing not necessarily
27434 overflowing both real and imaginary parts of result.
27435 * math/s_cexpf.c: Likewise.
27436 * math/s_cexpl.c: Likewise.
27437 * math/libm-test.inc (cexp_test): Add more tests.
27438 * sysdeps/i386/fpu/libm-test-ulps: Update.
27439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27440
27441 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27442
27443 * include/link.h (ELFW): New macro.
27444 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27445 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27446
27447 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27448
27449 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27450 with uint64_t.
27451
27452 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27453
27454 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27455 declaration.
27456 (struct La_x32_retval): Likewise.
27457
27458 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27459
27460 * sysdeps/x86_64/preconfigure.in: New file.
27461 * sysdeps/x86_64/preconfigure: New generated file.
27462
27463 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27464
27465 [BZ #13824]
27466 * math/e_exp2l.c: Include <float.h>.
27467 (__ieee754_exp2l): Handle overflow and underflow cases
27468 separately. Only pass fractional part of argument to
27469 __ieee754_expl.
27470 * math/libm-test.inc (exp2_test): Add more tests.
27471
27472 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27473 negating x to take absolute value.
27474 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27475 Likewise.
27476 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27477 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27478 Likewise.
27479 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27480 computing low part if x was negated.
27481 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27482
27483 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27484
27485 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27486 la_x32_gnu_pltexit.
27487 (pltexit): Cast int_retval to ptrdiff_t.
27488 * elf/tst-auditmod3b.c: Likewise.
27489 * elf/tst-auditmod4b.c: Likewise.
27490 * elf/tst-auditmod5b.c: Likewise.
27491 * elf/tst-auditmod6b.c: Likewise.
27492 * elf/tst-auditmod6c.c: Likewise.
27493 * elf/tst-auditmod7b.c: Likewise.
27494
27495 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27496 and x32_gnu_pltexit.
27497
27498 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27499 __ELF_NATIVE_CLASS.
27500 (La_x32_regs): New macro.
27501 (La_x32_retval): Likewise.
27502 (la_x32_gnu_pltenter): New function prototype.
27503 (la_x32_gnu_pltexit): Likewise.
27504
27505 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27506
27507 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27508 exponent.
27509
27510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27511
27512 * configure.in (libc_cv_cc_nofma): Check for option to disable
27513 generation of FMA instructions.
27514 * configure: Regenerate.
27515 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27516 * sysdeps/ieee754/dbl-64/Makefile: New file.
27517 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27518 Remove brandred-fma4.
27519 (CFLAGS-brandred-fma4.c): Remove.
27520 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27521 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27522 define.
27523 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27524 define.
27525
27526 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27527
27528 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27529 LLONG_MAX != LONG_MAX.
27530 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27531 (_fitoa_word): Likewise.
27532 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27533 LLONG_MAX != LONG_MAX.
27534 * stdio-common/_itowa.h: Include <_itoa.h>.
27535 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27536 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27537 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27538 only if not defined.
27539 (_ITOA_WORD_TYPE): Likewise.
27540 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27541 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27542
27543 2012-03-21 David S. Miller <davem@davemloft.net>
27544
27545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27546
27547 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27548
27549 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27550 of x86_64 when setting libc_cv_slibdir, libdir and
27551 libc_cv_localedir.
27552 * sysdeps/unix/sysv/linux/configure: Regenerated.
27553
27554 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27555
27556 * manual/lang.texi (Old Varargs): Remove section.
27557 (How Variadic): Update menu.
27558 (va_start): Do not mention varargs.h.
27559
27560 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27561 Joseph Myers <joseph@codesourcery.com>
27562
27563 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27564 link test.
27565 * configure: Regenerated.
27566
27567 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27568
27569 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27570 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27571 conformtest.pl
27572
27573 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27574
27575 * NOTES: Remove.
27576 * Makefile (files-for-dist): Remove NOTES.
27577 (NOTES): Remove rule.
27578 * README: Don't refer to NOTES.
27579 * manual/creature.texi: Don't include macros.texi.
27580 * manual/intro.texi (creature.texi): Remove comment referring to
27581 NOTES.
27582
27583 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27584 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27585 * configure: Regenerated.
27586 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27587 LIBC_TRY_CC_OPTION.
27588 (libc_cv_as_i686): Likewise.
27589 (libc_cv_cc_avx): Likewise.
27590 (libc_cv_cc_sse2avx): Likewise.
27591 (libc_cv_cc_fma4): Likewise.
27592 (libc_cv_cc_novzeroupper): Likewise.
27593 * sysdeps/i386/configure: Regenerated.
27594
27595 [BZ #13883]
27596 * sysdeps/i386/fpu/s_cexp.S: Remove.
27597 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27598 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27599 * math/libm-test.inc (cexp_test): Add more tests.
27600 * sysdeps/i386/fpu/libm-test-ulps: Update.
27601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27602
27603 2012-03-21 Allan McRae <allan@archlinux.org>
27604
27605 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27606
27607 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27608
27609 [BZ #13871]
27610 * math/w_exp2.c: Do not include <float.h>.
27611 (o_threshold, u_threshold): Remove.
27612 (__exp2): Calculate result before checking finiteness and calling
27613 __kernel_standard.
27614 * math/w_exp2f.c: Likewise.
27615 * math/w_exp2l.c: Likewise.
27616 * math/libm-test.inc (exp2_test): Require overflow exception for
27617 1e6 input.
27618
27619 [BZ #3866]
27620 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27621 range of signed 64-bit integers before using fistpll. Remove
27622 checks for whether integers fit in mantissa bits.
27623 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27624 the range of signed 32-bit integers before using fistpl. Remove
27625 checks for whether integers fit in mantissa bits.
27626 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27627 (__ieee754_powl): Test for y outside the range of signed 64-bit
27628 integers before using fistpll. Reduce 64-bit values to 63-bit
27629 ones as needed.
27630 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27631 divide-by-zero is raised for zero to large negative powers.
27632 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27633 (__ieee754_powl): Test for y outside the range of signed 64-bit
27634 integers before using fistpll. Reduce 64-bit values to 63-bit
27635 ones as needed.
27636 * math/libm-test.inc (pow_test): Add more tests.
27637
27638 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27639
27640 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27641 <stdio-common/_itoa.h>.
27642 * debug/segfault.c: Likewise.
27643 * elf/dl-cache.c: Likewise.
27644 * elf/dl-minimal.c: Likewise.
27645 * elf/dl-misc.c: Likewise.
27646 * elf/dl-sysdep.c: Likewise.
27647 * elf/dl-version.c: Likewise.
27648 * elf/rtld.c: Likewise.
27649 * hurd/hurdsock.c: Likewise.
27650 * hurd/lookup-retry.c: Likewise.
27651 * malloc/malloc.c: Likewise.
27652 * malloc/mtrace.c: Likewise.
27653 * nscd/nscd_getgr_r.c: Likewise.
27654 * nscd/nscd_getpw_r.c: Likewise.
27655 * nscd/nscd_getserv_r.c: Likewise.
27656 * posix/getopt_init.c: Likewise.
27657 * posix/wordexp.c: Likewise.
27658 * stdio-common/_itoa.c: Likewise.
27659 * stdio-common/printf_fphex.c: Likewise.
27660 * stdio-common/vfprintf.c: Likewise.
27661 * string/_strerror.c: Likewise.
27662 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27663 * sysdeps/i386/i686/hp-timing.h: Likewise.
27664 * sysdeps/mach/_strerror.c: Likewise.
27665 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27666 * sysdeps/mach/hurd/sethostid.c: Likewise.
27667 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27668 * sysdeps/mach/xpg-strerror.c: Likewise.
27669 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27670 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27671 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27672 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27673 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27674 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27675 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27676 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27677 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27678 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27679 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27680 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27681 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27682 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27683 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27684 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27685 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27686 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27687 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27688 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27689 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27690
27691 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27692
27693 * stdio-common/_itoa.h: Moved to ...
27694 * sysdeps/generic/_itoa.h: Here.
27695
27696 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27697
27698 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27699 instead of "_itoa.h" and "_itowa.h".
27700 * stdio-common/vfprintf.: Likewise.
27701
27702 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27703
27704 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27705 <bits/wordsize.h>.
27706 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27707 (__signbit): Likwise.
27708 (llrintf): Likwise.
27709 (llrint): Likwise.
27710
27711 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27712
27713 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27714 __WORDSIZE != 64.
27715
27716 2012-03-20 Joseph Myers <joseph@codesourcery.com>
27717
27718 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27719 OVERFLOW_EXCEPTION_OK.
27720 * math/libm-test.inc ("Philosophy"): Update comment about
27721 exception testing.
27722 (OVERFLOW_EXCEPTION): Define.
27723 (OVERFLOW_EXCEPTION_OK): Likewise.
27724 (INVALID_EXCEPTION_OK): Renumber.
27725 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27726 (IGNORE_ZERO_INF_SIGN): Likewise.
27727 (test_exceptions): Handle FE_OVERFLOW.
27728 (exp10_test): Expect overflow exceptions.
27729 (exp2_test): Likewise.
27730 (expm1_test): Likewise.
27731 (nextafter_test): Likewise.
27732 (pow_test): Likewise.
27733 (scalbn_test): Likewise.
27734 (scalbln_test): Likewise.
27735
27736 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27737
27738 * sysdeps/x86_64/bits/atomic.h
27739 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27740 64bit integer.
27741 (atomic_exchange_acq): Likewise.
27742 (__arch_exchange_and_add_body): Likewise.
27743 (__arch_add_body): Likewise.
27744 (atomic_add_negative): Likewise.
27745 (atomic_add_zero): Likewise.
27746
27747 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27748
27749 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27750 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27751
27752 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27753
27754 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27755 Check __x86_64__ instead of __WORDSIZE.
27756
27757 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27758
27759 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27760
27761 2012-03-19 David S. Miller <davem@davemloft.net>
27762
27763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27764
27765 * sysdeps/sparc/fpu/fenv_private.h: New file.
27766 * sysdeps/sparc/fpu/math_private.h: Use it.
27767 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27768 Remove.
27769 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27770 (libc_feholdexcept_setroundl): Remove.
27771 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27772 Remove.
27773 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27774 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27775
27776 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27777
27778 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27779 int64_t instead of long int.
27780 (INSERT_WORDS64): Likwise.
27781
27782 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27783
27784 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27785 _Unwind_GetCFA return to _Unwind_Ptr first.
27786
27787 2012-03-19 Joseph Myers <joseph@codesourcery.com>
27788
27789 [BZ #13629]
27790 * math/s_clog.c: Include <float.h>.
27791 (__clog): Scale large or subnormal inputs.
27792 * math/s_clogf.c: Likewise.
27793 * math/s_clogl.c: Likewise.
27794 * math/s_clog10.c: Include <float.h>.
27795 (M_LOG10_2): Define.
27796 (__clog10): Scale large or subnormal inputs.
27797 * math/s_clog10f.c: Likewise.
27798 * math/s_clog10l.c: Likewise.
27799 * math/libm-test.inc (clog_test): Add more tests.
27800 (clog10_test): Likewise.
27801 * sysdeps/i386/fpu/libm-test-ulps: Update.
27802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27803
27804 [BZ #11451]
27805 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27806 x and y.
27807 * math/libm-test.inc (atan2_test): Add another test.
27808
27809 * Makerules (common-objdir-compile): Remove.
27810 * sysdeps/unix/Makefile (config-generated): Do not add
27811 $(unix-generated) to variable.
27812 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27813 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27814 Remove rule.
27815 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27816 Likewise.
27817 [generic bits/local_lim.h] (before-compile): Do not append to
27818 variable.
27819 [generic bits/local_lim.h] (common-generated): Likewise.
27820 [generic sys/param.h] (before-compile): Do not append to variable.
27821 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27822 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27823 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27824 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27825 include.
27826 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27827 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27828 [generic sys/param.h] ($(addprefix
27829 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27830 [generic sys/param.h] (common-generated): Do not append to
27831 variable.
27832 [generic sys/param.h] (sysdep_headers): Likewise.
27833 [generic bits/errno.h] (before-compile): Do not append to
27834 variable.
27835 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27836 rule.
27837 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27838 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27839 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27840 [generic bits/errno.h] (common-generated): Do not append to
27841 variable.
27842 [generic bits/ioctls.h] (before-compile): Do not append to
27843 variable.
27844 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27845 rule.
27846 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27847 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27848 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27849 rule.
27850 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27851 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27852 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27853 [generic bits/ioctls.h] (common-generated): Do not append to
27854 variable.
27855 [generic sys/syscall.h] (syscall.h): Remove variable.
27856 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27857 rule.
27858 [generic sys/syscall.h] (before-compile): Do not append to
27859 variable.
27860 [generic sys/syscall.h] (common-generated): Likewise.
27861 * sysdeps/unix/errnos-tmpl.c: Remove file.
27862 * sysdeps/unix/errnos.awk: Likewise.
27863 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27864 * sysdeps/unix/ioctls.awk: Likewise.
27865 * sysdeps/unix/mk-local_lim.c: Likewise.
27866 * sysdeps/unix/snarf-ioctls: Likewise.
27867
27868 2012-03-19 Richard Henderson <rth@twiddle.net>
27869
27870 * sysdeps/i386/fpu/fenv_private.h: New file.
27871 * sysdeps/i386/fpu/math_private.h: Use it.
27872 (math_opt_barrier, math_force_eval): Remove.
27873 (libc_feholdexcept_setround_53bit): Remove.
27874 (libc_feupdateenv_53bit): Remove.
27875 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27876 (math_opt_barrier, math_force_eval): Remove.
27877 (libc_feholdexcept): Remove.
27878 (libc_feholdexcept_setround): Remove.
27879 (libc_fetestexcept, libc_fesetenv): Remove.
27880 (libc_feupdateenv_test): Remove.
27881 (libc_feupdateenv, libc_feholdsetround): Remove.
27882 (libc_feresetround): Remove.
27883
27884 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27885 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27886
27887 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27888 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27889 (libc_feupdateenv_testl): New.
27890 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27891 (libc_feupdateenv_testf): New.
27892 (libc_feupdateenv): Use libc_feupdateenv_test.
27893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27894 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27895
27896 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27897 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27898 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27899 (libc_feresetround_noex): New.
27900 (libc_feresetround_noexf): New.
27901 (libc_feresetround_noexl): New.
27902 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27903 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27904 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27905 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27906 SET_RESTORE_ROUND.
27907 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27908 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27909 (__cos): Likewise.
27910 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27911 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27912 SET_RESTORE_ROUND_NOEX.
27913 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27914 SET_RESTORE_ROUND_NOEXF.
27915 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27916 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27917 (libc_feholdsetroundf): New.
27918 (libc_feresetround, libc_feresetroundf): New.
27919
27920 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27921 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27922 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27923
27924 * sysdeps/generic/math_private.h: Include <fenv.h>.
27925 (default_libc_feholdexcept): New.
27926 (default_libc_feholdexcept_setround): New.
27927 (default_libc_fesetenv, default_libc_feupdateenv): New.
27928 (libc_feholdexcept): Only define if undefined.
27929 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27930 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27931 (libc_feholdexcept_setroundl): Likewise.
27932 (libc_feholdexcept_setround_53bit): Likewise.
27933 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27934 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27935 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27936 (libc_feupdateenv_53bit): Likewise.
27937 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27938 (libc_feholdexcept): Convert from macro to inline function.
27939 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27940 (libc_fesetenv, libc_feupdateenv): Likewise.
27941
27942 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27943 not previously defined.
27944 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27945 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27946 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27947 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27948 * sysdeps/ieee754/flt-32/math_private.h: New file.
27949 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27950 math_private.h below SET_FLOAT_WORD.
27951 (__isnan, __isinf_ns, __finite): Remove.
27952 (__isnanf, __isinf_nsf, __finitef): Remove.
27953
27954 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27955
27956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27957
27958 2012-03-17 David S. Miller <davem@davemloft.net>
27959
27960 [BZ #6471]
27961 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27962 for 2.16.
27963
27964 2012-03-16 David S. Miller <davem@davemloft.net>
27965
27966 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27967 warnings.
27968
27969 [BZ #6471]
27970 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27971 properly.
27972 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27973 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27974 sysdep_routines when subdir is sysvipc.
27975 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27976 __getshmlba helper.
27977
27978 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27979
27980 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27981
27982 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27983 [__LP64__].
27984
27985 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27986
27987 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27988 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27989 (__lround): Renamed to ...
27990 (__llround): This. Replace long int with long long int.
27991 Define lround functions as aliases of llround functions.
27992 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27993
27994 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27995
27996 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27997 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27998 adresses to uintptr_t. Replace "long int" and "unsigned long
27999 int" with "greg_t" on va_arg.
28000
28001 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28002
28003 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28004 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28005
28006 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28007 Move e_machine check before EI_CLASS check. Handle x32
28008 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28009 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28010 SKIP_EM_IA_64 and include
28011 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28012
28013 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28014 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28015 (add_system_dir): New macro.
28016
28017 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28018 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28019
28020 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28021
28022 [BZ #2551]
28023 [BZ #2552]
28024 [BZ #2553]
28025 [BZ #2554]
28026 [BZ #2562]
28027 [BZ #2563]
28028 [BZ #2565]
28029 [BZ #2566]
28030 [BZ #2576]
28031 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28032 (y0): Likewise.
28033 * math/w_j0f.c (j0f): Likewise.
28034 (y0f): Likewise.
28035 * math/w_j0l.c (__j0l): Likewise.
28036 (__y0l): Likewise.
28037 * math/w_j1.c (j1): Likewise.
28038 (y1): Likewise.
28039 * math/w_j1f.c (j1f): Likewise.
28040 (y1f): Likewise.
28041 * math/w_j1l.c (__j1l): Likewise.
28042 (__y1l): Likewise.
28043 * math/w_jn.c (jn): Likewise.
28044 (yn): Likewise.
28045 * math/w_jnf.c (jnf): Likewise.
28046 (ynf): Likewise.
28047 * math/w_jnl.c (__jnl): Likewise.
28048 (__ynl): Likewise.
28049 * math/libm-test.inc (j0_test): Add more tests.
28050 (j1_test): Likewise.
28051 (jn_test): Likewise. Add trailing semicolon to existing test.
28052 (y0_test): Likewise.
28053 (y1_test): Likewise.
28054 * sysdeps/i386/fpu/libm-test-ulps: Update.
28055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28056
28057 [BZ #13851]
28058 [BZ #13854]
28059 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28060 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28061 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28062 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28063 (__tanl): Set errno for infinite argument.
28064 * sysdeps/i386/fpu/mptan.c: Remove.
28065 * sysdeps/i386/fpu/s_tan.S: Likewise.
28066 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28067 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28068 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28069 * math/libm-test.inc (tan_test): Add more tests and enable more
28070 tests for double and long double.
28071 * sysdeps/i386/fpu/libm-test-ulps: Update.
28072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28073
28074 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28075
28076 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28077 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28078
28079 2012-03-16 Roland McGrath <roland@hack.frob.com>
28080
28081 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28082 * configure.in: Use it for both main tree and add-ons.
28083 * configure: Regenerated.
28084
28085 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28086
28087 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28088
28089 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28090
28091 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28092 in comment.
28093
28094 [BZ #13851]
28095 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28096 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28097 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28098 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28099 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28100 infinite argument.
28101 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28102 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28103 != 0 for prec == 2.
28104 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28105 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28106 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28107 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28108 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28109 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28110 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28111 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28112 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28113 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28114 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28115 * math/libm-test.inc (cos_test): Add more tests and enable more
28116 tests for long double.
28117 (sin_test): Likewise.
28118 (sincos_test): Likewise.
28119 * sysdeps/i386/fpu/libm-test-ulps: Update.
28120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28121
28122 2012-03-16 David S. Miller <davem@davemloft.net>
28123
28124 * sysdeps/sparc/fpu/math_private.h: New file.
28125
28126 2012-03-15 David S. Miller <davem@davemloft.net>
28127
28128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28129 file.
28130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28132 file.
28133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28138 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28139 sysdep routines.
28140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28141
28142 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28143 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28144
28145 * sysdeps/sparc/sparc-ifunc.h: New file.
28146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28147 sparc-ifunc.h
28148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28150 Likewise.
28151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28152 Likewise.
28153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28157 Likewise.
28158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28163 Likewise.
28164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28165 Likewise.
28166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28170 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28171 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28172 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28173 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28174 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28175 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28176 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28180 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28181 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28184 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28185 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28186 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28187 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28188 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28189 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28190
28191 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28192
28193 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28194 scaling.
28195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28196
28197 2012-03-15 Andreas Jaeger <aj@suse.de>
28198
28199 [BZ #13852]
28200 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28201 ieee754/flt-32 implementation for sin, cos and sincos.
28202 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28203 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28204 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28205 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28206 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28207 ieee754/flt-32 implementation for tan.
28208
28209 * math/libm-test.inc (cos_test): Enable some large input tests for
28210 float as well
28211 (sin_test): Likewise.
28212 (sincos_test): Likewise.
28213 (tan_test): Add tests for large input.
28214
28215 * sysdeps/i386/fpu/libm-test-ulps: Update.
28216
28217 2012-03-15 Andreas Jaeger <aj@suse.de>
28218
28219 [BZ #13658]
28220 * math/libm-test.inc (cos_test): Add more test cases.
28221 (sin_test): Likewise.
28222 (sincos_test): Likewise.
28223
28224 2012-03-15 Andreas Jaeger <aj@suse.de>
28225
28226 [BZ #13837]
28227 * math/libm-test.inc (cos_test): Add a test case for large input
28228 value.
28229 (sin_test): Likewise.
28230 (sincos_test): Likewise.
28231
28232 2012-03-15 Andreas Jaeger <aj@suse.de>,
28233 Joseph Myers <joseph@codesourcery.com>
28234
28235 [BZ #13658]
28236 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28237 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28238 * sysdeps/i386/fpu/branred.c: Likewise.
28239 * sysdeps/i386/fpu/dosincos.c: Likewise.
28240 * sysdeps/i386/fpu/mpa.c: Likewise.
28241 * sysdeps/i386/fpu/s_cos.S: Likewise.
28242 * sysdeps/i386/fpu/s_sin.S: Likewise.
28243 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28244 * sysdeps/i386/fpu/sincos32.c: Likewise.
28245
28246 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28247 Define.
28248 (libc_feupdateenv_53bit): Define.
28249 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28250 Define.
28251 (libc_feupdateenv_53bit): Define.
28252
28253 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28254 53 bit (without extend i386 double precision).
28255
28256 * math/libm-test.inc (sincos_test): Add tests for large input.
28257 (sin): Likewise.
28258 (cos): Likewise.
28259
28260 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28261
28262 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28263
28264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28265
28266 2012-03-15 David S. Miller <davem@davemloft.net>
28267
28268 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28269 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28270 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28271 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28281 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28284 file.
28285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28287 file.
28288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28290 file.
28291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28293 file.
28294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28295 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28296 fmin/fmax sysdep routines.
28297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28298
28299 2012-03-14 David S. Miller <davem@davemloft.net>
28300
28301 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28302 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28303 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28304 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28305 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28306 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28307 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28308 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28309 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28310 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28311 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28313 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28314 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28315 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28316 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28317 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28318 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28319 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28321 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28322 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28323 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28324 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28325 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28326 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28327 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28328 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28329 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28330 routines.
28331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28332 file.
28333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28335 file.
28336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28338 file.
28339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28341 file.
28342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28344 file.
28345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28347 file.
28348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28349 file.
28350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28351 file.
28352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28353 file.
28354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28355 New file.
28356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28357 file.
28358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28359 file.
28360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28362 file.
28363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28365 file.
28366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28368 file.
28369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28371 VIS3 routines.
28372
28373 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28374 New file.
28375
28376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28377
28378 * sysdeps/sparc/configure.in: New file.
28379 * sysdeps/sparc/configure: Generate.
28380 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28381 * configure: Regenerate.
28382 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28383 * config.make.in (have-as-vis3): New.
28384 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28385 available use -Av9d instead of -Av9a.
28386 * sysdeps/sparc/sparc64/Makefile: Likewise.
28387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28389 New file.
28390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28391 file.
28392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28393 New file.
28394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28395 file.
28396 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28397 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28398 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28399 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28400 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28401
28402 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28403 fzeros/fnegs to load 0x80000000 into a float register instead of
28404 using the stack.
28405 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28406
28407 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28408
28409 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28410 bits/syscall.h.
28411 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28412 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28413 ($(inst_includedir)/bits/syscall.h): Remove rule.
28414 ($(objpfx)bits/syscall.d): Include instead of
28415 $(objpfx)syscall-list.d.
28416 (generated): Change syscall-list.h and syscall-list.d to
28417 bits/syscall.h and bits/syscall.d.
28418
28419 2012-03-14 Roland McGrath <roland@hack.frob.com>
28420
28421 [BZ #13846]
28422 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28423
28424 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28425
28426 [BZ #13841]
28427 * math/s_csqrt.c: Include <float.h>.
28428 (__csqrt): Scale large or subnormal inputs.
28429 * math/s_csqrtf.c: Likewise.
28430 * math/s_csqrtl.c: Likewise.
28431 * math/libm-test.inc (csqrt_test): Add more tests.
28432 * sysdeps/i386/fpu/libm-test-ulps: Update.
28433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28434
28435 [BZ #13840]
28436 * math/libm-test.inc (hypot_test): Add more tests.
28437
28438 2012-03-13 David S. Miller <davem@davemloft.net>
28439
28440 [BZ #13840]
28441 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28442 double-precision for the calculation instead of scaling.
28443
28444 2012-03-13 Joseph Myers <joseph@codesourcery.com>
28445
28446 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28447 manipulate bits before adding and subtracting TWO52[sx].
28448 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28449 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28450 Likewise.
28451 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28452
28453 2012-03-13 David S. Miller <davem@davemloft.net>
28454
28455 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28456 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28457 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28458 rtld-global-offsets.h
28459 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28460
28461 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28462 large parameters.
28463
28464 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28465
28466 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28467 'err' in the ifdef scope in which it is actually used.
28468
28469 * nss/nss_db/db-init.c: Include string.h
28470
28471 2012-03-12 David S. Miller <davem@davemloft.net>
28472
28473 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28474 masking out of the most significant byte of random value used.
28475 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28476 Fix coding style in previous change.
28477
28478 * sysdeps/unix/sysv/linux/kernel-features.h
28479 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28480 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28481 expression.
28482 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28483 later.
28484
28485 2012-03-11 David S. Miller <davem@davemloft.net>
28486
28487 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28488 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28489 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28490 for 'resultvar' otherwise things get truncated on 64-bit.
28491
28492 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28493 Fix masking out of the most significant byte of random value used.
28494
28495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28496
28497 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28498
28499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28500
28501 2012-03-09 David S. Miller <davem@davemloft.net>
28502
28503 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28504 variables with appropriate CPP guards.
28505 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28506 frame pointer, not the stack pointer. Correct layout comments. Fix test
28507 on resulting framesize and the management of the outregs buffer for pltexit.
28508 Preserve floating point return values across _dl_call_pltexit call.
28509 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28510 framesize and the management of the outregs buffer for pltexit.
28511 Preserve floating point return values across _dl_call_pltexit
28512 call.
28513 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28514 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28515 (print_exit): Fix format string for return register value.
28516
28517 2012-03-10 Joseph Myers <joseph@codesourcery.com>
28518
28519 * sunrpc/Makefile (others): Add rpcgen.
28520 ($(objpfx)rpcgen): Remove special build rule and dependency on
28521 libc.
28522 * sunrpc/rpcgen.c: New file.
28523
28524 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28525
28526 [BZ #13673]
28527 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28528 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28529 * sysdeps/i386/crti.S: Likewise.
28530 * sysdeps/i386/crtn.S: Likewise.
28531 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28532 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28533 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28534 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28535 * sysdeps/sh/crti.S: Likewise.
28536 * sysdeps/sh/crtn.S: Likewise.
28537 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28538
28539 [BZ #13673]
28540 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28541 with URL.
28542 * locale/programs/locfile-kw.gperf: Likewise.
28543 * locale/programs/charmap-kw.h: Regenerated.
28544 * locale/programs/locfile-kw.h: Likewise.
28545
28546 [BZ #13673]
28547 * intl/plural.y: Replace FSF snail mail address with URL.
28548 * intl/plural.c: Regenerated.
28549
28550 2012-03-09 Richard Henderson <rth@twiddle.net>
28551
28552 * include/math_private.h: Remove file.
28553 * math/math_private.h: Move file ...
28554 * sysdeps/generic/math_private.h: ... here.
28555
28556 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28557 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28558 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28559
28560 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28561 and <math_private.h>.
28562 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28563 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28564 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28565 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28566 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28567 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28568 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28569 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28570 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28571 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28572 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28573 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28574 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28575 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28576 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28577 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28578 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28579 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28580 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28581 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28582 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28583 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28584 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28585 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28586 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28587 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28588 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28589 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28590 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28591 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28592 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28593 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28594 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28595 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28596 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28597 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28598 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28599 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28600 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28601 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28602 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28603 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28604 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28605 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28606 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28607 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28608 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28609 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28610 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28611 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28612 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28613 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28614 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28615 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28616 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28617 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28618 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28619 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28620 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28621 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28622 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28623 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28624 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28625 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28626 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28627 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28628 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28629 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28630 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28631 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28632 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28633 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28634 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28635 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28636 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28637 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28638 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28639 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28640 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28641 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28642 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28643 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28644 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28645 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28646 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28647 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28648 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28649 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28650 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28651 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28652 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28653 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28654 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28655 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28656 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28657 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28658 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28659 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28660 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28661 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28662 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28663 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28664 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28665 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28666 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28667 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28668 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28669 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28670 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28671 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28672 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28673 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28674 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28675 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28676 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28677 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28678 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28679 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28680 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28681 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28682 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28683 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28684 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28685 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28686 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28687 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28688 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28689 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28690 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28691 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28692 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28693 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28694 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28695 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28696 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28697 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28698 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28699 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28700 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28701 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28702 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28703 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28704 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28705 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28706 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28707 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28708 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28709 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28710 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28711 * sysdeps/ieee754/k_standard.c: Likewise.
28712 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28713 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28714 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28715 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28716 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28717 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28718 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28719 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28720 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28721 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28722 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28723 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28724 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28725 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28726 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28727 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28728 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28729 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28730 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28731 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28732 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28733 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28734 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28735 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28736 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28737 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28738 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28739 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28740 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28741 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28742 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28743 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28744 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28745 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28746 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28747 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28748 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28749 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28750 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28751 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28752 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28753 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28754 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28755 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28756 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28757 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28758 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28759 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28760 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28761 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28762 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28763 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28764 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28765 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28766 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28767 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28768 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28769 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28770 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28771 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28772 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28773 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28774 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28775 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28776 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28777 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28778 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28779 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28780 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28781 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28782 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28783 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28784 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28785 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28786 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28787 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28788 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28789 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28790 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28791 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28792 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28793 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28794 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28795 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28796 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28797 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28798 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28799 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28800 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28801 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28802 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28803 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28804 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28805 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28806 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28807 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28808 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28809 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28810 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28811 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28812 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28813 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28814 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28815 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28816 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28817 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28818 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28819 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28820 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28821 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28822 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28823 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28824 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28825 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28826 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28827 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28828 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28829 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28830 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28831 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28832 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28833 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28834 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28835 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28836 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28837 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28838 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28839 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28840 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28841 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28842 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28843 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28844 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28845 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28846 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28847 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28848 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28849 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28850 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28851 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28852 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28853 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28854 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28855 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28856 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28857 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28858 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28859 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28860 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28861 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28862 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28863 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28864 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28865 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28866 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28867 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28868 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28869 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28870 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28871 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28872 * sysdeps/ieee754/s_lib_version.c: Likewise.
28873 * sysdeps/ieee754/s_matherr.c: Likewise.
28874 * sysdeps/ieee754/s_signgam.c: Likewise.
28875 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28876 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28877 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28878 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28879 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28880 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28881 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28882 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28883 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28884 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28885 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28886 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28887 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28888 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28889 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28890 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28891 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28892 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28893 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28894 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28895 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28896
28897 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28898
28899 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28900 * sunrpc/rpc_main.c: Likewise.
28901 * sunrpc/rpc_svcout.c: Likewise.
28902
28903 2012-03-09 David S. Miller <davem@davemloft.net>
28904
28905 * include/math_private.h: New file.
28906
28907 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28908
28909 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28910 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28911 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28912 from <bits/socket_type.h>.
28913 (enum __socket_type): Don't define here.
28914 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28915 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28916 bits/socket_type.h.
28917
28918 [BZ #13566]
28919 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28920 checking __USE_GNU.
28921
28922 * Makerules ($(inst_includedir)/%.h): New rule.
28923 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28924 (install-others): Remove variable setting.
28925 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28926
28927 2012-03-08 Richard Henderson <rth@twiddle.net>
28928
28929 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28930 from macro to inline function; merge with the
28931 !__LIBC_INTERNAL_MATH_INLINES version.
28932 (__ieee754_sqrtf): Likewise.
28933
28934 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28935 to inline function.
28936 (__rintf, __floor, __floorf): Likewise.
28937
28938 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28939 macro to inline function.
28940 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28941
28942 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28943 not <math/math_private.h>.
28944
28945 2012-03-08 David S. Miller <davem@davemloft.net>
28946
28947 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28948 copyright year.
28949 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28950
28951 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28952
28953 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28954 normalization.
28955 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28956 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28957
28958 2012-03-08 Ulrich Drepper <drepper@gmail.com>
28959
28960 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28961 be defined individually, they must be defined as a block. Define
28962 S for printing a string instead of hidint the different by using a
28963 macro for adding the 'l'.
28964 * stdio-common/tst-fphex-wide.c: Adjust.
28965
28966 2012-03-07 Marek Polacek <polacek@redhat.com>
28967
28968 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28969
28970 2012-03-08 Marek Polacek <polacek@redhat.com>
28971
28972 [BZ #13806]
28973 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28974 * stdio-common/tst-fphex.c: Define a few macros to make the
28975 test reusable. Use them.
28976 * stdio-common/tst-fphex-wide.c: New file.
28977
28978 2012-03-08 Joseph Myers <joseph@codesourcery.com>
28979
28980 [BZ #6911]
28981 * manual/macros.texi (gnusystems): New macro.
28982 (nongnusystems): Likewise.
28983 (gnulinuxhurdsystems): Likewise.
28984 (gnuhurdsystems): Likewise..
28985 (gnulinuxsystems): Likewise.
28986 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28987 variants of the GNU system, not "GNU system".
28988 * manual/conf.texi: Likewise.
28989 * manual/errno.texi: Likewise. Update example of errno macro
28990 expansion.
28991 * manual/filesys.texi: Likewise.
28992 (getumask): Document as specific to GNU/Hurd.
28993 * manual/install.texi: Likewise. Reword some references to
28994 GNU/Linux.
28995 * manual/intro.texi: Likewise.
28996 * manual/io.texi: Likewise.
28997 (File Name Portability): Detail which constraints are inapplicable
28998 to all GNU systems and which are only inapplicable to GNU/Hurd.
28999 * manual/job.texi: Likewise.
29000 * manual/llio.texi: Likewise.
29001 (O_NOCTTY): Document as present on GNU/Linux.
29002 * manual/maint.texi: Likewise.
29003 * manual/memory.texi: Likewise.
29004 * manual/pattern.texi: Likewise.
29005 * manual/pipe.texi: Likewise.
29006 * manual/process.texi: Likewise.
29007 * manual/resource.texi: Likewise.
29008 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29009 child on GNU/Hurd.
29010 * manual/setjmp.texi: Likewise.
29011 * manual/signal.texi: Likewise.
29012 * manual/startup.texi: Likewise.
29013 * manual/stdio.texi: Likewise.
29014 * manual/terminal.texi: Likewise.
29015 (ONLCR): Document as POSIX.
29016 (OXTABS): Document availability on GNU/Linux as XTABS.
29017 (ONOEOT): Document availability separately from other bits.
29018 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29019 * manual/time.texi: Likewise.
29020 * manual/users.texi: Likewise.
29021 * INSTALL: Regenerated.
29022 * sysdeps/gnu/errlist.c: Regenerated.
29023
29024 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29025 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29026 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29027 puts.
29028 * configure: Regenerated.
29029
29030 2012-03-07 Joseph Myers <joseph@codesourcery.com>
29031
29032 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29033 default includes instead of AC_HEADER_CHECK.
29034 * sysdeps/i386/configure: Regenerated.
29035
29036 [BZ #10716]
29037 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29038 * math/s_cacoshf.c (__cacoshf): Likewise.
29039 * math/s_cacoshl.c (__cacoshl): Likewise.
29040 * math/s_casinh.c (__casinh): Set signs of result from argument.
29041 * math/s_casinhf.c (__casinhf): Likewise.
29042 * math/s_casinhl.c (__casinhl): Likewise.
29043 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29044 (casinh_test): Add more tests.
29045 * sysdeps/i386/fpu/libm-test-ulps: Update.
29046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29047
29048 2012-03-07 Ulrich Drepper <drepper@gmail.com>
29049
29050 * po/zh_TW.po: Update from translation team.
29051
29052 * login/Makefile (distribute): Remove variable.
29053 * catgets/Makefile: Likewise.
29054 * mach/Makefile: Likewise.
29055 * malloc/Makefile: Likewise.
29056 * misc/Makefile: Likewise.
29057 * iconv/Makefile: Likewise.
29058 * nscd/Makefile: Likewise.
29059 * hurd/Makefile: Likewise.
29060 * manual/Makefile: Likewise.
29061 * locale/Makefile: Likewise.
29062 * intl/Makefile: Likewise.
29063 * conform/Makefile: Likewise.
29064 * nss/Makefile: Likewise.
29065 * time/Makefile: Likewise.
29066 * soft-fp/Makefile: Likewise.
29067 * dirent/Makefile: Likewise.
29068 * gmon/Makefile: Likewise.
29069 * po/Makefile: Likewise.
29070 * rt/Makefile: Likewise.
29071 * socket/Makefile: Likewise.
29072 * math/Makefile: Likewise.
29073 * signal/Makefile: Likewise.
29074 * debug/Makefile: Likewise.
29075 * elf/Makefile: Likewise.
29076 * timezone/Makefile: Likewise.
29077 * stdlib/Makefile: Likewise.
29078 * iconvdata/Makefile: Likewise.
29079 * sunrpc/Makefile: Likewise.
29080 * io/Makefile: Likewise.
29081 * argp/Makefile: Likewise.
29082 * inet/Makefile: Likewise.
29083 * hesiod/Makefile: Likewise.
29084 * grp/Makefile: Likewise.
29085 * csu/Makefile: Likewise.
29086 * wctype/Makefile: Likewise.
29087 * crypt/Makefile: Likewise.
29088 * libio/Makefile: Likewise.
29089 * string/Makefile: Likewise.
29090 * nis/Makefile: Likewise.
29091 * resolv/Makefile: Likewise.
29092 * stdio-common/Makefile: Likewise.
29093 * wcsmbs/Makefile: Likewise.
29094 * dlfcn/Makefile: Likewise.
29095 * posix/Makefile: Likewise.
29096
29097 [BZ #6959]
29098 * timezone/Makefile: Don't install timezone files, just the programs
29099 and scripts.
29100
29101 2012-03-06 Ulrich Drepper <drepper@gmail.com>
29102
29103 * nss/databases.def: Add missing gshadow entry.
29104
29105 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29106
29107 2012-03-06 Marek Polacek <polacek@redhat.com>
29108
29109 [BZ #13726]
29110 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29111 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29112 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29113 * stdio-common/tst-long-dbl-fphex.c: New file.
29114
29115 2012-03-06 David S. Miller <davem@davemloft.net>
29116
29117 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29118 (set_obp_int): New function.
29119 (get_obp_int): New function.
29120 (__get_clockfreq_via_dev_openprom): Likewise.
29121 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29122 Avoid unused variable warnings on 'val' and use builtin_expect.
29123 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29124 __builtin_expect.
29125 (INLINE_CLONE_SYSCALL): Likewise.
29126
29127 2012-03-05 David S. Miller <davem@davemloft.net>
29128
29129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29130
29131 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29132
29133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29134
29135 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29136 only for |x| >= 40.
29137 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29138
29139 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
29140
29141 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29142 Replace gettimeofday with __vdso_gettimeofday.
29143
29144 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29145 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29146 __vdso_clock_gettime and __vdso_getcpu.
29147
29148 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29149 time with __vdso_time.
29150
29151 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29152
29153 * manual/lang.texi (size_t): Note types to which size_t may be
29154 equivalent with the GNU C Library, but do not describe when
29155 differences between them are significant.
29156
29157 2012-03-05 Andreas Jaeger <aj@suse.de>
29158
29159 * sysdeps/i386/fpu/libm-test-ulps: Update.
29160
29161 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29162
29163 [BZ #3976]
29164 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29165 (__ieee754_pow): Save and restore rounding mode and use
29166 round-to-nearest for main computations.
29167 * math/libm-test.inc (pow_test_tonearest): New function.
29168 (pow_test_towardzero): Likewise.
29169 (pow_test_downward): Likewise.
29170 (pow_test_upward): Likewise.
29171 (main): Call the new functions.
29172 * sysdeps/i386/fpu/libm-test-ulps: Update.
29173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29174
29175 [BZ #3976]
29176 * math/libm-test.inc (cosh_test_tonearest): New function.
29177 (cosh_test_towardzero): Likewise.
29178 (cosh_test_downward): Likewise.
29179 (cosh_test_upward): Likewise.
29180 (sinh_test_tonearest): Likewise.
29181 (sinh_test_towardzero): Likewise.
29182 (sinh_test_downward): Likewise.
29183 (sinh_test_upward): Likewise.
29184 (main): Call the new functions.
29185 * sysdeps/i386/fpu/libm-test-ulps: Update.
29186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29187
29188 2012-03-05 Tom de Vries <tom@codesourcery.com>
29189
29190 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29191 default stack guard is set in last bytes.
29192 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29193
29194 2012-03-05 Kees Cook <keescook@chromium.org>
29195
29196 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29197
29198 [BZ #13656]
29199 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29200 possibly allocate from heap instead of stack.
29201 * stdio-common/bug-vfprintf-nargs.c: New file.
29202 * stdio-common/Makefile (tests): Add nargs overflow test.
29203
29204 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29205
29206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29207
29208 2012-03-03 Marek Polacek <polacek@redhat.com>
29209
29210 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29211 * math/math_private.h: Likewise.
29212 * stdlib/tst-strtod.c: Likewise.
29213 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29214 * sysdeps/x86_64/bits/atomic.h: Likewise.
29215
29216 2012-03-02 David S. Miller <davem@davemloft.net>
29217
29218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29222 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29223 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29224 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29225 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29226
29227 2012-03-02 Roland McGrath <roland@hack.frob.com>
29228
29229 [BZ #13792]
29230 * manual/examples/README: New file, says the example source files
29231 can be used under GPL>=2.
29232 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29233 line containing just "*/".
29234 * manual/examples/add.c: Add copyright header (GPL>=2).
29235 * manual/examples/argp-ex1.c: Likewise.
29236 * manual/examples/argp-ex2.c: Likewise.
29237 * manual/examples/argp-ex3.c: Likewise.
29238 * manual/examples/argp-ex4.c: Likewise.
29239 * manual/examples/atexit.c: Likewise.
29240 * manual/examples/db.c: Likewise.
29241 * manual/examples/dir.c: Likewise.
29242 * manual/examples/dir2.c: Likewise.
29243 * manual/examples/execinfo.c: Likewise.
29244 * manual/examples/filecli.c: Likewise.
29245 * manual/examples/filesrv.c: Likewise.
29246 * manual/examples/fmtmsgexpl.c: Likewise.
29247 * manual/examples/genpass.c: Likewise.
29248 * manual/examples/inetcli.c: Likewise.
29249 * manual/examples/inetsrv.c: Likewise.
29250 * manual/examples/isockad.c: Likewise.
29251 * manual/examples/longopt.c: Likewise.
29252 * manual/examples/memopen.c: Likewise.
29253 * manual/examples/memstrm.c: Likewise.
29254 * manual/examples/mkfsock.c: Likewise.
29255 * manual/examples/mkisock.c: Likewise.
29256 * manual/examples/mygetpass.c: Likewise.
29257 * manual/examples/pipe.c: Likewise.
29258 * manual/examples/popen.c: Likewise.
29259 * manual/examples/rprintf.c: Likewise.
29260 * manual/examples/search.c: Likewise.
29261 * manual/examples/select.c: Likewise.
29262 * manual/examples/setjmp.c: Likewise.
29263 * manual/examples/sigh1.c: Likewise.
29264 * manual/examples/sigusr.c: Likewise.
29265 * manual/examples/stpcpy.c: Likewise.
29266 * manual/examples/strdupa.c: Likewise.
29267 * manual/examples/strftim.c: Likewise.
29268 * manual/examples/strncat.c: Likewise.
29269 * manual/examples/subopt.c: Likewise.
29270 * manual/examples/swapcontext.c: Likewise.
29271 * manual/examples/termios.c: Likewise.
29272 * manual/examples/testopt.c: Likewise.
29273 * manual/examples/testpass.c: Likewise.
29274 * manual/examples/timeval_subtract.c: Likewise.
29275
29276 [BZ #13792]
29277 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29278 function to ...
29279 * manual/timeval_subtract.c.texi: ... here, new file.
29280
29281 2012-03-02 David S. Miller <davem@davemloft.net>
29282
29283 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29284
29285 2012-03-02 Joseph Myers <joseph@codesourcery.com>
29286
29287 [BZ #3976]
29288 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29289 (__sin): Save and restore rounding mode and use round-to-nearest
29290 for all computations.
29291 (__cos): Save and restore rounding mode and use round-to-nearest
29292 for all computations.
29293 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29294 <fenv.h>.
29295 (tan): Save and restore rounding mode and use round-to-nearest for
29296 all computations.
29297 * math/libm-test.inc (cos_test_tonearest): New function.
29298 (cos_test_towardzero): Likewise.
29299 (cos_test_downward): Likewise.
29300 (cos_test_upward): Likewise.
29301 (sin_test_tonearest): Likewise.
29302 (sin_test_towardzero): Likewise.
29303 (sin_test_downward): Likewise.
29304 (sin_test_upward): Likewise.
29305 (tan_test_tonearest): Likewise.
29306 (tan_test_towardzero): Likewise.
29307 (tan_test_downward): Likewise.
29308 (tan_test_upward): Likewise.
29309 (main): Call the new functions.
29310 * sysdeps/i386/fpu/libm-test-ulps: Update.
29311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29312
29313 [BZ #10135]
29314 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29315 small n, then large n, before computing and testing k+n.
29316 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29317 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29318 Likewise.
29319 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29320 Likewise.
29321 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29322 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29323 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29324 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29325 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29326 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29327 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29328 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29329 * math/libm-test.inc (scalbn_test): Add more tests.
29330 (scalbln_test): Likewise.
29331
29332 * manual/filesys.texi (mode_t): Describe constraints on size and
29333 signedness, not exact equivalence to a particular type.
29334 (ino_t): Likewise.
29335 (ino64_t): Likewise.
29336 (dev_t): Likewise.
29337 (nlink_t): Likewise.
29338 (blkcnt_t): Likewise.
29339 (blkcnt64_t): Likewise.
29340 * manual/llio.texi (off_t): Likewise.
29341
29342 [BZ #3976]
29343 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29344 (__ieee754_exp): Save and restore rounding mode and use
29345 round-to-nearest for all computations.
29346 * math/libm-test.inc (exp_test_tonearest): New function.
29347 (exp_test_towardzero): Likewise.
29348 (exp_test_downward): Likewise.
29349 (exp_test_upward): Likewise.
29350 (main): Call the new functions.
29351 * sysdeps/i386/fpu/libm-test-ulps: Update.
29352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29353
29354 2012-03-01 Chris Demetriou <cgd@google.com>
29355
29356 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29357 have predictable order.
29358
29359 2012-03-01 David S. Miller <davem@davemloft.net>
29360
29361 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29362
29363 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29364 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29365 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29366 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29367
29368 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29369 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29370 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29372 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29373 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29374 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29375 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29376 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29377
29378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29379
29380 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29381 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29382 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29383
29384 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29385 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29386 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29387 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29388 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29389 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29390 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29391 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29392 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29393 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29394 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29395 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29396 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29397 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29398 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29399 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29400 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29401 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29402 * sysdeps/sparc/elf/configure: Regenerated.
29403
29404 2012-03-01 Joseph Myers <joseph@codesourcery.com>
29405
29406 * configure.in (AS, LD): Require binutils 2.20 or later.
29407 * configure: Regenerated.
29408 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29409 as required minimum version.
29410 * INSTALL: Regenerated.
29411
29412 [BZ #2541]
29413 [BZ #4108]
29414 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29415 before squaring exponent.
29416 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29417 bottom long double and 27 bits of top long double before squaring
29418 exponent.
29419 * math/libm-test.inc (erfc_test): Add more tests.
29420 * sysdeps/i386/fpu/libm-test-ulps: Update.
29421 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29423
29424 2012-03-01 Kai Tietz <ktietz@redhat.com>
29425
29426 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29427 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29428 containing bit-fields.
29429 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29430 * soft-fp/single.h (_FP_UNION_S): Likewise.
29431 * soft-fp/double.h (_FP_UNION_D): Likewise.
29432
29433 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29434
29435 [BZ #13786]
29436 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29437 not include ../strcmp.S.
29438 [USE_AS_STRNCASECMP_L]: Likewise.
29439 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29440 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29441 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29442 (__strncasecmp_l_ia32): Define as alias to
29443 __strncasecmp_l_nonascii.
29444
29445 [BZ #5794]
29446 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29447 * sysdeps/i386/fpu/libm-test-ulps: Update.
29448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29449
29450 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29452
29453 2012-02-29 Jeff Law <law@redhat.com>
29454
29455 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29456 out of bounds read.
29457
29458 2012-02-29 Marek Polacek <polacek@redhat.com>
29459
29460 [BZ #13706]
29461 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29462 * elf/Makefile: Add rules to run tst-unused-dep.out.
29463
29464 2012-02-28 David S. Miller <davem@davemloft.net>
29465
29466 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29467 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29468 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29469 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29470 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29471 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29472
29473 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29474
29475 * math/libm-test.inc (llround_test): Move one test from
29476 lround_test. Use TEST_f_L in moved test.
29477 (lround_test): Move misplaced test to llround_test. Add testcase
29478 from bug 2561.
29479
29480 2012-02-28 Ulrich Drepper <drepper@gmail.com>
29481
29482 * sysdeps/x86_64/fpu/e_expf.S: New file.
29483 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29484
29485 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29486
29487 [BZ #13637]
29488 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29489 of remain_len that may cause incomplete multi-byte character and
29490 false match.
29491 * posix/bug-regex33.c: New file.
29492 * posix/Makefile (tests): Add bug-regex33.
29493
29494 2012-02-28 Joseph Myers <joseph@codesourcery.com>
29495
29496 * manual/macros.texi: New file.
29497 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29498 * manual/libc.texinfo: Include macros.texi.
29499 * manual/creatute.texi: Likewise.
29500 * manual/install.texi: Likewise.
29501 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29502 @glibcadj{} in references to the GNU C Library.
29503 * manual/charset.texi: Likewise.
29504 * manual/conf.texi: Likewise.
29505 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29506 when not using those macros.
29507 * manual/creature.texi: Likewise.
29508 * manual/crypt.texi: Likewise.
29509 * manual/errno.texi: Likewise.
29510 * manual/filesys.texi: Likewise.
29511 * manual/header.texi: Likewise.
29512 * manual/install.texi: Likewise.
29513 * manual/intro.texi: Likewise.
29514 * manual/io.texi: Likewise.
29515 * manual/job.texi: Likewise.
29516 * manual/lang.texi: Likewise.
29517 * manual/libc.texiinfo: Likewise.
29518 * manual/llio.texi: Likewise.
29519 * manual/locale.texi: Likewise.
29520 * manual/maint.texi: Likewise.
29521 * manual/math.texi: Likewise.
29522 * manual/memory.texi: Likewise.
29523 * manual/message.texi: Likewise.
29524 * manual/nss.texi: Likewise.
29525 * manual/pattern.texi: Likewise.
29526 * manual/process.texi: Likewise.
29527 * manual/resource.texi: Likewise.
29528 * manual/search.texi: Likewise.
29529 * manual/setjmp.texi: Likewise.
29530 * manual/signal.texi: Likewise.
29531 * manual/socket.texi: Likewise.
29532 * manual/startup.texi: Likewise.
29533 * manual/stdio.texi: Likewise.
29534 * manual/string.texi: Likewise.
29535 * manual/sysinfo.texi: Likewise.
29536 * manual/syslog.texi: Likewise.
29537 * manual/terminal.texi: Likewise.
29538 * manual/time.texi: Likewise.
29539 * manual/users.texi: Likewise.
29540 * INSTALL: Regenerated.
29541 * NOTES: Regenerated.
29542 * sysdeps/gnu/errlist.c: Regenerated.
29543
29544 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29545
29546 * include/dirent.h: Include <dirstream.h> before
29547 <dirent/dirent.h>.
29548
29549 2012-02-28 David S. Miller <davem@davemloft.net>
29550
29551 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29552 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29553 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29554 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29555
29556 2012-02-27 David S. Miller <davem@davemloft.net>
29557
29558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29560 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29561 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29562
29563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29564 frame pointer instead of stack pointer relative arg slot.
29565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29566 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29567 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29568
29569 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29570
29571 [BZ #3992]
29572 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29573
29574 2012-02-27 David S. Miller <davem@davemloft.net>
29575
29576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29580 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29581 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29582 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29583 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29584
29585 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29586
29587 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29588 later. Allow versions 5-9.
29589 * configure: Regenerated.
29590 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29591 required minimum version and 4.6 as recommended version. Do not
29592 mention bugs in GCC 2.7 and 2.8.
29593 * INSTALL: Regenerated.
29594
29595 2012-02-27 David S. Miller <davem@davemloft.net>
29596
29597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29601 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29602 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29603 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29604 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29605
29606 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29607 manipulate bits before adding and subtracting TWO112[sx].
29608 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29609
29610 2012-02-27 Roland McGrath <roland@hack.frob.com>
29611
29612 [BZ #13775]
29613 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29614 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29615 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29616 being in POSIX, because they are in 1003.1-2008.
29617
29618 * rt/tst-aio.c: Include <fcntl.h>.
29619 * rt/tst-aio7.c: Likewise.
29620 * rt/tst-aio64.c: Likewise.
29621
29622 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29623
29624 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29625
29626 * manual/install.texi (--with-headers): Describe headers as
29627 interface headers, not private headers.
29628 (Specific advice for GNU/Linux systems): Describe use of headers
29629 from "make headers_install", not private headers from older
29630 kernels.
29631 * INSTALL: Regenerated.
29632 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29633 Change to 2.6.19.
29634 * sysdeps/unix/sysv/linux/configure: Regenerated.
29635
29636 * manual/llio.texi (fclean): Remove documentation.
29637
29638 * manual/Makefile (libc-texi-generated): New variable. Include
29639 version.texi.
29640 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29641 $(libc-texi-generated), not duplicated list of files.
29642 (version.texi, stamp-version): New rules.
29643 (realclean): Remove $(libc-texi-generated), not individual files
29644 from that list. Do not remove dir-add.texinfo.
29645 * manual/libc.texinfo: Comment out uses of edition numbers and
29646 references to printed manual. Remove last-updated dates.
29647 (EDITION): Comment out.
29648 (ISBN): Likewise.
29649 (VERSION, UPDATED): Remove.
29650 (version.texi): Include.
29651
29652 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29653
29654 * sysdeps/posix/spawni.c: Include <signal.h>.
29655 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29656 * sysdeps/pthread/aio_fsync.c: Likewise.
29657
29658 2012-02-26 Ulrich Drepper <drepper@gmail.com>
29659
29660 * conform/Makefile (tests): Run only when not cross-compiling and
29661 when fast-check is not defined.
29662
29663 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29664 * conform/data/limits.h-data: Fixes for POSIX2008.
29665 * conform/run-conformtest.sh: Run all tests.
29666 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29667 headers.
29668 * include/bits/dlfcn.h: Likewise.
29669 * include/langinfo.h: Likewise.
29670 * include/monetary.h: Likewise.
29671 * include/sys/poll.h: Likewise.
29672
29673 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29674 for __USE_GNU.
29675 * posix/spawn.h: Define __need_sigset_t.
29676 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29677 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29678 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29679 to get sigevent_t only.
29680 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29681 only for __USE_GNU.
29682 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29683 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29684 process_vm_writev only for __USE_GNU.
29685 * termios/termios.h: Declare tcgetsid also for POSIX2008.
29686
29687 * conform/Makefile: For now ignore errors from run-conformtest.
29688 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29689 POSIX to avoid namespace pollution. Don't prepend headers.
29690 * conform/data/aio.h-data: Fixes for POSIX testing.
29691 * conform/data/fcntl.h-data: Likewise.
29692 * conform/data/glob.h-data: Likewise.
29693 * conform/data/grp.h-data: Likewise.
29694 * conform/data/pthread.h-data: Likewise.
29695 * conform/data/pwd.h-data: Likewise.
29696 * conform/data/signal.h-data: Likewise.
29697 * conform/data/spawn.h-data: Likewise.
29698 * conform/data/stdio.h-data: Likewise.
29699 * conform/data/stdlib.h-data: Likewise.
29700 * conform/data/stropts.h-data: Likewise.
29701 * conform/data/sys/mman.h-data: Likewise.
29702 * conform/data/sys/stat.h-data: Likewise.
29703 * conform/data/sys/types.h-data: Likewise.
29704 * conform/data/sys/wait.h-data: Likewise.
29705 * conform/data/time.h-data: Likewise.
29706 * conform/data/unistd.h-data: Likewise.
29707 * conform/data/utime.h-data: Likewise.
29708
29709 * io/sys/stat.h: fchmod was always in POSIX.
29710 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29711 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29712 * rt/aio.h: Define __need_timespec before including <time.h>.
29713 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29714 struct. Add forward declaration of pthread_attr_t and use it in
29715 sigevent.
29716 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29717 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29718 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29719 always remove CLK_TCK definition.
29720
29721 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29722
29723 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29724
29725 2012-02-25 Ulrich Drepper <drepper@gmail.com>
29726
29727 * conform/run-conformtest.sh: New file.
29728 * conform/Makefile: Run run-conformtest for tests.
29729 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29730 support.
29731
29732 * conform/data/uchar.h-data: New file.
29733 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29734 * conform/data/arpa/inet.h-data: Likewise.
29735 * conform/data/assert.h-data: Likewise.
29736 * conform/data/complex.h-data: Likewise.
29737 * conform/data/cpio.h-data: Likewise.
29738 * conform/data/ctype.h-data: Likewise.
29739 * conform/data/dirent.h-data: Likewise.
29740 * conform/data/dlfcn.h-data: Likewise.
29741 * conform/data/errno.h-data: Likewise.
29742 * conform/data/fcntl.h-data: Likewise.
29743 * conform/data/float.h-data: Likewise.
29744 * conform/data/fmtmsg.h-data: Likewise.
29745 * conform/data/fnmatch.h-data: Likewise.
29746 * conform/data/ftw.h-data: Likewise.
29747 * conform/data/glob.h-data: Likewise.
29748 * conform/data/grp.h-data: Likewise.
29749 * conform/data/iconv.h-data: Likewise.
29750 * conform/data/inttypes.h-data: Likewise.
29751 * conform/data/langinfo.h-data: Likewise.
29752 * conform/data/libgen.h-data: Likewise.
29753 * conform/data/limits.h-data: Likewise.
29754 * conform/data/locale.h-data: Likewise.
29755 * conform/data/math.h-data: Likewise.
29756 * conform/data/monetary.h-data: Likewise.
29757 * conform/data/mqueue.h-data: Likewise.
29758 * conform/data/ndbm.h-data: Likewise.
29759 * conform/data/net/if.h-data: Likewise.
29760 * conform/data/netdb.h-data: Likewise.
29761 * conform/data/netinet/in.h-data: Likewise.
29762 * conform/data/nl_types.h-data: Likewise.
29763 * conform/data/poll.h-data: Likewise.
29764 * conform/data/pthread.h-data: Likewise.
29765 * conform/data/pwd.h-data: Likewise.
29766 * conform/data/regex.h-data: Likewise.
29767 * conform/data/sched.h-data: Likewise.
29768 * conform/data/search.h-data: Likewise.
29769 * conform/data/semaphore.h-data: Likewise.
29770 * conform/data/setjmp.h-data: Likewise.
29771 * conform/data/signal.h-data: Likewise.
29772 * conform/data/spawn.h-data: Likewise.
29773 * conform/data/stdarg.h-data: Likewise.
29774 * conform/data/stdio.h-data: Likewise.
29775 * conform/data/stdlib.h-data: Likewise.
29776 * conform/data/string.h-data: Likewise.
29777 * conform/data/strings.h-data: Likewise.
29778 * conform/data/stropts.h-data: Likewise.
29779 * conform/data/sys/ipc.h-data: Likewise.
29780 * conform/data/sys/mman.h-data: Likewise.
29781 * conform/data/sys/msg.h-data: Likewise.
29782 * conform/data/sys/resource.h-data: Likewise.
29783 * conform/data/sys/select.h-data: Likewise.
29784 * conform/data/sys/sem.h-data: Likewise.
29785 * conform/data/sys/shm.h-data: Likewise.
29786 * conform/data/sys/socket.h-data: Likewise.
29787 * conform/data/sys/stat.h-data: Likewise.
29788 * conform/data/sys/statvfs.h-data: Likewise.
29789 * conform/data/sys/time.h-data: Likewise.
29790 * conform/data/sys/timeb.h-data: Likewise.
29791 * conform/data/sys/times.h-data: Likewise.
29792 * conform/data/sys/types.h-data: Likewise.
29793 * conform/data/sys/uio.h-data: Likewise.
29794 * conform/data/sys/un.h-data: Likewise.
29795 * conform/data/sys/utsname.h-data: Likewise.
29796 * conform/data/sys/wait.h-data: Likewise.
29797 * conform/data/syslog.h-data: Likewise.
29798 * conform/data/tar.h-data: Likewise.
29799 * conform/data/termios.h-data: Likewise.
29800 * conform/data/utime.h-data: Likewise.
29801 * conform/data/utmpx.h-data: Likewise.
29802 * conform/data/varargs.h-data: Likewise.
29803 * conform/data/wchar.h-data: Likewise.
29804 * conform/data/wctype.h-data: Likewise.
29805 * conform/data/wordexp.h-data: Likewise.
29806
29807 * include/stropts.h: New file.
29808 * include/uchar.h: New file.
29809 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29810 * include/assert.h: Likewise.
29811 * include/ctype.h: Likewise.
29812 * include/dirent.h: Likewise.
29813 * include/dlfcn.h: Likewise.
29814 * include/fcntl.h: Likewise.
29815 * include/fnmatch.h: Likewise.
29816 * include/glob.h: Likewise.
29817 * include/grp.h: Likewise.
29818 * include/libio.h: Likewise.
29819 * include/locale.h: Likewise.
29820 * include/math.h: Likewise.
29821 * include/net/if.h: Likewise.
29822 * include/netdb.h: Likewise.
29823 * include/netinet/in.h: Likewise.
29824 * include/pthread.h: Likewise.
29825 * include/pwd.h: Likewise.
29826 * include/regex.h: Likewise.
29827 * include/sched.h: Likewise.
29828 * include/search.h: Likewise.
29829 * include/setjmp.h: Likewise.
29830 * include/signal.h: Likewise.
29831 * include/stdio.h: Likewise.
29832 * include/stdlib.h: Likewise.
29833 * include/string.h: Likewise.
29834 * include/sys/cdefs.h: Likewise.
29835 * include/sys/mman.h: Likewise.
29836 * include/sys/msg.h: Likewise.
29837 * include/sys/resource.h: Likewise.
29838 * include/sys/select.h: Likewise.
29839 * include/sys/socket.h: Likewise.
29840 * include/sys/stat.h: Likewise.
29841 * include/sys/statvfs.h: Likewise.
29842 * include/sys/time.h: Likewise.
29843 * include/sys/times.h: Likewise.
29844 * include/sys/uio.h: Likewise.
29845 * include/sys/utsname.h: Likewise.
29846 * include/sys/wait.h: Likewise.
29847 * include/termios.h: Likewise.
29848 * include/time.h: Likewise.
29849 * include/ulimit.h: Likewise.
29850 * include/unistd.h: Likewise.
29851 * include/utime.h: Likewise.
29852 * include/wchar.h: Likewise.
29853 * include/wctype.h: Likewise.
29854 * include/wordexp.h: Likewise.
29855
29856 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29857
29858 * time/time.h: TIME_UTC must be a macro.
29859 Make timespec_get available for ISO C11 only as well.
29860
29861 2012-02-24 Ulrich Drepper <drepper@gmail.com>
29862
29863 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29864 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29865
29866 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29867
29868 * configure.in: Use -o not -a in test for unsupported multi-arch.
29869
29870 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29871
29872 * manual/texinfo.tex: Update to version 2012-01-19.16.
29873
29874 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29875
29876 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29877
29878 2012-02-24 Roland McGrath <roland@hack.frob.com>
29879
29880 [BZ #13738]
29881 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29882 * manual/fdl-1.3.texi: New file.
29883 * manual/fdl-1.1.texi: File removed.
29884
29885 [BZ #13738]
29886 * manual/libc.texinfo (FDL_VERSION): New @set.
29887 Use it for mention of FDL in cover text.
29888 (Documentation License): Use it in @include file name.
29889
29890 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29891 Roland McGrath <roland@hack.frob.com>
29892
29893 [BZ #5461]
29894 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29895 not LONG_LONG_MAX and LONG_LONG_MIN.
29896 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29897 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29898 name.
29899 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29900
29901 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29902
29903 [BZ #2547]
29904 [BZ #11365]
29905 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29906 manipulate bits before adding and subtracting TWO23[sx].
29907 * math/libm-test.inc (nearbyint_test): Add more tests.
29908
29909 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29910
29911 [BZ #2548]
29912 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29913 bits before adding and subtracting TWO23[sx].
29914 * math/libm-test.inc (rint_test): Add more tests.
29915 (rint_test_tonearest): Likewise.
29916 (rint_test_towardzero): Likewise.
29917 (rint_test_downward): Likewise.
29918 (rint_test_upward: Likewise.
29919
29920 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29921
29922 [BZ #10110]
29923 * include/stdc-predef.h: New file. Extracted from features.h.
29924 * include/features.h: Include stdc-predef.h.
29925 * Makefile (headers): Add stdc-predef.h.
29926 * CONFORMANCE (Compiler limitations): Update.
29927
29928 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29929
29930 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29931
29932 2012-02-21 David S. Miller <davem@davemloft.net>
29933
29934 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29935 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29936
29937 2012-02-20 David S. Miller <davem@davemloft.net>
29938
29939 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29940 using a normal save/restore sequence, rather than allocating a
29941 dummy stack frame just to store a frame pointer and restore.
29942 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29943
29944 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29945
29946 * manual/install.texi: Fix stray word in line-wrapped comment.
29947
29948 2012-02-20 David S. Miller <davem@davemloft.net>
29949
29950 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29951 both binutils and gcc support GOTDATA.
29952
29953 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29954 "rd %pc" in the PIC register setup sequences.
29955
29956 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29957 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29958 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29959 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29960 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29961 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29962 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29963 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29964 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29965 (SYSCALL_ERROR_HANDLER): Likewise.
29966 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29967 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29968 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29969 (SYSCALL_ERROR_HANDLER): Likewise.
29970
29971 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29972 (HAVE_GCC_GOTDATA): New.
29973 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29974 relocation support in both binutils and gcc.
29975 * sysdeps/sparc/elf/configure: Regenerate.
29976
29977 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29978 * sysdeps/sparc/sparc32/elf/configure: Delete.
29979 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29980 * sysdeps/sparc/sparc64/elf/configure: Delete.
29981 * sysdeps/sparc/elf/configure.in: New file.
29982 * sysdeps/sparc/elf/configure: Generate.
29983
29984 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29985 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29986 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29987 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29988 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29989
29990 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29991
29992 * manual/install.texi: Do not mention specific glibc version
29993 numbers.
29994 * manual/libc.texinfo (VERSION, UPDATED): Update.
29995 (@copying): Use @copyright{} and range of years.
29996
29997 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29998
29999 [BZ #13695]
30000 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30001 [crti.S not in sysdirs] (generated): Do not append.
30002 [crti.S not in sysdirs] (omit-deps): Likewise.
30003 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30004 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30005 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30006 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30007 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30008 Likewise.
30009 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30010 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30011 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30012 * csu/defs.awk: Remove file.
30013 * sysdeps/generic/initfini.c: Likewise.
30014 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30015 variable.
30016 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30017 Likewise.
30018
30019 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30020
30021 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30022 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30023 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30024 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30025 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30026 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30027 <bits/epoll.h>.
30028 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30029 (__EPOLL_PACKED): Define to empty if not defined by
30030 <bits/epoll.h>.
30031 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30032 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30033 bits/epoll.h.
30034
30035 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30036
30037 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30038 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30039 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30040 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30041 <bits/timerfd.h>.
30042 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30043 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30044 bits/timerfd.h.
30045
30046 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30047
30048 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30049 in C locale.
30050 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30051 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30052 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30054
30055 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30056
30057 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30058 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30059
30060 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30061
30062 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30063 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30064 defined.
30065 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30066 Likewise.
30067 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30068 entry for 2.16.
30069
30070 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30071
30072 * math/w_acos.c: Use non-signaling floating-point comparisons.
30073 * math/w_acosf.c: Likewise.
30074 * math/w_acosh.c: Likewise.
30075 * math/w_acoshf.c: Likewise.
30076 * math/w_acoshl.c: Likewise.
30077 * math/w_acosl.c: Likewise.
30078 * math/w_asin.c: Likewise.
30079 * math/w_asinf.c: Likewise.
30080 * math/w_asinl.c: Likewise.
30081 * math/w_atanh.c: Likewise.
30082 * math/w_atanhf.c: Likewise.
30083 * math/w_atanhl.c: Likewise.
30084 * math/w_exp2.c: Likewise.
30085 * math/w_exp2f.c: Likewise.
30086 * math/w_exp2l.c: Likewise.
30087 * math/w_j0.c: Likewise.
30088 * math/w_j0f.c: Likewise.
30089 * math/w_j0l.c: Likewise.
30090 * math/w_j1.c: Likewise.
30091 * math/w_j1f.c: Likewise.
30092 * math/w_j1l.c: Likewise.
30093 * math/w_jn.c: Likewise.
30094 * math/w_jnf.c: Likewise.
30095 * math/w_log.c: Likewise.
30096 * math/w_log10.c: Likewise.
30097 * math/w_log10f.c: Likewise.
30098 * math/w_log10l.c: Likewise.
30099 * math/w_log2.c: Likewise.
30100 * math/w_log2f.c: Likewise.
30101 * math/w_log2l.c: Likewise.
30102 * math/w_logf.c: Likewise.
30103 * math/w_logl.c: Likewise.
30104 * math/w_sqrt.c: Likewise.
30105 * math/w_sqrtf.c: Likewise.
30106 * math/w_sqrtl.c: Likewise.
30107 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30108 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30109 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30110 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30111 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30112
30113 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30114
30115 [BZ #9739]
30116 * manual/string.texi (strnlen): Use correct parameter name in
30117 equivalent expression.
30118
30119 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30120
30121 [BZ #11174]
30122 * manual/users.texi (seteuid): Consistently use neweuid for
30123 argument name.
30124
30125 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30126
30127 [BZ #13704]
30128 * manual/nss.texi (Services in the NSS configuration): Correct
30129 list of services in example configuration file.
30130
30131 2012-02-19 Nick Bowler <nbowler@draconx.ca>
30132
30133 [BZ #11322]
30134 * manual/arith.texi: Remove statements about negative zero
30135 behaving identically to zero.
30136
30137 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30138
30139 [BZ #5993]
30140 * manual/install.texi: Do not document upgrading from libc5.
30141
30142 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30143
30144 [BZ #4596]
30145 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30146
30147 2012-02-18 David S. Miller <davem@davemloft.net>
30148
30149 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30150 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30151 %o7 across the call.
30152 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30153 instead.
30154 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30155 SETUP_PIC_REG_LEAF.
30156 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30157 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30158 * sysdeps/sparc/crtn.S: Likewise.
30159
30160 2012-02-17 Ulrich Drepper <drepper@gmail.com>
30161
30162 * aout/Makefile: Remove.
30163
30164 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30165
30166 [BZ #13058]
30167 * manual/examples/argp-ex1.c (main): Format definition in GNU
30168 style.
30169 * manual/examples/argp-ex2.c (main): Likewise.
30170 * manual/examples/argp-ex3.c (main): Likewise.
30171 * manual/examples/argp-ex4.c (main): Likewise.
30172 * manual/examples/longopt.c (main): Use new-style prototype
30173 definition.
30174 * manual/examples/strncat.c (main): Specify return type and use
30175 (void) for arguments.
30176 * manual/examples/subopt.c (main): Use char **argv argument.
30177
30178 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30179
30180 [BZ #5077]
30181 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30182 rounding modes.
30183
30184 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30185
30186 [BZ #6907]
30187 * manual/string.texi (strchr): Change when strchrnul is
30188 recommended.
30189
30190 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30191
30192 [BZ #174]
30193 * manual/locale.texi (setlocale): Document LOCPATH.
30194
30195 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30196
30197 [BZ #10210]
30198 * manual/process.texi (execle): Move @dots{} before last argument.
30199
30200 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
30201
30202 [BZ #12047]
30203 * manual/charset.texi (Generic Charset Conversion): Fix typo
30204 (LC_TYPE -> LC_CTYPE).
30205
30206 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30207
30208 [BZ #5805]
30209 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30210 (scalbnf): Likewise.
30211 (scalbnl): Likewise.
30212 (scalbln): Likewise.
30213 (scalblnf): Likewise.
30214 (scalblnl): Likewise.
30215 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30216 (vwarnx): Likewise.
30217 (verr): Likewise.
30218 (verrx): Likewise.
30219 * manual/filesys.texi (telldir): Use braces around return type.
30220 * manual/llio.texi (mmap): Add space after comma.
30221 (mmap64): Likewise.
30222 * manual/math.texi (jn): Use @var{} on parameter names.
30223 (jnf): Likewise.
30224 (jnl): Likewise.
30225 (yn): Likewise.
30226 (ynf): Likewise.
30227 (ynl): Likewise.
30228 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30229 line.
30230 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30231 "...".
30232 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30233 (sched_get_priority_max): Likewise.
30234 * manual/signal.texi (sigvec): Add space after comma.
30235 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30236 names.
30237 (if_indextoname): Likewise.
30238 (if_freenameindex): Likewise.
30239 (sendto): Use ',' instead of '.' in prototype.
30240 * manual/startup.texi (syscall): Use @dots{} instead of literal
30241 "...".
30242 * manual/stdio.texi (__fpending): Separate initial words of
30243 paragraph from @deftypefun line.
30244 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30245 "...".
30246 (vsyslog): Use @var{} on parameter names.
30247 * manual/terminal.texi (stty): Use @var{} on parameter names.
30248 * manual/users.texi (getutmp): Use @var{} on parameter names.
30249 (getutmpx): Likewise.
30250
30251 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30252
30253 [BZ #6884]
30254 * manual/stdio.texi (fopen): Fix typos in description of
30255 ",ccs=STRING".
30256
30257 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30258
30259 [BZ #4026]
30260 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30261 get clock_id definition.
30262
30263 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
30264
30265 [BZ #4822]
30266 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30267 (madvise): Cast every argument to void on its own.
30268
30269 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30270
30271 [BZ #9902]
30272 * manual/startup.texi (Exit Status): Fix typo.
30273
30274 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30275
30276 [BZ #10140]
30277 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30278 * manual/examples/argp-ex2.c: Likewise.
30279 * manual/examples/argp-ex3.c: Likewise.
30280
30281 2012-02-16 Richard Henderson <rth@redhat.com>
30282
30283 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30284 * sysdeps/s390/s390-32/initfini.c: Remove.
30285 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30286 * sysdeps/s390/s390-64/initfini.c: Remove.
30287
30288 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30289
30290 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30291 compiler output for sysdeps/generic/initfini.c.
30292 * sysdeps/sh/elf/initfini.c: Remove file.
30293
30294 2012-02-16 David S. Miller <davem@davemloft.net>
30295
30296 [BZ #11494]
30297 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30298
30299 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30300 * sysdeps/sparc/crti.S: New file.
30301 * sysdeps/sparc/crtn.S: New file.
30302 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30303 * sysdeps/sparc/sparc64/Makefile: Likewise.
30304
30305 2012-02-15 Mike Frysinger <vapier@gentoo.org>
30306
30307 [BZ #3335]
30308 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30309
30310 2012-02-15 Roland McGrath <roland@hack.frob.com>
30311
30312 [BZ #4822]
30313 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30314
30315 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30316 (write, read, close): Likewise.
30317 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30318
30319 2012-02-15 Joseph Myers <joseph@codesourcery.com>
30320
30321 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30322 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30323 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30324 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30325 <bits/signalfd.h>.
30326 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30328 bits/signalfd.h.
30329
30330 2012-02-14 Marek Polacek <polacek@redhat.com>
30331
30332 * sysdeps/x86_64/crti.S: New file.
30333 * sysdeps/x86_64/crtn.S: New file.
30334 * sysdeps/x86_64/elf/initfini.c: Remove file.
30335
30336 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30337
30338 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30339 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30340 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30341 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30342 <bits/inotify.h>.
30343 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30345 bits/inotify.h.
30346
30347 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30348
30349 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30350 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30351 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30352 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30353 <bits/eventfd.h>.
30354 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30355 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30356 bits/eventfd.h.
30357
30358 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30359
30360 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30361 __feraiseexcept instead of feraiseexcept.
30362
30363 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30364 nanosleep invocations.
30365 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30366 strings, and add error checking for a nanosleep invocations.
30367
30368 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30369
30370 Replace FSF snail mail address with URLs, as per GNU coding standards.
30371 Most of the snail mail addresses were wrong anyway, and omitting
30372 them makes the source code easier to maintain. Almost all of the
30373 changes are to license notices and to locale LC_IDENTIFICATION
30374 addresses, except for this one:
30375 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30376 not its snail mail address.
30377
30378 2012-02-09 Richard Henderson <rth@twiddle.net>
30379
30380 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30381 of kernel-features.h.
30382
30383 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30384
30385 2012-02-08 Marek Polacek <polacek@redhat.com>
30386
30387 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30388 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30389 * sysdeps/gnu/_G_config.h: Likewise.
30390 * sysdeps/generic/_G_config.h: Likewise.
30391
30392 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30393
30394 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30395 tests.
30396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30397
30398 * sysdeps/powerpc/powerpc32/crti.S: New file.
30399 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30400 * sysdeps/powerpc/powerpc64/crti.S: New file.
30401 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30402
30403 * Makeconfig (have-initfini): Don't set.
30404 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30405 * configure.in (nopic_initfini): Don't substitute.
30406 * config.h.in (HAVE_INITFINI): Don't #undef.
30407 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30408 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30409
30410 2012-02-08 Joseph Myers <joseph@codesourcery.com>
30411
30412 Support crti.S and crtn.S provided directly by architectures.
30413 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30414 [crti.S in sysdirs] (omit-deps): Likewise.
30415 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30416 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30417 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30418 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30419 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30420 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30421 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30422 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30423 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30424 compiler output for sysdeps/generic/initfini.c.
30425 * sysdeps/i386/elf/Makefile: Remove file.
30426 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30427
30428 2012-02-07 Marek Polacek <polacek@redhat.com>
30429
30430 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30431 * sysdeps/gnu/_G_config.h: Likewise.
30432 * sysdeps/mach/hurd/_G_config.h: Likewise.
30433
30434 2012-02-07 Marek Polacek <polacek@redhat.com>
30435
30436 * math/Makefile (tests): Add tst-CMPLX2.
30437 * math/tst-CMPLX2.c: New file.
30438
30439 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30440
30441 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30442
30443 * math/libm-test.inc (jn_test): Add missing L suffix.
30444
30445 2012-02-06 Marek Polacek <polacek@redhat.com>
30446
30447 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30448 * sysdeps/i386/fpu/e_powf.S: Likewise.
30449 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30450 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30451 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30452 * sysdeps/i386/fpu/e_pow.S: Likewise.
30453 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30454 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30455 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30456 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30457 * sysdeps/i386/fpu/e_log2.S: Likewise.
30458 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30459 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30460 * sysdeps/i386/fpu/e_powl.S: Likewise.
30461 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30462 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30463 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30464 * sysdeps/i386/fpu/e_logl.S: Likewise.
30465 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30466 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30467 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30468 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30469 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30470 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30471 * sysdeps/i386/fpu/e_log.S: Likewise.
30472 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30473 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30474 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30475 * sysdeps/i386/fpu/e_logf.S: Likewise.
30476 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30477 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30478 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30479 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30480 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30481 * sysdeps/i386/fpu/e_log10.S: Likewise.
30482 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30483 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30484 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30485 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30486 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30487 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30488 * sysdeps/i386/asm-syntax.h: Likewise.
30489 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30490 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30491 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30492 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30493 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30494 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30495 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30496 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30497 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30498 * sysdeps/powerpc/sysdep.h: Likewise.
30499 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30500 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30501
30502 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30503
30504 [BZ #411]
30505 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30506
30507 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30508
30509 * sysdeps/i386/sysdep.h: Include <features.h>.
30510 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30511 version.
30512
30513 2012-02-05 Joseph Myers <joseph@codesourcery.com>
30514
30515 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30516 Define.
30517 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30518 LOAD_PIC_REG_STR.
30519
30520 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30521
30522 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30523 (SETUP_PIC_REG): Use GET_PC_THUNK.
30524 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30525 macro.
30526
30527 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30528
30529 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30530 for non-PIC compilation.
30531 (SETUP_PIC_REG): Add .p2align directive.
30532 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30533 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30534 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30535 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30536 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30537 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30538 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30539 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30540 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30541 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30542 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30543 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30544 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30545 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30546 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30547 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30548 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30549 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30550 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30551 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30552 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30553 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30554 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30555 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30556 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30557 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30558 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30559 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30560 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30561 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30562 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30563 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30564 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30565 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30566 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30567 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30568 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30569 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30570 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30571 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30572 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30573
30574 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30575
30576 * math/tst-CMPLX.c: Include <stdio.h>.
30577
30578 2012-01-31 Joseph Myers <joseph@codesourcery.com>
30579
30580 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30581 float.
30582 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30583 * sysdeps/sparc/bits/mathdef.h: Likewise.
30584
30585 2012-01-31 Marek Polacek <polacek@redhat.com>
30586
30587 * libio/libio.h: Don't define _PARAMS.
30588 * locale/programs/config.h: Don't define PARAMS.
30589 * stdlib/strtol_l.c: Likewise.
30590 (__strtol_l): Remove PARAMS from the prototype.
30591
30592 2012-01-31 Ulrich Drepper <drepper@gmail.com>
30593
30594 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30595 names. Just use the correct names. Remove unnecessary wrapper
30596 functions.
30597 * malloc/arena.c: Likewise.
30598 * malloc/hooks.c: Likewise.
30599
30600 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30601 ARENA_TEST says not to. Simplify test for creation of a new arena.
30602 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30603
30604 2012-01-30 Ulrich Drepper <drepper@gmail.com>
30605
30606 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30607 into tail calls.
30608 (update_get_addr): New function.
30609 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30610 GET_ADDR_MODULE parameter.
30611
30612 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30613
30614 * crypt/cert.c: Remove __STDC__ conditionals.
30615 * crypt/crypt-entry.c: Likewise.
30616 * crypt/crypt_util.c: Likewise.
30617 * libio/filedoalloc.c: Likewise.
30618 * libio/fileops.c: Likewise.
30619 * libio/genops.c: Likewise.
30620 * libio/iofclose.c: Likewise.
30621 * libio/iofdopen.c: Likewise.
30622 * libio/iofopen.c: Likewise.
30623 * libio/iofopen64.c: Likewise.
30624 * libio/iogetdelim.c: Likewise.
30625 * libio/iopopen.c: Likewise.
30626 * libio/obprintf.c: Likewise.
30627 * libio/oldfileops.c: Likewise.
30628 * libio/oldiofclose.c: Likewise.
30629 * libio/oldiofdopen.c: Likewise.
30630 * libio/oldiofopen.c: Likewise.
30631 * libio/oldiopopen.c: Likewise.
30632 * libio/wfiledoalloc.c: Likewise.
30633 * libio/wgenops.c: Likewise.
30634 * locale/programs/xmalloc.c: Likewise.
30635 * misc/syslog.c: Likewise.
30636 * stdio-common/xbug.c: Likewise.
30637 * string/memchr.c: Likewise.
30638 * string/memcmp.c: Likewise.
30639 * string/memrchr.c: Likewise.
30640 * string/rawmemchr.c: Likewise.
30641 * sysdeps/posix/getcwd.c: Likewise.
30642 * time/strftime_l.c: Likewise.
30643
30644 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30645
30646 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30647 * config.make.in (config-cflags-sse2avx): Define.
30648 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30649 Fix typo.
30650
30651 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30652
30653 * scripts/config.guess: Update from upstream config git repository.
30654 * scripts/config.sub: Likewise.
30655
30656 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30657
30658 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30659 (EM_NUM): Update.
30660 (R_TILEPRO_*, R_TILEGX_*): New macros.
30661
30662 * scripts/firstversions.awk: Fix bug in version range handling.
30663
30664 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30665
30666 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30667
30668 * include/sys/epoll.h: New file.
30669 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30670 libc_hidden_def.
30671
30672 2012-01-28 Ulrich Drepper <drepper@gmail.com>
30673
30674 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30675 Avoid unnecessary __WORDSIZE == 64 test.
30676 (fmaxf): Use VEX format if possible.
30677 (fmax): Likewise.
30678 (fminf): Likewise.
30679 (fmin): Likewise.
30680
30681 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30682 * math/math_private.h: Remove libc_fegetround* and
30683 libc_fesetround*.
30684 * sysdeps/i386/configure.in: Check for -msse2avx.
30685 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30686 also if SSE2AVX is defined.
30687 Remove libc_fegetround* and libc_fesetround*.
30688 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30689 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30690 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30691 of HAS_YMM_USABLE.
30692 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30693 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30694 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30695 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30696 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30697
30698 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30699
30700 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30701
30702 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30703 size is not set.
30704 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30705
30706 2012-01-27 Ulrich Drepper <drepper@gmail.com>
30707
30708 [BZ #13618]
30709 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30710 relocation.
30711 * Makeconfig (libm): Define.
30712 * elf/Makefile: Add rules to build and run tst-relsort1.
30713 * elf/tst-relsort1.c: New file.
30714 * elf/tst-relsort1mod1.c: New file.
30715 * elf/tst-relsort1mod2.c: New file.
30716
30717 2012-01-27 Joseph Myers <joseph@codesourcery.com>
30718
30719 * math/s_ldexp.c: Remove __STDC__ conditionals.
30720 * math/s_ldexpf.c: Likewise.
30721 * math/s_ldexpl.c: Likewise.
30722 * math/s_nextafter.c: Likewise.
30723 * math/s_nexttowardf.c: Likewise.
30724 * math/s_significand.c: Likewise.
30725 * math/s_significandf.c: Likewise.
30726 * math/s_significandl.c: Likewise.
30727 * math/w_jnl.c: Likewise.
30728 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30729 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30730 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30731 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30732 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30733 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30734 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30735 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30736 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30737 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30738 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30739 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30740 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30741 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30742 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30743 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30744 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30745 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30746 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30747 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30748 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30749 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30750 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30751 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30752 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30753 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30754 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30755 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30756 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30757 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30758 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30759 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30760 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30761 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30762 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30763 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30764 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30765 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30766 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30767 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30768 * sysdeps/ieee754/k_standard.c: Likewise.
30769 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30770 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30771 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30772 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30773 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30774 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30775 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30776 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30777 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30778 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30779 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30780 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30781 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30782 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30783 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30784 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30785 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30786 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30787 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30788 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30789 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30790 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30791 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30792 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30793 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30794 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30795 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30796 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30797 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30798 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30799 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30800 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30801 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30802 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30803 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30804 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30805 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30806 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30807 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30808 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30809 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30810 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30811 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30812 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30813 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30814 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30815 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30816 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30817 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30818 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30819 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30820 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30821 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30822 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30823 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30824 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30825 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30826 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30827 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30828 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30829 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30830 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30831 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30832 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30833 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30834 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30835 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30836 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30837 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30838 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30839 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30840 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30841 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30842 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30843 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30844 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30845 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30846 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30847 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30848 * sysdeps/ieee754/s_matherr.c: Likewise.
30849 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30850 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30851 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30852 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30853
30854 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30855
30856 * crypt/md5.h: Remove __STDC__ conditionals.
30857 * libio/libioP.h: Likewise.
30858 * locale/programs/config.h: Likewise.
30859 * sysdeps/generic/sysdep.h: Likewise.
30860 * sysdeps/i386/asm-syntax.h: Likewise.
30861 * sysdeps/s390/asm-syntax.h: Likewise.
30862 * sysdeps/unix/sysdep.h: Likewise.
30863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30865
30866 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30867
30868 * libio/libio.h: Remove __STDC__ conditionals.
30869 * malloc/obstack.h: Likewise.
30870 * math/complex.h: Likewise.
30871 * math/math.h: Likewise.
30872 * sysdeps/generic/_G_config.h: Likewise.
30873 * sysdeps/gnu/_G_config.h: Likewise.
30874 * sysdeps/mach/hurd/_G_config.h: Likewise.
30875 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30876 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30877 * sysdeps/sparc/bits/mathdef.h: Likewise.
30878
30879 2012-01-26 Ulrich Drepper <drepper@gmail.com>
30880
30881 [BZ #13583]
30882 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30883 Clean up HAS_* macros.
30884 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30885 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30886 possible.
30887 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30888 HAS_AVX.
30889 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30890 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30891 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30892 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30893 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30894
30895 2012-01-25 Joseph Myers <joseph@codesourcery.com>
30896
30897 * elf/tst-unique3.cc (gets): Remove declaration.
30898 * elf/tst-unique3lib.cc (gets): Likewise.
30899 * elf/tst-unique3lib2.cc (gets): Likewise.
30900 * elf/tst-unique4.cc (gets): Likewise.
30901
30902 2012-01-24 Ulrich Drepper <drepper@gmail.com>
30903
30904 * include/stdio.h: Add C++ protection. Add gets declarations and
30905 definitions.
30906 * debug/tst-chk1.c: Don't declare gets here.
30907 * stdio-common/tst-gets.c: Likewise.
30908
30909 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30910
30911 * posix/glob: Remove directory.
30912
30913 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30914
30915 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30916
30917 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30918
30919 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30920 of the non-standard EPFNOSUPPORT.
30921
30922 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30923
30924 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30925 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30926 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30927
30928 2012-01-21 Ulrich Drepper <drepper@gmail.com>
30929
30930 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30931
30932 2012-01-20 Ulrich Drepper <drepper@gmail.com>
30933
30934 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30935 transient errors.
30936 * nscd/grpcache.c (cache_addgr): Likewise.
30937 * nscd/hstcache.c (cache_addhst): Likewise.
30938 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30939 * nscd/pwdcache.c (cache_addpw): Likewise.
30940 * nscd/servicescache.c (cache_addserv): Likewise.
30941
30942 2012-01-16 Ulrich Drepper <drepper@gmail.com>
30943
30944 * malloc/malloc.c: Various cleanups.
30945 * malloc/hooks.c: Likewise.
30946
30947 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30948 * stdlib/bug-fmtmsg1.c: New file.
30949
30950 * stdlib/fmtmsg.c (init): Add missing unlock.
30951 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30952
30953 2012-01-12 Marek Polacek <polacek@redhat.com>
30954
30955 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30956 and _GNU_SOURCE.
30957
30958 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30959
30960 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30961 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30962 macro to ensure uniqueness of label name.
30963 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30964 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30965
30966 2012-01-11 Ulrich Drepper <drepper@gmail.com>
30967
30968 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30969
30970 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30971 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30972 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30973 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30974
30975 2012-01-10 Ulrich Drepper <drepper@gmail.com>
30976
30977 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30978
30979 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30980 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30981 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30982
30983 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30984
30985 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30986 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30987 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30988 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30989
30990 * math/bits/math-finite.h: Add ldexp support.
30991
30992 2012-01-10 Marek Polacek <polacek@redhat.com>
30993
30994 * locale/programs/localedef.h (show_archive_content): Add noreturn
30995 attribute.
30996
30997 2012-01-09 Ulrich Drepper <drepper@gmail.com>
30998
30999 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31000
31001 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31002
31003 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31004
31005 * io/Makefile (headers): Add bits/poll2.h.
31006
31007 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31008
31009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31010 typo #include statement.
31011
31012 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31013
31014 * include/sys/cdefs.h: Define __attribute_alloc_size.
31015 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31016 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31017 * elf/pldd.c: Likewise.
31018 * iconv/iconv_charmap.c: Likewise.
31019 * iconv/iconvconfig.c: Likewise.
31020 * iconv/strtab.c: Likewise.
31021 * locale/programs/locale.c: Likewise.
31022 * locale/programs/localedef.h: Likewise.
31023 * locale/programs/simple-hash.c: Likewise.
31024 * nscd/nscd.h: Likewise.
31025 * nss/makedb.c: Likewise.
31026 * sysdeps/generic/ldconfig.h: Likewise.
31027 * locale/programs/localedef.c: Remove xmalloc prototype.
31028 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31029
31030 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31031
31032 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31033 appropriate.
31034
31035 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31036
31037 * math/Makefile (tests): Add tst-CMPLX.
31038 * math/tst-CMPLX.c: New file.
31039
31040 * math/complex.h (CMPLXL): Fix typo.
31041
31042 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31043 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31044 GLIBC_2.16.
31045 * debug/tst-chk1.c: Add poll and ppoll tests.
31046 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31047 * include/sys/poll.h: Add hidden proto for ppoll.
31048 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31049 * sysdeps/mach/hurd/ppoll.c: Likewise.
31050 * io/ppoll.c: Likewise.
31051 * debug/poll_chk.c: New file.
31052 * debug/ppoll_chk.c: New file.
31053 * include/bits/poll2.h: New file.
31054 * io/bits/poll2.h: New file.
31055
31056 [BZ #1350]
31057 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31058
31059 * configure.in: static is always set to yes. Remove.
31060 * config.make.in: Don't set build-static.
31061 * Makeconfig: Remove use of build-static.
31062 * dlfcn/Makefile: Likewise.
31063 * elf/Makefile: Likewise.
31064 * math/Makefile: Likewise.
31065 * misc/Makefile: Likewise.
31066 * nptl/Makefile: Likewise.
31067 * sysdeps/mach/hurd/Makefile: Likewise.
31068
31069 * configure.in: PWD_P is not used anymore.
31070 * config.make.in: Remove PWD_P entry.
31071
31072 * configure.in: Remove last remnants of RANLIB.
31073 No need to check for signed size_t anymore.
31074 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31075 and IA-64.
31076 Remove __builtin_expect test because we require at least gcc 3.4.
31077 * aclocal.m4: Likewise.
31078
31079 * wcsmbs/mbrtoc16.c: Implement using towc function.
31080 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31081 * wcsmbs/wcsmbsload.c: Likewise.
31082 * iconv/gconv_simple.c: Likewise.
31083 * iconv/gconv_int.h: Likewise.
31084 * iconv/gconv_builtin.h: Likewise.
31085 * iconv/iconv_prog.c: Remove CHAR16 handling.
31086
31087 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31088
31089 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31090
31091 * configure.in: Remove --with-elf and --enable-bounded options.
31092 Dont set base_machine for ia64. More non-ELF conditions removed.
31093 Remove testing and setting of leading underscore information.
31094 * config.make.in (build-bounded): Set to no.
31095 * config.h.in: Remove NO_UNDERSCORES entry.
31096 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31097 them.
31098 * csu/start.c: Remove !NO_UNDERSCORE code.
31099 * locale/localeinfo.h: Likewise.
31100 * sysdeps/generic/machine-gmon.h: Likewise.
31101 * sysdeps/generic/sysdep.h: Likewise.
31102 * sysdeps/i386/sysdep.h: Likewise.
31103 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31104 * sysdeps/mach/sysdep.h: Likewise.
31105 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31106 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31107 * sysdeps/sh/sysdep.h: Likewise.
31108 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31109 * sysdeps/unix/i386/sysdep.S: Likewise.
31110 * sysdeps/unix/sparc/start.c: Likewise.
31111 * sysdeps/unix/sparc/sysdep.S: Likewise.
31112 * sysdeps/unix/sparc/sysdep.h: Likewise.
31113 * sysdeps/unix/start.c: Likewise.
31114 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31115 * sysdeps/x86_64/sysdep.h: Likewise.
31116
31117 2012-01-07 Ulrich Drepper <drepper@gmail.com>
31118
31119 [BZ #13553]
31120 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31121 for non-gcc.
31122 * argp/argp-fmtstream.h: Use const instead __const.
31123 * argp/argp.h: Likewise.
31124 * assert/assert.h: Likewise.
31125 * bits/fenv.h: Likewise.
31126 * bits/sched.h: Likewise.
31127 * bits/sigset.h: Likewise.
31128 * bits/sigthread.h: Likewise.
31129 * catgets/nl_types.h: Likewise.
31130 * conform/data/pthread.h-data: Likewise.
31131 * crypt/crypt-private.h: Likewise.
31132 * crypt/crypt.h: Likewise.
31133 * crypt/crypt_util.c: Likewise.
31134 * ctype/ctype.h: Likewise.
31135 * debug/execinfo.h: Likewise.
31136 * debug/mbsnrtowcs_chk.c: Likewise.
31137 * debug/mbsrtowcs_chk.c: Likewise.
31138 * debug/wcsnrtombs_chk.c: Likewise.
31139 * debug/wcsrtombs_chk.c: Likewise.
31140 * debug/wcstombs_chk.c: Likewise.
31141 * dirent/dirent.h: Likewise.
31142 * dlfcn/dlfcn.h: Likewise.
31143 * elf/neededtest4.c: Likewise.
31144 * grp/grp.h: Likewise.
31145 * gshadow/gshadow.h: Likewise.
31146 * iconv/gconv.h: Likewise.
31147 * iconv/gconv_int.h: Likewise.
31148 * iconv/gconv_simple.c: Likewise.
31149 * iconv/iconv.h: Likewise.
31150 * iconv/loop.c: Likewise.
31151 * iconv/skeleton.c: Likewise.
31152 * include/aio.h: Likewise.
31153 * include/aliases.h: Likewise.
31154 * include/argz.h: Likewise.
31155 * include/arpa/inet.h: Likewise.
31156 * include/assert.h: Likewise.
31157 * include/dirent.h: Likewise.
31158 * include/dlfcn.h: Likewise.
31159 * include/execinfo.h: Likewise.
31160 * include/fcntl.h: Likewise.
31161 * include/fenv.h: Likewise.
31162 * include/glob.h: Likewise.
31163 * include/grp.h: Likewise.
31164 * include/libintl.h: Likewise.
31165 * include/mntent.h: Likewise.
31166 * include/netdb.h: Likewise.
31167 * include/pwd.h: Likewise.
31168 * include/rpc/netdb.h: Likewise.
31169 * include/sched.h: Likewise.
31170 * include/search.h: Likewise.
31171 * include/shadow.h: Likewise.
31172 * include/signal.h: Likewise.
31173 * include/stdio.h: Likewise.
31174 * include/stdlib.h: Likewise.
31175 * include/string.h: Likewise.
31176 * include/sys/socket.h: Likewise.
31177 * include/sys/stat.h: Likewise.
31178 * include/sys/statfs.h: Likewise.
31179 * include/sys/statvfs.h: Likewise.
31180 * include/sys/syslog.h: Likewise.
31181 * include/sys/time.h: Likewise.
31182 * include/sys/uio.h: Likewise.
31183 * include/time.h: Likewise.
31184 * include/unistd.h: Likewise.
31185 * include/utmp.h: Likewise.
31186 * include/wchar.h: Likewise.
31187 * include/wctype.h: Likewise.
31188 * inet/aliases.h: Likewise.
31189 * inet/arpa/inet.h: Likewise.
31190 * inet/netinet/ether.h: Likewise.
31191 * inet/netinet/in.h: Likewise.
31192 * intl/libintl.h: Likewise.
31193 * io/bits/fcntl2.h: Likewise.
31194 * io/fcntl.h: Likewise.
31195 * io/ftw.h: Likewise.
31196 * io/sys/poll.h: Likewise.
31197 * io/sys/stat.h: Likewise.
31198 * io/sys/statfs.h: Likewise.
31199 * io/sys/statvfs.h: Likewise.
31200 * io/utime.h: Likewise.
31201 * libio/bits/stdio.h: Likewise.
31202 * libio/bits/stdio2.h: Likewise.
31203 * libio/libio.h: Likewise.
31204 * libio/libioP.h: Likewise.
31205 * libio/stdio.h: Likewise.
31206 * locale/lc-ctype.c: Likewise.
31207 * locale/locale.h: Likewise.
31208 * login/utmp.h: Likewise.
31209 * malloc/arena.c: Likewise.
31210 * malloc/malloc.c: Likewise.
31211 * malloc/malloc.h: Likewise.
31212 * malloc/mcheck.c: Likewise.
31213 * malloc/mtrace.c: Likewise.
31214 * math/bits/mathcalls.h: Likewise.
31215 * math/fenv.h: Likewise.
31216 * math/math_private.h: Likewise.
31217 * misc/bits/error.h: Likewise.
31218 * misc/bits/syslog.h: Likewise.
31219 * misc/err.h: Likewise.
31220 * misc/error.h: Likewise.
31221 * misc/fstab.h: Likewise.
31222 * misc/mntent.h: Likewise.
31223 * misc/regexp.h: Likewise.
31224 * misc/search.h: Likewise.
31225 * misc/sgtty.h: Likewise.
31226 * misc/sys/mman.h: Likewise.
31227 * misc/sys/syslog.h: Likewise.
31228 * misc/sys/uio.h: Likewise.
31229 * misc/sys/xattr.h: Likewise.
31230 * misc/ttyent.h: Likewise.
31231 * nis/rpcsvc/ypclnt.h: Likewise.
31232 * nss/nss.h: Likewise.
31233 * posix/bits/unistd.h: Likewise.
31234 * posix/fnmatch.h: Likewise.
31235 * posix/glob.h: Likewise.
31236 * posix/sched.h: Likewise.
31237 * posix/spawn.h: Likewise.
31238 * posix/sys/wait.h: Likewise.
31239 * posix/unistd.h: Likewise.
31240 * posix/wordexp.h: Likewise.
31241 * pwd/pwd.h: Likewise.
31242 * resolv/netdb.h: Likewise.
31243 * resource/sys/resource.h: Likewise.
31244 * rt/aio.h: Likewise.
31245 * rt/bits/mqueue2.h: Likewise.
31246 * rt/mqueue.h: Likewise.
31247 * shadow/shadow.h: Likewise.
31248 * signal/signal.h: Likewise.
31249 * socket/send.c: Likewise.
31250 * socket/sendto.c: Likewise.
31251 * socket/sys/socket.h: Likewise.
31252 * stdio-common/printf.h: Likewise.
31253 * stdlib/bits/stdlib.h: Likewise.
31254 * stdlib/fmtmsg.h: Likewise.
31255 * stdlib/monetary.h: Likewise.
31256 * stdlib/stdlib.h: Likewise.
31257 * stdlib/ucontext.h: Likewise.
31258 * streams/stropts.h: Likewise.
31259 * string/argz.h: Likewise.
31260 * string/bits/string2.h: Likewise.
31261 * string/string.h: Likewise.
31262 * string/strings.h: Likewise.
31263 * sunrpc/rpc/auth.h: Likewise.
31264 * sunrpc/rpc/auth_des.h: Likewise.
31265 * sunrpc/rpc/clnt.h: Likewise.
31266 * sunrpc/rpc/netdb.h: Likewise.
31267 * sunrpc/rpc/pmap_clnt.h: Likewise.
31268 * sunrpc/rpc/xdr.h: Likewise.
31269 * sysdeps/generic/inttypes.h: Likewise.
31270 * sysdeps/generic/net/if.h: Likewise.
31271 * sysdeps/generic/sys/swap.h: Likewise.
31272 * sysdeps/gnu/net/if.h: Likewise.
31273 * sysdeps/gnu/utmpx.h: Likewise.
31274 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31275 * sysdeps/i386/i486/bits/string.h: Likewise.
31276 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31277 * sysdeps/s390/bits/string.h: Likewise.
31278 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31279 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31280 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31281 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31282 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31283 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31284 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31285 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31286 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31287 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31288 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31289 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31290 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31291 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31292 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31293 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31294 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31295 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31296 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31297 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31298 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31299 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31300 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31301 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31302 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31303 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31304 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31305 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31306 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31307 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31308 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31309 * sysvipc/sys/ipc.h: Likewise.
31310 * sysvipc/sys/msg.h: Likewise.
31311 * sysvipc/sys/sem.h: Likewise.
31312 * sysvipc/sys/shm.h: Likewise.
31313 * termios/termios.h: Likewise.
31314 * time/sys/time.h: Likewise.
31315 * time/time.h: Likewise.
31316 * wcsmbs/bits/wchar2.h: Likewise.
31317 * wcsmbs/uchar.h: Likewise.
31318 * wcsmbs/wchar.h: Likewise.
31319 * wctype/wctype.h: Likewise.
31320
31321 [BZ #13551]
31322 * Makeconfig: Remove all but ELF support including AIX support.
31323 * Makerules: Likewise.
31324 * config.h.in: Likewise.
31325 * config.make.in: Likewise.
31326 * configure: Likewise.
31327 * configure.in: Likewise.
31328 * csu/Makefile: Likewise.
31329 * csu/version.c: Likewise.
31330 * debug/Makefile: Likewise.
31331 * dlfcn/Makefile: Likewise.
31332 * elf/Makefile: Likewise.
31333 * extra-lib.mk: Likewise.
31334 * iconv/Makefile: Likewise.
31335 * include/libc-symbols.h: Likewise.
31336 * include/shlib-compat.h: Likewise.
31337 * resolv/Makefile: Likewise.
31338 * resolv/res_libc.c: Likewise.
31339 * rt/Makefile: Likewise.
31340 * sysdeps/i386/asm-syntax.h: Likewise.
31341 * sysdeps/i386/sysdep.h: Likewise.
31342 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31343 * sysdeps/mach/sysdep.h: Likewise.
31344 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31345 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31346 * sysdeps/s390/asm-syntax.h: Likewise.
31347 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31348 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31349 * sysdeps/sh/sysdep.h: Likewise.
31350 * sysdeps/unix/sparc/sysdep.h: Likewise.
31351 * sysdeps/wordsize-32/divdi3.c: Likewise.
31352 * sysdeps/x86_64/sysdep.h: Likewise.
31353
31354 * argp/Versions: Remove _argp_unlock_xxx.
31355
31356 [BZ #13559]
31357 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31358 * abilist/libBrokenLocale.abilist: Likewise.
31359 * abilist/libanl.abilist: Likewise.
31360 * abilist/libc.abilist: Likewise.
31361 * abilist/libcrypt.abilist: Likewise.
31362 * abilist/libdl.abilist: Likewise.
31363 * abilist/libm.abilist: Likewise.
31364 * abilist/libnsl.abilist: Likewise.
31365 * abilist/libpthread.abilist: Likewise.
31366 * abilist/libresolv.abilist: Likewise.
31367 * abilist/librt.abilist: Likewise.
31368 * abilist/libthread_db.abilist: Likewise.
31369 * abilist/libutil.abilist: Likewise.
31370 * abilist/libnss_db.abilist: New file.
31371
31372 * scripts/abilist.awk: Add support for indirect functions.
31373
31374 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31375
31376 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31377
31378 * shlib-versions: Remove entries for ports architectures.
31379
31380 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31381 files in ports.
31382 * elf/stackguard-macros.h: Remove support for IA-64.
31383 * elf/tst-auditmod1.c: Likewise.
31384 * sysdeps/generic/ldsodefs.h: Likewise.
31385
31386 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31387 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31388 configure files.
31389
31390 [BZ #13552]
31391 * configure.in: Remove --enable-omitfp support.
31392 * FAQ.in: Adjust.
31393 * config.make.in: Likewise.
31394 * Makeconfig: Likewise.
31395 * manual/install.texi: Likewise.
31396
31397 In case anyone cares, the IA-64 architecture could move to ports.
31398 * sysdeps/ia64/*: Removed.
31399 * sysdeps/unix/sysv/linux/ia64/*: Removed.
31400 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31401
31402 [BZ #13555]
31403 * configure.in: Remove entries for unsupported architectures.
31404
31405 [BZ #13533]
31406 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31407 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31408 routines.
31409 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31410 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31411 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31412 fall back to using wcrtomb.
31413 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31414 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31415 renaming.
31416 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31417 * wcsmbs/tst-c16c32-1.c: New file.
31418
31419 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31420 local variable.
31421
31422 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31423
31424 * elf/tst-unique3.cc: Add explicit declaration of gets.
31425 * elf/tst-unique3lib.cc: Likewise.
31426 * elf/tst-unique3lib2.cc: Likewise.
31427 * elf/tst-unique4.cc: Likewise.
31428
31429 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31430
31431 2012-01-06 Joseph Myers <joseph@codesourcery.com>
31432
31433 [BZ #13566]
31434 * assert/assert.h (static_assert): Don't define for C++.
31435 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31436 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31437
31438 2012-01-03 Ulrich Drepper <drepper@gmail.com>
31439
31440 * iconv/loop.c (single loop): Fix assertion in storing of
31441 remaining bytes.
31442
31443 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31444
31445 2012-01-01 Ulrich Drepper <drepper@gmail.com>
31446
31447 * posix/getconf.c: Update copyright year.
31448 * nss/getent.c: Likewise.
31449 * nss/makedb.c: Likewise.
31450 * iconv/iconvconfig.c: Likewise.
31451 * iconv/iconv_prog.c: Likewise.
31452 * elf/ldconfig.c: Likewise.
31453 * elf/pldd.c: Likewise.
31454 * elf/sotruss.ksh: Likewise.
31455 * catgets/gencat.c: Likewise.
31456 * csu/version.c: Likewise.
31457 * elf/ldd.bash.in: Likewise.
31458 * elf/sprof.c (print_version): Likewise.
31459 * locale/programs/locale.c: Likewise.
31460 * locale/programs/localedef.c: Likewise.
31461 * login/programs/pt_chown.c: Likewise.
31462 * nscd/nscd.c (print_version): Likewise.
31463 * debug/xtrace.sh: Likewise.
31464 * malloc/memusage.sh: Likewise.
31465 * malloc/mtrace.pl: Likewise.
31466 * debug/catchsegv.sh: Likewise.
31467
31468 2011-12-30 Jakub Jelinek <jakub@redhat.com>
31469
31470 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31471 pure attribute.
31472
31473 2011-12-24 Ulrich Drepper <drepper@gmail.com>
31474
31475 [BZ #13533]
31476 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31477 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31478 transformations.
31479 * iconv/gconv_int.h: Likewise.
31480 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31481 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31482 from libc for GLIBC_2.16.
31483 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31484 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31485 * wcsmbs/uchar.h: Really define mbstate_t.
31486 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31487 * wcsmbs/c16rtomb.c: New file.
31488 * wcsmbs/mbrtoc16.c: New file.
31489 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31490 for C/POSIX locale.
31491 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31492 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31493
31494 * wcsmbs/wchar.h: Add missing __restrict.
31495
31496 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31497
31498 [BZ #13532]
31499 * time/Makefile (routines): Add timespec_get.
31500 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31501 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31502 timespec for ISO C11.
31503 * time/timespec_get.c: New file.
31504 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31505 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31506
31507 [BZ #13531]
31508 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31509 * stdlib/stdlib.h: Declare aligned_alloc.
31510 * Versions.def: Add GLIBC_2.16 for libc.
31511 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31512
31513 [BZ 13527]
31514 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31515 ISO C11.
31516
31517 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31518 code.
31519
31520 [BZ #13528]
31521 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31522
31523 [BZ #13529]
31524 * assert/assert.h (static_assert): Define.
31525
31526 * version.h: Update for 2.16 development version.
31527
31528 [BZ #13526]
31529 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31530 _ISOC11_SOURCE.
31531
31532 * version.h (RELEASE): Bump for 2.15 release.
31533 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31534
31535 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31536 Patch by Marek Polacek <mpolacek@redhat.com>.
31537
31538 * bits/byteswap.h: Protect long long constants with __extension__.
31539 * sysdeps/i386/bits/byteswap.h: Likewise.
31540 * sysdeps/ia64/bits/byteswap.h: Likewise.
31541 * sysdeps/s390/bits/byteswap.h: Likewise.
31542 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31543
31544 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31545
31546 [BZ #13540]
31547 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31548 destination buffer.
31549 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31550
31551 2011-12-23 Marek Polacek <polacek@redhat.com>
31552
31553 * elf/dl-addr.c (determine_info): Add inline keyword.
31554 * elf/tst-auditmod4b.c (check_avx): Likewise.
31555 * elf/tst-auditmod6b.c (check_avx): Likewise.
31556 * elf/tst-auditmod6c.c (check_avx): Likewise.
31557 * elf/tst-auditmod7b.c (check_avx): Likewise.
31558
31559 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31560
31561 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31562 !__SSE_MATH__.
31563
31564 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31565
31566 [BZ #13540]
31567 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31568 processing for last bytes.
31569
31570 2011-08-06 Bruno Haible <bruno@clisp.org>
31571
31572 [BZ #13061]
31573 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31574 U+0385, not to U+1FEE.
31575
31576 [BZ #13062]
31577 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31578 entry for U+00A5 U+0301.
31579
31580 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31581
31582 [BZ #13166]
31583 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31584 buffer for the output is too small.
31585
31586 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31587 optimization.
31588
31589 [BZ #13185]
31590 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31591 SSE flags if possible.
31592
31593 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31594
31595 [BZ #13540]
31596 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31597 processing for last bytes.
31598
31599 2011-12-22 Joseph Myers <joseph@codesourcery.com>
31600
31601 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31602 (syscall-list-default-options, syscall-list-default-condition)
31603 (syscall-list-includes): Define.
31604 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31605 list of ABIs and options and #if conditions for each ABI. Do not
31606 handle common syscalls between ABIs specially.
31607 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31608 Remove.
31609 (syscall-list-variants, syscall-list-32bit-options)
31610 (syscall-list-32bit-condition, syscall-list-64bit-options)
31611 (syscall-list-64bit-condition): Define.
31612 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31613 (syscall-list-variants, syscall-list-32bit-options)
31614 (syscall-list-32bit-condition, syscall-list-64bit-options)
31615 (syscall-list-64bit-condition): Define.
31616 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31617 Remove.
31618 (syscall-list-variants, syscall-list-32bit-options)
31619 (syscall-list-32bit-condition, syscall-list-64bit-options)
31620 (syscall-list-64bit-condition): Define.
31621 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31622 Remove.
31623 (syscall-list-variants, syscall-list-32bit-options)
31624 (syscall-list-32bit-condition, syscall-list-64bit-options)
31625 (syscall-list-64bit-condition): Define.
31626
31627 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31628
31629 * locale/iso-639.def: Add brx entry.
31630
31631 [BZ #13328]
31632 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31633 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31634
31635 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31636 __feraiseexcept_renamed.
31637
31638 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31639
31640 [BZ #13538]
31641 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31642 EPOLLET with unsigned values.
31643 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31644 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31645
31646 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31647 to large cancellation.
31648 * math/s_cacoshf.c: Likewise.
31649 * math/s_cacoshl.c: Likewise.
31650
31651 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31652
31653 [BZ #13305]
31654 [BZ #12786]
31655 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31656 * math/s_cacoshf.c: Likewise.
31657 * math/s_cacoshl.c: Likewise.
31658
31659 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31660
31661 [BZ #13439]
31662 * iconv/gconv.h: Define __GCONV_SWAP.
31663 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31664 * iconvdata/utf-16.c: Likewise.
31665 * iconvdata/utf-32.c: Likewise.
31666
31667 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31668
31669 [BZ #13524]
31670 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31671 numerator after shifting it by one limb.
31672
31673 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31674
31675 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31676 under [__USE_EXTERN_INLINES].
31677
31678 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31679
31680 [BZ #13446]
31681 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31682
31683 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31684
31685 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31686 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31687 optimized code.
31688 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31689 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31690 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31691 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31692 for strncasecmp/strncasecmp_l compilation.
31693 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31694 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31695
31696 2011-12-08 Marek Polacek <mpolacek@redhat.com>
31697
31698 [BZ #13484]
31699 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31700 of __asm__.
31701
31702 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31703
31704 [BZ #13506]
31705 * time/tzfile.c (__tzfile_read): Check values from file header.
31706
31707 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31708
31709 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31710 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31711 * powerpc/powerpc32/dl-start.S: Likewise.
31712 * powerpc/powerpc32/elf/start.S: Likewise.
31713 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31714 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31715 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31716 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31717 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31718 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31719 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31720 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31721 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31722 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31723 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31724 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31725 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31726 * powerpc/powerpc32/memset.S: Likewise.
31727 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31728 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31729 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31730 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31731 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31732 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31733 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31734 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31735 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31736 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31737 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31738 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31739 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31740
31741 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31742
31743 * math/libm-test.inc: Added more nearbyint tests.
31744 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31745 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31746 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31747 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31748
31749 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31750
31751 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31752 FD_CLOEXEC.
31753
31754 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31755
31756 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31757 Add wcscpy-ssse3 wcscpy-c.
31758 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31759 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31760 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31761 * sysdeps/x86_64/wcschr.S: New file.
31762 * sysdeps/x86_64/wcsrchr.S: New file.
31763 * string/test-strcmp.c: Remove checking of wcscmp function for
31764 wrong alignments.
31765 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31766 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31767 wcsrchr-sse2 wcsrchr-c.
31768 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31769 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31770 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31771 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31772 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31773 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31774 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31775 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31776 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31777 * wcsmbc/wcschr.c (WCSCHR): New macro.
31778
31779 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31780
31781 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31782 * wcsmbs/test-wcsrchr.c: New file.
31783 * string/test-strrchr.c: Add wcsrchr support.
31784 (WIDE): New macro.
31785 * wcsmbs/test-wcscpy.c: New file.
31786 * string/test-strcpy.c: Add wcscpy support.
31787 (WIDE): New macro.
31788
31789 2011-12-10 Ulrich Drepper <drepper@gmail.com>
31790
31791 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31792 the inner loop.
31793
31794 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31795
31796 [BZ #13472]
31797 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31798
31799 2011-12-04 Ulrich Drepper <drepper@gmail.com>
31800
31801 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31802 Minor optimizations.
31803
31804 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31805 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31806 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31807
31808 2011-12-03 Ulrich Drepper <drepper@gmail.com>
31809
31810 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31811 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31812 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31813 for gcc to avoid warnings.
31814 * inet/Makefile (tests): Add tst-checks.
31815 * inet/tst-checks.c: New file.
31816
31817 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31818 warning.
31819
31820 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31821 __wmemcmp_sse2.
31822
31823 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31824 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31825
31826 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31827
31828 2011-12-02 Ulrich Drepper <drepper@gmail.com>
31829
31830 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31831 problem.
31832
31833 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31834
31835 2011-11-29 Joseph Myers <joseph@codesourcery.com>
31836
31837 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31838 conditional on GCC version.
31839 (__arch_compare_and_exchange_val_8_acq)
31840 (__arch_compare_and_exchange_val_16_acq)
31841 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31842 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31843 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31844
31845 2011-12-02 Joseph Myers <joseph@codesourcery.com>
31846
31847 * sysdeps/sh/backtrace.c: New file.
31848
31849 2011-12-02 Andreas Schwab <schwab@redhat.com>
31850
31851 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31852 parenthesis.
31853
31854 2011-12-01 Andreas Schwab <schwab@redhat.com>
31855
31856 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31857 falling back to utime.
31858
31859 2011-11-30 Andreas Schwab <schwab@redhat.com>
31860
31861 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31862 expectations for float.
31863
31864 2011-11-29 Andreas Schwab <schwab@redhat.com>
31865
31866 * locale/weight.h (findidx): Add parameter len.
31867 * locale/weightwc.h (findidx): Likewise.
31868 * posix/fnmatch_loop.c (FCT): Adjust caller.
31869 * posix/regcomp.c (build_equiv_class): Likewise.
31870 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31871 * posix/regexec.c (check_node_accept_bytes): Likewise.
31872 * string/strcoll_l.c (STRCOLL): Likewise.
31873 * string/strxfrm_l.c (STRXFRM): Likewise.
31874
31875 2011-11-17 Ulrich Drepper <drepper@gmail.com>
31876
31877 * Makefile.in: Remove CVSOPT handling.
31878 * configure.in: Remove use of AC_REVISION.
31879 * iconvdata/Makefile (distribute): No need to filter out CVS.
31880 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31881 handling.
31882
31883 2011-11-16 Andreas Schwab <schwab@redhat.com>
31884
31885 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31886 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31887 [USE_AS_STRNCASECMP_L]: Likewise.
31888 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31889 NO_TLS_DIRECT_SEG_REFS.
31890 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31891 Fix argument offsets for non-PIC.
31892 [USE_AS_STRNCASECMP_L]: Likewise.
31893 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31894 NO_TLS_DIRECT_SEG_REFS.
31895
31896 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31897
31898 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31899 O_CLOEXEC.
31900 * locale/loadlocale.c (_nl_load_locale): Likewise.
31901
31902 2011-11-15 Andreas Schwab <schwab@redhat.com>
31903
31904 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31905 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31906 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31907 (SYSCALL_GETTIME): Set errno on error.
31908
31909 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31910 count references to noai6ai_cached.
31911
31912 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31913
31914 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31915
31916 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31917 FD_CLOEXEC for /proc/self/maps.
31918
31919 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31920 FD_CLOEXEC for /proc/meminfo.
31921
31922 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31923 gai.conf.
31924
31925 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31926 FD_CLOEXEC for given file.
31927
31928 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31929
31930 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31931 FD_CLOEXEC for /etc/hosts.
31932 (_gethtent): Likewise.
31933
31934 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31935
31936 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31937 cancellation and set FD_CLOEXEC for /etc/netgroup.
31938
31939 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31940 reading /etc/publickey.
31941
31942 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31943 allow cancellation when reading /etc/group.
31944
31945 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31946 cancellation.
31947 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31948
31949 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31950 when using data file.
31951
31952 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31953
31954 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31955 (write_nis_obj): Use "c" and "e" in fopen.
31956
31957 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31958
31959 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31960
31961 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31962
31963 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31964
31965 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31966 locale.alias.
31967
31968 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31969
31970 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31971
31972 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31973
31974 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31975 file parsing and set FD_CLOEXEC.
31976
31977 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31978
31979 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31980
31981 2011-11-14 Andreas Schwab <schwab@redhat.com>
31982
31983 * malloc/arena.c (arena_get2): Don't call reused_arena when
31984 _int_new_arena failed.
31985
31986 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31987
31988 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31989 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31990 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31991 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31992 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31993 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31994 to compile strcasecmp and strncasecmp.
31995 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31996 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31997
31998 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31999
32000 2011-11-13 Ulrich Drepper <drepper@gmail.com>
32001
32002 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32003 locale-defines.sym to gen-as-const-headers.
32004 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32005 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32006 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32007 to compile strcasecmp and strncasecmp.
32008 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32009 strcasecmp_l and strncasecmp_l.
32010 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32011 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32012 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32013 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32014 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32015 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32016 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32017 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32018 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32019 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32020 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32021
32022 2011-11-12 Ulrich Drepper <drepper@gmail.com>
32023
32024 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32025 result of SYSDEP_GETTIME_CPU to retval.
32026 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32027 parameter list to macro. Remove trailing semicolon. Adjust users.
32028
32029 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32030 variable.
32031
32032 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32033 mantissa words.
32034 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32035
32036 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32037 from unused variable.
32038
32039 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32040 DWARF definitions.
32041 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32042 for assembling.
32043
32044 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32045 over namespaces.
32046
32047 * sunrpc/rpc_prot.c (rejected): Fix case value.
32048
32049 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32050 unsigned long long int to avoid warnings in shift.
32051
32052 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32053 of use of trans.
32054 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32055 variable tmp.
32056
32057 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32058 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32059 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32060
32061 * nis/nis_table.c (nis_list): Use variable of correct type for
32062 result of __follow_path call.
32063
32064 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32065
32066 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32067 of math functions ceil, trunc, floor, round, and sqrt, when
32068 avaliable on the platform.
32069 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32070 name clash.
32071 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32072 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32073 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32074
32075 2011-10-30 Marek Polacek <mpolacek@redhat.com>
32076
32077 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32078 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32079
32080 2011-11-11 Roland McGrath <roland@hack.frob.com>
32081
32082 * include/unistd.h: Fix __readlink return type.
32083 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32084
32085 2011-11-11 Ulrich Drepper <drepper@gmail.com>
32086
32087 * stdlib/ucontext.h: Undo last change for makecontext.
32088
32089 2011-11-11 Andreas Schwab <schwab@redhat.com>
32090
32091 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32092
32093 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32094 * setjmp/setjmp.h: Mark functions as non-leaf.
32095 * setjmp/bits/setjmp2.h: Likewise.
32096 * stdlib/ucontext.h: Likewise.
32097
32098 2011-11-10 Andreas Schwab <schwab@redhat.com>
32099
32100 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32101 (reused_arena): Don't check arena limit.
32102 (arena_get2): Atomically check arena limit.
32103
32104 2011-11-08 Ulrich Drepper <drepper@gmail.com>
32105
32106 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32107 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32108
32109 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32110 instructions.
32111
32112 2011-11-07 Andreas Schwab <schwab@redhat.com>
32113
32114 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32115 handler when locking.
32116
32117 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32118 Fix size of allocated buffer.
32119
32120 2011-11-04 Andreas Schwab <schwab@redhat.com>
32121
32122 [BZ #10103]
32123 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32124 declarations for long double functions.
32125 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32126
32127 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32128
32129 2011-11-03 Andreas Schwab <schwab@redhat.com>
32130
32131 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32132 installed.
32133
32134 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32135 is disabled.
32136
32137 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32138
32139 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32140
32141 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32142
32143 * include/alloca.h (stackinfo_alloca_round): Define.
32144 (extend_alloca): Use it.
32145 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32146 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32147 here.
32148
32149 * scripts/check-local-headers.sh: Ignore libaudit.h.
32150
32151 * nscd/Makefile (extra-objs): Make recursively expanded.
32152
32153 2011-11-01 Ulrich Drepper <drepper@gmail.com>
32154
32155 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32156 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32157
32158 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32159 * posix/tst-rfc3484-2.c: Likewise.
32160 * posix/tst-rfc3484-3.c: Likewise.
32161
32162 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32163 process_vm_writev.
32164 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32165 process_vm_writev.
32166 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32167 process_vm_writev from libc using GLIBC_2.15 version.
32168
32169 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32170
32171 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32172
32173 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32174 stack usage.
32175
32176 2011-10-31 Ulrich Drepper <drepper@gmail.com>
32177
32178 [BZ #13367]
32179 * nss/getent.c (initgroups_keys): Show error message in case no group
32180 names are given.
32181
32182 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32183 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32184 __bump_nl_timestamp.
32185 * nscd/connections (nscd_init): When host database is served open
32186 netlink socket and request notification about configuration changes.
32187 (main_loop_poll): Track netlink file descriptor and bump timestamp
32188 in case data becomes available.
32189 (main_loop_epoll): Likewise.
32190 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32191 (database_pers_head): Add extra_data fileds.
32192 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32193 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32194 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32195 Adjust caller.
32196 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32197 in6ai data, call __free_in6ai.
32198 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32199 Add -DHAVE_NETLINK.
32200 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32201 interface information. Reuse previous data if netlink timestamp
32202 is not changed.
32203 (__bump_nl_timestamp): New function.
32204 (__free_in6ai): New function.
32205
32206 2011-10-30 Ulrich Drepper <drepper@gmail.com>
32207
32208 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32209 close_not_cancel_no_status here.
32210 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32211
32212 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32213
32214 [BZ #13276]
32215 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32216 return value.
32217
32218 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32219 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32220 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32221
32222 2011-07-03 Andreas Jaeger <aj@suse.de>
32223
32224 [BZ #10709]
32225 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32226 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32227 * math/libm-test.inc (sin_test): Add test case.
32228
32229 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32230
32231 [BZ #13337]
32232 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32233 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32234
32235 * elf/chroot_canon.c (chroot_canon): Cleanups.
32236
32237 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32238
32239 [BZ #13335]
32240 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32241 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32242
32243 * string/test-strchr.c: Make usable for strchrnul testing.
32244 * string/test-strchrnul.c: New file.
32245 * string/Makefile (strop-tests): Add strchrnul.
32246
32247 * po/it.po: Update from translation team.
32248 * po/es.po: Likewise.
32249
32250 2011-10-28 Ulrich Drepper <drepper@gmail.com>
32251
32252 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32253 the three constants needed as parameters. Drop the others.
32254 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32255 __m128i_strloadu_tolower.
32256 Create and initialize variable zero and use it in all the places
32257 where _mm_setzero_si128 was used.
32258
32259 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32260 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32261 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32262 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32263 anymore.
32264 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32265 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32266 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32267 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32268 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32269 __mpranred, __mptan.
32270 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32271 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32272 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32273 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32274 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32275 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32276 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32277 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32278 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32279
32280 2011-10-28 Andreas Schwab <schwab@redhat.com>
32281
32282 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32283 redefine if SHARED.
32284 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32285
32286 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32287 wide char related routines to wcsmbs subdir.
32288
32289 2011-10-27 Andreas Schwab <schwab@redhat.com>
32290
32291 [BZ #13344]
32292 * misc/sys/cdefs.h (__THROWNL): Define.
32293 * posix/unistd.h: Use __THREADNL instead of __THREAD
32294 for memory synchronization functions.
32295
32296 2011-10-26 Roland McGrath <roland@hack.frob.com>
32297
32298 [BZ #13349]
32299 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32300 doesn't exist.
32301 * manual/stdio.texi (Obstack Streams): Node removed.
32302
32303 2011-10-26 Andreas Schwab <schwab@redhat.com>
32304
32305 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32306 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32307 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32308
32309 * math/math_private.h (math_force_eval): Allow non-addressable
32310 arguments.
32311 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32312
32313 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32314
32315 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32316 file is not needed.
32317
32318 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32319 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32320 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32321 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32322 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32323 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32324 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32325 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32326 Add AVX variants.
32327 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32328 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32329 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32330 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32331 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32332 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32333 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32334 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32335 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32336 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32337 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32338 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32339 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32340 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32341 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32342 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32343 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32344 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32345 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32346
32347 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32348 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32349
32350 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32351 place. Use VEX encoding when compiling for AVX.
32352
32353 2011-10-25 Andreas Schwab <schwab@redhat.com>
32354
32355 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32356 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32357
32358 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32359
32360 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32361
32362 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32363 useless if() expression.
32364 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32365 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32366 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32367 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32368 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32369 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32370 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32371 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32372 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32373 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32374 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32375 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32376 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32377 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32378 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32379 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32380 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32381 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32382 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32383
32384 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32385
32386 2011-10-25 Andreas Schwab <schwab@redhat.com>
32387
32388 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32389 condition.
32390 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32391
32392 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32393
32394 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32395 .text section. Avoid duplicate constants.
32396 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32397 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32398 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32399 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32400 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32401 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32402 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32403 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32404 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32405 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32406 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32407 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32408 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32409 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32410 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32411 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32412 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32413 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32414 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32415 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32416 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32417 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32418 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32419 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32420 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32421 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32422 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32423 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32424 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32425 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32426 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32427 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32428 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32429 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32430 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32431 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32432 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32433 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32434 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32435 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32436 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32437 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32438 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32439 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32440 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32441
32442 2011-10-24 Ulrich Drepper <drepper@gmail.com>
32443
32444 * sysdeps/x86_64/dla.h: Move to ...
32445 * sysdeps/x86_64/fpu/dla.h: ...here.
32446 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32447 situations. Use __builtin_fma only for gcc 4.6 and up.
32448
32449 * config.make.in: Add have-mfma4 entry.
32450 * configure.in: Substitute libc_cv_cc_fma4.
32451 * math/Makefile (dbl-only-routines): Add sincostab.
32452 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32453 Use __sincostab not sincos.
32454 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32455 name is a macro.
32456 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32457 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32458 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32459 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32460 using __copysign.
32461 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32462 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32463 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32464 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32465 and __inv.
32466 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32467 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32468 __copysign.
32469 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32470 define aliases when function name is a macro.
32471 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32472 sysdeps/ieee754/dbl-64/sincos.tbl.
32473 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32474 fma4-enabled routines.
32475 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32476 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32477 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32478 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32479 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32480 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32481 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32482 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32483 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32484 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32485 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32486 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32487 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32488 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32489 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32490 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32491 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32492 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32493 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32494 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32495 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32496 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32497 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32498 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32499 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32500 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32501 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32502 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32503 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32504 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32505
32506 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32507 rename.
32508 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32509 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32510 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32511 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32512 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32513 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32514 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32515 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32516
32517 2011-10-24 Andreas Schwab <schwab@redhat.com>
32518
32519 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32520
32521 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32522
32523 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32524
32525 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32526 prediction.
32527 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32528
32529 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32530 Remove unused variable magic_bits.
32531 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32532
32533 * string/strnlen.c: Define and use STRNLEN macro.
32534 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32535 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32536 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32537 * wcsmbs/wcslen.c: Define and use WCSLEN.
32538 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32539 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32540 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32541 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32542 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32543 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32544 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32545
32546 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32547
32548 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32549 strnlen-sse2-no-bsf.
32550 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32551 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32552 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32553 Add strnlen support.
32554 (USE_AS_STRNLEN): New macro.
32555 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32556 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32557 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32558 * sysdeps/x86_64/wcslen.S: New file.
32559
32560 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32561
32562 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32563 XMM-moves are used for copying on small sizes.
32564
32565 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32566
32567 * wcsmbs/Makefile (strop-tests): Add wcschr.
32568 * wcsmbs/test-wcschr.c: New file.
32569 * string/test-strchr.c: Update.
32570 Add wcschr support.
32571 (WIDE): New macro.
32572
32573 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32574
32575 * wcsmbs/Makefile (strop-tests): Add wcslen.
32576 * wcsmbs/test-wcslen.c: New file.
32577 * string/test-strlen.c: Update.
32578 Add wcslen support.
32579 (WIDE): New macro.
32580
32581 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32582
32583 * po/it.po: Update from translation team.
32584
32585 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32586
32587 * sysdeps/x86_64/wcscmp.S: Update.
32588 Fix wrong comparison semantics.
32589 wcscmp shall use signed comparison not unsigned.
32590 Don't use substraction to avoid overflow bug.
32591 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32592 * wcsmbc/wcscmp.c: Likewise.
32593 * string/test-strcmp.c: Likewise.
32594 Add new tests to check cases with negative values.
32595
32596 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32597
32598 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32599 * sysdeps/x86_64/dla.h: ...here. New file.
32600 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32601 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32602 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32603 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32604 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32605 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32606 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32607 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32608 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32609
32610 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32611
32612 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32613 __ynl_finite aliases.
32614
32615 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32616
32617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32618
32619 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32620 define DLA_FMA.
32621 [DLA_FMA] (EMULV): Use DLA_FMA.
32622 [DLA_FMA] (MUL12): Use EMULV.
32623 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32624 that are not needed.
32625 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32626 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32627 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32628 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32629 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32630 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32631 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32632
32633 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32634
32635 * math/s_nan.c: Undef __nan.
32636 * math/s_nanf.c: Undef __nanf.
32637 * math/s_nanl.c: Undef __nanl.
32638 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32639 "math_private.h".
32640
32641 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32642
32643 * math/s_catan.c: Add branch predictions.
32644 * math/s_catanf.c: Likewise.
32645 * math/s_catanh.c: Likewise.
32646 * math/s_catanhf.c: Likewise.
32647 * math/s_catanhl.c: Likewise.
32648 * math/s_catanl.c: Likewise.
32649 * math/s_cexp.c: Likewise.
32650 * math/s_cexpf.c: Likewise.
32651 * math/s_cexpl.c: Likewise.
32652 * math/s_clog.c: Likewise.
32653 * math/s_clog10.c: Likewise.
32654 * math/s_clog10f.c: Likewise.
32655 * math/s_clog10l.c: Likewise.
32656 * math/s_clogf.c: Likewise.
32657 * math/s_clogl.c: Likewise.
32658 * math/s_csqrt.c: Likewise.
32659 * math/s_csqrtf.c: Likewise.
32660 * math/s_csqrtl.c: Likewise.
32661 * math/s_ctanf.c: Likewise.
32662 * math/s_ctanh.c: Likewise.
32663 * math/s_ctanhf.c: Likewise.
32664 * math/s_ctanhl.c: Likewise.
32665 * math/s_ctanl.c: Likewise.
32666
32667 * math/math_private.h: Define __nan, __nanf, __nanl.
32668 * math/s_cacosh.c: Include <math_private.h>.
32669 * math/s_cacoshl.c: Likewise.
32670 * math/s_casinh.c: Likewise.
32671 * math/s_casinhf.c: Likewise.
32672 * math/s_casinhl.c: Likewise.
32673 * math/s_ccos.c: Rely entire on ccosh.
32674 * math/s_ccosf.c: Rely entire on ccoshf.
32675 * math/s_ccosl.c: Rely entirely on ccoshl.
32676 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32677 Remove tests for FE_INVALID.
32678 * math/s_ccoshf.c: Likewise.
32679 * math/s_ccoshl.c: Likewise.
32680 * math/s_csin.c: Likewise.
32681 * math/s_csinf.c: Likewise.
32682 * math/s_csinh.c Likewise.
32683 * math/s_csinhf.c: Likewise.
32684 * math/s_csinhl.c: Likewise.
32685 * math/s_csinl.c: Likewise.
32686 * math/s_ctan.c: Likewise.
32687 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32688 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32689 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32690
32691 2011-10-21 Ulrich Drepper <drepper@gmail.com>
32692
32693 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32694 compilation problems.
32695
32696 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32697 __builtin_expect.
32698
32699 2011-10-20 Ulrich Drepper <drepper@gmail.com>
32700
32701 * sysdeps/i386/configure.in: Test for -mfma4 option.
32702 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32703 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32704 COMMON_CPUID_INDEX_80000001.
32705 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32706 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32707 use it if FMA3 is not supported.
32708 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32709
32710 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32711 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32712
32713 2011-10-20 Andreas Schwab <schwab@redhat.com>
32714
32715 [BZ #12892]
32716 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32717 it would create a cycle with a link time dependency.
32718
32719 2011-10-19 Ulrich Drepper <drepper@gmail.com>
32720
32721 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32722 instruction.
32723 * string/Makefile (strop-tests): Add rawmemchr.
32724 * string/test-rawmemchr.c: New file.
32725
32726 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32727 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32728 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32729 when compiling str{,n}casecmp and when AVX is available. Hook up
32730 new optimized code in initializers.
32731
32732 2011-10-19 Andreas Schwab <schwab@redhat.com>
32733
32734 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32735 __feraiseexcept instead of feraiseexcept.
32736
32737 2011-10-18 Ulrich Drepper <drepper@gmail.com>
32738
32739 * math/math_private.h: Define defaults for libc_fetestexcept and
32740 libc_feupdateenv.
32741 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32742 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32743 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32744 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32745 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32746 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32747 libc_fetestexcept and libc_feupdateenv.
32748
32749 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32750 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32751 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32752 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32753 libc_feholdexcept_setround.
32754
32755 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32756 Add s_nearbyint-c and s_nearbyintf-c.
32757 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32758 nearbyintf inlines.
32759 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32760 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32761 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32762 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32763
32764 * math/math_private.h: Define defaults for libc_fegetround,
32765 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32766 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32767 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32768 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32769 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32770 standard functions.
32771 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32772 Remove comments and hacks for old compiler versions.
32773 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32774 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32775 libc_feholdexceptl.
32776
32777 2011-10-18 Andreas Schwab <schwab@redhat.com>
32778
32779 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32780 (__feraiseexcept_renamed): Add __NTH.
32781 (feraiseexcept): Add __NTH. Rename local variables to fix
32782 namespace violations.
32783
32784 2011-10-17 Ulrich Drepper <drepper@gmail.com>
32785
32786 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32787
32788 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32789
32790 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32791 recently added interfaces.
32792 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32793
32794 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32795 about macro parameter expansion.
32796
32797 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32798 __NO_MATH_INLINES is defined. Cleanups.
32799
32800 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32801 and __floorf is target has SSE4.1.
32802 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32803 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32804 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32805 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32806
32807 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32808 name.
32809 (floorf): Likewise.
32810
32811 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32812
32813 2011-10-17 Andreas Schwab <schwab@redhat.com>
32814
32815 * misc/sys/cdefs.h: Fix last change.
32816
32817 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32818 database lookup.
32819
32820 2011-10-16 Ulrich Drepper <drepper@gmail.com>
32821
32822 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32823
32824 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32825 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32826 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32827 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32828 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32829 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32830 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32831 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32832 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32833 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32834 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32835 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32836 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32837 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32838 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32839 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32840 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32841 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32842 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32843 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32844 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32845 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32846
32847 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32848 ceil, ceilf, floor, floorf.
32849
32850 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32851 Perform IRELATIVE relocations last.
32852
32853 * elf/do-rel.h: Add another parameter nrelative, replacing the
32854 local variable with the same name. Change name of the function
32855 to end in Rel or Rela (uppercase).
32856 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32857 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32858 elf_dynamic_do_##reloc function.
32859
32860 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32861
32862 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32863 is sufficient, at least on modern CPUs.
32864
32865 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32866
32867 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32868 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32869
32870 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32871 __expl_finite.
32872 * math/bits/math-finite.h: Add entries for exp.
32873 * math/e_expl.c: Add __*_finite alias.
32874 * sysdeps/i386/fpu/e_exp.S: Likewise.
32875 * sysdeps/i386/fpu/e_expf.S: Likewise.
32876 * sysdeps/i386/fpu/e_expl.c: Likewise.
32877 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32878 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32879 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32880 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32881 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32882 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32883 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32884
32885 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32886 is sufficient, at least on modern CPUs.
32887
32888 * ctype/ctype-info.c (__ctype_init): Define.
32889 * include/ctype.h (__ctype_init): Declare.
32890 (__ctype_b_loc): The variable is always initialized.
32891 (__ctype_toupper_loc): Likewise.
32892 (__ctype_tolower_loc): Likewise.
32893 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32894 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32895
32896 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32897
32898 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32899
32900 * configure.in: Also look in $cxxmachine/include for C++ system
32901 headers.
32902
32903 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32904
32905 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32906 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32907 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32908 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32909 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32910 (USE_AS_WMEMCMP): New macro.
32911 Fixing indents.
32912 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32913 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32914 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32915 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32916 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32917 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32918 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32919 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32920 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32921 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32922 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32923 (USE_AS_WMEMCMP): New macro.
32924 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32925 * sysdeps/string/test-memcmp.c: Update.
32926 Fix simple_wmemcmp.
32927 Add new tests.
32928 * wcsmbs/wmemcmp.c: Update.
32929 (WMEMCMP): New macro.
32930 Fix overflow bug.
32931
32932 2011-10-12 Andreas Jaeger <aj@suse.de>
32933
32934 [BZ #13268]
32935 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32936
32937 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32938
32939 * libio/iofwide.c (do_length): Avoid warning.
32940
32941 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32942
32943 2011-10-14 Ulrich Drepper <drepper@gmail.com>
32944
32945 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32946
32947 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32948 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32949 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32950 * sysdeps/i386/i686/fpu/e_log.S: New file.
32951 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32952 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32953
32954 * ctype/ctype.h: Add support for inlined isXXX functions when
32955 compiling C++ code.
32956
32957 2011-10-14 Andreas Schwab <schwab@redhat.com>
32958
32959 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32960
32961 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32962
32963 2011-10-13 Roland McGrath <roland@hack.frob.com>
32964
32965 [BZ #13291]
32966 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32967
32968 2011-10-13 Andreas Schwab <schwab@redhat.com>
32969
32970 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32971 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32972 feraiseexcept.
32973
32974 * sysdeps/x86_64/memrchr.S: Check for zero size.
32975
32976 * string/stratcliff.c: Add memrchr tests.
32977
32978 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32979
32980 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32981 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32982 rawmemchr-sse2 rawmemchr-sse2-bsf.
32983 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32984 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32985 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32986 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32987 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32988 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32989 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32990 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32991 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32992 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32993 * string/memrchr.c (MEMRCHR): New macro.
32994
32995 2011-10-12 Ulrich Drepper <drepper@gmail.com>
32996
32997 Add integration with gcc's -ffinite-math-only and optimize wrapper
32998 functions in libm.
32999 * Versions.def: Define GLIBC_2.15 version for libm.
33000 * math/Makefile (headers): Add bits/math-finite.h.
33001 * math/bits/math-finite.h: New file.
33002 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33003 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33004 * math/e_acoshl.c: Add __*_finite alias.
33005 * math/e_acosl.c: Likewise.
33006 * math/e_asinl.c: Likewise.
33007 * math/e_atan2l.c: Likewise.
33008 * math/e_atanhl.c: Likewise.
33009 * math/e_coshl.c: Likewise.
33010 * math/e_exp10.c: Likewise.
33011 * math/e_exp10f.c: Likewise.
33012 * math/e_exp10l.c: Likewise.
33013 * math/e_exp2l.c: Likewise.
33014 * math/e_fmodl.c: Likewise.
33015 * math/e_gammal_r.c: Likewise.
33016 * math/e_hypotl.c: Likewise.
33017 * math/e_j0l.c: Likewise.
33018 * math/e_j1l.c: Likewise.
33019 * math/e_jnl.c: Likewise.
33020 * math/e_lgammal_r.c: Likewise.
33021 * math/e_log10l.c: Likewise.
33022 * math/e_log2l.c: Likewise.
33023 * math/e_logl.c: Likewise.
33024 * math/e_powl.c: Likewise.
33025 * math/e_sinhl.c: Likewise.
33026 * math/e_sqrtl.c: Likewise.
33027 * math/e_scalb.c: Completely rewritten and optimized.
33028 * math/e_scalbf.c: Likewise.
33029 * math/e_scalbl.c: Likewise.
33030 * math/w_acos.c: Likewise.
33031 * math/w_acosf.c: Likewise.
33032 * math/w_acosl.c: Likewise.
33033 * math/w_acosh.c: Likewise.
33034 * math/w_acoshf.c: Likewise.
33035 * math/w_acoshl.c: Likewise.
33036 * math/w_asin.c: Likewise.
33037 * math/w_asinf.c: Likewise.
33038 * math/w_asinl.c: Likewise.
33039 * math/w_atan2.c: Likewise.
33040 * math/w_atan2f.c: Likewise.
33041 * math/w_atan2l.c: Likewise.
33042 * math/w_atanh.c: Likewise.
33043 * math/w_atanhf.c: Likewise.
33044 * math/w_atanhl.c: Likewise.
33045 * math/w_exp10.c: Likewise.
33046 * math/w_exp10f.c: Likewise.
33047 * math/w_exp10l.c: Likewise.
33048 * math/w_fmod.c: Likewise.
33049 * math/w_fmodf.c: Likewise.
33050 * math/w_fmodl.c: Likewise.
33051 * math/w_j0.c: Likewise.
33052 * math/w_j0f.c: Likewise.
33053 * math/w_j0l.c: Likewise.
33054 * math/w_j1.c: Likewise.
33055 * math/w_j1f.c: Likewise.
33056 * math/w_j1l.c: Likewise.
33057 * math/w_jn.c: Likewise.
33058 * math/w_jnf.c: Likewise.
33059 * math/w_log.c: Likewise.
33060 * math/w_logf.c: Likewise.
33061 * math/w_logl.c: Likewise.
33062 * math/w_log10.c: Likewise.
33063 * math/w_log10f.c: Likewise.
33064 * math/w_log10l.c: Likewise.
33065 * math/w_log2.c: Likewise.
33066 * math/w_log2f.c: Likewise.
33067 * math/w_log2l.c: Likewise.
33068 * math/w_pow.c: Likewise.
33069 * math/w_powf.c: Likewise.
33070 * math/w_powl.c: Likewise.
33071 * math/w_remainder.c: Likewise.
33072 * math/w_remainderf.c: Likewise.
33073 * math/w_remainderl.c: Likewise.
33074 * math/w_scalb.c: Likewise.
33075 * math/w_scalbf.c: Likewise.
33076 * math/w_scalbl.c: Likewise.
33077 * math/w_sqrt.c: Likewise.
33078 * math/w_sqrtf.c: Likewise.
33079 * math/w_sqrtl.c: Likewise.
33080 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33081 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33082 used.
33083 * math/math_private.h: Declare __kernel_standard_f.
33084 * math/w_cosh.c: Remove cruft and optimize a bit.
33085 * math/w_coshf.c: Likewise.
33086 * math/w_coshl.c: Likewise.
33087 * math/w_exp2.c: Likewise.
33088 * math/w_exp2f.c: Likewise.
33089 * math/w_exp2l.c: Likewise.
33090 * math/w_hypot.c: Likewise.
33091 * math/w_hypotf.c: Likewise.
33092 * math/w_hypotl.c: Likewise.
33093 * math/w_lgamma.c: Likewise.
33094 * math/w_lgamma_r.c: Likewise.
33095 * math/w_lgammaf.c: Likewise.
33096 * math/w_lgammaf_r.c: Likewise.
33097 * math/w_lgammal.c: Likewise.
33098 * math/w_lgammal_r.c: Likewise.
33099 * math/w_sinh.c: Likewise.
33100 * math/w_sinhf.c: Likewise.
33101 * math/w_sinhl.c: Likewise.
33102 * math/w_tgamma.c: Likewise.
33103 * math/w_tgammaf.c: Likewise.
33104 * math/w_tgammal.c: Likewise.
33105 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33106 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33107 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33108 Minor optimizations. Pretty printing. Remove cruft.
33109 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33110 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33111 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33112 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33113 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33114 * sysdeps/i386/fpu/e_asin.S: Likewise.
33115 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33116 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33117 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33118 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33119 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33120 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33121 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33122 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33123 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33124 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33125 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33126 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33127 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33128 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33129 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33130 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33131 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33132 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33133 * sysdeps/i386/fpu/e_log.S: Likewise.
33134 * sysdeps/i386/fpu/e_log10.S: Likewise.
33135 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33136 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33137 * sysdeps/i386/fpu/e_log2.S: Likewise.
33138 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33139 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33140 * sysdeps/i386/fpu/e_logf.S: Likewise.
33141 * sysdeps/i386/fpu/e_logl.S: Likewise.
33142 * sysdeps/i386/fpu/e_pow.S: Likewise.
33143 * sysdeps/i386/fpu/e_powf.S: Likewise.
33144 * sysdeps/i386/fpu/e_powl.S: Likewise.
33145 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33146 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33147 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33148 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33149 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33150 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33151 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33152 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33153 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33154 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33155 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33156 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33157 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33158 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33159 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33160 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33161 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33162 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33163 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33164 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33165 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33166 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33167 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33168 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33169 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33170 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33171 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33172 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33173 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33174 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33175 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33176 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33177 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33178 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33179 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33180 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33181 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33182 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33183 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33184 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33185 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33186 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33187 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33188 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33189 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33190 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33191 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33192 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33193 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33194 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33195 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33196 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33197 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33198 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33199 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33200 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33201 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33202 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33203 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33204 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33205 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33206 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33207 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33208 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33209 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33210 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33211 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33212 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33213 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33214 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33215 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33216 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33217 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33218 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33219 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33220 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33221 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33222 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33223 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33224 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33225 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33226 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33227 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33228 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33229 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33230 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33231 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33232 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33233 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33234 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33235 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33236 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33237 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33238 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33239 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33240 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33241 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33242 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33243 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33244 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33245 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33246 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33247 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33248 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33249 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33250 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33251 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33252 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33253 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33254 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33255 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33256 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33257 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33258 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33259 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33260 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33261 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33262 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33263 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33264 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33265 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33266 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33267 (__isnanf): Likewise.
33268 (__isinf_ns): Likewise.
33269 (__isinf_nsf): Likewise.
33270 (__finite): Likewise.
33271 (__finitef): Likewise.
33272 (__ieee754_sqrt): Define as macro.
33273 (__ieee754_sqrtf): Define as macro.
33274 (__ieee754_sqrtl): Define as macro.
33275 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33276 inlined copy.
33277 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33278 __FINITE_MATH_ONLY__ consistent.
33279 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33280
33281 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33282
33283 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33284 of rawmemchr.
33285
33286 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33287
33288 2011-10-09 Ulrich Drepper <drepper@gmail.com>
33289
33290 * po/ja.po: Update from translation team.
33291
33292 2011-10-08 Roland McGrath <roland@hack.frob.com>
33293
33294 * locale/programs/locarchive.c (prepare_address_space): New function.
33295 (create_archive, enlarge_archive, open_archive): Use it.
33296
33297 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33298 inside [SHARED], where it is used.
33299
33300 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33301
33302 * nss/getent.c (netgroup_keys): Remove unused variable.
33303 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33304
33305 2011-10-08 Ulrich Drepper <drepper@gmail.com>
33306
33307 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33308 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33309 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33310 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33311 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33312 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33313 * math/Makefile (libm-calls): Add s_isinf_ns.
33314 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33315 * math/multc3.c: Likewise.
33316 * math/s_casin.c: Likewise.
33317 * math/s_casinf.c: Likewise.
33318 * math/s_casinl.c: Likewise.
33319 * math/s_ccos.c: Likewise.
33320 * math/s_ccosf.c: Likewise.
33321 * math/s_ccosl.c: Likewise.
33322 * math/s_ctan.c: Likewise.
33323 * math/s_ctanf.c: Likewise.
33324 * math/s_ctanh.c: Likewise.
33325 * math/s_ctanhf.c: Likewise.
33326 * math/s_ctanhl.c: Likewise.
33327 * math/s_ctanl.c: Likewise.
33328 * math/w_fmod.c: Likewise.
33329 * math/w_fmodf.c: Likewise.
33330 * math/w_fmodl.c: Likewise.
33331 * math/w_remainder.c: Likewise.
33332 * math/w_remainderf.c: Likewise.
33333 * math/w_remainderl.c: Likewise.
33334 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33335 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33336 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33337 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33338 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33339 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33340 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33341 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33342
33343 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33344 of the number.
33345 * stdio-common/printf_fphex.c: Likewise.
33346 * stdio-common/printf_size.c: Likewise.
33347
33348 * math/e_exp10.c: Include math_private.h using <...> not "...".
33349 * math/e_exp10f.c: Likewise.
33350 * math/e_exp10l.c: Likewise.
33351 * math/e_exp2l.c: Likewise.
33352 * math/e_j0l.c: Likewise.
33353 * math/e_j1l.c: Likewise.
33354 * math/e_jnl.c: Likewise.
33355 * math/e_lgammal_r.c: Likewise.
33356 * math/e_rem_pio2l.c: Likewise.
33357 * math/e_scalb.c: Likewise.
33358 * math/e_scalbf.c: Likewise.
33359 * math/e_scalbl.c: Likewise.
33360 * math/k_cosl.c: Likewise.
33361 * math/k_sinl.c: Likewise.
33362 * math/k_tanl.c: Likewise.
33363 * math/s_cacoshf.c: Likewise.
33364 * math/s_catan.c: Likewise.
33365 * math/s_catanf.c: Likewise.
33366 * math/s_catanh.c: Likewise.
33367 * math/s_catanhf.c: Likewise.
33368 * math/s_catanhl.c: Likewise.
33369 * math/s_catanl.c: Likewise.
33370 * math/s_ccosh.c: Likewise.
33371 * math/s_ccoshf.c: Likewise.
33372 * math/s_ccoshl.c: Likewise.
33373 * math/s_cexp.c: Likewise.
33374 * math/s_cexpf.c: Likewise.
33375 * math/s_cexpl.c: Likewise.
33376 * math/s_clog.c: Likewise.
33377 * math/s_clog10.c: Likewise.
33378 * math/s_clog10f.c: Likewise.
33379 * math/s_clog10l.c: Likewise.
33380 * math/s_clogf.c: Likewise.
33381 * math/s_clogl.c: Likewise.
33382 * math/s_csin.c: Likewise.
33383 * math/s_csinf.c: Likewise.
33384 * math/s_csinh.c: Likewise.
33385 * math/s_csinhf.c: Likewise.
33386 * math/s_csinhl.c: Likewise.
33387 * math/s_csinl.c: Likewise.
33388 * math/s_csqrt.c: Likewise.
33389 * math/s_csqrtf.c: Likewise.
33390 * math/s_csqrtl.c: Likewise.
33391 * math/s_ctan.c: Likewise.
33392 * math/s_ctanf.c: Likewise.
33393 * math/s_ctanh.c: Likewise.
33394 * math/s_ctanhf.c: Likewise.
33395 * math/s_ctanhl.c: Likewise.
33396 * math/s_ctanl.c: Likewise.
33397 * math/s_ldexp.c: Likewise.
33398 * math/s_ldexpf.c: Likewise.
33399 * math/s_ldexpl.c: Likewise.
33400 * math/s_significand.c: Likewise.
33401 * math/s_significandf.c: Likewise.
33402 * math/s_significandl.c: Likewise.
33403 * math/w_acos.c: Likewise.
33404 * math/w_acosf.c: Likewise.
33405 * math/w_acosh.c: Likewise.
33406 * math/w_acoshf.c: Likewise.
33407 * math/w_acoshl.c: Likewise.
33408 * math/w_acosl.c: Likewise.
33409 * math/w_asin.c: Likewise.
33410 * math/w_asinf.c: Likewise.
33411 * math/w_asinl.c: Likewise.
33412 * math/w_atan2.c: Likewise.
33413 * math/w_atan2f.c: Likewise.
33414 * math/w_atan2l.c: Likewise.
33415 * math/w_atanh.c: Likewise.
33416 * math/w_atanhf.c: Likewise.
33417 * math/w_atanhl.c: Likewise.
33418 * math/w_cosh.c: Likewise.
33419 * math/w_coshf.c: Likewise.
33420 * math/w_coshl.c: Likewise.
33421 * math/w_dremf.c: Likewise.
33422 * math/w_exp10.c: Likewise.
33423 * math/w_exp10f.c: Likewise.
33424 * math/w_exp10l.c: Likewise.
33425 * math/w_exp2.c: Likewise.
33426 * math/w_exp2f.c: Likewise.
33427 * math/w_fmod.c: Likewise.
33428 * math/w_fmodf.c: Likewise.
33429 * math/w_fmodl.c: Likewise.
33430 * math/w_hypot.c: Likewise.
33431 * math/w_hypotf.c: Likewise.
33432 * math/w_hypotl.c: Likewise.
33433 * math/w_j0.c: Likewise.
33434 * math/w_j0f.c: Likewise.
33435 * math/w_j0l.c: Likewise.
33436 * math/w_j1.c: Likewise.
33437 * math/w_j1f.c: Likewise.
33438 * math/w_j1l.c: Likewise.
33439 * math/w_jn.c: Likewise.
33440 * math/w_jnf.c: Likewise.
33441 * math/w_jnl.c: Likewise.
33442 * math/w_lgamma.c: Likewise.
33443 * math/w_lgamma_r.c: Likewise.
33444 * math/w_lgammaf.c: Likewise.
33445 * math/w_lgammaf_r.c: Likewise.
33446 * math/w_lgammal.c: Likewise.
33447 * math/w_lgammal_r.c: Likewise.
33448 * math/w_log.c: Likewise.
33449 * math/w_log10.c: Likewise.
33450 * math/w_log10f.c: Likewise.
33451 * math/w_log10l.c: Likewise.
33452 * math/w_log2.c: Likewise.
33453 * math/w_log2f.c: Likewise.
33454 * math/w_log2l.c: Likewise.
33455 * math/w_logf.c: Likewise.
33456 * math/w_logl.c: Likewise.
33457 * math/w_pow.c: Likewise.
33458 * math/w_powf.c: Likewise.
33459 * math/w_powl.c: Likewise.
33460 * math/w_remainder.c: Likewise.
33461 * math/w_remainderf.c: Likewise.
33462 * math/w_remainderl.c: Likewise.
33463 * math/w_scalb.c: Likewise.
33464 * math/w_scalbf.c: Likewise.
33465 * math/w_scalbl.c: Likewise.
33466 * math/w_sinh.c: Likewise.
33467 * math/w_sinhf.c: Likewise.
33468 * math/w_sinhl.c: Likewise.
33469 * math/w_sqrt.c: Likewise.
33470 * math/w_sqrtf.c: Likewise.
33471 * math/w_sqrtl.c: Likewise.
33472 * math/w_tgamma.c: Likewise.
33473 * math/w_tgammaf.c: Likewise.
33474 * math/w_tgammal.c: Likewise.
33475
33476 * po/ja.po: Update from translation team.
33477
33478 2011-09-29 Andreas Jaeger <aj@suse.de>
33479
33480 [BZ #13179]
33481 * sunrpc/netname.c (netname2host): Fix logic.
33482
33483 [BZ #6779]
33484 [BZ #6783]
33485 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33486 correctly.
33487 * math/w_remainder.c (__remainder): Likewise.
33488 * math/w_remainderf.c (__remainderf): Likewise.
33489 * math/libm-test.inc (remainder_test): Add test cases.
33490
33491 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33492
33493 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33494 sdiv_qrnnd.
33495
33496 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33497
33498 * string/test-memcmp.c: Avoid unncessary #defines.
33499 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33500
33501 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33502
33503 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33504 Use new sse2 version for core i3 - i7 as it's faster
33505 than sse42 version.
33506 (bit_Prefer_PMINUB_for_stringop): New.
33507 * sysdeps/x86_64/rawmemchr.S: Update.
33508 Replace with faster SSE2 version.
33509 * sysdeps/x86_64/memrchr.S: New file.
33510 * sysdeps/x86_64/memchr.S: Update.
33511 Replace with faster SSE2 version.
33512
33513 2011-09-12 Marek Polacek <mpolacek@redhat.com>
33514
33515 * elf/dl-load.c (lose): Add cast to avoid warning.
33516
33517 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33518
33519 * po/ca.po: Update from translation team.
33520
33521 * inet/getnetgrent_r.c: Hook up nscd.
33522 * nscd/Makefile (routines): Add nscd_netgroup.
33523 (nscd-modules): Add netgroupcache.
33524 (CFLAGS-netgroupcache.c): Define.
33525 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33526 (cache_search): Add const to second parameter.
33527 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33528 INNETGR.
33529 (dbs): Add netgrdb entry.
33530 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33531 (verify_persistent_db): Handle netgrdb.
33532 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33533 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33534 GETFDNETGR.
33535 (netgroup_response_header): Define.
33536 (innetgroup_response_header): Define.
33537 (datahead): Add netgroup_response_header and innetgroup_response_header
33538 elements.
33539 * nscd/nscd.conf: Add entries for netgroup cache.
33540 * nscd/nscd.h (dbtype): Add netgrdb.
33541 (_PATH_NSCD_NETGROUP_DB): Define.
33542 (netgroup_iov_disabled): Declare.
33543 (xmalloc, xcalloc, xrealloc): Move declarations here.
33544 (cache_search): Adjust prototype.
33545 Add netgroup-related prototypes.
33546 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33547 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33548 (__nscd_innetgr): Declare.
33549 * nscd/selinux.c (perms): Use access_vector_t as element type and
33550 add netgroup-related initializers.
33551 * nscd/netgroupcache.c: New file.
33552 * nscd/nscd_netgroup.c: New file.
33553 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33554 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33555 For four parameters use innetgr.
33556 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33557 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33558 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33559 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33560
33561 * nscd/connections.c (register_traced_file): Don't register file
33562 for disabled databases.
33563
33564 2011-10-06 Ulrich Drepper <drepper@gmail.com>
33565
33566 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33567
33568 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33569 from tree and freeing node.
33570
33571 2011-09-25 Jiri Olsa <jolsa@redhat.com>
33572
33573 * nss/nsswitch.c (__nss_database_lookup): Handle
33574 nss_parse_service_list out of memory case.
33575
33576 2011-09-15 Jiri Olsa <jolsa@redhat.com>
33577
33578 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33579 out of memory case.
33580
33581 2011-10-04 Andreas Schwab <schwab@redhat.com>
33582
33583 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33584 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33585 pass it down.
33586 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33587 elf_machine_rela, elf_machine_lazy_rel.
33588 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33589 (ELF_DYNAMIC_DO_REL): Likewise.
33590 (ELF_DYNAMIC_DO_RELA): Likewise.
33591 (ELF_DYNAMIC_RELOCATE): Likewise.
33592 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33593 to ELF_DYNAMIC_DO_REL.
33594 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33595 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33596 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33597 elf_machine_rela.
33598 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33599 skip_ifunc, don't call ifunc function if non-zero.
33600 (elf_machine_rela): Likewise.
33601 (elf_machine_lazy_rel): Likewise.
33602 (elf_machine_lazy_rela): Likewise.
33603 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33604 (elf_machine_lazy_rel): Likewise.
33605 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33606 Likewise.
33607 (elf_machine_lazy_rel): Likewise.
33608 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33609 Likewise.
33610 (elf_machine_lazy_rel): Likewise.
33611 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33612 (elf_machine_lazy_rel): Likewise.
33613 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33614 (elf_machine_lazy_rel): Likewise.
33615 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33616 (elf_machine_lazy_rel): Likewise.
33617 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33618 (elf_machine_lazy_rel): Likewise.
33619 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33620 (elf_machine_lazy_rel): Likewise.
33621 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33622 (elf_machine_lazy_rel): Likewise.
33623
33624 2011-09-28 Ulrich Drepper <drepper@gmail.com>
33625
33626 * nss/nss_files/files-init.c (_nss_files_init): Use static
33627 initialization for all the *_traced_file variables.
33628
33629 2011-09-28 Andreas Schwab <schwab@redhat.com>
33630
33631 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33632
33633 2011-09-27 Roland McGrath <roland@hack.frob.com>
33634
33635 [BZ #13226]
33636 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33637
33638 2011-09-27 Andreas Schwab <schwab@redhat.com>
33639
33640 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33641 Reread the line before reparsing it.
33642
33643 2011-09-26 Andreas Schwab <schwab@redhat.com>
33644
33645 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33646
33647 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33648 Maxim Kuvyrkov <maxim@codesourcery.com>
33649 Joseph Myers <joseph@codesourcery.com>
33650
33651 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33652 if needed for __stack_chk_guard.
33653
33654 2011-09-19 Roland McGrath <roland@hack.frob.com>
33655
33656 * sysdeps/posix/spawni.c (script_execute): Always define it.
33657 It will be optimized away if unused.
33658 (maybe_script_execute): New function.
33659 (__spawni): Call it.
33660
33661 * Makerules: Don't include tls.make.
33662 (config-tls): Always set to thread.
33663 * tls.make.c: File removed.
33664
33665 2011-09-19 Mike Frysinger <vapier@gentoo.org>
33666
33667 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33668 * config.make.in (CPPFLAGS-config): New substituted variable.
33669
33670 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33671
33672 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33673
33674 [BZ #13192]
33675 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33676 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33677
33678 2011-09-15 Roland McGrath <roland@hack.frob.com>
33679
33680 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33681 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33682 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33683 (CALL_FAIL): Likewise.
33684 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33685 (CALL_FAIL): Macro removed.
33686 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33687
33688 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33689
33690 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33691 for __FINITE_MATH_ONLY__ == 1.
33692
33693 2011-09-15 Andreas Schwab <schwab@redhat.com>
33694
33695 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33696 __ieee754_sqrt instead of sqrt.
33697 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33698 __ieee754_sqrtf instead of sqrtf.
33699 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33700 __floorf instead of floorf.
33701 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33702 __floorf, __truncf instead of floorf, truncf.
33703
33704 2011-09-14 Ulrich Drepper <drepper@gmail.com>
33705
33706 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33707
33708 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33709 __extern_always_inline.
33710 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33711 32-bit.
33712
33713 2011-09-14 Andreas Schwab <schwab@redhat.com>
33714
33715 * elf/rtld.c (dl_main): Also relocate in dependency order when
33716 doing symbol dependency testing.
33717
33718 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33719
33720 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33721 Always define `refsym'.
33722
33723 2011-09-13 Andreas Schwab <schwab@redhat.com>
33724
33725 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33726 (__FD_ELT): Renamed from __FDELT.
33727 * misc/bits/select2.h (__FD_ELT): Likewise.
33728 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33729 __FD_MASK instead of __FDELT, __FDMASK.
33730 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33731 Likewise.
33732 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33733 Likewise.
33734
33735 * elf/Makefile (gen-ldd): Fix pattern.
33736
33737 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33738 (init_tls): Likewise.
33739
33740 2011-09-12 Ulrich Drepper <drepper@gmail.com>
33741
33742 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33743
33744 2011-09-12 Andreas Schwab <schwab@redhat.com>
33745
33746 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33747 `struct cmsghdr *' instead of `void *'.
33748 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33749 Likewise.
33750
33751 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33752
33753 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33754 if non-absolute.
33755 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33756 ldd_rewrite_script.
33757
33758 2011-09-11 Ulrich Drepper <drepper@gmail.com>
33759
33760 * configure.in: Remove --with-tls option.
33761 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33762 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33763 out in case it is missing.
33764 * sysdeps/ia64/elf/configure.in: Likewise.
33765 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33766 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33767 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33768 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33769 * sysdeps/sh/elf/configure.in: Likewise.
33770 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33771 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33772 * sysdeps/x86_64/elf/configure.in: Likewise.
33773 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33774 * sysdeps/mach/hurd/tls.h: Likewise.
33775
33776 [BZ #13067]
33777 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33778
33779 [BZ #13090]
33780 * configure.in: Fix use of AC_INIT.
33781
33782 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33783
33784 2011-09-10 Ulrich Drepper <drepper@gmail.com>
33785
33786 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33787 __set_errno.
33788 * malloc/hooks.c: Likewise.
33789
33790 [BZ #11929]
33791 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33792 variables statically.
33793 (narenas): Initialize.
33794 (list_lock): Initialize.
33795 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33796 initializtion of main_arena and list_lock. Small cleanups.
33797 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33798 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33799 Add initializers to main_arena and mp_.
33800 (malloc_state): Remove pagesize member. Change all users to use
33801 GLRO(dl_pagesize).
33802
33803 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33804 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33805 is always initialized.
33806
33807 * malloc/malloc.c: Removed unused configurations and dead code.
33808 * malloc/arena.c: Likewise.
33809 * malloc/hooks.c: Likewise.
33810 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33811
33812 * include/tls.h: Removed. USE___THREAD must always be defined.
33813 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33814 * elf/dl-libc.c: Likewise.
33815 * elf/dl-tsd.c: Likewise.
33816 * include/errno.h: Likewise.
33817 * include/netdb.h: Likewise.
33818 * include/resolv.h: Likewise.
33819 * inet/herrno-loc.c: Likewise.
33820 * inet/herrno.c: Likewise.
33821 * malloc/arena.c: Likewise.
33822 * malloc/hooks.c: Likewise.
33823 * malloc/malloc.c: Likewise.
33824 * resolv/res-state.c: Likewise.
33825 * resolv/res_libc.c: Likewise.
33826 * sysdeps/i386/dl-machine.h: Likewise.
33827 * sysdeps/ia64/dl-machine.h: Likewise.
33828 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33829 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33830 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33831 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33832 * sysdeps/sh/dl-machine.h: Likewise.
33833 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33834 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33835 * sysdeps/unix/i386/sysdep.S: Likewise.
33836 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33837 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33838 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33839 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33840 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33841 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33842 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33843 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33844 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33845 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33846 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33847 * sysdeps/x86_64/dl-machine.h: Likewise.
33848 * tls.make.c: Likewise.
33849
33850 * configure.in: Remove --with-__thread option. Make tests for
33851 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33852 tls_model attribute fail if no support is available. Remove
33853 USE_IN_LIBIO.
33854 * Makeconfig: Adjust for dropped configure option. All features are
33855 now mandatory.
33856 * Makerules: Likewise.
33857 * Versions.def: Likewise.
33858 * argp/argp-fmtstream.c: Likewise.
33859 * argp/argp-fmtstream.h: Likewise.
33860 * argp/argp-help.c: Likewise.
33861 * assert/assert.c: Likewise.
33862 * config.h.in: Likewise.
33863 * config.make.in: Likewise.
33864 * configure: Likewise.
33865 * configure.in: Likewise.
33866 * csu/Versions: Likewise.
33867 * csu/init.c: Likewise.
33868 * elf/tst-audit2.c: Likewise.
33869 * elf/tst-tls10.c: Likewise.
33870 * elf/tst-tls10.h: Likewise.
33871 * elf/tst-tls11.c: Likewise.
33872 * elf/tst-tls12.c: Likewise.
33873 * elf/tst-tls14.c: Likewise.
33874 * elf/tst-tlsmod11.c: Likewise.
33875 * elf/tst-tlsmod12.c: Likewise.
33876 * elf/tst-tlsmod13.c: Likewise.
33877 * elf/tst-tlsmod13a.c: Likewise.
33878 * elf/tst-tlsmod14a.c: Likewise.
33879 * elf/tst-tlsmod15b.c: Likewise.
33880 * elf/tst-tlsmod16a.c: Likewise.
33881 * elf/tst-tlsmod16b.c: Likewise.
33882 * elf/tst-tlsmod7.c: Likewise.
33883 * elf/tst-tlsmod8.c: Likewise.
33884 * elf/tst-tlsmod9.c: Likewise.
33885 * gmon/gmon.c: Likewise.
33886 * grp/fgetgrent_r.c: Likewise.
33887 * grp/putgrent.c: Likewise.
33888 * hurd/fopenport.c: Likewise.
33889 * include/libc-symbols.h: Likewise.
33890 * include/tls.h: Likewise.
33891 * intl/gettextP.h: Likewise.
33892 * intl/loadinfo.h: Likewise.
33893 * locale/global-locale.c: Likewise.
33894 * locale/localeinfo.h: Likewise.
33895 * mach/devstream.c: Likewise.
33896 * malloc/arena.c: Likewise.
33897 * malloc/set-freeres.c: Likewise.
33898 * misc/err.c: Likewise.
33899 * misc/getttyent.c: Likewise.
33900 * misc/mntent_r.c: Likewise.
33901 * posix/getopt.c: Likewise.
33902 * posix/wordexp.c: Likewise.
33903 * pwd/fgetpwent_r.c: Likewise.
33904 * resolv/Versions: Likewise.
33905 * resolv/res_hconf.c: Likewise.
33906 * shadow/fgetspent_r.c: Likewise.
33907 * shadow/putspent.c: Likewise.
33908 * stdio-common/printf_fphex.c: Likewise.
33909 * stdio-common/tmpfile.c: Likewise.
33910 * stdlib/abort.c: Likewise.
33911 * stdlib/fmtmsg.c: Likewise.
33912 * sunrpc/auth_unix.c: Likewise.
33913 * sunrpc/clnt_perr.c: Likewise.
33914 * sunrpc/clnt_tcp.c: Likewise.
33915 * sunrpc/clnt_udp.c: Likewise.
33916 * sunrpc/clnt_unix.c: Likewise.
33917 * sunrpc/openchild.c: Likewise.
33918 * sunrpc/svc_simple.c: Likewise.
33919 * sunrpc/svc_tcp.c: Likewise.
33920 * sunrpc/svc_udp.c: Likewise.
33921 * sunrpc/svc_unix.c: Likewise.
33922 * sunrpc/xdr.c: Likewise.
33923 * sunrpc/xdr_array.c: Likewise.
33924 * sunrpc/xdr_rec.c: Likewise.
33925 * sunrpc/xdr_ref.c: Likewise.
33926 * sunrpc/xdr_stdio.c: Likewise.
33927
33928 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33929
33930 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33931
33932 2011-07-03 Andreas Jaeger <aj@suse.de>
33933
33934 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33935 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33936 regenerate with gen-libm-tests.pl.
33937
33938 2010-05-12 Petr Baudis <pasky@suse.cz>
33939
33940 [BZ #11589]
33941 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33942 around j0() zero points by switching to j1().
33943 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33944 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33945 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33946 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33947
33948 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33949
33950 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33951 instead of 0.
33952 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33953 instead of 0.
33954 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33955 Patch in part by Pavel Roskin <proski@gnu.org>.
33956
33957 [BZ #13138]
33958 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33959 realloc.
33960 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33961 Free memory block if necessary.
33962
33963 [BZ #12847]
33964 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33965 be NULL. Don't lock in this case.
33966
33967 2011-09-09 Roland McGrath <roland@hack.frob.com>
33968
33969 * elf/elf.h (ELFOSABI_GNU): New macro.
33970 (ELFOSABI_LINUX): Define to that.
33971
33972 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33973
33974 * string/strncat.c (strncat): Undef the symbol in case it has been
33975 defined in bits/string.h.
33976
33977 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33978
33979 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33980
33981 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33982 link map.
33983
33984 2011-08-17 Andreas Jaeger <aj@suse.de>
33985
33986 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33987
33988 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33989 Ian Lance Taylor <iant@google.com>
33990
33991 * math/libm-test.inc (lround_test): New testcase.
33992 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33993
33994 2011-09-08 Ulrich Drepper <drepper@gmail.com>
33995
33996 * Makefile: Remove support for automatic cvs check-ins.
33997 * Makerules: Likewise.
33998 * config.make.in: Likewise.
33999 * configure.in: Likewise.
34000 * intl/Makefile: Likewise.
34001 * locale/Makefile: Likewise.
34002 * po/Makefile: Likewise.
34003 * posix/Makefile: Likewise.
34004 * sysdeps/gnu/Makefile: Likewise.
34005 * sysdeps/mach/hurd/Makefile: Likewise.
34006 * sysdeps/sparc/sparc32/Makefile: Likewise.
34007
34008 [BZ #13118]
34009 * posix/Makefile (bug-regex32-ENV): Define.
34010 Patch by John Stanley <jpsinthemix@verizon.net>.
34011
34012 * misc/Makefile (headers): Add bits/select2.h.
34013 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34014 * misc/bits/select2.h: New file.
34015 * include/bits/select2.h: New file.
34016 * debug/Makefile (routines): Add fdelt_chk.
34017 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34018 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34019 FD_ISSET.
34020 * debug/fdelt_chk.c: New file.
34021
34022 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34023 * wcsmbs/test-wmemcmp.c: Likewise.
34024 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34025 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34026
34027 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34028
34029 * string/Makefile (strop-tests): Add memcmp.
34030 * string/test-wmemcmp.c: New file.
34031 * string/test-memcmp.c: Add wmemcmp support.
34032
34033 2011-09-08 Roland McGrath <roland@hack.frob.com>
34034
34035 [BZ #13153]
34036 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34037 2011-07-19 change.
34038
34039 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34040 garbage value in a __mach_port_mod_refs call in the cases of the
34041 task-self and thread-self ports.
34042
34043 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34044
34045 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34046
34047 2011-09-08 Andreas Schwab <schwab@redhat.com>
34048
34049 * elf/dl-load.c (lose): Check for non-null L.
34050
34051 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34052
34053 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34054
34055 * elf/dl-libc.c (dlerror_run): Pass back error code from
34056 dl_catch_error.
34057
34058 [BZ #13123]
34059 * elf/dl-load.c (lose): Free l_origin if it is valid.
34060
34061 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34062 names.
34063 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34064 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34065 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34066 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34067 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34068 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34069
34070 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34071
34072 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34073 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34074 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34075 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34076 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34077 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34078 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34079 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34080 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34081 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34082
34083 2011-08-15 Alan Modra <amodra@gmail.com>
34084
34085 [BZ #13092]
34086 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34087 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34088 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34089 ppc_mcount to static-only-routines.
34090 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34091 __mcount_internal.
34092 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34093 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34094
34095 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34096
34097 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34098 for finite and infinity parameters.
34099
34100 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34101
34102 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34103 and add nop instructions for throughput optimization.
34104 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34105
34106 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34107
34108 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34109 aligned copy for power7 with vector-scalar instructions.
34110 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34111
34112 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34113
34114 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34115 AVX check.
34116
34117 2011-09-07 Andreas Schwab <schwab@redhat.com>
34118
34119 [BZ #13144]
34120 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34121 last change.
34122
34123 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34124
34125 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34126 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34127 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34128 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34129 clock_gettime.
34130
34131 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34132
34133 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34134 Forgot to demangle the pointer.
34135
34136 * sysdeps/i386/sysdep.h: Define atom_text_section.
34137 * sysdeps/x86_64/sysdep.h: Likewise.
34138 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34139 section with atom_text_section.
34140 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34141 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34142 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34143 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34144 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34145
34146 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34147 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34148 already be defined. Change to take two parameters and don't assign
34149 result to variable. Adjust all users.
34150 Define INTERNAL_GETTIME if not already defined.
34151 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34152 call.
34153 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34154 HAVE_CLOCK_GETTIME_VSYSCALL.
34155 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34156
34157 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34158 gettimeofday vsyscall, just use time.
34159
34160 2011-09-06 Andreas Schwab <schwab@redhat.com>
34161
34162 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34163 <errno.h>.
34164
34165 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34166
34167 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34168 syscall on x86-64.
34169 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34170 syscall.
34171 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34172 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34173 syscall if possible.
34174
34175 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34176
34177 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34178 e_ident. Don't pass to find_mapsXX.
34179 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34180
34181 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34182
34183 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34184 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34185 * sysdeps/x86_64/multiarch/strchr.S: Update.
34186 Check bit_slow_BSF bit.
34187 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34188 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34189 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34190
34191 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34192
34193 [BZ #13134]
34194 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34195 before glibc 2.15.
34196 (tryshell): Define.
34197 (__spawni): Change last parameter to be flag. Test
34198 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34199 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34200 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34201 * posix/spawni.c: Likewise.
34202 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34203 * posix/spawnp.c: Likewise. Change normal version to use
34204 SPAWN_XFLAGS_USE_PATH.
34205 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34206 SPAWN_XFLAGS_TRY_SHELL.
34207
34208 [BZ #13150]
34209 * posix/glob.h: Remove gcc 1.x support.
34210
34211 [BZ #13068]
34212 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34213
34214 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34215
34216 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34217 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34218 strrchr-sse2-bsf
34219 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34220 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34221 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34222 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34223 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34224 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34225
34226 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34227
34228 * sysdeps/x86_64/wcscmp.S: New file.
34229
34230 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34231 wcscmp-c wcscmp-sse2
34232 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34233 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34234 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34235 * wcsmbs/wcscmp.c: Allow renaming.
34236
34237 2011-09-05 David S. Miller <davem@davemloft.net>
34238
34239 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34240 stack slot, rather than the struct return pointer slot.
34241 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34242 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34244 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34245
34246 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34247
34248 * po/ja.po: Update from translation team.
34249
34250 [BZ #13144]
34251 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34252 kernel in 64-bit binaries.
34253
34254 2011-09-01 David S. Miller <davem@davemloft.net>
34255
34256 * elf/elf.h (HWCAP_SPARC_*): Move to..
34257 * sysdeps/sparc/sysdep.h: this new file and add new values.
34258 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34259 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34260 _DL_HWCAP_COUNT to 24.
34261 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34262 entries.
34263 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34264 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34265 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34266 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34267 instead of magic constants.
34268 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34269
34270 2011-08-31 David S. Miller <davem@davemloft.net>
34271
34272 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34273 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34274 Reimplement to do errno handling inline.
34275 (SYSCALL_ERROR_HANDLER): New macro.
34276 (__SYSCALL_STRING): Do not do errno handling in asm.
34277 (__CLONE_SYSCALL_STRING): Delete.
34278 (__INTERNAL_SYSCALL_STRING): Delete.
34279 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34280 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34281 (PSEUDO): Reimplement to do errno handling inline.
34282 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34283 (SYSCALL_ERROR_HANDLER): New macro.
34284 (__SYSCALL_STRING): Do not do errno handling in asm.
34285 (__CLONE_SYSCALL_STRING): Delete.
34286 (__INTERNAL_SYSCALL_STRING): Delete.
34287 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34288 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34289 i386.
34290 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34291 (inline_syscall*): Add 'err' argument.
34292 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34293 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34294 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34295 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34296
34297 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34298 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34299
34300 2011-08-30 Andreas Schwab <schwab@redhat.com>
34301
34302 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34303
34304 2011-08-29 Jiri Olsa <jolsa@redhat.com>
34305
34306 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34307 directive.
34308
34309 2011-08-24 David S. Miller <davem@davemloft.net>
34310
34311 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34312
34313 2011-08-24 Andreas Schwab <schwab@redhat.com>
34314
34315 * elf/Makefile: Add rules to build and run unload8 test.
34316 * elf/unload8.c: New file.
34317 * elf/unload8mod1.c: New file.
34318 * elf/unload8mod1x.c: New file.
34319 * elf/unload8mod2.c: New file.
34320 * elf/unload8mod3.c: New file.
34321
34322 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34323 it wasn't used.
34324
34325 2011-08-23 David S. Miller <davem@davemloft.net>
34326
34327 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34328 subtract stack bias.
34329 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34330 %sp not %fp in calculations.
34331 (_JMPBUF_UNWINDS_ADJ): Likewise.
34332
34333 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34334 (aio_suspend): Call it to force an exception region around the
34335 AIO_MISC_WAIT() invocation.
34336
34337 2011-08-23 Andreas Schwab <schwab@redhat.com>
34338
34339 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34340 backslash.
34341
34342 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34343
34344 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34345 protection macro.
34346 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34347 and <dl-machine.h>.
34348 (Elf64_FuncDesc): Remove.
34349
34350 2011-08-22 David S. Miller <davem@davemloft.net>
34351
34352 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34353 sigaltstack check, add missing cfi directives.
34354 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34355 missing cfi directives, and sigaltstack handling.
34356
34357 2011-08-16 Andreas Schwab <schwab@redhat.com>
34358
34359 [BZ #11724]
34360 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34361 object is seen twice.
34362 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34363
34364 * elf/Makefile (distribute): Add tst-initorder2.c.
34365 (tests): Add tst-initorder2.
34366 (modules-names): Add tst-initorder2a tst-initorder2b
34367 tst-initorder2c tst-initorder2d. Add rules to build them.
34368 ($(objpfx)tst-initorder2.out): New rule.
34369 * elf/tst-initorder2.c: New file.
34370 * elf/tst-initorder2.exp: New file.
34371
34372 2011-08-22 Andreas Schwab <schwab@redhat.com>
34373
34374 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34375
34376 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34377 dependencies back to end of function.
34378
34379 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34380 $(elfobjdir)/ld.so.
34381
34382 2011-08-21 Ulrich Drepper <drepper@gmail.com>
34383
34384 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34385 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34386 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34387 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34388 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34389 of __vdso_gettimeofday.
34390 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34391 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34392 attribute_hidden.
34393 (_libc_vdso_platform_setup): Remove initialization of
34394 __vdso_gettimeofday and __vdso_time.
34395
34396 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34397
34398 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34399 and fgetc_unlocked.
34400 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34401 getc_unlocked.
34402
34403 * elf/dl-open.c (add_to_global): Report additions to the global scope
34404 for LD_DEBUG=scopes.
34405 (dl_open_worker): Also print scope of newly loaded dependencies.
34406 (_dl_show_scope): Indicate if there is no scope.
34407
34408 [BZ #13114]
34409 * stdio-common/Makefile (tests): Add bug24.
34410 * stdio-common/bug24.c: New file.
34411
34412 2011-08-19 Andreas Jaeger <aj@suse.de>
34413
34414 [BZ #13114]
34415 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34416 non-existant file when using close-on-exec mode.
34417
34418 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34419
34420 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34421 the very first instruction.
34422
34423 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34424 the CFI state in the end.
34425 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34426 inclusion of dl-trampoline.h.
34427 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34428
34429 2011-08-19 Andreas Schwab <schwab@redhat.com>
34430
34431 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34432 expectations for long double.
34433
34434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34435 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34436
34437 2011-08-14 David S. Miller <davem@davemloft.net>
34438
34439 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34440 artificual limit depends upon the system page size.
34441
34442 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34443
34444 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34445 * resolv/Makefile: Define CFLAGS-libresolv.
34446
34447 2011-08-17 Andreas Schwab <schwab@redhat.com>
34448
34449 * nss/makedb.c (compute_tables): Make variables used in nested
34450 function static.
34451
34452 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34453
34454 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34455 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34456 if buffer was too small.
34457
34458 * elf/pldd.c (main): Attach to all threads in the process.
34459 Rewrite /proc handling to use *at functions.
34460
34461 2011-08-16 Ulrich Drepper <drepper@gmail.com>
34462
34463 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34464 specifies first scope to show.
34465 (dl_open_worker): Update callers. Move printing scope of new
34466 object to before the relocation.
34467 * elf/rtld.c (dl_main): Update _dl_show_scope call.
34468 * sysdeps/generic/ldsodefs.h: Update declaration.
34469
34470 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34471 string for the scope number.
34472
34473 2011-08-14 Ulrich Drepper <drepper@gmail.com>
34474
34475 * nscd/servicescache.c (cache_addserv): Make sure written is always
34476 initialized.
34477
34478 2011-08-14 Roland McGrath <roland@hack.frob.com>
34479
34480 * sysdeps/i386/i486/bits/atomic.h
34481 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34482 statement expression, so as to suppress "set but not used" warning.
34483 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34484
34485 * string/strncat.c (STRNCAT): Use prototype definition.
34486
34487 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34488 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34489 -Iprograms here.
34490 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34491 (localedef-modules): Add localedef.
34492 (locale-modules): Add locale.
34493
34494 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34495 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34496 to avoid a warning.
34497
34498 2011-08-14 David S. Miller <davem@davemloft.net>
34499
34500 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34501 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34502
34503 2011-08-13 Ulrich Drepper <drepper@gmail.com>
34504
34505 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34506 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34507 * elf/rtld.c (dl_main): Set l_name of vDSO.
34508 Call _dl_show_scope when DL_DEBUG_SCOPES.
34509 (process_dl_debug): Recognize scopes flag and also set it for all.
34510 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34511 Declare _dl_show_scope.
34512
34513 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34514 (do_dlopen): Pass caller_dlopen to dl_open.
34515 (__libc_dlopen_mode): Initialize caller_dlopen.
34516
34517 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34518 of libc. Make tolower call locale-independent. Optimize a bit by
34519 using isdigit instead of isalnum.
34520 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34521
34522 2011-08-12 Ulrich Drepper <drepper@gmail.com>
34523
34524 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34525 was a dependency or dynamically loaded.
34526
34527 2011-08-11 Ulrich Drepper <drepper@gmail.com>
34528
34529 * intl/l10nflist.c: Allow architecture-specific pop function.
34530 * sysdeps/x86_64/l10nflist.c: New file.
34531
34532 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34533 classification.
34534
34535 2011-08-10 Andreas Schwab <schwab@redhat.com>
34536
34537 * include/dirent.h: Add libc_hidden_proto for scandirat and
34538 scandirat64. Don't declare __scandirat64.
34539 * dirent/scandirat.c: Add libc_hidden_def.
34540 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34541 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34542
34543 2011-08-10 David S. Miller <davem@davemloft.net>
34544
34545 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34546 enum.
34547 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34548 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34549 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34550
34551 2011-08-09 Ulrich Drepper <drepper@gmail.com>
34552
34553 * Versions.def [libc]: Add GLIBC_2.15.
34554 * dirent/Makefile (routines): Add scandirat and scandirat64.
34555 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34556 GLIBC_2.15.
34557 * dirent/dirent.h: Declare scandirat and scandirat64.
34558 * dirent/scandirat.c: New file.
34559 * dirent/scandirat64.c: New file.
34560 * sysdeps/wordsize-64/scandirat.c: New file.
34561 * sysdeps/wordsize-64/scandirat64.c: New file.
34562 * dirent/opendir.c: Define opendirat.
34563 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34564 using scandirat.
34565 * dirent/scandir64.c: Adjust for scandir.c change.
34566 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34567 __scandirat64, and __scandir_cancel_handler.
34568 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34569 additional parameter and use openat instead of open (outside of ld.so).
34570 Add new __opendir as wrapper around __opendirat.
34571 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34572 here without requiring old scandirat implementation.
34573
34574 2011-08-08 Ulrich Drepper <drepper@gmail.com>
34575
34576 * dirent/scandir.c (cancel_handler): Renamed to
34577 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34578 defined. Adjust users.
34579 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34580 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34581
34582 2011-08-04 Ulrich Drepper <drepper@gmail.com>
34583
34584 * string/test-string.h (IMPL): Use __STRING to expand name and then
34585 stringify it.
34586
34587 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34588 of cleanups.
34589
34590 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34591
34592 * string/Makefile: Update.
34593 (strop-tests): Append strncat.
34594 * string/test-wcscmp.c: New file.
34595 New comprehensive test for wcscmp.
34596 * string/test-strcmp.c: Update.
34597 (WIDE): New define.
34598
34599 2011-07-22 Andreas Schwab <schwab@redhat.com>
34600
34601 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34602 line.
34603
34604 2011-07-26 Andreas Schwab <schwab@redhat.com>
34605
34606 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34607 encoding to ACE if AI_IDN.
34608
34609 2011-08-01 Jakub Jelinek <jakub@redhat.com>
34610
34611 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34612 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34613
34614 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34615
34616 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34617 Fix overflow bug in strncat.
34618 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34619
34620 * string/test-strncat.c: Update.
34621 Add new tests for checking overflow bugs.
34622
34623 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34624
34625 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34626 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34627 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34628 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34629 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34630 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34631 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34632 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34633 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34634
34635 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34636 (USE_AS_STRCAT): Define.
34637 Add strcat and strncat support.
34638 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34639
34640 2011-07-25 Andreas Schwab <schwab@redhat.com>
34641
34642 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34643 __n bigger than INT_MAX+1.
34644 (__strncmp_g): Likewise.
34645
34646 2011-07-23 Ulrich Drepper <drepper@gmail.com>
34647
34648 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34649 * libio/stido.h: Likewise.
34650
34651 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34652 (AF_NFC): Define.
34653 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34654 (AF_NFC): Define.
34655
34656 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34657 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34658 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34659 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34660 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34661
34662 [BZ #13021]
34663 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34664 installed.
34665
34666 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34667 typo.
34668 (_dl_x86_64_save_sse): Likewise.
34669
34670 2011-07-22 Ulrich Drepper <drepper@gmail.com>
34671
34672 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34673 OSXSAVE.
34674 (_dl_x86_64_save_sse): Likewise.
34675
34676 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34677
34678 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34679
34680 2011-07-21 Andreas Schwab <schwab@redhat.com>
34681
34682 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34683 change.
34684 (_dl_x86_64_save_sse): Use correct AVX check.
34685
34686 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34687
34688 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34689 bug in strncpy/strncat.
34690 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34691
34692 2011-07-21 Ulrich Drepper <drepper@gmail.com>
34693
34694 * string/tester.c (test_strcat): Add tests for different alignments
34695 of source and destination.
34696 (test_strncat): Likewise.
34697
34698 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34699
34700 [BZ #12852]
34701 * posix/glob.c (glob): Check passed in values before using them in
34702 expressions to avoid some overflows.
34703 (glob_in_dir): Likewise.
34704
34705 [BZ #13007]
34706 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34707 check for AVX enablement so that we don't crash with old kernels and
34708 new hardware.
34709 * elf/tst-audit4.c: Add same checks here.
34710 * elf/tst-audit6.c: Likewise.
34711
34712 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34713
34714 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34715
34716 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34717
34718 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34719
34720 * po/cs.po: Update from translation team.
34721 * po/bg.po: Likewise.
34722
34723 2011-07-12 Marek Polacek <mpolacek@redhat.com>
34724
34725 * misc/sys/cdefs.h: Add support for const attribute.
34726 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34727 to gnu_dev_{major,minor,makedev} functions.
34728
34729 2011-07-20 Marek Polacek <mpolacek@redhat.com>
34730
34731 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34732
34733 2011-07-20 Andreas Schwab <schwab@redhat.com>
34734
34735 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34736 strlen results.
34737
34738 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34739
34740 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34741 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34742 register in order to avoid conflicts with the soft frame pointer
34743 being held in r11 when necessary.
34744 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34745 (INTERNAL_VSYSCALL_NCS): Likewise.
34746
34747 2011-07-14 Marek Polacek <mpolacek@redhat.com>
34748
34749 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34750 * elf/dl-fini.c (_dl_fini): Adjust caller.
34751 * elf/dl-close.c (_dl_close_worker): Likewise.
34752 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34753
34754 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34755
34756 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34757 "aux_cache->nlibs < 0".
34758
34759 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34760 in the reload-count case.
34761
34762 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34763
34764 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34765 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34766 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34767 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34768 * sysdeps/x86_64/multiarch/strcat.S: New file.
34769 * sysdeps/x86_64/multiarch/strncat.S: New file.
34770 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34771 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34772 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34773 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34774 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34775 (USE_AS_STRCAT): Define.
34776 Add strcat and strncat support.
34777 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34778 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34779 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34780 * string/strncat.c: Update.
34781 (USE_AS_STRNCAT): Define.
34782 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34783 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34784 and i7.
34785 * sysdeps/x86_64/multiarch/init-arch.h
34786 (bit_Prefer_PMINUB_for_stringop): New.
34787 (index_Prefer_PMINUB_for_stringop): Likewise.
34788 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34789 bit_Prefer_PMINUB_for_stringop.
34790
34791 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34792
34793 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34794 buffer64.
34795 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34796 of casting of buffer.
34797 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34798 buffer32 and buffer64.
34799 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34800 writes instead of casting of buffer.
34801 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34802 buffer32.
34803 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34804 casting of buffer.
34805
34806 2011-07-19 Andreas Schwab <schwab@redhat.com>
34807
34808 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34809
34810 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34811
34812 * nscd/nscd.c (termination_handler): Don't do anything for a database
34813 if it has not yet been initialized.
34814
34815 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34816
34817 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34818
34819 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34820
34821 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34822
34823 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34824
34825 * po/nl.po: Update from translation team.
34826 * po/sv.po: Likewise.
34827
34828 2011-07-16 Roland McGrath <roland@hack.frob.com>
34829
34830 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34831 now disallowed by GCC.
34832
34833 * configure.in (use-default-link): Default to yes if a test -shared
34834 link meets our qualifications.
34835 * configure: Regenerated.
34836
34837 * config.make.in (output-format): New variable.
34838 * configure.in: Check for ld --print-output-format support.
34839 * configure: Regenerated.
34840 * Makerules ($(common-objpfx)format.lds)
34841 [$(output-format) != unknown]: Just use $(output-format),
34842 instead of the linker-script munging.
34843
34844 2011-07-14 Roland McGrath <roland@hack.frob.com>
34845
34846 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34847 of $(common-objpfx)shlib.lds.
34848 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34849
34850 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34851 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34852
34853 * configure.in (-z relro check): Adjust test code to add a large
34854 writable data section after it.
34855 * configure: Regenerated.
34856
34857 2011-07-11 Roland McGrath <roland@hack.frob.com>
34858
34859 * configure.in (-z relro check): Fix test code to make the variable
34860 truly const.
34861 * configure: Regenerated.
34862
34863 2011-07-11 Ulrich Drepper <drepper@gmail.com>
34864
34865 * nscd/nscd.h (struct traced_file): Define.
34866 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34867 elements. Add traced_files.
34868 (inotify_fd): Declare.
34869 (register_traced_file): Declare.
34870 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34871 (inotify_fd): Export.
34872 (resolv_conf_descr): Remove.
34873 (nscd_init): Move inotify descriptor creation to main.
34874 Don't register files for notification here.
34875 (register_traced_file): New function.
34876 (invalidate_cache): Don't use reset_res to determine whether to call
34877 res_init, go through the list of registered files.
34878 (main_loop_poll): The inotify descriptors are now stored in the
34879 structures for the traced files.
34880 (main_loop_epoll): Likewise
34881 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34882 to __nss_disable_nscd.
34883 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34884 for a database anymore. Check the records for all the registered
34885 files instead.
34886 * nss/Makefile (libnss_files-routines): Add files-init.
34887 (libnss_db-routines): Add db-init.
34888 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34889 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34890 * nss/nss_db/db-init.c: New file.
34891 * nss/nss_files/files-init.c: New file.
34892 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34893 __nss_lookup_function.
34894 (__nss_lookup_function): Call nss_load_library.
34895 (nss_load_all_libraries): New function.
34896 (__nss_disable_nscd): Take parameter with callback function for files
34897 to register. Set is_nscd. Load all the DSOs for the NSS modules
34898 used for the cached services.
34899 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34900 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34901 options for features to all the files in nscd.
34902
34903 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34904
34905 2011-07-10 Roland McGrath <roland@hack.frob.com>
34906
34907 * csu/elf-init.c (__libc_csu_init): Comment typo.
34908
34909 2011-07-09 Ulrich Drepper <drepper@gmail.com>
34910
34911 * po/pl.po: Update from translation team.
34912 * po/ja.po: Likewise.
34913 * po/ru.po: Likewise.
34914 * po/ko.po: Likewise.
34915 * po/fr.po: Likewise.
34916
34917 2011-07-09 Roland McGrath <roland@hack.frob.com>
34918
34919 * configure.in (.ctors/.dtors header and trailer check):
34920 Use an empirical test on a built program.
34921 * configure: Regenerated.
34922
34923 * configure.in (-z relro check): Use an empirical test on a built DSO.
34924 Detect, but do not require, on ia64.
34925 * configure: Regenerated.
34926
34927 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34928 Update tests that use readelf to use $READELF instead.
34929 * configure: Regenerated.
34930
34931 2011-07-08 Ulrich Drepper <drepper@gmail.com>
34932
34933 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34934 if the result is not used.
34935
34936 2011-07-05 Andreas Jaeger <aj@suse.de>
34937
34938 [BZ#9696]
34939 * stdlib/tst-strtod.c: Add testcase.
34940
34941 2011-07-07 Ulrich Drepper <drepper@gmail.com>
34942
34943 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34944 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34945 The latter has a higher limit. Take additional parameter to pass to
34946 the new function.
34947 (__pathconf): Pass file to __statfs_link_max.
34948 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34949 __statfs_link_max.
34950 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34951 __statfs_link_max.
34952
34953 [BZ #12868]
34954 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34955 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34956 Handle Lustre.
34957 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34958 (__statfs_filesize_max): Likewise.
34959 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34960
34961 2011-07-05 Andreas Jaeger <aj@suse.de>
34962
34963 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34964
34965 2011-07-06 Marek Polacek <mpolacek@redhat.com>
34966
34967 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34968 `status' variable.
34969 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34970 Likewise.
34971
34972 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34973
34974 * Makefile (strop-tests): Add strncat.
34975 * string/test-strncat.c: New file.
34976
34977 2011-06-30 Marek Polacek <mpolacek@redhat.com>
34978
34979 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34980
34981 2011-06-21 Andreas Jaeger <aj@suse.de>
34982
34983 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34984 Copy rule from iconvdata/Makefile.
34985
34986 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34987
34988 [BZ #12922]
34989 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34990 but no long options are defined, just return 'W'.
34991
34992 2011-06-22 Marek Polacek <mpolacek@redhat.com>
34993
34994 [BZ #9696]
34995 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34996
34997 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34998
34999 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35000 netgroups to read.
35001 (innetgr): Likewise.
35002
35003 2011-07-05 Roland McGrath <roland@hack.frob.com>
35004
35005 * config.make.in (install_root): Default to $(DESTDIR).
35006
35007 2011-07-05 Ulrich Drepper <drepper@gmail.com>
35008
35009 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35010
35011 2011-07-02 Roland McGrath <roland@hack.frob.com>
35012
35013 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35014
35015 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35016 containing directory rather than embedding absolute directory names.
35017
35018 * scripts/check-local-headers.sh: Rewritten using awk.
35019 Match by word, not by line. Print error messages for matches.
35020 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35021
35022 * Makerules [shlib-lds-flags empty]:
35023 ($(common-objpfx)libc_pic.opts): New target.
35024 ($(common-objpfx)libc_pic.os.clean): New target.
35025 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35026
35027 * config.make.in (OBJCOPY): New variable.
35028 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35029 * configure: Regenerated.
35030
35031 * config.make.in (use-default-link): New variable.
35032 * configure.in (use_default_link): Grok --with-default-link to set it.
35033 * configure: Regenerated.
35034 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35035 (shlib-lds, shlib-lds-flags): Define to empty.
35036
35037 * Makerules (shlib-lds): New variable.
35038 (shlib-lds-flags): New variable.
35039 (build-shlib, build-moduile, build-module-asneeded): Use it.
35040 ($(common-objpfx)libc.so): Use $(shlib-lds).
35041 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35042 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35043
35044 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35045 DT_FLAGS/DT_FLAGS_1 with zero flags.
35046
35047 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35048 linker script munging.
35049
35050 2011-07-02 Ulrich Drepper <drepper@gmail.com>
35051
35052 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35053 as 128-bit value.
35054 * crypt/sha512.c (sha512_process_block): Perform total addition using
35055 128-bit if possible.
35056 (__sha512_finish_ctx): Likewise.
35057 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35058 as 64-bit value.
35059 * crypt/sha256.c (SWAP64): Define.
35060 (sha256_process_block): Perform total addition using 64-bit if
35061 possible.
35062 (__sha256_finish_ctx): Likewise.
35063
35064 2011-07-01 Ulrich Drepper <drepper@gmail.com>
35065
35066 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35067 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35068 * nscd/hstcache.c (cache_addhst): Likewise.
35069 * nscd/grpcache.c (cache_addgr): Likewise.
35070 * nscd/aicache.c (addhstaiX): Likewise
35071 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35072
35073 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
35074
35075 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35076 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35077 * nscd/hstcache.c (cache_addhst): Likewise.
35078 * nscd/grpcache.c (cache_addgr): Likewise.
35079 * nscd/aicache.c (addhstaiX): Likewise
35080
35081 2011-07-01 Andreas Schwab <schwab@redhat.com>
35082
35083 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35084 domain only when needed.
35085
35086 2011-06-30 Andreas Schwab <schwab@redhat.com>
35087
35088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35089 is always restored.
35090
35091 2011-06-29 Ulrich Drepper <drepper@gmail.com>
35092
35093 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35094 are re-adding the entry.
35095 * nscd/servicescache.c (cache_addserv): Likewise.
35096
35097 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35098
35099 * sysdeps/generic/dl-irel.h: fix protection against multiple
35100 inclusions.
35101 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35102
35103 2011-06-28 Ulrich Drepper <drepper@gmail.com>
35104
35105 [BZ #12935]
35106 * malloc/memusage.sh: Fix quoting in message.
35107 * debug/xtrace.sh: Likewise.
35108
35109 * configure.in: Remove support for --experimental-malloc option, make
35110 it the default.
35111 * config.make.in: Likewise.
35112 * malloc/Makefile: Likewise.
35113
35114 2011-06-27 Andreas Schwab <schwab@redhat.com>
35115
35116 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35117 two-byte characters.
35118
35119 2011-06-27 Roland McGrath <roland@hack.frob.com>
35120
35121 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35122 AC_CACHE_CHECK invocation.
35123 * configure: Regenerated.
35124
35125 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35126
35127 2011-06-27 Ulrich Drepper <drepper@gmail.com>
35128
35129 [BZ #12350]
35130 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35131 bit from old_res_options.
35132
35133 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35134
35135 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35136 value type for setfct.
35137
35138 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35139
35140 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35141 __gettimeofday instead of gettimeofday.
35142
35143 2011-06-26 Ulrich Drepper <drepper@gmail.com>
35144
35145 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35146
35147 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35148
35149 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35150
35151 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35152 info.
35153
35154 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35155
35156 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35157 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35158 strcpy-sse2-unaligned strncpy-sse2-unaligned
35159 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35160 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35161 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35162 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35163 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35164 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35165 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35166 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35167 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35168 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35169 (STRCPY): Support SSE2 and SSSE3 versions.
35170
35171 2011-06-24 Ulrich Drepper <drepper@gmail.com>
35172
35173 [BZ #12874]
35174 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35175 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35176 kernels which artificially limit size of requests.
35177
35178 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35179
35180 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35181 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35182 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35183 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35184 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35185 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35186 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35187 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35188 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35189 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35190 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35191 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35192 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35193 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35194 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35196 Enable unaligned load optimization for Intel Core i3, i5 and i7
35197 processors.
35198 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35199 Define.
35200 (index_Fast_Unaligned_Load): Define.
35201 (HAS_FAST_UNALIGNED_LOAD): Define.
35202
35203 2011-06-23 Marek Polacek <mpolacek@redhat.com>
35204
35205 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35206
35207 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35208
35209 [BZ #12907]
35210 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35211 until it is clear that the information is realy needed.
35212 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35213
35214 2011-06-22 Andreas Schwab <schwab@redhat.com>
35215
35216 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35217
35218 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35219
35220 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35221 /sys/devices/system/cpu/online if it is usable.
35222
35223 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35224 reading the information from the /proc filesystem to once a second.
35225
35226 2011-06-21 Andreas Jaeger <aj@suse.de>
35227
35228 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35229 NULL after inclusion of kernel headers.
35230
35231 2011-06-21 Ulrich Drepper <drepper@gmail.com>
35232
35233 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35234 calls to internal_setent.
35235
35236 [BZ #12885]
35237 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35238 addresses using gethostbyname4_r ignore IPv4 addresses.
35239
35240 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35241 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35242
35243 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35244
35245 2011-06-20 David S. Miller <davem@davemloft.net>
35246
35247 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35248 inclusions.
35249 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35250
35251 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35252 (elf_irel): Use it.
35253 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35254 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35255 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35256 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35257 * sysdeps/x86_64/dl-irel.h: Likewise.
35258
35259 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35260 * elf/dl-sym.c: Likewise.
35261
35262 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35263
35264 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35265 need to dereference resplen2.
35266
35267 2011-06-14 Andreas Schwab <schwab@redhat.com>
35268
35269 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35270
35271 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35272
35273 * Makeconfig: Define vardbdir and inst_vardbdir.
35274 * nss/Makefile: Add rules to install db-Makefile.
35275
35276 * nss/nss_db/db-XXX.c: Cleanup.
35277
35278 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35279 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35280 GLIBC_PRIVATE.
35281 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35282 * nss/makedb.c: Implement -g option to specify that value strings
35283 are generated and should not be added to table iterated over for
35284 get*ent calls.
35285 * nss/nss_db/db-initgroups.c: New file.
35286
35287 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35288 interface.
35289
35290 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35291 (internal_getgrouplist): Adjust to name change.
35292 Update use_initgroups_entry if this is not the first call.
35293 * nss/databases.def: Add initgroups entry.
35294
35295 * nss/makedb.c (compute_tables): Check result of multiple hash table
35296 sizes to minimize maximum chain length.
35297
35298 2011-06-14 Ulrich Drepper <drepper@gmail.com>
35299
35300 * Versions.def: Add entry for libnss_db.
35301 * shlib-versions: Likewise.
35302 * nss/Makefile: Add rules to build libnss_db.
35303 * nss/Versions: Add libnss_db information. Organize libnss_files
35304 entries better.
35305 * nss/db-Makefile: Add gshadow support. Change rules for the new
35306 makedb progra. Some minor improvements to generate smaller files.
35307 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35308 here from...
35309 * nss/makedb.c: ...here.
35310 Improve database format to be smaller and require less memory at
35311 runtime.
35312 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35313 db anymore.
35314 * nss/nss_db/db-netgrp.c: Likewise.
35315 * nss/nss_db/db-open.c: Likewise.
35316 * nss/nss_files/flies-XXX.x: Adjust comments.
35317 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35318 * nss/nss_files/files-grp.c: Likewise.
35319 * nss/nss_files/files-hosts.c: Likewise.
35320 * nss/nss_files/files-network.c: Likewise.
35321 * nss/nss_files/files-proto.c: Likewise.
35322 * nss/nss_files/files-pwd.c: Likewise.
35323 * nss/nss_files/files-rpc.c: Likewise.
35324 * nss/nss_files/files-service.c: Likewise.
35325 * nss/nss_files/files-sgrp.c: Likewise.
35326 * nss/nss_files/files-spwd.c: Likewise.
35327 * nss/nss_db/db-alias.c: Removed.
35328 * nss/nss_db/dummy-db.h: Removed.
35329
35330 2011-06-02 Ulrich Drepper <drepper@gmail.com>
35331
35332 * nss/makedb.c: Rewritten to not use database library.
35333 * nss/Makefile: Update to build new makedb program.
35334
35335 2011-06-14 Andreas Jaeger <aj@suse.de>
35336
35337 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35338 memset declaration.
35339
35340 2011-06-10 Andreas Schwab <schwab@redhat.com>
35341
35342 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35343 tmpbuf.
35344
35345 2011-06-10 Roland McGrath <roland@hack.frob.com>
35346
35347 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35348 * elf/Makefile ($(objpfx)ld.so): Likewise.
35349
35350 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35351 Don't list ld.so twice in dependencies.
35352
35353 * posix/bug-regex31.c: Include <stdlib.h>.
35354
35355 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35356
35357 * nis/nss_compat/compat-spwd.c
35358 (getspent_next_nss_netgr): Remove unused variable.
35359 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35360
35361 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35362 nonmembers" output to use the right array.
35363
35364 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35365
35366 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35367
35368 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35369 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35370 * catgets/gencat.c (read_input_file): Likewise.
35371 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35372
35373 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35374 variable definition inside #if's controlling its use.
35375
35376 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35377
35378 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35379
35380 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35381
35382 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35383 unreachable code.
35384
35385 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35386
35387 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35388 * configure: Regenerated.
35389
35390 * Makerules: Revert last change.
35391 * elf/Makefile: Likewise.
35392
35393 2011-06-09 Roland McGrath <roland@hack.frob.com>
35394
35395 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35396 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35397 (reloc-link): Likewise.
35398
35399 2011-06-09 Ulrich Drepper <drepper@gmail.com>
35400
35401 * elf/Makefile: Add rules to build pldd.
35402 * elf/pldd.c: New file.
35403 * elf/pldd-xx.c: New file.
35404
35405 2011-06-07 Ulrich Drepper <drepper@gmail.com>
35406
35407 * version.h: Update for 2.15 development version.
35408
35409 2011-06-07 David S. Miller <davem@davemloft.net>
35410
35411 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35412 ifuncs.
35413 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35414 elf_machine_lazy_rel): Likewise.
35415 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35416 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35417 elf_machine_lazy_rel): Likewise.
35418 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35419 dl_hwcap via passed in argument.
35420 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35421 Likewise.
35422
35423 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35424
35425 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35426
35427 2011-06-06 Roland McGrath <roland@hack.frob.com>
35428
35429 [BZ #12849]
35430 * manual/fdl-1.1.texi: New file, verbatim from:
35431 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35432 * manual/lgpl-2.1.texi: New file, verbatim from:
35433 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35434 * manual/Makefile (licenses): New variable, list those new file names.
35435 (texis): Use it.
35436 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35437
35438 * manual/fdl.texi: File removed.
35439 * manual/lesser.texi: File removed.
35440 * manual/libc.texinfo (Copying, Documentation License):
35441 Use new @include file names, put @appendix directive before @include.
35442
35443 2011-06-04 Jakub Jelinek <jakub@redhat.com>
35444
35445 [BZ #12841]
35446 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35447 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35448 (mq_open): Add __NTH.
35449
35450 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35451
35452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35453 Assume Intel Core i3/i5/i7 processor if AVX is available.
35454
35455 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35456
35457 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35458 typo.
35459
35460 2011-05-31 Andreas Schwab <schwab@redhat.com>
35461
35462 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35463 memory. Use alloca_account. Fix memory leak when retrying.
35464
35465 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35466
35467 * version.h (RELEASE): Bump for 2.14 release.
35468 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35469
35470 * config.make.in (RANLIB): Remove entry.
35471
35472 2011-05-30 Ulrich Drepper <drepper@gmail.com>
35473
35474 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35475 (libc.pot): Work around missing support for .ksh extension in xgettext.
35476
35477 [BZ #12684]
35478 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35479 if both request failed.
35480 (send_dg): In case of server errors clear resplen or *resplen2.
35481
35482 [BZ #12454]
35483 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35484 when there are multiple maps.
35485 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35486 (_dl_fini): Remove test here.
35487
35488 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35489
35490 2011-05-29 Ulrich Drepper <drepper@gmail.com>
35491
35492 [BZ #12350]
35493 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35494 bit from old_res_options.
35495 (gaih_inet): Likewise.
35496
35497 [BZ #11099]
35498 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35499 as signed.
35500
35501 * resolv/res_init.c (res_setoptions): Make the code more compact.
35502
35503 [BZ #11558]
35504 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35505 set RES_USEVC.
35506
35507 [BZ #11634]
35508 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35509
35510 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35511
35512 [BZ #11781]
35513 * malloc/malloc.h: Declare malloc hook variables as volatile.
35514
35515 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35516 in last patch.
35517
35518 [BZ #11799]
35519 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35520 raise in the comment.
35521 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35522 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35523 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35524
35525 2011-05-28 Ulrich Drepper <drepper@gmail.com>
35526
35527 [BZ #12811]
35528 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35529 grow the buffers more if it already has to be sufficient.
35530 (build_wcs_upper_buffer): Likewise.
35531 * posix/regexec.c (check_matching): Likewise.
35532 (clean_state_log_if_needed): Likewise.
35533 (extend_buffers): Don't enlarge buffers beyond size of the input
35534 buffer.
35535 Patches mostly by Emil Wojak <emil@wojak.eu>.
35536 * posix/bug-regex32.c: New file.
35537 * posix/Makefile (tests): Add bug-regex32.
35538
35539 * locale/findlocale.c (_nl_find_locale): Return right away if
35540 _nl_explode_name failed.
35541 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35542
35543 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35544
35545 * debug/xtrace.sh: Unify messages.
35546 * malloc/memusage.sh: Likewise.
35547
35548 [BZ #12813]
35549 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35550 time symbol from vDSO. Substitute with vsyscall if not available.
35551 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35552 __vdso_time.
35553
35554 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35555 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35556 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35557 Add sendmmsg and internal_sendmmsg.
35558 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35559 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35560 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35561
35562 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35563 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35564 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35565
35566 2011-05-27 Ulrich Drepper <drepper@gmail.com>
35567
35568 [BZ #12813]
35569 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35570 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35571 available.
35572 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35573 __vdso_getcpu.
35574
35575 [BZ #12814]
35576 * iconvdata/Makefile (tests): Add bug-iconv9.
35577 * iconvdata/bug-iconv9.c: New file.
35578
35579 2011-05-27 Andreas Schwab <schwab@redhat.com>
35580
35581 [BZ #12814]
35582 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35583
35584 2011-05-25 Jakub Jelinek <jakub@redhat.com>
35585
35586 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35587 (struct user_regs_struct): Change intcs field back to cs.
35588
35589 2011-05-25 Ulrich Drepper <drepper@gmail.com>
35590
35591 * po/ja.po: Update from translation team.
35592
35593 2011-05-23 Ulrich Drepper <drepper@gmail.com>
35594
35595 [BZ #12795]
35596 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35597 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35598
35599 2011-05-20 Andreas Schwab <schwab@redhat.com>
35600
35601 * stdlib/longlong.h: Update from GCC.
35602
35603 2011-05-23 Andreas Schwab <schwab@redhat.com>
35604
35605 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35606 parameter name.
35607 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35608 Add parameter name.
35609 (__sysconf): Pass it down.
35610
35611 2011-05-22 Ulrich Drepper <drepper@gmail.com>
35612
35613 [BZ #12671]
35614 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35615 some situations.
35616 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35617 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35618 add in in __libc_use_alloca calls. Adjust callers.
35619 (glob): Use malloc in some situations.
35620
35621 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35622 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35623 pltexit.
35624
35625 2011-05-21 Ulrich Drepper <drepper@gmail.com>
35626
35627 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35628 and CLOCK_BOOTTIME_ALARM.
35629
35630 [BZ #12782]
35631 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35632 is returned.
35633
35634 * string/_strerror.c (__strerror_r): Print negative errors as signed
35635 numbers.
35636
35637 [BZ #12777]
35638 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35639 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35640 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35641
35642 * configure.in: Fix typo in redirection and correct removal of test
35643 files in two cases.
35644
35645 [BZ #12788]
35646 * locale/setlocale.c (new_composite_name): Fix test to check for
35647 identical name of all categories.
35648
35649 [BZ #12792]
35650 * libio/filedoalloc.c (local_isatty): New function.
35651 (_IO_file_doallocate): Use local_isatty.
35652 * stdio-common/perror.c (perror): In case a new stream is used
35653 forward the stream error.
35654 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35655 error flag.
35656
35657 2011-05-20 Ulrich Drepper <drepper@gmail.com>
35658
35659 [BZ #11869]
35660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35661 alloca.
35662 * include/alloca.h (extend_alloca_account): Define.
35663
35664 [BZ #11857]
35665 * posix/regex.h: Fix comments with documentation of user-accessible
35666 fields after compilation and describe correct free'ing of pattern
35667 after re_compile_pattern.
35668 Patch by Reuben Thomas <rrt@sc3d.org>.
35669
35670 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35671
35672 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35673 and -mno-altivec to prevent the compiler from using Altivec and/or
35674 VSX instructions when the corresponding registers are not available.
35675
35676 2011-05-19 Andreas Schwab <schwab@redhat.com>
35677
35678 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35679
35680 2011-05-19 Ulrich Drepper <drepper@gmail.com>
35681
35682 * libio/freopen.c (freopen): Use __dup2, not dup2.
35683 * libio/freopen64.c (freopen64): Likewise.
35684
35685 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35686
35687 [BZ #12775]
35688 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35689 * math/Makefile (tests): Add test-powl.
35690 (CFLAGS-test-powl.c): Define.
35691 * math/test-powl.c: New file.
35692
35693 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35694
35695 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35696
35697 2011-05-17 Ulrich Drepper <drepper@gmail.com>
35698
35699 [BZ #11837]
35700 * iconvdata/gb18030.c: Update to GB18020-2005.
35701
35702 2011-05-16 Ulrich Drepper <drepper@gmail.com>
35703
35704 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35705 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35706 Patch by Aharon Robbins <arnold@skeeve.com>.
35707
35708 [BZ #11892]
35709 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35710 on the stack.
35711
35712 [BZ #11895]
35713 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35714 through underflows.
35715
35716 [BZ #12766]
35717 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35718 point to strings before performing equality test for error_one_per_line
35719 mode.
35720
35721 [BZ #11697]
35722 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35723
35724 [BZ #11820]
35725 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35726 (struct user_fpregs_struct): Avoid __uint*_t types.
35727
35728 [BZ #6420]
35729 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35730 symbol info. Use it instead of calling _dl_addr locally.
35731 (lock_and_info): New function.
35732 (tr_freehook): Call lock_and_info and pass symbol info as additional
35733 parameter to tr_where.
35734 (tr_mallochook): Likewise.
35735 (tr_reallochook): Likewise.
35736 (tr_memalignhook): Likewise.
35737
35738 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35739 used and couldn't be at all thread-safe.
35740
35741 2011-05-15 Ulrich Drepper <drepper@gmail.com>
35742
35743 * libio/freopen.c (freopen): Don't close old file descriptor
35744 before the new one is opened. Instead dup the new file descriptor
35745 to the old one after the new stream is created.
35746 * libio/freopen64.c (freopen64): Likewise.
35747 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35748 * libio/fileops.c (_IO_new_file_close_it): Handle new
35749 _IO_FLAGS2_NOCLOSE flag.
35750 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35751 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35752 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35753 _IO_FLAGS2_NOCLOSE flag.
35754 * include/unistd.h: Add hidden_proto for dup3.
35755 Define __have_dup3.
35756 * io/dup3.c: Define hidden symbol.
35757 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35758
35759 [BZ #7101]
35760 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35761 when an incomplete long option is used.
35762 * posix/tst-getopt_long1.c: New file.
35763 * posix/Makefile (tests): Add tst-getopt_long1.
35764
35765 [BZ #10138]
35766 * scripts/config.guess: Update from autoconf-2.68.
35767 * scripts/config.sub: Likewise.
35768
35769 [BZ #10157]
35770 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35771 tests into ...
35772 (has_cpuclock): ...this. New function.
35773 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35774 macro here based on has_cpuclock code.
35775
35776 [BZ #10149]
35777 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35778 First byte (not low byte) is now always NUL.
35779 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35780
35781 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35782 Use non-cancelable interfaces.
35783
35784 [BZ #9809]
35785 * locale/iso-639.def: Add entry for Sorani.
35786
35787 [BZ #11901]
35788 * include/stdlib.h: Move include protection to the right place.
35789 Define abort_msg_s. Declare __abort_msg with it.
35790 * stdlib/abort.c (__abort_msg): Adjust type.
35791 * assert/assert.c (__assert_fail_base): New function. Majority
35792 of code from __assert_fail. Allocate memory for __abort_msg with
35793 mmap.
35794 (__assert_fail): Now call __assert_fail_base.
35795 * assert/assert-perr.c: Remove bulk of implementation. Use
35796 __assert_fail_base.
35797 * include/assert.hL Declare __assert_fail_base.
35798 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35799 mmap.
35800 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35801
35802 2011-05-14 Ulrich Drepper <drepper@gmail.com>
35803
35804 [BZ #11952]
35805 [BZ #12453]
35806 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35807 until all modules are registered in the DTV.
35808 * elf/Makefile: Add rules to build and run tst-tls19.
35809 * elf/tst-tls19.c: New file.
35810 * elf/tst-tls19mod1.c: New file.
35811 * elf/tst-tls19mod2.c: New file.
35812 * elf/tst-tls19mod3.c: New file.
35813 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35814
35815 [BZ #12083]
35816 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35817 correctly.
35818
35819 [BZ #12601]
35820 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35821 two-byte sequence errors.
35822 * iconvdata/Makefile (tests): Add bug-iconv8.
35823 * iconvdata/bug-iconv8.c: New file.
35824
35825 [BZ #12626]
35826 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35827 buf2 definition.
35828
35829 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35830
35831 [BZ #12432]
35832 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35833 (dummy_getcfa): New function.
35834 (init): Get _Unwind_GetCFA address, use dummy if not found.
35835 (backtrace_helper): In recursion check, also check whether CFA changes.
35836 (__backtrace): Completely initialize arg.
35837
35838 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35839 storing incomplete byte sequence in state object. Avoid testing for
35840 guaranteed too small input if we know there is enough data available.
35841
35842 2011-05-11 Andreas Schwab <schwab@redhat.com>
35843
35844 * Makeconfig (+link-pie): Indent.
35845 * Rules (binaries-pie): Define if $(have-fpie) and
35846 $(build-shared).
35847 (binaries-shared): Also filter out $(binaries-pie).
35848 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35849 * nscd/Makefile (others-pie): Add nscd.
35850 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35851 ($(objpfx)nscd): Remove command override.
35852 * login/Makefile (others-pie): Add pt_chown.
35853 ($(objpfx)pt_chown): Remove command override.
35854 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35855 remove command overrides.
35856
35857 2011-05-13 Ulrich Drepper <drepper@gmail.com>
35858
35859 * libio/tst_putwc.c: Fix error messages.
35860
35861 [BZ #12724]
35862 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35863 currently writing and seek to current position when not.
35864 * libio/Makefile (tests): Add bug-fclose1.
35865 * libio/bug-fclose1.c: New file.
35866
35867 2011-05-12 Ulrich Drepper <drepper@gmail.com>
35868
35869 [BZ #12511]
35870 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35871 don't set DF_1_NODELETE here.
35872 (do_lookup_x): When entering new entry test for copy relocation
35873 and if necessary set DF_1_NODELETE flag.
35874 * elf/tst-unique4.cc: New file.
35875 * elf/tst-unique4.h: New file.
35876 * elf/tst-unique4lib.cc: New file.
35877 * elf/Makefile: Add rules to build and run tst-unique4.
35878 Patch by Piotr Bury <pbury@goahead.com>.
35879
35880 2011-05-11 Ulrich Drepper <drepper@gmail.com>
35881
35882 [BZ #12052]
35883 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35884
35885 [BZ #12625]
35886 * misc/mntent_r.c (addmntent): Flush the stream after the output
35887
35888 [BZ #12393]
35889 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35890 (is_trusted_path_normalize): Skip initial colon. Append slash
35891 to empty buffer. Duplicate is_trusted_path code but allow
35892 constructed patch to be prefix.
35893 (is_dst): Allow $ORIGIN followed by /.
35894 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35895 Correct testing of result of is_trusted_path_normalize
35896 (decompose_rpath): Fix warning.
35897
35898 2011-05-10 Ulrich Drepper <drepper@gmail.com>
35899
35900 [BZ #11257]
35901 * grp/initgroups.c (internal_getgrouplist): When we found the service
35902 list through the initgroups entry in nsswitch.conf do not always
35903 continue on a successful lookup. Don't always use the
35904 __nss_group_database value if it is set.
35905 * nss/nsswitch.conf (initgroups): Change action for successful db
35906 lookup to continue for compatibility.
35907
35908 2011-05-09 Ulrich Drepper <drepper@gmail.com>
35909
35910 [BZ #11532]
35911 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35912 and CP774 modules.
35913 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35914 and CP774 modules.
35915 * iconvdata/tst-tables.sh: Likewise.
35916 * iconvdata/cp770.c: New file.
35917 * iconvdata/cp771.c: New file.
35918 * iconvdata/cp772.c: New file.
35919 * iconvdata/cp773.c: New file.
35920 * iconvdata/cp774.c: New file.
35921 * iconvdata/testdata/CP770: New file.
35922 * iconvdata/testdata/CP770..UTF8: New file.
35923 * iconvdata/testdata/CP771: New file.
35924 * iconvdata/testdata/CP771..UTF8: New file.
35925 * iconvdata/testdata/CP772: New file.
35926 * iconvdata/testdata/CP772..UTF8: New file.
35927 * iconvdata/testdata/CP773: New file.
35928 * iconvdata/testdata/CP773..UTF8: New file.
35929 * iconvdata/testdata/CP774: New file.
35930 * iconvdata/testdata/CP774..UTF8: New file.
35931
35932 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35933 END CHARMAP line.
35934 * iconvdata/gen-8bit-gap.sh: Likewise.
35935 * iconvdata/gen-8bit.sh: Likewise.
35936
35937 * locale/iso-639.def: Add ary entry.
35938
35939 [BZ #11258]
35940 * locale/C-translit.h.in: Add U20A1 transliteration.
35941
35942 [BZ #12178]
35943 * locale/iso-639.def: Add wae entry.
35944 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35945
35946 [BZ #12545]
35947 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35948 for n.
35949
35950 [BZ #12711]
35951 * locale/C-translit.h.in: Add entry for U20B9.
35952 Patch by pravin.d.s@gmail.com.
35953
35954 2011-05-08 Ulrich Drepper <drepper@gmail.com>
35955
35956 [BZ #12713]
35957 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35958 ENAMETOOLONG use generic getcwd.
35959 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35960 in rtld. Use *stat64.
35961 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35962 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35963 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35964 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35965 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35966 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35967 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35968 __fstatat64 macros.
35969 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35970 * dirent/rewinddir.c: Add libc_hidden_def.
35971 * sysdeps/mach/hurd/rewinddir.c: Likewise.
35972 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
35973
35974 * include/dirent.h (__alloc_dir): Add flags parameter.
35975 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35976 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35977 __alloc_dir.
35978 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35979 from fdopendir if O_CLOEXEC is already set.
35980
35981 2011-03-15 Alan Modra <amodra@gmail.com>
35982
35983 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35984 l_tls_firstbyte_offset non-zero. Save padding offset in
35985 l_tls_firstbyte_offset for later use.
35986 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35987 freeing static tls block.
35988
35989 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35990
35991 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35992 where #ifdef was intended. The intent is to prevent ARG_MAX from
35993 being defined by the kernel headers.
35994
35995 2011-05-07 Ulrich Drepper <drepper@gmail.com>
35996
35997 [BZ #12734]
35998 * resolv/resolv.h: Define RES_NOTLDQUERY.
35999 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36000 no-tld-query and set RES_NOTLDQUERY.
36001 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36002 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36003 modern BIND to search name as TLD unless forbidden.
36004
36005 2011-05-07 Petr Baudis <pasky@suse.cz>
36006 Ulrich Drepper <drepper@gmail.com>
36007
36008 [BZ #12393]
36009 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36010 (is_trusted_path): ...to here.
36011 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36012 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36013 using is_trusted_path_normalize() in setuid scripts.
36014
36015 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36016
36017 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36018 __BEGIN/__END_DECLS.
36019
36020 2011-05-06 Ulrich Drepper <drepper@gmail.com>
36021
36022 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36023 NSS_STATUS_NOTFOUND if no record was found.
36024
36025 2011-05-05 Andreas Schwab <schwab@redhat.com>
36026
36027 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36028 (headers-not-in-tirpc): Remove rpc/netdb.h
36029 * resolv/netdb.h: Revert last change.
36030
36031 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36032
36033 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36034 circular dependency between libgcc.a and libc.a.
36035
36036 2011-05-05 Andreas Schwab <schwab@redhat.com>
36037
36038 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36039 * nis/Makefile: Don't install rpcsvc/*.
36040 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36041 instead of <rpc/types.h>.
36042 (MAXHOSTNAMELEN): Define.
36043
36044 2011-05-03 Andreas Schwab <schwab@redhat.com>
36045
36046 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36047
36048 2011-04-28 Maciej Babinski <mbabinski@google.com>
36049
36050 [BZ #12714]
36051 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36052 gethostbyname4_r when IPv6 results are possible.
36053
36054 2011-05-02 Ulrich Drepper <drepper@gmail.com>
36055
36056 [BZ #12723]
36057 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36058 _PC_PIPE_BUF handling.
36059
36060 2011-04-30 Bruno Haible <bruno@clisp.org>
36061
36062 [BZ #12717]
36063 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36064 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36065 to 'int'.
36066 * inet/getnameinfo.c (getnameinfo): Likewise.
36067
36068 2011-04-29 Ulrich Drepper <drepper@gmail.com>
36069
36070 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36071 to groups setting in database lookup.
36072 * nss/nsswitch.conf: Add initgroups entry.
36073
36074 2011-04-22 Ulrich Drepper <drepper@gmail.com>
36075
36076 [BZ #12685]
36077 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36078 mode string.
36079 Patch by Eric Blake <eblake@redhat.com>.
36080
36081 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36082
36083 * sunrpc/Makefile (need-export-routines): Add svc_run.
36084 (routines): Remove svc_run.
36085 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36086 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36087 * sunrpc/svc_run.c (svc_run): Likewise.
36088 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36089
36090 2011-04-21 Ulrich Drepper <drepper@gmail.com>
36091
36092 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36093 problem in reallocation in last patch.
36094
36095 2011-04-20 Ulrich Drepper <drepper@gmail.com>
36096
36097 * sunrpc/Makefile: Move inclusion of Rules.
36098
36099 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36100
36101 * nss/nss_files/files-initgroups.c: New file.
36102 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36103 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36104 _nss_files_initgroups_dyn.
36105
36106 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36107
36108 * elf/elf.h (R_ARM_IRELATIVE): Define.
36109
36110 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36111
36112 * po/ru.po: Update from translation team.
36113
36114 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36115
36116 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36117 dependencies.
36118
36119 2011-02-06 Mike Frysinger <vapier@gentoo.org>
36120
36121 [BZ #12653]
36122 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36123 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36124 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36125 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36126 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36127
36128 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36129
36130 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36131 differing bytes.
36132 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36133 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36134 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36135
36136 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36137
36138 [BZ #12420]
36139 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36140 storing it.
36141 * stdlib/bug-getcontext.c: New file.
36142 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36143
36144 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36145
36146 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36147 instructions into .machine "z9-109".
36148 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36149 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36150
36151 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36152
36153 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36154 between environment variables and auxiliary vector.
36155
36156 2011-04-16 Ulrich Drepper <drepper@gmail.com>
36157
36158 * Makefile: Add rules to build linkobj/libc.so.
36159 * include/libc-symbols.h: Define libc_hidden_nolink.
36160 * include/rpc/auth.h: Mark functions which are to be hidden.
36161 * include/rpc/auth_des.h: Likewise.
36162 * include/rpc/auth_unix.h: Likewise.
36163 * include/rpc/clnt.h: Likewise.
36164 * include/rpc/des_crypt.h: Likewise.
36165 * include/rpc/key_prot.h: Likewise.
36166 * include/rpc/pmap_clnt.h: Likewise.
36167 * include/rpc/pmap_prot.h: Likewise.
36168 * include/rpc/pmap_rmt.h: Likewise.
36169 * include/rpc/rpc_msg.h: Likewise.
36170 * include/rpc/svc.h: Likewise.
36171 * include/rpc/svc_auth.h: Likewise.
36172 * include/rpc/xdr.h: Likewise.
36173 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36174 * nss/Makefile: Likewise.
36175 * sunrpc/Makefile: Don't install headers. Build library with normal
36176 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36177 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36178 for the compat linking library. Remove use of INTDEF/INTUSE.
36179 * sunrpc/auth_none.c: Likewise.
36180 * sunrpc/auth_unix.c: Likewise.
36181 * sunrpc/authdes_prot.c: Likewise.
36182 * sunrpc/authuxprot.c: Likewise.
36183 * sunrpc/clnt_gen.c: Likewise.
36184 * sunrpc/clnt_perr.c: Likewise.
36185 * sunrpc/clnt_raw.c: Likewise.
36186 * sunrpc/clnt_simp.c: Likewise.
36187 * sunrpc/clnt_tcp.c: Likewise.
36188 * sunrpc/clnt_udp.c: Likewise.
36189 * sunrpc/clnt_unix.c: Likewise.
36190 * sunrpc/des_crypt.c: Likewise.
36191 * sunrpc/des_soft.c: Likewise.
36192 * sunrpc/get_myaddr.c: Likewise.
36193 * sunrpc/key_call.c: Likewise.
36194 * sunrpc/key_prot.c: Likewise.
36195 * sunrpc/netname.c: Likewise.
36196 * sunrpc/pm_getmaps.c: Likewise.
36197 * sunrpc/pm_getport.c: Likewise.
36198 * sunrpc/pmap_clnt.c: Likewise.
36199 * sunrpc/pmap_prot.c: Likewise.
36200 * sunrpc/pmap_prot2.c: Likewise.
36201 * sunrpc/pmap_rmt.c: Likewise.
36202 * sunrpc/publickey.c: Likewise.
36203 * sunrpc/rpc_cmsg.c: Likewise.
36204 * sunrpc/rpc_common.c: Likewise.
36205 * sunrpc/rpc_dtable.c: Likewise.
36206 * sunrpc/rpc_prot.c: Likewise.
36207 * sunrpc/rpc_thread.c: Likewise.
36208 * sunrpc/rtime.c: Likewise.
36209 * sunrpc/svc.c: Likewise.
36210 * sunrpc/svc_auth.c: Likewise.
36211 * sunrpc/svc_authux.c: Likewise.
36212 * sunrpc/svc_raw.c: Likewise.
36213 * sunrpc/svc_run.c: Likewise.
36214 * sunrpc/svc_simple.c: Likewise.
36215 * sunrpc/svc_tcp.c: Likewise.
36216 * sunrpc/svc_udp.c: Likewise.
36217 * sunrpc/svc_unix.c: Likewise.
36218 * sunrpc/svcauth_des.c: Likewise.
36219 * sunrpc/xcrypt.c: Likewise.
36220 * sunrpc/xdr.c: Likewise.
36221 * sunrpc/xdr_array.c: Likewise.
36222 * sunrpc/xdr_float.c: Likewise.
36223 * sunrpc/xdr_intXX_t.c: Likewise.
36224 * sunrpc/xdr_mem.c: Likewise.
36225 * sunrpc/xdr_rec.c: Likewise.
36226 * sunrpc/xdr_ref.c: Likewise.
36227 * sunrpc/xdr_sizeof.c: Likewise.
36228 * sunrpc/xdr_stdio.c: Likewise.
36229
36230 2011-04-10 Ulrich Drepper <drepper@gmail.com>
36231
36232 [BZ #12650]
36233 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36234 * sysdeps/ia64/dl-tls.h: Likewise.
36235 * sysdeps/powerpc/dl-tls.h: Likewise.
36236 * sysdeps/s390/dl-tls.h: Likewise.
36237 * sysdeps/sh/dl-tls.h: Likewise.
36238 * sysdeps/sparc/dl-tls.h: Likewise.
36239 * sysdeps/x86_64/dl-tls.h: Likewise.
36240 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36241
36242 2011-03-14 Andreas Schwab <schwab@redhat.com>
36243
36244 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36245 rpath element also skip the following colon.
36246 (expand_dynamic_string_token): Add is_path parameter and pass
36247 down to DL_DST_REQUIRED and _dl_dst_substitute.
36248 (decompose_rpath): Call expand_dynamic_string_token with
36249 non-zero is_path. Ignore empty rpaths.
36250 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36251 with zero is_path.
36252
36253 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36254
36255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36256 Make cancelable.
36257
36258 2011-04-09 Ulrich Drepper <drepper@gmail.com>
36259
36260 [BZ #12655]
36261 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36262 Patch by Filipe David Manana <fdmanana@apache.org>.
36263
36264 2011-04-07 Andreas Schwab <schwab@redhat.com>
36265
36266 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36267 Maintain aligned stack.
36268 (CHECK_RSP): Remove unused macro.
36269
36270 2011-04-03 Ulrich Drepper <drepper@gmail.com>
36271
36272 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36273 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36274
36275 2011-04-02 Ulrich Drepper <drepper@gmail.com>
36276
36277 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36278
36279 * include/features.h: Mention __USE_XOPEN2K8 in comment.
36280
36281 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36282
36283 [BZ #12518]
36284 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36285 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36286 * sysdeps/x86_64/memmove.c: New file.
36287 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36288 (memcpy): Renamed to ...
36289 (__new_memcpy): This.
36290 (memcpy): Provide GLIBC_2_14 memcpy.
36291 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36292 (memcpy): Provide GLIBC_2_2_5 memcpy.
36293
36294 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36295
36296 [BZ #12631]
36297 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36298
36299 2011-03-30 Andreas Schwab <schwab@redhat.com>
36300
36301 * misc/syncfs.c: New file.
36302 * misc/Makefile (routines): Add syncfs.
36303 * posix/unistd.h: Declare syncfs.
36304 * sysdeps/unix/syscalls.list: Add syncfs.
36305
36306 2011-04-01 Andreas Schwab <schwab@redhat.com>
36307
36308 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36309 open_by_handle_at.
36310 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36311 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36312 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36313 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36314 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36315 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36316 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36317
36318 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36319
36320 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36321 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36322 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36323 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36324 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36325 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36326 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36327
36328 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36329 sync_file_range.c with -fexceptions.
36330 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36331 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36332 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36333 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36334 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36335 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36336 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36337 sync_file_range as cancellation point
36338 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36339 now a wrapper around __call_sync_file_range with cancellation handling.
36340 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36341 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36342 function name to __call_sync_file_range.
36343 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36344 Add call_sync_file_range.
36345
36346 2011-04-01 Andreas Schwab <schwab@redhat.com>
36347
36348 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36349 bits/timex.h.
36350
36351 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36352
36353 * iconv/iconv.h: Fix typo in comment.
36354 * io/fcntl.h: Likewise.
36355 * libio/stdio.h: Likewise.
36356 * posix/spawn.h: Likewise.
36357 * posix/unistd.h: Likewise.
36358 * stdlib/stdlib.h: Likewise.
36359 * time/time.h: Likewise.
36360 * wcsmbs/wchar.h: Likewise.
36361
36362 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36363 open_by_handle): Add.
36364 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36365 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36366 Augment a few comments.
36367 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36368 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36369 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36370 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36371 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36372 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36373 open_by_handle.
36374
36375 * io/fcntl.h (AT_EMPTY_PATH): Define.
36376
36377 2011-03-30 Ulrich Drepper <drepper@gmail.com>
36378
36379 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36380 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36381 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36382 to...
36383 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
36384 * Versions.def: Add GLIBC_2.14.
36385 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36386 Export.
36387
36388 2011-03-22 Ulrich Drepper <drepper@gmail.com>
36389
36390 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36391 round counter.
36392 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36393
36394 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36395
36396 [BZ #12597]
36397 * string/test-strncmp.c (do_page_test): New function.
36398 (check2): Likewise.
36399 (test_main): Call check2.
36400 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36401
36402 2011-03-20 Ulrich Drepper <drepper@gmail.com>
36403
36404 [BZ #12587]
36405 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36406 Handle cache information in CPU leaf 4.
36407 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36408
36409 2011-03-18 Ulrich Drepper <drepper@gmail.com>
36410
36411 [BZ #12583]
36412 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36413 character representation.
36414 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36415
36416 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36417
36418 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36419 END(__isnan) to END(__isnanf) to match function entry point/label
36420 EALIGN(__isnanf,...).
36421
36422 2011-03-10 Jakub Jelinek <jakub@redhat.com>
36423
36424 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36425
36426 2011-03-10 Ulrich Drepper <drepper@gmail.com>
36427
36428 [BZ #12510]
36429 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36430 copy from the symbol referenced in the relocation to initialize the
36431 used variable.
36432 Patch by Piotr Bury <pbury@goahead.com>.
36433 * elf/Makefile: Add rules to build and tst-unique3.
36434 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36435 * elf/tst-unique3.cc: New file.
36436 * elf/tst-unique3.h: New file.
36437 * elf/tst-unique3lib.cc: New file.
36438 * elf/tst-unique3lib2.cc: New file.
36439
36440 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36441
36442 2011-03-10 Mike Frysinger <vapier@gentoo.org>
36443
36444 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36445 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36446 to _start.
36447
36448 2011-03-06 Ulrich Drepper <drepper@gmail.com>
36449
36450 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36451 to-be-loaded object along a path to loader is ld.so.
36452
36453 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36454 Ulrich Drepper <drepper@gmail.com>
36455
36456 * sysdeps/x86_64/memset.S: After aligning destination, code
36457 branches to different locations depending on the value of
36458 misalignment, when multiarch is enabled. Fix this.
36459
36460 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36461
36462 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36463 Set _x86_64_preferred_memory_instruction for AMD processsors.
36464 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36465 Set bit_Prefer_SSE_for_memop for AMD processors.
36466
36467 2011-03-04 Ulrich Drepper <drepper@gmail.com>
36468
36469 * libio/fmemopen.c (fmemopen): Optimize a bit.
36470
36471 2011-03-03 Andreas Schwab <schwab@redhat.com>
36472
36473 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36474
36475 2011-03-03 Roland McGrath <roland@redhat.com>
36476
36477 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36478
36479 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36480
36481 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36482 __bzero_ultra1 instead of __memset_ultra1.
36483
36484 2011-02-23 Andreas Schwab <schwab@redhat.com>
36485 Ulrich Drepper <drepper@gmail.com>
36486
36487 [BZ #12509]
36488 * include/link.h (struct link_map): Add l_orig_initfini.
36489 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36490 returning unsuccessfully.
36491 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36492 close of a file loaded at startup, restore the original l_initfini
36493 list.
36494 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36495 list, store the pointer.
36496 * elf/Makefile ($(objpfx)noload-mem): New rule.
36497 (noload-ENV): Define.
36498 (tests): Add $(objpfx)noload-mem.
36499 * elf/noload.c: Include <memcheck.h>.
36500 (main): Call mtrace. Close all opened handles.
36501
36502 2011-02-17 Andreas Schwab <schwab@redhat.com>
36503
36504 [BZ #12454]
36505 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36506 dependencies are missing.
36507
36508 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36509
36510 Fix __if_freereq crash: Unlike the generic version which uses free,
36511 Hurd needs munmap.
36512 * sysdeps/mach/hurd/ifreq.h: New file.
36513
36514 2011-01-27 Petr Baudis <pasky@suse.cz>
36515 Ulrich Drepper <drepper@gmail.com>
36516
36517 [BZ 12445]#
36518 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36519 to extend_alloca().
36520 * stdio-common/bug23.c: New file.
36521 * stdio-common/Makefile (tests): Add bug23.
36522
36523 2010-09-28 Andreas Schwab <schwab@redhat.com>
36524 Ulrich Drepper <drepper@gmail.com>
36525
36526 [BZ #12489]
36527 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36528 before performing relro protection. At old place add assertion
36529 to make sure nothing changed.
36530
36531 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36532 Glauber de Oliveira Costa <glommer@gmail.com>
36533
36534 * elf/elf.h: Add new ARM TLS relocs.
36535
36536 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36537
36538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36539 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36540 cast from r3.
36541 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36542 'tests' variable.
36543 * sysdeps/wordsize-64/tst-writev.c: New file.
36544
36545 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36546
36547 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36548 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36549 insns in _dl_start to prevent a TOC reference before relocs are
36550 resolved.
36551
36552 2011-02-15 Ulrich Drepper <drepper@gmail.com>
36553
36554 [BZ #12469]
36555 * Makeconfig: Remove RANLIB definition.
36556 * Makerules: Don't use RANLIB.
36557 * aclocal.m4: Remove ranlib test.
36558 * configure.in: No need to check for ranlib.
36559 * elf/rtld-Rules: Don't use RANLIB.
36560
36561 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36562
36563 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36564 protection macro.
36565 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36566 inclusion protection macro.
36567
36568 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36569 SIGRTMIN and SIGRTMAX and print information in that case only when
36570 SIGRTMIN is defined.
36571
36572 2011-02-11 Jakub Jelinek <jakub@redhat.com>
36573
36574 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36575 arginfo fn returning -1.
36576
36577 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36578 and thousands string is zero terminated.
36579
36580 2011-02-03 Andreas Schwab <schwab@redhat.com>
36581
36582 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36583 sysdeps/unix/sysv/linux/bits/socket.h.
36584
36585 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36586
36587 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36588 (__CPU_COUNT): Remove old macros.
36589 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36590 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36591 (__CPU_ALLOC, __CPU_FREE): Add macros.
36592 (__sched_cpualloc, __sched_cpufree): Add declarations.
36593
36594 2011-02-05 Ulrich Drepper <drepper@gmail.com>
36595
36596 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36597 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36598 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36599 (readdhstai): Return value of addhstaiX call.
36600 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36601 (addgrbyX): Return value returned by cache_addgr.
36602 (readdgrbyname): Return value returned by addgrbyX.
36603 (readdgrbygid): Likewise.
36604 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36605 (addpwbyX): Return value returned by cache_addpw.
36606 (readdpwbyname): Return value returned by addhstbyX.
36607 (readdpwbyuid): Likewise.
36608 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36609 (addservbyX): Return value returned by cache_addserv.
36610 (readdservbyname): Return value returned by addservbyX:
36611 (readdservbyport): Likewise.
36612 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36613 (addhstbyX): Return value returned by cache_addhst.
36614 (readdhstbyname): Return value returned by addhstbyX.
36615 (readdhstbyaddr): Likewise.
36616 (readdhstbynamev6): Likewise.
36617 (readdhstbyaddrv6): Likewise.
36618 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36619 (readdinitgroups): Return value returned by addinitgroupsX.
36620 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36621 (prune_cache): Keep track of timeout value of re-added entries.
36622 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36623 * nscd/nscd.h: Adjust prototypes of readd* functions.
36624
36625 2011-02-04 Roland McGrath <roland@redhat.com>
36626
36627 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36628 (nis_stats): Likewise.
36629 * nis/nis_modify.c (nis_modify): Likewise.
36630 * nis/nis_remove.c (nis_remove): Likewise.
36631 * nis/nis_add.c (nis_add): Likewise.
36632
36633 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36634
36635 * posix/fnmatch_loop.c: Add some consts.
36636
36637 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36638
36639 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36640
36641 [BZ #12460]
36642 * config.make.in (config-cflags-novzeroupper): Define.
36643 * configure.in: Substitute libc_cv_cc_novzeroupper.
36644 * elf/Makefile (AVX-CFLAGS): Define.
36645 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36646 (CFLAGS-tst-auditmod4a.c): Likewise.
36647 (CFLAGS-tst-auditmod4b.c): Likewise.
36648 (CFLAGS-tst-auditmod6b.c): Likewise.
36649 (CFLAGS-tst-auditmod6c.c): Likewise.
36650 (CFLAGS-tst-auditmod7b.c): Likewise.
36651 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36652
36653 2011-02-02 Ulrich Drepper <drepper@gmail.com>
36654
36655 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36656 function to the callback.
36657 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36658
36659 2011-02-02 Andreas Schwab <schwab@redhat.com>
36660
36661 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36662 of errno.
36663
36664 2011-01-19 Ulrich Drepper <drepper@gmail.com>
36665
36666 [BZ #11724]
36667 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36668 of constructors.
36669 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36670 of destructors.
36671 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36672
36673 [BZ #11724]
36674 * elf/Makefile: Add rules to build and run new test.
36675 * elf/tst-initorder.c: New file.
36676 * elf/tst-initorder.exp: New file.
36677 * elf/tst-initordera1.c: New file.
36678 * elf/tst-initordera2.c: New file.
36679 * elf/tst-initordera3.c: New file.
36680 * elf/tst-initordera4.c: New file.
36681 * elf/tst-initorderb1.c: New file.
36682 * elf/tst-initorderb2.c: New file.
36683 * elf/tst-order-a1.c: New file.
36684 * elf/tst-order-a2.c: New file.
36685 * elf/tst-order-a3.c: New file.
36686 * elf/tst-order-a4.c: New file.
36687 * elf/tst-order-b1.c: New file.
36688 * elf/tst-order-b2.c: New file.
36689 * elf/tst-order-main.c: New file.
36690 New test case by George Gensure <werkt0@gmail.com>.
36691
36692 2010-10-01 Andreas Schwab <schwab@redhat.com>
36693
36694 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36695 decoding ACE if AI_CANONIDN.
36696
36697 2011-01-18 Ulrich Drepper <drepper@gmail.com>
36698
36699 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36700
36701 2011-01-17 Ulrich Drepper <drepper@gmail.com>
36702
36703 * version.h (RELEASE): Bump for 2.13 release.
36704 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36705
36706 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36707
36708 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36709 MADV_NOHUGEPAGE.
36710 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36711 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36712 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36713 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36714 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36715 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36716
36717 * posix/getconf.c: Update copyright year.
36718 * catgets/gencat.c: Likewise.
36719 * csu/version.c: Likewise.
36720 * debug/catchsegv.sh: Likewise.
36721 * debug/xtrace.sh: Likewise.
36722 * elf/ldconfig.c: Likewise.
36723 * elf/ldd.bash.in: Likewise.
36724 * elf/sprof.c (print_version): Likewise.
36725 * iconv/iconv_prog.c: Likewise.
36726 * iconv/iconvconfig.c: Likewise.
36727 * locale/programs/locale.c: Likewise.
36728 * locale/programs/localedef.c: Likewise.
36729 * malloc/memusage.sh: Likewise.
36730 * malloc/mtrace.pl: Likewise.
36731 * nscd/nscd.c (print_version): Likewise.
36732 * nss/getent.c: Likewise.
36733
36734 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36735 PF_CAIF, and PF_ALG.
36736 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36737
36738 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36739
36740 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36741 (modules-names): Use them.
36742 (ifunc-test-modules, ifunc-pie-tests): Define.
36743 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36744 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36745 (test-extras): Likewise.
36746 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36747 $(compile-command.c).
36748 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36749 (all-built-dso): Define.
36750 (check-textrel.out, check-execstack.out): Depend on it.
36751
36752 * configure.in: Don't override --enable-multi-arch.
36753
36754 2011-01-15 Ulrich Drepper <drepper@gmail.com>
36755
36756 [BZ #6812]
36757 * nscd/hstcache.c (tryagain): Define.
36758 (cache_addhst): Return tryagain not notfound for temporary errors.
36759 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36760 failed.
36761
36762 2011-01-14 Ulrich Drepper <drepper@gmail.com>
36763
36764 [BZ #10563]
36765 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36766 to make the syscall.
36767 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36768
36769 [BZ #12378]
36770 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36771 and fall back to matching as normal character if the string ends before
36772 the matching ']' is found. This is what POSIX requires.
36773 * posix/testfnm.c: Adjust test result.
36774 * posix/globtest.sh: Adjust test result. Add new test.
36775 * posix/tst-fnmatch.input: Likewise.
36776 * posix/tst-fnmatch2.c: Add new test.
36777
36778 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36779
36780 * elf/Makefile (check-execstack): Revert last change. Depend on
36781 check-execstack.h.
36782 (check-execstack.h): New target.
36783 (generated): Add check-execstack.h.
36784 * elf/check-execstack.c: Include "check-execstack.h".
36785 (main): Revert last change.
36786 (handle_file): Return zero if GNU_STACK is absent and
36787 DEFAULT_STACK_PERMS doesn't include PF_X.
36788
36789 2011-01-13 Ulrich Drepper <drepper@gmail.com>
36790
36791 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36792 in child fails because the descriptor is already closed.
36793 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36794 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36795 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36796
36797 [BZ #12397]
36798 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36799 syscall.
36800
36801 [BZ #10484]
36802 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36803 temporary buffer used to handle multi lookups locally.
36804 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36805
36806 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36807
36808 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36809 loader is ld.so.
36810
36811 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36812
36813 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36814 alignment for SSE2.
36815
36816 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36817
36818 [BZ #12394]
36819 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36820 characters. When rounding increased number of integer digits recompute
36821 number of groups.
36822 * stdio-common/tst-grouping.c: New file.
36823 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36824
36825 2011-01-09 Ulrich Drepper <drepper@gmail.com>
36826
36827 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36828 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36829
36830 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36831 void.
36832 * bits/select.h: Likewise.
36833
36834 2011-01-08 Ulrich Drepper <drepper@gmail.com>
36835
36836 * po/ja.po: Update from translation team.
36837
36838 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
36839
36840 [BZ #11155]
36841 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36842 implementation just like for lxstat, fxstatat, et al.
36843
36844 2010-12-27 Jim Meyering <meyering@redhat.com>
36845
36846 [BZ #12348]
36847 * posix/regexec.c (build_trtable): Return failure indication upon
36848 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36849
36850 2010-12-25 Ulrich Drepper <drepper@gmail.com>
36851
36852 [BZ #12201]
36853 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36854 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36855 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36856 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36857
36858 [BZ #12207]
36859 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36860
36861 [BZ #12204]
36862 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36863 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36864
36865 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36866
36867 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36868 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36869 script has SORT_BY_INIT_PRIORITY.
36870 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36871 NO_CTORS_DTORS_SECTIONS is defined.
36872 * elf/soinit.c: Likewise.
36873 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36874 NO_CTORS_DTORS_SECTIONS is defined.
36875 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36876 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36877 * sysdeps/sh/init-first.c: Likewise.
36878 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36879
36880 2010-12-24 Ulrich Drepper <drepper@gmail.com>
36881
36882 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36883 always use the slow path.
36884
36885 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36886
36887 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36888 similar rule which adds the sysdep directories to the header search in
36889 order to pick up the correct platform stackinfo.h.
36890 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36891 perform test if it is, otherwise return successfully without testing.
36892 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36893 DEFAULT_STACK_PERMS define in stackinfo.h.
36894 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36895 defined in stackinfo.h.
36896 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36897 DEFAULT_STACK_PERMS defined in stackinfo.h.
36898 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36899 * sysdeps/ia64/stackinfo.h: Likewise.
36900 * sysdeps/s390/stackinfo.h: Likewise.
36901 * sysdeps/sh/stackinfo.h: Likewise.
36902 * sysdeps/sparc/stackinfo.h: Likewise.
36903 * sysdeps/x86_64/stackinfo.h: Likewise.
36904 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36905 PF_X for powerpc64. Retain PF_X for powerpc32.
36906
36907 2010-12-19 Ulrich Drepper <drepper@gmail.com>
36908
36909 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36910 accurately.
36911 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36912 GETDENTS_64BIT_ALIGNED.
36913
36914 2010-12-14 Ulrich Drepper <dreper@gmail.com>
36915
36916 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36917
36918 2010-12-10 Andreas Schwab <schwab@redhat.com>
36919
36920 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36921 _GNU_SOURCE.
36922
36923 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36924 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36925 Remove __restrict.
36926 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36927 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36928
36929 2010-12-09 Ulrich Drepper <drepper@gmail.com>
36930
36931 [BZ #11655]
36932 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36933 are initialized.
36934
36935 2010-12-09 Jakub Jelinek <jakub@redhat.com>
36936
36937 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36938
36939 2010-12-03 Ulrich Drepper <drepper@gmail.com>
36940
36941 * po/it.po: Update from translation team.
36942
36943 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36944
36945 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36946 unused codes.
36947
36948 2010-11-30 Ulrich Drepper <drepper@gmail.com>
36949
36950 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36951
36952 2010-11-24 Andreas Schwab <schwab@redhat.com>
36953
36954 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36955 specially.
36956 (gaih_getanswer_slice): Likewise.
36957
36958 2010-10-20 Jakub Jelinek <jakub@redhat.com>
36959
36960 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36961
36962 2010-05-31 Petr Baudis <pasky@suse.cz>
36963
36964 [BZ #11149]
36965 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36966 silently even in the chroot mode.
36967
36968 2010-11-22 Ulrich Drepper <drepper@gmail.com>
36969
36970 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36971 last patch a bit. Pretty printing
36972
36973 2010-05-31 Petr Baudis <pasky@suse.cz>
36974
36975 [BZ #10085]
36976 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36977 initialization of skip_initgroups_dyn.
36978
36979 2010-11-19 Ulrich Drepper <drepper@gmail.com>
36980
36981 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36982 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36983
36984 2010-11-16 Ulrich Drepper <drepper@gmail.com>
36985
36986 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36987
36988 2010-11-11 Andreas Schwab <schwab@redhat.com>
36989
36990 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36991 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36992 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36993 ($(objpfx)tst-fnmatch-mem): New rule.
36994 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36995 * posix/tst-fnmatch.c (main): Call mtrace.
36996
36997 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36998
36999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37000 Support Intel processor model 6 and model 0x2c.
37001
37002 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
37003
37004 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37005 signed comparison.
37006
37007 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37008
37009 [BZ #12205]
37010 * string/test-strncasecmp.c (check_result): New function.
37011 (do_one_test): Use it.
37012 (check1): New function.
37013 (test_main): Use it.
37014 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37015 Support strcasecmp and strncasecmp.
37016
37017 2010-11-08 Ulrich Drepper <drepper@gmail.com>
37018
37019 [BZ #12194]
37020 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37021 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37022
37023 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37024
37025 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37026 IFUNC support.
37027 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37028 memset-x86-64.
37029 * sysdeps/x86_64/multiarch/bzero.S: New file.
37030 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37031 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37032 * sysdeps/x86_64/multiarch/memset.S: New file.
37033 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37035 Set bit_Prefer_SSE_for_memop for Intel processors.
37036 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37037 Define.
37038 (index_Prefer_SSE_for_memop): Define.
37039 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37040
37041 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
37042
37043 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37044 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37045
37046 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37047
37048 [BZ #12191]
37049 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37050 (__x86_64_raw_data_cache_size_half): Likewise.
37051 (__x86_64_raw_shared_cache_size): Likewise.
37052 (__x86_64_raw_shared_cache_size_half): Likewise.
37053
37054 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37055 (__x86_64_raw_data_cache_size_half): Likewise.
37056 (__x86_64_raw_shared_cache_size): Likewise.
37057 (__x86_64_raw_shared_cache_size_half): Likewise.
37058 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37059 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37060 and __x86_64_raw_shared_cache_size_half. Round
37061 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37062 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37063 to multiple of 256 bytes.
37064
37065 2010-11-03 Ulrich Drepper <drepper@gmail.com>
37066
37067 [BZ #12167]
37068 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37069 of inacessible symlinks. Verify result of symlink before returning it.
37070 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37071 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37072
37073 2010-10-28 Erich Ritz <erichritz@gmail.com>
37074
37075 * math/math.h (isinf): Fix typo in comment.
37076
37077 2010-11-01 Ulrich Drepper <drepper@gmail.com>
37078
37079 * po/da.po: Update from translation team.
37080
37081 2010-10-26 Ulrich Drepper <drepper@gmail.com>
37082
37083 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37084 is added to the list.
37085
37086 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37087 Ulrich Drepper <drepper@gmail.com>
37088
37089 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37090 the global list here. Move code to...
37091 (_dl_add_to_namespace_list): ...here. New function.
37092 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37093 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37094 * elf/dl-load.c (lose): Don't remove the element from the list.
37095 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37096 (_dl_map_object): Likewise.
37097
37098 2010-10-25 Ulrich Drepper <drepper@gmail.com>
37099
37100 [BZ #12159]
37101 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37102 into all bytes of SSE register.
37103 Patch by Richard Li <richardpku@gmail.com>.
37104
37105 2010-10-24 Ulrich Drepper <drepper@gmail.com>
37106
37107 [BZ #12140]
37108 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37109 perturbing.
37110
37111 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37112
37113 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37114 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37115 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37116 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37118 submachine.
37119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37120
37121 2010-10-22 Andreas Schwab <schwab@redhat.com>
37122
37123 * include/dlfcn.h (__RTLD_SECURE): Define.
37124 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37125 mode & __RTLD_SECURE instead.
37126 (open_path): Rename preloaded parameter to secure.
37127 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37128 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37129 * elf/dl-deps.c (openaux): Likewise.
37130 * elf/rtld.c (struct map_args): Remove is_preloaded.
37131 (map_doit): Don't use it.
37132 (dl_main): Likewise.
37133 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37134 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37135
37136 2010-09-09 Andreas Schwab <schwab@redhat.com>
37137
37138 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37139 (sysd-rules-targets): Remove duplicates.
37140 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37141 rtld-%.$o dependency.
37142
37143 2010-10-18 Andreas Schwab <schwab@redhat.com>
37144
37145 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37146 _dl_map_object do it.
37147
37148 2010-10-19 Ulrich Drepper <drepper@gmail.com>
37149
37150 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37151 fast fma builtins, define the macros in the C99 standard.
37152 (FP_FAST_FMAF): Likewise.
37153 (FP_FAST_FMAL): Likewise.
37154 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37155
37156 * bits/mathdef.h: Update copyright year.
37157 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37158
37159 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37160
37161 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37162 builtins, define the macros in the C99 standard.
37163 (FP_FAST_FMAF): Likewise.
37164 (FP_FAST_FMAL): Likewise.
37165 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37166 multiply/add.
37167 (FP_FAST_FMAF): Likewise.
37168
37169 2010-10-15 Jakub Jelinek <jakub@redhat.com>
37170
37171 [BZ #3268]
37172 * math/libm-test.inc (fma_test): Some new testcases.
37173 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37174 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37175 y and infinite z. Do multiplication by C already in long double.
37176 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37177 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37178 y and infinite z. Do bitwise or of inexact bit into u.d.
37179 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37180 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37181 * sysdeps/i386/fpu/s_fma.S: Removed.
37182 * sysdeps/i386/fpu/s_fmal.S: Removed.
37183
37184 2010-10-16 Jakub Jelinek <jakub@redhat.com>
37185
37186 [BZ #3268]
37187 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37188 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37189 computation is not scheduled after fetestexcept. Fix value
37190 of minimum denormal long double.
37191
37192 2010-10-14 Jakub Jelinek <jakub@redhat.com>
37193
37194 [BZ #3268]
37195 * math/libm-test.inc (fma_test): Add some more tests.
37196 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37197 correctly.
37198
37199 2010-10-15 Andreas Schwab <schwab@redhat.com>
37200
37201 * scripts/data/localplt-s390-linux-gnu.data: New file.
37202 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37203
37204 2010-10-13 Jakub Jelinek <jakub@redhat.com>
37205
37206 [BZ #3268]
37207 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37208 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37209 instead of dbl-64.
37210 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37211 inlines.
37212 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37213 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37214 if one of x and y is very large and the other is subnormal.
37215 * sysdeps/s390/fpu/s_fmaf.c: New file.
37216 * sysdeps/s390/fpu/s_fma.c: New file.
37217 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37218 * sysdeps/powerpc/fpu/s_fma.S: New file.
37219 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37220 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37221 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37222
37223 2010-10-12 Jakub Jelinek <jakub@redhat.com>
37224
37225 [BZ #3268]
37226 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37227 fma tests.
37228 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37229 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37230 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37231 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37232 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37233 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37234 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37235
37236 2010-10-12 Ulrich Drepper <drepper@redhat.com>
37237
37238 [BZ #12078]
37239 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37240 * posix/bug-regex31.input: Add test case.
37241
37242 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37243
37244 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37245 * posix/bug-regex31.input: New file.
37246
37247 [BZ #12078]
37248 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37249 (parse_sub_exp): Fix last change, use postorder.
37250
37251 * posix/bug-regex31.c: New file.
37252 * posix/Makefile: Add rules to build and run bug-regex31.
37253
37254 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37255
37256 [BZ #12078]
37257 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37258
37259 [BZ #12108]
37260 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37261 to have entries in sys_siglist.
37262
37263 [BZ #12093]
37264 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37265 be NULL.
37266
37267 2010-10-07 Jakub Jelinek <jakub@redhat.com>
37268
37269 [BZ #3268]
37270 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37271 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37272 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37273 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37274 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37275 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37276 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37277 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37278 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37279 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37280 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37281 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37282 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37283 * math/ftestexcept.c (fetestexcept): Likewise.
37284 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37285 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37286 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37287 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37288 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37289 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37290 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37291
37292 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37293
37294 [BZ #12107]
37295 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37296 newline.
37297
37298 2010-10-06 Ulrich Drepper <drepper@gmail.com>
37299
37300 * string/bug-strstr1.c: New file.
37301 * string/Makefile: Add rules to build and run bug-strstr1.
37302
37303 2010-10-05 Eric Blake <eblake@redhat.com>
37304
37305 [BZ #12092]
37306 * string/str-two-way.h (two_way_long_needle): Always clear memory
37307 when skipping input due to the shift table.
37308
37309 2010-10-03 Ulrich Drepper <drepper@gmail.com>
37310
37311 [BZ #12005]
37312 * malloc/mcheck.c: Handle large requests.
37313
37314 [BZ #12077]
37315 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37316 for strncmp and strncasecmp.
37317 * string/stratcliff.c: Add tests for strcmp and strncmp.
37318 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37319
37320 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37321
37322 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37323 __set_fpscr.
37324
37325 2010-09-30 Andreas Jaeger <aj@suse.de>
37326
37327 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37328 (CGROUP_SUPER_MAGIC): Define.
37329 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37330 Handle btrfs and cgroup file systems.
37331 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37332 Likewise.
37333
37334 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
37335
37336 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37337 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37338
37339 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37340
37341 [BZ #12067]
37342 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37343 trying to locate the ELF header.
37344
37345 2010-09-27 Andreas Schwab <schwab@redhat.com>
37346
37347 [BZ #11611]
37348 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37349 Mask out sign-bit copies when constructing f_fsid.
37350
37351 2010-09-24 Petr Baudis <pasky@suse.cz>
37352
37353 * debug/stack_chk_fail_local.c: Add missing licence exception.
37354 * debug/warning-nop.c: Likewise.
37355
37356 2010-09-15 Joseph Myers <joseph@codesourcery.com>
37357
37358 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37359 implementing getdents64 using getdents syscall, set d_type if
37360 __ASSUME_GETDENTS32_D_TYPE.
37361
37362 2010-09-16 Andreas Schwab <schwab@redhat.com>
37363
37364 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37365 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37366
37367 2010-09-21 Ulrich Drepper <drepper@redhat.com>
37368
37369 [BZ #12037]
37370 * posix/unistd.h: Undo change of feature selection for ftruncate from
37371 2010-01-11.
37372
37373 2010-09-20 Ulrich Drepper <drepper@redhat.com>
37374
37375 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37376 detection.
37377
37378 2010-09-20 Andreas Schwab <schwab@redhat.com>
37379
37380 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37381 fanotify_mark.
37382 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37383
37384 2010-09-14 Andreas Schwab <schwab@redhat.com>
37385
37386 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37387 variables after CHECK_SP call.
37388 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37389
37390 2010-09-13 Andreas Schwab <schwab@redhat.com>
37391 Ulrich Drepper <drepper@redhat.com>
37392
37393 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37394 re-relocationg ld.so.
37395 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37396 _dl_init_paths call.
37397 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37398 here anymore.
37399
37400 2010-09-14 Ulrich Drepper <drepper@redhat.com>
37401
37402 * resolv/res_init.c (__res_vinit): Count the default server we added.
37403
37404 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37405 Ulrich Drepper <drepper@redhat.com>
37406
37407 [BZ #11968]
37408 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37409 (____longjmp_chk): Use %ebx for saving value across system call.
37410 Add unwind info.
37411
37412 2010-09-06 Andreas Schwab <schwab@redhat.com>
37413
37414 * manual/Makefile: Don't mix pattern rules with normal rules.
37415
37416 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37417
37418 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37419 operation.
37420 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37421 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37422 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37423 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37424 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37425 Likewise.
37426
37427 2010-09-04 Ulrich Drepper <drepper@redhat.com>
37428
37429 [BZ #11979]
37430 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37431 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37432
37433 2010-09-02 Ulrich Drepper <drepper@redhat.com>
37434
37435 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37436 * sysdeps/x86_64/addmul_1.S: Likewise.
37437 * sysdeps/x86_64/lshift.S: Likewise.
37438 * sysdeps/x86_64/mul_1.S: Likewise.
37439 * sysdeps/x86_64/rshift.S: Likewise.
37440 * sysdeps/x86_64/sub_n.S: Likewise.
37441 * sysdeps/x86_64/submul_1.S: Likewise.
37442
37443 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37444
37445 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37446 Define __sched_param instead of SCHED_* and sched_param when
37447 <bits/sched.h> is included with __need_schedparam defined.
37448 * bits/sched.h [__need_schedparam]
37449 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37450 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37451 (__defined_schedparam): Define to 1.
37452 (__sched_param): New structure, identical to sched_param.
37453 (__need_schedparam): Undefine.
37454
37455 2010-08-31 Mike Frysinger <vapier@gentoo.org>
37456
37457 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37458 (epoll_create1): Declare.
37459
37460 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37461
37462 2010-08-31 Andreas Schwab <schwab@redhat.com>
37463
37464 [BZ #7066]
37465 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37466 shifting retval into place.
37467
37468 2010-09-01 Ulrich Drepper <drepper@redhat.com>
37469
37470 * nis/rpcsvc/nis.h: Update copyright notice.
37471 * nis/rpcsvc/nis.x: Likewise.
37472 * nis/rpcsvc/nis_callback.h: Likewise.
37473 * nis/rpcsvc/nis_callback.x: Likewise.
37474 * nis/rpcsvc/nis_object.x: Likewise.
37475 * nis/rpcsvc/nis_tags.h: Likewise.
37476 * nis/rpcsvc/yp.h: Likewise.
37477 * nis/rpcsvc/yp.x: Likewise.
37478 * nis/rpcsvc/ypupd.h: Likewise.
37479 * nis/yp_xdr.c: Likewise.
37480 * nis/ypupdate_xdr.c: Likewise.
37481
37482 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37483 mainly the body of pmap_getport. Add parameters to specify timeouts.
37484 (pmap_getport): Use __libc_rpc_getport.
37485 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37486 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37487 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37488
37489 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37490
37491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37492 fanotify_mark.
37493
37494 2010-08-27 Roland McGrath <roland@redhat.com>
37495
37496 * sysdeps/i386/i686/multiarch/Makefile
37497 (CFLAGS-varshift.c): New variable.
37498
37499 2010-08-27 Ulrich Drepper <drepper@redhat.com>
37500
37501 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37502 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37503
37504 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37505
37506 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37507
37508 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37509
37510 * sysdeps/x86_64/strlen.S: Unroll the loop.
37511 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37512 strlen-sse2 strlen-sse2-bsf.
37513 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37514 __strlen_no_bsf if bit_Slow_BSF is set.
37515 (__strlen_sse42): Removed.
37516 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37517 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37518
37519 2010-08-25 Roland McGrath <roland@redhat.com>
37520
37521 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37522 * sysdeps/x86_64/multiarch/varshift.c: New file.
37523 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37524 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37525 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37526 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37527
37528 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37529
37530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37531 strlen-sse2 strlen-sse2-bsf.
37532 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37533 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37534 (__strlen_sse2): Removed.
37535 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37536 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37538 bit_Slow_BSF for Atom.
37539 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37540 (index_Slow_BSF): Define.
37541 (HAS_SLOW_BSF): Define.
37542
37543 2010-08-25 Ulrich Drepper <drepper@redhat.com>
37544
37545 [BZ #10851]
37546 * resolv/res_init.c (__res_vinit): When no server address at all
37547 is given default to loopback.
37548
37549 2010-08-24 Roland McGrath <roland@redhat.com>
37550
37551 * configure.in: Remove config-name.h generation.
37552 * configure: Regenerated.
37553 * config-name.in: File removed.
37554 * scripts/config-uname.sh: New file.
37555 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37556 ($(objdir)config-name.h): New target.
37557
37558 * sunrpc/rpc_parse.h: Avoid nested comment.
37559
37560 2010-08-24 Richard Henderson <rth@redhat.com>
37561 Ulrich Drepper <drepper@redhat.com>
37562 H.J. Lu <hongjiu.lu@intel.com>
37563
37564 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37565 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37566 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37567 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37568 _mm_alignr_epi8 with _mm_loadu_si128.
37569 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37570 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37571 (__m128i_shift_right): Removed.
37572 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37573 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37574 * sysdeps/x86_64/multiarch/varshift.h: New file.
37575 * sysdeps/x86_64/multiarch/varshift.S: New file.
37576
37577 2010-08-21 Mike Frysinger <vapier@gentoo.org>
37578
37579 * configure.in: Move assembler checks to before sysdep dir checking.
37580
37581 2010-08-20 Petr Baudis <pasky@suse.cz>
37582
37583 * LICENSES: Sync the sunrpc license.
37584
37585 2010-08-19 Ulrich Drepper <drepper@redhat.com>
37586
37587 * sunrpc/auth_des.c: Update copyright notice once again.
37588 * sunrpc/auth_none.c: Likewise.
37589 * sunrpc/auth_unix.c: Likewise.
37590 * sunrpc/authdes_prot.c: Likewise.
37591 * sunrpc/authuxprot.c: Likewise.
37592 * sunrpc/bindrsvprt.c: Likewise.
37593 * sunrpc/clnt_gen.c: Likewise.
37594 * sunrpc/clnt_perr.c: Likewise.
37595 * sunrpc/clnt_raw.c: Likewise.
37596 * sunrpc/clnt_simp.c: Likewise.
37597 * sunrpc/clnt_tcp.c: Likewise.
37598 * sunrpc/clnt_udp.c: Likewise.
37599 * sunrpc/clnt_unix.c: Likewise.
37600 * sunrpc/des_crypt.c: Likewise.
37601 * sunrpc/des_soft.c: Likewise.
37602 * sunrpc/get_myaddr.c: Likewise.
37603 * sunrpc/getrpcport.c: Likewise.
37604 * sunrpc/key_call.c: Likewise.
37605 * sunrpc/key_prot.c: Likewise.
37606 * sunrpc/openchild.c: Likewise.
37607 * sunrpc/pm_getmaps.c: Likewise.
37608 * sunrpc/pm_getport.c: Likewise.
37609 * sunrpc/pmap_clnt.c: Likewise.
37610 * sunrpc/pmap_prot.c: Likewise.
37611 * sunrpc/pmap_prot2.c: Likewise.
37612 * sunrpc/pmap_rmt.c: Likewise.
37613 * sunrpc/rpc/auth.h: Likewise.
37614 * sunrpc/rpc/auth_unix.h: Likewise.
37615 * sunrpc/rpc/clnt.h: Likewise.
37616 * sunrpc/rpc/des_crypt.h: Likewise.
37617 * sunrpc/rpc/key_prot.h: Likewise.
37618 * sunrpc/rpc/netdb.h: Likewise.
37619 * sunrpc/rpc/pmap_clnt.h: Likewise.
37620 * sunrpc/rpc/pmap_prot.h: Likewise.
37621 * sunrpc/rpc/pmap_rmt.h: Likewise.
37622 * sunrpc/rpc/rpc.h: Likewise.
37623 * sunrpc/rpc/rpc_des.h: Likewise.
37624 * sunrpc/rpc/rpc_msg.h: Likewise.
37625 * sunrpc/rpc/svc.h: Likewise.
37626 * sunrpc/rpc/svc_auth.h: Likewise.
37627 * sunrpc/rpc/types.h: Likewise.
37628 * sunrpc/rpc/xdr.h: Likewise.
37629 * sunrpc/rpc_clntout.c: Likewise.
37630 * sunrpc/rpc_cmsg.c: Likewise.
37631 * sunrpc/rpc_common.c: Likewise.
37632 * sunrpc/rpc_cout.c: Likewise.
37633 * sunrpc/rpc_dtable.c: Likewise.
37634 * sunrpc/rpc_hout.c: Likewise.
37635 * sunrpc/rpc_main.c: Likewise.
37636 * sunrpc/rpc_parse.c: Likewise.
37637 * sunrpc/rpc_parse.h: Likewise.
37638 * sunrpc/rpc_prot.c: Likewise.
37639 * sunrpc/rpc_sample.c: Likewise.
37640 * sunrpc/rpc_scan.c: Likewise.
37641 * sunrpc/rpc_scan.h: Likewise.
37642 * sunrpc/rpc_svcout.c: Likewise.
37643 * sunrpc/rpc_tblout.c: Likewise.
37644 * sunrpc/rpc_util.c: Likewise.
37645 * sunrpc/rpc_util.h: Likewise.
37646 * sunrpc/rpcinfo.c: Likewise.
37647 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37648 * sunrpc/rpcsvc/key_prot.x: Likewise.
37649 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37650 * sunrpc/rpcsvc/mount.x: Likewise.
37651 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37652 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37653 * sunrpc/rpcsvc/rex.x: Likewise.
37654 * sunrpc/rpcsvc/rstat.x: Likewise.
37655 * sunrpc/rpcsvc/rusers.x: Likewise.
37656 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37657 * sunrpc/rpcsvc/spray.x: Likewise.
37658 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37659 * sunrpc/rtime.c: Likewise.
37660 * sunrpc/svc.c: Likewise.
37661 * sunrpc/svc_auth.c: Likewise.
37662 * sunrpc/svc_authux.c: Likewise.
37663 * sunrpc/svc_raw.c: Likewise.
37664 * sunrpc/svc_run.c: Likewise.
37665 * sunrpc/svc_simple.c: Likewise.
37666 * sunrpc/svc_tcp.c: Likewise.
37667 * sunrpc/svc_udp.c: Likewise.
37668 * sunrpc/svc_unix.c: Likewise.
37669 * sunrpc/svcauth_des.c: Likewise.
37670 * sunrpc/xcrypt.c: Likewise.
37671 * sunrpc/xdr.c: Likewise.
37672 * sunrpc/xdr_array.c: Likewise.
37673 * sunrpc/xdr_float.c: Likewise.
37674 * sunrpc/xdr_mem.c: Likewise.
37675 * sunrpc/xdr_rec.c: Likewise.
37676 * sunrpc/xdr_ref.c: Likewise.
37677 * sunrpc/xdr_sizeof.c: Likewise.
37678 * sunrpc/xdr_stdio.c: Likewise.
37679
37680 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37681 handling.
37682
37683 2010-08-19 Andreas Schwab <schwab@redhat.com>
37684
37685 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37686
37687 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
37688
37689 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37690 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37691 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37692 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37693 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37694 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37695 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37696 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37697 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37698 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37699 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37700 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37701 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37702 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37703
37704 2010-07-26 Anton Blanchard <anton@samba.org>
37705
37706 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37707 * malloc/arena.c (heap_trim): Likewise.
37708
37709 2010-08-16 Ulrich Drepper <drepper@redhat.com>
37710
37711 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37712 here. Not...
37713 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37714 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37715
37716 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37717
37718 * sysdeps/i386/elf/Makefile: New file.
37719
37720 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37721
37722 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37723 from fanotify_init.
37724 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37725 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37726
37727 2010-08-15 Ulrich Drepper <drepper@redhat.com>
37728
37729 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37730 of strncasecmp_l.
37731 * sysdeps/multiarch/strcmp.S: Likewise.
37732
37733 2010-08-14 Ulrich Drepper <drepper@redhat.com>
37734
37735 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37736 strncase_l-nonascii.
37737 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37738 Add strncase_l-ssse3.
37739 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37740 * sysdeps/x86_64/strcmp.S: Likewise.
37741 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37742 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37743 * sysdeps/x86_64/strncase.S: New file.
37744 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37745 * sysdeps/x86_64/strncase_l.S: New file.
37746 * string/Makefile (strop-tests): Add strncasecmp.
37747 * string/test-strncasecmp.c: New file.
37748
37749 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37750 warning.
37751
37752 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37753 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37754
37755 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37756
37757 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37758
37759 2010-08-12 Ulrich Drepper <drepper@redhat.com>
37760
37761 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37762 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37763 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37764
37765 2010-05-01 Alan Modra <amodra@gmail.com>
37766
37767 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37768 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37769 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37770 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37771 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37772 tidying. Don't tail-call __sigjmp_save for static lib.
37773 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37774 save location.
37775 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37776 (CALL_MCOUNT): Add eh info, and nop after bl.
37777 (TAIL_CALL_SYSCALL_ERROR): New macro.
37778 (PSEUDO_RET): Use it.
37779 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37780 Correct save location of integer regs and cr.
37781 (_dl_profile_resolve): Correct cr save location. Delete nops
37782 after bl when SHARED. Reduce cfi size a little by better
37783 placement of cfi directives.
37784 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37785 make a stack frame. Instead use parm save area as a temp.
37786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37787 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37789 Don't make a stack frame for parent, use parm save area.
37790 Increase child stack frame to 112 bytes. Don't save unused reg,
37791 and adjust reg usage. Set up cfi on error recovery and
37792 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37794 (__makecontext): Add dummy nop after jump to exit.
37795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37796 Use correct parm save area and cr save, reduce stack frame.
37797 Correct cfi for possible PSEUDO_RET frame setup.
37798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37799 Branch to local label emitted by PSEUDO_RET rather than
37800 __syscall_error.
37801
37802 2010-08-12 Andreas Schwab <schwab@redhat.com>
37803
37804 [BZ #11904]
37805 * locale/programs/locale.c (print_assignment): New function.
37806 (show_locale_vars): Use it.
37807
37808 2010-08-11 Ulrich Drepper <drepper@redhat.com>
37809
37810 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37811 field.
37812 (struct statfs64): Likewise.
37813 (_STATFS_F_FLAGS): Define.
37814 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37815 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37816 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37817 (ST_VALID): Define locally.
37818 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37819 __statvfs_getflags, use the provided value.
37820 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37821 __ASSUME_STATFS_F_FLAGS.
37822
37823 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37824
37825 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37826 Add sys/fanotify.h.
37827 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37828 fanotify_mask for GLIBC_2.13.
37829 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37830 fanotify_init and fanotify_mark.
37831 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37832 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37833
37834 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37835 Add prlimit.
37836 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37837 prlimit64 for GLIBC_2.13.
37838 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37839 prlimit64.
37840 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37841 syscall.
37842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37843 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37844 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37845 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37846 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37847 add prlimit alias.
37848 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37849
37850 [BZ #11903]
37851 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37852 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37853
37854 * nss/Makefile: Add rules to build and run tst-nss-test1.
37855 * shlib-versions: Add entry for libnss_test1.
37856 * nss/nss_test1.c: New file.
37857 * nss/tst-nss-test1.c: New file.
37858
37859 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37860 (__nss_configure_lookup): Set appropriate entry in
37861 __nss_configure_lookup to true.
37862 * nss/nsswitch.h: Define enum with indeces of databases in
37863 databases and __nss_database_custom arrays. Declare
37864 __nss_database_custom.
37865 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37866 to avoid using nscd when custom rules are installed.
37867 * nss/getXXbyYY_r.c: Likewise.
37868 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37869
37870 * nss/nss_files/files-parse.c: Whitespace fixes.
37871
37872 2010-08-09 Ulrich Drepper <drepper@redhat.com>
37873
37874 [BZ #11883]
37875 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37876 * posix/fnmatch_loop.c: Likewise.
37877
37878 2010-07-17 Andi Kleen <ak@linux.intel.com>
37879
37880 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37881 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37882 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37883 * Versions.def [GLIBC_2.13]: Add.
37884
37885 2010-08-06 Ulrich Drepper <drepper@redhat.com>
37886
37887 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37888 Also fail if tpwd after pwuid call is NULL.
37889
37890 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37891
37892 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37893 when converting to ms.
37894
37895 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37896
37897 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37898 EOPNOTSUPP errors with ENOTTY.
37899 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37900 EOPNOTSUPP errors with ENOTTY.
37901
37902 2010-07-31 Ulrich Drepper <drepper@redhat.com>
37903
37904 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37905 Add strcasecmp_l-ssse3.
37906 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37907 strcasecmp.
37908 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37909 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37910 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37911
37912 2010-07-30 Ulrich Drepper <drepper@redhat.com>
37913
37914 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37915
37916 * string/Makefile (strop-tests): Add strcasecmp.
37917 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37918 strcasecmp_l-nonascii.
37919 (gen-as-const-headers): Add locale-defines.sym.
37920 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37921 * sysdeps/x86_64/strcasecmp.S: New file.
37922 * sysdeps/x86_64/strcasecmp_l.S: New file.
37923 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37924 * sysdeps/x86_64/locale-defines.sym: New file.
37925 * string/test-strcasecmp.c: New file.
37926
37927 * string/test-strcasestr.c: Test both ends of the range of characters.
37928 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37929
37930 2010-07-29 Roland McGrath <roland@redhat.com>
37931
37932 [BZ #11856]
37933 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37934
37935 2010-07-27 Ulrich Drepper <drepper@redhat.com>
37936
37937 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37938 for ld.so.
37939
37940 2010-07-27 Andreas Schwab <schwab@redhat.com>
37941
37942 * manual/memory.texi (Malloc Tunable Parameters): Document
37943 M_PERTURB.
37944
37945 2010-07-26 Roland McGrath <roland@redhat.com>
37946
37947 [BZ #11840]
37948 * configure.in (-fgnu89-inline check): Set and substitute
37949 gnu89_inline, not libc_cv_gnu89_inline.
37950 * configure: Regenerated.
37951 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37952
37953 2010-07-26 Ulrich Drepper <drepper@redhat.com>
37954
37955 * string/test-strnlen.c: New file.
37956 * string/Makefile (strop-tests): Add strnlen.
37957 * string/tester.c (test_strnlen): Add a few more test cases.
37958 * string/tst-strlen.c: Better error reporting.
37959
37960 * sysdeps/x86_64/strnlen.S: New file.
37961
37962 2010-07-24 Ulrich Drepper <drepper@redhat.com>
37963
37964 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37965 lower-latency instructions.
37966
37967 2010-07-23 Ulrich Drepper <drepper@redhat.com>
37968
37969 * string/test-strcasestr.c: New file.
37970 * string/test-strstr.c: New file.
37971 * string/Makefile (strop-tests): Add strstr and strcasestr.
37972 * string/str-two-way.h: Don't undefine MAX.
37973 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37974
37975 2010-07-21 Andreas Schwab <schwab@redhat.com>
37976
37977 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37978 strcasestr-nonascii.
37979 (CFLAGS-strcasestr-nonascii.c): Define.
37980 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37981 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37982 Remove unused attribute.
37983
37984 2010-07-20 Roland McGrath <roland@redhat.com>
37985
37986 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37987 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37988 ld.so.cache was broken. With it, there is no way to disable dsocaps
37989 like LD_HWCAP_MASK can disable hwcaps.
37990
37991 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37992
37993 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37994
37995 2010-07-16 Ulrich Drepper <drepper@redhat.com>
37996
37997 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37998 call in strcasestr.
37999 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38000 __strcasestr_sse42_nonascii.
38001 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38002 strcasestr-nonascii.c.
38003 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38004
38005 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
38006
38007 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38008 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38009 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38010 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38011
38012 2010-07-09 Ulrich Drepper <drepper@redhat.com>
38013
38014 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38015 fcntl.
38016
38017 2010-07-06 Andreas Schwab <schwab@redhat.com>
38018
38019 [BZ #11577]
38020 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38021 dl_signal_cerror.
38022
38023 2010-07-06 Ulrich Drepper <drepper@redhat.com>
38024
38025 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38026 _PC_PIPE_BUF using F_GETPIPE_SZ.
38027
38028 2010-07-05 Roland McGrath <roland@redhat.com>
38029
38030 * manual/arith.texi (Rounding Functions): Fix rint description
38031 implicit in round description.
38032
38033 2010-07-02 Ulrich Drepper <drepper@redhat.com>
38034
38035 * elf/Makefile: Fix linking for a few tests to make recent linker
38036 happy.
38037
38038 2010-06-30 Andreas Schwab <schwab@redhat.com>
38039
38040 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38041 $(common-objpfx)libc_nonshared.a.
38042
38043 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
38044
38045 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38046 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38047 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38048 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38049 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38050 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38051 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38052 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38067 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38068 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38069 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38070 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38071 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38072 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38073 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38074 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38075 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38076 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38077 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38078 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38093
38094 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38095
38096 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38097 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38098 * string/memmove.c (memmove): Renamed to ...
38099 (MEMMOVE): ...this. Default to memmove.
38100 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38101 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38102 (END_CHK): Define.
38103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38104 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38105 mempcpy-ssse3-back memmove-ssse3-back.
38106 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38107 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38108 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38109 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38110 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38111 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38112 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38113 * sysdeps/x86_64/multiarch/memmove.c: New file.
38114 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38115 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38116 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38117 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38118 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38119 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38120 Define.
38121 (index_Fast_Copy_Backward): Define.
38122 (HAS_ARCH_FEATURE): Define.
38123 (HAS_FAST_REP_STRING): Define.
38124 (HAS_FAST_COPY_BACKWARD): Define.
38125
38126 2010-06-21 Andreas Schwab <schwab@redhat.com>
38127
38128 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38129 Restore proper fallback handling.
38130
38131 2010-06-19 Ulrich Drepper <drepper@redhat.com>
38132
38133 [BZ #11701]
38134 * posix/group_member.c (__group_member): Correct checking loop.
38135
38136 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38137 OOM in getpwuid_r correctly. Return error number when the caller
38138 should return, otherwise -1.
38139 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38140 call returning > 0 value.
38141 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38142
38143 2010-06-07 Andreas Schwab <schwab@redhat.com>
38144
38145 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38146 libc_nonshared.a from targets in modules-names.
38147
38148 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38149
38150 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38151 requires it.
38152
38153 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
38154
38155 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38156 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38157 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38158 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38159
38160 2010-06-02 Andreas Schwab <schwab@redhat.com>
38161
38162 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38163
38164 2010-06-14 Ulrich Drepper <drepper@redhat.com>
38165
38166 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38167 and F_GETPIPE_SZ.
38168 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38169 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38170 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38171 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38172 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38173 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38174
38175 2010-06-14 Roland McGrath <roland@redhat.com>
38176
38177 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38178
38179 2010-06-07 Jakub Jelinek <jakub@redhat.com>
38180
38181 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38182 __REDIRECT followed by __THROW.
38183 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38184 * posix/getopt.h (getopt): Likewise.
38185
38186 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38187
38188 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38189 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38190 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38191 in AT_FLAGS.
38192 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38193 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38194
38195 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
38196
38197 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38198
38199 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38200
38201 [BZ #11640]
38202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38203 Properly check family and model.
38204
38205 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38206
38207 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38208
38209 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
38210
38211 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38212
38213 2010-05-21 Ulrich Drepper <drepper@redhat.com>
38214
38215 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38216 symbol reference.
38217
38218 2010-05-19 Andreas Schwab <schwab@redhat.com>
38219
38220 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38221 symbol reference.
38222
38223 2010-05-21 Andreas Schwab <schwab@redhat.com>
38224
38225 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38226 and internal_recvmmsg.
38227 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38228 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38229 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38230 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38231
38232 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38233 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38234 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38235
38236 2010-05-20 Andreas Schwab <schwab@redhat.com>
38237
38238 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38239
38240 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
38241
38242 POWER7 optimizations.
38243 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38244 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38245
38246 2010-05-19 Ulrich Drepper <drepper@redhat.com>
38247
38248 * version.h: Update for 2.13 development version.
38249
38250 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
38251
38252 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38253 exceptions. Return 0.
38254
38255 2010-05-07 Roland McGrath <roland@redhat.com>
38256
38257 * elf/ldconfig.c (main): Add a const.
38258
38259 2010-05-06 Ulrich Drepper <drepper@redhat.com>
38260
38261 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38262 (args_options): Add no-idn option.
38263 (ahosts_keys_int): Add idn_flags to ai_flags.
38264 (parse_option): Handle 'i' option to clear idn_flags.
38265
38266 * malloc/malloc.c (_int_free): Possible race in the most recently
38267 added check. Only act on the data if no current modification
38268 happened.
38269
38270 See ChangeLog.17 for earlier changes.