]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix soft-float ldbl-128ibm atan2l signs of zero results (bug 16390).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
22562bb2
JM
12014-01-03 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #16390]
4 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6
d7ad2d9b
AZ
72014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8
9 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10 extra tokens at end of #undef directive.
11 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14
7f507ee1
AH
152014-01-03 Andrew Hunter <ahh@google.com>
16
0da43124 17 * elf/dl-open.c (dl_open_worker): New comment.
7f507ee1
AH
18 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
19 atomic_compare_and_exchange_bool_acq
20 (_dl_allocate_static_tls): Block signals.
21 * elf/dl-tls.c (allocate_and_init): Return void.
22 (_dl_update_slotinfo): Block signals, use atomic update.
23
7dd009d8
JM
242014-01-03 Joseph Myers <joseph@codesourcery.com>
25
24db925a
JM
26 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27
7dd009d8
JM
28 * math/auto-libm-test-in: Mark various tests with
29 xfail-rounding:ldbl-128ibm.
30 * math/auto-libm-test-out: Regenerated.
31
396e3ecf
JM
322014-01-02 Joseph Myers <joseph@codesourcery.com>
33
819e5d50
JM
34 [BZ #16386]
35 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
36 numbers with subnormal high part when calculating exponent.
37
90b6a1e5
JM
38 [BZ #16385]
39 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
40 fabs.
41
396e3ecf
JM
42 [BZ #16384]
43 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
44 M_LN2l.
45 (__ieee754_acoshl): Use __log1pl not __log1p.
46
6c8dbf00
OB
472013-01-02 Ondřej Bílka <neleai@seznam.cz>
48
49 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
50 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
51 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
52 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
53 Convert to GNU style.
54 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
55 mem2mem_check, mem2chunk_check, top_check, realloc_check,
56 memalign_check, __malloc_set_state): Likewise.
57 * malloc/mallocbug.c (main): Likewise.
58 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
59 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
60 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
61 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
62 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
63 * malloc/malloc.h: Likewise.
64 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
65 memalignhook, reallochook, mabort): Likewise.
66 * malloc/mcheck.h: Likewise.
67 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
68 mmap64, mremap, munmap, dest): Likewise.
69 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
70 * malloc/morecore.c (__default_morecore): Likewise.
71 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
72 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
73 _obstack_allocated_p, obstack_free, _obstack_memory_used,
74 print_and_abort): Likewise.
75 * malloc/obstack.h: Likewise.
76 * malloc/set-freeres.c (__libc_freeres): Likewise.
77 * malloc/tst-mallocstate.c (main): Likewise.
78 * malloc/tst-mtrace.c (main): Likewise.
79 * malloc/tst-realloc.c (do_test): Likewise.
80
d4124212
SP
812013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
82
9a3c6a6f
SP
83 [BZ #16366]
84 * nscd/netgroupcache.c (do_notfound): New function.
85 (addgetnetgrentX): Use it.
86
d4124212
SP
87 [BZ # 16365]
88 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
89 NSS_STATUS_NOTFOUND.
90
97b9a009
JM
912014-01-01 Joseph Myers <joseph@codesourcery.com>
92
93 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
94 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
95
d4697bc9
AM
962014-01-01 Allan McRae <allan@archlinux.org>
97
ddb3687f
AM
98 * scripts/update-copyrights: Update configure input file suffix.
99
88726d48
AM
100 * NEWS: Update copyright year.
101 * catgets/gencat.c: Likewise.
102 * csu/version.c: Likewise.
103 * debug/catchsegv.sh: Likewise.
104 * debug/pcprofiledump.c: Likewise.
105 * debug/xtrace.sh: Likewise.
106 * elf/ldconfig.c: Likewise.
107 * elf/ldd.bash.in: Likewise.
108 * elf/pldd.c: Likewise.
109 * elf/sotruss.ksh: Likewise.
110 * elf/sprof.c: Likewise.
111 * iconv/iconv_prog.c: Likewise.
112 * iconv/iconvconfig.c: Likewise.
113 * locale/programs/locale.c: Likewise.
114 * locale/programs/localedef.c: Likewise.
115 * login/programs/pt_chown.c: Likewise.
116 * malloc/memusage.sh: Likewise.
117 * malloc/memusagestat.c: Likewise.
118 * malloc/mtrace.pl: Likewise.
119 * manual/libc.texinfo: Likewise.
120 * nscd/nscd.c: Likewise.
121 * nss/getent.c: Likewise.
122 * nss/makedb.c: Likewise.
123 * posix/getconf.c: Likewise.
124 * scripts/test-installation.pl: Likewise.
125
d4697bc9
AM
126 * All files with FSF copyright notices: Update copyright dates
127 using scripts/update-copyrights.
128 * intl/plural.c: Regenerated.
129 * locale/programs/charmap-kw.h: Likewise.
130 * locale/programs/locfile-kw.h: Likewise.
131
c8590f9d
MF
1322013-12-31 Mike Frysinger <vapier@gentoo.org>
133
134 * sysdeps/unix/sysv/linux/configure: Regenerated.
135 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
136 the linux/fanotify.h header.
137 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
138 HAVE_LINUX_FANOTIFY_H is defined.
139
b19221b9
SP
1402013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
141
dd1d85e5
SP
142 * benchtests/cos-inputs: New inputs.
143 * benchtests/sin-inputs: Likewise.
144
1acbb90f
SP
145 * benchtests/atan-inputs: New inputs. Fix name of multiple
146 precision fallback inputs.
147
4c012ed3
SP
148 * benchtests/atanh-inputs: New inputs.
149 * benchtests/tanh-inputs: Likewise.
150
eff98324
SP
151 * benchtests/acosh-inputs: New inputs.
152 * benchtests/asinh-inputs: Likewise.
153
ce641152
SP
154 * benchtests/cosh-inputs: New inputs.
155 * benchtests/sinh-inputs: Likewise.
156
b19221b9
SP
157 * benchtests/acos-inputs: Add more inputs.
158 * benchtests/asin-inputs: Likewise.
159
030a4976 1602013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 161
030a4976 162 [BZ #16375]
9dcc8f11
VS
163 * manual/arith.texi: Fix spelling.
164 * manual/charset.texi: Likewise.
165 * manual/errno.texi: Likewise.
166 * manual/filesys.texi: Likewise.
167 * manual/lang.texi: Likewise.
168 * manual/llio.texi: Likewise.
169 * manual/locale.texi: Likewise.
170 * manual/message.texi: Likewise.
171 * manual/resource.texi: Likewise.
172 * manual/search.texi: Likewise.
173 * manual/setjmp.texi: Likewise.
174 * manual/stdio.texi: Likewise.
175 * manual/string.texi: Likewise.
176 * manual/sysinfo.texi: Likewise.
177 * manual/time.texi: Likewise.
178
11520a57
CD
1792013-12-27 Carlos O'Donell <carlos@redhat.com>
180
181 * po/sl.po: New file.
182
471103ae
MF
1832013-12-27 Mike Frysinger <vapier@gentoo.org>
184
185 * .gitignore: Add core/.gdbinit/.gdb_history.
186
6c9642ed
AM
1872013-12-27 Allan McRae <allan@archlinux.org>
188
189 [BZ #16369]
190 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
191 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
192
3f637079
BM
1932013-12-24 Brooks Moses <bmoses@google.com>
194
195 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
196 all compilers that claim C++98 compliance, not just GCC.
197 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
198 Likewise.
199
abc26e99
MK
2002013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
201
202 * NEWS: Restore accidentally deleted bug-fix entries.
203
362b47fe
MK
2042013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
205 Ondřej Bílka <neleai@seznam.cz>
206
207 [BZ #15073]
208 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 209 have_lock.
362b47fe 210
b9bcbbcb
OB
2112013-12-23 Ondřej Bílka <neleai@seznam.cz>
212
213 [BZ #12986]
214 * manual/stdio.texi (String Input Conversions): Clarify that character
215 classes are not supported.
216
fb55fcd2
AZ
2172013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
218
219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
220
ef7344f0
JM
2212013-12-22 Joseph Myers <joseph@codesourcery.com>
222
4f40e4b3
JM
223 [BZ #16337]
224 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
225 Calculate results for small negative arguments directly rather
226 than using reflection formula with special underflow handling.
227
ef7344f0
JM
228 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
229 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
230 sysdeps/unix/bsd/bsd4.4/syscalls.list.
231 (fchflags): Likewise.
232 (revoke): Likewise.
233 (setlogin): Likewise.
234 (sigaltstack): Likewise.
235 (wait4): Likewise.
236 (sigblock): Remove.
237 (sigsetmask): Likewise.
238 (wait3): Likewise.
239 (waitpid): Likewise.
240 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
241 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
242 file.
243 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
244 * sysdeps/unix/bsd/Makefile: ... here.
245 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
246 * sysdeps/unix/bsd/Versions: ... here.
247 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
248 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
249 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
250 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
251 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
252 * sysdeps/unix/bsd/sigblock.c: ... here.
253 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
254 * sysdeps/unix/bsd/sigsetmask.c: ... here.
255 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
256 * sysdeps/unix/bsd/sigvec.c: ... here.
257 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
258 * sysdeps/unix/bsd/tcdrain.c: ... here.
259 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
260 * sysdeps/unix/bsd/tcgetattr.c: ... here.
261 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
262 * sysdeps/unix/bsd/tcsetattr.c: ... here.
263 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
264 * sysdeps/unix/bsd/wait.c: ... here.
265 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
266 * sysdeps/unix/bsd/wait3.c: ... here.
267 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
268 * sysdeps/unix/bsd/waitpid.c: ... here.
269
5b0626b9
JM
2702013-12-21 Joseph Myers <joseph@codesourcery.com>
271
272 [BZ #16356]
273 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
274 round-to-nearest for [!USE_AS_EXPM1L].
275 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
276 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
277 more tests of exp and exp10. Expect some exp10 tests to miss
278 exceptions or fail in directed rounding modes.
279 * math/auto-libm-test-out: Regenerated.
280 * math/libm-test.inc (exp10_tonearest_test_data): New array.
281 (exp10_test_tonearest): New function.
282 (exp10_towardzero_test_data): New array.
283 (exp10_test_towardzero): New function.
284 (exp10_downward_test_data): New array.
285 (exp10_test_downward): New function.
286 (exp10_upward_test_data): New array.
287 (exp10_test_upward): New function.
288 (main): Call the new functions.
289 * sysdeps/i386/fpu/libm-test-ulps: Update.
290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
291
7fda5682
JM
2922013-12-20 Joseph Myers <joseph@codesourcery.com>
293
31e3a405
JM
294 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
295 asinh, atan, atan2, atanh, cbrt, cos and cosh.
296 * math/auto-libm-test-out: Regenerated.
297 * math/libm-test.inc (acosh_test_data): Add more tests.
298 (atanh_test_data): Likewise.
299 (ceil_test_data): Likewise.
300 (copysign_test_data): Likewise.
301 * sysdeps/i386/fpu/libm-test-ulps: Update.
302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
303
85bff96a
JM
304 * timezone/checktab.awk: Update from tzcode 2013i.
305 * timezone/private.h: Likewise.
306 * timezone/scheck.c: Likewise.
307 * timezone/tzfile.h: Likewise.
308 * timezone/tzselect.ksh: Likewise.
309 * timezone/zdump.c: Likewise.
310 * timezone/zic.c: Likewise.
311
b7867a3b
JM
312 * math/auto-libm-test-in: Add tests of cpow.
313 * math/auto-libm-test-out: Regenerated.
314 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
315 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
316 mpc_cc_c.
317 (func_calc_desc): Add mpc_cc_c union field.
318 (test_functions): Add cpow.
319 (special_fill_2pi): New function.
320 (special_real_inputs): Add 2pi.
321 (calc_generic_results): Handle mpc_cc_c.
322 * sysdeps/i386/fpu/libm-test-ulps: Update.
323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
324
7fda5682
JM
325 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
326 csqrt, ctan and ctanh.
327 * math/auto-libm-test-out: Regenerated.
328 * math/libm-test.inc (TEST_COND_x86_64): New macro.
329 (TEST_COND_x86): Likewise.
330 (ccos_test_data): Use AUTO_TESTS_c_c.
331 (ccosh_test_data): Likewise.
332 (cexp_test_data): Likewise.
333 (clog_test_data): Likewise.
334 (csqrt_test_data): Likewise.
335 (ctan_test_data): Likewise.
336 (ctan_tonearest_test_data): Likewise.
337 (ctan_towardzero_test_data): Likewise.
338 (ctan_downward_test_data): Likewise.
339 (ctan_upward_test_data): Likewise.
340 (ctanh_test_data): Likewise.
341 (ctanh_tonearest_test_data): Likewise.
342 (ctanh_towardzero_test_data): Likewise.
343 (ctanh_downward_test_data): Likewise.
344 (ctanh_upward_test_data): Likewise.
345 * math/gen-auto-libm-tests.c (func_calc_method): Add value
346 mpc_c_c.
347 (func_calc_desc): Add mpc_c_c union field.
348 (FUNC_mpc_c_c): New macro.
349 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
350 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
351 ctanh.
352 (special_fill_min_subnorm_p120): New function.
353 (special_real_inputs): Add min_subnorm_p120.
354 (calc_generic_results): Handle mpc_c_c.
355 * sysdeps/i386/fpu/libm-test-ulps: Update.
356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
357
5ff8d60e
SP
3582013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
359
392dd2de
SP
360 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
361 do_sin_slow): New functions.
362 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
363 cslow2, csloww1, csloww2): Use the new functions.
364
84ba214c
SP
365 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
366 Use M to change sign of result instead of X. Assume X is
367 positive.
368 (csloww1): Likewise.
369 (__sin): Adjust.
370 (__cos): Adjust.
371
975195e4
SP
372 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
373 arguments A and DA.
374 (__sin): Adjust.
375 (__cos): Likewise.
376
5ff8d60e
SP
377 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
378 (__cos): Likewise.
379 (sloww1): Don't adjust sign of DX.
380 (csloww1): Likewise.
381 (sloww2): Use X directly and don't adjust sign of DX.
382 (csloww2): Likewise.
383
eb983568
JM
3842013-12-19 Joseph Myers <joseph@codesourcery.com>
385
64a17f1a
JM
386 * math/auto-libm-test-in: Add tests of cabs and carg.
387 * math/auto-libm-test-out: Regenerated.
388 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
389 (carg_test_data): Likewise.
390 * math/gen-auto-libm-tests.c (func_calc_method): Add value
391 mpc_c_f.
392 (func_calc_desc): Add mpc_c_f union field.
393 (test_functions): Add cabs and carg.
394 (calc_generic_results): Handle mpc_c_f.
395
eb983568
JM
396 * sysdeps/powerpc/powerpc32/libgcc-compat.S
397 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
398 as a macro and a compat symbol.
399 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
400 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
401 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
402 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
403 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
404 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
405 not use .hidden.
406 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
407 Likewise.
408 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
409 Likewise.
410 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
411 Likewise.
412 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
413 Likewise.
414 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
415 Likewise.
416 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
417 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
418 from GLIBC_2.3.2.
419
6eeb678a
AZ
4202013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
421
422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
423
063b2acb
PP
4242013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
425
426 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
427 (__signal_safe_memalign, __signal_safe_free): Use it.
428 (__signal_safe_realloc): Likewise.
429
6f6fc482
JM
4302013-12-19 Joseph Myers <joseph@codesourcery.com>
431
21fea2e2
JM
432 * manual/texinfo.tex: Update to version 2013-11-26.10 with
433 trailing whitespace removed.
434 * scripts/config.guess: Update to version 2013-11-29.
435 * scripts/config.sub: Update to version 2013-10-01.
436
6f6fc482
JM
437 * math/auto-libm-test-in: Add tests of sincos.
438 * math/auto-libm-test-out: Regenerated.
439 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
440 * math/gen-auto-libm-tests.c (func_calc_method): Add value
441 mpfr_f_11.
442 (func_calc_desc): Add mpfr_f_11 union field.
443 (test_functions): Add sincos.
444 (calc_generic_results): Handle mpfr_f_11.
445 * sysdeps/i386/fpu/libm-test-ulps: Update.
446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
447
83f5c32d
AS
4482013-12-19 Andreas Schwab <schwab@suse.de>
449
450 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
451 CALL_MCOUNT.
452 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
453 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
454 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
455
c688b419
JM
4562013-12-19 Joseph Myers <joseph@codesourcery.com>
457
335ee092
JM
458 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
459 * sysdeps/i386/fpu/libm-test-ulps: Update.
460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
461
f88acd39
JM
462 [BZ #16293]
463 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
464 round-to-nearest mode when using frndint.
465 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
466 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
467 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
468 Likewise.
469 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
470 sinh test to fail.
471 * math/auto-libm-test-out: Regenerated.
472 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
473 (TEST_COND_x86): Likewise.
474 (expm1_tonearest_test_data): New array.
475 (expm1_test_tonearest): New function.
476 (expm1_towardzero_test_data): New array.
477 (expm1_test_towardzero): New function.
478 (expm1_downward_test_data): New array.
479 (expm1_test_downward): New function.
480 (expm1_upward_test_data): New array.
481 (expm1_test_upward): New function.
482 (main): Run the new test functions.
483 * sysdeps/i386/fpu/libm-test-ulps: Update.
484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
485
c688b419
JM
486 * include/features.h: Update comment documenting feature test
487 macros. Mention _DEFAULT_SOURCE in comment.
488 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
489 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
490 _BSD_SOURCE and _SVID_SOURCE.
491 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
492 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
493 !_SVID_SOURCE]: Likewise.
494 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
495 (__USE_POSIX_IMPLICITLY): Define.
496 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
497 (_POSIX_SOURCE): Undefine and redefine.
498 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
499 (_POSIX_C_SOURCE): Likewise.
500 * manual/creature.texi (_DEFAULT_SOURCE): Document.
501 (Feature Test Macros): Update documentation of default features.
502
9f6e964c
RS
5032013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
504
505 * benchtests/Makefile: Add bench-strtok.
506 * benchtests/bench-strtok.c: New file: strtok benchtest.
507
ee0a148a
AM
5082013-12-19 Allan McRae <allan@archlinux.org>
509
510 * manual/install.texi: Suppress menu for plain text output.
511 * INSTALL: Regenerated.
512
1f33d36a
PP
5132013-12-18 Andrew Hunter <ahh@google.com>
514
515 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
516 (__signal_safe_malloc, __signal_safe_free): Likewise.
517 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
518 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
519 (__signal_safe_memalign, __signal_safe_malloc): New function.
520 (__signal_safe_free, __signal_safe_realloc): Likewise.
521 (__signal_safe_calloc): Likewise.
522 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
523 functions.
524 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
525
35e8f7ab
PP
5262013-12-18 Andrew Hunter <ahh@google.com>
527
528 * elf/Versions (ld): Add _dl_clear_dtv.
529 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
530 * elf/dl-tls.c (_dl_clear_dtv): New function.
531 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
532
69a17d9d
PP
5332013-12-18 Andrew Hunter <ahh@google.com>
534
535 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
536 (_dl_unmask_signals): Likewise.
537 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
538 (_dl_unmask_all_signals): Likewise.
539 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
540 (_dl_unmask_all_signals): Likewise.
541 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
542 (_dl_unmask_signals): Likewise.
543
b9ab448f
BM
5442013-12-18 Brooks Moses <bmoses@google.com>
545
546 [BZ #15846]
547 * misc/getauxval.c: Include errno.h.
548 (__getauxval): Set errno to ENOENT if the requested type is not
549 found.
550 * misc/sys/auxv.h (getauxval): Document that it may set errno;
551 don't declare with __attribute_const__.
552 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
553 * manual/startup.texi: Document that getauxval sets errno.
554
23776487
JM
5552013-12-18 Joseph Myers <joseph@codesourcery.com>
556
f889953b
JM
557 * math/auto-libm-test-in: Add tests of jn and yn.
558 * math/auto-libm-test-out: Regenerated.
559 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
560 (yn_test_data): Likewise.
561 * math/gen-auto-libm-tests.c (func_calc_method): Add value
562 mpfr_if_f.
563 (func_calc_desc): Add mpfr_if_f union field.
564 (FUNC_mpfr_if_f): New macro.
565 (test_functions): Add jn and yn.
566 (calc_generic_results): Assert type of second input for
567 mpfr_ff_f. Handle mpfr_if_f.
568 (output_for_one_input_case): Disable all checking for arguments
569 fitting floating-point types in case of an integer argument.
570 * sysdeps/i386/fpu/libm-test-ulps: Update.
571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
572
23776487
JM
573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
574 Don't expect fegetround reference in libm.so.
575
cb756c6d
MS
5762013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
577
578 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
579 $(config-cflags-nofma).
580
2dec468f
JM
5812013-12-18 Joseph Myers <joseph@codesourcery.com>
582
5953eb3a
JM
583 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
584 * math/auto-libm-test-out: Regenerated.
585
2dec468f
JM
586 [BZ #16338]
587 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
588 to determine exponent and adjust argument to have exponent of -1.
589 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
590 log2.
591 * math/auto-libm-test-out: Regenerated.
592 * sysdeps/i386/fpu/libm-test-ulps: Update.
593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
594
4d84e6ad
OB
5952013-12-18 Ondřej Bílka <neleai@seznam.cz>
596
597 * manual/probes.texi: Remove cases when per-thread arenas are
598 disabled.
599
1818483b
AS
6002013-12-18 Andreas Schwab <schwab@suse.de>
601
602 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
603 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
604 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
605 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
606 * sysdeps/i386/i686/multiarch/Makefile: Update.
607 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
608
25de95bf
JM
6092013-12-17 Joseph Myers <joseph@codesourcery.com>
610
611 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
612 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
613
674762d9
PE
6142013-12-17 Paul Eggert <eggert@cs.ucla.edu>
615
0748546f
PE
616 Support TZ transition times < 00:00:00.
617 This is needed for version-3 tz-format files; it supports time
618 stamps past 2037 for America/Godthab (the only entry in the tz
619 database for which this change is relevant).
620 * manual/time.texi (TZ Variable): Document transition times
621 from -167:59:59 through -00:00:01.
622 * time/tzset.c (tz_rule): Time of day is now signed.
623 (__tzset_parse_tz): Parse negative time of day.
624
4480e934
PE
625 Document TZ transition times >= 25:00:00.
626 * manual/time.texi (TZ Variable): Document transition times from
627 25:00:00 through 167:59:59. These are already supported, and this
628 support will help with version-3 tz-format files.
629
69947401
PE
630 * manual/time.texi (TZ Variable): Modernize North America example
631 to reflect current (i.e., 2007-and-later) daylight saving rules.
632
674762d9
PE
633 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
634
7011c262
JM
6352013-12-17 Joseph Myers <joseph@codesourcery.com>
636
2fc6557e
JM
637 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
638 * sysdeps/unix/bsd/bits/stat.h: Likewise.
639 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
640 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
641 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
642 * sysdeps/unix/bsd/bsdstat.h: Likewise.
643 * sysdeps/unix/bsd/clock.c: Likewise.
644 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
645 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
646 * sysdeps/unix/bsd/init-posix.c: Likewise.
647 * sysdeps/unix/bsd/poll.c: Likewise.
648 * sysdeps/unix/bsd/ptsname.c: Likewise.
649 * sysdeps/unix/bsd/seekdir.c: Likewise.
650 * sysdeps/unix/bsd/setegid.c: Likewise.
651 * sysdeps/unix/bsd/seteuid.c: Likewise.
652 * sysdeps/unix/bsd/setgid.c: Likewise.
653 * sysdeps/unix/bsd/setrgid.c: Likewise.
654 * sysdeps/unix/bsd/setruid.c: Likewise.
655 * sysdeps/unix/bsd/setsid.c: Likewise.
656 * sysdeps/unix/bsd/setuid.c: Likewise.
657 * sysdeps/unix/bsd/sigaction.c: Likewise.
658 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
659 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
660 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
661 * sysdeps/unix/bsd/telldir.c: Likewise.
662 * sysdeps/unix/bsd/times.c: Likewise.
663 * sysdeps/unix/bsd/usleep.c: Likewise.
664
029c7b25
JM
665 * misc/Makefile (install-lib): Remove libbsd-compat.a.
666 ($(objpfx)libbsd-compat.a): Remove rule.
667
7011c262
JM
668 * include/features.h (__FAVOR_BSD): Do not define.
669 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
670 features conflicting with POSIX.
671 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
672 (_BSD_SOURCE): Remove description of not being a subset of other
673 feature test macros.
674 * manual/job.texi (getpgrp): Do not document BSD version.
675 (getpgid): Do not document by reference to BSD getpgrp.
676 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
677 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
678 * signal/signal.h [__FAVOR_BSD]: Likewise.
679 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
680 instead of making contents conditional on [__FAVOR_BSD].
681 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
682
affb6f78
AZ
6832013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
684
685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
686
c88769dd
JM
6872013-12-17 Joseph Myers <joseph@codesourcery.com>
688
6432a540
JM
689 [BZ #16314]
690 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
691 values below 2**-450, not 2**-500.
692 * math/auto-libm-test-in: Don't allow spurious underflow from
693 hypot.
694 * math/auto-libm-test-out: Regenerated.
695
c88769dd
JM
696 [BZ #16316]
697 [BZ #16330]
698 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
699 values of ha and hb and sort them after adjusting subnormal
700 arguments.
701 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
702 Likewise.
703 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
704 values of ea and eb and sort them after adjusting subnormal
705 arguments.
706 * math/auto-libm-test-in: Do not expect some hypot tests of
707 subnormals to fail. Add more hypot tests.
708 * math/auto-libm-test-out: Regenerated.
709
29618f6b
KK
7102013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
711
712 [BZ #13304]
713 * sysdeps/sh/s_fma.c: New file.
714 * sysdeps/sh/s_fmaf.c: New file.
715 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
716 version.
717 * sysdeps/sh/Implies: Add sh/soft-fp.
718
eacfdfbf
RM
7192013-12-16 Roland McGrath <roland@hack.frob.com>
720
721 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
722 level of indirection to members `objname', `errstring', `malloced'.
723 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
724 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
725 it as the __longjmp argument (just pass 1 instead).
726 (_dl_catch_error): Initialize C with argument pointers and address of
727 volatile local ERRCODE rather than copying values out of C at return.
728
ff362e5b
JM
7292013-12-16 Joseph Myers <joseph@codesourcery.com>
730
731 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
732 * math/auto-libm-test-out: Regenerated.
733 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
734 (hypot_test_data): Likewise.
735 (pow_test_data): Likewise.
736 (pow_tonearest_test_data): Likewise.
737 * math/gen-auto-libm-tests.c (func_calc_method): Add value
738 mpfr_ff_f.
739 (func_calc_desc): Add mpfr_ff_f union field.
740 (FUNC_mpfr_ff_f): New macro.
741 (test_functions): Add atan2, hypot and pow.
742 (special_fill_min): New function.
743 (special_fill_minus_min): Likewise.
744 (special_fill_min_subnorm): Likewise.
745 (special_fill_minus_min_subnorm): Likewise.
746 (special_real_inputs): Add min, -min, min_subnorm and
747 -min_subnorm.
748 (calc_generic_results): Handle mpfr_ff_f.
749 * sysdeps/i386/fpu/libm-test-ulps: Update.
750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
751
5764c27f
WN
7522013-12-16 Will Newton <will.newton@linaro.org>
753
754 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
755 (Aligned Memory Blocks): Add documentation for aligned_alloc
756 and suggest it as an alternative to posix_memalign.
757 (Hooks for Malloc): Document __memalign_hook is also called
758 for aligned_alloc. (Summary of Malloc): Add summary for
759 aligned alloc. Document __memalign_hook is also called
760 for aligned_alloc.
761
0a096e44
WN
7622013-12-16 Will Newton <will.newton@linaro.org>
763
764 * manual/memory.texi (Malloc Examples): Clarify default
765 alignment documentation. Suggest posix_memalign rather
766 than memalign or valloc.
767 (Aligned Memory Blocks): Remove suggestion to use memalign
768 or valloc. Remove obsolete comment about BSD.
769 Document memalign errno values and mark the function obsolete.
770 Document posix_memalign returned error codes. Mark valloc
771 as obsolete. (Hooks for Malloc): __memalign_hook is also
772 called for posix_memalign and valloc.
773 (Summary of Malloc): Add posix_memalign to function summary.
774 __memalign_hook is also called for posix_memalign and valloc.
775
8d561986
SP
7762013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
777
778 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
779 TAYLOR_SIN.
780 (__sin): Adjust.
781 (__cos): Likewise.
782 (sloww): Use mynumber union. Expand ternary operator into
783 if-else statements.
784 (cslow): use mynumber union.
785
73616a74
AM
7862013-12-16 Allan McRae <allan@archlinux.org>
787
9e8ac24b
AM
788 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
789 * configure: Regenerated.
790
6f8e37eb
AM
791 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
792
8894bad3
AM
793 [BZ #14120]
794 * configure.ac: Added --enable-maintainer-mode. Check for
795 autoconf when enabled.
796 * configure: Regenerated.
797
73616a74
AM
798 * nscd/nscd.service: New file.
799 * nscd/nscd.tmpfiles: New file.
800
584b18eb
OB
8012013-12-14 Ondřej Bílka <neleai@seznam.cz>
802
803 [BZ #12100]
804 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
805 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
806 * sysdeps/x86_64/multiarch/strstr.c: ... here.
807 (strstr): Add __strstr_sse2_unaligned ifunc.
808 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
809 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
810 (strcasestr): Remove __strcasestr_sse42 ifunc.
811 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
812 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
813 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
814
8a5c7897
KK
8152013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
816
817 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
818 * sysdeps/sh/bits/fenv.h: ... here.
819 * sysdeps/sh/sh4/fpu/bits: Remove directory.
820
fd712ef3
AZ
8212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
822
823 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
824
42fcb46c
AZ
8252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
826
827 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
828 hypotf multiarch implementations.
829 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
830 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
831 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
832 multiarch hypot for PPC64.
833 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
834 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
835 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
836 multiarch hypotf for PPC64.
837
83efded4
AZ
8382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
839
840 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
841 modff multiarch implementations.
842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
845 multiarch modf for PPC64.
846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
849 multiarch modff for PPC64.
850
43e246d2
AZ
8512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
852
853 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
854 and logl multiarch implementations.
855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
858 multiarch logb for PPC64.
859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
862 multiarch logb for PPC64.
863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
866 multiarch logb for PPC64.
867
8fdad123
AZ
8682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
869
870 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
871 isinff multiarch implementation.
872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
873 file.
874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
876 multiarch isinf for PPC64.
877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
878 file.
879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
880 multiarch isinff for PPC64.
881
1481d706
AZ
8822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
883
884 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
885 finitef multiarch implementation.
886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
887 file.
888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
890 multiarch finite for PPC64.
891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
892 file.
893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
894 multiarch finitef for PPC64.
895
5ccd5fc8
AZ
8962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
897
898 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
899 lrint multiarch implementation.
900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
901 file.
902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
904 multiarch llrint for PPC64.
905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
906 multiarch lrint for PPC64.
907
2568f3fa
AZ
9082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
909
910 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
911 copysignf multiarch implementation.
912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
913 file.
914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
915 file.
916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
917 multiarch copysign for PPC64.
918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
919 multiarch copysignf for PPC64.
920
1cb341fd
AZ
9212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
922
923 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
924 multiarch implementation.
925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
926 file.
927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
928 file.
929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
930 file.
931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
932 file.
933 multiarch llround for PPC64.
934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
935 multiarch trunc for PPC64.
936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
937 multiarch truncf for PPC64.
938
59a3e194
AZ
9392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
940
941 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
942 multiarch implementation.
943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
944 file.
945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
946 file.
947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
948 file.
949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
950 file.
951 multiarch llround for PPC64.
952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
953 multiarch round for PPC64.
954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
955 multiarch roundf for PPC64.
956
357fd3b4
AZ
9572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
958
959 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
960 multiarch implementation.
961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
962 file.
963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
964 file.
965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
966 file.
967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
968 file.
969 multiarch llround for PPC64.
970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
971 multiarch floor for PPC64.
972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
973 multiarch floorf for PPC64.
974
96770f12
AZ
9752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
976
977 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
978 multiarch implementation.
979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
980 file.
981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
982 file.
983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
984 file.
985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
986 file.
987 multiarch llround for PPC64.
988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
989 multiarch ceil for PPC64.
990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
991 multiarch ceilf for PPC64.
992
c3627f6e
AZ
9932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
994
995 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
996 multiarch implementation.
997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
998 file.
999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1000 file.
1001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1002 file.
1003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1004 multiarch llround for PPC64.
1005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1006 multiarch lround for PPC64.
1007
b2284ad7
AZ
10082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1009
1010 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1011 multiarch implementation.
1012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1015 file.
1016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1019 multiarch isnan for PPC64.
1020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1021 multiarch isnanf for PPC64.
1022
69bbc63d
AZ
10232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1024
1025 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1026 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1027 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1028 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1029 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1031
c24517c9
AZ
10322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1033
1034 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1035 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1036 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1037 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1038
a52374e8
AZ
10392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1040
1041 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1042 multiarch implementations.
1043 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1044 (__libc_ifunc_impl_list): Likewise.
1045 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1046 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1047 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1048 multiarch stpcpy for PPC64.
1049
7f5ec113
AZ
10502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1051
1052 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1053 multiarch implementations.
1054 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1055 (__libc_ifunc_impl_list): Likewise.
1056 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1057 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1058 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1059 multiarch strcpy for PPC64.
1060
e28bcd42
AZ
10612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1062
1063 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1064 redefine function name.
1065 (_wordcopy_fwd_dest_aligned): Likewise.
1066 (_wordcopy_bwd_aligned): Likewise.
1067 (_wordcopy_bwd_dest_aligned): Likewise.
1068 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1069 multiarch implementations.
1070 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1071 (__libc_ifunc_impl_list): Likewise.
1072 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1073 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1074 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1075 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1076 multiarch wcscpy for PPC64.
1077
92cacfce
AZ
10782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1079
1080 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1081 multiarch implementations.
1082 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1083 (__libc_ifunc_impl_list): Likewise.
1084 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1085 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1086 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1087 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1088 multiarch wcscpy for PPC64.
1089
7b714620
AZ
10902013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1091
1092 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1093 multiarch implementations.
1094 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1095 (__libc_ifunc_impl_list): Likewise.
1096 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1097 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1098 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1099 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1100 multiarch wcsrchr for PPC64.
1101
16fd2ae3
AZ
11022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1103
1104 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1105 multiarch implementations.
1106 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1107 (__libc_ifunc_impl_list): Likewise.
1108 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1109 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1110 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1111 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1112 multiarch wcschr for PPC64.
1113
9ee2969b
AZ
11142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1115
1116 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1117 multiarch implementations.
1118 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1119 (__libc_ifunc_impl_list): Likewise.
1120 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1121 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1122 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1123 multiarch strchrnul for PPC64.
1124
372dc060
AZ
11252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1126
1127 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1128 implementations.
1129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1130 (__libc_ifunc_impl_list): Likewise.
1131 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1132 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1133 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1134 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1135 strchr for PPC64.
1136
24c2c3b9
AZ
11372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1138
1139 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1140 implementations.
1141 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1142 (__libc_ifunc_impl_list): Likewise.
1143 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1144 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1145 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1146 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1147 strncmp for PPC64.
1148
1c92d9a0
AZ
11492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1150
1151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1152 multiarch implementations.
1153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1154 (__libc_ifunc_impl_list): Likewise.
1155 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1156 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1157 strncasecmp for PPC64.
1158 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1159 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1160 multiarch strncasecmp_l for PPC64.
1161
17de3ee3
AZ
11622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1163
1164 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1165 multiarch implementations.
1166 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1167 (__libc_ifunc_impl_list): Likewise.
1168 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1169 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1170 multiarch strcasecmp for PPC64.
1171 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1172 file.
1173 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1174 multiarch strcasecmp_l for PPC64.
1175
62982bf9
AZ
11762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1177
1178 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1179 implementations.
1180 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1181 (__libc_ifunc_impl_list): Likewise.
1182 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1183 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1184 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1185 strnlen for PPC64.
1186
a65f4904
AZ
11872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1188
1189 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1190 implementations.
1191 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1192 (__libc_ifunc_impl_list): Likewise.
1193 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1194 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1195 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1196 strlen for PPC64.
1197
1fd005ad
AZ
11982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1199
1200 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1201 implementations.
1202 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1203 (__libc_ifunc_impl_list): Likewise.
1204 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1205 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1206 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1207 rawmemrchr for PPC64.
1208
cd05ba91
AZ
12092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1210
1211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1212 implementation.
1213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1214 (__libc_ifunc_impl_list): Likewise.
1215 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1216 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1217 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1218 memrchr for PPC64.
1219
870f8676
AZ
12202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1221
1222 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1223 implementation.
1224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1225 (__libc_ifunc_impl_list): Likewise.
1226 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1227 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1228 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1229 memchr for PPC64.
1230
f00be62b
AZ
12312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1232
1233 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1234 implementation.
1235 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1236 (__libc_ifunc_impl_list): Likewise.
1237 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1238 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1239 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1240 mempcpy for PPC64.
1241
8a29a3d0
AZ
12422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1243
1244 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1245 avoid cretion of __bzero symbol.
1246 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1247 Likewise.
1248 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1249 Likewise.
1250 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1251 Likewise.
1252 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1253 multiarch implementations.
1254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1255 (__libc_ifunc_impl_list): Likewise.
1256 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1257 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1258 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1259 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1260 bzero for PPC32.
1261 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1262 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1263 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1264 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1265 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1266 memset for PPC64.
1267 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1268
07253fcf
AZ
12692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1270
1271 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1272 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1273 implementations.
1274 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1275 (__libc_ifunc_impl_list): Likewise.
1276 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1277 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1278 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1279 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1280 memcmp for PPC64.
1281
b5beafbc
AZ
12822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1283
1284 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1285 multiarch for POWER/PPC64.
1286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1287 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1288 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1289 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1290 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1291 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1292 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1293 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1294 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1295 memcpy for PPC64.
1296
5e6a4d4b
AZ
12972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1298
1299 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1300 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1301 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1302 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1303 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1304 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1305 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1306 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1307 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1308 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1309 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1310 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1311 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1312 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1313 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1321
ddfab6dc
KK
13222013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1323
1324 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1325
19b5525e
SP
13262013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1327
1328 * benchtests/Makefile (bench): Add exp2 and log2.
1329 (LDLIBS-bench-exp2): Add -lm.
1330 (LDLIBS-bench-log2): Likewise.
1331 * benchtests/exp2-inputs: New inputs file.
1332 * benchtests/log2-inputs: New inputs file.
1333 * benchtests/log-inputs: Add new inputs.
1334 * benchtests/tan-inputs: Likewise.
1335
196f7f5d
SP
13362013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1337
7a74607f
SP
1338 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1339 definition...
1340 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1341 csloww1, csloww2): ... from here.
1342
196f7f5d
SP
1343 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1344 instead of structures.
1345 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1346 (POLYNOMIAL): Likewise.
1347 (TAYLOR_SLOW): Likewise.
1348 (__sin): Likewise.
1349 (__cos): Likewise.
1350 (slow1): Likewise.
1351 (slow2): Likewise.
1352 (sloww): Likewise.
1353 (sloww1); Likewise.
1354 (sloww2): Likewise.
1355 (bsloww1): Likewise.
1356 (bsloww2): Likewise.
1357 (cslow2): Likewise.
1358 (csloww): Likewise.
1359 (csloww1): Likewise.
1360 (csloww2): Likewise.
1361
0dfa665c
OB
13622013-12-10 Ondřej Bílka <neleai@seznam.cz>
1363
1364 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1365 (__malloc_assert, __libc_realloc, __libc_calloc,
1366 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1367 memcpy and memset.
1368 * malloc/hooks.c (realloc_check): Likewise.
1369
5782a80f
OB
13702013-12-10 Ondřej Bílka <neleai@seznam.cz>
1371
1372 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1373 * malloc/arena.c: Remove PER_THREAD conditional.
1374 [!PER_THREAD]: Remove code.
1375 (ptmalloc_unlock_all2): Likewise.
1376 (ptmalloc_init): Likewise.
1377 (_int_new_arena): Likewise.
1378 (arena_get2): Likewise.
1379 * malloc/hooks.c (__malloc_get_state): Likewise.
1380 (__malloc_set_state): Likewise.
1381 * malloc/malloc.c: Likewise.
1382 (struct malloc_state): Likewise.
1383 (struct malloc_par): Likewise.
1384 (__libc_realloc): Likewise.
1385 (__libc_mallopt): Likewise.
1386
aeb95445
AZ
13872013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1388
1389 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1390
e8349efd
OB
13912013-12-09 Ondřej Bílka <neleai@seznam.cz>
1392
1393 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1394 macro to a function. Check for zero perturb_byte.
1395 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1396
f3eeb3fc
OB
13972013-12-09 Ondřej Bílka <neleai@seznam.cz>
1398
1399 * malloc/malloc.c: (force_reg): Remove.
1400 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1401 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1402 force_reg by atomic_forced_read.
1403 * malloc/arena.c (ptmalloc_init): Likewise.
1404 * malloc/hooks.c (top_check): Likewise.
1405
be2f9009
AZ
14062013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1407
1408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1409
e7b914bd
MT
14102013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1411
1412 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1413
9f0be4f8
JM
14142013-12-08 Joseph Myers <joseph@codesourcery.com>
1415
1416 * math/auto-libm-test-in: Add tests of lgamma.
1417 * math/auto-libm-test-out: Regenerated.
1418 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1419 (M_LOG_2_SQRT_PIl): Likewise.
1420 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1421 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1422 mpfr_f_f1.
1423 (func_calc_desc): Add mpfr_f_f1 union field.
1424 (ARGS1): New macro.
1425 (ARGS2): Likewise.
1426 (ARGS3): Likewise.
1427 (ARGS4): Likewise.
1428 (RET1): Likewise.
1429 (RET2): Likewise.
1430 (CALC): Likewise.
1431 (FUNC): Likewise.
1432 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1433 (test_functions): Add lgamma.
1434 (calc_generic_results): Handle mpfr_f_f1.
1435 * sysdeps/i386/fpu/libm-test-ulps: Update.
1436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1437
24eeafdb
AZ
14382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1439
1440 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1441 __mpn_add_n for PowerPC64/POWER7.
1442 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1443 __mpn_sub_n for PowerPC64/POWER7.
1444
4a2c0fd4
AZ
14452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1446
1447 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1448 __mpn_addmul_1 for PowerPC64.
1449 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1450 __mpn_submul_1 for PowerPC64.
1451 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1452 for PowerPC64.
1453 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1454 for PowerPC64.
1455
4b5b548c
FS
14562013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1457
1458 [BZ #15089]
1459 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1460
0a3ac0aa
AZ
14612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1462
1463 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1464
ccdc8438
AZ
14652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1466
1467 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1468 add multiarch folders.
1469 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1470 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1471 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1472 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1473 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1474 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1475 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1476 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1477 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1478 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1479 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1486
2e973d99
AZ
14872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1488
1489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1490 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1492 New file.
1493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1494 New file.
1495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1496 multiarch __ieee754_hypot for PowerPC32.
1497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1498 New file.
1499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1500 New file.
1501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1502 multiarch __ieee754_hypotf for PowerPC32.
1503
2d9470b2
AZ
15042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1505
1506 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1507 long_double_symbol only if __logbl is defined.
1508 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1509 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1510 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1511 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1512 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1513 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1514 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1515 path for implementation.
1516 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1517 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1519 logb, and logbl multiarch implementations for PowerPC32.
1520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1521 file.
1522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1523 file.
1524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1525 multiarch logb for PowerPC32.
1526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1527 file.
1528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1529 file.
1530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1531 multiarch logbf for PowerPC32.
1532 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1534 file.
1535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1536 multiarch logbl implementation for PowerPC32.
1537
5212ffce
AZ
15382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1539
1540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1541 and modff multiarch implementations.
1542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1543 New file.
1544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1545 New file.
1546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1547 multiarch modf for PowerPC32.
1548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1549 New file.
1550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1551 New file.
1552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1553 multiarch modff for PowerPC32.
1554
79dccf31
AZ
15552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1556
1557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1558 and lrintf multiarch implementations.
1559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1560 New file.
1561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1562 New file.
1563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1564 multiarch lrint for PowerPC32.
1565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1566 file: multiarch lrintf for PowerPC32.
1567
deb66480
AZ
15682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1569
1570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1571 and lroundf multiarch implementations.
1572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1573 New file.
1574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1575 New file.
1576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1577 New file.
1578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1579 multiarch lround for PowerPC32.
1580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1581 file: multiarch lroundf for PowerPC32.
1582
264b036b
AZ
15832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1584
1585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1586 copysign and copysignf multiarch implementations.
1587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1588 New file.
1589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1590 New file.
1591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1592 file: multiarch copysign for PowerPC32.
1593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1594 file: multiarch copysignf for PowerPC32.
1595
d47db6c9
AZ
15962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1597
1598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1599 and truncf multiarch implementations.
1600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1601 New file.
1602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1603 file.
1604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1605 multiarch trunc for PowerPC32.
1606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1607 New file.
1608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1609 New file.
1610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1611 multiarch truncf for PowerPC32.
1612
ddb60b5a
AZ
16132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1614
1615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1616 and roundf multiarch implementations.
1617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1618 New file.
1619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1620 file.
1621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1622 multiarch round for PowerPC32.
1623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1624 New file.
1625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1626 New file.
1627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1628 multiarch roundf for PowerPC32.
1629
bedcf49b
AZ
16302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1631
1632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1633 and floorf multiarch implementations.
1634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1635 New file.
1636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1637 file.
1638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1639 multiarch floor for PowerPC32.
1640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1641 New file.
1642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1643 New file.
1644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1645 multiarch floorf for PowerPC32.
1646
35ae5b40
AZ
16472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1648
1649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1650 and ceilf multiarch implementations.
1651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1652 New file.
1653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1654 file.
1655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1656 multiarch ceil for PowerPC32.
1657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1658 New file.
1659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1660 file.
1661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1662 multiarch ceilf for PowerPC32.
1663
ae1a4cd9
AZ
16642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1665
1666 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1667 is defined.
1668 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1669 FINITEF is defined.
1670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1671 and finitef multiarch implementations.
1672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1673 New file.
1674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1675 file.
1676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1677 multiarch finite for PowerPC32.
1678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1679 New file.
1680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1681 file: multiarch finitef for PowerPC32.
1682
64fffd65
AZ
16832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1684
1685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1686 and isinff multiarch implementations.
1687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1688 file.
1689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1690 file.
1691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1692 multiarch isinf for PowerPC32.
1693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1694 New file.
1695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1696 multiarch isinff for PowerPC32.
1697
8e4e7ba2
AZ
16982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1699
1700 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1701 alias when __isnan is defined.
1702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1703 and isnanf multiarch implementations.
1704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1705 file.
1706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1707 file.
1708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1709 file.
1710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1711 file.
1712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1713 multiarch isnan for PowerPC32.
1714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1715 New file.
1716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1717 New file.
1718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1719 multiarch isnanf for PowerPC32.
1720
ddba588e
AZ
17212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1722
1723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1724 and sqrtf multiarch implementations.
1725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1726 file.
1727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1728 file.
1729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1730 multiarch sqrt for PowerPC32.
1731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1732 file.
1733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1734 file.
1735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1736 multiarch sqrtf for PowerPC32.
1737
0f96a2f0
AZ
17382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1739
1740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1741 and llroundf multiarch implementations.
1742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1743 New file.
1744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1745 New file.
1746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1747 New file.
1748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1749 file: multiarch llround for PowerPC32.
1750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1751 file: multiarch llroundf for PowerPC32.
1752
c9b5d79e
AZ
17532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1754
1755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1756 multiarch PowerPC32 fpu implementations.
1757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1758 New file.
1759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1760 New file.
1761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1762 multiarch llrint for PowerPC32.
1763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1764 New file.
1765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1766 New file.
1767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1768 file.
1769
9cbb3aab
AZ
17702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1771
1772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1773
ea5a72f8
AZ
17742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1775
1776 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1777 file.
1778 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1779 file.
1780 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1781 file.
1782 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1783 multiarch wordcopy for PPC32.
1784 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1785 wordcopy objects.
1786 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1787 (__libc_ifunc_impl_list): Likewise.
1788 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1789 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1790 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1791 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1792 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1793 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1794
93be09e7
AZ
17952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1796
1797 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1798 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1799 file.
1800 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1801 file.
1802 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1803 file.
1804 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1805 multiarch wcscpy for PPC32.
1806 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1807 multiarch objects.
1808 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1809 (__libc_ifunc_impl_list): Likewise.
1810 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1811 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1812 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1813 sysdeps/powerpc/power6/wcscpy.c.
1814
bb04e529
AZ
18152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1816
1817 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1818 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1819 file.
1820 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1821 file.
1822 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1823 file.
1824 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1825 multiarch wcsrchr for PPC32.
1826 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1827 multiarch objects.
1828 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1829 (__libc_ifunc_impl_list): Likewise.
1830 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1831 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1832 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1833 sysdeps/powerpc/power6/wcsrchr.c.
1834
05b5cd1c
AZ
18352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1836
1837 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1838 file.
1839 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1840 file.
1841 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1842 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1843 multiarch wcschr for PPc32.
1844 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1845 multiarch objects.
1846 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1847 (__libc_ifunc_impl_list): Likewise.
1848 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1849 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1850 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1851 sysdeps/powerpc/power6/wcschr.c.
1852
ba964147
AZ
18532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1854
1855 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1856 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1857 file.
1858 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1859 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1860 file: multiarch strchr for PPC32.
1861 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1862 multiarch objects.
1863 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1864 (__libc_ifunc_impl_list): Likewise.
1865
31c81aaa
AZ
18662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1867
1868 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1869 name.
1870 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1871 file.
1872 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1873 file.
1874 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1875 multiarch strchrnul for PPC32.
1876 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1877 multiarch objects.
1878 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1879 (__libc_ifunc_impl_list): Likewise.
1880
0d0607d9
AZ
18812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1882
1883 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1884 file.
1885 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1886 multiarch strncasecmp for PPC32.
1887 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1888 file.
1889 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1890 multiarch strncasecmp_l for PPC32.
1891 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1892 strncasecmp multiarch objects.
1893 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1894 (__libc_ifunc_impl_list): Likewise.
1895
4dfd5c86
AZ
18962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1897
1898 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1899 file.
1900 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1901 multiarch strncasecmp for PPC32.
1902 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1903 New file.
1904 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1905 multiarch strcasecmp_l for PPC32.
1906 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1907 multiarch objects.
1908 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1909 (__libc_ifunc_impl_list): Likewise.
1910
a19e01a3
AZ
19112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1912
1913 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1914 file.
1915 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1916 file.
1917 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1918 multiarch strncmp for PPC32.
1919 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1920 multiarch objects.
1921 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1922 (__libc_ifunc_impl_list): Likewise.
1923
ae9cf7a2
AZ
19242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1925
1926 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1927 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1928 file.
1929 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1930 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1931 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1932 multiarch objects.
1933 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1934 (__libc_ifunc_impl_list): Likewise.
1935
3148bb7d
AZ
19362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1937
1938 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1939 file.
1940 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1941 file.
1942 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1943 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1944 multiarch objects.
1945 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1946 (__libc_ifunc_impl_list): Likewise.
1947
7af8b946
AZ
19482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1949
1950 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1951 file.
1952 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1953 file.
1954 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1955 multiarch rawmemchr for PPC32.
1956 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1957 multiarch objects.
1958 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1959 (__libc_ifunc_impl_list): Likewise.
1960
03a6aa6a
AZ
19612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1962
1963 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1964 file.
1965 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1966 file.
1967 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1968 file: memrchr multiarch for PPC32.
1969 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1970 multiarch objects.
1971 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1972 (__libc_ifunc_impl_list): Likewise.
1973
1c62e6d9
AZ
19742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1975
1976 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1977 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1978 file.
1979 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1980 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1981 multiarch memchr for PPC32.
1982 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1983 multiarch objects.
1984 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1985 (__libc_ifunc_impl_list): Likewise.
1986
87da8bdb
AZ
19872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1988
1989 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1990 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1991 file.
1992 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1993 file.
1994 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1995 file: multiarch mempcpy for PPC32.
1996 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1997 multiarch objects.
1998 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1999 (__libc_ifunc_impl_list): Likewise.
2000
20ed4714
AZ
20012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2002
2003 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2004 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2005 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2006 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2007 multiarch bzero for PPC32.
2008 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2009 file.
2010 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2011 file.
2012 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2013 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2014 file: multiarch memset for PPC32.
2015 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2016 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2017 memset multiarch objects.
2018 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2019 (__libc_ifunc_impl_list): Likewise.
2020
ab3e3a46
AZ
20212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2022
2023 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2024 file.
2025 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2026 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2027 memcmp for PPC32.
2028 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2029 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2030 multiarch objects.
2031 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2032 (__libc_ifunc_impl_list): Likewise.
2033
930de6f0
AZ
20342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2035
2036 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2037 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2038 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2039 file.
2040 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2041 file.
2042 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2043 file.
2044 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2045 multiarch memcpy for PPC32.
2046 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2047 multiarch objects.
2048 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2049 (__libc_ifunc_impl_list): Likewise.
2050
4c628e00
AZ
20512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2052
2053 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2054 support multiarch for POWER/PPC32.
2055 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2056 Likewise.
2057 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2059 Implies file to make multiarch folder appers before the fpu and
2060 default folder for power4 configuration.
2061
f4479220
SP
20622013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2063
2064 * scripts/bench.pl: Append volatile keyword to type.
2065
8517800f
KK
20662013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2067
2068 * sysdeps/sh/sotruss-lib.c: New file.
2069 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2070
180138f1
AZ
20712013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2072
2073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2074
bbf37bdc
JM
20752013-12-05 Joseph Myers <joseph@codesourcery.com>
2076
e47cc4e0
JM
2077 [BZ #6810]
2078 * math/w_tgamma.c: Include <errno.h>.
2079 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2080 * math/w_tgammaf.c: Include <errno.h>.
2081 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2082 * math/w_tgammal.c: Include <errno.h>.
2083 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2084 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2085 underflow. Add more tgamma tests.
2086 * math/auto-libm-test-out: Regenerated.
2087 * sysdeps/i386/fpu/libm-test-ulps: Update.
2088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2089
bbf37bdc
JM
2090 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2091 sin, sinh, tan, tanh, tgamma, y0 and y1.
2092 * math/auto-libm-test-out: Regenerated.
2093 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2094 (TEST_COND_x86): Likewise.
2095 (M_E2l): Remove macro.
2096 (M_E3l): Likewise.
2097 (M_2_SQRT_PIl): Likewise.
2098 (M_SQRT_PIl): Likewise.
2099 (M_1_DIV_El): Likewise.
2100 (log_test_data): Use AUTO_TESTS_f_f.
2101 (log10_test_data): Likewise.
2102 (log1p_test_data): Likewise.
2103 (log2_test_data): Likewise.
2104 (sin_test_data): Likewise.
2105 (sin_tonearest_test_data): Likewise.
2106 (sin_towardzero_test_data): Likewise.
2107 (sin_downward_test_data): Likewise.
2108 (sin_upward_test_data): Likewise.
2109 (sinh_test_data): Likewise.
2110 (sinh_tonearest_test_data): Likewise.
2111 (sinh_towardzero_test_data): Likewise.
2112 (sinh_downward_test_data): Likewise.
2113 (sinh_upward_test_data): Likewise.
2114 (tan_test_data): Likewise.
2115 (tan_tonearest_test_data): Likewise.
2116 (tan_towardzero_test_data): Likewise.
2117 (tan_downward_test_data): Likewise.
2118 (tan_upward_test_data): Likewise.
2119 (tanh_test_data): Likewise.
2120 (tgamma_test_data): Likewise.
2121 (y0_test_data): Likewise.
2122 (y1_test_data): Likewise.
2123 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2124 (special_real_inputs): Add pi/4.
2125 * sysdeps/i386/fpu/libm-test-ulps: Update.
2126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2127
eb5ad6b9
AZ
21282013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2129
2130 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2131 "longjmp_target" static probes.
2132 (__longjmp): Rename to __longjmp_symbol.
2133 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2134 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2135 on which longjmp to generate.
2136 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2137 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2138 probe.
2139 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2140 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2141 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2142 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2143 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2144 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2146 __longjmp_symbol based on which __longjmp to generate.
2147 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2148 probe.
2149 (setjmp): Rename to setjmp_symbol.
2150 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2151 (_setjmp): Rename to _setjmp_symbol.
2152 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2153 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2154 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2155 which setjmp to generate.
2156 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2157 "longjmp_target" static probes.
2158
d136c6dc
SP
21592013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2160
9298ecba
SP
2161 * benchtests/README: Add note about output arguments.
2162 * benchtests/bench-sincos.c: Remove file.
2163 * benchtests/sincos-inputs: New file.
2164 * scripts/bench.pl: Identify output arguments and define
2165 static variables for them.
2166
232983e9
SP
2167 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2168
d136c6dc
SP
2169 [BZ #15941]
2170 * Makefile (INSTALL): Add install-plain.texi as the primary
2171 dependency.
2172 * manual/install-plain.texi: New file.
2173 * manual/install.texi: Include node directive only for
2174 non-plaintext output.
2175
699ff837
JM
21762013-12-04 Joseph Myers <joseph@codesourcery.com>
2177
ab07cea8
JM
2178 * stdlib/longlong.h: Update from GCC.
2179
699ff837
JM
2180 [BZ #6807]
2181 [BZ #15901]
2182 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2183 * math/w_j0f.c (y0f): Likewise.
2184 * math/w_j0l.c (__y0l): Likewise.
2185 * math/w_j1.c (y1): Likewise.
2186 * math/w_j1f.c (y1f): Likewise.
2187 * math/w_j1l.c (__y1l): Likewise
2188 * math/w_jn.c (yn): Likewise.
2189 * math/w_jnf.c (ynf): Likewise.
2190 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2191 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2192 value for Bessel function domain errors outside _SVID_ mode.
2193 Adjust sign of return value for yn (negative integer, 0).
2194 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2195 by zero in return for negative x and set sign appropriately for
2196 negative n.
2197 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2198 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2199 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2200 expectations in error cases.
2201 (y1_test_data): Likewise.
2202 (yn_test_data): Likewise.
2203 * sysdeps/i386/fpu/libm-test-ulps: Update.
2204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2205
5b118558
UW
22062013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2207
2208 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2209 "64" to "64-v1". Add "64-v2".
2210 (abi-64-options): Rename to ...
2211 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2212 (abi-64-condition): Rename to ...
2213 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2214 (abi-64-ld-soname): Rename to ...
2215 (abi-64-v1-ld-soname): ... this.
2216 (abi-64-v2-options): Define.
2217 (abi-64-v2-condition): Likewise.
2218 (abi-64-v2-ld-soname): Likewise.
2219 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2220 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2224
61cd8fe4
UW
22252013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2226 Alan Modra <amodra@gmail.com>
2227
2228 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2229 New versions for use with the ELFv2 ABI.
2230 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2231 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2232 declaration.
2233 (struct La_ppc64v2_retval): Likewise.
2234 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2235 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2236 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2237 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2238 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2239 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2240 Do not save or restore CR.
2241 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2242 (_dl_profile_resolve): Do no save or restore CR. Support extended
2243 return values for ELFv2 ABI. Fix location of FPR return registers.
2244 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2245 updated values for _CALL_ELF == 2.
2246 (La_regs, La_retval, int_retval): Likewise.
2247
8b8a692c
UW
22482013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2249
2250 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2251 (FRAME_MIN_SIZE_PARM): Likewise.
2252 (FRAME_BACKCHAIN): Likewise.
2253 (FRAME_CR_SAVE): Likewise.
2254 (FRAME_LR_SAVE): Likewise.
2255 (FRAME_TOC_SAVE): Likewise.
2256 (FRAME_PARM_SAVE): Likewise.
2257 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2258 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2259 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2260 (call_mcount_parm_offset): New macro.
2261 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2262 (PROF): Use symbolic stack frame offsets.
2263 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2264 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2265 Redefine in terms of FRAME_MIN_SIZE.
2266 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2267 (_dl_profile_resolve): Likewise. Update comment.
2268 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2269 symbols stack frame offsets.
2270 (__sigsetjmp): Likewise.
2271 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2272 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2273 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2274 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2275
2276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2277 (FRAME_BACKCHAIN): Remove.
2278 (FRAME_CR_SAVE): Likewise.
2279 (FRAME_LR_SAVE): Likewise.
2280 (FRAME_COMPILER_DW): Likewise.
2281 (FRAME_LINKER_DW): Likewise.
2282 (FRAME_TOC_SAVE): Likewise.
2283 (FRAME_PARM_SAVE): Likewise.
2284 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2285 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2286 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2288 (CHECK_SP): Use symbolic stack frame offsets.
2289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2290 zone" instead of caller's parameter save area for temp storage.
2291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2292 Likewise. Also, use symbolic stack frame offsets.
2293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2294 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2295 our own stack frame instead of the caller's.
2296 (__socket): Use symbolic stack frame offsets.
2297
122b66de
UW
22982013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2299 Alan Modra <amodra@gmail.com>
2300
2301 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2302 Define.
2303 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2304 PPC64_LOCAL_ENTRY_OFFSET): Define.
2305 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2306 New function.
2307 (elf_machine_fixup_plt): Call it.
2308 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2309 reloc arguments.
2310 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
2311 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2312 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
2313 r2 before calling target.
2314
696caf1d
UW
23152013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2316 Alan Modra <amodra@gmail.com>
2317
2318 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2319 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2320 versions of macros to support ELFv2 ABI.
2321 (LOCALENTRY): New macro.
2322 (ENTRY, EALIGN): Use it.
2323 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2324 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2325 fall through into ENTRY entry point.
2326 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2327 Only define if _CALL_ELF != 2.
2328
2329 (elf_machine_matches_host): Verify ABI version matches.
2330 (RTLD_START): Use LOCALENTRY.
2331 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2332 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2333 (PLT_ENTRY_WORDS): New macro.
2334 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2335 (elf_machine_runtime_setup): Support ELFv2 ABI.
2336 (elf_machine_fixup_plt): Likewise.
2337 (elf_machine_plt_conflict): Likewise.
2338 (resolve_ifunc): Likewise.
2339 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2340 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2341 Likewise.
2342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2343 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2345 (makecontext): Support ELFv2 ABI.
2346 * elf/elf.h (EF_PPC64_ABI): Define.
2347
d31beafa
UW
23482013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2349
2350 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2351 New assembler macro.
2352 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2353 [ASSEMBLER] (ENTRY): ... but instead here ...
2354 [ASSEMBLER] (EALIGN): ... and here.
2355 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2356 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2357 [!ASSEMBLER] (ENTRY_2): Use it.
2358 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2359 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2360 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2361 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2362 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2364 Use PPC64_LOAD_FUNCPTR.
2365
b525166b
UW
23662013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2367
2368 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2369
7ec07d9a
AM
23702013-12-04 Alan Modra <amodra@gmail.com>
2371
2372 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2373 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2374 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2375 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2376
2377 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2378 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2379 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2380 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2381 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2382 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2383
5162e7dd
UW
23842013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2385
2386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2387 (__makecontext): Fix incorrect CFI when backtracing out of
2388 context created via makecontext.
2389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2390 (__setcontext): Fix incorrect CFI during switch to new context.
2391 (__novec_setcontext): Likewise.
2392
19e3372b
OB
23932013-12-04 Ondřej Bílka <neleai@seznam.cz>
2394
2395 [BZ #4772]
2396 * time/strptime_l.c (__strptime_internal): Allow modifiers
2397 in strptime.
2398 * time/tst-strptime.c (day_tests): Add testcase.
2399
2400
ecaf142d
SP
24012013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2402
2403 * scripts/bench.pl: Skip over blank lines.
2404
fbf964ae
PE
24052013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2406
2407 [BZ #926]
2408 * manual/time.texi (Calendar Time): Clarify what timezone functions
2409 use.
2410
fa60a674
AZ
24112013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2412
2413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2414
d674f0ef
OB
24152013-12-04 Ondřej Bílka <neleai@seznam.cz>
2416
2417 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2418 implementation.
2419 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2420 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2421 * debug/memset_chk.c (__memset_chk): Likewise.
2422 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2423 * debug/strncpy_chk.c: Likewise.
2424
17dea188
JM
24252013-12-03 Joseph Myers <joseph@codesourcery.com>
2426
749008ff
JM
2427 [BZ #15268]
2428 [BZ #15425]
2429 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2430 (__ieee754_exp): For possibly underflowing results, check size of
2431 result and force underflow exception if required.
2432 * math/auto-libm-test-in: Add more tests of exp.
2433 * math/auto-libm-test-out: Regenerated.
2434 * sysdeps/i386/fpu/libm-test-ulps: Update.
2435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2436
17dea188
JM
2437 [BZ #16283]
2438 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2439 * math/w_exp2f.c (__exp2f): Likewise.
2440 * math/w_exp2l.c (__exp2l): Likewise.
2441 * math/auto-libm-test-in: Do not allow missing errno on exp2
2442 underflow.
2443 * math/auto-libm-test-out: Regenerated.
2444
b20de2c3
OB
24452013-12-03 Ondřej Bílka <neleai@seznam.cz>
2446
2447 [BZ #16274]
2448 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2449 handle filename validation.
2450 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2451 (do_open): Delete.
2452
d8e2dbe3
JM
24532013-12-03 Joseph Myers <joseph@codesourcery.com>
2454
34e16df5
JM
2455 [BZ #6786]
2456 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2457 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2458 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2459 <float.h>.
2460 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2461 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2462 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2463 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2464 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2465 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2466 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2467 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2468 Add more erfc tests.
2469 * math/auto-libm-test-out: Regenerated.
2470 * sysdeps/i386/fpu/libm-test-ulps: Update.
2471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2472
d8e2dbe3
JM
2473 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2474 exp2, expm1, j0 and j1.
2475 * math/auto-libm-test-out: Regenerated.
2476 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2477 (erfc_test_data): Likewise.
2478 (exp_test_data): Likewise.
2479 (exp_tonearest_test_data): Likewise.
2480 (exp_towardzero_test_data): Likewise.
2481 (exp_downward_test_data): Likewise.
2482 (exp_upward_test_data): Likewise.
2483 (exp10_test_data): Likewise.
2484 (exp2_test_data): Likewise.
2485 (expm1_test_data): Likewise.
2486 (j0_test_data): Likewise.
2487 (j1_test_data): Likewise.
2488 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2489 (input_flag_type): Add flag_xfail_rounding.
2490 (input_flags): Add xfail-rounding.
2491 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2492 (output_for_one_input_case): Handle flag_xfail_rounding.
2493 * sysdeps/i386/fpu/libm-test-ulps: Update.
2494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2495
18d14251
AJ
24962013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2497
3d2e6075 2498 [BZ #16289]
18d14251
AJ
2499 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2500 division by 0.
2501
520d437b
SP
25022013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2503
2504 [BZ #16195]
2505 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2506 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2507 (STAP_PROBE0): New macro.
2508 (STAP_PROBE1): Likewise.
2509 (STAP_PROBE2): Likewise.
2510 (STAP_PROBE3): Likewise.
2511 (STAP_PROBE4): Likewise.
2512
416e0145
OB
25132013-12-02 Ondřej Bílka <neleai@seznam.cz>
2514
2515 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2516
9d17796a
SE
25172013-12-02 Steve Ellcey <sellcey@mips.com>
2518
2519 * benchtests/Makefile (bench): Add sqrt.
2520 (LDLIBS-bench-sqrt): New.
2521 * benchtests/sqrt-input: New.
2522
f524d6a8
PS
25232013-12-02 Pavel Simerda <psimerda@redhat.com>
2524
639a0ef8
PS
2525 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2526 (GAIH_EAI): Likewise.
2527 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2528 (gaih_inet): Likewise.
2529 (getaddrinfo): Don't use GAIH_EAI.
2530
f524d6a8
PS
2531 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2532 (struct gaih): Remove definition.
2533
df3aedaf
SP
25342013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2535
2536 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2537 Use HERRNOP directly.
2538
1ab19dec
AZ
25392013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2540
b42ad38d 2541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 2542
176b0c79
JM
25432013-11-30 Joseph Myers <joseph@codesourcery.com>
2544
2545 * math/gen-auto-libm-tests.c (test_functions): Add more
2546 single-argument functions.
2547 (special_fill_pi_2): New function.
2548 (special_fill_minus_pi_2): Likewise.
2549 (special_fill_pi_6): Likewise.
2550 (special_fill_minus_pi_6): Likewise.
2551 (special_fill_pi_3): Likewise.
2552 (special_fill_2pi_3): Likewise.
2553 (special_fill_e): Likewise.
2554 (special_fill_1_e): Likewise.
2555 (special_fill_e_minus_1): Likewise.
2556 (special_real_inputs): Add more special inputs.
2557 (output_for_one_input_case): Do not require ERANGE on underflow to
2558 zero if round-to-nearest result does not underflow to zero, unless
2559 exact results required.
2560 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2561 atan, atanh, cbrt, cos and cosh.
2562 * math/auto-libm-test-out: Regenerated.
2563 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2564 (acos_tonearest_test_data): Likewise.
2565 (acos_towardzero_test_data): Likewise.
2566 (acos_downward_test_data): Likewise.
2567 (acos_upward_test_data): Likewise.
2568 (acosh_test_data): Likewise.
2569 (asin_test_data): Likewise.
2570 (asin_tonearest_test_data): Likewise.
2571 (asin_towardzero_test_data): Likewise.
2572 (asin_upward_test_data): Likewise.
2573 (asinh_test_data): Likewise.
2574 (atan_test_data): Likewise.
2575 (atanh_test_data): Likewise.
2576 (cbrt_test_data): Likewise.
2577 (cos_test_data): Likewise.
2578 (cos_tonearest_test_data): Likewise.
2579 (cos_towardzero_test_data): Likewise.
2580 (cos_downward_test_data): Likewise.
2581 (cos_upward_test_data): Likewise.
2582 (cosh_test_data): Likewise.
2583 (cosh_tonearest_test_data): Likewise.
2584 (cosh_towardzero_test_data): Likewise.
2585 (cosh_downward_test_data): Likewise.
2586 (cosh_upward_test_data): Likewise.
2587 * sysdeps/i386/fpu/libm-test-ulps: Update.
2588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2589
ffb536d0
JM
25902013-11-29 Joseph Myers <joseph@codesourcery.com>
2591
2a77a467
JM
2592 [BZ #6787]
2593 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2594 * math/w_exp10f.c (__exp10f): Likewise.
2595 * math/w_exp10l.c (__exp10l): Likewise.
2596 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2597 errno settings in existing tests.
2598
ea3bc4e8
JM
2599 [BZ #14032]
2600 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2601 precision control set to double precision.
2602 * sysdeps/i386/fpu/w_sqrt.c: New file.
2603 * math/auto-libm-test-in: Add more tests.
2604 * math/auto-libm-test-out: Update.
2605
0712c9d8
JM
2606 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2607 (sqrt_test_tonearest): New function.
2608 (sqrt_towardzero_test_data): New variable.
2609 (sqrt_test_towardzero): New function.
2610 (sqrt_downward_test_data): New variable.
2611 (sqrt_test_downward): New function.
2612 (sqrt_upward_test_data): New variable.
2613 (sqrt_test_upward): New function.
2614 (main): Call the new functions.
2615
ffb536d0
JM
2616 * math/gen-auto-libm-tests.c: New file.
2617 * math/auto-libm-test-in: Likewise.
2618 * math/auto-libm-test-out: New generated file.
2619 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2620 variables.
2621 (%beautify): Add generated representations of zero.
2622 (top level): Set $auto_input and call parse_auto_input.
2623 (beautify): Remove trailing "f" from hex float constants.
2624 (parse_args): Handle XFAIL_TEST.
2625 (convert_condition): New function.
2626 (or_value): Likewise.
2627 (or_cond_value): Likewise.
2628 (generate_testfile): Handle AUTO_TESTS_* lines.
2629 (parse_auto_input): New function.
2630 * math/libm-test.inc (XFAIL_TEST): New macro.
2631 (ERRNO_UNCHANGED): Update value.
2632 (ERRNO_EDOM): Likewise.
2633 (ERRNO_ERANGE): Likewise.
2634 (IGNORE_RESULT): Likewise.
2635 (TEST_COND_flt_32): New macro.
2636 (TEST_COND_dbl_64): Likewise.
2637 (TEST_COND_ldbl_96_intel): Likewise.
2638 (TEST_COND_ldbl_96_m68k): Likewise.
2639 (TEST_COND_ldbl_128): Likewise.
2640 (TEST_COND_ldbl_128ibm): Likewise.
2641 (TEST_COND_long32): Likewise.
2642 (TEST_COND_long64): Likewise.
2643 (TEST_COND_before_rounding): Likewise.
2644 (TEST_COND_after_rounding): Likewise.
2645 (enable_test): Handle XFAIL_TEST flag.
2646 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2647 with finite results.
2648 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2649 auto-libm-test-out.
2650
acd98a8e
AK
26512013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2652 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2653
2654 [BZ #16214]
2655 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2656 __tls_get_addr_internal instead of __tls_get_offset in order to
2657 avoid GOT pointer dependency. Make rtld export
2658 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2659 __tls_get_addr since we are a __tls_get_offset platform.
2660 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2661 GOT pointer being set up before.
2662 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2663
3c1c46a6
JM
26642013-11-28 Joseph Myers <joseph@codesourcery.com>
2665
7475aef5
JM
2666 * manual/math.texi (Errors in Math Functions): Document accuracy
2667 goals.
2668
8bca7cd8
JM
2669 [BZ #15004]
2670 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2671 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2672 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2673 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2674 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2675 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2676 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2677 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2678 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2679 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2680 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2681 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2682 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2683 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2684 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2685 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2686
91a1f3fe
JM
2687 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2688 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2689 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2690 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2691 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2692 Likewise.
2693 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2694 Likewise.
2695 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2696 Likewise.
2697 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2698 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2699 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2700 atomic-feupdateenv and flt-rounds.
2701 * sysdeps/powerpc/nofpu/Versions (libc): Add
2702 __atomic_feholdexcept, __atomic_feclearexcept,
2703 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2704 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2705 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2706 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2707 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2708 here.
2709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2710 Update.
2711
c5df7609
JM
2712 * manual/arith.texi (FP Exceptions): Document that exceptions may
2713 not be raised when matherr is used.
2714 (Math Error Reporting): Document overflow in directed rounding
2715 modes. Document that errno may not be set when finite values are
2716 returned on overflow. Document intent to set errno on underflow
2717 only for underflow to zero.
2718
3c1c46a6
JM
2719 [BZ #16271]
2720 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2721 round-to-nearest then adjust result for other rounding modes.
2722 * include/fenv.h (fegetround): Use libm_hidden_proto.
2723 * math/fegetround.c (fegetround): Use libm_hidden_def.
2724 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2725 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2726 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2727 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2728 Likewise.
2729 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2730 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2731 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2732 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2733
5a4c6d53
SP
27342013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2735
2736 [BZ #16077]
2737 * nss/Versions (libnss_files): Add
2738 _nss_files_gethostbyname3_r.
2739 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2740 New function.
2741 (HOST_DB_LOOKUP): Remove macro.
2742 (_nss_files_gethostbyname_r): Implement function without the
2743 HOST_DB_LOOKUP macro.
2744 (_nss_files_gethostbyname2_r): Likewise.
2745
897b98ba
OB
27462013-11-28 Ondřej Bílka <neleai@seznam.cz>
2747
2748 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2749
6f476861
UB
27502013-11-26 Uros Bizjak <ubizjak@gmail.com>
2751
2752 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2753 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2754 warning.
2755
bd12ab55
AZ
27562013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2757
2758 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2759 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2760 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2761 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2762 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2763 __fe_nomask_env_priv and attribute_hidden.
2764 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2765 (libc_feupdateenv_test_ppc): Likewise.
2766 (libc_feresetround_ppc): Likewise.
2767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2768 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2769 compat_symbol macro.
2770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2771 (__fe_nomask_env): Likewise.
2772 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2773
52bb6543
OB
27742013-11-26 Ondřej Bílka <neleai@seznam.cz>
2775
2776 * string/Makefile: Remove ifunc tests.
2777 * string/test-string.h: Define TEST_IFUNC.
2778 * string/test-bcopy-ifunc.c: Remove.
2779 * string/test-bzero-ifunc.c: Likewise.
2780 * string/test-memccpy-ifunc.c: Likewise.
2781 * string/test-memchr-ifunc.c: Likewise.
2782 * string/test-memcmp-ifunc.c: Likewise.
2783 * string/test-memcpy-ifunc.c: Likewise.
2784 * string/test-memmem-ifunc.c: Likewise.
2785 * string/test-memmove-ifunc.c: Likewise.
2786 * string/test-mempcpy-ifunc.c: Likewise.
2787 * string/test-memrchr-ifunc.c: Likewise.
2788 * string/test-memset-ifunc.c: Likewise.
2789 * string/test-rawmemchr-ifunc.c: Likewise.
2790 * string/test-stpcpy-ifunc.c: Likewise.
2791 * string/test-stpncpy-ifunc.c: Likewise.
2792 * string/test-strcasecmp-ifunc.c: Likewise.
2793 * string/test-strcasestr-ifunc.c: Likewise.
2794 * string/test-strcat-ifunc.c: Likewise.
2795 * string/test-strchr-ifunc.c: Likewise.
2796 * string/test-strchrnul-ifunc.c: Likewise.
2797 * string/test-strcmp-ifunc.c: Likewise.
2798 * string/test-strcpy-ifunc.c: Likewise.
2799 * string/test-strcspn-ifunc.c: Likewise.
2800 * string/test-strlen-ifunc.c: Likewise.
2801 * string/test-strncasecmp-ifunc.c: Likewise.
2802 * string/test-strncat-ifunc.c: Likewise.
2803 * string/test-strncmp-ifunc.c: Likewise.
2804 * string/test-strncpy-ifunc.c: Likewise.
2805 * string/test-strnlen-ifunc.c: Likewise.
2806 * string/test-strpbrk-ifunc.c: Likewise.
2807 * string/test-strrchr-ifunc.c: Likewise.
2808 * string/test-strspn-ifunc.c: Likewise.
2809 * string/test-strstr-ifunc.c: Likewise.
2810
ab260039 28112013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
2812
2813 * benchtests/Makefile: Remove ifunc tests.
2814 * benchtests/bench-string.h: Define TEST_IFUNC.
2815 * benchtests/bench-bcopy-ifunc.c: Remove.
2816 * benchtests/bench-bzero-ifunc.c: Likewise.
2817 * benchtests/bench-memccpy-ifunc.c: Likewise.
2818 * benchtests/bench-memchr-ifunc.c: Likewise.
2819 * benchtests/bench-memcmp-ifunc.c: Likewise.
2820 * benchtests/bench-memcpy-ifunc.c: Likewise.
2821 * benchtests/bench-memmem-ifunc.c: Likewise.
2822 * benchtests/bench-memmove-ifunc.c: Likewise.
2823 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2824 * benchtests/bench-memrchr-ifunc.c: Likewise.
2825 * benchtests/bench-memset-ifunc.c: Likewise.
2826 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2827 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2828 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2829 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2830 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2831 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2832 * benchtests/bench-strcat-ifunc.c: Likewise.
2833 * benchtests/bench-strchr-ifunc.c: Likewise.
2834 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2835 * benchtests/bench-strcmp-ifunc.c: Likewise.
2836 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2837 * benchtests/bench-strcpy-ifunc.c: Likewise.
2838 * benchtests/bench-strcspn-ifunc.c: Likewise.
2839 * benchtests/bench-strlen-ifunc.c: Likewise.
2840 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2841 * benchtests/bench-strncat-ifunc.c: Likewise.
2842 * benchtests/bench-strncmp-ifunc.c: Likewise.
2843 * benchtests/bench-strncpy-ifunc.c: Likewise.
2844 * benchtests/bench-strnlen-ifunc.c: Likewise.
2845 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2846 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 2847 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
2848 * benchtests/bench-strspn-ifunc.c: Likewise.
2849 * benchtests/bench-strstr-ifunc.c: Likewise.
2850
28512013-11-26 Ondřej Bílka <neleai@seznam.cz>
2852
ab260039
OB
2853 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2854
d1d9eaf4 28552013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 2856
d1d9eaf4
OB
2857 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2858 * rt/aio.h: Likewise.
2859 * sysdeps/gnu/bits/utmp.h: Likewise.
2860 * sysdeps/gnu/bits/utmpx.h: Likewise.
2861 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2862 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2863 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2864 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2865 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2866 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2867 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2868 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2869 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2870 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2871 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2872 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2873 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2875 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2876 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2877 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2878 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2879 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2880 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2881 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2882 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2883 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2884 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2885 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2886 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2887 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2888 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2889 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2890 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2891 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2892 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2893 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2894 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2895 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2896 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2897 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2898 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2899 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2900 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2901 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2902 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2903
a7624ed9
CD
29042013-11-25 Carlos O'Donell <carlos@redhat.com>
2905
2906 [BZ #16245]
2907 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2908 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2909
63cfe52b
JM
29102013-11-25 Joseph Myers <joseph@codesourcery.com>
2911
2912 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2913 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2914 Likewise.
2915
41e8926a
AZ
29162013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2917
2918 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2919 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2920 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2921 (__fesetround): Remove define.
2922 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2923 rounding and exceptions handling.
2924 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2925 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2926 (__fe_nomask_env): Likewise.
2927 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2928 __fegetround instead of fegetround.
2929 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2930 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2931
6851bd4d
RM
29322013-11-21 Roland McGrath <roland@hack.frob.com>
2933
070906ff
RM
2934 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2935 it's there.
2936
6851bd4d
RM
2937 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2938
84ae135d
MI
29392013-11-21 Meador Inge <meadori@codesourcery.com>
2940
2941 [BZ #11157]
2942 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2943 (encrypt_r): Likewise.
2944 * malloc/obstack.h (obstack_free): Likewise.
2945 * posix/unistd.h (encrypt): Likewise.
2946
daf75146
GM
29472013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2948
2949 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2950 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2951 DL_CALL_DT_FINI() that call the functions directly.
2952 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2953 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2954 * elf/dl-fini.c: Likewise.
2955
10ad46bc
OB
29562013-11-20 Ondřej Bílka <neleai@seznam.cz>
2957
2958 * malloc/hooks.c (memalign_check): Add alignment rounding.
2959 * malloc/malloc.c (_mid_memalign): New function.
2960 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2961 Implement by calling _mid_memalign.
2962 * manual/probes.texi (Memory Allocation Probes): Remove
2963 memory_valloc_retry and memory_pvalloc_retry.
2964
f3fd2628
SP
29652013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2966
4712799f
SP
2967 * locale/programs/locarchive.c (open_archive): Add const
2968 qualifier to ARCHIVEFNAME and copy default fname to
2969 DEFAULT_FNAME.
2970
0417b20f
SP
2971 [BZ #15601]
2972 * libio/tst-widetext.input: Rename Oriya to Odia.
2973 * locale/iso-639.def: Likewise.
2974
f3fd2628
SP
2975 * manual/probes.texi (Mathematical Function Probes): Add
2976 documentation for sin, cos, asin and acos probes.
2977 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2978 (__sin32): Add slowasin probe.
2979 (__cos32): Add slowacos probe.
2980 (__mpsin): Add slowsin probe.
2981 (__mpcos): Add slowcos probe.
2982
73c1ce4f
JM
29832013-11-19 Joseph Myers <joseph@codesourcery.com>
2984
2985 [BZ #15483]
2986 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2987 thread-local __sim_exceptions_thread and global
2988 __sim_exceptions_global.
2989 (__sim_disabled_exceptions): Change to thread-local
2990 __sim_disabled_exceptions_thread and global
2991 __sim_disabled_exceptions_global.
2992 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2993 and global __sim_round_mode_global.
2994 (__simulate_exceptions): Use thread-local floating-point state and
2995 set global state from it as needed.
2996 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2997 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2998 __sim_round_mode_thread.
2999 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3000 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3001 and global __sim_exceptions_global.
3002 (__sim_disabled_exceptions): Change to thread-local
3003 __sim_disabled_exceptions_thread and global
3004 __sim_disabled_exceptions_global.
3005 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3006 and global __sim_round_mode_global.
3007 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3008 (SIM_SET_GLOBAL): Likewise.
3009 * sysdeps/powerpc/soft-fp/sfp-machine.h
3010 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3011 __sim_round_mode_thread.
3012 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3013 __sim_disabled_exceptions_thread.
3014 (__sim_exceptions): Change to __sim_exceptions_thread.
3015 (__sim_disabled_exceptions): Change to
3016 __sim_disabled_exceptions_thread.
3017 (__sim_round_mode): Change to __sim_round_mode_thread.
3018 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3019 thread-local floating-point state and set global state from it as
3020 needed.
3021 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3022 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3023 (__sim_disabled_exceptions): Remove extern declaration.
3024 (feenableexcept): Use thread-local floating-point state and set
3025 global state from it as needed.
3026 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3027 extern declaration.
3028 (__sim_disabled_exceptions): Likewise.
3029 (__sim_round_mode): Likewise.
3030 (__fegetenv): Use thread-local floating-point state.
3031 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3032 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3033 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3034 floating-point state and set global state from it as needed.
3035 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3036 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3037 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3038 Likewise.
3039 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3040 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3041 Likewise.
3042 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3043 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3044 Use __sim_round_mode_thread.
3045 * math/test-fenv-tls.c: New file.
3046 * math/Makefile (tests): Add test-fenv-tls.
3047 ($(objpfx)test-fenv-tls): Depend on
3048 $(common-objpfx)nptl/libpthread.so.
3049
b5449b12
AS
30502013-11-19 Andreas Schwab <schwab@suse.de>
3051
3052 * locale/programs/locale.c (show_info): Decode wordarray elements.
3053 * locale/categories.def (LC_MONETARY): Add element for
3054 _NL_MONETARY_CRNCYSTR.
3055 * locale/C-monetary.c (conversion_rate): New variable.
3056 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3057 element.
3058
e186536b
CM
30592013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3060
3061 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3062 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3063
5c349950
PP
30642013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3065
3066 * elf/Makefile (tst-auxv): New test.
3067 * elf/tst-auxv.c: New
3068 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3069
699df45b
JM
30702013-11-18 Joseph Myers <joseph@codesourcery.com>
3071
3072 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3073 (hidden_proto): Caller changed.
3074 (hidden_tls_proto): New macro.
3075 (libc_hidden_tls_proto): Likewise.
3076 (rtld_hidden_tls_proto): Likewise.
3077 (libm_hidden_tls_proto): Likewise.
3078 (libresolv_hidden_tls_proto): Likewise.
3079 (librt_hidden_tls_proto): Likewise.
3080 (libdl_hidden_tls_proto): Likewise.
3081 (libnss_files_hidden_tls_proto): Likewise.
3082 (libnsl_hidden_tls_proto): Likewise.
3083 (libnss_nisplus_hidden_tls_proto): Likewise.
3084 (libutil_hidden_tls_proto): Likewise.
3085
b7589107
OB
30862013-11-18 Ondřej Bílka <neleai@seznam.cz>
3087
3088 [BZ #10253]
3089 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3090 (decompose_rpath): Defer expansion to fillin_rpath.
3091 (_dl_init_paths): Pass linkmap to fillin_rpath.
3092
250c23bd
RS
30932013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3094
3095 * benchtests/Makefile: Add strsep.
3096 * benchtests/bench-strsep.c: New file: strsep benchtest.
3097 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3098
a7931fcf
AS
30992013-11-18 Andreas Schwab <schwab@suse.de>
3100
3101 * locale/programs/locale.c (show_info) [case byte]: Check for
3102 '\377' instead of '\177'.
3103 * locale/C-monetary.c (not_available): Always use "\377".
3104 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3105 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3106 detect unavailable sign_posn locale elements.
3107 * locale/localeconv.c (__localeconv): For grouping and
3108 mon_grouping handle "\177" and "\377" like no grouping.
3109 (INT_ELEM): New macro. Use it to set all numeric members.
3110 * locale/programs/ld-monetary.c (monetary_read)
3111 <tok_mon_grouping>: Normalize single -1 to the empty string.
3112 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3113 Likewise.
3114
728dab0e
OB
31152013-11-07 Ondřej Bílka <neleai@seznam.cz>
3116
3117 [BZ #16055]
3118 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3119 when we match (nil).
3120 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3121
66294491
JM
31222013-11-16 Joseph Myers <joseph@codesourcery.com>
3123
ce665817
JM
3124 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3125 (NO_TEST_INLINE): Update value.
3126 (ERRNO_UNCHANGED): Likewise.
3127 (ERRNO_EDOM): Likewise.
3128 (ERRNO_ERANGE): Likewise.
3129 (IGNORE_RESULT): Likewise.
3130 (check_float_internal): Check signs of NaN results if
3131 TEST_NAN_SIGN used.
3132 (check_complex): Pass TEST_NAN_SIGN flag through to second
3133 check_float_internal call.
3134 (copysign_test_data): Add tests with quiet NaNs as second
3135 argument. Use TEST_NAN_SIGN.
3136 (fabs_test_data): Add test of negative quiet NaN argument. Use
3137 TEST_NAN_SIGN.
3138 (signbit_test_data): Add tests of quiet NaN argument.
3139 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3140
ee1466a9
JM
3141 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3142 $ignore_result.
3143 (parse_args): Handle function results specified as IGNORE.
3144 * math/libm-test.inc (IGNORE_RESULT): New macro.
3145 (check_float_internal): Do not check numerical result if flag
3146 IGNORE_RESULT set.
3147 (check_complex): Pass through IGNORE_RESULT to second
3148 check_float_internal call.
3149 (check_int): Do not check numerical result if flag IGNORE_RESULT
3150 set.
3151 (check_long): Likewise.
3152 (check_bool): Likewise.
3153 (check_longlong): Likewise.
3154 (lrint_test_data): Add tests of infinite and NaN arguments.
3155 (lrint_tonearest_test_data): Likewise.
3156 (lrint_towardzero_test_data): Likewise.
3157 (lrint_downward_test_data): Likewise.
3158 (lrint_upward_test_data): Likewise.
3159 (llrint_test_data): Likewise.
3160 (llrint_tonearest_test_data): Likewise.
3161 (llrint_towardzero_test_data): Likewise.
3162 (llrint_downward_test_data): Likewise.
3163 (llrint_upward_test_data): Likewise.
3164 (lround_test_data): Likewise.
3165 (llround_test_data): Likewise.
3166
14407b7e
JM
3167 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3168 (ERRNO_UNCHANGED): Update value.
3169 (ERRNO_EDOM): Likewise.
3170 (ERRNO_ERANGE): Likewise.
3171 (NO_TEST_INLINE_FLOAT): New macro.
3172 (NO_TEST_INLINE_DOUBLE): Likewise.
3173 (enable_test): New function.
3174 (RUN_TEST_f_f): Check enable_test before running test.
3175 (RUN_TEST_2_f): Likewise.
3176 (RUN_TEST_fff_f): Likewise.
3177 (RUN_TEST_c_f): Likewise.
3178 (RUN_TEST_f_f1): Likewise.
3179 (RUN_TEST_fF_f1): Likewise.
3180 (RUN_TEST_fI_f1): Likewise.
3181 (RUN_TEST_ffI_f1): Likewise.
3182 (RUN_TEST_c_c): Likewise.
3183 (RUN_TEST_cc_c): Likewise.
3184 (RUN_TEST_f_i): Likewise.
3185 (RUN_TEST_f_i_tg): Likewise.
3186 (RUN_TEST_ff_i_tg): Likewise.
3187 (RUN_TEST_f_b): Likewise.
3188 (RUN_TEST_f_b_tg): Likewise.
3189 (RUN_TEST_f_l): Likewise.
3190 (RUN_TEST_f_L): Likewise.
3191 (RUN_TEST_fFF_11): Likewise.
3192 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3193 conditionals.
3194 (cosh_test_data): Likewise.
3195 (exp_test_data): Likewise.
3196 (expm1_test_data): Likewise.
3197 (hypot_test_data): Likewise.
3198 (pow_test_data): Likewise.
3199 (sinh_test_data): Likewise.
3200 (tanh_test_data): Likewise.
3201 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3202 flags argument.
3203
ca07f197
JM
3204 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3205 tests with quiet NaN input and output.
3206 (acosh_test_data): Likewise.
3207 (asin_test_data): Likewise.
3208 (asinh_test_data): Likewise.
3209 (atan_test_data): Likewise.
3210 (atanh_test_data): Likewise.
3211 (atan2_test_data): Likewise.
3212 (cbrt_test_data): Likewise.
3213 (cos_test_data): Likewise.
3214 (cosh_test_data): Likewise.
3215 (erf_test_data): Likewise.
3216 (erfc_test_data): Likewise.
3217 (exp_test_data): Likewise.
3218 (exp10_test_data): Likewise.
3219 (exp2_test_data): Likewise.
3220 (expm1_test_data): Likewise.
3221 (hypot_test_data): Likewise.
3222 (j0_test_data): Likewise.
3223 (j1_test_data): Likewise.
3224 (jn_test_data): Likewise.
3225 (lgamma_test_data): Likewise.
3226 (log_test_data): Likewise.
3227 (log10_test_data): Likewise.
3228 (log1p_test_data): Likewise.
3229 (log2_test_data): Likewise.
3230 (pow_test_data): Likewise.
3231 (scalb_test_data): Likewise.
3232 (sin_test_data): Likewise.
3233 (sincos_test_data): Likewise.
3234 (sinh_test_data): Likewise.
3235 (tan_test_data): Likewise.
3236 (tanh_test_data): Likewise.
3237 (tgamma_test_data): Likewise.
3238 (y0_test_data): Likewise.
3239 (y1_test_data): Likewise.
3240 (yn_test_data): Likewise.
3241
66294491
JM
3242 [BZ #16167]
3243 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3244 argument being NaN and avoid computations with second argument in
3245 that case.
3246 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3247 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3248 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3249
1820b143
CL
32502013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3251
3252 * locale/iso-639.def: Add Chitwani Tharu (the).
3253
714bd261
AS
32542013-11-14 Andreas Schwab <schwab@suse.de>
3255
3256 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3257 word instead of empty string.
3258
7ab44563
AZ
32592013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3260
3261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3262 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3264 (__fe_nomask_env): Likewise.
3265
e8470ea2
SE
32662013-11-13 Steve Ellcey <sellcey@mips.com>
3267
3268 * benchtests/bench-timing.h: Include time.h.
3269
17c1d9f0
L
32702013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3271
3272 [BZ #15997]
3273 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3274 to 3.4.0 for x32.
3275 * sysdeps/unix/sysv/linux/configure: Regenerated.
3276
9310c284
JM
32772013-11-13 Joseph Myers <joseph@codesourcery.com>
3278
3279 [BZ #16151]
3280 * stdlib/strtod_l.c (round_and_return): Do not consider
3281 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3282 exponent one less than half the least subnormal exponent.
3283 * stdlib/test-strtod-round-data: Add more tests.
3284 * stdlib/tst-strtod-round.c (tests): Regenerated.
3285
7a2ad8cf
AZ
32862013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3287
3288 [BZ #14143]
3289 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3290 (__fe_mask_env): Likewise.
3291 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3292 libm_hidden_proto and add function prototype.
3293 (__fe_mask_env): Add function prototype.
3294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3295 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3297 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3299 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3300
50727aa7
MS
33012013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3302
b2f386c1 3303 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
3304 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3305
a615be46
MS
33062013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3307
3308 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3309 of htab_find_slot().
3310
7ddace62
DM
33112013-11-11 David S. Miller <davem@davemloft.net>
3312
3313 [BZ #16150]
3314 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3315 symbol in the non-vis3 case in static builds.
3316 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3317 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3318 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3319 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3320
9182aa67
JK
33212013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3322
3323 [BZ #387]
3324 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3325 it is empty.
3326
450a2e2d
AZ
33272013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3328
b2f386c1
SP
3329 * benchtests/Makefile: Add bench-strtod.
3330 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 3331
8ec3f656
AS
33322013-11-11 Andreas Schwab <schwab@suse.de>
3333
3334 [BZ #16153]
3335 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3336 terminating NUL in key length.
3337
76a9b998
AZ
33382013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3339
3340 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3341 Add artificial ODP entry for vDSO symbol for PPC64.
3342 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3343 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3344
e4368156
OB
33452013-11-07 Ondřej Bílka <neleai@seznam.cz>
3346
3347 [BZ #15374]
3348 * nss/getent.c (services_keys): Recognize services starting with digit.
3349
8d6bb57c
DM
33502013-11-06 David S. Miller <davem@davemloft.net>
3351
3352 [BZ #15985]
3353 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3354 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3355
e256c421
WN
33562013-11-06 Will Newton <will.newton@linaro.org>
3357
3358 * manual/memory.texi (Malloc Examples): Remove register
3359 keyword from examples.
3360
f6e12daa 33612013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 3362
f6e12daa 3363 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 3364
9d880655
AS
33652013-11-04 Joseph Myers <joseph@codesourcery.com>
3366
3367 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3368 depending on [__GCC_IEC_559 > 0].
3369 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3370 depending on [__GCC_IEC_559_COMPLEX > 0].
3371
ae129d3c
CL
33722013-11-03 Chris Leonard <cjl@sugarlabs.org>
3373
3374 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3375 to iso-639.def.
3376
4a15c2a4 33772013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
3378
3379 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3380
8b35e35d
OB
33812013-11-01 Ondřej Bílka <neleai@seznam.cz>
3382
3383 [BZ #16112]
3384 * malloc/malloc (malloc_info): Do not handle first bin as
3385 special case.
3386
1d70fd6c
CL
33872013-11-01 Chris Leonard <cjl@sugarlabs.org>
3388
3389 * locale/iso-639.def: Add Central Nahuatl (nhn).
3390
8c5c2600
BH
33912013-11-01 Bruno Haible <bruno@clisp.org>
3392
3393 [BZ #7003]
3394 * manual/math.texi (BSD Random): Specify range upper bound as
3395 in POSIX.
3396
da5579c2
CL
33972013-10-31 Chris Leonard <cjl@sugarlabs.org>
3398
3399 * locale/iso-639.def: Add Meadow Mari (mhr).
3400
5d30d853
OB
34012013-10-31 Ondřej Bílka <neleai@seznam.cz>
3402
3403 [BZ #14752], [BZ #15763]
3404 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3405 Validate name.
3406 * rt/tst_shm.c: Add test for escaping directory.
3407
a4966c61
AS
34082013-10-31 Andreas Schwab <schwab@suse.de>
3409
8a43e768 3410 [BZ #15917]
a4966c61
AS
3411 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3412 followed by 'x' as part of digit sequence.
3413 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3414
28d708c4
MAP
34152013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3416
3417 [BZ #16037]
3418 * configure.ac: allow GNU Make 4.0 and greater.
3419 * configure: Regenerated.
3420
a56ee40b
WN
34212013-10-30 Will Newton <will.newton@linaro.org>
3422
3423 [BZ #16038]
3424 * malloc/hooks.c (memalign_check): Limit alignment to the
3425 maximum representable power of two.
3426 * malloc/malloc.c (__libc_memalign): Likewise.
3427 * malloc/tst-memalign.c (do_test): Add test for very
3428 large alignment values.
3429 * malloc/tst-posix_memalign.c (do_test): Likewise.
3430
c6e4925d
OB
34312013-10-30 Ondřej Bílka <neleai@seznam.cz>
3432
3433 [BZ #11087]
3434 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3435 (munmap_chunk): Likewise.
3436 (mremap_chunk): Likewise.
3437
34382013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 3439
8a43e768 3440 [BZ #15799]
bbea82f7
OB
3441 * stdlib/div.c (div): Remove obsolete code.
3442 * stdlib/ldiv.c (ldiv): Likewise.
3443 * stdlib/lldiv.c (lldiv): Likewise.
3444
977f4b31
SP
34452013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3446
3447 [BZ #16071]
3448 * nss/nss_files/files-XXX.c (get_contents_ret): New
3449 enumerator.
3450 (get_contents): New function.
3451 (internal_getent): Use it. Expand size of LINEBUFLEN.
3452
cb8a6dbd
MF
34532013-10-30 Mike Frysinger <vapier@gentoo.org>
3454
3455 * configure.in: Moved to ...
3456 * configure.ac: ... here. Change reference to configure.in
3457 to configure.ac.
3458 * sysdeps/arm/preconfigure.ac: ... here.
3459 configure.in to configure.ac.
3460 * sysdeps/gnu/configure.in: Moved to ...
3461 * sysdeps/gnu/configure.ac: ... here.
3462 * sysdeps/i386/configure.in: Moved to ...
3463 * sysdeps/i386/configure.ac: ... here.
3464 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3465 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3466 * sysdeps/mach/configure.in: Moved to ...
3467 * sysdeps/mach/configure.ac: ... here.
3468 * sysdeps/mach/hurd/configure.in: Moved to ...
3469 * sysdeps/mach/hurd/configure.ac: ... here.
3470 * sysdeps/powerpc/configure.in: Moved to ...
3471 * sysdeps/powerpc/configure.ac: ... here.
3472 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3473 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3474 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3475 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3476 * sysdeps/s390/s390-32/configure.in: Moved to ...
3477 * sysdeps/s390/s390-32/configure.ac: ... here.
3478 * sysdeps/s390/s390-64/configure.in: Moved to ...
3479 * sysdeps/s390/s390-64/configure.ac: ... here.
3480 * sysdeps/sh/configure.in: Moved to ...
3481 * sysdeps/sh/configure.ac: ... here.
3482 * sysdeps/sparc/configure.in: Moved to ...
3483 * sysdeps/sparc/configure.ac: ... here.
3484 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3485 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3486 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3487 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3488 * sysdeps/x86_64/configure.in: Moved to ...
3489 * sysdeps/x86_64/configure.ac: ... here.
3490 * sysdeps/x86_64/preconfigure.in: Moved to ...
3491 * sysdeps/x86_64/preconfigure.ac: ... here.
3492 * aclocal.m4: Change reference to configure.in to configure.ac.
3493 * config.h.in: Likewise.
3494 * manual/install.texi: Likewise.
3495 * manual/maint.texi: Likewise.
3496 * Makefile: Likewise.
3497 * malloc/Makefile: Likewise.
3498 * nscd/Makefile: Likewise.
3499 * Makeconfig: Change reference to configure.in and
3500 preconfigure.in to configure.ac and preconfigure.ac
3501 respectively.
3502 * INSTALL: Regenerated.
3503 * configure: Likewise.
3504 * sysdeps/gnu/configure: Likewise.
3505 * sysdeps/i386/configure: Likewise.
3506 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3507 * sysdeps/mach/configure: Likewise.
3508 * sysdeps/mach/hurd/configure: Likewise.
3509 * sysdeps/powerpc/configure: Likewise.
3510 * sysdeps/powerpc/powerpc32/configure: Likewise.
3511 * sysdeps/powerpc/powerpc64/configure: Likewise.
3512 * sysdeps/s390/s390-32/configure: Likewise.
3513 * sysdeps/s390/s390-64/configure: Likewise.
3514 * sysdeps/sh/configure: Likewise.
3515 * sysdeps/sparc/configure: Likewise.
3516 * sysdeps/unix/sysv/linux/configure: Likewise.
3517 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3518 * sysdeps/x86_64/configure: Likewise.
3519 * sysdeps/x86_64/preconfigure: Likewise.
3520
36a4953a
AS
35212013-10-29 Andreas Schwab <schwab@suse.de>
3522
3523 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3524
c79a1204
SP
35252013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3526
dfa1b402
SP
3527 * benchtests/pow-inputs: Add new inputs.
3528
54f73d9c
SP
3529 * benchtests/exp-inputs: Add new inputs.
3530
c79a1204
SP
3531 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3532 conditional check for return value.
3533 (__cos32): Likewise.
3534
67beb545 35352013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
3536
3537 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3538 to provide a boost for large inputs with word alignment.
3539 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3540 implementation based on optimized PPC64 strcpy.
3541 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3542 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3543 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3544 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3545
151659f6
OB
35462013-10-25 Ondřej Bílka <neleai@seznam.cz>
3547
482a077e 3548 [BZ #2801]
151659f6
OB
3549 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3550
10b0f26b
OB
35512013-10-25 Ondřej Bílka <neleai@seznam.cz>
3552
3553 [BZ #14876]
3554 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3555 * time/tst-strptime.c (day_tests): Add testcase.
3556
ca42d35e
OB
35572013-10-25 Ondřej Bílka <neleai@seznam.cz>
3558
482a077e 3559 [BZ #14029]
ca42d35e
OB
3560 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3561
52e6d801
FB
35622013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3563
3564 [BZ #16074]
3565 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3566 MAP_FAILED on error.
3567
7cbcdb36
SP
35682013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3569
3570 [BZ #16072]
3571 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3572 heap for large requests.
3573
894f3f10
AM
35742013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3575
3576 [BZ #9954]
3577 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3578 result if the result has no associated interface.
3579 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3580 interface for all 127.X.Y.Z addresses.
3581
b85545a6
CL
35822013-10-24 Chris Leonard <cjl@sugarlabs.org>
3583
3584 * locale/iso-639.def: Add Ligurian (lij)
3585
d1f23d46
OB
35862013-10-21 Ondřej Bílka <neleai@seznam.cz>
3587
3588 [BZ #15825]
3589 * sunrpc/rpc_main.c: Document rpcgen -5.
3590
4db5b08f
MS
35912013-10-19 Michael Stahl <mstahl@redhat.com>
3592
3593 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3594
a471e96a
OB
35952013-10-19 Ondřej Bílka <neleai@seznam.cz>
3596
d1f23d46 3597 [BZ #10278]
a471e96a
OB
3598 * posix/glob.c: Match only directories when trailing slash is present.
3599 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3600 (main): Add testcase.
3601
45c30c61
OB
36022013-10-19 Ondřej Bílka <neleai@seznam.cz>
3603
3604 [BZ #15670]
3605 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3606
484c12fb
CD
36072013-10-18 Carlos O'Donell <carlos@redhat.com>
3608
3d7dc513
CD
3609 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3610 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3611 AUTH_DES and cindex for FIPS 140-2.
3612 (DES Encryption): Add cindex FIPS 46-3.
3613
484c12fb
CD
3614 * locale/locarchive.h (struct locarhandle): Add fname.
3615 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3616 if an optional argument was specified to --list-archive,
3617 otherwise NULL.
3618 * locale/programs/locarchive.c (show_archive_content): Take new
3619 argument fname and pass it via ah.fname to open_archive.
3620 * locale/programs/localedef.h: Update decl.
3621 (open_archive): If AH->fname is non-null, open that file
3622 rather than the default file name, and don't ignore ENOENT.
3623 (create_archive): Set AH.fname to NULL.
3624 (delete_locales_from_archive): Likewise.
3625 (add_locales_to_archive): Likewise.
3626 * locale/programs/locfile.c (write_all_categories): Likewise.
3627
3c8325fb
JM
36282013-10-18 Joseph Myers <joseph@codesourcery.com>
3629 Aldy Hernandez <aldyh@redhat.com>
3630
3631 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3632 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3633 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3634 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3635 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3636 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3637 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3638 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3639 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3640 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3641 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3642 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3643 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3644 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3645 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3646 Likewise.
3647 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3648 Likewise.
3649 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3650 Likewise.
3651 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3652 Likewise.
3653 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3654 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3655 Likewise.
3656 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3657 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3658 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3659 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3660 Likewise.
3661 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3662 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3663 * sysdeps/powerpc/preconfigure: Likewise.
3664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3665 Likewise.
3666 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3667 Replace contents of file by #include of <fenv_libc.h>.
3668 * sysdeps/powerpc/soft-fp/sfp-machine.h
3669 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3670 and <sys/prctl.h>.
3671 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3672 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3673 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3674 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3675 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3676 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3677 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3678 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3679 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3680 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3681 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3682 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3684 Allow copysignl PLT reference to be missing.
3685
5abe0682
RS
36862013-10-18 Richard Sandiford <richard@codesourcery.com>
3687 Joseph Myers <joseph@codesourcery.com
3688
3689 [BZ #15948]
3690 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3691 single character.
3692 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3693
c7738d08
SP
36942013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3695
3696 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3697 * elf/tst-tls1.c: Likewise.
3698 * elf/tst-tls10.h: Likewise.
3699 * elf/tst-tls14.c: Likewise.
3700 * elf/tst-tls2.c: Likewise.
3701 * elf/tst-tls3.c: Likewise.
3702 * elf/tst-tls4.c: Likewise.
3703 * elf/tst-tls5.c: Likewise.
3704 * elf/tst-tls6.c: Likewise.
3705 * elf/tst-tls7.c: Likewise.
3706 * elf/tst-tls8.c: Likewise.
3707 * elf/tst-tls9.c: Likewise.
3708 * elf/tst-tlsmod1.c: Likewise.
3709 * elf/tst-tlsmod13.c: Likewise.
3710 * elf/tst-tlsmod13a.c: Likewise.
3711 * elf/tst-tlsmod14a.c: Likewise.
3712 * elf/tst-tlsmod16a.c: Likewise.
3713 * elf/tst-tlsmod16b.c: Likewise.
3714 * elf/tst-tlsmod2.c: Likewise.
3715 * elf/tst-tlsmod3.c: Likewise.
3716 * elf/tst-tlsmod4.c: Likewise.
3717 * elf/tst-tlsmod5.c: Likewise.
3718 * elf/tst-tlsmod6.c: Likewise.
3719
0bfcf2c7
OB
37202013-10-18 Ondřej Bílka <neleai@seznam.cz>
3721
3722 [BZ #12486]
3723 * malloc/malloc.c: remove checks for statistics.
3724
264aad1e
OB
37252013-10-17 Ondřej Bílka <neleai@seznam.cz>
3726
3727 [BZ #15277]
3728 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3729 * inet/tst-network.c: Add testcase.
3730
b957ced8
AS
37312013-10-17 Andreas Schwab <schwab@suse.de>
3732
3733 [BZ #15218]
3734 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3735 to determine canonical name.
3736
c5d5d574
OB
37372013-10-17 Ondřej Bílka <neleai@seznam.cz>
3738
3739 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3740 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3741 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3742 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3743 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3744 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3745 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3746 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3747 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3748 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3749 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3750 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3751 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3752 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3753 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3754 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3755 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3756 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3757 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3758 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3759 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3760 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3761 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3762 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3763 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3764 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3765 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3766 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3767 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3768 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3769 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3770 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3771 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3772 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3773 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3774 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3775 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3776 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3777 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3778 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3779 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3780 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3781 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3782 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3783 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3784 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3785 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3786 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3787 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3788 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3789 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3790 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3791 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3792 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3793 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3794 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3795 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3796 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3797
e5c2c2d0
JM
37982013-10-17 Joseph Myers <joseph@codesourcery.com>
3799
3800 [BZ #16041]
3801 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3802 make result into a quiet NaN.
3803
51ca9e29
JM
38042013-10-16 Joseph Myers <joseph@codesourcery.com>
3805
3806 * soft-fp/adddf3.c: Fix horizontal whitespace.
3807 * soft-fp/addsf3.c: Likewise.
3808 * soft-fp/addtf3.c: Likewise.
3809 * soft-fp/divdf3.c: Likewise.
3810 * soft-fp/divsf3.c: Likewise.
3811 * soft-fp/divtf3.c: Likewise.
3812 * soft-fp/double.h: Likewise.
3813 * soft-fp/eqdf2.c: Likewise.
3814 * soft-fp/eqsf2.c: Likewise.
3815 * soft-fp/eqtf2.c: Likewise.
3816 * soft-fp/extenddftf2.c: Likewise.
3817 * soft-fp/extended.h: Likewise.
3818 * soft-fp/extendsfdf2.c: Likewise.
3819 * soft-fp/extendsftf2.c: Likewise.
3820 * soft-fp/extendxftf2.c: Likewise.
3821 * soft-fp/fixdfdi.c: Likewise.
3822 * soft-fp/fixdfsi.c: Likewise.
3823 * soft-fp/fixdfti.c: Likewise.
3824 * soft-fp/fixsfdi.c: Likewise.
3825 * soft-fp/fixsfsi.c: Likewise.
3826 * soft-fp/fixsfti.c: Likewise.
3827 * soft-fp/fixtfdi.c: Likewise.
3828 * soft-fp/fixtfsi.c: Likewise.
3829 * soft-fp/fixtfti.c: Likewise.
3830 * soft-fp/fixunsdfdi.c: Likewise.
3831 * soft-fp/fixunsdfsi.c: Likewise.
3832 * soft-fp/fixunsdfti.c: Likewise.
3833 * soft-fp/fixunssfdi.c: Likewise.
3834 * soft-fp/fixunssfsi.c: Likewise.
3835 * soft-fp/fixunssfti.c: Likewise.
3836 * soft-fp/fixunstfdi.c: Likewise.
3837 * soft-fp/fixunstfsi.c: Likewise.
3838 * soft-fp/fixunstfti.c: Likewise.
3839 * soft-fp/floatdidf.c: Likewise.
3840 * soft-fp/floatdisf.c: Likewise.
3841 * soft-fp/floatditf.c: Likewise.
3842 * soft-fp/floatsidf.c: Likewise.
3843 * soft-fp/floatsisf.c: Likewise.
3844 * soft-fp/floatsitf.c: Likewise.
3845 * soft-fp/floattidf.c: Likewise.
3846 * soft-fp/floattisf.c: Likewise.
3847 * soft-fp/floattitf.c: Likewise.
3848 * soft-fp/floatundidf.c: Likewise.
3849 * soft-fp/floatundisf.c: Likewise.
3850 * soft-fp/floatunditf.c: Likewise.
3851 * soft-fp/floatunsidf.c: Likewise.
3852 * soft-fp/floatunsisf.c: Likewise.
3853 * soft-fp/floatunsitf.c: Likewise.
3854 * soft-fp/floatuntidf.c: Likewise.
3855 * soft-fp/floatuntisf.c: Likewise.
3856 * soft-fp/floatuntitf.c: Likewise.
3857 * soft-fp/fmadf4.c: Likewise.
3858 * soft-fp/fmasf4.c: Likewise.
3859 * soft-fp/fmatf4.c: Likewise.
3860 * soft-fp/gedf2.c: Likewise.
3861 * soft-fp/gesf2.c: Likewise.
3862 * soft-fp/getf2.c: Likewise.
3863 * soft-fp/ledf2.c: Likewise.
3864 * soft-fp/lesf2.c: Likewise.
3865 * soft-fp/letf2.c: Likewise.
3866 * soft-fp/muldf3.c: Likewise.
3867 * soft-fp/mulsf3.c: Likewise.
3868 * soft-fp/multf3.c: Likewise.
3869 * soft-fp/negdf2.c: Likewise.
3870 * soft-fp/negsf2.c: Likewise.
3871 * soft-fp/negtf2.c: Likewise.
3872 * soft-fp/op-1.h: Likewise.
3873 * soft-fp/op-2.h: Likewise.
3874 * soft-fp/op-4.h: Likewise.
3875 * soft-fp/op-8.h: Likewise.
3876 * soft-fp/op-common.h: Likewise.
3877 * soft-fp/quad.h: Likewise.
3878 * soft-fp/single.h: Likewise.
3879 * soft-fp/soft-fp.h: Likewise.
3880 * soft-fp/sqrtdf2.c: Likewise.
3881 * soft-fp/sqrtsf2.c: Likewise.
3882 * soft-fp/sqrttf2.c: Likewise.
3883 * soft-fp/subdf3.c: Likewise.
3884 * soft-fp/subsf3.c: Likewise.
3885 * soft-fp/subtf3.c: Likewise.
3886 * soft-fp/truncdfsf2.c: Likewise.
3887 * soft-fp/trunctfdf2.c: Likewise.
3888 * soft-fp/trunctfsf2.c: Likewise.
3889 * soft-fp/trunctfxf2.c: Likewise.
3890 * soft-fp/unorddf2.c: Likewise.
3891 * soft-fp/unordsf2.c: Likewise.
3892 * soft-fp/unordtf2.c: Likewise.
3893
9ebb0332
JM
38942013-10-15 Joseph Myers <joseph@codesourcery.com>
3895
3896 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3897 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3898
4b1a6d8b
OB
38992013-10-15 Ondřej Bílka <neleai@seznam.cz>
3900
3901 * elf/dl-libc.c: Clear initfini list after freeing.
3902
1e145589
JM
39032013-10-14 Joseph Myers <joseph@codesourcery.com>
3904
3905 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3906 * soft-fp/addsf3.c: Likewise.
3907 * soft-fp/addtf3.c: Likewise.
3908 * soft-fp/divdf3.c: Likewise.
3909 * soft-fp/divsf3.c: Likewise.
3910 * soft-fp/divtf3.c: Likewise.
3911 * soft-fp/double.h: Likewise.
3912 * soft-fp/eqdf2.c: Likewise.
3913 * soft-fp/eqsf2.c: Likewise.
3914 * soft-fp/eqtf2.c: Likewise.
3915 * soft-fp/extenddftf2.c: Likewise.
3916 * soft-fp/extended.h: Likewise.
3917 * soft-fp/extendsfdf2.c: Likewise.
3918 * soft-fp/extendsftf2.c: Likewise.
3919 * soft-fp/extendxftf2.c: Likewise.
3920 * soft-fp/fixdfdi.c: Likewise.
3921 * soft-fp/fixdfsi.c: Likewise.
3922 * soft-fp/fixdfti.c: Likewise.
3923 * soft-fp/fixsfdi.c: Likewise.
3924 * soft-fp/fixsfsi.c: Likewise.
3925 * soft-fp/fixsfti.c: Likewise.
3926 * soft-fp/fixtfdi.c: Likewise.
3927 * soft-fp/fixtfsi.c: Likewise.
3928 * soft-fp/fixtfti.c: Likewise.
3929 * soft-fp/fixunsdfdi.c: Likewise.
3930 * soft-fp/fixunsdfsi.c: Likewise.
3931 * soft-fp/fixunsdfti.c: Likewise.
3932 * soft-fp/fixunssfdi.c: Likewise.
3933 * soft-fp/fixunssfsi.c: Likewise.
3934 * soft-fp/fixunssfti.c: Likewise.
3935 * soft-fp/fixunstfdi.c: Likewise.
3936 * soft-fp/fixunstfsi.c: Likewise.
3937 * soft-fp/fixunstfti.c: Likewise.
3938 * soft-fp/floatdidf.c: Likewise.
3939 * soft-fp/floatdisf.c: Likewise.
3940 * soft-fp/floatditf.c: Likewise.
3941 * soft-fp/floatsidf.c: Likewise.
3942 * soft-fp/floatsisf.c: Likewise.
3943 * soft-fp/floatsitf.c: Likewise.
3944 * soft-fp/floattidf.c: Likewise.
3945 * soft-fp/floattisf.c: Likewise.
3946 * soft-fp/floattitf.c: Likewise.
3947 * soft-fp/floatundidf.c: Likewise.
3948 * soft-fp/floatundisf.c: Likewise.
3949 * soft-fp/floatunsidf.c: Likewise.
3950 * soft-fp/floatunsisf.c: Likewise.
3951 * soft-fp/floatuntidf.c: Likewise.
3952 * soft-fp/floatuntisf.c: Likewise.
3953 * soft-fp/floatuntitf.c: Likewise.
3954 * soft-fp/fmadf4.c: Likewise.
3955 * soft-fp/fmasf4.c: Likewise.
3956 * soft-fp/fmatf4.c: Likewise.
3957 * soft-fp/gedf2.c: Likewise.
3958 * soft-fp/gesf2.c: Likewise.
3959 * soft-fp/getf2.c: Likewise.
3960 * soft-fp/ledf2.c: Likewise.
3961 * soft-fp/lesf2.c: Likewise.
3962 * soft-fp/letf2.c: Likewise.
3963 * soft-fp/muldf3.c: Likewise.
3964 * soft-fp/mulsf3.c: Likewise.
3965 * soft-fp/multf3.c: Likewise.
3966 * soft-fp/negdf2.c: Likewise.
3967 * soft-fp/negsf2.c: Likewise.
3968 * soft-fp/negtf2.c: Likewise.
3969 * soft-fp/op-1.h: Likewise.
3970 * soft-fp/op-2.h: Likewise.
3971 * soft-fp/op-4.h: Likewise.
3972 * soft-fp/op-8.h: Likewise.
3973 * soft-fp/op-common.h: Likewise.
3974 * soft-fp/quad.h: Likewise.
3975 * soft-fp/single.h: Likewise.
3976 * soft-fp/soft-fp.h: Likewise.
3977 * soft-fp/sqrtdf2.c: Likewise.
3978 * soft-fp/sqrtsf2.c: Likewise.
3979 * soft-fp/sqrttf2.c: Likewise.
3980 * soft-fp/subdf3.c: Likewise.
3981 * soft-fp/subsf3.c: Likewise.
3982 * soft-fp/subtf3.c: Likewise.
3983 * soft-fp/truncdfsf2.c: Likewise.
3984 * soft-fp/trunctfdf2.c: Likewise.
3985 * soft-fp/trunctfsf2.c: Likewise.
3986 * soft-fp/trunctfxf2.c: Likewise.
3987 * soft-fp/unorddf2.c: Likewise.
3988 * soft-fp/unordsf2.c: Likewise.
3989 * soft-fp/unordtf2.c: Likewise.
3990
17c48a60
OB
39912013-10-14 Ondřej Bílka <neleai@seznam.cz>
3992
3993 [BZ #15672]
3994 * misc/error.c (error_tail): Fix possible buffer overflow.
3995
cabba934
OB
39962013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3997
3998 [BZ #13028]
3999 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4000 address.
4001
94bf958a
PM
40022013-10-14 P. J. McDermott <pj@pehjota.net>
4003
4004 [BZ #832]
4005 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4006 testing pipefail option.
4007
71b4dea7
JM
40082013-10-12 Joseph Myers <joseph@codesourcery.com>
4009
4010 * soft-fp/double.h: Indent preprocessor directives inside #if.
4011 * soft-fp/extended.h: Likewise.
4012 * soft-fp/op-2.h: Likewise.
4013 * soft-fp/op-4.h: Likewise.
4014 * soft-fp/op-common.h: Likewise.
4015 * soft-fp/quad.h: Likewise.
4016 * soft-fp/single.h: Likewise.
4017 * soft-fp/soft-fp.h: Likewise.
4018
55602758
YC
40192013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4020
4021 * iconv/iconv_prog.c: Fix typos.
4022 * stdio-common/psiginfo-data.h: Likewise.
4023
9cd83302
RT
40242013-10-12 Reuben Thomas <rrt@sc3d.org>
4025
4026 [BZ #15764]
4027 * locale/setlocale.c: Fix typo.
4028
99fd9f47
JM
40292013-10-12 Joseph Myers <joseph@codesourcery.com>
4030
b7ea74f0
JM
4031 [BZ #16036]
4032 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4033 signaling NaN arguments.
4034 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4035 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4036
8a509447
JM
4037 [BZ #14910]
4038 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4039 unordered operands.
4040 * soft-fp/gesf2.c (__gesf2): Likewise.
4041 * soft-fp/getf2.c (__getf2): Likewise.
4042 * soft-fp/ledf2.c (__ledf2): Likewise.
4043 * soft-fp/lesf2.c (__lesf2): Likewise.
4044 * soft-fp/letf2.c (__letf2): Likewise.
4045
98998e9f
JM
4046 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4047 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4048 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4049 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4050 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4051 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4052 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4053 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4054 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4055 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4056 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4057 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4058 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4059 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4060 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4061 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4062 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4063 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4064 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4065 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4066 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4067 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4068 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4069 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4070 * soft-fp/floattidf.c (__floattidf): Likewise.
4071 * soft-fp/floattisf.c (__floattisf): Likewise.
4072 * soft-fp/floattitf.c (__floattitf): Likewise.
4073 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4074 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4075 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4076 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4077 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4078 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4079 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4080 * soft-fp/gesf2.c (__gesf2): Likewise.
4081 * soft-fp/getf2.c (__getf2): Likewise.
4082 * soft-fp/ledf2.c (__ledf2): Likewise.
4083 * soft-fp/lesf2.c (__lesf2): Likewise.
4084 * soft-fp/letf2.c (__letf2): Likewise.
4085
8edc4a11
JM
4086 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4087 Undefine and redefine.
4088 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4089 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4090 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4091 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4092 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4093 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4094 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4095 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4096 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4097 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4098 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4099 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4100 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4101 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4102 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4103
8399acaf
JM
4104 [BZ #16032]
4105 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4106 without decrementing exponent if mantissa >= that for the
4107 denominator, not >.
4108 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4109 denominator, not >. Decrement exponent in < case instead of
4110 incrementing in >= case.
4111 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4112 without decrementing exponent if mantissa >= that for the
4113 denominator, not >.
4114
99fd9f47
JM
4115 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4116 computing saturated result for unsigned overflow.
4117
10e1cf6b
SP
41182013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4119 Jeff Law <law@redhat.com>
4120
4121 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4122 (atan2Mp): Add systemtap probe marker.
4123 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4124 (__ieee754_log): Add systemtap probe marker.
4125 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4126 (atanMp): Add systemtap probe marker.
4127 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4128 (tanMp): Add systemtap probe marker.
4129 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4130 (__slowexp): Add systemtap probe marker.
4131 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4132 (__slowpow): Add systemtap probe marker.
4133 * manual/probes.texi: Document probes.
4134
3d110c7c
EB
41352013-10-11 Eric Biggers <ebiggers3@gmail.com>
4136
4137 [BZ #15362]
4138 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4139 written.
4140 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4141 written.
4142 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4143 written to buffer but not flushed.
4144 * libio/iofwrite_u.c: Likewise.
4145 * libio/iopadn.c: Return bytes returned even if EOF was
4146 encountered.
4147 * libio/iowpadn.c: Likewise.
4148 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4149 if _IO_padn does not write the whole buffer.
4150 [!COMPILE_WPRINTF] (PAD): Likewise.
4151
75b4202a
DM
41522013-10-10 David S. Miller <davem@davemloft.net>
4153
4154 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4155 directory block.
4156
6c6352e6
JM
41572013-10-10 Joseph Myers <joseph@codesourcery.com>
4158
33b853c3
JM
4159 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4160 instead of FSF address.
4161 * soft-fp/fixdfti.c: Likewise.
4162 * soft-fp/fixsfti.c: Likewise.
4163 * soft-fp/fixtfti.c: Likewise.
4164 * soft-fp/fixunsdfti.c: Likewise.
4165 * soft-fp/fixunssfti.c: Likewise.
4166 * soft-fp/fixunstfti.c: Likewise.
4167 * soft-fp/floattidf.c: Likewise.
4168 * soft-fp/floattisf.c: Likewise.
4169 * soft-fp/floattitf.c: Likewise.
4170 * soft-fp/floatuntidf.c: Likewise.
4171 * soft-fp/floatuntisf.c: Likewise.
4172 * soft-fp/floatuntitf.c: Likewise.
4173 * soft-fp/trunctfxf2.c: Likewise.
4174
6c6352e6
JM
4175 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4176 * soft-fp/fixdfti.c: Likewise.
4177 * soft-fp/fixsfti.c: Likewise.
4178 * soft-fp/fixtfti.c: Likewise.
4179 * soft-fp/fixunsdfti.c: Likewise.
4180 * soft-fp/fixunssfti.c: Likewise.
4181 * soft-fp/fixunstfti.c: Likewise.
4182 * soft-fp/floattidf.c: Likewise.
4183 * soft-fp/floattisf.c: Likewise.
4184 * soft-fp/floattitf.c: Likewise.
4185 * soft-fp/floatuntidf.c: Likewise.
4186 * soft-fp/floatuntisf.c: Likewise.
4187 * soft-fp/floatuntitf.c: Likewise.
4188 * soft-fp/trunctfxf2.c: Likewise.
4189
3bf78b71
DM
41902013-10-10 David S. Miller <davem@davemloft.net>
4191
4192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4193
6f10289e
JM
41942013-10-10 Joseph Myers <joseph@codsourcery.com>
4195
bd878fc0
JM
4196 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4197 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4198 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4199 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4200 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4201 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4202 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4203
6f10289e
JM
4204 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4205 for NaNs before doing comparisons on argument.
4206 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4207 Likewise.
4208
321e2684
WN
42092013-10-10 Will Newton <will.newton@linaro.org>
4210
4211 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4212 passed to _int_memalign does not overflow.
4213
40fefba1
TR
42142013-10-10 Torvald Riegel <triegel@redhat.com>
4215
4216 * scripts/bench.pl: Add include-sources directive.
4217 * benchtests/README: Update documentation.
4218
2ae21ed2
JM
42192013-10-10 Joseph Myers <joseph@codesourcery.com>
4220
dcc2dd3f
JM
4221 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4222 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4223 instead of FP_INIT_ROUNDMODE.
4224 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4225 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4226
2ae21ed2
JM
4227 [BZ #16034]
4228 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4229 copy class of input value.
4230 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4231 not handle exceptions.
4232 * soft-fp/negsf2.c (__negsf2): Likewise.
4233 * soft-fp/negtf2.c (__negtf2): Likewise.
4234 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4235
cb8f9562
JM
42362013-10-09 Joseph Myers <joseph@codesourcery.com>
4237
4238 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4239 semicolon. From Linux kernel.
4240
5b60c59d
AB
42412013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4242
4243 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4244
b86835ca
YC
42452013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4246
4247 [BZ #156]
4248 * manual/socket.texi: Added statement about buffer
4249 for gethostbyname2_r.
4250
e7044ea7
OB
42512013-10-08 Ondřej Bílka <neleai@seznam.cz>
4252
4253 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4254 Use .p2align directive instead, throughout.
4255 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4256 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4257 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4258 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4259 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4260 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4261 * sysdeps/x86_64/strchr.S: Likewise.
4262 * sysdeps/x86_64/strrchr.S: Likewise.
4263
09544cbc
SP
42642013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4265
88576635
SP
4266 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4267
e7b2d1dd
SP
4268 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4269
09544cbc
SP
4270 * sysdeps/generic/math_private.h (__mpsin1): Remove
4271 declaration.
4272 (__mpcos1): Likewise.
4273 (__mpsin): New argument __range_reduce.
4274 (__mpcos): Likewise.
4275 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4276 (slow): Use __mpsin and __mpcos.
4277 (slow1): Likewise.
4278 (slow2): Likewise.
4279 (sloww): Likewise.
4280 (sloww1): Likewise.
4281 (sloww2): Likewise.
4282 (bsloww): Likewise.
4283 (bsloww1): Likewise.
4284 (bsloww2): Likewise.
4285 (cslow2): Likewise.
4286 (csloww): Likewise.
4287 (csloww1): Likewise.
4288 (csloww2): Likewise.
4289 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4290 range_reduce. Merge in __mpsin1.
4291 (__mpcos): Likewise.
4292 (__mpsin1): Remove.
4293 (__mpcos1): Likewise.
4294
7602d070
JM
42952013-10-07 Joseph Myers <joseph@codesourcery.com>
4296
4297 * locale/loadlocale.c (_nl_intern_locale_data): Use
4298 LOCFILE_ALIGNED_P.
4299 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4300 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4301 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4302 obstack data is appropriately aligned.
4303 (obstack_int32_grow_fast): Likewise.
4304 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4305 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4306 (add_locale_uint32_array): Likewise.
4307
a357259b
SP
43082013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4309
4310 * benchtests/Makefile: Remove ARGLIST and RET variables.
4311 ($(objpfx)bench-%.c): Pass only function name to the script.
4312 * benchtests/README: Update documentation.
4313 * benchtests/acos-inputs: Add new directives.
4314 * benchtests/acosh-inputs: Likewise.
4315 * benchtests/asin-inputs: Likewise.
4316 * benchtests/asinh-inputs: Likewise.
4317 * benchtests/atan-inputs: Likewise.
4318 * benchtests/atanh-inputs: Likewise.
4319 * benchtests/cos-inputs: Likewise.
4320 * benchtests/cosh-inputs: Likewise.
4321 * benchtests/exp-inputs: Likewise.
4322 * benchtests/log-inputs: Likewise.
4323 * benchtests/pow-inputs: Likewise.
4324 * benchtests/rint-inputs: Likewise.
4325 * benchtests/sin-inputs: Likewise.
4326 * benchtests/sinh-inputs: Likewise.
4327 * benchtests/tan-inputs: Likewise.
4328 * benchtests/tanh-inputs: Likewise.
4329 * scripts/bench.pl: Add support for new directives.
4330
9ec1b13d
AM
43312013-10-07 Alan Modra <amodra@gmail.com>
4332
4333 * README: Fix careless merge.
4334
8b7d57cd
AM
43352013-10-05 Alan Modra <amodra@gmail.com>
4336
4337 * NEWS: Mention powerpc64le support and bugs fixed.
4338 * README: Both big-endian and little-endian powerpc64 supported.
4339
7b7bab13
ST
43402013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4341
4342 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4343 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4344 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4345 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4346
d39baad1
RA
43472013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4348
4349 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4350 match prototype.
4351
cd78f7e7
JM
43522013-10-04 Joseph Myers <joseph@codesourcery.com>
4353
29d73d86
JM
4354 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4355 Move -mhard-float appending from
4356 ports/sysdeps/powerpc/powerpc32/Makefile.
4357 [$(with-fp) = yes] (ASFLAGS): Likewise.
4358 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4359 * sysdeps/powerpc/nofpu: Move directory from
4360 ports/sysdeps/powerpc/nofpu.
4361 * sysdeps/powerpc/soft-fp: Move directory from
4362 ports/sysdeps/powerpc/soft-fp.
4363 * sysdeps/powerpc/powerpc32/405: Move directory from
4364 ports/sysdeps/powerpc/powerpc32/405.
4365 * sysdeps/powerpc/powerpc32/440: Move directory from
4366 ports/sysdeps/powerpc/powerpc32/440.
4367 * sysdeps/powerpc/powerpc32/464: Move directory from
4368 ports/sysdeps/powerpc/powerpc32/464.
4369 * sysdeps/powerpc/powerpc32/476: Move directory from
4370 ports/sysdeps/powerpc/powerpc32/476.
4371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4372 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4374 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4376 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4378 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4380 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4381 * README: Update for powerpc-*-linux-gnu software floating point
4382 support in libc.
4383
e246b347
JM
4384 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4385 case to powerpc/powerpc32*.
4386 * sysdeps/unix/sysv/linux/configure: Regenerated.
4387
89c2003e
JM
4388 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4389 (_FPU_MASK_OM): Define as 0x04.
4390 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4391 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4392 0x00c10080.
4393 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4394 0x0000003c.
4395 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4396
cd78f7e7
JM
4397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4398 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4399 getcontext_e500.
4400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4401 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4402 setcontext_e500.
4403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4404 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4405 and setcontext_e500.
4406
c755294d
CL
44072013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4408
4409 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4410
e16d221c
SP
44112013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4412
4413 * manual/threads.texi (Default Thread Attributes): Fix typo.
4414
215c7d43
WN
44152013-10-04 Will Newton <will.newton@linaro.org>
4416
4417 * malloc/Makefile: Add tst-memalign.
4418 * malloc/tst-memalign.c: New file.
4419
27d0461b
WN
4420 * malloc/tst-posix_memalign.c: Add comments.
4421 (do_test): Add comments and call free on all potentially
4422 allocated pointers. Add space after cast.
4423
1bc92709
WN
4424 * malloc/tst-pvalloc.c: Add comments.
4425 (do_test): Add comments and call free on all potentially
4426 allocated pointers. Remove duplicate check for NULL pointer.
4427 Add space after cast.
4428
66a9be9d
WN
4429 * malloc/tst-valloc.c: Add comments.
4430 (do_test): Add comments and call free on all potentially
4431 allocated pointers. Remove duplicate check for NULL pointer.
4432 Add space after cast.
4433
4cb81307
AM
44342013-10-04 Alan Modra <amodra@gmail.com>
4435
4436 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4437 Use stdint types in rather than __attribute__((mode())).
4438 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4439
f8e3e9f3
AM
44402013-10-04 Alan Modra <amodra@gmail.com>
4441
4442 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4443 Correct handling of unaligned relocs for little-endian.
4444 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4445
8f9ebb08
AM
44462013-10-04 Alan Modra <amodra@gmail.com>
4447
4448 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4449 * configure: Regenerate.
4450 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4451 * shlib-versions: Likewise.
4452
0edf96c2
AM
44532013-10-04 Alan Modra <amodra@gmail.com>
4454
4455 * string/tester.c (test_memrchr): Increment reported test cycle.
4456
e0f7a380
AM
44572013-10-04 Alan Modra <amodra@gmail.com>
4458
4459 * string/test-memcpy.c (do_one_test): When reporting errors, print
4460 string address and don't overrun end of string.
4461
466b0393
AM
44622013-10-04 Alan Modra <amodra@gmail.com>
4463
4464 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4465 insrdi. Make better use of reg selection to speed exit slightly.
4466 Schedule entry path a little better. Remove useless "are we done"
4467 checks on entry to main loop. Handle wrapping around zero address.
4468 Correct main loop count. Handle single left-over word from main
4469 loop inline rather than by using loop_small. Remove extra word
4470 case in loop_small caused by wrong loop count. Add little-endian
4471 support.
4472 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4473 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4474 cache hint.
4475 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4476 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4477 support. Avoid rlwimi.
4478 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4479
3be87c77
AM
44802013-10-04 Alan Modra <amodra@gmail.com>
4481
4482 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 4483 insrdi. Formatting.
3be87c77
AM
4484 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4485 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4486 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4487 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4488 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4489 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4490
759cfef3
AM
44912013-10-04 Alan Modra <amodra@gmail.com>
4492
4493 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4494 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4495 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4496 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4497 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4498 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4499 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4500 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4501 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4502 use of regs. Use power7 mtocrf. Tidy function tails.
4503
fe6e95d7
AM
45042013-10-04 Alan Modra <amodra@gmail.com>
4505
4506 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4507 Formatting. Consistently use rXXX register defines or rN defines.
4508 Use early exit labels that avoid restoring unused non-volatile regs.
4509 Make cr field use more consistent with rWORDn compares. Rename
4510 regs used as shift registers for unaligned loop, using rN defines
4511 for short lifetime/multiple use regs.
4512 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4513 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4514 addi 1,1,64 to pop stack frame. Simplify return value code.
4515 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4516
664318c3
AM
45172013-10-04 Alan Modra <amodra@gmail.com>
4518
4519 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4520 support. Correct typos, formatting. Optimize tail. Use insrdi
4521 rather than rlwimi.
4522 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4523 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4524 little-endian support. Correct typos.
4525 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4526 rather than rlwimi.
4527 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4528 in loop and entry code to keep "and." results.
4529 (strchr): Add little-endian support. Comment. Move cntlzd
4530 earlier in tail.
4531 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4532
43b84013
AM
45332013-10-04 Alan Modra <amodra@gmail.com>
4534
4535 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4536 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4537 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4538 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4539
8a7413f9
AM
45402013-10-04 Alan Modra <amodra@gmail.com>
4541
4542 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4543 (rTMP): Define as r11.
4544 (strcmp): Add little-endian support. Optimise tail.
4545 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4546 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4547 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4548 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4549 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4550 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4551 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4552
33ee81de
AM
45532013-10-04 Alan Modra <amodra@gmail.com>
4554
4555 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4556 little-endian support. Remove unnecessary "are we done" tests.
4557 Handle "s" wrapping around zero and extremely large "size".
4558 Correct main loop count. Handle single left-over word from main
4559 loop inline rather than by using small_loop. Correct comments.
4560 Delete "zero" tail, use "end_max" instead.
4561 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4562
db9b4570
AM
45632013-10-04 Alan Modra <amodra@gmail.com>
4564
4565 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4566 support. Don't branch over align.
4567 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4568 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4569 support. Rearrange tmp reg use to suit. Comment.
4570 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4571
f7c399cf
AM
45722013-10-04 Alan Modra <amodra@gmail.com>
4573
4574 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4575
0b2c2ace
AM
45762013-10-04 Alan Modra <amodra@gmail.com>
4577
4578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4579 conditional form of branch and link when obtaining pc.
4580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4581
02f04a6c
AM
45822013-10-04 Alan Modra <amodra@gmail.com>
4583
4584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4585 HIWORD/LOWORD.
4586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4588
9b874b2f
AM
45892013-10-04 Alan Modra <amodra@gmail.com>
4590
4591 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4592 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4593 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4594 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4595 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4596 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4597 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4598 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4599 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4600 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4601
be1e5d31
AB
46022013-10-04 Anton Blanchard <anton@au1.ibm.com>
4603 Alistair Popple <alistair@ozlabs.au.ibm.com>
4604 Alan Modra <amodra@gmail.com>
4605
4606 [BZ #15723]
4607 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4608 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4609 _dl_hwcap access for little-endian.
4610 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4611 destroy vmx regs when saving unaligned.
4612 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4613 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4614 destroy vmx regs when saving unaligned.
4615
fef13a78
AM
46162013-10-04 Alan Modra <amodra@gmail.com>
4617
4618 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4619 Don't use a union to pack hi/low value.
4620
76a66d51
AB
46212013-10-04 Anton Blanchard <anton@au1.ibm.com>
4622
4623 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4624 for little-endian.
4625 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4626 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4627 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4628 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4629 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4630
6a31fe7f
AM
46312013-10-04 Alan Modra <amodra@gmail.com>
4632
4633 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4634 constants to usual value for .cst8 section, and remove redundant
4635 high address load.
4636 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4637 constant for 0x1p52. Load little-endian words of double from
4638 correct stack offsets.
4639
7b88401f
AM
46402013-10-04 Alan Modra <amodra@gmail.com>
4641
4642 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4643 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4644 words of double from correct stack offsets.
4645 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4646 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4647 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4648 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4649 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4650 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4651 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4652 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4653 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4654 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4655 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4656 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4657 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4658 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4659 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4660 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4661 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4662
9c008155
AM
46632013-10-04 Alan Modra <amodra@gmail.com>
4664
4665 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4666 64-bit int/double union.
4667 (_FPU_SETCW): Likewise.
4668 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4669 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4670
da13146d
AM
46712013-10-04 Alan Modra <amodra@gmail.com>
4672
4673 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4674 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4675
603e8410
AM
46762013-10-04 Alan Modra <amodra@gmail.com>
4677
4678 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4679 use vector int constants.
4680 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4681
4a28b3ca
AB
46822013-10-04 Anton Blanchard <anton@au1.ibm.com>
4683
4684 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4685 array with long long.
4686 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4687 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4688 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4689 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4690 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4691 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4692 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4693 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4694 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4695 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4696 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4697 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4698 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4699
2ca85d2b
AB
47002013-10-04 Anton Blanchard <anton@au1.ibm.com>
4701
4702 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4703 (__signbit): Likewise. Correct for little-endian.
4704 (__signbitl): Call __signbit.
4705 (lrint): Correct for little-endian.
4706 (lrintf): Call lrint.
4707
62a728ae
AM
47082013-10-04 Alan Modra <amodra@gmail.com>
4709
4710 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4711 union 32-bit int array member with 64-bit int array.
4712 (t515, tm256): Double rather than long double.
4713 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4714
32c301df
AM
47152013-10-04 Alan Modra <amodra@gmail.com>
4716
4717 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4718 Delete.
4719 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4720 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4721 version of math_ldbl.h.
4722
650ef4bd
AM
47232013-10-04 Alan Modra <amodra@gmail.com>
4724
4725 [BZ #15734], [BZ #15735]
4726 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4727 all uses of ieee875 long double macros and unions. Simplify test
4728 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4729 ldbl_extract_mantissa value for ix,iy exponents. Properly
4730 normalize after ldbl_extract_mantissa, and don't add hidden bit
4731 already handled. Don't treat low word of ieee854 mantissa like
4732 low word of IBM long double and mask off bit when testing for
4733 zero.
4734 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4735 all uses of ieee875 long double macros and unions. Simplify tests
4736 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4737 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4738 two1022, instead use their values. Recognise that tests for large
4739 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4740 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4741 Rewrite all uses of ieee875 long double macros and unions. Simplify
4742 test for 0.0L and nan. Correct negation.
4743 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4744 ieee875 long double macros and unions. Correct output for large
4745 magnitude x. Correct absolute value calculation.
4746 (__erfcl): Likewise.
4747 * math/libm-test.inc: Add tests for errors discovered in IBM long
4748 double versions of fmodl, remainderl, erfl and erfcl.
4749
765714ca
AM
47502013-10-04 Alan Modra <amodra@gmail.com>
4751
4752 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4753 all uses of ieee854 long double macros and unions. Simplify tests
4754 for long doubles that are fully specified by the high double.
4755 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4756 Likewise.
4757 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4758 Remove dead code too.
4759 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4760 (__ieee754_ynl): Likewise.
4761 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4762 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4763 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4764 Remove dead code too.
4765 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4766 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4767 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4768 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4769 Simplify.
4770 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4771 Simplify.
4772 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4773 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4774 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4775 Comment on variable precision.
4776 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4777 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4778 Likewise.
4779 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4780 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4781 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4782 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4783 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4784
4ebd120c
AM
47852013-10-04 Alan Modra <amodra@gmail.com>
4786
4787 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4788 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4789 all uses of ieee854 long double macros and unions.
4790 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4791 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4792 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4793 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4794 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4795 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4796 Likewise.
4797 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4798 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4799 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4800 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4801 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4802 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4803 Simplify sign and nan test too.
4804 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4805 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4806 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4807 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4808 Likewise.
4809 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4810 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4811 Likewise.
4812 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4813 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4814 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4815 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4816 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4817 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4818
1b6adf88
AM
48192013-10-04 Alan Modra <amodra@gmail.com>
4820
4821 * stdio-common/printf_size.c (__printf_size): Don't use
4822 union ieee854_long_double in fpnum union.
4823 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4824 signbit macro to retrieve sign from long double.
4825 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4826 retrieve sign from long double.
4827 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4828 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4829 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4830 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4831 * math/test-misc.c (main): Don't use union ieee854_long_double.
4832
4cf69995
AM
48332013-10-04 Alan Modra <amodra@gmail.com>
4834
4835 [BZ #15680]
4836 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4837 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4838 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4839 calculation. Remove unnecessary test for denormal exponent.
4840 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4841 Correct handling of denormals. Avoid undefined shift behaviour.
4842 Correct normalisation of low mantissa when low double is denormal.
4843 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4844 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4845 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4846 Correct normalisation of low mantissa. Test for overflow of high
4847 mantissa and normalise.
4848 (ldbl_nearbyint): Use more readable constant for two52.
4849 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4850 (__mpn_construct_long_double): Fix test for overflow of high
4851 mantissa and correct normalisation. Avoid undefined shift.
4852
9605ca6c
AM
48532013-10-04 Alan Modra <amodra@gmail.com>
4854
4855 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4856 (union ibm_extended_long_double): Define as an array of ieee754_double.
4857 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4858 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4859 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4860 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4861 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4862 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4863 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4864 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4865 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4866 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4867 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4868
975569d0
JM
48692013-10-03 Joseph Myers <joseph@codesourcery.com>
4870
d3d23756
JM
4871 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4872 page size instead of calling getpagesize.
4873
975569d0
JM
4874 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4875 (LOCFILE_ALIGN_MASK): Likewise.
4876 (LOCFILE_ALIGN_UP): Likewise.
4877 (LOCFILE_ALIGNED_P): Likewise.
4878 * locale/programs/ld-collate.c (collate_output): Use the new
4879 macros instead of __alignof__ (int32_t).
4880 * locale/weight.h (findidx): Likewise.
4881
b1fe1f2b
OB
48822013-10-03 Ondřej Bílka <neleai@seznam.cz>
4883
4884 [BZ #431]
4885 * manual/string.texi: Fix strncat and wcsncat.
4886
5f855e35
BM
48872013-10-03 Brooks Moses <bmoses@google.com>
4888
4889 [BZ #15915]
4890 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4891 * Makerules: ...here, and adjust associated comments.
4892
3cef6009
WN
48932013-10-02 Will Newton <will.newton@linaro.org>
4894
4895 * malloc/Makefile: Add tst-pvalloc.
4896 * malloc/tst-pvalloc.c: New file.
4897
7815420b
WN
48982013-10-02 Will Newton <will.newton@linaro.org>
4899
4900 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4901 improve test coverage.
4902
4868b204
WN
49032013-10-02 Will Newton <will.newton@linaro.org>
4904
4905 * malloc/Makefile: Add tst-posix_memalign.
4906 * malloc/tst-posix_memalign.c: New file.
4907
29c793b3
EB
49082013-10-01 Eric Blake <eblake@redhat.com>
4909
4910 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4911 Use __THROWNL rather than __THROW on static functions.
4912
fd967522
PM
49132013-09-30 Petr Machata <pmachata@redhat.com>
4914
4915 * elf/elf.h (R_AARCH64_ABS16): New macro.
4916 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4917 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4918 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4919 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4920 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4921 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4922 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4923 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4924 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4925 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4926 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4927 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4928 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4929 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4930 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4931 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4932 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4933 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4934 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4935 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4936 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4937 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4938 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4939 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4940 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4941 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4942 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4943 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4944 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4945 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4946 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4947 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4948 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4949 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4950 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4951 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4952 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4953 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4954 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4955 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4956 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4957 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4958 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4959 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4960 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4961 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4962 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4963 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4964 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4965 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4966 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4967 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4968 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4969 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4970 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4971 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4972 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4973 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4974 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4975 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4976 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4977 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4978 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4979 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4980 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4981 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4982 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4983 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4984 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4985 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4986 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4987 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4988 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4989 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4990 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4991 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4992 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4993 (R_AARCH64_TLSDESC_LDR): Likewise.
4994 (R_AARCH64_TLSDESC_ADD): Likewise.
4995 (R_AARCH64_TLSDESC_CALL): Likewise.
4996
b2179107
AS
49972013-09-30 Andreas Schwab <schwab@suse.de>
4998
4999 [BZ #15048]
5000 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5001 the nss database lookup.
5002 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5004
47f28d0a
MF
50052013-09-28 Mike Frysinger <vapier@gentoo.org>
5006
5007 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5008
50092013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
5010
5011 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5012 ${Bash-specific parameter/pattern/string} parameter expansion.
5013 * sysdeps/unix/make-syscalls.sh: Likewise.
5014
f4518a17
KK
50152013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5016
5017 * sysdeps/sh/stackguard-macros.h: New file.
5018
dc1a95c7
OB
50192013-09-26 Ondřej Bílka <neleai@seznam.cz>
5020
5021 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5022 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5023 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5024 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5025 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5026 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5027
5ebbff8f
AZ
50282013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5029
5030 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5031 Fix thread ID register.
5032
4fd2cf9f
JM
50332013-09-25 Joseph Myers <joseph@codesourcery.com>
5034
5035 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5036 [POSIX || UNIX98]: Require rather than permitting all symbols from
5037 <time.h>.
5038 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5039 element of struct sched_param.
5040 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5041 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5042 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5043 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5044 constant.
5045
12c22bc4
OL
50462013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5047
5048 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5049 argument calculation.
5050
a03d8ea7
JM
50512013-09-24 Joseph Myers <joseph@codesourcery.com>
5052
5053 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5054 Expect macro.
5055 [POSIX] (pthread_attr_t): Do not require type.
5056 [POSIX] (pthread_cond_t): Likewise.
5057 [POSIX] (pthread_condattr_t): Likewise.
5058 [POSIX] (pthread_key_t): Likewise.
5059 [POSIX] (pthread_mutex_t): Likewise.
5060 [POSIX] (pthread_mutexattr_t): Likewise.
5061 [POSIX] (pthread_once_t): Likewise.
5062 [POSIX] (pthread_t): Likewise.
5063 [POSIX-based standards] (pthread_atfork): Expect function.
5064
6055173a
JM
50652013-09-24 Joseph Myers <joseph@codesourcery.com>
5066 Richard Sandiford <richard@codesourcery.com>
5067
5068 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5069 (swap_endianness_p): New extern variable.
5070 (set_big_endian): New inline function.
5071 (maybe_swap_uint32): Likewise.
5072 (maybe_swap_uint32_array): Likewise.
5073 (maybe_swap_uint32_obstack): Likewise.
5074 * locale/programs/locfile.c: Include <stdbool.h>.
5075 (swap_endianness_p): New variable.
5076 (add_locale_uint32): Call maybe_swap_uint32.
5077 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5078 (write_locale_data): Call maybe_swap_uint32_array.
5079 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5080 maybe_swap_uint32.
5081 (obstack_int32_grow_fast): Likewise.
5082 (output_weightwc): Call maybe_swap_uint32_obstack.
5083 (collate_output): Likewise.
5084 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5085 (OPT_LITTLE_ENDIAN): Likewise.
5086 (options): Add --little-endian and --big-endian options.
5087 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5088 * locale/programs/locarchive.c: Include "locfile.h".
5089 (GET): New macro.
5090 (SET): Likewise.
5091 (INC): Likewise.
5092 (create_archive): Use the new macros to access fields of
5093 structures directly mapped from or written to locale archives.
5094 (oldlocrecentcmp): Likewise.
5095 (enlarge_archive): Likewise.
5096 (insert_name): Likewise.
5097 (add_alias): Likewise.
5098 (add_locale): Likewise.
5099 (delete_locales_from_archive): Likewise.
5100 (show_archive_content): Likewise.
5101 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5102 locale data.
5103
39bf0bb4
RM
51042013-09-24 Roland McGrath <roland@hack.frob.com>
5105
5106 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5107 http://www.gnu.org/doc/freemanuals.texi.
5108 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5109
f02eed10
WN
51102013-09-24 Will Newton <will.newton@linaro.org>
5111
5112 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5113 macro.
5114
a3a6c312
JM
51152013-09-23 Joseph Myers <joseph@codesourcery.com>
5116
5117 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5118 unsigned char.
5119
107375ac
MR
51202013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5121
5122 * manual/threads.texi (POSIX Threads): Fix a typo.
5123
141f3a77
SP
51242013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5125
303e567a
SP
5126 [BZ #14547]
5127 * string/tst-strcoll-overflow.c: New test case.
5128 * string/Makefile (xtests): Add tst-strcoll-overflow.
5129 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5130 cache if string sizes may cause integer overflow.
5131
141f3a77
SP
5132 [BZ #14547]
5133 * string/strcoll_l.c (coll_seq): New members rule, idx,
5134 save_idx and back_us.
5135 (get_next_seq_nocache): New function.
5136 (do_compare_nocache): New function.
5137 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5138 when malloc fails.
5139
c61b4d41
CD
51402013-09-23 Carlos O'Donell <carlos@redhat.com>
5141
0b1f8e35
CD
5142 [BZ #15754]
5143 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5144 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5145 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5146
c61b4d41
CD
5147 [BZ #15754]
5148 * elf/Makefile (tests): Add tst-ptrguard1.
5149 (tests-static): Add tst-ptrguard1-static.
5150 (tst-ptrguard1-ARGS): Define.
5151 (tst-ptrguard1-static-ARGS): Define.
5152 * elf/tst-ptrguard1.c: New file.
5153 * elf/tst-ptrguard1-static.c: New file.
5154 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5155 * sysdeps/i386/stackguard-macros.h: Likewise.
5156 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5157 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5158 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5159 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5160 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5161 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5162
51632013-09-23 Hector Marco <hecmargi@upv.es>
5164 Ismael Ripoll <iripoll@disca.upv.es>
5165 Carlos O'Donell <carlos@redhat.com>
5166
5167 [BZ #15754]
5168 * sysdeps/generic/stackguard-macros.h: Define
5169 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5170 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5171 Define __pointer_chk_guard_local.
5172 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5173 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5174
f5f4e7b4
VV
51752013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5176
5177 [BZ #15859]
5178 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5179
5bb43a43
AS
51802013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5181
5182 * include/string.h (__ffs): Declare as hidden.
5183 * string/ffs.c (__ffs): Define as hidden.
5184 * sysdeps/i386/ffs.c (__ffs): Likewise.
5185 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5186 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5187 * sysdeps/s390/ffs.c (__ffs): Likewise.
5188 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5189
3ea5be54
AO
51902013-09-20 Alexandre Oliva <aoliva@redhat.com>
5191
ffb89e53
AO
5192 * NEWS: Mention malloc probes.
5193
322dea08
AO
5194 * malloc/arena.c (new_heap): New memory_heap_new probe.
5195 (grow_heap): New memory_heap_more probe.
5196 (shrink_heap): New memory_heap_less probe.
5197 (heap_trim): New memory_heap_free probe.
5198 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5199 (systrim): New memory_sbrk_less probe.
5200 * manual/probes.texi: Document them.
5201
655673f3
AO
5202 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5203 * manual/probes.texi: Document it.
5204
35fed6f1
AO
5205 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5206 (__libc_realloc): Add memory_realloc_retry probe.
5207 (__libc_memalign): Add memory_memalign_retry probe.
5208 (__libc_valloc): Add memory_valloc_retry probe.
5209 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5210 (__libc_calloc): Add memory_calloc_retry probe.
5211 * manual/probes.texi: Document them.
5212
6999d38c
AO
5213 * malloc/arena.c (get_free_list): Add probe
5214 memory_arena_reuse_free_list.
5215 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5216 and memory_arena_reuse.
5217 (arena_get2) [!PER_THREAD]: Likewise.
5218 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5219 memory_arena_reuse_realloc.
5220 * manual/probes.texi: Document them.
5221
0653427f
AO
5222 * malloc/malloc.c (__libc_free): Add
5223 memory_mallopt_free_dyn_thresholds probe.
5224 (__libc_mallopt): Add multiple memory_mallopt probes.
5225 * manual/probes.texi: Document them.
5226
3ea5be54
AO
5227 * malloc/malloc.c: Include stap-probe.h.
5228 (__libc_mallopt): Add memory_mallopt probe.
5229 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5230 * manual/probes.texi: New.
5231 * manual/Makefile (chapters): Add probes.
5232 * manual/threads.texi: Set next node.
5233
e35696c3 52342013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 5235
e35696c3
CL
5236 [BZ #15963, #13985]
5237 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5238 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5239 Add `Chinese' to `nan' entry name.
5240
4aafb73c
SP
52412013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5242
5243 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5244 (POLYNOMIAL): Likewise.
5245 (TAYLOR_SINCOS): Likewise.
5246 (TAYLOR_SLOW): Likewise.
5247 (__sin): Use TAYLOR_SINCOS.
5248 (__cos): Likewise.
5249 (slow): Use TAYLOR_SLOW.
5250 (sloww): Likewise.
5251 (bsloww): Likewise.
5252 (csloww): Likewise.
5253
d84f25c7
LD
52542013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5255
5256 * stdlib/strtod_l.c: Fix buffer overrun.
5257
5eea0404
SP
52582013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5259
7849ff93
SP
5260 * benchtests/Makefile (bench): Add sincos.
5261 * benchtests/bench-sincos.c: New file.
5262
cfa3c886
SP
5263 * math/libm-test.inc (cos_test_data): New test inputs.
5264 (sin_test_data): Likewise.
5265
b348e1e3
SP
5266 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5267 macro.
5268 (__sin): Use it.
5269 (__cos): Likewise.
5270 (slow1): Likewise.
5271 (slow2): Likewise.
5272 (sloww1): Likewise.
5273 (sloww2): Likewise.
5274 (bsloww1): Likewise.
5275 (bsloww2): Likewise.
5276 (cslow2): Likewise.
5277 (csloww1): Likewise.
5278 (csloww2): Likewise.
5279
6cce25f8
SP
5280 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5281 function.
5282 (__sin): Use it.
5283 (__cos): Likewise.
5284
5eea0404
SP
5285 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5286 gotos.
5287 (__cos): Likewise.
5288
9c21573c
MR
52892013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5290
5291 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5292 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5293 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5294 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5295 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5296 * elf/cache.c (print_entry): Handle the new cache flags.
5297
24d22e65
JM
52982013-09-18 Joseph Myers <joseph@codesourcery.com>
5299 Aldy Hernandez <aldyh@redhat.com>
5300
5301 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5302 Change condition to [_SOFT_FLOAT].
5303 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5304 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5305 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5306 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5307 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5308 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5309 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5310 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5311 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5312 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5313 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5314 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5315 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5316 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5317 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5318 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5319 declaration.
5320
d13ef066
JM
53212013-09-18 Joseph Myers <joseph@codesourcery.com>
5322
2e071de0
JM
5323 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5324 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5325 (__longjmp): Use LOAD_GP to load saved GPRs.
5326 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5327 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5328 (__sigsetjmp): Use SAVE_GP to save GPRs.
5329
d13ef066
JM
5330 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5331 Do not append -msoft-float.
5332 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5333
97a0650b
SP
53342013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5335
5336 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5337
11ca09e9
JM
53382013-09-17 Joseph Myers <joseph@codesourcery.com>
5339
5340 [BZ #15966]
5341 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5342 (_FPU_GETCW): Use initial "__" on variable and field names but not
5343 on macro parameter name.
5344 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5345 parentheses around reference to macro parameter.
5346
08ffcf34
RS
53472013-09-13 Richard Sandiford <richard@codesourcery.com>
5348
5349 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5350 prototype.
5351 (ctype_startup): Use uint32_t in cast and sizeof for
5352 ctype->charnames.
5353
ae7080d3
JL
53542013-09-11 Jia Liu <proljc@gmail.com>
5355
5356 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5357 __daddr_t_defined.
5358 [__FreeBSD__]: Likewise.
5359
5905e7b3
OB
53602013-09-11 Ondřej Bílka <neleai@seznam.cz>
5361
5362 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5363 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5364 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5365 (strchr): Remove __strchr_sse42 ifunc selection.
5366 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5367 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5368
b987c776
WN
53692013-09-11 Will Newton <will.newton@linaro.org>
5370
5371 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5372 parameter to RES. Remove hardcoded 1000 value.
5373 * benchtests/bench-skeleton.c (main): Pass RES parameter
5374 to TIMING_INIT and multiply result by 1000.
5375
ddf985af
AZ
53762013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5377
5378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5379
ffdd3181
AS
53802013-09-11 Andreas Schwab <schwab@suse.de>
5381
5382 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5383 if not defined.
5384 (O_TMPFILE) [__USE_GNU]: Define.
5385 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5386 Define.
5387
b73ed247
WN
53882013-09-11 Will Newton <will.newton@linaro.org>
5389
5390 [BZ #15857]
5391 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5392 does not overflow.
5393
55e17aad
WN
53942013-09-11 Will Newton <will.newton@linaro.org>
5395
5396 [BZ #15856]
5397 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5398 does not overflow.
5399
1159a193
WN
54002013-09-11 Will Newton <will.newton@linaro.org>
5401
5402 [BZ #15855]
5403 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5404 does not overflow.
5405
5905e7b3 54062013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
5407
5408 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5409 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5410 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5411 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5412 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5413
cdfc721b
AM
54142013-09-10 Allan McRae <allan@archlinux.org>
5415
aa04af00
AM
5416 [BZ #15748]
5417 * manual/arith.texi (Parsing of Floats): Clarify
5418 cross-reference.
5419
cdfc721b
AM
5420 [BZ #15849]
5421 * manual/install.texi (Running make install): Mention
5422 --enable-pt-chown.
5423 * INSTALL: Regenerated.
5424
95e7cf29
MR
54252013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5426
5427 * csu/init-first.c (_init): Remove the !SHARED condition around
5428 FPU control word initialization.
5429 * elf/dl-support.c (_dl_fpu_control): New variable.
5430 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5431 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5432 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5433 * math/test-fpucw-static.c: New file.
5434 * math/test-fpucw-ieee.c: New file.
5435 * math/test-fpucw-ieee-static.c: New file.
5436 * math/Makefile (tests): Add `test-fpucw-ieee' and
5437 `$(tests-static)'.
5438 (tests-static): New variable.
5439 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5440 dependency to...
5441 [($(build-shared),yes)]
5442 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5443 ... this.
5444 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5445 New dependency.
5446
83e43bf0
AM
54472013-09-09 Allan McRae <allan@archlinux.org>
5448
a9f5ce09
AM
5449 [BZ #15939]
5450 * manual/string.texi (Collation Functions): Fix typo in
5451 strcoll example.
5452 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5453
34829bc2
AM
5454 [BZ #15893]
5455 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5456
3932737d
AM
5457 [BZ #15892]
5458 * libio/memstream.c (open_memstream): Fix memory leak.
5459 * libio/wmemstream.c (open_wmemstream): Likewise.
5460
83e43bf0
AM
5461 [BZ #15895]
5462 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5463
0c66b8e9
WN
54642013-09-09 Will Newton <will.newton@linaro.org>
5465
5466 * malloc/Makefile: Add tst-realloc to tests.
5467 * malloc/tst-realloc.c: New file.
5468
f6b00fd1
AM
54692013-09-09 Allan McRae <allan@archlinux.org>
5470
5471 [BZ #15844]
5472 * COPYING: Update from GNU website to fix FSF address.
5473 * COPYING.LIB: Likewise.
5474
eec55e16
DM
54752013-09-06 David S. Miller <davem@davemloft.net>
5476
5477 * po/zh_TW.po: Update Chinese (traditional) translation from
5478 translation project.
5479
1ecbb381
RS
54802013-09-06 Richard Sandiford <richard@codesourcery.com>
5481 Joseph Myers <joseph@codesourcery.com>
5482
5483 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5484 "localeinfo.h".
5485 (obstack_chunk_alloc): New macro.
5486 (obstack_chunk_free): Likewise.
5487 (record_offset): New function.
5488 (init_locale_data): Likewise.
5489 (align_locale_data): Likewise.
5490 (add_locale_empty): Likewise.
5491 (add_locale_raw_data): Likewise.
5492 (add_locale_raw_obstack): Likewise.
5493 (add_locale_string): Likewise.
5494 (add_locale_wstring): Likewise.
5495 (add_locale_uint32): Likewise.
5496 (add_locale_uint32_array): Likewise.
5497 (add_locale_char): Likewise.
5498 (start_locale_structure): Likewise.
5499 (end_locale_structure): Likewise.
5500 (start_locale_prelude): Likewise.
5501 (end_locale_prelude): Likewise.
5502 (write_locale_data): Take locale_file structure rather than an
5503 iovec.
5504 * locale/programs/locfile.h: Include "obstack.h".
5505 (struct locale_file): Change to store locale file contents instead
5506 of header.
5507 (init_locale_data): New prototype.
5508 (align_locale_data): Likewise.
5509 (add_locale_empty): Likewise.
5510 (add_locale_raw_data): Likewise.
5511 (add_locale_raw_obstack): Likewise.
5512 (add_locale_string): Likewise.
5513 (add_locale_wstring): Likewise.
5514 (add_locale_uint32): Likewise.
5515 (add_locale_uint32_array): Likewise.
5516 (add_locale_char): Likewise.
5517 (start_locale_structure): Likewise.
5518 (end_locale_structure): Likewise.
5519 (start_locale_prelude): Likewise.
5520 (end_locale_prelude): Likewise.
5521 (write_locale_data): Update prototype.
5522 * locale/programs/3level.h (struct TABLE): Remove result field.
5523 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5524 Use new locale_file interface.
5525 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5526 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5527 * locale/programs/ld-address.c (address_output): Use new
5528 locale_file interface.
5529 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5530 NO_ADD_LOCALE.
5531 (collate_finish): Don't call collseq_table_finalize.
5532 (collate_output): Use new locale_file interface.
5533 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5534 in file.
5535 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5536 (TABLE): Move defines earlier in file.
5537 (ELEMENT): Likewise.
5538 (DEFAULT): Likewise.
5539 (wctrans_table_add): Move macro and inline function earlier in
5540 file.
5541 (struct wctype_table): Move type earlier in file.
5542 (add_locale_wctype_table): New static prototype.
5543 (struct locale_ctype_t): Use logical types instead of struct iovec
5544 pointers for members.
5545 (ctype_output): Use new locale_file interface.
5546 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5547 new locale_file interface.
5548 (allocate_arrays): Update for use of new locale_file interface.
5549 * locale/programs/ld-identification.c (identification_output): Use
5550 new locale_file interface.
5551 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5552 * locale/programs/ld-messages.c (messages_output): Likewise.
5553 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5554 * locale/programs/ld-name.c (name_output): Likewise.
5555 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5556 * locale/programs/ld-paper.c (paper_output): Likewise.
5557 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5558 * locale/programs/ld-time.c (time_output): Likewise.
5559
e029e2e5
AZ
55602013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5561
5562 * benchtests/Makefile: Add memrchr benchmark.
5563 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5564 benchmark as memrchr.
5565 * benchtests/bench-memrchr-ifunc.c: New file.
5566 * benchtests/bench-memrchr.c: New file.
5567
bbf6e8e4
WN
55682013-09-06 Will Newton <will.newton@linaro.org>
5569
5570 * benchtests/Makefile (string-bench): Add memcpy.
5571
6c82a2f8
CD
55722013-09-05 Carlos O'Donell <carlos@redhat.com>
5573 Cong Wang <amwang@redhat.com>
5574
5575 * sysdeps/unix/sysv/linux/bits/in.h
5576 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5577 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5578 before __USE_KERNEL_IPV6_DEFS uses.
5579 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5580 IPPROTO_BEETPH.
5581 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5582 sockaddr_in6, or ipv6_mreq.
5583
5430fc65
AZ
55842013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5585
5586 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5587 memory access for final bytes in some large inputs.
5588 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5589
4660856c
AZ
55902013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5591
5592 * string/test-memrchr.c: New file.
5593 * string/test-memrchr-ifunc.c: New file.
5594 * string/Makefile: Add new memrchr testcase.
5595
bb8ea713
MF
55962013-09-05 Mike Frysinger <vapier@gentoo.org>
5597
5598 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5599 fanotify_init returns EPERM.
5600
b92a20b5
JM
56012013-09-04 Joseph Myers <joseph@codesourcery.com>
5602
5603 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5604 errors.
5605 (top level): Treat second token from macro or constant entries for
5606 allowed headers as allowed.
5607 * include/complex.h: Condition internal declarations on
5608 [!_ISOMAC].
5609 * include/fenv.h: Condition include of <stdbool.h> and internal
5610 declarations on [!_ISOMAC].
7447ccd9
CL
5611
56122013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5613
3e181dda 5614 [BZ #15923]
7447ccd9
CL
5615 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5616
3f2e46a4
JM
56172013-09-04 Joseph Myers <joseph@codesourcery.com>
5618
5619 * configure.in (--enable-versioning): Remove configure option.
5620 (libc_cv_asm_symver_directive): Remove configure test.
5621 (libc_cv_ld_version_script_option): Likewise.
5622 (VERSIONING): Remove variable and AC_SUBST.
5623 (DO_VERSIONING): Remove AC_DEFINE.
5624 * configure: Regenerated.
5625 * config.h.in (DO_VERSIONING): Remove macro.
5626 * Makerules [$(versioning) = yes]: Change conditionals to
5627 [$(build-shared) = yes].
5628 * config.make.in (versioning): Remove variable.
5629 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5630 [$(build-shared) = yes].
5631 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5632 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5633 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5634 [$(build-shared) = yes].
5635 * extra-lib.mk [$(versioning) = yes]: Likewise.
5636 * hurd/Makefile [$(versioning) = yes]: Likewise.
5637 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5638 [SHARED].
5639 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5640 [SHARED].
5641 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5642 [SHARED && !NO_HIDDEN].
5643 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5644 [SHARED].
5645 [SHARED && DO_VERSIONING]: Likewise..
5646 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5647 [$(build-shared) = yes].
5648 * manual/install.texi (--disable-versioning): Remove
5649 documentation.
5650 * INSTALL: Regenerated.
5651 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5652 to [SHARED].
5653 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5654 [$(build-shared) = yes].
5655 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5656 * sysdeps/i386/i686/multiarch/strstr-c.c
5657 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5658 [SHARED && !NO_HIDDEN].
5659 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5660 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5661 * sysdeps/powerpc/powerpc32/dl-machine.c
5662 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5663 * sysdeps/powerpc/powerpc32/sysdep.h
5664 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5665 to [SHARED && PIC && !NO_HIDDEN].
5666 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5667 conditional to [SHARED].
5668
44558701
WN
56692013-09-04 Will Newton <will.newton@linaro.org>
5670
5671 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5672 * benchtests/bench-string.h: Include bench-timing.h instead
5673 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5674 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5675 call to HP_TIMING_DIFF_INIT.
5676 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5677 instead of hp-timing.h macros.
5678 * benchtests/bench-memchr.c: Likewise.
5679 * benchtests/bench-memcmp.c: Likewise.
5680 * benchtests/bench-memcpy.c: Likewise.
5681 * benchtests/bench-memmem.c: Likewise.
5682 * benchtests/bench-memmove.c: Likewise.
5683 * benchtests/bench-memset.c: Likewise.
5684 * benchtests/bench-rawmemchr.c: Likewise.
5685 * benchtests/bench-strcasecmp.c: Likewise.
5686 * benchtests/bench-strcasestr.c: Likewise.
5687 * benchtests/bench-strcat.c: Likewise.
5688 * benchtests/bench-strchr.c: Likewise.
5689 * benchtests/bench-strcmp.c: Likewise.
5690 * benchtests/bench-strcpy.c: Likewise.
5691 * benchtests/bench-strcpy_chk.c: Likewise.
5692 * benchtests/bench-strlen.c: Likewise.
5693 * benchtests/bench-strncasecmp.c: Likewise.
5694 * benchtests/bench-strncat.c: Likewise.
5695 * benchtests/bench-strncmp.c: Likewise.
5696 * benchtests/bench-strncpy.c: Likewise.
5697 * benchtests/bench-strnlen.c: Likewise.
5698 * benchtests/bench-strpbrk.c: Likewise.
5699 * benchtests/bench-strrchr.c: Likewise.
5700 * benchtests/bench-strspn.c: Likewise.
5701 * benchtests/bench-strstr.c: Likewise.
5702
cae16d66
WN
57032013-09-04 Will Newton <will.newton@linaro.org>
5704
5705 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5706
ffa3cd7f
JM
57072013-09-03 Joseph Myers <joseph@codesourcery.com>
5708
5709 [BZ #15427]
5710 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5711 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5712 * math/libm-test.inc (lgamma_test_data): Add more tests.
5713 * sysdeps/i386/fpu/libm-test-ulps: Update.
5714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5715
8f02859f
OB
57162013-09-03 Ondřej Bílka <neleai@seznam.cz>
5717
5718 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5719 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5720 Add ifunc.
5721 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5722 Add strcmp-sse2-unaligned
5723 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5724
18d43716
MF
57252013-09-02 Mike Frysinger <vapier@gentoo.org>
5726
5727 * Versions.def (libc): Add GLIBC_2.19.
5728
ac444012
MF
57292013-09-02 Mike Frysinger <vapier@gentoo.org>
5730
5731 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5732 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5733
b7835e32
JM
57342013-09-02 Joseph Myers <joseph@codesourcery.com>
5735
5736 [BZ #14155]
5737 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5738 intermediate calculations in recurrence.
5739 (__ieee754_ynf): Likewise.
5740 * math/libm-test.inc (jn_test_data): Do not allow spurious
5741 underflow exception. Add more tests.
5742 (yn_test_data): Add more tests.
5743 * sysdeps/i386/fpu/libm-test-ulps: Update.
5744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5745
8220f4f0
OB
57462013-09-02 Ondřej Bílka <neleai@seznam.cz>
5747
5748 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5749
f24a6d08
OB
57502013-08-30 Ondřej Bílka <neleai@seznam.cz>
5751
5752 * csu/init-first.c: Fix then/than typos.
5753 * locale/programs/ld-collate.c: Likewise.
5754 * locale/programs/linereader.h: Likewise.
5755 * manual/charset.texi: Likewise.
5756 * manual/filesys.texi: Likewise.
5757 * manual/stdio.texi: Likewise.
5758 * manual/string.texi: Likewise.
5759 * stdlib/fmtmsg.c: Likewise.
5760 * sysdeps/i386/stpncpy.S: Likewise.
5761 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5762 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5763 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5764 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5765
382466e0
OB
57662013-08-30 Ondřej Bílka <neleai@seznam.cz>
5767
5768 * elf/dl-open.c: Fix typos.
5769 * iconvdata/gbbig5.c: Likewise.
5770 * iconvdata/iso-2022-jp.c: Likewise.
5771 * iconv/gconv_int.h: Likewise.
5772 * iconv/loop.c: Likewise.
5773 * nis/rpcsvc/nis.h: Likewise.
5774 * resolv/ns_name.c: Likewise.
5775 * stdio-common/vfscanf.c: Likewise.
5776 * streams/stropts.h: Likewise.
5777 * sunrpc/rpc_thread.c: Likewise.
5778 * sysdeps/i386/strpbrk.S: Likewise.
5779 * sysdeps/ieee754/k_standard.c: Likewise.
5780 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5781 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5782 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5783 * sysdeps/mach/hurd/profil.c: Likewise.
5784 * sysdeps/s390/dl-procinfo.h: Likewise.
5785 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5786 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5787 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5788 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5789 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5790
0186c6e9
OB
57912013-08-30 Ondřej Bílka <neleai@seznam.cz>
5792
5793 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5794 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5795
d4e16af1
OB
57962013-08-29 Ondřej Bílka <neleai@seznam.cz>
5797
5798 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5799 aix specific files.
5800 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5801 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5802 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5803 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5804 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5805 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5806 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5807 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5808
88335980
TS
58092013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5810 Roland McGrath <roland@hack.frob.com>
5811
5812 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5813 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5814
ed479b02
ST
58152013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5816
5817 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5818 __executable_start symbol instead of _start.
5819
f1cc4c86
TS
58202013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5821
d821f07c
TS
5822 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5823 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5824 Move macros to...
5825 * sysdeps/gnu/ldsodefs.h: ... this new file.
5826
c54290cf
TS
5827 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5828 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5829 instead of ELFOSABI_LINUX.
5830
0007fc9b 5831 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
5832 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5833 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5834 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5835 Likewise.
5836 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5837 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5838 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5839 Likewise.
5840 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5841 (ibm_extended_long_double): Add ieee_nan member.
5842 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5843 (do_test): New function.
5844
f1cc4c86
TS
5845 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5846 TEST_TRUNC.
5847 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5848 functions, renamed from truncdfsf_test, trunctfsf_test,
5849 trunctfdf_test.
5850 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5851 functions.
5852 (do_test): Run all these.
5853
6f65e668
OB
58542013-08-29 Ondřej Bílka <neleai@seznam.cz>
5855
5856 * argp/argp-help.c: Fix typos.
5857 * argp/argp-parse.c: Likewise.
5858 * debug/backtracesyms.c: Likewise.
5859 * elf/elf.h: Likewise.
5860 * malloc/malloc.c: Likewise.
5861 * nis/nis_print.c: Likewise.
5862 * resolv/res_comp.c: Likewise.
5863 * stdlib/stdlib.h: Likewise.
5864 * sunrpc/clnt_tcp.c: Likewise.
5865 * sunrpc/clnt_udp.c: Likewise.
5866 * sunrpc/clnt_unix.c: Likewise.
5867 * sysdeps/unix/bsd/ptsname.c: Likewise.
5868 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5869 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
5870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5871 Likewise.
5872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5873 Likewise.
5874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5875 Likewise.
6f65e668
OB
5876 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5877
3a309239
SP
58782013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5879
5880 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5881 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5882
3b813b29
MF
58832013-08-27 Mike Frysinger <vapier@gentoo.org>
5884
5885 [BZ #15897]
5886 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5887 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5888 ($(objpfx)bug-dl-leaf): New rule.
5889 ($(objpfx)bug-dl-leaf.so): Likewise.
5890 ($(objpfx)bug-dl-leaf.out): Likewise.
5891 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5892 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5893 * dlfcn/bug-dl-leaf.c: New test.
5894 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5895 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5896 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5897 (dlclose): Likewise.
5898 (dlmopen): Likewise.
5899
8cc3269f
RM
59002013-08-27 Roland McGrath <roland@hack.frob.com>
5901
7f9d0034
RM
5902 * include/netdb.h [!_ISOMAC]:
5903 Don't include <tls.h>.
5904 (h_errno, __libc_h_errno): Move declaration and macros out of
5905 [_LIBC_REENTRANT].
5906
fb431262
RM
5907 * include/resolv.h [_RESOLV_H_]:
5908 Don't include <tls.h>.
5909 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5910 * resolv/res_libc.c: Don't include <tls.h>.
5911 (_res): Use __attribute__ ((nocommon)) in place of
5912 __attribute__ ((section (".bss"))).
5913
bd81123a
RM
5914 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5915 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5916
c4e42566
RM
5917 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5918
f890a59b
RM
5919 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5920 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5921
5922 * resolv/res_mkquery.c: Include <sys/time.h>.
5923
5d1f0a09
RM
5924 * inet/ifreq.c: Moved to ...
5925 * sysdeps/unix/ifreq.c: ... here.
5926 * inet/ifreq.c: New file, true stub version.
5927
6fcf28b3
RM
5928 * socket/sa_len.c: New file.
5929 * socket/Makefile (aux): Add it.
5930 * sysdeps/unix/sysv/linux/Makefile
5931 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5932 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5933 and #include <socket/sa_len.c>.
5934 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5935 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5936
e041fb8b
RM
5937 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5938 * bits/socket.h: ... here.
5939
8cc3269f
RM
5940 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5941 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5942 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5943
5d228a43
AS
59442013-08-27 Andreas Schwab <schwab@suse.de>
5945
45b8accc
AS
5946 [BZ #15736]
5947 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5948 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5949 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5950 * string/test-strcasecmp.c (test_main): Run tests in several
5951 locales.
5952 * string/test-strncasecmp.c (test_main): Likewise.
5953
5d228a43
AS
5954 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5955 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5956 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5957 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5958 (__strncasecmp_ssse3) [PIC]: Likewise.
5959
59d112a4
RM
59602013-08-26 Roland McGrath <roland@hack.frob.com>
5961
53234cc3
RM
5962 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5963
59d112a4
RM
5964 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5965 instead of explicitly declaring xdecrypt.
5966 * nis/nss_nis/nis-publickey.c: Likewise.
5967
595aba70
SP
59682013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5969
5970 [BZ #15890]
5971 * nscd/aicache.c: Include res_hconf.h.
5972 (addhstaiX): Initialize res_hconf.
5973
ffabd393
AS
59742013-08-26 Andreas Schwab <schwab@suse.de>
5975
5976 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5977 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5978
e0a69f5c
SP
59792013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5980
5981 * nscd/aicache.c (addhstaiX): Fix indentation.
5982
8c12f01d
MF
59832013-08-25 Mike Frysinger <vapier@gentoo.org>
5984
5985 * configure.ac: Quote $build_pt_chown test.
5986 * configure: Regenerated.
5987
8fe89494
JM
59882013-08-23 Joseph Myers <joseph@codesourcery.com>
5989
5990 [BZ #15532]
5991 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5992 * math/s_cexpf.c (__cexpf): Likewise.
5993 * math/s_cexpl.c (__cexpl): Likewise.
5994 * math/libm-test.inc (cexp_test_data): Correct expected return
5995 value for NaN + i0. Add another test.
5996
75b181d6
DM
59972013-08-22 David S. Miller <davem@davemloft.net>
5998
5999 * po/ca.po: Update Catalan translation from translation project.
936241e4 6000 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 6001
acd06bb1
JM
60022013-08-21 Joseph Myers <joseph@codesourcery.com>
6003
6004 [BZ #15797]
6005 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6006 is infinite, not alongside NaN test.
6007 * math/s_fdimf.c (__fdimf): Likewise.
6008 * math/s_fdiml.c (__fdiml): Likewise.
6009 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6010 errno is unchanged.
6011
c0c3f78a
OB
60122013-08-21 Ondřej Bílka <neleai@seznam.cz>
6013
6014 * argp/argp-help.c: Fix typos.
6015 * crypt/speeds.c: Likewise.
6016 * csu/check_fds.c: Likewise.
6017 * elf/dl-load.c: Likewise.
6018 * elf/dl-open.c: Likewise.
6019 * elf/reldep3.c: Likewise.
6020 * elf/reldep.c: Likewise.
6021 * elf/sprof.c: Likewise.
6022 * iconv/iconv_charmap.c: Likewise.
6023 * iconv/skeleton.c: Likewise.
6024 * iconv/strtab.c: Likewise.
6025 * io/lockf64.c: Likewise.
6026 * libio/libioP.h: Likewise.
6027 * resolv/gai_notify.c: Likewise.
6028 * resolv/ns_name.c: Likewise.
6029 * resolv/ns_samedomain.c: Likewise.
6030 * resolv/res_send.c: Likewise.
6031 * stdlib/random.c: Likewise.
6032 * sunrpc/rpc/xdr.h: Likewise.
6033 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6034 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6035 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6036 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6037 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6038 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6039 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6040 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6041 * sysdeps/mach/hurd/check_fds.c: Likewise.
6042 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6043 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6044 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6045 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6046 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6047 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6048 * sysdeps/pthread/aio_notify.c: Likewise.
6049 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6050 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6051 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6052 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6053 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6054
46ed1038
LD
60552013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6056
6057 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6058 version if bit_Slow_SSE4_2 is set.
6059 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6060 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6061
d400dcac
AZ
60622013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6063
6064 [BZ #15867]
6065 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6066 trampoline stack frame information.
6067 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6068 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6069 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6070 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6071 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6072 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6073 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6074 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6075 sa_flags value.
6076 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6077 interrupting a syscall and set with option SA_SIGINFO.
6078
42c8fdd8
JM
60792013-08-20 Joseph Myers <joseph@codesourcery.com>
6080
c980f2f4
JM
6081 [BZ #15531]
6082 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6083 argument is infinite.
6084 * math/s_cprojf.c (__cprojf): Likewise.
6085 * math/s_cprojl.c (__cprojl): Likewise.
6086 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6087 * math/libm-test.inc (cproj_test_data): Add more tests.
6088
0716c4fc
JM
6089 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6090
42c8fdd8
JM
6091 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6092 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6093 size. Use __ffs to determine corresponding shift.
6094
b31469d0
JM
60952013-08-20 Joseph Myers <joseph@codesourcery.com>
6096 Roland McGrath <roland@hack.frob.com>
6097
6098 * Makefile (INSTALL): Remove trailing blank lines from output of
6099 makeinfo.
6100
4e39af6e
AK
61012013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6102
6103 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6104 Align 32 bit compat elf_greg to 8 bytes.
6105
f315524e
AA
61062013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6107
6108 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6109
1326ba1a
SP
61102013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6111
6112 * string/strcoll_l.c (coll_seq): New structure.
6113 (get_next_seq_cached): New function.
6114 (get_next_seq): New function.
6115 (do_compare): New function.
6116 (STRCOLL): Use GNU style definition. Simplify implementation
6117 by using get_next_seq, get_next_seq_cached and do_compare.
6118
91ce4085
FW
61192013-08-16 Florian Weimer <fweimer@redhat.com>
6120
6121 [BZ #14699]
6122 CVE-2013-4237
6123 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6124 member.
6125 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6126 member.
6127 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6128 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6129 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6130 conditional.
6131 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6132 GETDENTS_64BIT_ALIGNED.
6133 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6134 * manual/filesys.texi (Reading/Closing Directory): Document
6135 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6136 strongly.
6137 * manual/conf.texi (Limits for Files): Add portability note to
6138 NAME_MAX, PATH_MAX.
6139 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6140
ca0a6bc4
AS
61412013-08-13 Andreas Schwab <schwab@suse.de>
6142
6143 [BZ #15749]
6144 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6145 of fabs.
6146 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6147 LDBL_MAX_EXP >= 16384]: Add tests for it.
6148
6c1fd795
DM
61492013-08-12 David S. Miller <davem@davemloft.net>
6150
6151 * version.h (RELEASE): Set to "development".
6152 (VERSION): Set to "2.18.90".
6153 * NEWS: Add 2.19 section.
6154
31ad488d
DM
61552013-08-03 David S. Miller <davem@davemloft.net>
6156
6157 * po/ko.po: Update Korean translation from translation project.
6158
db24e684
DM
61592013-08-01 David S. Miller <davem@davemloft.net>
6160
6161 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6162 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6163 Bilka.
6164
f723285b
DM
61652013-07-30 David S. Miller <davem@davemloft.net>
6166
6167 * po/fr.po: Update French translation from translation project.
6168
3cbc52db
DM
61692013-07-28 David S. Miller <davem@davemloft.net>
6170
30bbc0cc
DM
6171 * po/cs.po: Update Czech translation from translation project.
6172
3cbc52db
DM
6173 * po/sv.po: Update Swedish translation from translation project.
6174
d492e6d0
DM
61752013-07-27 David S. Miller <davem@davemloft.net>
6176
f1a7f492
DM
6177 * po/eo.po: Update Esperanto translation from translation project.
6178
90e62a4a
DM
6179 * po/vi.po: Update Vietnamese translation from translation project.
6180
d492e6d0
DM
6181 * po/de.po: Update German translation from translation project.
6182
d4baa62d
DM
61832013-07-26 David S. Miller <davem@davemloft.net>
6184
641aa7b4
DM
6185 * po/bg.po: Update Bulgarian translation from translation project.
6186
d4baa62d
DM
6187 * po/nl.po: Update Dutch translation from translation project.
6188 * po/pl.po: Update Polish translation from translation project.
6189 * po/ru.po: Update Russian translation from translation project.
6190
61a9dcb9
DM
61912013-07-24 David S. Miller <davem@davemloft.net>
6192
6193 * po/libc.pot: Update.
6194
7b1f8b58
AZ
61952013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6196
6197 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6198 variable page size.
6199 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6200 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6201 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6202
a8fc7a03
AK
62032013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6204
6205 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6206
e4608715
CD
62072013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6208 Andreas Schwab <schwab@suse.de>
6209 Roland McGrath <roland@hack.frob.com>
6210 Joseph Myers <joseph@codesourcery.com>
6211 Carlos O'Donell <carlos@redhat.com>
6212
6213 [BZ #15755]
6214 * config.h.in: Define HAVE_PT_CHOWN.
6215 * config.make.in (build-pt-chown): New variable.
6216 * configure.in (--enable-pt_chown): New configure option.
6217 * configure: Regenerate.
6218 * login/Makefile: Include Makeconfig. Build pt_chown only if
6219 build-pt-chown is enabled.
6220 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6221 pt_chown to fix pty ownership.
6222 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6223 CLOSE_ALL_FDS.
6224 * manual/install.texi (Configuring and compiling): Mention
6225 --enable-pt_chown. Add @findex for grantpt.
6226 * INSTALL: Regenerate.
6227
da2d62df
DM
62282013-07-20 David S. Miller <davem@davemloft.net>
6229
6230 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6231 difference between 32-bit and 64-bit.
6232
d7e06450
CD
62332013-07-15 Carlos O'Donell <carlos@redhat.com>
6234
6235 [BZ #15711]
6236 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6237 Avoid system header dependency with -ffreestanding.
6238 ($(objpfx)bits/syscall%d): Likewise.
6239
f959cfd7
DM
62402013-07-13 David S. Miller <davem@davemloft.net>
6241
6242 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6243 underflows from atanl/atan2l due to bug 15319.
6244 (casinh_test_data): Likewise.
6245
c61f8513
DM
62462013-07-07 David S. Miller <davem@davemloft.net>
6247
6248 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6249
72c90ed0
JA
62502013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6251
6252 * sysdeps/i386/fpu/libm-test-ulps: Update.
6253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6254
52dfbe13
SP
62552013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6256
6257 * configure.in (--enable-lock-elision): Fix message text.
6258 * INSTALL: Regenerate.
6259 * configure: Regenerate.
6260
3f169543
AZ
62612013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6262
6263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6264
521c6785
AJ
62652013-07-03 Andreas Jaeger <aj@suse.de>
6266
6267 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6268 define.
6269 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6270 (ptrace_peeksiginfo_args): Add.
6271 (__ptrace_peeksiginfo_flags): Add.
6272 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6273 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6274 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6275
d2cc15cb
AM
62762013-07-03 Allan McRae <allan@archlinux.org>
6277
6278 * sysdeps/i386/fpu/libm-test-ulps: Update.
6279
3aaeeca7
DM
62802013-07-02 David S. Miller <davem@davemloft.net>
6281
6282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6283
5314ed1a
MT
62842013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6285
6286 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6287
67338156
JM
62882013-07-02 Joseph Myers <joseph@codesourcery.com>
6289
6290 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6292
1717da59
AK
62932013-07-02 Andi Kleen <ak@linux.intel.com>
6294
6295 * config.h.in (ENABLE_LOCK_ELISION): Add.
6296 * configure.in (--enable-lock-elision): Add option.
6297 * manual/install.texi: Document --enable lock elision.
6298 * configure: Regenerate
6299 * INSTALL: Regenerate.
6300
1c81621c
L
63012013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6302
6303 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6304 SSE4.2 strcasecmp for libc.a.
6305 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6306
77f01ab5
JM
63072013-07-02 Joseph Myers <joseph@codesourcery.com>
6308
6309 [BZ #13304]
6310 * soft-fp/op-common.h (_FP_FMA): New macro.
6311 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6312 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6313 (_FP_MUL_MEAT_1_imm): ... here.
6314 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6315 (_FP_MUL_MEAT_1_wide): ... here.
6316 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6317 (_FP_MUL_MEAT_1_hard): ... here.
6318 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6319 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6320 (_FP_MUL_MEAT_2_wide): ... here.
6321 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6322 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6323 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6324 (_FP_MUL_MEAT_2_gmp): ... here.
6325 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6326 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6327 (_FP_MUL_MEAT_4_wide): ... here.
6328 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6329 (_FP_MUL_MEAT_4_gmp): ... here.
6330 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6331 (_FP_WFRACBITS_DW_S): Likewise.
6332 (_FP_WFRACXBITS_DW_S): Likewise.
6333 (_FP_HIGHBIT_DW_S): Likewise.
6334 (FP_FMA_S): Likewise.
6335 (_FP_FRAC_HIGH_DW_S): Likewise.
6336 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6337 (_FP_WFRACBITS_DW_D): Likewise.
6338 (_FP_WFRACXBITS_DW_D): Likewise.
6339 (_FP_HIGHBIT_DW_D): Likewise.
6340 (FP_FMA_D): Likewise.
6341 (_FP_FRAC_HIGH_DW_D): Likewise.
6342 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6343 (_FP_WFRACBITS_DW_E): Likewise.
6344 (_FP_WFRACXBITS_DW_E): Likewise.
6345 (_FP_HIGHBIT_DW_E): Likewise.
6346 (FP_FMA_E): Likewise.
6347 (_FP_FRAC_HIGH_DW_E): Likewise.
6348 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6349 (_FP_WFRACBITS_DW_Q): Likewise.
6350 (_FP_WFRACXBITS_DW_Q): Likewise.
6351 (_FP_HIGHBIT_DW_Q): Likewise.
6352 (FP_FMA_Q): Likewise.
6353 (_FP_FRAC_HIGH_DW_Q): Likewise.
6354 * soft-fp/fmasf4.c: New file.
6355 * soft-fp/fmadf4.c: Likewise.
6356 * soft-fp/fmatf4.c: Likewise.
6357
6308fd9a
LD
63582013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6359
6360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6361 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6362 Silvermont.
6363 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6364 macro.
6365 (index_Slow_SSE4_2): Likewise.
6366 (index_Prefer_PMINUB_for_stringop): Likewise.
6367 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6368 bit_Slow_SSE4_2 is set.
6369 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6370 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6371
89cd9569
RA
63722013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6373
6374 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6375 rtld_global._dl_hwcap2.
6376 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6377 POWER8.
6378 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6379 POWER8 feature descriptions defined in _dl_hwcap2.
6380 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6381 string handling for POWER8 feature bits.
6382 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6383 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6384 _dl_powerpc_cap_flags.
6385 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6386 * sysdeps/powerpc/rtld-global-offsets.sym
6387 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6388 _dl_hwcap2 in the rtld_global_ro structure.
6389
1ae8bfe0
RA
63902013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6391
6392 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6393 hardware capabilities in support of AT_HWCAP2.
6394 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6395 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6396 GLRO(dl_hwcap2).
6397 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6398 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6399 explicitly the unknown a_type display mechanism is used.
6400 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6401 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6402 struct member.
6403 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6404 to macro prototype for AT_HWCAP2 support.
6405 * sysdeps/i386/dl-procinfo.h: Likewise.
6406 * sysdeps/s390/dl-procinfo.h: Likewise.
6407 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6408 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6409 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6410 return -1 for unknown a_type display fallback.
6411 * sysdeps/sparc/dl-procinfo.h: Likewise.
6412 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6413 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6414
8fbec010
JM
64152013-06-28 Joseph Myers <joseph@codesourcery.com>
6416
6417 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6418 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6419
0432680e
PY
64202013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6421
6422 [BZ #12492]
6423 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6424 mprotect making __stack_prot writable.
6425
ce61a2ad
NF
64262013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6427 Joseph Myers <joseph@codesourcery.com>
6428
6429 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6430 as being properly aligned.
6431
f91f1c0f
MR
64322013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6433
3d0f5d0c
MR
6434 * dlfcn/modstatic5.c: New file.
6435 * dlfcn/tststatic5.c: New file.
6436 * dlfcn/Makefile (tests): Add tststatic5.
6437 (tests-static): Likewise.
6438 (modules-names): Add modstatic5.
6439 (tststatic5-ENV): New variable.
6440 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6441
f91f1c0f
MR
6442 [BZ #15022]
6443 * elf/dl-support.c (_dl_main_map): New variable.
6444 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6445 (_dl_nns, _dl_load_adds): Set to 1.
6446 (_dl_initial_searchlist): Refer to _dl_main_map.
6447 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6448 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6449 call to _dl_get_origin.
6450 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6451 around call_map.
6452 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6453 * dlfcn/modstatic3.c: New file.
6454 * dlfcn/tststatic3.c: New file.
6455 * dlfcn/tststatic4.c: New file.
6456 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6457 (tests-static): Likewise.
6458 (modules-names): Add modstatic3.
6459 (tststatic3-ENV, tststatic4-ENV): New variables.
6460 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6461 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6462
cbe7d24b
JM
64632013-06-26 Joseph Myers <joseph@codesourcery.com>
6464
6465 * configure.in (CC): Require GCC version 4.4 or later.
6466 * configure: Regenerated.
6467 * manual/install.texi (Tools for Compilation): Update GCC version
6468 requirement.
6469 * INSTALL: Regenerated.
6470
11b8a0e1
LD
64712013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6472
6473 [BZ #15674]
bb5bb87c
L
6474 * string/test-memcmp.c (check2): New.
6475 (main): Call check2.
6476
11b8a0e1
LD
6477 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6478
b0037103
MR
64792013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6480
6481 [BZ #15022]
6482 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6483 over to...
6484 (dl_open_worker) [!SHARED]: ... here.
6485
c18c701d
RA
64862013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6487
6488 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6489
1d17fa5f
RH
64902013-06-25 Richard Henderson <rth@redhat.com>
6491
6492 * locale/programs/locarchive.c: Include <libc-internal.h>
6493
8fcb833a
JM
64942013-06-25 Joseph Myers <joseph@codesourcery.com>
6495
6496 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6497 trailing whitespace removed.
6498
17db6e8d
MF
64992013-06-24 Mike Frysinger <vapier@gentoo.org>
6500
6501 [BZ #10283]
17db6e8d
MF
6502 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6503 * locale/programs/locarchive.c: Include libc-mmap.h.
6504 (prepare_address_space): Take two new outputs (the mmap base and len).
6505 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6506 values.
6507 (create_archive): Declare new mmap base and len values for
6508 prepare_address_space, and store the result in ah.
6509 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6510 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6511 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6512 Declare new mmap base and len values for
6513 prepare_address_space, and store the result in new_ah.
6514 (open_archive): Declare new mmap base and len values for
6515 prepare_address_space, and store the result in ah.
6516 (close_archive): If ah->mmap_base is not NULL, use that and
6517 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6518 * sysdeps/generic/libc-mmap.h: New file.
6519
d605071e
MF
65202013-06-24 Mike Frysinger <vapier@gentoo.org>
6521
6522 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6523 (ALIGN_UP): Likewise.
6524 (PTR_ALIGN_DOWN): Likewise.
6525 (PTR_ALIGN_UP): Likewise.
6526
2f063a6e
RA
65272013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6528
6529 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6530 entry mapped to PPC_PLATFORM_POWER8.
6531 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6532 POWER8.
6533 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6534 (_dl_string_platform): Add case for exporting platform position for
6535 POWER8.
6536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6537 search path to sysdeps/powerpc/powerpc32/power8 directory.
6538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6539 search path to sysdeps/powerpc/powerpc64/power8 directory.
6540 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6541 power7 directories.
6542 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6543 power7 directories.
6544
a31ee4b3
SP
65452013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6546
a74ca98f
SP
6547 * INSTALL: Regenerate.
6548
a31ee4b3
SP
6549 * nscd/connections.c (nscd_init): Fix comment.
6550
695c378f
JM
65512013-06-22 Joseph Myers <joseph@codesourcery.com>
6552
d8412221
JM
6553 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6554
695c378f
JM
6555 [BZ #15667]
6556 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6557 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6558
d1d54715
MR
65592013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6560
6561 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6562 DL_DST_REQ_STATIC.
6563 (DL_DST_REQ_STATIC): Remove macro.
6564
8fdda7af
JM
65652013-06-21 Joseph Myers <joseph@codesourcery.com>
6566
6567 [BZ #7006]
6568 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6569 with a shift of 0 bits.
6570
f3bc5e5a
MR
65712013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6572
6573 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6574 $(tststatic-ENV).
6575
be09e8c9
KK
65762013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6577
6578 [BZ #15655]
6579 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6580
85c2e611
AZ
65812013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6582
6583 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6584 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6585 accepts -fno-tree-loop-distribute-patterns.
6586 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6587 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6588 recursive call.
6589 * string/memset.c (memset): Likewise.
6590 * string/test-memmove.c (simple_memmove): Disable loop transformation
6591 to library calls.
6592 * string/test-memset.c (simple_memset): Likewise.
6593 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6594 * benchtests/bench-memset.c (simple_memset): Likewise.
6595 * configure: Regenerated.
6596
c91e0825
JM
65972013-06-20 Joseph Myers <joseph@codesourcery.com>
6598
b8c792af
JM
6599 * math/test-misc.c (main): Ignore fesetround failure when failures
6600 of subsequent rounding tests would be ignored.
6601
c91e0825
JM
6602 [BZ #15654]
6603 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6604 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6605 * math/fegetenv.c (__fegetenv): Return 0.
6606 * math/fegetexcept.c (fegetexcept): Return 0.
6607 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6608 FE_TONEAREST.
6609 * math/feholdexcpt.c (feholdexcept): Return 0.
6610 * math/fesetenv.c (__fesetenv): Return 0.
6611 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6612 argument FE_TONEAREST.
6613 * math/feupdateenv.c (__feupdateenv): Return 0.
6614 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6615
bfcacbde
RM
66162013-06-18 Roland McGrath <roland@hack.frob.com>
6617
6618 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6619 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6620 ($(objpfx)rtld-%.os rules): Use them.
6621
e55a9b25
AZ
66222013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6623
6624 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6625 fields.
6626
346d65b3
RM
66272013-06-17 Roland McGrath <roland@hack.frob.com>
6628
12086fb4
RM
6629 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6630 length of target pattern, then descending length of dependency pattern.
6631 * configure.in (AWK): Require gawk 3.1.2 or newer.
6632 * manual/install.texi (Tools for Compilation): Say that we do.
6633 * configure: Regenerated.
6634
346d65b3
RM
6635 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6636 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6637 * scripts/sysd-rules.awk: ... this new script.
6638 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6639 than a glob-style pattern.
6640
1a846317
JM
66412013-06-17 Joseph Myers <joseph@codesourcery.com>
6642
6643 * math/test-misc.c (main): Do not treat incorrectly rounded
6644 conversions as failure unless ROUNDING_TESTS passes.
6645
8fc75e6f
JM
66462013-06-15 Joseph Myers <joseph@codesourcery.com>
6647
3711a167
JM
6648 [BZ #15631]
6649 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6650 restore exception state around main square root computation, then
6651 check for inexactness explicitly.
6652
8fc75e6f
JM
6653 * math/libm-test.inc (fma_test_data): Add another test.
6654
61dd6208
SP
66552013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6656
adf23d2c
SP
6657 * manual/threads.texi (Non-POSIX Extensions): New document
6658 node. Document pthread_getattr_default_np and
6659 pthread_setattr_default_np.
6660
61dd6208
SP
6661 * Versions.def (libpthread): Add GLIBC_2.18.
6662 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6664 Likewise.
6665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6666 Likewise.
6667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6668 Likewise.
6669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6670 Likewise.
6671 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6672 Likewise.
6673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6674 Likewise.
6675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6676 Likewise.
6677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6678 Likewise.
6679 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6680 Likewise.
6681
d086fc7b
LD
66822013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6683
6684 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6685 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6686
747ef469
SP
66872013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6688 H.J. Lu <hjl.tools@gmail.com>
6689
6690 [BZ #15627]
6691 * sysdeps/x86_64/rtld-memset.c: Remove file.
6692 * sysdeps/x86_64/rtld-memset.S: New file.
6693
1b2feed2
JM
66942013-06-14 Joseph Myers <joseph@codesourcery.com>
6695
6696 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6697 (test_in_one_mode): Take arguments for whether the rounding mode
6698 is supported for each floating-point type.
6699 (do_test): Pass new arguments to test_in_one_mode using
6700 ROUNDING_TESTS.
6701
a58ad3f8
RM
67022013-06-13 Roland McGrath <roland@hack.frob.com>
6703
6704 * posix/tst-waitid.c (do_test): Distinguish different instances of
6705 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6706 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6707 before entering the kernel for waitpid.
6708
c204ab28
SP
67092013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6710
6711 * NEWS: Fix note on clock function precision. Text by Roland
6712 McGrath.
6713
f4a29fba
RM
67142013-06-13 Roland McGrath <roland@hack.frob.com>
6715
6716 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6717 it into place only when and if the sanity check passes.
6718
1f24b9ad
JM
67192013-06-13 Joseph Myers <joseph@codesourcery.com>
6720
6721 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6722 output for whether conversion result is exact. Take argument
6723 indicating whether type is IBM long double.
6724 (round_for_all): Change need_exact field to ibm_ld.
6725 * stdlib/tst-strtod-round.c (struct exactness): New type.
6726 (struct test): Change bool ld_ok field to struct exactness exact.
6727 (TEST): Update all definitions for change to field.
6728 (tests): Regenerate array contents.
6729 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6730 field value. Check for IBM long double here.
6731 (do_test): Update calls to test_in_one_mode.
6732
58206c68
SP
67332013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6734
6735 [BZ #12515]
6736 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6737 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6738
2d6f4c5b 67392013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
6740
6741 [BZ #15605]
6742 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6743 generated by the compiler on loop optimizations.
6744 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6745 general definitions.
6746
94f2c076
JM
67472013-06-12 Joseph Myers <joseph@codesourcery.com>
6748
6749 * math/bug-nextafter.c: Include <math-tests.h>.
6750 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6751 the relevant type.
6752 * math/bug-nexttoward.c: Include <math-tests.h>.
6753 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6754 the relevant type.
6755 * math/test-misc.c: Include <math-tests.h>.
6756 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6757 the relevant type.
6758
e0e50a0a
AJ
67592013-06-12 Andreas Jaeger <aj@suse.de>
6760
6761 * po/ia.po: Update Interlingua translation from translation
6762 project.
6763
25061094
SP
67642013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6765
6766 * include/fenv.h: Include stdbool.h.
6767 (struct rm_ctx): New structure.
6768 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6769 Define macro.
6770 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6771 (SET_RESTORE_ROUNDF): Likewise.
6772 (SET_RESTORE_ROUNDL): Likewise.
6773 (SET_RESTORE_ROUND_NOEX): Likewise.
6774 (SET_RESTORE_ROUND_NOEXF): Likewise.
6775 (SET_RESTORE_ROUND_NOEXL): Likewise.
6776 (SET_RESTORE_ROUND_53BIT): Likewise.
6777 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6778 (libc_feresetround_noexf_ctx): Likewise.
6779 (libc_feresetround_noexl_ctx): Likewise.
6780 (libc_feholdsetround_53bit_ctx): Likewise.
6781 (libc_feresetround_53bit_ctx): Likewise.
6782 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6783 (libc_feholdexcept_setround_sse_ctx): New function.
6784 (libc_fesetenv_sse_ctx): Likewise.
6785 (libc_feupdateenv_sse_ctx): Likewise.
6786 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6787 (libc_feholdexcept_setround_387_ctx): Likewise.
6788 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6789 (libc_feholdsetround_387_prec_ctx): Likewise.
6790 (libc_feholdsetround_387_ctx): Likewise.
6791 (libc_feholdsetround_387_53bit_ctx): Likewise.
6792 (libc_feholdsetround_sse_ctx): Likewise.
6793 (libc_feresetround_sse_ctx): Likewise.
6794 (libc_feresetround_387_ctx): Likewise.
6795 (libc_feupdateenv_387_ctx): Likewise.
6796 (libc_feholdexcept_setroundf_ctx): Define macro.
6797 (libc_fesetenvf_ctx): Likewise.
6798 (libc_feupdateenvf_ctx): Likewise.
6799 (libc_feholdsetroundf_ctx): Likewise.
6800 (libc_feresetroundf_ctx): Likewise.
6801 (libc_feholdexcept_setround_ctx): Likewise.
6802 (libc_fesetenv_ctx): Likewise.
6803 (libc_feupdateenv_ctx): Likewise.
6804 (libc_feholdsetround_ctx): Likewise.
6805 (libc_feresetround_ctx): Likewise.
6806 (libc_feholdexcept_setroundl_ctx): Likewise.
6807 (libc_feupdateenvl_ctx): Likewise.
6808 (libc_feholdsetroundl_ctx): Likewise.
6809 (libc_feresetroundl_ctx): Likewise.
6810 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6811 (libc_feresetround_53bit_ctx): Likewise.
6812
59b30555
SP
68132013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6814
6815 * locale/iso-639.def: Convert to UTF-8.
6816
f1d73d30
JM
68172013-06-11 Joseph Myers <joseph@codesourcery.com>
6818
6819 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6820 (EXCEPTION_TESTS_double): Likewise.
6821 (EXCEPTION_TESTS_long_double): Likewise.
6822 (EXCEPTION_TESTS): Likewise.
6823 * math/libm-test.inc (test_exceptions): Only test exceptions if
6824 EXCEPTION_TESTS (FLOAT).
6825
94aca5e7
SP
68262013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6827
6828 * benchtests/Makefile (string-bench): Add strcpy_chk and
6829 stpcpy_chk.
6830 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6831 * benchtests/bench-stpcpy_chk.c: New file.
6832 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6833 * benchtests/bench-strcpy_chk.c: New file.
6834 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6835 code.
6836 (do_test): Likewise.
6837
fac0c5f2
RA
68382013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6839
6840 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6841 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6842 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6843 with tabs where appropriate.
6844 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6845 dl-procinfo.h.
6846 [PPC_PLATFORM_PPC440]: Likewise.
6847 [PPC_PLATFORM_PPC464]: Likewise.
6848 [PPC_PLATFORM_PPC476]: Likewise.
6849 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6850 ppc464, and ppc476 platform strings merging from ports/
6851 dl-procinfo.h.
6852
f22bc486
AS
68532013-06-11 Andreas Schwab <schwab@suse.de>
6854
6855 [BZ #14991]
6856 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6857 (from_ucs4_idx): Regenerate.
6858 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6859 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6860 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6861 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6862 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6863 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6864 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6865 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6866 from FROM_LOOP and TO_LOOP specific macros.
6867 (BODY): Handle combining characters.
6868 * iconvdata/BIG5HKSCS.irreversible: Update.
6869 * iconvdata/BIG5HKSCS.precomposed: New file.
6870 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6871 characters.
6872 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6873
c1f75dc3
SP
68742013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6875
4eacded2
SP
6876 * include/sys/time.h: Fix indentation and add copyright header.
6877
fec799f8
SP
6878 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6879 (do_test): Likewise.
6880 * string/test-memchr.c (do_one_test): Likewise.
6881 (do_test): Likewise.
6882 * string/test-memcmp.c (do_one_test): Likewise.
6883 (do_test): Likewise.
6884 * string/test-memcpy.c (do_one_test): Likewise.
6885 (do_test): Likewise.
6886 * string/test-memmem.c (do_one_test): Likewise.
6887 (do_test): Likewise.
6888 (do_random_tests): Likewise.
6889 * string/test-memmove.c (do_one_test): Likewise.
6890 (do_test): Likewise.
6891 * string/test-memset.c (do_one_test): Likewise.
6892 (do_test): Likewise.
6893 * string/test-rawmemchr.c (do_one_test): Likewise.
6894 (do_test): Likewise.
6895 * string/test-strcasecmp.c (do_one_test): Likewise.
6896 (do_test): Likewise.
6897 * string/test-strcasestr.c (do_one_test): Likewise.
6898 (do_test): Likewise.
6899 * string/test-strcat.c (do_one_test): Likewise.
6900 (do_test): Likewise.
6901 * string/test-strchr.c (do_one_test): Likewise.
6902 (do_test): Likewise.
6903 * string/test-strcmp.c (do_one_test): Likewise.
6904 (do_test): Likewise.
6905 * string/test-strcpy.c (do_one_test): Likewise.
6906 (do_test): Likewise.
6907 * string/test-string.h: Likewise.
6908 (test_init): Likewise.
6909 * string/test-strlen.c (do_one_test): Likewise.
6910 (do_test): Likewise.
6911 * string/test-strncasecmp.c (do_one_test): Likewise.
6912 (do_test): Likewise.
6913 * string/test-strncat.c (do_one_test): Likewise.
6914 (do_test): Likewise.
6915 * string/test-strncmp.c (do_one_test): Likewise.
6916 (do_test_limit): Likewise.
6917 (do_test): Likewise.
6918 * string/test-strncpy.c (do_one_test): Likewise.
6919 (do_test): Likewise.
6920 * string/test-strnlen.c (do_one_test): Likewise.
6921 (do_test): Likewise.
6922 * string/test-strpbrk.c (do_one_test): Likewise.
6923 (do_test): Likewise.
6924 * string/test-strrchr.c (do_one_test): Likewise.
6925 (do_test): Likewise.
6926 * string/test-strspn.c (do_one_test): Likewise.
6927 (do_test): Likewise.
6928 * string/test-strstr.c (do_one_test): Likewise.
6929 (do_test): Likewise.
6930
97020474
SP
6931 * benchtests/Makefile (string-bench): Add string benchmarks.
6932 * benchtests/bench-bcopy-ifunc.c: New file.
6933 * benchtests/bench-bcopy.c: New file.
6934 * benchtests/bench-bzero-ifunc.c: New file.
6935 * benchtests/bench-bzero.c: New file.
6936 * benchtests/bench-memccpy-ifunc.c: New file.
6937 * benchtests/bench-memccpy.c: New file.
6938 * benchtests/bench-memchr-ifunc.c: New file.
6939 * benchtests/bench-memchr.c: New file.
6940 * benchtests/bench-memcmp-ifunc.c: New file.
6941 * benchtests/bench-memcmp.c: New file.
6942 * benchtests/bench-memmem-ifunc.c: New file.
6943 * benchtests/bench-memmem.c: New file.
6944 * benchtests/bench-memmove-ifunc.c: New file.
6945 * benchtests/bench-memmove.c: New file.
6946 * benchtests/bench-mempcpy-ifunc.c: New file.
6947 * benchtests/bench-mempcpy.c: New file.
6948 * benchtests/bench-memset-ifunc.c: New file.
6949 * benchtests/bench-memset.c: New file.
6950 * benchtests/bench-rawmemchr-ifunc.c: New file.
6951 * benchtests/bench-rawmemchr.c: New file.
6952 * benchtests/bench-stpcpy-ifunc.c: New file.
6953 * benchtests/bench-stpcpy.c: New file.
6954 * benchtests/bench-stpncpy-ifunc.c: New file.
6955 * benchtests/bench-stpncpy.c: New file.
6956 * benchtests/bench-strcasecmp-ifunc.c: New file.
6957 * benchtests/bench-strcasecmp.c: New file.
6958 * benchtests/bench-strcasestr-ifunc.c: New file.
6959 * benchtests/bench-strcasestr.c: New file.
6960 * benchtests/bench-strcat-ifunc.c: New file.
6961 * benchtests/bench-strcat.c: New file.
6962 * benchtests/bench-strchr-ifunc.c: New file.
6963 * benchtests/bench-strchr.c: New file.
6964 * benchtests/bench-strchrnul-ifunc.c: New file.
6965 * benchtests/bench-strchrnul.c: New file.
6966 * benchtests/bench-strcmp-ifunc.c: New file.
6967 * benchtests/bench-strcmp.c: New file.
6968 * benchtests/bench-strcpy-ifunc.c: New file.
6969 * benchtests/bench-strcpy.c: New file.
6970 * benchtests/bench-strcspn-ifunc.c: New file.
6971 * benchtests/bench-strcspn.c: New file.
6972 * benchtests/bench-strlen-ifunc.c: New file.
6973 * benchtests/bench-strlen.c: New file.
6974 * benchtests/bench-strncasecmp-ifunc.c: New file.
6975 * benchtests/bench-strncasecmp.c: New file.
6976 * benchtests/bench-strncat-ifunc.c: New file.
6977 * benchtests/bench-strncat.c: New file.
6978 * benchtests/bench-strncmp-ifunc.c: New file.
6979 * benchtests/bench-strncmp.c: New file.
6980 * benchtests/bench-strncpy-ifunc.c: New file.
6981 * benchtests/bench-strncpy.c: New file.
6982 * benchtests/bench-strnlen-ifunc.c: New file.
6983 * benchtests/bench-strnlen.c: New file.
6984 * benchtests/bench-strpbrk-ifunc.c: New file.
6985 * benchtests/bench-strpbrk.c: New file.
6986 * benchtests/bench-strrchr-ifunc.c: New file.
6987 * benchtests/bench-strrchr.c: New file.
6988 * benchtests/bench-strspn-ifunc.c: New file.
6989 * benchtests/bench-strspn.c: New file.
6990 * benchtests/bench-strstr-ifunc.c: New file.
6991 * benchtests/bench-strstr.c: New file.
6992
c1f75dc3
SP
6993 * benchtests/Makefile: Disable parallel execution of targets.
6994 (string-bench): Add memcpy.
6995 (benchset): New variable to store a list of benchmark sets.
6996 (bench-func): Renamed from bench.
6997 (bench-set): New target.
6998 (bench): Depend on bench-func and bench-set.
6999 * benchtests/README: Add section on benchmark sets.
7000 * benchtests/bench-memcpy-ifunc.c: New file.
7001 * benchtests/bench-memcpy.c: New file.
7002 * benchtests/bench-string.h: New file.
7003
50fd745b
AS
70042013-06-11 Andreas Schwab <schwab@suse.de>
7005
7006 [BZ #15577]
7007 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7008 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7009 values in the triple.
7010 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7011 terminator in the group key.
7012
3ee7e9fe
AJ
70132013-06-11 Andreas Jaeger <aj@suse.de>
7014
7015 * po/zh_TW.po: Update Chinese (traditional) translation from
7016 translation project.
7017
89fb6835
SP
70182013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7019
7020 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7021 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7022 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7023 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7024 (clock_getcpuclockid): Likewise.
7025 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7026 Add weak_alias and libc_hidden_def.
7027 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7028 * rt/clock_gettime.c (clock_gettime): Rename to
7029 __clock_gettime. Add weak_alias and libc_hidden_def.
7030 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7031 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7032 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7033 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7034 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7035 Likewise.
7036 * rt/clock_settime.c (clock_settime): Rename to
7037 __clock_settime. Add weak_alias and libc_hidden_def.
7038 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7039
0efa6f8b
JM
70402013-06-10 Joseph Myers <joseph@codesourcery.com>
7041
b8c61b4b
JM
7042 * mach/err_boot.sub: Remove trailing whitespace.
7043 * mach/err_ipc.sub: Likewise.
7044 * mach/err_mach.sub: Likewise.
7045
0efa6f8b
JM
7046 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7047 (ROUNDING_TESTS_double): Likewise.
7048 (ROUNDING_TESTS_long_double): Likewise.
7049 (ROUNDING_TESTS): Likewise.
7050 * math/libm-test.inc: Include <math-tests.h>.
7051 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7052 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7053 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7054 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7055
50b818bf
SP
70562013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7057
7058 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7059 of assigning.
7060
60d2f8f3
JM
70612013-06-08 Joseph Myers <joseph@codesourcery.com>
7062
4902d2c3
JM
7063 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7064 otherwise empty TRANS lines.
7065 * sysdeps/gnu/errlist.c: Regenerated.
7066
60d2f8f3
JM
7067 * catgets/gencat.c (error_print): Use (void) in function
7068 definition.
7069 * crypt/crypt_util.c (__init_des): Likewise.
7070 * crypt/speeds.c (Stop): Likewise.
7071 (main): Likewise.
7072 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7073 * inet/ruserpass.c (token): Likewise.
7074 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7075 * intl/localealias.c (extend_alias_table): Likewise.
7076 * intl/plural-exp.c (init_germanic_plural): Likewise.
7077 * libio/fcloseall.c (__fcloseall): Likewise.
7078 * libio/genops.c (_IO_flush_all): Likewise.
7079 (_IO_flush_all_linebuffered): Likewise.
7080 (_IO_cleanup): Likewise.
7081 (_IO_iter_begin): Likewise.
7082 (_IO_iter_end): Likewise.
7083 (_IO_list_lock): Likewise.
7084 (_IO_list_unlock): Likewise.
7085 (_IO_list_resetlock): Likewise.
7086 * libio/getchar.c (getchar): Likewise.
7087 * libio/getchar_u.c (getchar_unlocked): Likewise.
7088 * libio/getwchar.c (getwchar): Likewise.
7089 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7090 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7091 * login/getpt.c (__getpt): Likewise.
7092 * login/tst-utmp.c (main): Likewise.
7093 * malloc/hooks.c (__malloc_check_init): Likewise.
7094 * malloc/malloc.c (__malloc_stats): Likewise.
7095 * malloc/mtrace.c (tr_break): Likewise.
7096 (mtrace): Likewise.
7097 (muntrace): Likewise.
7098 * misc/fstab.c (endfsent): Likewise.
7099 * misc/getclktck.c (__getclktck): Likewise.
7100 * misc/getdtsz.c (__getdtablesize): Likewise.
7101 * misc/gethostid.c (gethostid): Likewise.
7102 * misc/getpagesize.c (__getpagesize): Likewise.
7103 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7104 (__get_nprocs): Likewise.
7105 (__get_phys_pages): Likewise.
7106 (__get_avphys_pages): Likewise.
7107 * misc/getttyent.c (getttyent): Likewise.
7108 (setttyent): Likewise.
7109 (endttyent): Likewise.
7110 * misc/getusershell.c (getusershell): Likewise.
7111 (endusershell): Likewise.
7112 (setusershell): Likewise.
7113 (initshells): Likewise.
7114 * misc/hsearch.c (__hdestroy): Likewise.
7115 * misc/sync.c (sync): Likewise.
7116 * misc/syslog.c (closelog_internal): Likewise.
7117 (closelog): Likewise.
7118 * misc/ttyslot.c (ttyslot): Likewise.
7119 * misc/vhangup.c (vhangup): Likewise.
7120 * posix/fork.c (__fork): Likewise.
7121 * posix/getegid.c (__getegid): Likewise.
7122 * posix/geteuid.c (__geteuid): Likewise.
7123 * posix/getgid.c (__getgid): Likewise.
7124 * posix/getpid.c (__getpid): Likewise.
7125 * posix/getppid.c (__getppid): Likewise.
7126 * posix/getuid.c (__getuid): Likewise.
7127 * posix/pause.c (pause): Likewise.
7128 * posix/setpgrp.c (setpgrp): Likewise.
7129 * posix/setsid.c (__setsid): Likewise.
7130 * posix/test-vfork.c (noop): Likewise.
7131 * resolv/gethnamaddr.c (_endhtent): Likewise.
7132 (_gethtent): Likewise.
7133 (ht_endhostent): Likewise.
7134 (gethostent): Likewise.
7135 (dns_service): Likewise.
7136 * stdlib/drand48.c (drand48): Likewise.
7137 * stdlib/lrand48.c (lrand48): Likewise.
7138 * stdlib/mrand48.c (mrand48): Likewise.
7139 * stdlib/rand.c (rand): Likewise.
7140 * stdlib/random.c (__random): Likewise.
7141 * stdlib/setenv.c (clearenv): Likewise.
7142 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7143 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7144 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7145 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7146 (__get_nprocs): Likewise.
7147 (__get_phys_pages): Likewise.
7148 (__get_avphys_pages): Likewise.
7149 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7150 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7151 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7152 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7153 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7154 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7155 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7156 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7157 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7158 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7159 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7160 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7161 * sysdeps/posix/clock.c (clock): Likewise.
7162 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7163 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7164 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7165 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7166 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7167 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7168 (__get_nprocs_conf): Likewise.
7169 (__get_phys_pages): Likewise.
7170 (__get_avphys_pages): Likewise.
7171 * time/clock.c (clock): Likewise.
7172 * time/tzset.c (__tzname_max): Likewise.
7173
2e09a79a
JM
71742013-06-07 Joseph Myers <joseph@codesourcery.com>
7175
7176 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7177 (__bswap_32): Do not use "register".
7178 * crypt/crypt.c (_ufc_doit_r): Likewise.
7179 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7180 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7181 * gmon/gmon.c (__monstartup): Likewise.
7182 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7183 * hurd/hurdmalloc.c (more_memory): Likewise.
7184 (malloc): Likewise.
7185 (free): Likewise.
7186 (realloc): Likewise.
7187 (malloc_fork_prepare): Likewise.
7188 (malloc_fork_parent): Likewise.
7189 (malloc_fork_child): Likewise.
7190 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7191 (_svcauth_des): Likewise.
7192 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7193 * inet/inet_net.c (inet_network): Likewise.
7194 * inet/inet_netof.c (inet_netof): Likewise.
7195 * inet/rcmd.c (__validuser2_sa): Likewise.
7196 * io/fts.c (fts_open): Likewise.
7197 (fts_load): Likewise.
7198 (fts_close): Likewise.
7199 (fts_read): Likewise.
7200 (fts_children): Likewise.
7201 (fts_build): Likewise.
7202 (fts_stat): Likewise.
7203 (fts_sort): Likewise.
7204 (fts_alloc): Likewise.
7205 (fts_lfree): Likewise.
7206 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7207 (_IO_file_xsgetn): Likewise.
7208 (_IO_file_xsgetn_mmap): Likewise.
7209 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7210 (_IO_cookie_write): Likewise.
7211 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7212 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7213 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7214 * malloc/obstack.c (_obstack_begin): Likewise.
7215 (_obstack_begin_1): Likewise.
7216 (_obstack_newchunk): Likewise.
7217 (_obstack_allocated_p): Likewise.
7218 (obstack_free): Likewise.
7219 (_obstack_memory_used): Likewise.
7220 * misc/getttyent.c (getttynam): Likewise.
7221 (getttyent): Likewise.
7222 (skip): Likewise.
7223 (value): Likewise.
7224 * misc/getusershell.c (initshells): Likewise.
7225 * misc/syslog.c (__vsyslog_chk): Likewise.
7226 * misc/ttyslot.c (ttyslot): Likewise.
7227 * nis/nis_hash.c (__nis_hash): Likewise.
7228 * posix/fnmatch_loop.c (FCT): Likewise.
7229 * posix/getconf.c (print_all): Likewise.
7230 (main): Likewise.
7231 * posix/getopt.c (exchange): Likewise.
7232 * posix/glob.c (globfree): Likewise.
7233 (prefix_array): Likewise.
7234 (__glob_pattern_type): Likewise.
7235 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7236 (NS_GET32): Likewise.
7237 (NS_PUT16): Likewise.
7238 (NS_PUT32): Likewise.
7239 * resolv/gethnamaddr.c (getanswer): Likewise.
7240 (gethostbyname2): Likewise.
7241 (gethostbyaddr): Likewise.
7242 (_gethtent): Likewise.
7243 (_gethtbyname2): Likewise.
7244 (_gethtbyaddr): Likewise.
7245 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7246 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7247 * resolv/res_init.c (__res_vinit): Likewise.
7248 (net_mask): Likewise.
7249 * resolv/res_mkquery.c (outchar): Likewise.
7250 (PRINT): Likewise.
7251 * stdio-common/printf_fp.c (outchar): Likewise.
7252 (PRINT): Likewise.
7253 * stdio-common/printf_fphex.c (outchar): Likewise.
7254 (PRINT): Likewise.
7255 * stdio-common/printf_size.c (outchar): Likewise.
7256 (PRINT): Likewise.
7257 * stdio-common/test_rdwr.c (main): Likewise.
7258 * stdio-common/tfformat.c (matches): Likewise.
7259 * stdio-common/vfprintf.c (outchar): Likewise.
7260 (printf_unknown): Likewise.
7261 (buffered_vfprintf): Likewise.
7262 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7263 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7264 (ReadFile): Likewise.
7265 * stdlib/qsort.c (SWAP): Likewise.
7266 (_quicksort): Likewise.
7267 * stdlib/setenv.c (__add_to_environ): Likewise.
7268 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7269 * stdlib/strtol_l.c (__strtol_l): Likewise.
7270 * stdlib/tst-strtod.c (main): Likewise.
7271 * stdlib/tst-strtol.c (main): Likewise.
7272 * stdlib/tst-strtoll.c (main): Likewise.
7273 * string/bits/string2.h (__strcmp_cc): Likewise.
7274 (__strcmp_cg): Likewise.
7275 (__strcspn_c1): Likewise.
7276 (__strcspn_c2): Likewise.
7277 (__strcspn_c3): Likewise.
7278 (__strspn_c1): Likewise.
7279 (__strspn_c2): Likewise.
7280 (__strspn_c3): Likewise.
7281 (__strsep_1c): Likewise.
7282 (__strsep_2c): Likewise.
7283 (__strsep_3c): Likewise.
7284 * string/memccpy.c (__memccpy): Likewise.
7285 * string/stpcpy.c (__stpcpy): Likewise.
7286 * string/strcmp.c (strcmp): Likewise.
7287 * string/strrchr.c (strrchr): Likewise.
7288 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7289 Likewise.
7290 * sysdeps/mach/hurd/getcwd.c
7291 (_hurd_canonicalize_directory_name_internal): Likewise.
7292 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7293 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7294 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7295 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7296 Likewise, in both definitions.
7297 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7298 definitions.
7299 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7300 64] (__bswap_64): Likewise.
7301 * time/test_time.c (main): Likewise.
7302 * time/tzfile.c (__tzfile_read): Likewise.
7303 (__tzfile_compute): Likewise.
7304 * time/tzset.c (__tzset_parse_tz): Likewise.
7305 (tzset_internal): Likewise.
7306 (compute_change): Likewise.
7307 * wcsmbs/wcscat.c (__wcscat): Likewise.
7308 * wcsmbs/wcschr.c (wcschr): Likewise.
7309 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7310 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7311 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7312 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7313 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7314 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7315 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7316 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7317 * wcsmbs/wmemset.c (wmemset): Likewise.
7318
9e54314b
JM
73192013-06-06 Joseph Myers <joseph@codesourcery.com>
7320
7321 * scripts/config.guess: Update to version 2013-05-16.
7322 * scripts/config.sub: Update to version 2013-04-24.
7323 * scripts/install-sh: Update to version 2011-11-20.07.
7324 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7325 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7326
350635a5
OB
73272013-06-06 Ondřej Bílka <neleai@seznam.cz>
7328
7329 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7330 * elf/sln.c: Likewise.
7331 * hurd/hurd/ioctl.h: Likewise.
7332 * hurd/hurdmalloc.c: Likewise.
7333 * hurd/xattr.c: Likewise.
7334 * include/shlib-compat.h: Likewise.
7335 * inet/ruserpass.c: Likewise.
7336 * libio/iofgets_u.c: Likewise.
7337 * libio/iofgetws_u.c: Likewise.
7338 * locale/programs/ld-identification.c: Likewise.
7339 * locale/programs/ld-time.c: Likewise.
7340 * mach/msg-destroy.c: Likewise.
7341 * nss/nss_files/files-netgrp.c: Likewise.
7342 * resolv/res_data.c: Likewise.
7343 * soft-fp/op-1.h: Likewise.
7344 * soft-fp/op-2.h: Likewise.
7345 * soft-fp/op-4.h: Likewise.
7346 * soft-fp/op-common.h: Likewise.
7347 * stdio-common/printf_fphex.c: Likewise.
7348 * stdlib/strtod_l.c: Likewise.
7349 * sunrpc/rpc/clnt.h: Likewise.
7350 * sysdeps/generic/framestate.c: Likewise.
7351 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7352 * sysdeps/i386/bsd-setjmp.S: Likewise.
7353 * sysdeps/i386/__longjmp.S: Likewise.
7354 * sysdeps/i386/setjmp.S: Likewise.
7355 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7356 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7357 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7358 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7359 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7360 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7361 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7362 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7363 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7364 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7365 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7366 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7367 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7368 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7369 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7370 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7371 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7372 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7373 * sysdeps/ieee754/support.c: Likewise.
7374 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7375 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7376 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7377 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7378 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7379 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7380 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7381 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7382 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7383 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7384 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7385 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7386 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7387 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7388 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7389 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7390 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7392
44a988af
OB
73932013-06-05 Ondřej Bílka <neleai@seznam.cz>
7394
25506f09 7395 * posix/transbug.c: Remove executable mode.
44a988af 7396
9c84384c
JM
73972013-06-05 Joseph Myers <joseph@codesourcery.com>
7398
7399 * crypt/speeds.c: Remove trailing whitespace.
7400 * dlfcn/default.c: Likewise.
7401 * elf/ifuncdep2.c: Likewise.
7402 * elf/ifuncmain1.c: Likewise.
7403 * elf/ifuncmain1vis.c: Likewise.
7404 * elf/testobj.h: Likewise.
7405 * elf/tst-stackguard1.c: Likewise.
7406 * gmon/sys/gmon.h: Likewise.
7407 * hurd/hurdmsg.c: Likewise.
7408 * hurd/new-fd.c: Likewise.
7409 * hurd/ports-get.c: Likewise.
7410 * iconvdata/ibm1008_420.c: Likewise.
7411 * inet/tst-getni1.c: Likewise.
7412 * inet/tst-getni2.c: Likewise.
7413 * libio/ioungetc.c: Likewise.
7414 * libio/wfiledoalloc.c: Likewise.
7415 * manual/libm-err-tab.pl: Likewise.
7416 * math/w_dremf.c: Likewise.
7417 * misc/ftruncate.c: Likewise.
7418 * posix/bug-glob2.c: Likewise.
7419 * posix/tst-pcre.c: Likewise.
7420 * posix/wait4.c: Likewise.
7421 * resolv/README: Likewise.
7422 * resolv/res_debug.h: Likewise.
7423 * resolv/tst-inet_ntop.c: Likewise.
7424 * setjmp/bug269-setjmp.c: Likewise.
7425 * soft-fp/extended.h: Likewise.
7426 * soft-fp/op-1.h: Likewise.
7427 * soft-fp/op-2.h: Likewise.
7428 * soft-fp/op-4.h: Likewise.
7429 * soft-fp/op-8.h: Likewise.
7430 * soft-fp/testit.c: Likewise.
7431 * stdio-common/bug16.c: Likewise.
7432 * stdlib/random.c: Likewise.
7433 * sunrpc/rpcsvc/rquota.x: Likewise.
7434 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7435 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7436 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7437 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7438 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7439 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7440 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7441 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7442 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7443 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7444 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7445 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7446 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7447 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7448 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7449 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7450 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7451 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7452 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7453 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7454 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7455 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7456 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7457 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7458 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7459 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7460 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7461 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7462 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7463 * sysdeps/ieee754/s_lib_version.c: Likewise.
7464 * sysdeps/mach/hurd/check_fds.c: Likewise.
7465 * sysdeps/mach/hurd/getsockname.c: Likewise.
7466 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7467 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7468 * sysdeps/powerpc/bits/link.h: Likewise.
7469 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7470 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7471 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7472 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7473 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7474 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7475 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7476 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7477 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7478 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7479 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7480 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7481 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7482 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7483 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7484 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7485 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7486 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7487 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7488 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7489 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7490 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7491 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7492 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7493 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7494 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7495 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7496 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7497 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7498 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7499 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7500 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7501 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7502 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7503 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7504 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7505 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7506 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7507 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7508 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7509 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7510 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7511 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7512 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7513 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7514 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7515 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7516 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7517 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7518 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7519 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7520 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7521 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7522 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7523 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7524 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7525 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7526 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7527 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7528 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7529 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7530 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7531 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7532 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7533 * sysdeps/powerpc/sysdep.h: Likewise.
7534 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7535 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7536 * sysdeps/sh/dl-trampoline.S: Likewise.
7537 * sysdeps/sh/memset.S: Likewise.
7538 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7539 * sysdeps/sh/strlen.S: Likewise.
7540 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7541 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7542 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7543 * sysdeps/sparc/sparc32/rem.S: Likewise.
7544 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7545 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7546 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7547 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7548 * sysdeps/sparc/sparc32/urem.S: Likewise.
7549 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7550 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7551 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7552 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7553 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7554 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7555 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7556 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7557 * sysdeps/unix/bsd/times.c: Likewise.
7558 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7559 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7563 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7564 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7565 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7566 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7567 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7568 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7569 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7570 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7571 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7572 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7573 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7574 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7575 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7576 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7577 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7578 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7579 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7580 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7581 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7582 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7583 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7584 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7585 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7586 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7587 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7588 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7589 * sysdeps/x86_64/strcspn.S: Likewise.
7590
869378a5
RA
75912013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7592
7593 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7594 generated file. Regenerate properly from gen-translit.pl.
7595 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7596 locale/C-translit.h.
7597
840e2943
AS
75982013-06-05 Andreas Schwab <schwab@suse.de>
7599
7600 [BZ #15100]
7601 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7602 week as 6 instead of -1.
7603 * time/tst-strptime.c (day_tests): Add test case.
7604
4c60cb0c
SP
76052013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7606
7607 * sysdeps/generic/math_private.h
7608 (libc_feholdexcept_setround_53bit): Replace with
7609 libc_feholdsetround_53bit.
7610 (libc_feupdateenv_53bit): Replace with
7611 libc_feresetround_53bit.
7612 (SET_RESTORE_ROUND_53BIT): Adjust.
7613
d180203e
SP
76142013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7615
96df079a
SP
7616 * string/test-strchrnul.c: Add copyright header.
7617
d180203e
SP
7618 * posix/tst-getaddrinfo4.c: Increase test timeout.
7619
8b0ccb2d
CD
76202013-06-03 Carlos O'Donell <carlos@redhat.com>
7621
7622 [BZ #15536]
7623 * math/libm-test.inc (MAX_EXP): Remove
7624 (MIN_EXP): Define.
7625 (ulp): Use MIN_EXP - MANT_DIG.
7626 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7627
3b3c4d40
CD
76282013-05-31 Carlos O'Donell <carlos@redhat.com>
7629
7630 * po/be.po: Revert last change.
7631 * po/zh_CN.po: Likewise.
7632 * po/header.pot: Likewise.
7633
fab7ce3f
JM
76342013-05-31 Joseph Myers <joseph@codesourcery.com>
7635
7636 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7637 link-libc-deps to empty as target-specific variable.
7638 * Makerules (link-libc-args): New variable.
7639 (libc-for-link): Likewise.
7640 (link-libc-deps): Likewise.
7641 (lib%.so): Depend on $(link-libc-deps). Link with
7642 $(link-libc-args).
7643 (build-module): Link with $(link-libc-args).
7644 (build-module-asneeded): Likewise.
7645 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7646 list of objects.
7647 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7648 target-specific variable.
7649 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7650 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7651 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7652 libc.
7653 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7654 libc and ld.so.
7655 ($(objpfx)libpcprofile.so): Likewise.
7656 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7657 libc_nonshared.a.
7658 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7659 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7660 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7661 $(link-libc-deps).
7662 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7663 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7664 * login/Makefile ($(objpfx)libutil.so): Likewise.
7665 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7666 * math/Makefile ($(objpfx)libm.so): Likewise.
7667 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7668 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7669 variable instead of depending directly on libc.
7670 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7671 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7672 $(link-libc-deps).
7673 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7674 libc.
7675 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7676 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7677 ($(objpfx)libanl.so): Likewise.
7678 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7679 ld.so.
7680 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7681 $(link-libc-deps).
7682 * sysdeps/i386/fpu/Makefile: Remove file.
7683 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7684 ($(objpfx)libm.so): Remove dependency on ld.so.
7685
eca5920c
PF
76862013-05-30 Patsy Franklin <pfrankli@redhat.com>
7687
7688 [BZ # 15553]
7689 * nis/yp_xdr.c (XDRMAXNAME): Define.
7690 (XDRMAXRECORD): Define.
7691 (xdr_domainname): Use XDRMAXNAME.
7692 (xdr_mapname): Likewise.
7693 (xdr_peername): Likewise.
7694 (xdr_keydat): Use XDRMAXRECORD.
7695 (xdr_valdat): Likewise.
7696
76972013-05-30 Jeff Law <law@redhat.com>
96945714
JL
7698
7699 [BZ #14256]
7700 * manual/errno.texi (ESTALE): Update to account for more than
7701 just NFS file systems.
7702 * sysdeps/gnu/errlist.c: Regenerated.
7703
b9375348
SP
77042013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7705
7706 [BZ #15465]
7707 * elf/Makefile (tests): Add tst-null-argv.
7708 (modules-names): Add tst-null-argv-lib.
7709 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7710 (tst-null-argv-ENV): Set environment for tst-null-argv.
7711 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7712 (RTLD_PROGNAME): New macro.
7713 * elf/tst-null-argv.c: New test case.
7714 * elf/tst-null-argv-lib.c: Library for test case.
7715 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7716 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7717 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7718 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7719 * elf/dl-init.c (call_init): Likewise.
7720 (_dl_init): Likewise.
7721 * elf/dl-load.c (print_search_path): Likewise.
7722 (_dl_map_object): Likewise.
7723 * elf/dl-lookup.c (do_lookup_x): Likewise.
7724 (add_dependency): Likewise.
7725 (_dl_lookup_symbol_x): Likewise.
7726 (_dl_debug_bindings): Likewise.
7727 * elf/dl-open.c (_dl_show_scope): Likewise.
7728 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7729 * elf/dl-version.c (match_symbol): Likewise.
7730 (_dl_check_map_versions): Likewise.
7731 * elf/rtld.c (dl_main): Likewise.
7732 (print_unresolved): Use RTLD_PROGNAME.
7733 (print_missing_version): Likewise.
7734 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7735 (elf_machine_rela): Likewise.
7736 * sysdeps/powerpc/powerpc32/dl-machine.c
7737 (__process_machine_rela): Likewise.
7738 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7739 Likewise.
7740 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7741 Likewise.
7742 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7743 Likewise.
7744 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7745 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7746 Likewise.
7747 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7748 Likewise.
7749 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7750
8a9f20c8
CD
77512013-05-28 Carlos O'Donell <carlos@redhat.com>
7752
7753 * po/be.po: Add descriptive title.
7754 * po/zh_CN.po: Likewise.
7755 * po/header.pot: Likewise.
7756
0e60d68e
MF
77572013-05-28 Mike Frysinger <vapier@gentoo.org>
7758
7759 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7760 error message.
7761 (enlarge_archive): Likewise.
7762
56b672e9
BN
77632013-05-28 Ben North <ben@redfrontdoor.org>
7764
7765 * manual/arith.texi (frexp): It is the magnitude of the return
7766 value which lies in [0.5, 1), not the return value itself.
7767
5e056687
AZ
77682013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7769
7770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7771
2b66ef5d
TS
77722013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7773
528c2405
TS
7774 * stdio-common/bug26.c (main): Correct fscanf template.
7775
07b4c13d
TS
7776 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7777 declare _dl_skip_args.
7778
ec9dd97c
TS
7779 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7780 Don't declare.
7781
2b66ef5d
TS
7782 * manual/platform.texi: Add missing @end deftypefun.
7783
4f8dfe27
JM
77842013-05-24 Joseph Myers <joseph@codesourcery.com>
7785
0323d086
JM
7786 [BZ #15529]
7787 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7788 bit of mantissa of 2^16382.
7789 * math/libm-test.inc (hypot_test_data): Add more tests.
7790
dd4259b9
JM
7791 * math/libm-test.inc: Add drem and pow10 to list of tested
7792 functions.
7793 (pow10_test): New function.
7794 (drem_test): Likewise.
7795 (drem_test_tonearest): Likewise.
7796 (drem_test_towardzero): Likewise.
7797 (drem_test_downward): Likewise.
7798 (drem_test_upward): Likewise.
7799 (main): Call the new functions.
7800
4f8dfe27
JM
7801 * math/libm-test.inc (finite_test_data): Remove.
7802 (finite_test): Run tests from isfinite_test_data.
7803 (gamma_test_data): Remove.
7804 (gamma_test): Run tests from lgamma_test_data.
7805 * sysdeps/i386/fpu/libm-test-ulps: Update.
7806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7807
d116b7c4
AZ
78082013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7809
7810 * manual/platform.texi: Add PowerPC PPR function set documentation.
7811 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7812 implementation.
7813
e96e3767
CD
78142013-05-24 Carlos O'Donell <carlos@redhat.com>
7815
7816 * math/libm-test.inc (MAX_EXP): Define.
7817 (ULPDIFF): Define.
7818 (ulp): New function.
7819 (check_float_internal): Use ULPDIFF.
7820 (cpow_test): Disable failing test.
7821 (check_ulp): Test ulp() implemetnation.
7822 (main): Call check_ulp before starting tests.
7823
b679a606
JM
78242013-05-24 Joseph Myers <joseph@codesourcery.com>
7825
e8bdba36
JM
7826 * math/gen-libm-test.pl (generate_testfile): Do not handle
7827 START_DATA and END_DATA.
7828 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7829 END_DATA.
7830 (acos_tonearest_test_data): Likewise.
7831 (acos_towardzero_test_data): Likewise.
7832 (acos_downward_test_data): Likewise.
7833 (acos_upward_test_data): Likewise.
7834 (acosh_test_data): Likewise.
7835 (asin_test_data): Likewise.
7836 (asin_tonearest_test_data): Likewise.
7837 (asin_towardzero_test_data): Likewise.
7838 (asin_downward_test_data): Likewise.
7839 (asin_upward_test_data): Likewise.
7840 (asinh_test_data): Likewise.
7841 (atan_test_data): Likewise.
7842 (atanh_test_data): Likewise.
7843 (atan2_test_data): Likewise.
7844 (cabs_test_data): Likewise.
7845 (cacos_test_data): Likewise.
7846 (cacosh_test_data): Likewise.
7847 (carg_test_data): Likewise.
7848 (casin_test_data): Likewise.
7849 (casinh_test_data): Likewise.
7850 (catan_test_data): Likewise.
7851 (catanh_test_data): Likewise.
7852 (cbrt_test_data): Likewise.
7853 (ccos_test_data): Likewise.
7854 (ccosh_test_data): Likewise.
7855 (ceil_test_data): Likewise.
7856 (cexp_test_data): Likewise.
7857 (cimag_test_data): Likewise.
7858 (clog_test_data): Likewise.
7859 (clog10_test_data): Likewise.
7860 (conj_test_data): Likewise.
7861 (copysign_test_data): Likewise.
7862 (cos_test_data): Likewise.
7863 (cos_tonearest_test_data): Likewise.
7864 (cos_towardzero_test_data): Likewise.
7865 (cos_downward_test_data): Likewise.
7866 (cos_upward_test_data): Likewise.
7867 (cosh_test_data): Likewise.
7868 (cosh_tonearest_test_data): Likewise.
7869 (cosh_towardzero_test_data): Likewise.
7870 (cosh_downward_test_data): Likewise.
7871 (cosh_upward_test_data): Likewise.
7872 (cpow_test_data): Likewise.
7873 (cproj_test_data): Likewise.
7874 (creal_test_data): Likewise.
7875 (csin_test_data): Likewise.
7876 (csinh_test_data): Likewise.
7877 (csqrt_test_data): Likewise.
7878 (ctan_test_data): Likewise.
7879 (ctan_tonearest_test_data): Likewise.
7880 (ctan_towardzero_test_data): Likewise.
7881 (ctan_downward_test_data): Likewise.
7882 (ctan_upward_test_data): Likewise.
7883 (ctanh_test_data): Likewise.
7884 (ctanh_tonearest_test_data): Likewise.
7885 (ctanh_towardzero_test_data): Likewise.
7886 (ctanh_downward_test_data): Likewise.
7887 (ctanh_upward_test_data): Likewise.
7888 (erf_test_data): Likewise.
7889 (erfc_test_data): Likewise.
7890 (exp_test_data): Likewise.
7891 (exp_tonearest_test_data): Likewise.
7892 (exp_towardzero_test_data): Likewise.
7893 (exp_downward_test_data): Likewise.
7894 (exp_upward_test_data): Likewise.
7895 (exp10_test_data): Likewise.
7896 (exp2_test_data): Likewise.
7897 (expm1_test_data): Likewise.
7898 (fabs_test_data): Likewise.
7899 (fdim_test_data): Likewise.
7900 (finite_test_data): Likewise.
7901 (floor_test_data): Likewise.
7902 (fma_test_data): Likewise.
7903 (fma_towardzero_test_data): Likewise.
7904 (fma_downward_test_data): Likewise.
7905 (fma_upward_test_data): Likewise.
7906 (fmax_test_data): Likewise.
7907 (fmin_test_data): Likewise.
7908 (fmod_test_data): Likewise.
7909 (fpclassify_test_data): Likewise.
7910 (frexp_test_data): Likewise.
7911 (gamma_test_data): Likewise.
7912 (hypot_test_data): Likewise.
7913 (ilogb_test_data): Likewise.
7914 (isfinite_test_data): Likewise.
7915 (isgreater_test_data): Likewise.
7916 (isgreaterequal_test_data): Likewise.
7917 (isinf_test_data): Likewise.
7918 (isless_test_data): Likewise.
7919 (islessequal_test_data): Likewise.
7920 (islessgreater_test_data): Likewise.
7921 (isnan_test_data): Likewise.
7922 (isnormal_test_data): Likewise.
7923 (issignaling_test_data): Likewise.
7924 (isunordered_test_data): Likewise.
7925 (j0_test_data): Likewise.
7926 (j1_test_data): Likewise.
7927 (jn_test_data): Likewise.
7928 (ldexp_test_data): Likewise.
7929 (lgamma_test_data): Likewise.
7930 (lrint_test_data): Likewise.
7931 (lrint_tonearest_test_data): Likewise.
7932 (lrint_towardzero_test_data): Likewise.
7933 (lrint_downward_test_data): Likewise.
7934 (lrint_upward_test_data): Likewise.
7935 (llrint_test_data): Likewise.
7936 (llrint_tonearest_test_data): Likewise.
7937 (llrint_towardzero_test_data): Likewise.
7938 (llrint_downward_test_data): Likewise.
7939 (llrint_upward_test_data): Likewise.
7940 (log_test_data): Likewise.
7941 (log10_test_data): Likewise.
7942 (log1p_test_data): Likewise.
7943 (log2_test_data): Likewise.
7944 (logb_test_data): Likewise.
7945 (logb_downward_test_data): Likewise.
7946 (lround_test_data): Likewise.
7947 (llround_test_data): Likewise.
7948 (modf_test_data): Likewise.
7949 (nearbyint_test_data): Likewise.
7950 (nextafter_test_data): Likewise.
7951 (nexttoward_test_data): Likewise.
7952 (pow_test_data): Likewise.
7953 (pow_tonearest_test_data): Likewise.
7954 (pow_towardzero_test_data): Likewise.
7955 (pow_downward_test_data): Likewise.
7956 (pow_upward_test_data): Likewise.
7957 (remainder_test_data): Likewise.
7958 (remainder_tonearest_test_data): Likewise.
7959 (remainder_towardzero_test_data): Likewise.
7960 (remainder_downward_test_data): Likewise.
7961 (remainder_upward_test_data): Likewise.
7962 (remquo_test_data): Likewise.
7963 (rint_test_data): Likewise.
7964 (rint_tonearest_test_data): Likewise.
7965 (rint_towardzero_test_data): Likewise.
7966 (rint_downward_test_data): Likewise.
7967 (rint_upward_test_data): Likewise.
7968 (round_test_data): Likewise.
7969 (scalb_test_data): Likewise.
7970 (scalbn_test_data): Likewise.
7971 (scalbln_test_data): Likewise.
7972 (signbit_test_data): Likewise.
7973 (sin_test_data): Likewise.
7974 (sin_tonearest_test_data): Likewise.
7975 (sin_towardzero_test_data): Likewise.
7976 (sin_downward_test_data): Likewise.
7977 (sin_upward_test_data): Likewise.
7978 (sincos_test_data): Likewise.
7979 (sinh_test_data): Likewise.
7980 (sinh_tonearest_test_data): Likewise.
7981 (sinh_towardzero_test_data): Likewise.
7982 (sinh_downward_test_data): Likewise.
7983 (sinh_upward_test_data): Likewise.
7984 (sqrt_test_data): Likewise.
7985 (tan_test_data): Likewise.
7986 (tan_tonearest_test_data): Likewise.
7987 (tan_towardzero_test_data): Likewise.
7988 (tan_downward_test_data): Likewise.
7989 (tan_upward_test_data): Likewise.
7990 (tanh_test_data): Likewise.
7991 (tgamma_test_data): Likewise.
7992 (trunc_test_data): Likewise.
7993 (y0_test_data): Likewise.
7994 (y1_test_data): Likewise.
7995 (yn_test_data): Likewise.
7996 (significand_test_data): Likewise.
7997
b679a606
JM
7998 * math/gen-libm-test.pl (@functions): Remove variable.
7999 (generate_testfile): Don't handle START and END lines.
8000 * math/libm-test.inc (START): New macro.
8001 (END): Likewise.
8002 (END_COMPLEX): Likewise.
8003 (acos_test): Use END macro without arguments.
8004 (acos_test_tonearest): Likewise.
8005 (acos_test_towardzero): Likewise.
8006 (acos_test_downward): Likewise.
8007 (acos_test_upward): Likewise.
8008 (acosh_test): Likewise.
8009 (asin_test): Likewise.
8010 (asin_test_tonearest): Likewise.
8011 (asin_test_towardzero): Likewise.
8012 (asin_test_downward): Likewise.
8013 (asin_test_upward): Likewise.
8014 (asinh_test): Likewise.
8015 (atan_test): Likewise.
8016 (atanh_test): Likewise.
8017 (atan2_test): Likewise.
8018 (cabs_test): Likewise.
8019 (cacos_test): Use END_COMPLEX macro without arguments.
8020 (cacosh_test): Likewise.
8021 (carg_test): Use END macro without arguments.
8022 (casin_test): Use END_COMPLEX macro without arguments.
8023 (casinh_test): Likewise.
8024 (catan_test): Likewise.
8025 (catanh_test): Likewise.
8026 (cbrt_test): Use END macro without arguments.
8027 (ccos_test): Use END_COMPLEX macro without arguments.
8028 (ccosh_test): Likewise.
8029 (ceil_test): Use END macro without arguments.
8030 (cexp_test): Use END_COMPLEX macro without arguments.
8031 (cimag_test): Use END macro without arguments.
8032 (clog_test): Use END_COMPLEX macro without arguments.
8033 (clog10_test): Likewise.
8034 (conj_test): Likewise.
8035 (copysign_test): Use END macro without arguments.
8036 (cos_test): Likewise.
8037 (cos_test_tonearest): Likewise.
8038 (cos_test_towardzero): Likewise.
8039 (cos_test_downward): Likewise.
8040 (cos_test_upward): Likewise.
8041 (cosh_test): Likewise.
8042 (cosh_test_tonearest): Likewise.
8043 (cosh_test_towardzero): Likewise.
8044 (cosh_test_downward): Likewise.
8045 (cosh_test_upward): Likewise.
8046 (cpow_test): Use END_COMPLEX macro without arguments.
8047 (cproj_test): Likewise.
8048 (creal_test): Use END macro without arguments.
8049 (csin_test): Use END_COMPLEX macro without arguments.
8050 (csinh_test): Likewise.
8051 (csqrt_test): Likewise.
8052 (ctan_test): Likewise.
8053 (ctan_test_tonearest): Likewise.
8054 (ctan_test_towardzero): Likewise.
8055 (ctan_test_downward): Likewise.
8056 (ctan_test_upward): Likewise.
8057 (ctanh_test): Likewise.
8058 (ctanh_test_tonearest): Likewise.
8059 (ctanh_test_towardzero): Likewise.
8060 (ctanh_test_downward): Likewise.
8061 (ctanh_test_upward): Likewise.
8062 (erf_test): Use END macro without arguments.
8063 (erfc_test): Likewise.
8064 (exp_test): Likewise.
8065 (exp_test_tonearest): Likewise.
8066 (exp_test_towardzero): Likewise.
8067 (exp_test_downward): Likewise.
8068 (exp_test_upward): Likewise.
8069 (exp10_test): Likewise.
8070 (exp2_test): Likewise.
8071 (expm1_test): Likewise.
8072 (fabs_test): Likewise.
8073 (fdim_test): Likewise.
8074 (finite_test): Likewise.
8075 (floor_test): Likewise.
8076 (fma_test): Likewise.
8077 (fma_test_towardzero): Likewise.
8078 (fma_test_downward): Likewise.
8079 (fma_test_upward): Likewise.
8080 (fmax_test): Likewise.
8081 (fmin_test): Likewise.
8082 (fmod_test): Likewise.
8083 (fpclassify_test): Likewise.
8084 (frexp_test): Likewise.
8085 (gamma_test): Likewise.
8086 (hypot_test): Likewise.
8087 (ilogb_test): Likewise.
8088 (isfinite_test): Likewise.
8089 (isgreater_test): Likewise.
8090 (isgreaterequal_test): Likewise.
8091 (isinf_test): Likewise.
8092 (isless_test): Likewise.
8093 (islessequal_test): Likewise.
8094 (islessgreater_test): Likewise.
8095 (isnan_test): Likewise.
8096 (isnormal_test): Likewise.
8097 (issignaling_test): Likewise.
8098 (isunordered_test): Likewise.
8099 (j0_test): Likewise.
8100 (j1_test): Likewise.
8101 (jn_test): Likewise.
8102 (ldexp_test): Likewise.
8103 (lgamma_test): Likewise.
8104 (lrint_test): Likewise.
8105 (lrint_test_tonearest): Likewise.
8106 (lrint_test_towardzero): Likewise.
8107 (lrint_test_downward): Likewise.
8108 (lrint_test_upward): Likewise.
8109 (llrint_test): Likewise.
8110 (llrint_test_tonearest): Likewise.
8111 (llrint_test_towardzero): Likewise.
8112 (llrint_test_downward): Likewise.
8113 (llrint_test_upward): Likewise.
8114 (log_test): Likewise.
8115 (log10_test): Likewise.
8116 (log1p_test): Likewise.
8117 (log2_test): Likewise.
8118 (logb_test): Likewise.
8119 (logb_test_downward): Likewise.
8120 (lround_test): Likewise.
8121 (llround_test): Likewise.
8122 (modf_test): Likewise.
8123 (nearbyint_test): Likewise.
8124 (nextafter_test): Likewise.
8125 (nexttoward_test): Likewise.
8126 (pow_test): Likewise.
8127 (pow_test_tonearest): Likewise.
8128 (pow_test_towardzero): Likewise.
8129 (pow_test_downward): Likewise.
8130 (pow_test_upward): Likewise.
8131 (remainder_test): Likewise.
8132 (remainder_test_tonearest): Likewise.
8133 (remainder_test_towardzero): Likewise.
8134 (remainder_test_downward): Likewise.
8135 (remainder_test_upward): Likewise.
8136 (remquo_test): Likewise.
8137 (rint_test): Likewise.
8138 (rint_test_tonearest): Likewise.
8139 (rint_test_towardzero): Likewise.
8140 (rint_test_downward): Likewise.
8141 (rint_test_upward): Likewise.
8142 (round_test): Likewise.
8143 (scalb_test): Likewise.
8144 (scalbn_test): Likewise.
8145 (scalbln_test): Likewise.
8146 (signbit_test): Likewise.
8147 (sin_test): Likewise.
8148 (sin_test_tonearest): Likewise.
8149 (sin_test_towardzero): Likewise.
8150 (sin_test_downward): Likewise.
8151 (sin_test_upward): Likewise.
8152 (sincos_test): Likewise.
8153 (sinh_test): Likewise.
8154 (sinh_test_tonearest): Likewise.
8155 (sinh_test_towardzero): Likewise.
8156 (sinh_test_downward): Likewise.
8157 (sinh_test_upward): Likewise.
8158 (sqrt_test): Likewise.
8159 (tan_test): Likewise.
8160 (tan_test_tonearest): Likewise.
8161 (tan_test_towardzero): Likewise.
8162 (tan_test_downward): Likewise.
8163 (tan_test_upward): Likewise.
8164 (tanh_test): Likewise.
8165 (tgamma_test): Likewise.
8166 (trunc_test): Likewise.
8167 (y0_test): Likewise.
8168 (y1_test): Likewise.
8169 (yn_test): Likewise.
8170 (significand_test): Likewise.
8171
bae143d2
OB
81722013-05-24 Ondřej Bílka <neleai@seznam.cz>
8173
8174 [BZ #15381]
8175 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8176
9323d39b
EM
81772013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8178
d4ea44a0 8179 [BZ #14894]
9323d39b
EM
8180 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8181 __ppc_mdoio and __ppc_mdoom.
8182 * manual/platform.texi: Document new functions __ppc_yield,
8183 __ppc_mdoio and __ppc_mdoom.
8184
13e23af7
CD
81852013-05-22 Carlos O'Donell <carlos@redhat.com>
8186
8187 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8188 (main): Mention "tls" pseudo-hwcap is legacy.
8189 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8190
351fe550
JM
81912013-05-22 Joseph Myers <joseph@codesourcery.com>
8192
8193 * math/gen-libm-test.pl (parse_args): Output only string of
8194 arguments as text for test name, not full call or descriptions of
8195 tests for extra outputs.
8196 (generate_testfile): Do not pass function name to parse_args.
8197 Generate this_func variable from START.
8198 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8199 field to arg_str.
8200 (struct test_ff_f_data): Likewise.
8201 (test_ff_f_data_nexttoward): Likewise.
8202 (struct test_fi_f_data): Likewise.
8203 (struct test_fl_f_data): Likewise.
8204 (struct test_if_f_data): Likewise.
8205 (struct test_fff_f_data): Likewise.
8206 (struct test_c_f_data): Likewise.
8207 (struct test_f_f1_data): Likewise. Remove field extra_name.
8208 (struct test_fF_f1_data): Likewise.
8209 (struct test_ffI_f1_data): Likewise.
8210 (struct test_c_c_data): Rename test_name field to arg_str.
8211 (struct test_cc_c_data): Likewise.
8212 (struct test_f_i_data): Likewise.
8213 (struct test_ff_i_data): Likewise.
8214 (struct test_f_l_data): Likewise.
8215 (struct test_f_L_data): Likewise.
8216 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8217 and extra2_name.
8218 (COMMON_TEST_SETUP): New macro.
8219 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8220 (COMMON_TEST_CLEANUP): Likewise.
8221 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8222 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8223 macros.
8224 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8225 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8226 macros.
8227 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8228 (RUN_TEST_fff_f): Take argument string. Call new setup and
8229 cleanup macros.
8230 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8231 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8232 macros.
8233 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8234 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8235 macros.
8236 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8237 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8238 cleanup macros.
8239 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8240 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8241 cleanup macros.
8242 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8243 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8244 cleanup macros.
8245 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8246 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8247 macros.
8248 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8249 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8250 macros.
8251 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8252 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8253 macros.
8254 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8255 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8256 cleanup macros.
8257 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8258 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8259 cleanup macros.
8260 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8261 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8262 macros.
8263 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8264 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8265 cleanup macros.
8266 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8267 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8268 macros.
8269 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8270 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8271 macros.
8272 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8273 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8274 cleanup macros.
8275 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8276
85118d4d
EBM
82772013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8278
8279 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8280 to _sifields.sigfault.
8281 (si_addr_lsb): Define new macro.
8282 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8283 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8284 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8285
7a44c18f
CD
82862013-05-03 Carlos O'Donell <carlos at redhat.com>
8287
8288 [BZ #15441]
8289 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8290 returns -1.
8291 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8292 null return -1.
8293 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8294 loading the domain.
8295
b50a7181
JM
82962013-05-22 Joseph Myers <joseph@codesourcery.com>
8297
8298 * math/gen-libm-test.pl (parse_args): Do not include expected
8299 result in test name.
8300 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8301 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8302 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8303 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8304 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8306
051063c8
SP
83072013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8308
3ce9e010
SP
8309 * benchtests/Makefile: Sort function entries.
8310
051063c8
SP
8311 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8312 tanh, asinh, acosh, atanh.
8313 * benchtests/acos-inputs: New file.
8314 * benchtests/acosh-inputs: New file.
8315 * benchtests/asin-inputs: New file.
8316 * benchtests/asinh-inputs: New file.
8317 * benchtests/atanh-inputs: New file.
8318 * benchtests/cosh-inputs: New file.
8319 * benchtests/log-inputs: New file.
8320 * benchtests/sinh-inputs: New file.
8321 * benchtests/tanh-inputs: New file.
8322
47c22455
DL
83232013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8324
8325 [BZ #15339]
8326 * posix/tst-getaddrinfo4.c: New test.
8327 * posix/Makefile (tests): Add it.
8328
3d04f5db
SP
83292013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8330
8331 [BZ #15339]
8332 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8333 when no services were used.
8334 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8335 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8336
d5dd6189
AS
83372013-05-21 Andreas Schwab <schwab@suse.de>
8338
8339 [BZ #15014]
8340 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8341 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8342 successful.
8343 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8344 redundant variable declarations and reallocation of buffer when
8345 parsing as IPv6 address. Always set NSS status when called from
8346 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8347 buffer too small. Correct computation of needed size.
8348 * nss/Makefile (tests): Add test-digits-dots.
8349 * nss/test-digits-dots.c: New test.
8350
fef94eab
SP
83512013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8352
8353 * benchtests/Makefile: Remove instructions for adding
8354 benchmark tests.
8355 * benchtests/README: New file to explain how to execute and
8356 enhance the benchmark tests.
8357
e39adf43
AS
83582013-05-21 Andreas Schwab <schwab@suse.de>
8359
8360 [BZ #15493]
8361 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8362 * setjmp/tst-sigsetjmp.c: New test.
8363
b2b671b6
OB
83642013-05-20 Ondřej Bílka <neleai@seznam.cz>
8365
8366 * sysdeps/x86_64/memset.S (memset): New implementation.
8367 (__bzero): Likewise.
8368 (__memset_tail): New function.
8369
2d48b41c
OB
83702013-05-20 Ondřej Bílka <neleai@seznam.cz>
8371
8372 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8373 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8374 __memcpy_sse2_unaligned ifunc selection.
8375 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8376 Add memcpy-sse2-unaligned.S.
8377 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8378 Add: __memcpy_sse2_unaligned.
8379
f16cc3eb
JM
83802013-05-19 Joseph Myers <joseph@codesourcery.com>
8381
3e694268
JM
8382 [BZ #15490]
8383 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8384 math_force_eval before restoring floating-point envrionment.
8385 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8386 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8387 Likewise.
8388 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8389 <math_private.h>.
8390 (__nearbyintl): Use math_force_eval before restoring
8391 floating-point environment.
8392 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8393
db62a907
JM
8394 * math/gen-libm-test.pl (special_functions): Remove.
8395 (parse_args): Don't handle TEST_extra. Handle functions with no
8396 return value.
8397 * math/libm-test.inc (struct test_sincos_data): Replace with
8398 struct test_fFF_11_data.
8399 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8400 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8401 (sincos_test_data): Change element type to struct
8402 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8403 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8404 RUN_TEST_LOOP_sincos.
8405 * math/README.libm-test: Don't mention special handling of
8406 individual functions.
8407 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8408 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8409 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8410 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8411 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8413
f16cc3eb
JM
8414 * math/gen-libm-test.pl (get_variable): Remove function.
8415 (parse_args): Don't show pointer parameters to call in test
8416 names. Use "extra output N" in test names for extra outputs
8417 rather than naming variables.
8418
3779b5b6
JM
84192013-05-18 Joseph Myers <joseph@codesourcery.com>
8420
2ee094ff
JM
8421 [BZ #15488]
8422 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8423 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8424 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8425 double tests.
8426 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8427 disable.
8428 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8429 check_long_double.
8430
3779b5b6
JM
8431 * math/gen-libm-test.pl (@tests): Remove variable.
8432 ($count): Likewise.
8433 (new_test): Remove function.
8434 (show_exceptions): New function.
8435 (special_functions): Use show_exceptions instead of new_test.
8436 (parse_args): Likewise.
8437 (generate_testfile): Pass only function name in generated call to
8438 print_max_error or print_complex_max_error.
8439 (get_ulps): Do not handle complex tests specially.
8440 (output_test): Rename to ...
8441 (get_all_ulps_for_test): ... this. Return a string rather than
8442 printing to a file. Require ulps to be present.
8443 (output_ulps): Generate arrays rather than #defines.
8444 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8445 (struct ulp_data): New type.
8446 (BUILD_COMPLEX_ULP): Remove macro.
8447 (compare_ulp_data): New function.
8448 (find_ulps): Likewise.
8449 (find_test_ulps): Likewise.
8450 (find_function_ulps): Likewise.
8451 (find_complex_function_ulps): Likewise.
8452 (print_max_error): Determine allowed ulps using
8453 find_function_ulps.
8454 (print_complex_max_error): Determine allowed ulps using
8455 find_complex_function_ulps.
8456 (check_float_internal): Determine max ulps using find_test_ulps.
8457 (check_float): Do not take max_ulp parameter. Update call to
8458 check_float_internal.
8459 (check_complex): Likewise.
8460 (check_int): Do not take max_ulp parameter.
8461 (check_long): Likewise.
8462 (check_bool): Likewise.
8463 (check_longlong): Likewise.
8464 (struct test_f_f_data): Remove max_ulp field.
8465 (struct test_ff_f_data): Likewise.
8466 (struct test_ff_f_data_nexttoward): Likewise.
8467 (struct test_fi_f_data): Likewise.
8468 (struct test_fl_f_data): Likewise.
8469 (struct test_if_f_data): Likewise.
8470 (struct test_fff_f_data): Likewise.
8471 (struct test_c_f_data): Likewise.
8472 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8473 (struct test_fF_f1_data): Likewise.
8474 (struct test_ffI_f1_data): Likewise.
8475 (struct test_c_c_data): Remove max_ulp field.
8476 (struct test_cc_c_data): Likewise.
8477 (struct test_f_i_data): Likewise.
8478 (struct test_ff_i_data): Likewise.
8479 (struct test_f_l_data): Likewise.
8480 (struct test_f_L_data): Likewise.
8481 (struct test_sincos_data): Likewise.
8482 (RUN_TEST_f_f): Do not handle ulps.
8483 (RUN_TEST_LOOP_f_f): Likewise.
8484 (RUN_TEST_2_f): Likewise.
8485 (RUN_TEST_LOOP_2_f): Likewise.
8486 (RUN_TEST_fff_f): Likewise.
8487 (RUN_TEST_LOOP_fff_f): Likewise.
8488 (RUN_TEST_c_f): Likewise.
8489 (RUN_TEST_LOOP_c_f): Likewise.
8490 (RUN_TEST_f_f1): Likewise.
8491 (RUN_TEST_LOOP_f_f1): Likewise.
8492 (RUN_TEST_fF_f1): Likewise.
8493 (RUN_TEST_LOOP_fF_f1): Likewise.
8494 (RUN_TEST_fI_f1): Likewise.
8495 (RUN_TEST_LOOP_fI_f1): Likewise.
8496 (RUN_TEST_ffI_f1): Likewise.
8497 (RUN_TEST_LOOP_ffI_f1): Likewise.
8498 (RUN_TEST_c_c): Likewise.
8499 (RUN_TEST_LOOP_c_c): Likewise.
8500 (RUN_TEST_cc_c): Likewise.
8501 (RUN_TEST_LOOP_cc_c): Likewise.
8502 (RUN_TEST_f_i): Likewise.
8503 (RUN_TEST_LOOP_f_i): Likewise.
8504 (RUN_TEST_f_i_tg): Likewise.
8505 (RUN_TEST_LOOP_f_i_tg): Likewise.
8506 (RUN_TEST_ff_i_tg): Likewise.
8507 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8508 (RUN_TEST_f_b): Likewise.
8509 (RUN_TEST_LOOP_f_b): Likewise.
8510 (RUN_TEST_f_b_tg): Likewise.
8511 (RUN_TEST_LOOP_f_b_tg): Likewise.
8512 (RUN_TEST_f_l): Likewise.
8513 (RUN_TEST_LOOP_f_l): Likewise.
8514 (RUN_TEST_f_L): Likewise.
8515 (RUN_TEST_LOOP_f_L): Likewise.
8516 (RUN_TEST_sincos): Likewise.
8517 (RUN_TEST_LOOP_sincos): Likewise.
8518
8269107f
JM
85192013-05-17 Joseph Myers <joseph@codesourcery.com>
8520
bb38759d
JM
8521 [BZ #15480]
8522 [BZ #15485]
8523 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8524 main case of finite arguments, set rounding mode to FE_TONEAREST
8525 and discard exceptions.
8526 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8527 exceptions.
8528 (remainder_tonearest_test_data): New variable.
8529 (remainder_test_tonearest): New function.
8530 (remainder_towardzero_test_data): New variable.
8531 (remainder_test_towardzero): New function.
8532 (remainder_downward_test_data): New variable.
8533 (remainder_test_downward): New function.
8534 (remainder_upward_test_data): New variable.
8535 (remainder_test_upward): New function.
8536 (main): Call the new test functions.
8537
a00bdcf0
JM
8538 * math/libm-test.inc (struct test_f_f1_data): Remove field
8539 extra_init.
8540 (struct test_fF_f1_data): Likewise.
8541 (struct test_ffI_f1_data): Likewise.
8542 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8543 based on value of EXTRA_EXPECTED.
8544 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8545 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8546 EXTRA_VAR based on value of EXTRA_EXPECTED.
8547 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8548 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8549 EXTRA_VAR based on value of EXTRA_EXPECTED.
8550 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8551 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8552 EXTRA_VAR based on value of EXTRA_EXPECTED.
8553 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8554 * math/gen-libm-test.pl (parse_args): Don't output initializers
8555 for extra output values.
8556
de407f79
JM
8557 * math/libm-test.inc (check_int): Expect result to be exactly
8558 equal to expected value and do not handle ulps.
8559 (check_long): Likewise.
8560 (check_longlong): Likewise.
8561
8269107f
JM
8562 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8563 exceptions.
8564 (cimag_test_data): Likewise.
8565 (conj_test_data): Likewise.
8566 (copysign_test_data): Likewise.
8567 (cproj_test_data): Likewise.
8568 (creal_test_data): Likewise.
8569 (fabs_test_data): Likewise.
8570 (fdim_test_data): Likewise.
8571 (finite_test_data): Likewise.
8572 (floor_test_data): Likewise.
8573 (fmax_test_data): Likewise.
8574 (fmin_test_data): Likewise.
8575 (fmod_test_data): Likewise.
8576 (fpclassify_test_data): Likewise.
8577 (frexp_test_data): Likewise.
8578 (ilogb_test_data): Likewise.
8579 (isfinite_test_data): Likewise.
8580 (isgreater_test_data): Likewise.
8581 (isgreaterequal_test_data): Likewise.
8582 (isinf_test_data): Likewise.
8583 (isless_test_data): Likewise.
8584 (islessequal_test_data): Likewise.
8585 (islessgreater_test_data): Likewise.
8586 (isnan_test_data): Likewise.
8587 (isnormal_test_data): Likewise.
8588 (issignaling_test_data): Likewise.
8589 (isunordered_test_data): Likewise.
8590 (ldexp_test_data): Likewise.
8591 (lrint_test_data): Likewise.
8592 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8593 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8594 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8595 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8596 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8597 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8598 test input.
8599 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8600 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8601 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8602 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8603 that test input.
8604 (lrint_downward_test_data): Test for "inexact" exceptions.
8605 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8606 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8607 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8608 test input.
8609 (lrint_upward_test_data): Test for "inexact" exceptions.
8610 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8611 test input.
8612 (llrint_test_data): Test for "inexact" exceptions.
8613 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8614 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8615 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8616 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8617 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8618 (llrint_downward_test_data): Test for "inexact" exceptions.
8619 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8620 (llrint_upward_test_data): Test for "inexact" exceptions.
8621 (logb_test_data): Likewise.
8622 (logb_downward_test_data): Likewise.
8623 (nextafter_test_data): Likewise.
8624 (nexttoward_test_data): Likewise.
8625 (remainder_test_data): Likewise.
8626 (remquo_test_data): Likewise.
8627 (scalbn_test_data): Likewise.
8628 (scalbln_test_data): Likewise.
8629 (signbit_test_data): Likewise.
8630 (sqrt_test_data): Likewise.
8631 (significand_test_data): Likewise.
8632
48a18de1
SP
86332013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8634
8635 [BZ #15424]
8636 * benchtests/bench-modf.c (struct args): Mark arg0 as
8637 volatile.
8638 * scripts/bench.pl: Mark members of struct args as volatile.
8639
13d3b41a
AZ
86402013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8641
68191c1d 8642 [BZ # 15497]
13d3b41a
AZ
8643 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8644 negative infinity on POWER6 or lower.
8645 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8646
2848b105
MR
86472013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8648
8649 [BZ #15442]
8650 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8651 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8652 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8653 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8654 (_FP_SETQNAN): New macro.
8655 (_FP_SETQNAN_SEMIRAW): Likewise.
8656 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8657 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8658 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8659 (FP_EXTEND): Use _FP_FRAC_SNANP.
8660 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8661 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8662 into account.
8663 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8664 New macro.
8665 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8666 Likewise.
8667
323e5cb7
JM
86682013-05-16 Joseph Myers <joseph@codesourcery.com>
8669
c58b274f
JM
8670 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8671 with DIVIDE_BY_ZERO_EXCEPTION.
8672 (gamma_test_data): Likewise.
8673 (lgamma_test_data): Likewise.
8674 (log_test_data): Likewise.
8675 (log10_test_data): Likewise.
8676 (log2_test_data): Likewise.
8677 (tgamma_test_data): Likewise.
8678
0ab34904
JM
8679 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8680 (acos_test_tonearest): Likewise.
8681 (acos_test_towardzero): Likewise.
8682 (acos_test_downward): Likewise.
8683 (acos_test_upward): Likewise.
8684 (acosh_test): Likewise.
8685 (asin_test): Likewise.
8686 (asin_test_tonearest): Likewise.
8687 (asin_test_towardzero): Likewise.
8688 (asin_test_downward): Likewise.
8689 (asin_test_upward): Likewise.
8690 (asinh_test): Likewise.
8691 (atan_test): Likewise.
8692 (atanh_test): Likewise.
8693 (atan2_test): Likewise.
8694 (cabs_test): Likewise.
8695 (cacos_test): Likewise.
8696 (cacosh_test): Likewise.
8697 (casin_test): Likewise.
8698 (casinh_test): Likewise.
8699 (catan_test): Likewise.
8700 (catanh_test): Likewise.
8701 (cbrt_test): Likewise.
8702 (ccos_test): Likewise.
8703 (ccosh_test): Likewise.
8704 (cexp_test): Likewise.
8705 (clog_test): Likewise.
8706 (clog10_test): Likewise.
8707 (cos_test): Likewise.
8708 (cos_test_tonearest): Likewise.
8709 (cos_test_towardzero): Likewise.
8710 (cos_test_downward): Likewise.
8711 (cos_test_upward): Likewise.
8712 (cosh_test): Likewise.
8713 (cosh_test_tonearest): Likewise.
8714 (cosh_test_towardzero): Likewise.
8715 (cosh_test_downward): Likewise.
8716 (cosh_test_upward): Likewise.
8717 (cpow_test): Likewise.
8718 (csin_test): Likewise.
8719 (csinh_test): Likewise.
8720 (csqrt_test): Likewise.
8721 (ctan_test): Likewise.
8722 (ctan_test_tonearest): Likewise.
8723 (ctan_test_towardzero): Likewise.
8724 (ctan_test_downward): Likewise.
8725 (ctan_test_upward): Likewise.
8726 (ctanh_test): Likewise.
8727 (ctanh_test_tonearest): Likewise.
8728 (ctanh_test_towardzero): Likewise.
8729 (ctanh_test_downward): Likewise.
8730 (ctanh_test_upward): Likewise.
8731 (erf_test): Likewise.
8732 (erfc_test): Likewise.
8733 (exp_test): Likewise.
8734 (exp_test_tonearest): Likewise.
8735 (exp_test_towardzero): Likewise.
8736 (exp_test_downward): Likewise.
8737 (exp_test_upward): Likewise.
8738 (exp10_test): Likewise.
8739 (exp2_test): Likewise.
8740 (expm1_test): Likewise.
8741 (fmod_test): Likewise.
8742 (gamma_test): Likewise.
8743 (hypot_test): Likewise.
8744 (j0_test): Likewise.
8745 (j1_test): Likewise.
8746 (jn_test): Likewise.
8747 (lgamma_test): Likewise.
8748 (log_test): Likewise.
8749 (log10_test): Likewise.
8750 (log1p_test): Likewise.
8751 (log2_test): Likewise.
8752 (logb_test_downward): Likewise.
8753 (pow_test): Likewise.
8754 (pow_test_tonearest): Likewise.
8755 (pow_test_towardzero): Likewise.
8756 (pow_test_downward): Likewise.
8757 (pow_test_upward): Likewise.
8758 (remainder_test): Likewise.
8759 (remquo_test): Likewise.
8760 (sin_test): Likewise.
8761 (sin_test_tonearest): Likewise.
8762 (sin_test_towardzero): Likewise.
8763 (sin_test_downward): Likewise.
8764 (sin_test_upward): Likewise.
8765 (sincos_test): Likewise.
8766 (sinh_test): Likewise.
8767 (sinh_test_tonearest): Likewise.
8768 (sinh_test_towardzero): Likewise.
8769 (sinh_test_downward): Likewise.
8770 (sinh_test_upward): Likewise.
8771 (sqrt_test): Likewise.
8772 (tan_test): Likewise.
8773 (tan_test_tonearest): Likewise.
8774 (tan_test_towardzero): Likewise.
8775 (tan_test_downward): Likewise.
8776 (tan_test_upward): Likewise.
8777 (tanh_test): Likewise.
8778 (tgamma_test): Likewise.
8779 (y0_test): Likewise.
8780 (y1_test): Likewise.
8781 (yn_test): Likewise.
8782
323e5cb7
JM
8783 * math/gen-libm-test.pl (adjust_arg): Remove function.
8784 (special_function): Remove argument $in_func. Only handle
8785 generating output for tables of tests, not inside functions.
8786 (parse_args): Likewise.
8787 (generate_testfile): Remove variable $in_func. Update call to
8788 parse_args.
8789 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8790 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8791 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8792 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8793 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8794 (MAX_VALUE_INIT): Rename macro to max_value.
8795 (MIN_VALUE_INIT): Rename macro to min_value.
8796 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8797 (plus_zero): Remove variable.
8798 (minus_zero): Likewise.
8799 (plus_infty): Likewise.
8800 (minus_infty): Likewise.
8801 (qnan_value): Likewise.
8802 (max_value): Likewise.
8803 (min_value): Likewise.
8804 (min_subnorm_value): Likewise.
8805
e054f494
RA
88062013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8807
8808 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8809 uint64_t or uint32_t usage.
8810 * crypt/sha256-block.c: Likewise.
8811 * crypt/sha256-crypt.c: Likewise.
8812 * crypt/sha256.c: Likewise.
8813 * crypt/sha512-block.c: Likewise.
8814 * crypt/sha512-crypt.c: Likewise.
8815 * crypt/sha512.c: Likewise.
8816 * debug/backtrace-tst.c: Likewise.
8817 * debug/pcprofiledump.c: Likewise.
8818 * elf/cache.c: Likewise.
8819 * elf/dl-cache.c: Likewise.
8820 * elf/dl-misc.c: Likewise.
8821 * elf/dl-profile.c: Likewise.
8822 * elf/dl-support.c: Likewise.
8823 * elf/ldconfig.c: Likewise.
8824 * elf/sprof.c: Likewise.
8825 * iconv/dummy-repertoire.c: Likewise.
8826 * iconv/iconv_charmap.c: Likewise.
8827 * iconv/skeleton.c: Likewise.
8828 * iconvdata/8bit-generic.c: Likewise.
8829 * iconvdata/cp737.h: Likewise.
8830 * iconvdata/cp775.h: Likewise.
8831 * iconvdata/ibm1008.h: Likewise.
8832 * iconvdata/ibm1025.h: Likewise.
8833 * iconvdata/ibm1046.h: Likewise.
8834 * iconvdata/ibm1097.h: Likewise.
8835 * iconvdata/ibm1112.h: Likewise.
8836 * iconvdata/ibm1122.h: Likewise.
8837 * iconvdata/ibm1123.h: Likewise.
8838 * iconvdata/ibm1124.h: Likewise.
8839 * iconvdata/ibm1129.h: Likewise.
8840 * iconvdata/ibm1130.h: Likewise.
8841 * iconvdata/ibm1132.h: Likewise.
8842 * iconvdata/ibm1133.h: Likewise.
8843 * iconvdata/ibm1137.h: Likewise.
8844 * iconvdata/ibm1140.h: Likewise.
8845 * iconvdata/ibm1141.h: Likewise.
8846 * iconvdata/ibm1142.h: Likewise.
8847 * iconvdata/ibm1143.h: Likewise.
8848 * iconvdata/ibm1144.h: Likewise.
8849 * iconvdata/ibm1145.h: Likewise.
8850 * iconvdata/ibm1146.h: Likewise.
8851 * iconvdata/ibm1147.h: Likewise.
8852 * iconvdata/ibm1148.h: Likewise.
8853 * iconvdata/ibm1149.h: Likewise.
8854 * iconvdata/ibm1153.h: Likewise.
8855 * iconvdata/ibm1154.h: Likewise.
8856 * iconvdata/ibm1155.h: Likewise.
8857 * iconvdata/ibm1156.h: Likewise.
8858 * iconvdata/ibm1157.h: Likewise.
8859 * iconvdata/ibm1158.h: Likewise.
8860 * iconvdata/ibm1160.h: Likewise.
8861 * iconvdata/ibm1161.h: Likewise.
8862 * iconvdata/ibm1162.h: Likewise.
8863 * iconvdata/ibm1163.h: Likewise.
8864 * iconvdata/ibm1164.h: Likewise.
8865 * iconvdata/ibm1166.h: Likewise.
8866 * iconvdata/ibm1167.h: Likewise.
8867 * iconvdata/ibm12712.h: Likewise.
8868 * iconvdata/ibm1390.h: Likewise.
8869 * iconvdata/ibm1399.h: Likewise.
8870 * iconvdata/ibm16804.h: Likewise.
8871 * iconvdata/ibm4517.h: Likewise.
8872 * iconvdata/ibm4899.h: Likewise.
8873 * iconvdata/ibm4909.h: Likewise.
8874 * iconvdata/ibm4971.h: Likewise.
8875 * iconvdata/ibm5347.h: Likewise.
8876 * iconvdata/ibm803.h: Likewise.
8877 * iconvdata/ibm856.h: Likewise.
8878 * iconvdata/ibm901.h: Likewise.
8879 * iconvdata/ibm902.h: Likewise.
8880 * iconvdata/ibm9030.h: Likewise.
8881 * iconvdata/ibm9066.h: Likewise.
8882 * iconvdata/ibm921.h: Likewise.
8883 * iconvdata/ibm922.h: Likewise.
8884 * iconvdata/ibm9448.h: Likewise.
8885 * iconvdata/isiri-3342.h: Likewise.
8886 * iconvdata/jis0201.h: Likewise.
8887 * include/link.h: Likewise.
8888 * include/netdb.h: Likewise.
8889 * inet/check_native.c: Likewise.
8890 * inet/check_pf.c: Likewise.
8891 * inet/getipv4sourcefilter.c: Likewise.
8892 * inet/getnameinfo.c: Likewise.
8893 * inet/getsourcefilter.c: Likewise.
8894 * inet/htonl.c: Likewise.
8895 * inet/setipv4sourcefilter.c: Likewise.
8896 * inet/setsourcefilter.c: Likewise.
8897 * inet/test-inet6_opt.c: Likewise.
8898 * inet/tst-network.c: Likewise.
8899 * locale/C-collate.c: Likewise.
8900 * locale/C-ctype.c: Likewise.
8901 * locale/C-time.c: Likewise.
8902 * locale/C-translit.h: Likewise.
8903 * locale/loadarchive.c: Likewise.
8904 * locale/programs/3level.h: Likewise.
8905 * locale/programs/charmap.c: Likewise.
8906 * locale/programs/charmap.h: Likewise.
8907 * locale/programs/ld-address.c: Likewise.
8908 * locale/programs/ld-collate.c: Likewise.
8909 * locale/programs/ld-ctype.c: Likewise.
8910 * locale/programs/ld-identification.c: Likewise.
8911 * locale/programs/ld-measurement.c: Likewise.
8912 * locale/programs/ld-messages.c: Likewise.
8913 * locale/programs/ld-monetary.c: Likewise.
8914 * locale/programs/ld-name.c: Likewise.
8915 * locale/programs/ld-numeric.c: Likewise.
8916 * locale/programs/ld-paper.c: Likewise.
8917 * locale/programs/ld-telephone.c: Likewise.
8918 * locale/programs/ld-time.c: Likewise.
8919 * locale/programs/linereader.c: Likewise.
8920 * locale/programs/locale.c: Likewise.
8921 * locale/programs/locarchive.c: Likewise.
8922 * locale/programs/locfile.h: Likewise.
8923 * locale/programs/repertoire.c: Likewise.
8924 * locale/programs/simple-hash.c: Likewise.
8925 * locale/programs/simple-hash.h: Likewise.
8926 * malloc/memusage.c: Likewise.
8927 * malloc/memusagestat.c: Likewise.
8928 * nis/nis_defaults.c: Likewise.
8929 * nis/nis_hash.c: Likewise.
8930 * nis/nis_print.c: Likewise.
8931 * nis/nis_xdr.c: Likewise.
8932 * nscd/connections.c: Likewise.
8933 * nscd/hstcache.c: Likewise.
8934 * nscd/nscd_gethst_r.c: Likewise.
8935 * nscd/nscd_getserv_r.c: Likewise.
8936 * nscd/nscd_helper.c: Likewise.
8937 * nscd/servicescache.c: Likewise.
8938 * nss/makedb.c: Likewise.
8939 * nss/nss_db/db-XXX.c: Likewise.
8940 * nss/nss_db/db-initgroups.c: Likewise.
8941 * nss/nss_db/db-netgrp.c: Likewise.
8942 * nss/nss_files/files-network.c: Likewise.
8943 * nss/nss_files/files-parse.c: Likewise.
8944 * posix/bug-regex5.c: Likewise.
8945 * posix/fnmatch_loop.c: Likewise.
8946 * posix/regcomp.c: Likewise.
8947 * posix/regexec.c: Likewise.
8948 * posix/tst-rfc3484-2.c: Likewise.
8949 * posix/tst-rfc3484-3.c: Likewise.
8950 * posix/tst-rfc3484.c: Likewise.
8951 * resolv/nss_dns/dns-canon.c: Likewise.
8952 * resolv/nss_dns/dns-network.c: Likewise.
8953 * resolv/res_init.c: Likewise.
8954 * resolv/res_mkquery.c: Likewise.
8955 * resolv/tst-aton.c: Likewise.
8956 * stdlib/cxa_atexit.c: Likewise.
8957 * stdlib/cxa_finalize.c: Likewise.
8958 * stdlib/gen-fpioconst.c: Likewise.
8959 * stdlib/strtol_l.c: Likewise.
8960 * string/tst-endian.c: Likewise.
8961 * sunrpc/auth_des.c: Likewise.
8962 * sunrpc/clnt_udp.c: Likewise.
8963 * sunrpc/rtime.c: Likewise.
8964 * sunrpc/svcauth_des.c: Likewise.
8965 * sunrpc/xdr.c: Likewise.
8966 * sunrpc/xdr_intXX_t.c: Likewise.
8967 * sunrpc/xdr_rec.c: Likewise.
8968 * sysdeps/generic/ldconfig.h: Likewise.
8969 * sysdeps/generic/ldsodefs.h: Likewise.
8970 * sysdeps/generic/memusage.h: Likewise.
8971 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8972 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8973 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8974 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8975 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8976 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8977 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8978 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8979 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8980 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8981 * sysdeps/posix/getaddrinfo.c: Likewise.
8982 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8983 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8984 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8985 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8986 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8987 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8988 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8989 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8990 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8991 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8992 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8993 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8994 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8995 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8996 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8997 * sysdeps/x86_64/dl-tls.h: Likewise.
8998 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8999 * time/alt_digit.c: Likewise.
9000 * time/era.c: Likewise.
9001 * wcsmbs/tst-c16c32-1.c: Likewise.
9002
8c75f674
JM
90032013-05-16 Joseph Myers <joseph@codesourcery.com>
9004
9005 * math/libm-test.inc (struct test_sincos_data): New type.
9006 (RUN_TEST_LOOP_sincos): New macro.
9007 (sincos_test_data): New variable.
9008 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9009
e6e49e59
RH
90102013-05-16 Richard Henderson <rth@redhat.com>
9011
9012 * math/atest-exp2.c (LIMB64): New macro.
9013 (CONSTSZ): New macro.
9014 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9015 (hexdig): Move ...
9016 (print_mpn_fp): ... to function scope.
9017 (read_mpn_hex): Remove.
9018 (get_log2): Remove.
9019 (exp2_mpn): Use mp_log2.
9020 (main): Use mp_exp1.
9021
15c7c18d
JM
90222013-05-16 Joseph Myers <joseph@codesourcery.com>
9023
105a07df
JM
9024 * math/libm-test.inc: Remove comment about not testing "inexact"
9025 exceptions.
9026 (INEXACT_EXCEPTION): New macro.
9027 (NO_INEXACT_EXCEPTION): Likewise.
9028 (INVALID_EXCEPTION_OK): Update value.
9029 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9030 (OVERFLOW_EXCEPTION_OK): Likewise.
9031 (UNDERFLOW_EXCEPTION_OK): Likewise.
9032 (IGNORE_ZERO_INF_SIGN): Likewise.
9033 (ERRNO_UNCHANGED): Likewise.
9034 (ERRNO_EDOM): Likewise.
9035 (ERRNO_ERANGE): Likewise.
9036 (test_exceptions): Handle testing "inexact" exceptions.
9037 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9038 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9039 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9040 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9041 INEXACT_EXCEPTION.
9042 (rint_towardzero_test_data): Likewise.
9043 (rint_downward_test_data): Likewise.
9044 (rint_upward_test_data): Likewise.
9045
e9eee333
JM
9046 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9047 with OVERFLOW_EXCEPTION.
9048 (exp10_test_data): Likewise.
9049 (exp2_test_data): Likewise.
9050 (expm1_test_data): Likewise.
9051 (lgamma_test_data): Likewise.
9052 (pow_test_data): Likewise.
9053 (tgamma_test_data): Likewise.
9054 (yn_test_data): Remove duplicate test of overflow.
9055
1c38ff73
JM
9056 * math/libm-test.inc (struct test_cc_c_data): New type.
9057 (RUN_TEST_LOOP_cc_c): New macro.
9058 (cpow_test_data): New variable.
9059 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9060
15c7c18d
JM
9061 * math/libm-test.inc (struct test_f_L_data): New type.
9062 (RUN_TEST_LOOP_f_L): New macro.
9063 (llrint_test_data): New variable.
9064 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9065 (llrint_tonearest_test_data): New variable.
9066 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9067 (llrint_towardzero_test_data): New variable.
9068 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9069 (llrint_downward_test_data): New variable.
9070 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9071 (llrint_upward_test_data): New variable.
9072 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9073 (llround_test_data): New variable.
9074 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9075
f137ff13
PC
90762013-05-13 Peter Collingbourne <pcc@google.com>
9077
9078 * math/atest-exp2.c (get_log2): Remove const attribute.
9079
3608cb24
JM
90802013-05-15 Joseph Myers <joseph@codesourcery.com>
9081
9082 * math/libm-test.inc (struct test_f_l_data): New type.
9083 (RUN_TEST_LOOP_f_l): New macro.
9084 (lrint_test_data): New variable.
9085 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9086 (lrint_tonearest_test_data): New variable.
9087 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9088 (lrint_towardzero_test_data): New variable.
9089 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9090 (lrint_downward_test_data): New variable.
9091 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9092 (lrint_upward_test_data): New variable.
9093 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9094 (lround_test_data): New variable.
9095 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9096
39b1f617
PC
90972013-05-15 Peter Collingbourne <pcc@google.com>
9098
1deff3dc
PC
9099 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9100 (EXTRACT_WORDS64) Use where appropriate.
9101 (INSERT_WORDS64) Likewise.
9102
791f3ba0
PC
9103 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9104 constraints with x constraints.
9105 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9106
39b1f617
PC
9107 * malloc/obstack.c (_obstack_compat): Add initializer.
9108
12fba011
EM
91092013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9110
9111 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9112 si_trapno and add si_addr_lsb to _sifields.sigfault.
9113 (si_trapno): Remove macro.
9114 (si_addr_lsb): Define new macro.
9115 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9116
d369f531
JM
91172013-05-15 Joseph Myers <joseph@codesourcery.com>
9118
b861c6c4
JM
9119 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9120 instead of TEST_f_l.
9121 (llrint_test_tonearest): Likewise.
9122 (llrint_test_towardzero): Likewise.
9123 (llrint_test_downward): Likewise.
9124 (llrint_test_upward): Likewise.
9125 (llround_test): Likewise.
9126
7abeee12
JM
9127 * math/libm-test.inc (struct test_f_i_data): Add comment.
9128 (RUN_TEST_LOOP_f_b): New macro.
9129 (RUN_TEST_LOOP_f_b_tg): Likewise.
9130 (finite_test_data): New variable.
9131 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9132 (isfinite_test_data): New variable.
9133 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9134 (isinf_test_data): New variable.
9135 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9136 (isnan_test_data): New variable.
9137 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9138 (isnormal_test_data): New variable.
9139 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9140 (issignaling_test_data): New variable.
9141 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9142 (signbit_test_data): New variable.
9143 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9144
cbe8c4d3
JM
9145 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9146 with INVALID_EXCEPTION.
9147 (acosh_test_data): Likewise.
9148 (asin_test_data): Likewise.
9149 (atanh_test_data): Likewise.
9150 (fmod_test_data): Likewise.
9151 (log_test_data): Likewise.
9152 (log10_test_data): Likewise.
9153 (log2_test_data): Likewise.
9154 (pow_test_data): Likewise.
9155 (sqrt_test_data): Likewise.
9156 (y0_test_data): Likewise.
9157 (y1_test_data): Likewise.
9158 (yn_test_data): Likewise.
9159
5575c0e5
JM
9160 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9161 function contents.
9162
d369f531
JM
9163 * math/libm-test.inc (struct test_ff_i_data): New type.
9164 (RUN_TEST_LOOP_ff_i_tg): New macro.
9165 (isgreater_test_data): New variable.
9166 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9167 (isgreaterequal_test_data): New variable.
9168 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9169 (isless_test_data): New variable.
9170 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9171 (islessequal_test_data): New variable.
9172 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9173 (islessgreater_test_data): New variable.
9174 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9175 (isunordered_test_data): New variable.
9176 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9177
781fd748
DM
91782013-05-14 David S. Miller <davem@davemloft.net>
9179
9180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9181
87aa21df
JM
91822013-05-14 Joseph Myers <joseph@codesourcery.com>
9183
5e908270
JM
9184 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9185
f71172e5
JM
9186 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9187 extra_test to int.
9188 (struct test_f_i_data): Change type of max_ulp to int.
9189
8cfa635a
JM
9190 * math/libm-test.inc (test_ffI_f1_data): New type.
9191 (RUN_TEST_LOOP_ffI_f1): New macro.
9192 (remquo_test_data): New variable.
9193 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9194
2bcb36b2
JM
9195 * setjmp/tst-setjmp-fp.c: New file.
9196 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9197 (link-libm): New variable.
9198 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9199
acbd839a
JM
9200 * math/libm-test.inc (struct test_f_i_data): New type.
9201 (RUN_TEST_LOOP_f_i): New macro.
9202 (RUN_TEST_LOOP_f_i_tg): Likewise.
9203 (fpclassify_test_data): New variable.
9204 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9205 (ilogb_test_data): New variable.
9206 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9207
e414d745
JM
9208 * math/libm-test.inc (scalbln_test): Correct function name in END
9209 call.
9210
d9c2a0fd
JM
9211 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9212 (RUN_TEST_LOOP_fI_f1): New macro.
9213 (frexp_test_data): New variable.
9214 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9215
9dc9095d
JM
9216 * math/libm-test.inc (struct test_fF_f1_data): New type.
9217 (RUN_TEST_LOOP_fF_f1): New macro.
9218 (modf_test_data): New variable.
9219 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9220
87aa21df
JM
9221 * math/libm-test.inc (struct test_f_f1_data): New type.
9222 (RUN_TEST_LOOP_f_f1): New macro.
9223 (gamma_test_data): New variable.
9224 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9225 (lgamma_test_data): New variable.
9226 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9227
141af660
CD
92282013-05-13 Carlos O'Donell <carlos@redhat.com>
9229
9230 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9231 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9232 (main): Comment "tls" pseudo-hwcap.
9233
6d33265c
JM
92342013-05-13 Joseph Myers <joseph@codesourcery.com>
9235
68fc074c
JM
9236 * math/libm-test.inc (struct test_fl_f_data): New type.
9237 (RUN_TEST_LOOP_fl_f): New variable.
9238 (scalbln_test_data): New variable.
9239 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9240
243216e1
JM
9241 * math/libm-test.inc (struct test_fi_f_data): New type.
9242 (RUN_TEST_LOOP_fi_f): New macro.
9243 (ldexp_test_data): New variable.
9244 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9245 (scalbn_test_data): New variable.
9246 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9247
6a1992e2
JM
9248 * math/libm-test.inc (struct test_c_f_data): New type.
9249 (RUN_TEST_LOOP_c_f): New macro.
9250 (cabs_test_data): New variable.
9251 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9252 (carg_test_data): New variable.
9253 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9254 (cimag_test_data): New variable.
9255 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9256 (creal_test_data): New variable.
9257 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9258
0e400df5
JM
9259 * math/libm-test.inc (struct test_if_f_data): New type.
9260 (RUN_TEST_LOOP_if_f): New macro.
9261 (jn_test_data): New variable.
9262 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9263 (yn_test_data): New variable.
9264 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9265
6d33265c
JM
9266 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9267
f98ece5f
AZ
92682013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9269
9270 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9271 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9272
0f7d347b
SP
92732013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9274
43fe811b
SP
9275 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9276 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9277 (bench-deps): Add bench-timing.h.
9278 * benchtests-bench-skeleton.c: Include bench-timing.h.
9279 (main): Use TIMING_* macros instead of clock_gettime.
9280 * benchtests/bench-timing.h: New file.
9281
0f7d347b
SP
9282 [BZ #14582]
9283 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9284 Renamed from _LIB_VERSION.
9285 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9286
601a3a5f
JM
92872013-05-12 Joseph Myers <joseph@codesourcery.com>
9288
4f184d30
JM
9289 * math/libm-test.inc (struct test_fff_f_data): New type.
9290 (RUN_TEST_LOOP_fff_f): New macro.
9291 (fma_test_data): New variable.
9292 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9293 (fma_towardzero_test_data): New variable.
9294 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9295 (fma_downward_test_data): New variable.
9296 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9297 (fma_upward_test_data): New variable.
9298 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9299
08198877
JM
9300 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9301 (struct test_c_c_data): New type.
9302 (RUN_TEST_LOOP_c_c): New macro.
9303 (cacos_test_data): New variable.
9304 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9305 (cacosh_test_data): New variable.
9306 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9307 (casin_test_data): New variable.
9308 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9309 (casinh_test_data): New variable.
9310 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9311 (catan_test_data): New variable.
9312 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9313 (catanh_test_data): New variable.
9314 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9315 (ccos_test_data): New variable.
9316 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9317 (ccosh_test_data): New variable.
9318 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9319 (cexp_test_data): New variable.
9320 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9321 (clog_test_data): New variable.
9322 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9323 (clog10_test_data): New variable.
9324 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9325 (conj_test_data): New variable.
9326 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9327 (cproj_test_data): New variable.
9328 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9329 (csin_test_data): New variable.
9330 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9331 (csinh_test_data): New variable.
9332 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9333 (csqrt_test_data): New variable.
9334 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9335 (ctan_test_data): New variable.
9336 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9337 (ctan_tonearest_test_data): New variable.
9338 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9339 (ctan_towardzero_test_data): New variable.
9340 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9341 (ctan_downward_test_data): New variable.
9342 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9343 (ctan_upward_test_data): New variable.
9344 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9345 (ctanh_test_data): New variable.
9346 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9347 (ctanh_tonearest_test_data): New variable.
9348 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9349 (ctanh_towardzero_test_data): New variable.
9350 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9351 (ctanh_downward_test_data): New variable.
9352 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9353 (ctanh_upward_test_data): New variable.
9354 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9355 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9356 of BUILD_COMPLEX.
9357
601a3a5f
JM
9358 * math/libm-test.inc (struct test_ff_f_data): New type.
9359 (struct test_ff_f_data_nexttoward): Likewise.
9360 (RUN_TEST_LOOP_2_f): New macro.
9361 (RUN_TEST_LOOP_ff_f): Likewise.
9362 (atan2_test_data): New variable.
9363 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9364 (copysign_test_data): New variable.
9365 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9366 (fdim_test_data): New variable.
9367 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9368 (fmax_test_data): New variable.
9369 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9370 (fmin_test_data): New variable.
9371 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9372 (fmod_test_data): New variable.
9373 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9374 (hypot_test_data): New variable.
9375 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9376 (nextafter_test_data): New variable.
9377 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9378 (nexttoward_test_data): New variable.
9379 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9380 (pow_test_data): New variable.
9381 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9382 (pow_tonearest_test_data): New variable.
9383 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9384 (pow_towardzero_test_data): New variable.
9385 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9386 (pow_downward_test_data): New variable.
9387 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9388 (pow_upward_test_data): New variable.
9389 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9390 (remainder_test_data): New variable.
9391 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9392 (scalb_test_data): New variable.
9393 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9394 * sysdeps/i386/fpu/libm-test-ulps: Update.
9395
74c57478
JM
93962013-05-11 Joseph Myers <joseph@codesourcery.com>
9397
8329e4da
JM
9398 * math/libm-test.inc (fma_test): Use max_value instead of local
9399 variable fltmax.
9400 (nextafter_test): Likewise.
9401
74c57478
JM
9402 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9403 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9404 (acos_downward_test_data): New variable.
9405 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9406 (acos_upward_test_data): New variable.
9407 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9408 (acosh_test_data): New variable.
9409 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9410 (asin_test_data): New variable.
9411 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9412 (asin_tonearest_test_data): New variable.
9413 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9414 (asin_towardzero_test_data): New variable.
9415 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9416 (asin_downward_test_data): New variable.
9417 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9418 (asin_upward_test_data): New variable.
9419 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9420 (asinh_test_data): New variable.
9421 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9422 (atan_test_data): New variable.
9423 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9424 (atanh_test_data): New variable.
9425 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9426 (cbrt_test_data): New variable.
9427 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9428 (ceil_test_data): New variable.
9429 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9430 (cos_test_data): New variable.
9431 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9432 (cos_tonearest_test_data): New variable.
9433 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9434 (cos_towardzero_test_data): New variable.
9435 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9436 (cos_downward_test_data): New variable.
9437 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9438 (cos_upward_test_data): New variable.
9439 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9440 (cosh_test_data): New variable.
9441 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9442 (cosh_tonearest_test_data): New variable.
9443 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9444 (cosh_towardzero_test_data): New variable.
9445 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9446 (cosh_downward_test_data): New variable.
9447 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9448 (cosh_upward_test_data): New variable.
9449 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9450 (erf_test_data): New variable.
9451 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9452 (erfc_test_data): New variable.
9453 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9454 (exp_test_data): New variable.
9455 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9456 (exp_tonearest_test_data): New variable.
9457 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9458 (exp_towardzero_test_data): New variable.
9459 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9460 (exp_downward_test_data): New variable.
9461 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9462 (exp_upward_test_data): New variable.
9463 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9464 (exp10_test_data): New variable.
9465 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9466 (exp2_test_data): New variable.
9467 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9468 (expm1_test_data): New variable.
9469 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9470 (fabs_test_data): New variable.
9471 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9472 (floor_test_data): New variable.
9473 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9474 (j0_test_data): New variable.
9475 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9476 (j1_test_data): New variable.
9477 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9478 (log_test_data): New variable.
9479 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9480 (log10_test_data): New variable.
9481 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9482 (log1p_test_data): New variable.
9483 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9484 (log2_test_data): New variable.
9485 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9486 (logb_test_data): New variable.
9487 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9488 (logb_downward_test_data): New variable.
9489 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9490 (nearbyint_test_data): New variable.
9491 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9492 (rint_test_data): New variable.
9493 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9494 (rint_tonearest_test_data): New variable.
9495 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9496 (rint_towardzero_test_data): New variable.
9497 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9498 (rint_downward_test_data): New variable.
9499 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9500 (rint_upward_test_data): New variable.
9501 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9502 (round_test_data): New variable.
9503 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9504 (sin_test_data): New variable.
9505 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9506 (sin_tonearest_test_data): New variable.
9507 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9508 (sin_towardzero_test_data): New variable.
9509 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9510 (sin_downward_test_data): New variable.
9511 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9512 (sin_upward_test_data): New variable.
9513 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9514 (sinh_test_data): New variable.
9515 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9516 (sinh_tonearest_test_data): New variable.
9517 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9518 (sinh_towardzero_test_data): New variable.
9519 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9520 (sinh_downward_test_data): New variable.
9521 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9522 (sinh_upward_test_data): New variable.
9523 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9524 (sqrt_test_data): New variable.
9525 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9526 (tan_test_data): New variable.
9527 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9528 (tan_tonearest_test_data): New variable.
9529 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9530 (tan_towardzero_test_data): New variable.
9531 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9532 (tan_downward_test_data): New variable.
9533 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9534 (tan_upward_test_data): New variable.
9535 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9536 (tanh_test_data): New variable.
9537 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9538 (tgamma_test_data): New variable.
9539 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9540 (trunc_test_data): New variable.
9541 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9542 (y0_test_data): New variable.
9543 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9544 (y1_test_data): New variable.
9545 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9546 (significand_test_data): New variable.
9547 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9548
7187d844
CG
95492013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9550
9551 [BZ #12387]
9552 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9553
f63fae73
PT
95542013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9555
9556 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9557
8a67a4b3
AJ
95582013-05-10 Andreas Jaeger <aj@suse.de>
9559
9560 [BZ #15448]
9561 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9562 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9563
51df539d
JM
95642013-05-10 Joseph Myers <joseph@codesourcery.com>
9565
9566 * math/gen-libm-test.pl (adjust_arg): New function.
9567 (special_functions): Handle generating output in both functions
9568 and arrays.
9569 (parse_args): Likewise.
9570 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9571 $in_func argument to parse_args.
9572 * math/libm-test.inc (struct test_f_f_data): New type.
9573 (IF_ROUND_INIT_): New macro.
9574 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9575 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9576 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9577 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9578 (ROUND_RESTORE_): Likewise.
9579 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9580 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9581 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9582 (ROUND_RESTORE_FE_UPWARD): Likewise.
9583 (RUN_TEST_LOOP_f_f): New macro.
9584 (acos_test_data): New variable.
9585 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9586 (acos_tonearest_test_data): New variable.
9587 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9588
5c637fe5
SP
95892013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9590
9591 * benchtests/bench-skeleton.c (startup): Fix coding style.
9592
ab2b9461
JM
95932013-05-10 Joseph Myers <joseph@codesourcery.com>
9594
9595 [BZ #6809]
9596 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9597 negative infinity argument.
9598 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9599 negative infinity argument.
9600 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9601 negative infinity argument.
9602 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9603 domain errors.
9604
4c0fe6fe
FW
96052013-05-10 Florian Weimer <fweimer@redhat.com>
9606
9607 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9608 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9609 * iconv/iconv_prog.c (main): Likewise.
9610 * locale/programs/charmap-dir.c (charmap_readdir)
9611 (fopen_uncompressed): Likewise.
9612 * locale/programs/locfile.c (siblings_uncached)
9613 (write_locale_data): Use lstat64 instead of lstat.
9614 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9615 stat.
9616
a3375d29
AJ
96172013-05-10 Andreas Jaeger <aj@suse.de>
9618
9619 [BZ #15395]
9620 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9621 localization.
9622 Include <locale.h>.
9623
36129722
CD
96242013-05-09 Carlos O'Donell <carlos@redhat.com>
9625
9626 * elf/dl-close.c (_dl_close_worker): Add comments.
9627
faa7f811
JM
96282013-05-09 Joseph Myers <joseph@codesourcery.com>
9629
ed41ffef
JM
9630 [BZ #15359]
9631 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9632 high part of pi/2.
9633 (__ieee754_rem_pio2l): Update comments.
9634
d0213cd0
JM
9635 [BZ #15429]
9636 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9637 high part of pi/2.
9638 (__ieee754_rem_pio2l): Update comments.
9639
0d3e777a
JM
9640 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9641 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9642
24f56066
JM
9643 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9644 M_PI_4l.
9645
faa7f811
JM
9646 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9647 (M_PI_34_LOG10El): Likewise.
9648 (M_PI2_LOG10El): Likewise.
9649 (M_PI4_LOG10El): Likewise.
9650 (M_PI_LOG10El): Likewise.
9651
e9a5e0fd
AZ
96522013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9653
9654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9655
d8cd06db
JM
96562013-05-08 Joseph Myers <joseph@codesourcery.com>
9657
a0d9f9d7
JM
9658 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9659 (MINUS_ZERO_INIT): Likewise.
9660 (PLUS_INFTY_INIT): Likewise.
9661 (MINUS_INFTY_INIT): Likewise.
9662 (QNAN_VALUE_INIT): Likewise.
9663 (MAX_VALUE_INIT): Likewise.
9664 (MIN_VALUE_INIT): Likewise.
9665 (MIN_SUBNORM_VALUE_INIT): Likewise.
9666 (plus_zero): Initialize with PLUS_ZERO_INIT.
9667 (minus_zero): Initialize with MINUS_ZERO_INIT.
9668 (plus_infty): Initialize with PLUS_INFTY_INIT.
9669 (minus_infty): Initialize with MINUS_INFTY_INIT.
9670 (qnan_value): Initialize with QNAN_VALUE_INIT.
9671 (max_value): Initialize with MAX_VALUE_INIT.
9672 (min_value): Initialize with MIN_VALUE_INIT.
9673 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9674
ae08db3b
JM
9675 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9676 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9677 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9678 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9679
f44bf14a
JM
9680 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9681 (RUN_TEST_2_f): Likewise.
9682 (RUN_TEST_ff_f): Likewise.
9683 (RUN_TEST_fi_f): Likewise.
9684 (RUN_TEST_fl_f): Likewise.
9685 (RUN_TEST_fff_f): Likewise.
9686 (RUN_TEST_c_f): Likewise.
9687 (RUN_TEST_f_f1): Likewise.
9688 (RUN_TEST_fF_f1): Likewise.
9689 (RUN_TEST_fI_f1): Likewise.
9690 (RUN_TEST_ffI_f1): Likewise.
9691 (RUN_TEST_c_c): Likewise.
9692 (RUN_TEST_cc_c): Likewise.
9693 (RUN_TEST_f_i): Likewise.
9694 (RUN_TEST_f_i_tg): Likewise.
9695 (RUN_TEST_ff_i_tg): Likewise.
9696 (RUN_TEST_f_b): Likewise.
9697 (RUN_TEST_f_b_tg): Likewise.
9698 (RUN_TEST_f_l): Likewise.
9699 (RUN_TEST_f_L): Likewise.
9700 (RUN_TEST_sincos): Likewise.
9701 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9702 whether to show exceptions. Do not include ");\n" in return
9703 value.
9704 (special_functions): Output call to RUN_TEST_sincos instead of
9705 check_float calls. Update calls to new_test.
9706 (parse_args): Output call to single RUN_TEST_* macro instead of
9707 check_* calls and other assignments. Update calls to new_test.
9708
d8cd06db
JM
9709 [BZ #2546]
9710 [BZ #2560]
9711 [BZ #5159]
9712 [BZ #15426]
9713 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9714 input to result for tgamma overflow.
9715 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9716 (gamma_coeff): New variable.
9717 (NCOEFF): New macro.
9718 (gamma_positive): New function.
9719 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9720 underflow here. Use gamma_positive instead of exp (lgamma) for
9721 other arguments.
9722 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9723 (gamma_coeff): New variable.
9724 (NCOEFF): New macro.
9725 (gammaf_positive): New function.
9726 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9727 underflow here. Use gamma_positive instead of exp (lgamma) for
9728 other arguments.
9729 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9730 (gamma_coeff): New variable.
9731 (NCOEFF): New macro.
9732 (gammal_positive): New function.
9733 (__ieee754_gammal_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-128ibm/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, overflow and
9741 underflow here. Handle NaN the same as positive infinity. Remove
9742 check x < 0xffffffff for negative integers. Use gamma_positive
9743 instead of exp (lgamma) for other arguments.
9744 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9745 (gamma_coeff): New variable.
9746 (NCOEFF): New macro.
9747 (gammal_positive): New function.
9748 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9749 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9750 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9751 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9752 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9753 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9754 * sysdeps/generic/math_private.h (__gamma_productf): New
9755 prototype.
9756 (__gamma_product): Likewise.
9757 (__gamma_productl): Likewise.
9758 * math/Makefile (libm-calls): Add gamma_product.
9759 * math/libm-test.inc (tgamma_test): Add more tests.
9760 * sysdeps/i386/fpu/libm-test-ulps: Update.
9761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9762
bb7cf681
OB
97632013-05-08 Ondřej Bílka <neleai@seznam.cz>
9764
9765 * benchtests/bench-skeleton.c (main): Preheat CPU.
9766
ba853947
AJ
97672013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9768
9769 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9770
8347c74c
RM
97712013-05-07 Roland McGrath <roland@hack.frob.com>
9772
9773 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9774 and _dl_skip_args_internal.
9775
e8dd4791
CD
97762013-05-07 Carlos O'Donell <carlos@redhat.com>
9777
9778 * manual/message.texi (Message Translation): Talk about users.
9779 Message to key mapping impacts design.
9780
c7405830
RM
97812013-05-06 Roland McGrath <roland@hack.frob.com>
9782
a9173057
RM
9783 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9784
976e2f03
RM
9785 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9786
9723ffc5
RM
9787 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9788 * sysdeps/wordsize-64/glob64.c: ... here.
9789
962e6658
RM
9790 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9791 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9792 New macros.
9793
ee586a6d
RM
9794 * debug/getlogin_r_chk.c: Moved to ...
9795 * login/getlogin_r_chk.c: ... here.
9796 * debug/Makefile (routines): Move getlogin_r_chk to ...
9797 * login/Makefile (routines): ... here.
9798 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9799 * login/Versions (libc: GLIBC_2.4): ... here.
9800
355f9165
RM
9801 * io/poll.c (__poll): Renamed from poll.
9802 Add libc_hidden_def.
9803 (poll): Define as weak alias.
9804
bd9ffde6
RM
9805 * debug/ptsname_r_chk.c: Moved to ...
9806 * login/ptsname_r_chk.c: ... here.
9807 * debug/Makefile (routines): Move ptsname_r_chk to ...
9808 * login/Makefile (routines): ... here.
9809 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9810 * login/Versions (libc: GLIBC_2.4): ... here.
9811
8fb16a04
RM
9812 * posix/getlogin.c: Moved to ...
9813 * login/getlogin.c: ... here.
9814 * posix/getlogin_r.c: Moved to ...
9815 * login/getlogin_r.c: ... here.
9816 * posix/getlogin_r.c: Moved to ...
9817 * login/getlogin_r.c: ... here.
9818 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9819 * login/Makefile (routines): ... here.
9820 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9821 * login/Versions (libc: GLIBC_2.0): ... here.
9822
b99b892f
RM
9823 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9824 (setrlimit): Define as weak alias.
9825
c7405830
RM
9826 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9827 Call __ names for open, ftruncate, and close.
9828 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9829 (truncate): Define as weak alias.
9830
5bf96de5
JM
98312013-05-06 Joseph Myers <joseph@codesourcery.com>
9832
9ea3513c
JM
9833 * math/gen-libm-test.pl (parse_args): Initialize x before each
9834 test of frexp, modf and remquo.
9835
5bf96de5
JM
9836 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9837 test signgam value.
9838
16e616a7
AZ
98392013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9840
9841 [BZ #15418]
9842 [BZ #15419]
9843 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9844 internal tests.
9845 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9846
d5e82754
RM
98472013-05-06 Roland McGrath <roland@hack.frob.com>
9848
9849 * elf/dl-writev.h: New file.
9850 * elf/dl-misc.c: Include it.
9851 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9852 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9853
a7548d41
JM
98542013-05-04 Joseph Myers <joseph@codesourcery.com>
9855
b7dab1e4
JM
9856 * math/libm-test.inc (noXFails): Remove variable.
9857 (noXPasses): Likewise.
9858 (BUILD_COMPLEX_INT): Remove macro.
9859 (print_screen): Remove xfail argument.
9860 (print_screen_max_error): Likewise.
9861 (update_stats): Likewise.
9862 (print_max_error): Likewise. Update calls to other affected
9863 functions.
9864 (print_complex_max_error): Likewise.
9865 (test_single_exception): Update calls to print_screen.
9866 (test_single_errno): Likewise.
9867 (check_float_internal): Remove xfail argument. Update calls to
9868 other affected functions.
9869 (check_float): Likewise.
9870 (check_complex): Likewise.
9871 (check_int): Likewise.
9872 (check_long): Likewise.
9873 (check_bool): Likewise.
9874 (check_longlong): Likewise.
9875 (main): Don't print noXFails and noXPasses.
9876 * math/gen-libm-test.pl (top level): Don't mention expected
9877 failure handling in comment.
9878 (new_test): Don't handle expected failures.
9879 (parse_args): Don't mention expected failure handling in comment.
9880 (generate_testfile): Don't handle expected failures.
9881 (parse_ulps): Likewise.
9882 (print_ulps_file): Likewise.
9883 (get_failure): Remove function.
9884 (output_test): Don't handle expected failures.
9885 * make/README.libm-test: Don't mention expected failure handling.
9886
a7548d41
JM
9887 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9888 (minus_zero): Likewise.
9889 (plus_infty): Likewise.
9890 (minus_infty): Likewise.
9891 (qnan_value): Likewise.
9892 (max_value): Likewise.
9893 (min_value): Likewise.
9894 (min_subnorm_value): Likewise.
9895 (initialize): Do not initialize those variables dynamically.
9896
60bfd54c
RM
98972013-05-03 Roland McGrath <roland@hack.frob.com>
9898
cc0e6ed8
RM
9899 * io/open.c (__open_2): Moved to ...
9900 * io/open_2.c: ... this new file.
9901 * io/open64.c (__open64_2): Moved to ...
9902 * io/open64_2.c: ... this new file.
9903 * io/openat.c (__openat_2): Moved to ...
9904 * io/openat_2.c: ... this new file.
9905 * io/openat64.c (__openat64_2): Moved to ...
9906 * io/openat64_2.c: ... this new file.
9907 * io/Makefile (routines): Add them.
9908 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9909 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9910 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9911 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9912 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9913 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9914 (__openat64): Add hidden_ver.
9915 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9916 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9917
60bfd54c
RM
9918 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9919 Separately conditionalize setting of GLRO(dl_sysinfo) so
9920 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9921 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9922
83e7640f
AZ
99232013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9924
9925 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9926 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9927 definition.
9928 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9929 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9930 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9931 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9932 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9933
d5dc2af3
JM
99342013-05-03 Joseph Myers <joseph@codesourcery.com>
9935
c31a5b1e
JM
9936 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9937 test signgam value.
9938
d5dc2af3
JM
9939 * math/libm-test.inc (hypot_test): Do not use
9940 IGNORE_ZERO_INF_SIGN.
9941
164fd39d
AJ
99422013-05-03 Andreas Jaeger <aj@suse.de>
9943
9944 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9945 Linux 3.9.
9946 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9947 (PF_MAX): Adjust for VSOCK change.
9948
8237f48c
AZ
99492013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9950
9951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9952
9df02941
CD
99532013-05-02 Carlos O'Donell <carlos@redhat.com>
9954
9955 [BZ #15264]
9956 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9957 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9958 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9959
d422395e
DM
99602013-05-02 David S. Miller <davem@davemloft.net>
9961
9962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9963
a07c5731
OB
99642013-05-01 Ondřej Bílka <neleai@seznam.cz>
9965
9966 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9967
1324e37f
RM
99682013-05-01 Roland McGrath <roland@hack.frob.com>
9969
9970 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9971
0695940b
RS
99722013-05-01 Richard Smith <richard@metafoo.co.uk>
9973
bb5f27ad 9974 [BZ #14952]
0695940b
RS
9975 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9976 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9977 Use __attribute__ ((__gnu_inline__)).
9978 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9979 Don't use __attribute__ ((__gnu_inline__)).
9980
10de07f5
JM
99812013-05-01 Joseph Myers <joseph@codesourcery.com>
9982
9983 [BZ #15423]
9984 * math/s_catan.c (__catan): Handle small real or imaginary part of
9985 input specially to avoid spurious underflow.
9986 * math/s_catanf.c (__catanf): Likewise.
9987 * math/s_catanh.c (__catanh): Likewise.
9988 * math/s_catanhf.c (__catanhf): Likewise.
9989 * math/s_catanhl.c (__catanhl): Likewise.
9990 * math/s_catanl.c (__catanl): Likewise.
9991 * math/libm-test.inc (catan_test): Add more tests.
9992 (catanh_test): Likewise.
9993 * sysdeps/i386/fpu/libm-test-ulps: Update.
9994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9995
cb4d5414
AZ
99962013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9997
9998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9999
caf84319
JM
100002013-04-30 Joseph Myers <joseph@codesourcery.com>
10001
10002 [BZ #15416]
10003 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10004 accurately for denominator in atan2.
10005 * math/s_catanf.c (__catanf): Likewise.
10006 * math/s_catanh.c (__catanh): Likewise.
10007 * math/s_catanhf.c (__catanhf): Likewise.
10008 * math/s_catanhl.c (__catanhl): Likewise.
10009 * math/s_catanl.c (__catanl): Likewise.
10010 * math/libm-test.inc (catan_test): Add more tests.
10011 (catanh_test): Likewise.
10012 * sysdeps/i386/fpu/libm-test-ulps: Update.
10013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10014
d569c6ee
SP
100152013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10016
6dbe713d
SP
10017 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10018
f0ee064b
SP
10019 * benchtests/Makefile (bench): Remove slow benchmarks.
10020 * benchtests/atan-inputs: Add slow benchmark inputs.
10021 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10022 (BENCH_FUNC): Accept variant offset.
10023 (VARIANT): Define.
10024 * benchtests/bench-skeleton.c (main): Run benchmark for each
10025 variant.
10026 * benchtests/cos-inputs: Add slow benchmark inputs.
10027 * benchtests/exp-inputs: Likewise.
10028 * benchtests/pow-inputs: Likewise.
10029 * benchtests/sin-inputs: Likewise.
10030 * benchtests/slowatan-inputs: Remove.
10031 * benchtests/slowatan.c: Remove.
10032 * benchtests/slowcos-inputs: Remove.
10033 * benchtests/slowcos.c: Remove.
10034 * benchtests/slowexp-inputs: Remove.
10035 * benchtests/slowexp.c: Remove.
10036 * benchtests/slowpow-inputs: Remove.
10037 * benchtests/slowpow.c: Remove.
10038 * benchtests/slowsin-inputs: Remove.
10039 * benchtests/slowsin.c: Remove.
10040 * benchtests/slowtan-inputs: Remove.
10041 * benchtests/slowtan.c: Remove.
10042 * benchtests/tan-inputs: Add slow benchmark inputs.
10043 * scripts/bench.pl: Parse comments and directives.
10044
d569c6ee
SP
10045 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10046 in CPPFLAGS.
10047 ($(objpfx)bench-%.c): Remove *-ITER.
10048 * benchtests/bench-modf.c: Remove definition of ITER.
10049 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10050 (main): Loop for DURATION seconds instead of fixed number of
10051 iterations.
10052 * scripts/bench.pl: Don't expect iterations in parameters.
10053
a6a242fe
RM
100542013-04-29 Roland McGrath <roland@hack.frob.com>
10055
10056 * io/fchdir.c (__fchdir): Renamed from fchdir.
10057 (fchdir): Define as weak alias.
10058
f2da7793
JM
100592013-04-29 Joseph Myers <joseph@codesourcery.com>
10060
10061 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10062 (ERRNO_EDOM): Likewise.
10063 (ERRNO_ERANGE): Likewise.
10064 (noErrnoTests): New variable.
10065 (init_max_error): Set errno to 0.
10066 (test_single_errno): New function.
10067 (test_errno): Likewise.
10068 (check_float_internal): Call test_errno. Set errno to 0.
10069 (check_complex): Refer to errno tests in comment.
10070 (check_int): Call test_errno. Set errno to 0.
10071 (check_long): Likewise.
10072 (check_bool): Likewise.
10073 (check_longlong): Likewise.
10074 (cos_test): Use ERRNO_* flags for errno tests instead of
10075 check_int.
10076 (expm1_test): Likewise.
10077 (fmod_test): Likewise.
10078 (ilogb_test): Likewise.
10079 (lgamma_test): Likewise.
10080 (pow_test): Likewise.
10081 (remainder_test): Likewise.
10082 (sin_test): Likewise.
10083 (tan_test): Likewise.
10084 (yn_test): Likewise.
10085 (initialize): Set errno to 0.
10086 (main): Print number of errno tests.
10087 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10088
b1a36ceb
AJ
100892013-04-29 Andreas Jaeger <aj@suse.de>
10090
c3ed8088
AJ
10091 [BZ #15084]
10092 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10093 and RES_USEVC.
10094
f1a24198
AJ
10095 [BZ #15085]
10096 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10097 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10098 unimplemented.
10099
9ce3b2cb
AJ
10100 [BZ #15380]
10101 * stdlib/random.c (__initstate): Return NULL if
10102 __initstate fails.
10103
f1a24198 10104 [BZ #15086]
b1a36ceb
AJ
10105 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10106 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10107 RES_SNGLKUPREOP.
10108
7e7b6f36
AZ
101092013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10110
10111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10112
4d14f449
JM
101132013-04-29 Joseph Myers <joseph@codesourcery.com>
10114
10115 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10116 of individual tests.
10117 (casin_test): Likewise.
10118 (casinh_test): Likewise.
10119
5b4217d7
JM
101202013-04-27 Joseph Myers <joseph@codesourcery.com>
10121
10122 [BZ #15409]
10123 * math/s_catan.c (__catan): Handle arguments with large real or
10124 imaginary part separately without squaring.
10125 * math/s_catanf.c (__catanf): Likewise.
10126 * math/s_catanh.c (__catanh): Likewise.
10127 * math/s_catanhf.c (__catanhf): Likewise.
10128 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10129 and redefine.
10130 (__catanhl): Handle arguments with large real or imaginary part
10131 separately without squaring.
10132 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10133 and redefine.
10134 (__catanl): Handle arguments with large real or imaginary part
10135 separately without squaring.
10136 * math/libm-test.inc (catan_test): Add more tests.
10137 (catanh_test): Likewise.
10138 * sysdeps/i386/fpu/libm-test-ulps: Update.
10139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10140
4220c3ef
AJ
101412013-04-27 Andreas Jaeger <aj@suse.de>
10142
10143 [BZ #15007]
10144 * stdlib/stdlib.h: Update guards for qecvt.
10145 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10146 <stdlib.h>.
10147
4721b2d1
AM
101482013-04-27 Allan McRae <allan@archlinux.org>
10149
10150 * sysdeps/i386/fpu/libm-test-ulps: Update.
10151
f0302940
JM
101522013-04-26 Joseph Myers <joseph@codesourcery.com>
10153
9457fd95
JM
10154 [BZ #15406]
10155 * math/s_catan.c: Include <float.h>.
10156 (__catan): Ensure underflow exception occurs for underflowed
10157 result.
10158 * math/s_catanf.c: Include <float.h>.
10159 (__catanf): Ensure underflow exception occurs for underflowed
10160 result.
10161 * math/s_catanh.c: Include <float.h>.
10162 (__catanh): Ensure underflow exception occurs for underflowed
10163 result.
10164 * math/s_catanhf.c: Include <float.h>.
10165 (__catanhf): Ensure underflow exception occurs for underflowed
10166 result.
10167 * math/s_catanhl.c: Include <float.h>.
10168 (__catanhl): Ensure underflow exception occurs for underflowed
10169 result.
10170 * math/s_catanl.c: Include <float.h>.
10171 (__catanl): Ensure underflow exception occurs for underflowed
10172 result.
10173 * math/libm-test.inc (catan_test): Add more tests.
10174 (catanh_test): Likewise.
10175
f0302940
JM
10176 [BZ #15405]
10177 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10178 underflowed result.
10179 * math/s_ccoshf.c (__ccoshf): Likewise.
10180 * math/s_ccoshl.c (__ccoshl): Likewise.
10181 * math/s_csin.c (__csin): Likewise.
10182 * math/s_csinf.c (__csinf): Likewise.
10183 * math/s_csinh.c (__csinh): Likewise.
10184 * math/s_csinhf.c (__csinhf): Likewise.
10185 * math/s_csinhl.c (__csinhl): Likewise.
10186 * math/s_csinl.c (__csinl): Likewise.
10187 * math/libm-test.inc (ccos_test): Add more tests.
10188 (ccosh_test): Likewise.
10189 (csin_test): Likewise.
10190 (csinh_test): Likewise.
10191
aa630f59
AZ
101922013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10193
10194 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10195 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10196 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10197 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10198 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10199 powerpc/power5+/fpu folders.
10200 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10201
10202
1b835983
MT
102032013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10204
10205 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10206
73709b26
JM
102072013-04-25 Joseph Myers <joseph@codesourcery.com>
10208
10209 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10210 additions to variable.
10211 [$(config-machine) = x86_64] (modules-names): Likewise.
10212 ($(objpfx)tst-audit3): Remove dependency.
10213 ($(objpfx)tst-audit3.out): Likewise.
10214 ($(objpfx)tst-audit4): Likewise.
10215 ($(objpfx)tst-audit4.out): Likewise.
10216 ($(objpfx)tst-audit5): Likewise.
10217 ($(objpfx)tst-audit5.out): Likewise.
10218 ($(objpfx)tst-audit6): Likewise.
10219 ($(objpfx)tst-audit6.out): Likewise.
10220 ($(objpfx)tst-audit7): Likewise.
10221 ($(objpfx)tst-audit7.out): Likewise.
10222 (tst-audit3-ENV): Remove variable.
10223 (tst-audit4-ENV): Likewise.
10224 (tst-audit5-ENV): Likewise.
10225 (tst-audit6-ENV): Likewise.
10226 (tst-audit7-ENV): Likewise.
10227 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10228 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10229 addition to variable.
10230 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10231 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10232 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10233 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10234 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10235 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10236 tst-audit3, tst-audit4 and tst-audit5.
10237 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10238 tst-audit6 and tst-audit7.
10239 [$(subdir) = elf] (modules-names): Add audit modules for those
10240 tests.
10241 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10242 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10243 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10244 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10245 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10246 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10247 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10248 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10249 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10250 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10251 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10252 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10253 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10254 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10255 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10256 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10257 Likewise.
10258 [$(subdir) = elf && $(config-cflags-avx) = yes]
10259 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10260 [$(subdir) = elf && $(config-cflags-avx) = yes]
10261 (CFLAGS-tst-auditmod4a.c): Likewise.
10262 [$(subdir) = elf && $(config-cflags-avx) = yes]
10263 (CFLAGS-tst-auditmod4b.c): Likewise.
10264 [$(subdir) = elf && $(config-cflags-avx) = yes]
10265 (CFLAGS-tst-auditmod6b.c): Likewise.
10266 [$(subdir) = elf && $(config-cflags-avx) = yes]
10267 (CFLAGS-tst-auditmod6c.c): Likewise.
10268 [$(subdir) = elf && $(config-cflags-avx) = yes]
10269 (CFLAGS-tst-auditmod7b.c): Likewise.
10270 * elf/tst-audit3.c: Move to ...
10271 * sysdeps/x86_64/tst-audit3.c: ... here.
10272 * elf/tst-audit4.c: Move to ...
10273 * sysdeps/x86_64/tst-audit4.c: ... here.
10274 * elf/tst-audit5.c: Move to ...
10275 * sysdeps/x86_64/tst-audit5.c: ... here.
10276 * elf/tst-audit6.c: Move to ...
10277 * sysdeps/x86_64/tst-audit6.c: ... here.
10278 * elf/tst-audit7.c: Move to ...
10279 * sysdeps/x86_64/tst-audit7.c: ... here.
10280 * elf/tst-auditmod3a.c: Move to ...
10281 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10282 * elf/tst-auditmod3b.c: Move to ...
10283 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10284 * elf/tst-auditmod4a.c: Move to ...
10285 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10286 * elf/tst-auditmod4b.c: Move to ...
10287 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10288 * elf/tst-auditmod5a.c: Move to ...
10289 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10290 * elf/tst-auditmod5b.c: Move to ...
10291 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10292 * elf/tst-auditmod6a.c: Move to ...
10293 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10294 * elf/tst-auditmod6b.c: Move to ...
10295 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10296 * elf/tst-auditmod6c.c: Move to ...
10297 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10298 * elf/tst-auditmod7a.c: Move to ...
10299 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10300 * elf/tst-auditmod7b.c: Move to ...
10301 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10302
1ef74943
PP
103032013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10304
10305 [BZ #15366]
10306 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10307 define unconditionally.
10308 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10309 define unconditionally.
10310 (INT8_C, INT16_C, etc.): Likewise.
10311
93fd48c5
MR
103122013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10313
ae9552cf
MR
10314 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10315 __ehdr_start with hidden visibility.
10316
93fd48c5
MR
10317 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10318
418601aa
CD
103192013-04-24 Carlos O'Donell <carlos@redhat.com>
10320
10321 * math/libm-test.inc (cos_test): Use accurate hex constants.
10322 (sincost_test): Likewise.
10323
2f38fbfe
JM
103242013-04-24 Joseph Myers <joseph@codesourcery.com>
10325
5e221800
JM
10326 * math/libm-test.inc (catan_test): Add more tests.
10327 (catanh_test): Likewise.
10328
77f143fd
JM
10329 * math/s_catanf.c (__catanf): Use suffixed floating-point
10330 constants.
10331 * math/s_catanhf.c (__catanhf): Likewise.
10332 * math/s_catanhl.c (__catanhl): Likewise.
10333 * math/s_catanl.c (__catanl): Likewise.
10334
2f38fbfe
JM
10335 [BZ #15394]
10336 * math/s_catan.c (__catan): Calculate imaginary part of result
10337 with log1p not log unless computing log of number close to 0.
10338 * math/s_catanf.c (__catanf): Likewise.
10339 * math/s_catanl.c (__catanl): Likewise.
10340 * math/s_catanh.c (__catanh): Calculate real part of result with
10341 log1p not log unless computing log of number close to 0.
10342 * math/s_catanhf.c (__catanhf): Likewise.
10343 * math/s_catanhl.c (__catanhl): Likewise.
10344 * math/libm-test.inc (catan_test): Add more tests.
10345 (catanh_test): Likewise.
10346 * sysdeps/i386/fpu/libm-test-ulps: Update.
10347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10348
45d69176
SP
103492013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10350
10351 * benchtests/Makefile: Mention files in which fast and slow
10352 paths of math functions are implemented.
10353
87f51853
RM
103542013-04-23 Roland McGrath <roland@hack.frob.com>
10355
10356 * sysdeps/posix/timespec_get.c: New file.
10357
3c026539
AZ
103582013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10359
10360 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10361 POWER.
10362 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10363 for POWER.
10364 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10365 powerpc/power5/fpu folders.
10366 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10367 * benchtests/Makefile: Add modf testcase.
10368 * benchtests/bench-modf.c: New file: Benchmark test for mo
10369
ff491d14
SP
103702013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10371
10372 [BZ #14888]
10373 * time/Makefile (tests): Add tst-strptime-whitespace.
10374 * time/strptime_l.c (get_number): Use ISSPACE.
10375 (__strptime_internal): Likewise.
10376 * time/tst-strptime-whitespace.c: New test case.
10377
7ed3f4e8
AS
103782013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10379
10380 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10381 member.
10382 (_nss_files_init): Set it here.
10383
5c95f7b6
HC
103842013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10385
10386 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10387 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10388 unsigned.
10389
d34c9158
JBG
103902013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10391
10392 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10393
2169712d
SP
103942013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10395
10396 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10397 size just once.
10398
29c5de99
DM
103992013-04-21 David S. Miller <davem@davemloft.net>
10400
10401 * po/ru.po: Update Russion translation from translation project.
10402
ccdad15d
AC
104032013-04-17 Adam Conrad <adconrad@0c3.net>
10404
10405 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10406 and setfsgid.
10407
0f122b8d
CD
104082013-04-17 Carlos O'Donell <carlos@redhat.com>
10409
5c5b07da 10410 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 10411 * configure: Regenerate.
5c5b07da 10412 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
10413 Add example to error message.
10414 * sysdeps/i386/configure: Regenerate.
10415
037714dd
SP
104162013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10417
10418 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10419 slowtan.
10420 * benchtests/cos-inputs: New file.
10421 * benchtests/slowcos-inputs: New file.
10422 * benchtests/slowcos.c: New file.
10423 * benchtests/slowtan-inputs: New file.
10424 * benchtests/slowtan.c: New file.
10425 * benchtests/tan-inputs: New file.
10426
e913141d
RM
104272013-04-16 Roland McGrath <roland@hack.frob.com>
10428
10429 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10430 considered kosher.
10431
a2964074
SP
104322013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10433
4856bcd2
SP
10434 * benchtests/Makefile: Include cppflags-iterator.mk to add
10435 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10436
a2964074
SP
10437 * Makefile.in (bench-clean): New target.
10438 * benchtests/Makefile (bench-clean): Likewise.
10439
9fbf9aca
DH
104402013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10441
10442 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10443
207d1e2a
TS
104442013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10445
10446 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10447
306dfba9
AS
104482013-04-15 Andreas Schwab <schwab@suse.de>
10449
10450 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10451 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10452 * nscd/pwdcache.c (cache_addpw): Likewise.
10453 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10454 more than recsize.
10455
206a6699
SP
104562013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10457
10458 * benchtests/Makefile (bench): Write all output to
10459 bench-out.tmp together.
10460
0582f6b3
AS
104612013-04-15 Andreas Schwab <schwab@suse.de>
10462
10463 * nscd/nscd.c (main): Don't fork again after closing files.
10464
acb4325f
SP
104652013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10466
5cb26d0a
SP
10467 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10468
acb4325f
SP
10469 * benchtests/Rules (bench-deps): Collect dependencies into a
10470 single variable. Add Makefile to dependencies.
10471 ($(objpfx)bench-%.c): Depend on bench-deps.
10472
47792506
RM
104732013-04-12 Roland McGrath <roland@hack.frob.com>
10474 Xavier Roche <roche+kml2@exalead.com>
10475
10476 [BZ #15361]
10477 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10478 just that it's a file descriptor.
10479 * manual/llio.texi (Synchronizing AIO Operations): Update description
10480 for EBADF error from aio_fsync.
10481
8fc1bee5
SP
104822013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10483
10484 * Rules (bench): Move target definition...
10485 * benchtests/Makefile: ... here.
10486
aba5e333
CD
104872013-04-11 Carlos O'Donell <carlos@redhat.com>
10488
10489 * math/libm-test.inc (cos_test): Fix PI/2 test.
10490 (sincos_test): Likewise.
10491 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10492 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10493
273cdee8
AS
104942013-04-11 Andreas Schwab <schwab@suse.de>
10495
6ecec3b6
AS
10496 [BZ #13988]
10497 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10498 accept exponent character only when digits were seen.
10499 * stdio-common/Makefile (tests): Add bug26.
10500 * stdio-common/bug26.c: New file.
10501
273cdee8
AS
10502 [BZ #14293]
10503 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10504 non-freeable.
10505
8da491f5
SP
105062013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10507
01dc6df9
SP
10508 * Makeconfig (rtld-prefix): Define built linker prefix.
10509 * Rules (run-bench): Use it.
10510 * math/Makefile (run-regen-ulps): Likewise.
10511
8da491f5
SP
10512 * Rules (bench): Remove eval.
10513
abe7f530
SP
105142013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10515 Roland McGrath <roland@hack.frob.com>
10516 Ondrej Bilka <neleai@seznam.cz>
10517
10518 [BZ #15346]
10519 * time/getdate.c: Include ctype.h and alloca.h.
10520 (__getdate_r): Trim leading and trailing spaces of input.
10521 * time/tst-getdate.c (tests): Add tests with leading and
10522 trailing spaces.
10523
61c23e62
RM
105242013-04-08 Roland McGrath <roland@hack.frob.com>
10525
10526 [BZ #14280]
10527 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10528 when computing value.
10529
7208a313
CD
105302013-04-06 Carlos O'Donell <carlos@redhat.com>
10531
085b2d41
CD
10532 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10533 Use testrun.sh to run libm tests.
10534
7208a313
CD
10535 [BZ #15309]
10536 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10537
872c0acd
MM
105382013-04-06 Marko Myllynen <myllynen@redhat.com>
10539
10540 [BZ #15264]
10541 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10542
26510bdd
CD
105432013-04-06 Carlos O'Donell <carlos@redhat.com>
10544
10545 * Makefile.in (regen-ulps): New target.
10546 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10547 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10548 [ifneq (no,$(PERL)] (regen-ulps): New target.
10549 [ifeq (no,$(PERL)] (regen-ulps): New target.
10550 * math/libm-test.inc (ulps_file_name): Define.
10551 (output_dir): New variable.
10552 (options): Add "output-dir" option.
10553 (parse_opt): Handle 'o' case.
10554 (main): If output_dir is non-NULL use it as a prefix
10555 otherwise use "".
10556 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10557
a01f19c8
CD
105582013-04-06 Carlos O'Donell <carlos@redhat.com>
10559
10560 [BZ #10060, #10062]
10561 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10562 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10563 fail configure if __sync_val_compare_and_swap is not inlined.
10564 * sysdeps/i386/configure: Regenerate.
10565 * configure.in: Build for i686 when configured for i386.
10566 * configure: Regenerate.
10567 * README: Remove i386 reference.
10568
b7a329a5
CD
105692013-04-06 Carlos O'Donell <carlos@redhat.com>
10570
10571 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10572 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10573
bf0f50df
TS
105742013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10575
ee091edf
TS
10576 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10577 (lmsnanval): New variables.
10578 (F): Add conversion tests.
10579 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10580 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10581
a8b792d6
TS
10582 * stdio-common/tstdiomisc.c (F): Properly collect individual
10583 tests' results.
10584
a1cbf437
TS
10585 [BZ #14686, #15336]
10586 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10587 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10588 Instead, use input NaN values or generate a qNaN by arithmetic
10589 operation. Also fix bugs to comply with the standard.
10590 * math/libm-test.inc (remainder_test): Add more tests.
10591
8b43a0c9
TS
10592 [BZ #15335, #15342]
10593 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10594 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10595 input NaN values or generate a qNaN by arithmetic operation.
10596
d91da4ce
TS
10597 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10598 unreachable code.
10599
bf0f50df
TS
10600 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10601 definitions.
10602
05e166c8
JM
106032013-04-03 Joseph Myers <joseph@codesourcery.com>
10604
10605 [BZ #14478]
10606 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10607 underflowed result.
10608 * math/s_cexpf.c (__cexpf): Likewise.
10609 * math/s_cexpl.c (__cexpl): Likewise.
10610 * math/libm-test.inc (cexp_test): Add more tests.
10611
1cef1b19
AS
106122013-04-03 Andreas Schwab <schwab@suse.de>
10613
10614 [BZ #15330]
10615 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10616 order arrays from heap if bigger than alloca cutoff.
10617
74d87055
TS
106182013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10619
10620 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10621 (SNAN_TESTS_double): Refer to GCC PR56831.
10622 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10623 GCC PR56828.
10624
d755bba4
SP
106252013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10626
90d5d5bb
SP
10627 * Rules (bench): Move bench.out after the run is complete.
10628
73e0cd5d
SP
10629 * Rules (bench): Echo currently running benchmark.
10630
64aabd4b
SP
10631 * benchtests/Makefile (bench): Add atan and slowatan.
10632 * benchtests/atan-inputs: New file.
10633 * benchtests/slowatan-inputs: New file.
10634 * benchtests/slowatan.c: New file.
10635
c871eccd
SP
10636 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10637 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10638 its value.
10639
d755bba4
SP
10640 [BZ #15305]
10641 * sysdeps/unix/sysv/linux/kernel-features.h
10642 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10643 __ASSUME_XFS_RESTRICTED_CHOWN.
10644 * sysdeps/unix/sysv/linux/pathconf.c
10645 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10646 Save and restore errno.
10647
52ce4860
JM
106482013-04-02 Joseph Myers <joseph@codesourcery.com>
10649
10650 [BZ #15327]
10651 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10652 arguments using __kernel_casinh.
10653 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10654 arguments using __kernel_casinhf.
10655 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10656 arguments using __kernel_casinhl.
10657 * math/libm-test.inc (cacosh_test): Add more tests.
10658 * sysdeps/i386/fpu/libm-test-ulps: Update.
10659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10660
81f311c2
SP
106612013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10662
e7906a47
SP
10663 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10664 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10665
92e3664b
SP
10666 * bench/Makefile (bench): Add sin and slowsin.
10667 * benchtests/sin-inputs: New file.
10668 * benchtests/slowsin-inputs: New file.
10669 * benchtests/slowsin.c: New file.
10670
81f311c2
SP
10671 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10672 (bench): Add slowexp and slowpow.
10673 (exp-ITER): Increase iterations.
10674 (pow-ITER): Likewise.
10675 * benchtests/exp-inputs: Change input.
10676 * benchtests/pow-inputs: Likewise.
10677 * benchtests/slowexp-inputs: New file.
10678 * benchtests/slowexp.c: New file.
10679 * benchtests/slowpow-inputs: New file.
10680 * benchtests/slowpow.c: New file.
10681
ab0f1aa9
AZ
106822013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10683
10684 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10685 instructions.
10686 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10687 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10688 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10689 * benchtests/Makefile: Add rint benchtest.
10690 * benchtests/rint-inputs: Input for rint benchtest.
10691
57267616
TS
106922013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10693
10694 * Versions.def (libm): Add GLIBC_2.18.
10695 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10696 hidden libm prototypes.
10697 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10698 * math/Makefile (libm-calls): Add s_issignaling.
10699 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10700 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10701 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10702 declaration.
10703 * math/math.h [__USE_GNU] (issignaling): New macro.
10704 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10705 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10706 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10707 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10708 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10709 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10710 * manual/arith.texi (issignaling): New section.
10711 * manual/libm-err-tab.pl (@all_functions): Update comment.
10712 * math/gen-libm-test.pl (parse_args): Apply special handling for
10713 issignaling.
10714 * math/libm-test.inc (print_float, issignaling_test): New
10715 functions.
10716 (check_float_internal): Add issignaling checks.
10717 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10718 default definition.
10719 * sysdeps/powerpc/math-tests.h: New file.
10720 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10721 tests.
10722 * math/test-snan.c (TEST_FUNC): Likewise.
10723
6142896d
DM
107242013-03-30 David S. Miller <davem@davemloft.net>
10725
10726 * po/de.po: Update from translation team.
10727
ccc8cadf
JM
107282013-03-30 Joseph Myers <joseph@codesourcery.com>
10729
10730 [BZ #10357]
10731 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10732 imaginary part less than 1.0 and real part less than 0.5
10733 specially.
10734 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10735 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10736 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10737 (cacos_test): Add more tests.
10738 (casin_test): Likewise.
10739 (casinh_test): Likewise.
10740 * sysdeps/i386/fpu/libm-test-ulps: Update.
10741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10742
0f6a8d4b
SP
107432013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10744
0d1029de
SP
10745 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10746 ONE with its value.
10747
c2d94018
SP
10748 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10749 (__pow_mp): Replace ONE and MONE with their values.
10750 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10751 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10752 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10753 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10754 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10755 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10756
27ec37f1
SP
10757 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10758
a64d7e0e
SP
10759 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10760 (__pow_mp): Replace ZERO and MZERO with their values.
10761 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10762 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10763 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10764 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10765 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10766 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10767 (__sqr): Likewise.
10768
d26dd3eb
SP
10769 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10770
0f6a8d4b
SP
10771 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10772
e57b0c61
RM
107732013-03-28 Roland McGrath <roland@hack.frob.com>
10774
10775 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10776 Declare with __attribute__ ((weak)).
10777 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10778 Call __call_tls_dtors only if it's not NULL.
10779
356b3480
RM
107802013-03-28 Roland McGrath <roland@hack.frob.com>
10781
288f7d79
RM
10782 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10783 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10784 magic __ehdr_start linker symbol if it's defined.
10785 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10786 them up here if it was already done.
10787
dc0a0263
RM
10788 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10789 (_dl_aux_init): Use const in cast when setting it.
10790 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10791 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10792 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10793
3d3436ae
RM
10794 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10795 Declare them here.
10796 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10797 * csu/libc-tls.c: Nor here.
10798 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10799
356b3480
RM
10800 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10801 (__libc_message): Never call vsyslog.
10802
b0f1246a
AM
108032013-03-28 Alan Modra <amodra@gmail.com>
10804
10805 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10806 Define as empty.
10807 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10808 Likewise.
10809
fbbe2b9a
AZ
108102013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10811
10812 [BZ #15214]
10813 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10814 underflow.
10815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10816
1728ab37
SP
108172013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10818
7a86be6e
SP
10819 [BZ #15304]
10820 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10821 Don't add gid passed as argument.
10822
1728ab37
SP
10823 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10824
3a7182a1
JM
108252013-03-27 Joseph Myers <joseph@codesourcery.com>
10826
10827 [BZ #15307]
10828 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10829 imaginary part between 1.0 and 1.5 and real part less than 0.5
10830 specially.
10831 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10832 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10833 * math/libm-test.inc (cacos_test): Add more tests.
10834 (casin_test): Likewise.
10835 (casinh_test): Likewise.
10836 * sysdeps/i386/fpu/libm-test-ulps: Update.
10837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10838
6f2e90e7
SP
108392013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10840
5739f705
SP
10841 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10842 constants.
10843 (norm): Likewise.
10844 (denorm): Likewise.
10845 (__dbl_mp): Likewise.
10846 (add_magnitudes): Likewise.
10847 (sub_magnitudes): Likewise.
10848 (__add): Likewise.
10849 (__sub): Likewise.
10850 (__mul): Likewise.
10851 (__sqr): Likewise.
10852 (__inv): Likewise.
10853 (__dvd): Likewise.
10854
e375e83d
SP
10855 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10856 commented code.
10857 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10858 (__dubcos): Likewise.
10859 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10860 (__ieee754_acos): Likewise.
10861 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10862 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10863 (__exp1): Likewise.
10864 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10865 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10866 (log1): Likewise.
10867 (my_log2): Likewise.
10868 (checkint): Likewise.
10869 * sysdeps/ieee754/dbl-64/e_remainder.c
10870 (__ieee754_remainder): Likewise.
10871 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10872 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10873 (bsloww): Likewise.
10874 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10875
6f2e90e7
SP
10876 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10877 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10878 MANTISSA_STORE_T to store computations on mantissa. Use
10879 macros for rounding and division.
10880 (denorm): Likewise.
10881 (__dbl_mp): Likewise.
10882 (add_magnitudes): Likewise.
10883 (sub_magnitudes): Likewise.
10884 (__mul): Likewise.
10885 (__sqr): Likewise.
10886 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10887 powers of two in terms of TWOPOW macro.
10888 (mp_no): Make type of mantissa as MANTISSA_T.
10889 [!RADIXI]: Define RADIXI.
10890 [!TWO52]: Define TWO52.
10891 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10892
fce14d4e
AZ
108932013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10894
10895 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10896 llroundl symbol when building for PPC32.
10897
9ad027fb
MW
108982013-03-24 Mark H Weaver <mhw@netris.org>
10899
10900 * manual/arith.texi (Normalization Functions): Fix prototypes for
10901 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10902
e42a38dd
AZ
109032013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10904
10905 [BZ #13889]
10906 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10907 high value to check if expl overflow.
10908 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10909 to check for underflow and overflow.
10910 * math/libm-test.inc: Add exp test.
10911
2e0fb521
DL
109122013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10913
10914 [BZ #11120]
10915 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10916 with NOT_IN_libc.
10917
b5784d95
AZ
109182013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10919
10920 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10921 symbol.
10922
5aa4a1a1
TS
109232013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10924
bdef0be7
TS
10925 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10926 wrap blocks consisting of several statements.
10927
5aa4a1a1
TS
10928 * sysdeps/generic/math-tests.h: New file.
10929 * sysdeps/i386/fpu/math-tests.h: Likewise.
10930 * math/test-snan.c: Include it.
10931 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10932
98c48fe5
JM
109332013-03-21 Joseph Myers <joseph@codesourcery.com>
10934
10935 [BZ #15285]
10936 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10937 (__ieee754_j0l): Do not improve calculations using cos of twice
10938 input for inputs above LDBL_MAX / 2.0L.
10939 (__ieee754_y0l): Likewise.
10940 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10941 (__ieee754_j1l): Do not improve calculations using cos of twice
10942 input for inputs above LDBL_MAX / 2.0L.
10943 (__ieee754_y1l): Likewise.
10944 * math/libm-test.inc (j0_test): Add another test.
10945 (j1_test): Likewise.
10946 (y0_test): Likewise.
10947 (y1_test): Likewise.
10948 * sysdeps/i386/fpu/libm-test-ulps: Update.
10949
3775a8bc
SP
109502013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10951
10952 * Rules ($(objpfx)bench-%.c): Include code from a C source
10953 file.
10954
0a1b2ae6
JM
109552013-03-21 Joseph Myers <joseph@codesourcery.com>
10956
10957 [BZ #15287]
10958 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10959 imaginary part 1.0 and real part less than 0.5 specially.
10960 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10961 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10962 * math/libm-test.inc (cacos_test): Add more tests.
10963 (casin_test): Likewise.
10964 (casinh_test): Likewise.
10965 * sysdeps/i386/fpu/libm-test-ulps: Update.
10966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10967
b33d4ce4
SP
109682013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10969
10970 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10971 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10972
bef0b507
JM
109732013-03-20 Joseph Myers <joseph@codesourcery.com>
10974
10975 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10976 * config.make.in (config-cflags-sse4): Remove variable.
10977 (config-cflags-avx): Likewise.
10978 (config-cflags-sse2avx): Likewise.
10979 (config-cflags-novzeroupper): Likewise.
10980 (config-asflags-i686): Likewise.
10981 (have-mfma4): Likewise.
10982 (have-as-vis3): Likewise.
10983 (MIG): Likewise.
10984 * configure.in (MIG): Do not AC_SUBST.
10985 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10986 (libc_cv_cc_sse4): Do not AC_SUBST.
10987 (libc_cv_cc_avx): Likewise.
10988 (libc_cv_cc_sse2avx): Likewise.
10989 (libc_cv_cc_novzeroupper): Likewise.
10990 (libc_cv_cc_fma4): Likewise.
10991 (libc_cv_as_i686): Likewise.
10992 (libc_cv_sparc_as_vis3): Likewise.
10993 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10994 LIBC_CONFIG_VAR.
10995 (config-asflags-i686): Likewise.
10996 (config-cflags-avx): Likewise.
10997 (config-cflags-sse2avx): Likewise.
10998 (have-mfma4): Likewise.
10999 (config-cflags-novzeroupper): Likewise.
11000 * sysdeps/mach/configure.in (MIG): Likewise.
11001 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11002 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11003 LIBC_CONFIG_VAR.
11004 (config-cflags-avx): Likewise.
11005 (config-cflags-sse2avx): Likewise.
11006 (have-mfma4): Likewise.
11007 (config-cflags-novzeroupper): Likewise.
11008 * configure: Regenerated.
11009 * sysdeps/i386/configure: Likewise.
11010 * sysdeps/mach/configure: Likewise.
11011 * sysdeps/sparc/configure: Likewise.
11012 * sysdeps/x86_64/configure: Likewise.
11013
912cc4b3
RM
110142013-03-20 Roland McGrath <roland@hack.frob.com>
11015
11016 [BZ #14812]
11017 * locale/programs/localedef.c (options): Put N_ translation marker
11018 on argument names, not just descriptions.
11019
04eed2b0
MS
110202013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11021
11022 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11023
a065ceff
OB
110242013-03-20 Ondřej Bílka <neleai@seznam.cz>
11025
9bb2a810 11026 [BZ #14176]
a065ceff
OB
11027 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11028
a600e5ce
RM
110292013-03-19 Roland McGrath <roland@hack.frob.com>
11030
11031 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11032 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11033 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11034 [!BEFORE_ABORT] (before_abort): New function.
11035 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11036 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11037 (writev_for_fatal): New function.
11038 (WRITEV_FOR_FATAL): New macro; call that.
11039 (backtrace_and_maps): New function.
11040 (BEFORE_ABORT): New macro; call that.
11041 (struct str_list): Type removed.
11042 (__libc_message, __libc_fatal): Functions removed.
11043 Include <sysdeps/posix/libc_fatal.c> instead.
11044
6b18bea6
JM
110452013-03-19 Joseph Myers <joseph@codesourcery.com>
11046
11047 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11048 constants.
11049 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11050 double constants.
11051
aaa8cb4b
AS
110522013-03-19 Andreas Schwab <schwab@suse.de>
11053
44673770
AS
11054 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11055 * sysdeps/gnu/configure: Regenerate.
11056
aaa8cb4b
AS
11057 * configure.in: Substitute libc_cv_rtlddir.
11058 * configure: Regenerate.
11059 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11060 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11061 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11062 * elf/Makefile (install-others, CFLAGS-interp.c)
11063 (ldso_install, common-ldd-rewrite): Likewise.
11064 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11065 $(inst_slibdir)/$(rtld-installed-name).
11066 * scripts/rellns-sh: Add -p option.
11067 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11068 for source.
11069
d3cfc668
SP
110702013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11071
11072 * manual/nptl.texi: Renamed to ...
11073 * manual/threads.texi: ... this.
11074 * manual/Makefile (chapters): Update.
11075
0e2b9cdd
RM
110762013-03-18 Roland McGrath <roland@hack.frob.com>
11077
11078 [BZ #14812]
11079 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11080 on argument names, not just descriptions.
0e2b9cdd
RM
11081 * malloc/memusagestat.c (options): Likewise.
11082 * nss/getent.c (options): Likewise.
63270c24
RM
11083
110842013-03-18 Benno Schulenberg <bensberg@justemail.net>
11085
11086 [BZ #14812]
11087 * iconv/iconv_prog.c (options): Put N_ translation marker
11088 on argument names, not just descriptions.
11089 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 11090
b2e1393c
OB
110912013-03-18 Ondrej Bilka <neleai@seznam.cz>
11092
11093 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11094 implementation which is faster on all x86_64 architectures.
11095 Tested on AMD, Intel Nehalem, SNB, IVB.
11096 * sysdeps/x86_64/strnlen.S: Likewise.
11097
11098 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11099 Remove all multiarch strlen and strnlen versions.
11100 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11101 Remove strlen and strnlen related parts.
11102
11103 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11104 Inline strlen part.
11105 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11106
11107 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11108 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11109 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11110 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11111 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11112 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11113
ec4ff04d
CD
111142013-03-17 Carlos O'Donell <carlos@redhat.com>
11115
11116 * manual/memory.texi (Malloc Tunable Parameters):
11117 Sort parameters alphabetically. Add comments for missing entries.
11118
cd18e90a
DM
111192013-03-17 David S. Miller <davem@davemloft.net>
11120
11121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11122
2a185d32
JM
111232013-03-16 Joseph Myers <joseph@codesourcery.com>
11124
d2f9799e
JM
11125 [BZ #15283]
11126 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11127 for arguments at most half maximum finite value.
11128 * math/libm-test.inc (j0_test): Add more tests.
11129 (j1_test): Likewise.
11130 (y0_test): Likewise.
11131 (y1_test): Likewise.
11132 * sysdeps/i386/fpu/libm-test-ulps: Update.
11133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11134
2a185d32
JM
11135 [BZ #14155]
11136 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11137 1 / x and functions P and Q for arguments above 0x1p256L.
11138 (__ieee754_y0l): Likewise.
11139 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11140 (__ieee754_y1l): Likewise.
11141 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11142 (j1_test): Likewise.
11143 (y0_test): Likewise.
11144 (y1_test): Likewise.
11145
6cbec759
TS
111462013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11147
11148 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11149 variable.
11150
bc16e260
RM
111512013-03-15 Roland McGrath <roland@hack.frob.com>
11152
aefc9b8c
RM
11153 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11154 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11155 zero since it's initialized to EXEC_PAGESIZE.
11156
bc16e260
RM
11157 * sysdeps/unix/sysv/linux/ldsodefs.h
11158 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11159 * sysdeps/generic/ldsodefs.h: ... here.
11160
a57da955
TS
111612013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11162
af00a34d
TS
11163 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11164
495ded2c
TS
11165 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11166 math/test-snan.c.
11167 * math/test-snan.c: Renamed from
11168 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11169 * math/Makefile (tests): Add test-snan.
11170 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11171 test-powerpc-snan.
11172
777b0332
TS
11173 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11174 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11175 functions.
11176 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11177 __builtin_nan family of functions.
11178 * math/libm-test.inc (initialize): Initialize qnan_value with
11179 __builtin_nan family of functions.
11180 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11181 Remove variables.
11182 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11183 Remove functions.
11184 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11185 storage class. Initialize qNaN_var and sNaN_var with
11186 __builtin_nan and __builtin_nans families of functions,
11187 respectively.
11188
64d063b8
TS
11189 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11190 (sqrt_test): Remove duplicate test with qNaN input.
11191 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11192 (round_test, signbit_test, significand_test): Note missing +/-Inf
11193 as well as qNaN tests.
11194
67e971f1
TS
11195 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11196 qNaN_var. Fix a few strings, too.
11197 * math/libm-test.inc (nan_value): Rename to qnan_value.
11198 * math/gen-libm-test.pl (%beautify): Adjust to that.
11199 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11200 * math/test-misc.c (main): Likewise.
11201 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11202 to __qnan_bytes, and __qnan_union, respectively.
11203 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11204 Likewise.
11205 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11206 and lqnanval, respectively.
11207 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11208 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11209 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11210 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11211
64487e12
TS
11212 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11213 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11214 doubles.
11215
e015e27b
TS
11216 * math/test-misc.c (main): Fix copy'n'pastos.
11217 * misc/tst-efgcvt.c (special): Likewise.
11218
a57da955
TS
11219 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11220 Remove declarations.
11221
1e380345
SP
112222013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11223
11224 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11225 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11226 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11227 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11228
ef26eece
AZ
112292013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11230
11231 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11232 macro to return vdso values correctly in IFUNC implementations.
11233 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11234 Optimization by using IFUNC.
11235
8cfdb7e0
SP
112362013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11237 Richard Henderson <rth@redhat.com>
11238 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11239
11240 * Makefile.in (bench): New target.
11241 * NEWS: Mention the benchmark framework.
11242 * Rules (bench): Likewise.
11243 (binaries-bench): Generate binaries for functions to
11244 benchmark.
11245 * benchtests/Makefile: New makefile for benchmark tests.
11246 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11247 programs.
11248 * benchtests/exp-inputs: New input file for EXP function.
11249 * benchtests/pow-inputs: New input file for POW function.
11250 * scripts/bench.pl: New script to generate source files for
11251 benchmark programs.
11252
bcda9880
SP
112532013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11254
d22ca8cd
SP
11255 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11256 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11257 computations on mantissa. Use macros for rounding and
11258 division.
11259 (denorm): Likewise.
11260 (__dbl_mp): Likewise.
11261 (add_magnitudes): Likewise.
11262 (sub_magnitudes): Likewise.
11263 (__mul): Likewise.
11264 (__sqr): Likewise.
11265 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11266 powers of two in terms of TWOPOW macro.
11267 (mp_no): Make type of mantissa as MANTISSA_T.
11268 [!RADIXI]: Define RADIXI.
11269 [!TWO52]: Define TWO52.
11270 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11271
bcda9880
SP
11272 * manual/nptl.texi (cindex): Modify threads to pthreads.
11273
06d5adfb
JM
112742013-03-15 Joseph Myers <joseph@codesourcery.com>
11275
11276 * sysdeps/x86_64/preconfigure: Regenerated.
11277
41c7328e
JM
112782013-03-14 Joseph Myers <joseph@codesourcery.com>
11279
11280 [BZ #14155]
11281 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11282 0x1p28 and above.
11283 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11284 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11285 0x1p28 and above.
11286 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11287 * math/libm-test.inc (j0_test): Do not allow one spurious
11288 underflow exception.
11289 (y1_test): Likewise.
11290
e25cfa60
SP
112912013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11292
0409959c
SP
11293 * manual/Makefile (chapters): Add nptl.
11294 * manual/debug.texi (Debugging Support): Add link to Threads
11295 chapter.
11296 * manual/nptl.texi: New file.
11297
e25cfa60
SP
11298 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11299
58a1335e
PB
113002013-03-14 Petr Baudis <pasky@ucw.cz>
11301
11302 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11303 for non-NULL pointer before the memory validity test. Pointed
11304 out by Holger Brunck <holger.brunck@keymile.com>.
11305
9dc7c64f
AS
113062013-03-13 Andreas Schwab <schwab@suse.de>
11307
11308 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11309 instead of .os.
11310
54206aa6
JM
113112013-03-13 Joseph Myers <joseph@codesourcery.com>
11312
11313 * timezone/zic.c: Update from tzcode 2013b.
11314
e98cdb38
CD
113152013-03-12 Carlos O'Donell <carlos@redhat.com>
11316
11317 * manual/install.texi (Configuring and compiling):
11318 Mention i686 and i586.
11319 * INSTALL: Regenerate.
11320
9967e003
RM
113212013-03-12 Roland McGrath <roland@hack.frob.com>
11322
11323 * sysdeps/init_array/elf-init.c: New file.
11324 * csu/elf-init.c
11325 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11326 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11327
11328 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11329 __gmon_start__ as global, but as static with a .preinit_array pointer.
11330 * sysdeps/init_array/gmon-start.c: New file. Use that.
11331 * sysdeps/init_array/crti.S: New file, empty except for comments.
11332 * sysdeps/init_array/crtn.S: Likewise.
11333
e6b5a293 113342013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
11335
11336 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11337 definining bcopy.
80f844c9
OB
11338 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11339 Remove Prefer_SSE_for_memop.
11340 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11341 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11342 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
11343 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11344 memset-x86-64.
80f844c9 11345 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 11346 Remove bzero, memset ifunc support.
80f844c9
OB
11347 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11348 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11349 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11350 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11351
fb6b0fcb
AS
113522013-03-11 Andreas Schwab <schwab@suse.de>
11353
11354 [BZ #15234]
11355 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11356 by SHLIB_COMPAT.
11357 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11358 (GLIBC_2.16): Remove pthread_atfork.
11359
3e6bd4b1
PP
113602013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11361
11362 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11363 (ptestcases.h): Likewise.
11364
222d7f00
RM
113652013-03-08 Roland McGrath <roland@hack.frob.com>
11366
11367 * Makeconfig ($(common-objpfx)config.status): Depend on
11368 sysdeps/*/preconfigure{,.in} too.
11369
1ba4f030
JM
113702013-03-08 Joseph Myers <joseph@codesourcery.com>
11371
a222d91a
JM
11372 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11373 (__free_hook): Use void * instead of __malloc_ptr_t.
11374 (__malloc_hook): Likewise.
11375 (__realloc_hook): Likewise.
11376 (__memalign_hook): Likewise.
11377 (__after_morecore_hook): Likewise.
11378 * malloc/arena.c (save_malloc_hook): Likewise.
11379 (save_free_hook): Likewise.
11380 * malloc/hooks.c (malloc_hook_ini): Likewise.
11381 (realloc_hook_ini): Likewise.
11382 (memalign_hook_ini): Likewise.
11383 * malloc/malloc.c (malloc_hook_ini): Likewise.
11384 (realloc_hook_ini): Likewise.
11385 (memalign_hook_ini): Likewise.
11386 (__free_hook): Likewise.
11387 (__malloc_hook): Likewise.
11388 (__realloc_hook): Likewise.
11389 (__memalign_hook): Likewise.
11390 (__libc_malloc): Likewise.
11391 (__libc_free): Likewise.
11392 (__libc_realloc): Likewise.
11393 (__libc_memalign): Likewise.
11394 (__libc_valloc): Likewise.
11395 (__libc_pvalloc): Likewise.
11396 (__libc_calloc): Likewise.
11397 (__posix_memalign): Likewise.
11398 * malloc/morecore.c (__sbrk): Likewise.
11399 (__default_morecore): Likewise.
11400
5cc45e10
JM
11401 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11402
dd54b864
JM
11403 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11404 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11405 __malloc_ptrdiff_t.
11406
1ba4f030
JM
11407 * malloc/malloc.h (__malloc_size_t): Remove macro.
11408 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11409 __malloc_size_t.
11410 (old_memalign_hook): Likewise.
11411 (old_realloc_hook): Likewise.
11412 (struct hdr): Likewise.
11413 (flood): Likewise.
11414 (mallochook): Likewise.
11415 (memalignhook): Likewise.
11416 (reallochook): Likewise.
11417 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11418 (tr_old_realloc_hook): Likewise.
11419 (tr_old_memalign_hook): Likewise.
11420 (tr_mallochook): Likewise.
11421 (tr_reallochook): Likewise.
11422 (tr_memalignhook): Likewise.
11423
edf66e57
AZ
114242013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11425
11426 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11427 default_ldbl_pack and using as default implementation.
11428 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11429 implementation.
11430 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11431 redundant definition.
11432 (ldbl_insert_mantissa): Likewise.
11433 (ldbl_canonicalize): Likewise.
11434 (ldbl_nearbyint): Likewise.
11435 (ldbl_pack): Rename to ldbl_pack_ppc.
11436 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11437 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11438 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11439
6d9145d8
SP
114402013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11441
11442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11443 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11444 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11445 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11447 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11448 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11449 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11450
4dd4e157
AJ
114512013-03-07 Andreas Jaeger <aj@suse.de>
11452
11453 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11454 bits/mman-linux.h.
11455
adbb8027
SP
114562013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11457
ce544b5b
SP
11458 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11459 Include mpa.h and declare __MPEXP.
11460 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11461 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11462 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11463 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11464 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11465 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11466 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11467
4cc149fd
SP
11468 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11469 (__slowpow): Use long double EXPL and LOGL functions to
11470 compute POW.
11471 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11472 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11473 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11474 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11475 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11476 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11477
e6ebd4a7
SP
11478 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11479 intermediate variable to calculate exponent.
11480 (__sqr): Likewise.
11481 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11482 Likewise.
11483 (__sqr): Likewise.
11484
82a9811d
SP
11485 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11486 [!NO__SQR]: Define __sqr.
11487 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11488 and NO__SQR. Remove all code except __mul and __sqr. Include
11489 sysdeps/ieee754/dbl-64/mpa.c.
11490 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11491
adbb8027
SP
11492 [BZ #12723]
11493 * posix/Makefile (tests): Add tst-pathconf.
11494 * posix/tst-pathconf.c: New test case.
11495 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11496 _PC_PIPE_BUF.
11497 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11498
39120df9
PF
114992013-03-06 Patsy Franklin <pfrankli@redhat.com>
11500
11501 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11502
67525cb8
AJ
115032013-03-06 Andreas Jaeger <aj@suse.de>
11504
664a9ce4
AJ
11505 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11506 definition via __MAP_ANONYMOUS.
11507
8e39047d
AJ
11508 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11509 it's not part of Linux headers.
11510
67525cb8
AJ
11511 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11512 (MAP_HUGE_MASK): Define.
11513
11514 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11515 Define.
11516 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11517 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11518 Define.
11519 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11520 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11521 Define.
11522 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11523 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11524 Define.
11525 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11526
11527 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11528 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11529 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11530 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11531 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11532 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11533
11534 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11535 Handle f2fs.
11536
11537 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11538 Handle f2fs and efivarfs.
11539
11540 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11541 f2fs.
11542
11543 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11544 (EFIVARFS_MAGIC): Add.
11545 (F2FS_LINK_MAX): Add.
11546
e1b42695
PP
115472013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11548
11549 * stdio-common/vfprintf.c: Replace __builtin_expect with
11550 __glibc_unlikely.
11551
2d67d91a
JM
115522013-03-06 Joseph Myers <joseph@codesourcery.com>
11553
11554 [BZ #13550]
11555 * sysdeps/generic/bp-sym.h: Remove file.
11556 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11557 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11558 <bp-sym.h> and <bp-asm.h>.
11559 (__longjmp): Don't use BP_SYM.
11560 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11561 and <bp-asm.h>.
11562 (memcpy): Don't use BP_SYM.
11563 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11564 <bp-sym.h> and <bp-asm.h>.
11565 (memcpy): Don't use BP_SYM.
11566 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11567 <bp-asm.h>.
11568 (memcpy): Don't use BP_SYM.
11569 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11570 <bp-asm.h>.
11571 (memset): Don't use BP_SYM.
11572 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11573 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11574 (__bzero): Don't use BP_SYM.
11575 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11576 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11577 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11578 <bp-sym.h> and <bp-asm.h>.
11579 (memcmp): Don't use BP_SYM. Remove comment about bounded
11580 pointers.
11581 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11582 <bp-sym.h> and <bp-asm.h>.
11583 (memcpy): Don't use BP_SYM.
11584 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11585 <bp-sym.h> and <bp-asm.h>.
11586 (memset): Don't use BP_SYM.
11587 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11588 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11589 (__bzero): Don't use BP_SYM.
11590 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11591 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11592 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11593 <bp-sym.h> and <bp-asm.h>.
11594 (strncmp): Don't use BP_SYM. Remove comment about bounded
11595 pointers.
11596 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11597 <bp-sym.h> and <bp-asm.h>.
11598 (memcpy): Don't use BP_SYM.
11599 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11600 <bp-sym.h> and <bp-asm.h>.
11601 (memset): Don't use BP_SYM.
11602 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11603 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11604 (__bzero): Don't use BP_SYM.
11605 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11606 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11607 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11608 <bp-sym.h> and <bp-asm.h>.
11609 (__memchr): Don't use BP_SYM.
11610 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11611 <bp-sym.h> and <bp-asm.h>.
11612 (memcmp): Don't use BP_SYM. Remove comment about bounded
11613 pointers.
11614 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11615 <bp-sym.h> and <bp-asm.h>.
11616 (memcpy): Don't use BP_SYM.
11617 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11618 <bp-sym.h> and <bp-asm.h>.
11619 (__mempcpy): Don't use BP_SYM.
11620 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11621 <bp-sym.h> and <bp-asm.h>.
11622 (__memrchr): Don't use BP_SYM.
11623 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11624 <bp-sym.h> and <bp-asm.h>.
11625 (memset): Don't use BP_SYM.
11626 (__bzero): Likewise.
11627 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11628 <bp-sym.h> and <bp-asm.h>.
11629 (__rawmemchr): Don't use BP_SYM.
11630 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11631 <bp-sym.h> and <bp-asm.h>.
11632 (__STRCMP): Don't use BP_SYM.
11633 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11634 <bp-sym.h> and <bp-asm.h>.
11635 (strchr): Don't use BP_SYM.
11636 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11637 <bp-sym.h> and <bp-asm.h>.
11638 (__strchrnul): Don't use BP_SYM.
11639 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11640 <bp-sym.h> and <bp-asm.h>.
11641 (strlen): Don't use BP_SYM.
11642 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11643 <bp-sym.h> and <bp-asm.h>.
11644 (strncmp): Don't use BP_SYM. Remove comment about bounded
11645 pointers.
11646 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11647 <bp-sym.h> and <bp-asm.h>.
11648 (__strnlen): Don't use BP_SYM.
11649 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11650 <bp-sym.h> and <bp-asm.h>.
11651 (__GI__setjmp): Don't use BP_SYM.
11652 (_setjmp): Likewise.
11653 (__sigsetjmp): Likewise.
11654 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11655 (L(start_addresses)): Don't use BP_SYM.
11656 (_start): Likewise.
11657 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11658 <bp-asm.h>.
11659 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11660 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11661 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11662 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11663 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11664 <bp-asm.h>.
11665 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11666 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11667 about bounded pointers.
11668 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11669 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11670 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11671 <bp-asm.h>.
11672 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11673 about bounded pointers. Remove GKM FIXME comments.
11674 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11675 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11676 <bp-asm.h>.
11677 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11678 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11679 Remove GKM FIXME comments.
11680 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11681 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11682 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11683 <bp-asm.h>.
11684 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11685 about bounded pointers. Remove GKM FIXME comment.
11686 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11687 and <bp-asm.h>.
11688 (strncmp): Don't use BP_SYM. Remove comment about bounded
11689 pointers.
11690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11691 <bp-sym.h> and <bp-asm.h>.
11692 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11694 <bp-sym.h> and <bp-asm.h>.
11695 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11696 comment.
11697
cdcf361f
PP
116982013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11699
11700 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11701 call free(NULL).
11702
3c4a2b15
DM
117032013-03-05 David S. Miller <davem@davemloft.net>
11704
11705 * po/es.po: Update from translation team.
11706
cdcf361f 117072013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
11708
11709 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11710 <bits/mman-linux.h>.
11711 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11712 is fine.
11713 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11714 <bits/mman-linux.h> to end of file.
11715 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11716 is fine.
11717 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11718 <bits/mman-linux.h> to end of file.
11719 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11720 is fine.
11721 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11722 <bits/mman-linux.h> to end of file.
11723
11724 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11725 (MCL_CURRENT, MCL_FUTURE): Define here.
11726
5f67c04f
AK
117272013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11728
8a4473cc 11729 [BZ #15232]
5f67c04f
AK
11730 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11731 attribute_hidden.
11732 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11733
c3e94a95
AK
117342013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11735
11736 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11737 fourth parameter needed for rt_sigprocmask syscall.
11738 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11739 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11740 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11741 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11742 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11743 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11744
cfb6382a
JM
117452013-03-04 Joseph Myers <joseph@codesourcery.com>
11746
11747 [BZ #13550]
11748 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11749 comment about bounded pointers.
11750 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11751 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11752
539d8e01
AJ
117532013-03-04 Andreas Jaeger <aj@suse.de>
11754
11755 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11756 common definitions.
11757
11758 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11759 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11760 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11761 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11762 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
11763 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11764
2e167a70 117652013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
11766
11767 [BZ #15055]
11768 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11769 __ieee754_sqrl instead of __sqrl.
11770
68508633
JM
117712013-03-01 Joseph Myers <joseph@codesourcery.com>
11772
11773 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11774 * sysdeps/powerpc/fpu_control.h: ... here.
11775 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11776 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11777 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11778 * sysdeps/powerpc/bits/mathinline.h: ... here.
11779
7775448e
RM
117802013-03-01 Roland McGrath <roland@hack.frob.com>
11781
11782 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11783 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11784 to just [NEED_DL_SYSINFO_DSO].
11785 * elf/dl-support.c: Likewise.
11786 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11787 * elf/rtld.c (dl_main): Likewise.
11788 * elf/setup-vdso.h (setup_vdso): Likewise.
11789 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11790 * sysdeps/unix/sysv/linux/dl-sysdep.c
11791 (_dl_discover_osversion): Likewise.
11792
4e9b5995
CD
117932013-03-01 Carlos O'Donell <carlos@redhat.com>
11794
11795 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11796 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11797
e23872c8
SP
117982013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11799
e5c74c63
SP
11800 * NEWS: Mention libm performance improvements and non-x86 PI
11801 futex support.
11802
e23872c8
SP
11803 * csu/libc-start.c (__pthread_initialize_minimal): Change
11804 function arguments.
11805 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11806
b5510883
JM
118072013-02-28 Joseph Myers <joseph@codesourcery.com>
11808
11809 [BZ #13550]
11810 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11811 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11812 <bp-sym.h> and <bp-asm.h>.
11813 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11814 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11815 and <bp-asm.h>.
11816 (memcpy): Don't use BP_SYM.
11817 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11818 <bp-asm.h>.
11819 (__mpn_add_n): Don't use BP_SYM.
11820 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11821 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11822 and <bp-asm.h>.
11823 (__mpn_addmul_1): Don't use BP_SYM.
11824 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11825 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11826 <bp-sym.h>.
11827 (_setjmp): Don't use BP_SYM.
11828 (__novmx_setjmp): Likewise.
11829 (__GI__setjmp): Likewise.
11830 (__vmx_setjmp): Likewise.
11831 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11832 <bp-sym.h>.
11833 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11834 (__bzero): Don't use BP_SYM.
11835 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11836 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11837 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11838 <bp-sym.h> and <bp-asm.h>.
11839 (memcpy): Don't use BP_SYM.
11840 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11841 <bp-sym.h> and <bp-asm.h>.
11842 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11843 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11844 <bp-sym.h> and <bp-asm.h>.
11845 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11846 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11847 <bp-asm.h>.
11848 (__mpn_lshift): Don't use BP_SYM.
11849 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11850 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11851 <bp-asm.h>.
11852 (memset): Don't use BP_SYM.
11853 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11854 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11855 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11856 <bp-asm.h>.
11857 (__mpn_mul_1): Don't use BP_SYM.
11858 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11859 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11860 <bp-sym.h> and <bp-asm.h>.
11861 (memcmp): Don't use BP_SYM.
11862 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11863 <bp-sym.h> and <bp-asm.h>.
11864 (memcpy): Don't use BP_SYM.
11865 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11866 <bp-sym.h> and <bp-asm.h>.
11867 (memset): Don't use BP_SYM.
11868 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11869 <bp-sym.h> and <bp-asm.h>.
11870 (strncmp): Don't use BP_SYM.
11871 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11872 <bp-sym.h> and <bp-asm.h>.
11873 (memcpy): Don't use BP_SYM.
11874 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11875 <bp-sym.h> and <bp-asm.h>.
11876 (memset): Don't use BP_SYM.
11877 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11878 <bp-sym.h> and <bp-asm.h>.
11879 (__memchr): Don't use BP_SYM.
11880 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11881 <bp-sym.h> and <bp-asm.h>.
11882 (memcmp): Don't use BP_SYM.
11883 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11884 <bp-sym.h> and <bp-asm.h>.
11885 (memcpy): Don't use BP_SYM.
11886 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11887 <bp-sym.h> and <bp-asm.h>.
11888 (__mempcpy): Don't use BP_SYM.
11889 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11890 <bp-sym.h> and <bp-asm.h>.
11891 (__memrchr): Don't use BP_SYM.
11892 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11893 <bp-sym.h> and <bp-asm.h>.
11894 (memset): Don't use BP_SYM.
11895 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11896 <bp-sym.h> and <bp-asm.h>.
11897 (__rawmemchr): Don't use BP_SYM.
11898 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11899 <bp-sym.h> and <bp-asm.h>.
11900 (__STRCMP): Don't use BP_SYM.
11901 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11902 <bp-sym.h> and <bp-asm.h>.
11903 (strchr): Don't use BP_SYM.
11904 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11905 <bp-sym.h> and <bp-asm.h>.
11906 (__strchrnul): Don't use BP_SYM.
11907 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11908 <bp-sym.h> and <bp-asm.h>.
11909 (strlen): Don't use BP_SYM.
11910 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11911 <bp-sym.h> and <bp-asm.h>.
11912 (strncmp): Don't use BP_SYM.
11913 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11914 <bp-sym.h> and <bp-asm.h>.
11915 (__strnlen): Don't use BP_SYM.
11916 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11917 <bp-asm.h>.
11918 (__mpn_rshift): Don't use BP_SYM.
11919 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11920 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11921 <bp-sym.h> and <bp-asm.h>.
11922 (__sigsetjmp): Don't use BP_SYM.
11923 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11924 (L(start_addresses)): Don't use BP_SYM.
11925 (_start): Likewise.
11926 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11927 <bp-asm.h>.
11928 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11929 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11930 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11931 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11932 <bp-asm.h>.
11933 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11934 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11935 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11936 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11937 <bp-asm.h>.
11938 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11939 comments.
11940 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11941 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11942 <bp-asm.h>.
11943 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11944 FIXME comments.
11945 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11946 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11947 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11948 <bp-asm.h>.
11949 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11950 comment.
11951 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11952 and <bp-asm.h>.
11953 (strncmp): Don't use BP_SYM,
11954 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11955 <bp-asm.h>.
11956 (__mpn_sub_n): Don't use BP_SYM.
11957 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11958 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11959 and <bp-asm.h>.
11960 (__mpn_submul_1): Don't use BP_SYM.
11961 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11963 <bp-sym.h> and <bp-asm.h>.
11964 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11966 <bp-sym.h> and <bp-asm.h>.
11967 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11968 comment.
11969
8d19fe64
SP
119702013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11971
11972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11973 Use ZK to minimize writes to Z.
11974 (sub_magnitudes): Simplify code a bit.
11975 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11976 Use ZK to minimize writes to Z.
11977 (sub_magnitudes): Simplify code a bit.
11978
85bd816a
RM
119792013-02-27 Roland McGrath <roland@hack.frob.com>
11980
11981 * csu/gmon-start.c: Add special exception to license text.
11982
b5977bf2
RH
119832013-02-27 Richard Henderson <rth@redhat.com>
11984
11985 * scripts/config.guess: Update from config.git.
11986 * scripts/config.sub: Likewise.
11987
11d6e2f2
SP
119882013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11989
09c14ed2
SP
11990 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11991
a688864e
SP
11992 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11993
6295157a
SP
11994 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11995
b8de2202
SP
11996 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11997
11d6e2f2
SP
11998 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11999
7e80ddb8
RM
120002013-02-26 Roland McGrath <roland@hack.frob.com>
12001
12002 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12003 [$(build-shared = yes].
7e80ddb8 12004
7da6d9ed
SP
120052013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12006
45f05884
SP
12007 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12008 (__mul): Reduce iterations for calculating mantissa.
12009
2236d359
SP
12010 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12011 MPTWO.
12012 (__mpranred): Likewise.
12013
7da6d9ed
SP
12014 [BZ #15160]
12015 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12016 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12017
b7688c42
PE
120182013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12019
12020 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12021 Define __attribute__.
12022
53a5c423
SP
120232013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12024
12025 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12026 unused.
12027 * posix/regex_internal.h (__attribute): Remove.
12028 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12029 (re_string_context_at): Likewise.
12030 (bitset_not): Use __attribute__ and mark function as possibly
12031 unused.
12032 (bitset_merge): Likewise.
12033 (bitset_mask): Likewise.
12034 (re_string_char_size_at): Likewise.
12035 (re_string_wchar_at): Likewise.
12036 (re_string_elem_size_at): Likewise.
12037
60f5a8b5
SP
120382013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12039
2a983a2e
SP
12040 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12041 code.
12042 (cc32): Likewise.
12043
e69804d1
SP
12044 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12045 (__acr): Likewise.
12046 (__cpy): Likewise.
12047 (norm): Likewise.
12048 (denorm): Likewise.
12049 (__dbl_mp): Likewise.
12050 (add_magnitudes): Likewise.
12051 (sub_magnitudes): Likewise.
12052 (__mul): Likewise.
12053 (__inv): Likewise.
12054
2f22a1e8
SP
12055 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12056 style.
12057
8930ddc7
SP
12058 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12059 style.
12060
dc60cb11
SP
12061 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12062 code.
12063
60f5a8b5
SP
12064 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12065 up changes with default code.
12066 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12067 Likewise.
12068
b4d1fd33
AM
120692013-02-24 Allan McRae <allan@archlinux.org>
12070
faf6f8bc
AM
12071 * manual/socket.texi (The Internet Namespace): Order menu items
12072 to match that in the file.
12073
b4d1fd33
AM
12074 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12075 node listing of the info page menu.
12076
2366713d
JM
120772013-02-21 Joseph Myers <joseph@codesourcery.com>
12078
12079 [BZ #13550]
12080 * sysdeps/i386/bp-asm.h: Remove file.
12081 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12082 (PARMS): Do not use macros from bp-asm.h.
12083 (S1): Likewise.
12084 (S2): Likewise.
12085 (SIZE): Likewise.
12086 (__mpn_add_n): Do not use BP_SYM
12087 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12088 "bp-asm.h".
12089 (PARMS): Do not use macros from bp-asm.h.
12090 (S1): Likewise.
12091 (SIZE): Likewise.
12092 (__mpn_addmul_1): Do not use BP_SYM
12093 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12094 "bp-asm.h".
12095 (PARMS): Do not use macros from bp-asm.h.
12096 (SIGMSK): Likewise.
12097 (_setjmp): Likewise. Do not use BP_SYM.
12098 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12099 "bp-asm.h".
12100 (PARMS): Do not use macros from bp-asm.h.
12101 (SIGMSK): Likewise.
12102 (setjmp): Likewise. Do not use BP_SYM.
12103 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12104 "bp-asm.h".
12105 (PARMS): Do not use macros from bp-asm.h.
12106 (__frexp): Do not use BP_SYM.
12107 (frexp): Likewise.
12108 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12109 "bp-asm.h".
12110 (PARMS): Do not use macros from bp-asm.h.
12111 (__frexpf): Do not use BP_SYM.
12112 (frexpf): Likewise.
12113 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12114 "bp-asm.h".
12115 (PARMS): Do not use macros from bp-asm.h.
12116 (__frexpl): Do not use BP_SYM.
12117 (frexpl): Likewise.
12118 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12119 "bp-asm.h".
12120 (PARMS): Do not use macros from bp-asm.h.
12121 (__remquo): Do not use BP_SYM.
12122 (remquo): Likewise.
12123 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12124 "bp-asm.h".
12125 (PARMS): Do not use macros from bp-asm.h.
12126 (__remquof): Do not use BP_SYM.
12127 (remquof): Likewise.
12128 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12129 "bp-asm.h".
12130 (PARMS): Do not use macros from bp-asm.h.
12131 (__remquol): Do not use BP_SYM.
12132 (remquol): Likewise.
12133 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12134 "bp-asm.h".
12135 (PARMS): Do not use macros from bp-asm.h.
12136 (DEST): Likewise.
12137 (SRC): Likewise.
12138 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12139 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12140 "bp-asm.h".
12141 (PARMS): Do not use macros from bp-asm.h.
12142 (strlen): Do not use BP_SYM.
12143 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12144 "bp-asm.h".
12145 (PARMS): Do not use macros from bp-asm.h.
12146 (S1): Likewise.
12147 (S2): Likewise.
12148 (SIZE): Likewise.
12149 (__mpn_add_n): Do not use BP_SYM.
12150 * sysdeps/i386/i586/addmul_1.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 (SIZE): Likewise.
12155 (__mpn_addmul_1): Do not use BP_SYM.
12156 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12157 weak_alias.
12158 (bzero): Likewise.
12159 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12160 "bp-asm.h".
12161 (PARMS): Do not use macros from bp-asm.h.
12162 (S): Likewise.
12163 (SIZE): Likewise.
12164 (__mpn_lshift): Do not use BP_SYM.
12165 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12166 "bp-asm.h".
12167 (PARMS): Do not use macros from bp-asm.h.
12168 (DEST): Likewise.
12169 (SRC): Likewise.
12170 (LEN): Likewise.
12171 (memcpy): Likewise. Do not use BP_SYM.
12172 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12173 libc_hidden_def and weak_alias.
12174 (mempcpy): Do not use BP_SYM in weak_alias.
12175 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12176 "bp-asm.h".
12177 (PARMS): Do not use macros from bp-asm.h.
12178 (DEST): Likewise.
12179 (LEN): Likewise.
12180 [!BZERO_P] (CHR): Likewise.
12181 (memset): Likewise. Do not use BP_SYM.
12182 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12183 "bp-asm.h".
12184 (PARMS): Do not use macros from bp-asm.h.
12185 (S1): Likewise.
12186 (SIZE): Likewise.
12187 (__mpn_mul_1): Do not use BP_SYM.
12188 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12189 "bp-asm.h".
12190 (PARMS): Do not use macros from bp-asm.h.
12191 (S): Likewise.
12192 (SIZE): Likewise.
12193 (__mpn_rshift): Do not use BP_SYM.
12194 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12195 "bp-asm.h".
12196 (PARMS): Do not use macros from bp-asm.h.
12197 (STR): Likewise.
12198 (CHR): Likewise.
12199 (strchr): Likewise. Do not use BP_SYM.
12200 (index): Do not use BP_SYM in weak_alias.
12201 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12202 "bp-asm.h".
12203 (PARMS): Do not use macros from bp-asm.h.
12204 (DEST): Likewise.
12205 (SRC): Likewise.
12206 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12207 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12208 "bp-asm.h".
12209 (PARMS): Do not use macros from bp-asm.h.
12210 (strlen): Do not use BP_SYM.
12211 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12212 "bp-asm.h".
12213 (PARMS): Do not use macros from bp-asm.h.
12214 (S1): Likewise.
12215 (S2): Likewise.
12216 (SIZE): Likewise.
12217 (__mpn_sub_n): Do not use BP_SYM.
12218 * sysdeps/i386/i586/submul_1.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 (SIZE): Likewise.
12223 (__mpn_submul_1): Do not use BP_SYM.
12224 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12225 "bp-asm.h".
12226 (PARMS): Do not use macros from bp-asm.h.
12227 (S1): Likewise.
12228 (S2): Likewise.
12229 (SIZE): Likewise.
12230 (__mpn_add_n): Do not use BP_SYM.
12231 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12232 weak_alias.
12233 (bzero): Likewise.
12234 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12235 "bp-asm.h".
12236 (PARMS): Do not use macros from bp-asm.h.
12237 (BLK2): Likewise.
12238 (LEN): Likewise.
12239 (memcmp): Do not use BP_SYM.
12240 (bcmp): Do not use BP_SYM in weak_alias.
12241 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12242 "bp-asm.h".
12243 (PARMS): Do not use macros from bp-asm.h.
12244 (DEST): Likewise.
12245 (SRC): Likewise.
12246 (LEN): Likewise.
12247 (memcpy): Likewise. Do not use BP_SYM.
12248 * sysdeps/i386/i686/memmove.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 (memmove): Likewise. Do not use BP_SYM.
12255 * sysdeps/i386/i686/mempcpy.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 (__mempcpy): Likewise. Do not use BP_SYM.
12262 (mempcpy): Do not use BP_SYM in weak_alias.
12263 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12264 "bp-asm.h".
12265 (PARMS): Do not use macros from bp-asm.h.
12266 (DEST): Likewise.
12267 (LEN): Likewise.
12268 [!BZERO_P] (CHR): Likewise.
12269 (memset): Likewise. Do not use BP_SYM.
12270 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12271 "bp-asm.h".
12272 (PARMS): Do not use macros from bp-asm.h.
12273 (STR2): Likewise.
12274 (strcmp): Do not use BP_SYM.
12275 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12276 "bp-asm.h".
12277 (PARMS): Do not use macros from bp-asm.h.
12278 (STR): Likewise.
12279 (DELIM): Likewise.
12280 [USE_AS_STRTOK_R] (SAVE): Likewise.
12281 (FUNCTION): Likewise. Do not use BP_SYM.
12282 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12283 aliases.
12284 (strtok_r): Likewise.
12285 (__GI___strtok_r): Likewise.
12286 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12287 (PARMS): Do not use macros from bp-asm.h.
12288 (S): Likewise.
12289 (SIZE): Likewise.
12290 (__mpn_lshift): Do not use BP_SYM.
12291 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12292 (PARMS): Do not use macros from bp-asm.h.
12293 (STR): Likewise.
12294 (CHR): Likewise.
12295 (__memchr): Do not use BP_SYM.
12296 (memchr): Do not use BP_SYM in weak_alias.
12297 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12298 (PARMS): Do not use macros from bp-asm.h.
12299 (BLK2): Likewise.
12300 (LEN): Likewise.
12301 (memcmp): Do not use BP_SYM.
12302 (bcmp): Do not use BP_SYM in weak_alias.
12303 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12304 (PARMS): Do not use macros from bp-asm.h.
12305 (S1): Likewise.
12306 (SIZE): Likewise.
12307 (__mpn_mul_1): Do not use BP_SYM.
12308 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12309 "bp-asm.h".
12310 (PARMS): Do not use macros from bp-asm.h.
12311 (STR): Likewise.
12312 (CHR): Likewise.
12313 (__rawmemchr): Do not use BP_SYM.
12314 (rawmemchr): Do not use BP_SYM in weak_alias.
12315 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12316 (PARMS): Do not use macros from bp-asm.h.
12317 (S): Likewise.
12318 (SIZE): Likewise.
12319 (__mpn_rshift): Do not use BP_SYM.
12320 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12321 (PARMS): Do not use macros from bp-asm.h.
12322 (SIGMSK): Likewise.
12323 (__sigsetjmp): Likewise. Do not use BP_SYM.
12324 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12325 (_start): Do not use BP_SYM.
12326 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12327 (PARMS): Do not use macros from bp-asm.h.
12328 (DEST): Likewise.
12329 (SRC): Likewise.
12330 (__stpcpy): Likewise. Do not use BP_SYM.
12331 (stpcpy): Do not use BP_SYM in weak_alias.
12332 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12333 "bp-asm.h".
12334 (PARMS): Do not use macros from bp-asm.h.
12335 (DEST): Likewise.
12336 (SRC): Likewise.
12337 (LEN): Likewise.
12338 (__stpncpy): Likewise. Do not use BP_SYM.
12339 (stpncpy): Do not use BP_SYM in weak_alias.
12340 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12341 (PARMS): Do not use macros from bp-asm.h.
12342 (STR): Likewise.
12343 (CHR): Likewise.
12344 (strchr): Likewise. Do not use BP_SYM.
12345 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12346 "bp-asm.h".
12347 (PARMS): Do not use macros from bp-asm.h.
12348 (STR): Likewise.
12349 (CHR): Likewise.
12350 (__strchrnul): Likewise. Do not use BP_SYM.
12351 (strchrnul): Do not use BP_SYM in weak_alias.
12352 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12353 "bp-asm.h".
12354 (PARMS): Do not use macros from bp-asm.h.
12355 (STOP): Likewise.
12356 (strcspn): Do not use BP_SYM.
12357 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12358 "bp-asm.h".
12359 (PARMS): Do not use macros from bp-asm.h.
12360 (STR): Likewise.
12361 (STOP): Likewise.
12362 (strpbrk): Likewise. Do not use BP_SYM.
12363 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12364 "bp-asm.h".
12365 (PARMS): Do not use macros from bp-asm.h.
12366 (STR): Likewise.
12367 (CHR): Likewise.
12368 (strrchr): Likewise. Do not use BP_SYM.
12369 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12370 (PARMS): Do not use macros from bp-asm.h.
12371 (SKIP): Likewise.
12372 (strspn): Do not use BP_SYM.
12373 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12374 (PARMS): Do not use macros from bp-asm.h.
12375 (STR): Likewise.
12376 (DELIM): Likewise.
12377 (SAVE): Likewise.
12378 (FUNCTION): Likewise. Do not use BP_SYM.
12379 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12380 aliases.
12381 (strtok_r): Likewise.
12382 (__GI___strtok_r): Likewise.
12383 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12384 (PARMS): Do not use macros from bp-asm.h.
12385 (S1): Likewise.
12386 (S2): Likewise.
12387 (SIZE): Likewise.
12388 (__mpn_sub_n): Do not use BP_SYM.
12389 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12390 "bp-asm.h".
12391 (PARMS): Do not use macros from bp-asm.h.
12392 (S1): Likewise.
12393 (SIZE): Likewise.
12394 (__mpn_submul_1): Do not use BP_SYM.
12395 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12396 <bp-sym.h>.
12397 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12398 and <bp-asm.h>.
12399 (PARMS): Do not use macros from bp-asm.h.
12400 (FLAGS): Likewise.
12401 (PTID): Likewise.
12402 (TLS): Likewise.
12403 (CTID): Likewise.
12404 (__clone): Do not use BP_SYM.
12405 (clone): Do not use BP_SYM in weak_alias.
12406 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12407 and <bp-asm.h>.
12408 (PARMS): Do not use macros from bp-asm.h.
12409 (LEN): Likewise.
12410 (__mmap64): Do not use BP_SYM.
12411 (mmap64): Do not use BP_SYM in weak_alias.
12412 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12413 <bp-sym.h> and <bp-asm.h>.
12414 (PARMS): Do not use macros from bp-asm.h.
12415 (__posix_fadvise64_l64): Do not use BP_SYM.
12416 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12417 (PARMS): Do not use macros from bp-asm.h.
12418 (NSOPS): Likewise.
12419 (semtimedop): Do not use BP_SYM.
12420 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12421 and <bp-asm.h>.
12422
582a3cff
AM
124232013-02-21 Allan McRae <allan@archlinux.org>
12424
12425 * manual/message.texi (Charset conversion in gettext):
12426 Move @end statement to beginning of line.
12427
bab8a695
SP
124282013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12429
80945231
SP
12430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12431 static.
12432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12433 Likewise.
12434
bab8a695
SP
12435 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12436 (denorm): Likewise.
12437 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12438 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12439
e21d7aa7
AK
124402013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12441
12442 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12443 tail-call to the resolved function if pltexit isn't needed.
12444
4c7a4263
SP
124452013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12446
12447 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12448 or Y being zero as being unlikely.
12449 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12450 Likewise.
12451
41f49342
CD
124522013-02-20 Carlos O'Donell <carlos@redhat.com>
12453
12454 * manual/nss.texi (System Databases and Name Service Switch):
12455 Remove frobnicate @pxref.
12456
50022a93
TS
124572013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12458
12459 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12460 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12461
08cbd996
PM
124622013-02-20 Petr Machata <pmachata@redhat.com>
12463
12464 * elf/elf.h (R_ARM_TARGET1): New macro.
12465 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12466 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12467 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12468 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12469 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12470 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12471 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12472 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12473 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12474 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12475 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12476 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12477 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12478 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12479 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12480 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12481 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12482 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12483 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12484 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12485 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12486 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12487 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12488 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12489 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12490 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12491 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12492 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12493 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12494 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12495 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12496 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12497 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12498 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12499 (R_ARM_THM_GOT_BREL12): Likewise.
12500 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12501 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12502 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12503 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12504 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12505 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12506 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12507 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12508 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12509
c7b275d6
TS
125102013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12511
12512 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12513 __attribute_used__ to __attribute__ ((unused)).
12514
20cd7fb3
SP
125152013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12516
12517 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12518 powerpc mpa.c.
12519 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12520 comment formatting.
12521 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12522
92945b52
JM
125232013-02-19 Joseph Myers <joseph@codesourcery.com>
12524
12525 [BZ #13550]
12526 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12527 Remove macro.
12528 (ENTER): Remove both macro definitions.
12529 (LEAVE): Likewise.
12530 (CHECK_BOUNDS_LOW): Likewise.
12531 (CHECK_BOUNDS_HIGH): Likewise.
12532 (CHECK_BOUNDS_BOTH): Likewise.
12533 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12534 (RETURN_BOUNDED_POINTER): Likewise.
12535 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12536 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12537 (POP_ERRNO_LOCATION_RETURN): Likewise.
12538 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12539 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12540 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12541 macros.
12542 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12543 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12544 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12545 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12546 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12547 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12548 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12549 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12550 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12551 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12552 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12553 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12554 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12555 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12556 removed macros.
12557 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12558 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12559 macros.
12560 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12561 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12562 * sysdeps/i386/i586/memset.S (memset): Likewise.
12563 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12564 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12565 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12566 macros.
12567 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12568 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12569 Change uses of L(2) to L(out).
12570 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12571 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12572 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12573 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12574 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12575 removed macros.
12576 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12577 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12578 macros.
12579 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12580 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12581 (RETURN): Do not use macro LEAVE.
12582 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12583 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12584 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12585 * sysdeps/i386/i686/memset.S (memset): Likewise.
12586 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12587 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12588 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12589 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12590 Likewise.
12591 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12592 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12593 L(1_2) and L(1_3) into L(1).
12594 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12595 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12596 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12597 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12598 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12599 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12600 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12601 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12602 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12603 macros.
12604 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12605 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12606 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12607 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12608 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12609 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12610 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12611 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12612 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12613 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12614 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12615 * sysdeps/i386/strspn.S (strspn): Likewise.
12616 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12617 conditional code.
12618 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12619 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12620 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12621 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12622 L(1_3) into L(1_1).
12623 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12624 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12625 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12626 macros.
12627 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12628
2389741a
JJ
126292013-02-19 Jakub Jelinek <jakub@redhat.com>
12630
12631 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12632 macro.
12633
2016b3cd
SP
126342013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12635
e4f22324
SP
12636 * math/atest-exp.c (exp_mpn): Remove ROUND.
12637 * math/atest-exp2.c (exp_mpn): Likewise.
12638 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12639
2016b3cd
SP
12640 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12641 * stdlib/tst-tls-atexit-lib.c: Likewise.
12642 * stdlib/tst-tls-atexit.c: Likewise.
12643
4be9b544
MF
126442013-02-18 Mike Frysinger <vapier@gentoo.org>
12645
12646 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12647 and __attribute_alloc_size__.
12648
2f62b9ee
MF
126492013-02-18 Mike Frysinger <vapier@gentoo.org>
12650
12651 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12652 __attribute_alloc_size__.
12653 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12654 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12655
6ff444c4
MF
126562013-02-18 Mike Frysinger <vapier@gentoo.org>
12657
12658 * include/programs/xmalloc.h: New file.
12659 * catgets/gencat.c: Include it.
12660 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12661 * elf/pldd.c: Likewise.
12662 * iconv/iconv_charmap.c: Likewise.
12663 * iconv/iconvconfig.c: Likewise.
12664 * iconv/strtab.c: Likewise.
12665 * locale/programs/locale.c: Likewise.
12666 * locale/programs/localedef.h: Likewise.
12667 * locale/programs/simple-hash.c: Likewise.
12668 * nscd/nscd.h: Likewise.
12669 * nss/makedb.c: Likewise.
12670 * sysdeps/generic/ldconfig.h: Likewise.
12671
be179c8a
SP
126722013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12673
ba384f6e
SP
12674 * Versions.def: Add GLIBC_2.18.
12675 * include/link.h (struct link_map): New member l_tls_dtor_count.
12676 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12677 (__call_tls_dtors): Likewise.
12678 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12679 __cxa_thread_atexit_impl.
12680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12681 Likewise.
12682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12683 Likewise.
12684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12685 Likewise.
12686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12687 Likewise.
12688 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12690 Likewise.
12691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12692 Likewise.
12693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12695 Likewise.
12696 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12697 (tests): Add test case tst-tls-atexit.
12698 (modules-names): Add shared library for tst-tls-atexit.
85891aca 12699 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
12700 (GLIBC_PRIVATE): Add __call_tls_dtors.
12701 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12702 for libstdc++.
12703 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12704 * stdlib/tst-tls-atexit.c: New test case.
12705 * stdlib/tst-tls-atexit-lib.c: New test case.
12706
ffaa74cf 12707 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 12708
be179c8a
SP
12709 * elf/Versions (ld): Add _dl_find_dso_for_object.
12710 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12711 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12712 (dl_open_worker): Use _dl_find_dso_for_object.
12713 * elf/dl-sym.c (do_sym): Likewise.
12714 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12715
f78b5caa
AK
127162013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12717
12718 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12719 Syntactic changes only.
12720 (_dl_runtime_profile): Do a tail-call to the resolved function.
12721
29691210
JM
127222013-02-17 Joseph Myers <joseph@codesourcery.com>
12723
12724 [BZ #13550]
12725 * sysdeps/x86_64/bp-asm.h: Remove file.
12726 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12727 <bp-sym.h> and <bp-asm.h>.
12728 (__clone): Do not use BP_SYM.
12729 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12730 <bp-sym.h> and <bp-asm.h>.
12731 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12732 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12733 "bp-asm.h".
12734 (_setjmp): Do not use BP_SYM.
12735 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12736 "bp-asm.h".
12737 (setjmp): Do not use BP_SYM.
12738 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12739 libc_hidden_def.
12740 (mempcpy): Do not use BP_SYM in weak_alias.
12741 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12742 "bp-asm.h".
12743 (strchr): Do not use BP_SYM.
12744 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12745 "bp-asm.h".
12746 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12747 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12748 (_start): Do not use BP_SYM.
12749 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12750 "bp-asm.h".
12751 (strcat): Do not use BP_SYM.
12752 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12753 "bp-asm.h".
12754 (STRCMP): Do not use BP_SYM.
12755 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12756 "bp-asm.h".
12757 (STRCPY): Do not use BP_SYM.
12758 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12759 "bp-asm.h".
12760 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12761 "bp-asm.h".
12762 (FUNCTION): Do not use BP_SYM.
12763 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12764 weak_alias.
12765 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12766
f238fd19
AJ
127672013-02-17 Andreas Jaeger <aj@suse.de>
12768
12769 * time/Versions: Sort entries.
12770 * string/Versions: Likewise.
12771 * resolv/Versions: Likewise.
12772 * posix/Versions: Likewise.
12773 * iconv/Versions: Likewise.
12774 * elf/Versions: Likewise.
12775 * wcsmbs/Versions: Likewise.
12776
bd07f23c 127772013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 12778
22af19f9
SP
12779 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12780 loop termination condition.
12781
4709fe76
SP
12782 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12783 variable to calculate EZ.
12784 (__sqr): Likewise.
2d0e0f29
SP
12785
12786 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12787 the lower precision input.
12788
daaa7713
JM
127892013-02-15 Joseph Myers <joseph@codesourcery.com>
12790
12791 [BZ #13550]
12792 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12793 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12794 (run-via-rtld-prefix): Do not handle %-bp tests.
12795 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12796 (all-object-suffixes): Remove .ob.
12797 (bppfx): Remove variable.
12798 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12799 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12800 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12801 [$(build-bounded) = yes] (libtype.ob): Likewise.
12802 * Makerules (elide-routines.ob): Remove variable.
12803 (do-tests-clean): Do not handle *-bp.out.
12804 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12805 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12806 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12807 (tests): Do not include $(tests-bp.out).
12808 (xtests): Do not include $(xtests-bp.out).
12809 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12810 [$(build-bounded) = yes] ($(addprefix
12811 $(objpfx),$(binaries-bounded))): Remove rule.
12812 ($(objpfx)%-bp.out): Remove rule.
12813 * config.make.in (build-bounded): Remove variable.
12814 * crypt/Makefile [$(build-bounded) = yes]
12815 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12816 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12817 append to variable.
12818 [$(build-bounded) = yes] (install-lib): Likewise.
12819 [$(build-bounded) = yes] (generated): Likewise.
12820 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12821 Remove rule.
12822 * intl/Makefile [$(build-bounded) = yes]
12823 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12824 * math/Makefile [$(build-bounded) = yes]
12825 ($(tests:%=$(objpfx)%-bp): Likewise.
12826 * misc/Makefile [$(build-bounded) = yes]
12827 ($(objpfx)tst-tsearch-bp): Likewise.
12828 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12829 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12830 Remove dependency.
12831 * string/Makefile (o-objects.ob): Remove variable.
12832 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12833 (CFLAGS-.ob): Remove variable.
12834 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12835 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12836 both definitions of variable.
12837 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12838 (ASFLAGS-.ob): Remove variable.
12839
e97ed6dd
JM
128402013-02-14 Joseph Myers <joseph@codesourcery.com>
12841
2bdd4ca6
JM
12842 [BZ #13550]
12843 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12844 Remove __BOUNDED_POINTERS__ from condition.
12845 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12846 * string/bits/string2.h [!__NO_STRING_INLINES &&
12847 !__BOUNDED_POINTERS__]: Likewise.
12848 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12849 Likewise.
12850 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12851 Remove conditional code.
12852 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12853 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12854 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12855 condition.
12856
e97ed6dd
JM
12857 [BZ #13550]
12858 * csu/libc-start.c: Do not include <bp-sym.h>.
12859 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12860 * elf/dl-open.c: Do not include <bp-sym.h>.
12861 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12862 * math/fegetenv.c: Do not include <bp-sym.h>.
12863 (fegetenv): Do not use BP_SYM in versioned symbols.
12864 * nptl/sysdeps/pthread/bits/libc-lockP.h
12865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12866 <bp-sym.h>.
12867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12868 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12870 (__pthread_mutex_destroy): Likewise.
12871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12872 (__pthread_mutex_lock): Likewise.
12873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12874 (__pthread_mutex_trylock): Likewise.
12875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12876 (__pthread_mutex_unlock): Likewise.
12877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12878 (__pthread_mutexattr_init): Likewise.
12879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12880 (__pthread_mutexattr_destroy): Likewise.
12881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12882 (__pthread_mutexattr_settype): Likewise.
12883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12884 (__pthread_rwlock_init): Likewise.
12885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12886 (__pthread_rwlock_destroy): Likewise.
12887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12888 (__pthread_rwlock_rdlock): Likewise.
12889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12890 (__pthread_rwlock_tryrdlock): Likewise.
12891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12892 (__pthread_rwlock_wrlock): Likewise.
12893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12894 (__pthread_rwlock_trywrlock): Likewise.
12895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12896 (__pthread_rwlock_unlock): Likewise.
12897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12898 (__pthread_key_create): Likewise.
12899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12900 (__pthread_setspecific): Likewise.
12901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12902 (__pthread_getspecific): Likewise.
12903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12904 Likewise.
12905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12906 (_pthread_cleanup_push_defer): Likewise.
12907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12908 (_pthread_cleanup_pop_restore): Likewise.
12909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12910 (pthread_setcancelstate): Likewise.
12911 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12912 <bp-sym.h>.
12913 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12914 (memchr): Do not use BP_SYM in weak_alias.
12915 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12916 (fegetenv): Do not use BP_SYM in versioned symbols.
12917 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12918 (fesetenv): Do not use BP_SYM in versioned symbols.
12919 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12920 (feupdateenv): Do not use BP_SYM in versioned symbols.
12921 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12922 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12923 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12924 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12925 (open64): Do not use BP_SYM in weak_alias.
12926 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12927 (fegetenv): Do not use BP_SYM in versioned symbols.
12928 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12929 (fesetenv): Do not use BP_SYM in versioned symbols.
12930 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12931 (feupdateenv): Do not use BP_SYM in versioned symbols.
12932 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12933 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12934 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12935 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12936 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12937 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12938 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12939 <bp-sym.h>.
12940 (__libc_start_main): Do not use BP_SYM.
12941
d6752ccd
SP
129422013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12943
cb57ce60
SP
12944 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12945 redundant return line.
12946 (norm): Likewise.
12947 (denorm): Likewise.
12948 (dbl_mp): Likewise.
12949 (sub_magnitudes): Likewise.
12950 (__add): Likewise.
12951 (__sub): Likewise.
12952 (__mul): Likewise.
12953 (__inv): Likewise.
12954 (__dvd): Likewise.
12955 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12956 (norm): Likewise.
12957 (denorm): Likewise.
12958 (dbl_mp): Likewise.
12959 (sub_magnitudes): Likewise.
12960 (__add): Likewise.
12961 (__sub): Likewise.
12962 (__mul): Likewise.
12963 (__inv): Likewise.
12964 (__dvd): Likewise.
12965
f414520d
SP
12966 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12967 instead of __mul.
12968 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12969 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12970 (cc32): Likewise.
12971
d6752ccd
SP
12972 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12973 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12974 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12975 of __mul for squares.
12976 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12977 function
12978 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12979 Likewise.
12980 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12981 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12982
70d9946a
JM
129832013-02-13 Joseph Myers <joseph@codesourcery.com>
12984
12985 [BZ #13550]
12986 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12987 code.
12988 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12989 prototype or function definition. Rename ubp_* variables and
12990 parameters. Remove argv definitions conditional on
12991 [__BOUNDED_POINTERS__].
12992 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12993 * elf/dl-runtime.c (_dl_fixup): Likewise.
12994 * include/set-hooks.h (RUN_HOOK): Likewise.
12995 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12996 definition.
12997 * string/strcpy.c (strcpy): Do not use __unbounded.
12998 * sysdeps/generic/frame.h (struct layout): Likewise.
12999 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13000 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13001 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13002 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13003 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13004 (__backtrace): Likewise.
13005 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13006 use __ptrvalue.
13007 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13008 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13009 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13010 Likewise.
13011 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13012 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13013 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13014 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13015 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13016 Do not use __unbounded.
13017 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13018 Rename __unboundedrlimits parameter to rlimits in prototype.
13019 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13020 Do not use __unbounded.
13021 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13022 not use __ptrvalue.
13023 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13024 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13025 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13026 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13027 __ptrvalue or __unbounded.
13028 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13029 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13030 use __unbounded.
13031 (__new_msgctl): Do not use __ptrvalue.
13032 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13033 __unbounded.
13034 (__libc_msgrcv): Do not use __ptrvalue.
13035 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13036 startup_info): Do not use __unbounded.
13037 (__libc_start_main): Likewise. Rename ubp_* variables and
13038 parameters. Remove argv definitions conditional on
13039 [__BOUNDED_POINTERS__].
13040 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13041 __ptrvalue.
13042 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13043 use __unbounded.
13044 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13045 or __ptrvalue.
13046 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13047 use __unbounded.
13048 (__new_shmctl): Do not use __ptrvalue.
13049 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13050 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13051 Likewise.
13052 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13053 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13054 (__libc_sigaction): Likewise.
13055 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13056 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13057 Likewise.
13058 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13059
cc7834d6
OB
130602013-02-13 Ondřej Bílka <neleai@seznam.cz>
13061
ffb1ec7b 13062 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
13063
13064 * string/mempcpy.c: Implement by calling memcpy.
13065
bdf02814
SP
130662013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13067
c2af38aa
SP
13068 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13069
4e92d59e
SP
13070 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13071 evaluation.
13072
909279a5
SP
13073 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13074 values in the mantissa.
13075
bdf02814
SP
13076 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13077 minimize writes to Z.
13078 (sub_magnitudes): Simplify code a bit.
13079
cd525923
RM
130802013-02-12 Roland McGrath <roland@hack.frob.com>
13081
13082 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13083 from the message. The linker prefixes all warnings with that already.
13084
7e2f0d2d
AS
130852013-02-12 Andreas Schwab <schwab@suse.de>
13086
a445af0b
AS
13087 [BZ #15078]
13088 * posix/regexec.c (extend_buffers): Add parameter min_len.
13089 (check_matching): Pass minimum needed length.
13090 (clean_state_log_if_needed): Likewise.
13091 (get_subexp): Likewise.
13092 * posix/Makefile (tests): Add bug-regex34.
13093 (bug-regex34-ENV): Define.
13094 * posix/bug-regex34.c: New file.
13095
7e2f0d2d
AS
13096 [BZ #11561]
13097 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13098 elements compare against the byte sequence of it, not its name.
13099 * posix/Makefile (tests): Add bug-regex35.
13100 (bug-regex35-ENV): Define.
13101 * posix/bug-regex35.c: New file.
13102
a175b684
TV
131032013-02-11 Tom de Vries <tom@codesourcery.com>
13104
13105 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13106 comment.
13107 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13108 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13109 (CHECK_EOL): Add undef.
13110
310998fe 131112013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
13112
13113 * bits/stdlib-bsearch.h: New file.
13114 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 13115 * stdlib/stdlib.h: Likewise.
41eda41d 13116
8ded91fb
RM
131172013-02-11 Roland McGrath <roland@hack.frob.com>
13118
13119 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13120 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13121 declaration.
13122 * manual/search.texi (Array Search Function): Add missing const in
13123 lfind prototype.
13124 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13125 declaration to use rlim_t.
13126 (Basic Scheduling Functions): Remove erroneous const from
13127 sched_getparam prototype. Remove erroneous * from
13128 sched_get_priority_max and sched_get_priority_min prototypes.
13129 (Resource Usage): Fix summary @comment on vtimes to refer to
13130 sys/vtimes.h rather than vtimes.h.
13131 Add missing *s in vtimes prototype.
13132 (Limits on Resources): Fix ulimit prototype to return long int.
13133 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13134 prototypes to use long int rather than double.
13135 (BSD Random): Fix initstate and setstate to use char *, not void *.
13136 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13137 prototype to make second argument 'struct aiocb64 *const[]'.
13138 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13139 (Status of AIO Operations): Remove erroneous const in aio_return and
13140 aio_return64 prototypes.
13141 (Synchronizing I/O): Fix sync prototype to return void.
13142 * manual/startup.texi (Suboptions): Remove an erroneous const in
13143 getsubopt prototype.
13144 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13145 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13146 use size_t rather than int.
13147 (Scanning All Users): Likewise for getpwent_r.
13148 (Setting Groups): Add missing const to setgroups prototype.
13149 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13150 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13151 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13152 'const void *' rather than 'const char *'.
13153 (Host Address Functions): Likewise for inet_ntop.
13154 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13155 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13156 ssize_t for return value.
13157 (Sending Data): Likewise for send, sendto, sendmsg.
13158 (Socket Option Functions): Add a missing const in setsockopt prototype.
13159 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13160 use wchar_t for the argument.
13161 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13162 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13163 take no arguments.
13164 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13165 double/float/long double for second argument.
13166 Fix return types of significand, significandf, significandl.
13167 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13168 argument in fchmod prototype.
13169 (File Owner): Use uid_t and gid_t in fchown prototype.
13170 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13171 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13172 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13173 use 'const struct dirent **' as argument types to CMP function pointer
13174 argument.
13175 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13176 (File Times): Fix summary magic @comment for struct utimbuf and utime
13177 to refer to utime.h, not time.h.
13178 * manual/string.texi (Argz Functions): Add missing const in
13179 argz_extract and argz_next prototypes.
13180 (Finding Tokens in a String): Likewise for basename.
13181 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13182 (Copying and Concatenation): Fix typo in wmemmove prototype.
13183 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13184 (Signal Stack): Remove erroneous const in sigstack prototype.
13185 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13186 prototype.
13187 (Simple Calendar Time): Likewise for stime.
13188 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13189 prototype.
13190 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13191 say sys/sysctl.h instead.
13192 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13193 and vsyslog prototypes.
13194
fe77fe6d
TV
131952013-02-11 Tom de Vries <tom@codesourcery.com>
13196
13197 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13198 Remove.
13199
3a09b620
RM
132002013-02-11 Roland McGrath <roland@hack.frob.com>
13201
13202 * misc/sys/mman.h: Fix typo in mremap comment.
13203
550a0b89
RM
132042013-02-08 Roland McGrath <roland@hack.frob.com>
13205
13206 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13207 the '\0' terminator.
13208
a2da1673
JM
132092013-02-08 Joseph Myers <joseph@codesourcery.com>
13210
13211 [BZ #13550]
13212 * debug/segfault.c: Don't include <bp-checks.h>.
13213 * sysdeps/generic/bp-checks.h: Remove file.
13214 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13215 (__GETDENTS): Don't use CHECK_N.
13216 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13217 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13218 (__getgroups): Don't use CHECK_N.
13219 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13220 (setgroups): Don't use CHECK_N.
13221 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13222 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13223 (__libc_msgrcv): Don't use CHECK_N.
13224 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13225 (__libc_msgsnd): Don't use CHECK_N.
13226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13227 <bp-checks.h>.
13228 (__libc_pread): Don't use CHECK_N.
13229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13230 include <bp-checks.h>.
13231 (__libc_pread64): Don't use CHECK_N.
13232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13233 include <bp-checks.h>.
13234 (__libc_pwrite): Don't use CHECK_N.
13235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13236 include <bp-checks.h>.
13237 (__libc_pwrite64): Don't use CHECK_N.
13238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13239 <bp-checks.h>.
13240 (__libc_pread): Don't use CHECK_N.
13241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13242 include <bp-checks.h>.
13243 (__libc_pread64): Don't use CHECK_N.
13244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13245 include <bp-checks.h>.
13246 (__libc_pwrite): Don't use CHECK_N.
13247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13248 include <bp-checks.h>.
13249 (__libc_pwrite64): Don't use CHECK_N.
13250 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13251 (do_pread): Don't use CHECK_N.
13252 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13253 (do_pread64): Don't use CHECK_N.
13254 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13255 (do_pwrite): Don't use CHECK_N.
13256 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13257 (do_pwrite64): Don't use CHECK_N.
13258 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13259 (__libc_readv): Don't use CHECK_N.
13260 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13261 (semop): Don't use CHECK_N.
13262 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13263 <bp-checks.h>.
13264 (semtimedop): Don't use CHECK_N.
13265 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13266 (__libc_pread): Don't use CHECK_N.
13267 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13268 <bp-checks.h>.
13269 (__libc_pread64): Don't use CHECK_N.
13270 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13271 <bp-checks.h>.
13272 (__libc_pwrite): Don't use CHECK_N.
13273 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13274 <bp-checks.h>.
13275 (__libc_pwrite64): Don't use CHECK_N.
13276 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13277 <bp-checks.h>.
13278 (__libc_msgrcv): Don't use CHECK_N.
13279 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13280 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13281 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13282 (__libc_writev): Don't use CHECK_N.
13283
b84660a8
RM
132842013-02-08 Roland McGrath <roland@hack.frob.com>
13285
7f3e75f8
RM
13286 * string/strcpy.c: Removed unused variable.
13287
b84660a8
RM
13288 * Makeconfig (+sysdep-includes): Define with := rather than =.
13289 Use an existing include/ subdir of each sysdeps dir before it.
13290
471514d3
CD
132912013-02-08 Carlos O'Donell <carlos@redhat.com>
13292
13293 * nscd/connection.c (register_traced_file): Comment function.
13294 [HAVE_INOTIFY] (union __inev): Define.
13295 [HAVE_INOTIFY] (inotify_check_files): New function.
13296 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13297 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13298 clear_db_cache.
13299 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13300
b2d3c3be
CD
133012013-02-08 Carlos O'Donell <carlos@redhat.com>
13302
13303 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13304 loaded if not already and that a failure is permanent.
13305
b39949d2
CD
133062013-02-08 Carlos O'Donell <carlos@redhat.com>
13307
ddacd1db 13308 [BZ #15006]
b39949d2
CD
13309 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13310 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13311
b2c9eff4
JM
133122013-02-08 Joseph Myers <joseph@codesourcery.com>
13313
f3aae3f3
JM
13314 [BZ #13550]
13315 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13316 (CHECK_1_NULL_OK): Likewise.
13317 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13318 (__fxstat): Do not use CHECK_1.
13319 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13320 <bp-checks.h>.
13321 (___fxstat64): Do not use CHECK_1.
13322 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13323 <bp-checks.h>.
13324 (__fxstatat): Do not use CHECK_1.
13325 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13326 <bp-checks.h>.
13327 (__fxstatat64): Do not use CHECK_1.
13328 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13329 <bp-checks.h>.
13330 (__fxstat): Do not use CHECK_1.
13331 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13332 <bp-checks.h>.
13333 (__fxstatat): Do not use CHECK_1.
13334 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13335 <bp-checks.h>.
13336 (__getresgid): Do not use CHECK_1.
13337 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13338 <bp-checks.h>.
13339 (__getresuid): Do not use CHECK_1.
13340 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13341 <bp-checks.h>.
13342 (__lxstat): Do not use CHECK_1.
13343 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13344 <bp-checks.h>.
13345 (__old_msgctl): Do not use CHECK_1.
13346 (__new_msgctl): Likewise.
13347 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13348 <bp-checks.h>.
13349 (__new_setrlimit): Do not use CHECK_1.
13350 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13351 <bp-checks.h>.
13352 (__old_shmctl): Do not use CHECK_1.
13353 (__new_shmctl): Likewise.
13354 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13355 <bp-checks.h>.
13356 (__xstat): Do not use CHECK_1.
13357 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13358 (__lxstat): Do not use CHECK_1.
13359 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13360 <bp-checks.h>.
13361 (___lxstat64): Do not use CHECK_1.
13362 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13363 (__old_msgctl): Do not use CHECK_1.
13364 (__new_msgctl): Likewise.
13365 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13366 <bp-checks.h>.
13367 (__gettimeofday): Do not use CHECK_1.
13368 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13369 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13370 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13371 <bp-checks.h>.
13372 (__gettimeofday): Do not use CHECK_1.
13373 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13374 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13375 (__new_shmctl): Do not use CHECK_1.
13376 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13377 <bp-checks.h>.
13378 (do_sigtimedwait): Do not use CHECK_1.
13379 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13380 <bp-checks.h>.
13381 (do_sigwaitinfo): Do not use CHECK_1.
13382 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13383 <bp-checks.h>.
13384 (msgctl): Do not use CHECK_1.
13385 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13386 <bp-checks.h>.
13387 (shmctl): Do not use CHECK_1.
13388 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13389 (ustat): Do not use CHECK_1.
13390 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13391 <bp-checks.h>.
13392 (__fxstat): Do not use CHECK_1.
13393 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13394 <bp-checks.h>.
13395 (__fxstatat): Do not use CHECK_1.
13396 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13397 <bp-checks.h>.
13398 (__lxstat): Do not use CHECK_1.
13399 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13400 <bp-checks.h>.
13401 (__xstat): Do not use CHECK_1.
13402 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13403 (__xstat): Do not use CHECK_1.
13404 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13405 (___xstat64): Do not use CHECK_1.
13406
b2c9eff4
JM
13407 [BZ #13550]
13408 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13409 definitions.
13410 (CHECK_BOUNDS_HIGH): Likewise.
13411 * string/strcpy.c: Do not include <bp-checks.h>.
13412 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13413
f1d70dad
RM
134142013-02-07 Roland McGrath <roland@hack.frob.com>
13415
13416 * nscd/nscd-client.h (__nscd_drop_map_ref):
13417 Add __attribute__ ((unused)).
13418 * nis/nss-nisplus.h (niserr2nss): Likewise.
13419
13420 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13421 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13422
13423 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13424 Remove inline keyword.
13425 * include/rounding-mode.h (round_away): Likewise.
13426 * libio/wfileops.c (adjust_wide_data): Likewise.
13427 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13428 (__m128i_strloadu_tolower): Likewise.
13429 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13430 (__m128i_strloadu_tolower): Likewise.
13431 * time/mktime.c (ydhms_diff): Likewise.
13432 * locale/elem-hash.h (elem_hash): Likewise.
13433 * locale/setlocale.c (setdata): Likewise.
13434 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13435 (re_string_wchar_at): Likewise.
13436 (bitset_not, bitset_merge, bitset_mask): Likewise.
13437 [!(__GNUC__ > 3)] (inline): Remove macro.
13438 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13439 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13440 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13441 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13442 * string/memcmp.c (memcmp_bytes): Likewise.
13443 * locale/programs/locarchive.c (compute_hashval): Likewise.
13444 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13445 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13446 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13447 * nss/getent.c (print_rpc, print_protocols): Likewise.
13448 (print_passwd, print_group, print_aliases): Likewise.
13449 * nis/nss-nisplus.h (niserr2nss): Likewise.
13450 * nscd/connections.c (restart_p): Likewise.
13451 Change return type to bool.
13452
eab55bfb
RM
134532013-02-05 Roland McGrath <roland@hack.frob.com>
13454
7bd642f5
RM
13455 * Makeconfig (all-Depend-files): Add existing
13456 $(sorted-subdirs:=/Depend) files.
13457 (all-subdirs): Remove nss.
13458 * sysdeps/unix/inet/Subdirs: Add it here instead.
13459 * hesiod/Depend: New file.
13460
573c29b2
RM
13461 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13462 instead of calling alloca.
13463
b2e25af0
RM
13464 * io/lseek.c (__lseek): Rename to __libc_lseek.
13465 Define __lseek as an alias.
13466
eab55bfb
RM
13467 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13468
9a0d1941
CD
134692013-02-04 Carlos O'Donell <carlos@redhat.com>
13470
13471 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13472 else clause and remove check for non-standard endianness.
13473
b83bbec4
DM
134742013-02-04 David S. Miller <davem@davemloft.net>
13475
13476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13477
6277fdab
JM
134782013-02-04 Joseph Myers <joseph@codesourcery.com>
13479
13480 [BZ #13550]
13481 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13482 (__ubp_memchr): Remove prototype.
13483 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13484 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13485 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13486 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13487 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13488 Remove alias.
13489 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13490 (__ubp_memchr): Likewise.
13491 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13492 (__ubp_memchr): Likewise.
13493 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13494 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13495 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13496 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13497 CHECK_STRING.
13498 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13499 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13500 (__getcwd): Do not use CHECK_STRING.
13501 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13502 <bp-checks.h>.
13503 (__real_chown): Do not use CHECK_STRING.
13504 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13505 <bp-checks.h>.
13506 (fchownat): Do not use CHECK_STRING.
13507 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13508 CHECK_STRING.
13509 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13510 <bp-checks.h>.
13511 (__lchown): Do not use CHECK_STRING.
13512 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13513 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13514 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13515 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13517 include <bp-checks.h>.
13518 (truncate64): Do not use CHECK_STRING.
13519 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13520 <bp-checks.h>.
13521 (__real_chown): Do not use CHECK_STRING.
13522 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13523 <bp-checks.h>.
13524 (__lchown): Do not use CHECK_STRING.
13525 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13526 <bp-checks.h>.
13527 (__chown): Do not use CHECK_STRING.
13528 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13529 <bp-checks.h>.
13530 (truncate64): Do not use CHECK_STRING.
13531 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13532 Likewise.
13533 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13534 (__xmknod): Do not use CHECK_STRING.
13535 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13536 <bp-checks.h>.
13537 (__xmknodat): Do not use CHECK_STRING.
13538 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13539 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13540
903ae060
AS
135412013-02-04 Andreas Schwab <schwab@suse.de>
13542
13543 [BZ #14142]
13544 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13545 * include/netdb.h: Likewise for h_errno.
13546 * elf/tst-stackguard1.c: Include <tls.h>.
13547
542f9466
JK
135482013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13549
13550 * elf/link.h (struct link_map): Extend the l_addr comment.
13551 * include/link.h (struct link_map): Likewise.
13552
e782a927
JM
135532013-02-01 Joseph Myers <joseph@codesourcery.com>
13554
13555 [BZ #13550]
13556 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13557 (BOUNDED_1): Remove macro.
13558 * debug/backtrace.c: Don't include <bp-checks.h>.
13559 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13560 (__backtrace): Likewise.
13561 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13562 <bp-checks.h>.
13563 (__backtrace): Don't use BOUNDED_1.
13564 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13565 <bp-checks.h>.
13566 (__backtrace): Don't use BOUNDED_1.
13567 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13568 (__backtrace): Don't use BOUNDED_1.
13569 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13570 (shmat): Don't use BOUNDED_N.
13571
8cf28c5e
JM
135722013-01-31 Joseph Myers <joseph@codesourcery.com>
13573
3a7ac8a0
JM
13574 [BZ #13550]
13575 * sysdeps/generic/bp-start.h: Remove file.
13576 * csu/libc-start.c: Don't include <bp-start.h>.
13577 (LIBC_START_MAIN): Set up __environ directly instead of using
13578 INIT_ARGV_and_ENVIRON.
13579 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13580 <bp-start.h>.
13581
f3499f95
JM
13582 [BZ #13550]
13583 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13584 definitions.
13585 (CHECK_FCNTL): Likewise.
13586 (CHECK_N_PAGES): Likewise.
13587
32a45bea
JM
13588 [BZ #13550]
13589 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13590 definitions.
13591 (CHECK_SIGSET_NULL_OK): Likewise.
13592 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13593 <bp-checks.h>.
13594 (sigpending): Don't use CHECK_SIGSET.
13595 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13596 <bp-checks.h>.
13597 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13598 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13599 <bp-checks.h>.
13600 (do_sigsuspend): Don't use CHECK_SIGSET.
13601 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13602 use CHECK_SIGSET.
13603 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13604 (do_sigwait): Don't use CHECK_SIGSET.
13605 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13606 use CHECK_SIGSET.
13607 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13608 include <bp-checks.h>.
13609 (sigpending): Don't use CHECK_SIGSET.
13610 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13611 include <bp-checks.h>.
13612 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13613 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13614 <bp-checks.h>.
13615 (sigpending): Don't use CHECK_SIGSET.
13616 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13617 <bp-checks.h>.
13618 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13619
2e8a5c8c
JM
13620 [BZ #13550]
13621 * sysdeps/generic/bp-semctl.h: Remove file.
13622 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13623 <bp-checks.h> and <bp-semctl.h>.
13624 (__old_semctl): Don't use CHECK_SEMCTL.
13625 (__new_semctl): Likewise.
13626 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13627 and <bp-semctl.h>.
13628 (__old_semctl): Don't use CHECK_SEMCTL.
13629 (__new_semctl): Likewise.
13630 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13631 <bp-checks.h> and <bp-semctl.h>.
13632 (__old_semctl): Don't use CHECK_SEMCTL.
13633 (__new_semctl): Likewise.
13634 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13635 <bp-checks.h> and <bp-semctl.h>.
13636 (semctl): Don't use CHECK_SEMCTL.
13637
c2d54929
JM
13638 [BZ #13550]
13639 * Makerules (elide-bp-thunks): Remove variable.
13640 (elide-routines.oS): Don't use $(elide-bp-thunks).
13641 (elide-routines.os): Likewise.
13642 (elide-routines.o): Likewise.
13643 (elide-routines.op): Likewise.
13644 (elide-routines.og): Likewise.
13645 (objects): Don't use $(bp-thunks).
13646 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13647 include.
13648 (common-generated): Do not add s-proto-bp.d.
13649 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13650 (int): Likewise.
13651 (typ): Likewise.
13652 Do not generate makefile rules for bounded-pointer thunks.
13653 * sysdeps/generic/bp-thunks.h: Remove file.
13654 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13655 * sysdeps/unix/s-proto-bp.S: Likewise.
13656
8cf28c5e
JM
13657 [BZ #15062]
13658 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13659 parts of result separately when argument is not close to line from
13660 -i to i and one part of argument is small.
13661 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13662 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13663 * math/libm-test.inc (cacos_test): Add more tests.
13664 (casin_test): Likewise.
13665 (casinh_test): Likewise.
13666 * sysdeps/i386/fpu/libm-test-ulps: Update.
13667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13668
c4e33b8d
DM
136692013-01-31 David S. Miller <davem@davemloft.net>
13670
13671 * po/de.po: Update from translation team.
13672
3b60b421
MK
136732013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13674
13675 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13676
bb931195
TS
136772013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13678
b5a5da23
TS
13679 * configure.in (_AC_PROG_CC_C89): New definition.
13680 * configure: Regenerate.
13681
bb931195
TS
13682 * configure.in (AC_PROG_CPP): New definition.
13683 * configure: Regenerate.
13684
8c53a12c
JM
136852013-01-23 Joseph Myers <joseph@codesourcery.com>
13686
13687 * debug/tst-backtrace.h: New file.
13688 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13689 (ret): Remove variable.
13690 (x): Likewise.
13691 (FAIL): Remove macro.
13692 (NO_INLINE): Likewise.
13693 (fn1): Use match function instead of strstr.
13694 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13695 (ret): Remove variable.
13696 (x): Likewise.
13697 (FAIL): Remove macro.
13698 (NO_INLINE): Likewise.
13699 (fn): Use match function instead of strstr.
13700 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13701 (ret): Remove variable.
13702 (x): Likewise.
13703 (FAIL): Remove macro.
13704 (NO_INLINE): Likewise.
13705 (handle_signal): Use match function instead of strstr.
13706 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13707 (ret): Remove variable.
13708 (x): Likewise.
13709 (FAIL): Remove macro.
13710 (NO_INLINE): Likewise.
13711 (handle_signal): Use match function instead of strstr.
13712
4858fa2a
RM
137132013-01-23 Roland McGrath <roland@hack.frob.com>
13714
13715 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13716
bae8e7f5
DM
137172013-01-23 David S. Miller <davem@davemloft.net>
13718
13719 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13720 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13721 argument of CAS if possible.
13722 * sysdeps/sparc/sparc64/bits/atomic.h
13723 (__arch_compare_and_exchange_val_32_acq): Likewise.
13724 (__arch_compare_and_exchange_val_64_acq): Likewise.
13725
9cbbc4ae
PT
137262013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13727
13728 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13729 * sysdeps/posix/ulimit.c: ... this.
92a601b8 13730 Include <limits.h>.
67b3f58c 13731 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 13732
5655a0b5
AC
137332013-01-23 Adam Conrad <adconrad@0c3.net>
13734
13735 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13736 (LDFLAGS-tst-array5): Likewise.
13737
052aff95
JM
137382013-01-23 Joseph Myers <joseph@codesourcery.com>
13739
13740 [BZ #15036]
13741 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13742 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13743 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13744 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13745
7c1e01aa
DM
137462013-01-21 David S. Miller <davem@davemloft.net>
13747
13748 * sysdeps/sparc/backtrace.c: New file.
13749 * sysdeps/sparc/sparc32/backtrace.h: New file.
13750 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13751 * sysdeps/sparc/sparc64/backtrace.h: New file.
13752 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13753 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13754 -funwind-tables.
13755
ab087e0a
AS
137562013-01-21 Andreas Schwab <schwab@suse.de>
13757
13758 [BZ #15020]
13759 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13760 closed its stdout.
13761
ed689c2f
AS
137622013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13763
13764 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13765 "mpa2.h".
13766 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13767
31d470ac
JM
137682013-01-18 Joseph Myers <joseph@codesourcery.com>
13769 Mark Mitchell <mark@codesourcery.com>
13770 Tom de Vries <tom@codesourcery.com>
13771 Paul Pluzhnikov <ppluzhnikov@google.com>
13772
13773 * debug/tst-backtrace2.c: New file.
13774 * debug/tst-backtrace3.c: Likewise.
13775 * debug/tst-backtrace4.c: Likewise.
13776 * debug/tst-backtrace5.c: Likewise.
13777 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13778 (CFLAGS-tst-backtrace3.c): Likewise.
13779 (CFLAGS-tst-backtrace4.c): Likewise.
13780 (CFLAGS-tst-backtrace5.c): Likewise.
13781 (LDFLAGS-tst-backtrace2): Likewise.
13782 (LDFLAGS-tst-backtrace3): Likewise.
13783 (LDFLAGS-tst-backtrace4): Likewise.
13784 (LDFLAGS-tst-backtrace5): Likewise.
13785 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13786 tst-backtrace4 and tst-backtrace5.
13787
90567f30 137882013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
13789 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13790
13791 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13792 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13793 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13794 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13796 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13797 "+r" and remove output regs list as redundant. Add explicit inline
13798 asm to specify register of return val to work around compiler codegen
13799 bug. Remove (int) cast on return value. Add return type parameter to
13800 use in macro so that this macro does not truncate return value for
13801 64-bit values.
13802 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13803 pass to INTERNAL_VSYSCALL_NCS.
13804 (INLINE_VSYSCALL): Add 'long int' as return type to
13805 INTERNAL_VSYSCALL_NCS macro invocation.
13806 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13807 INTERNAL_VSYSCALL_NCS macro invocation.
13808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13809
d3b9ea61
SP
138102013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13811
0b57daeb
SP
13812 [BZ #14496]
13813 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13814 Fix application of SIMD FP exception mask.
13815
caa99d06
SP
13816 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13817 mp_no from a power of two.
13818 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13819 __mpexp_twomm1. Use __pow_mp.
13820
d3b9ea61
SP
13821 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13822 multiplication.
13823
1dbaee3c
DM
138242013-01-17 David S. Miller <davem@davemloft.net>
13825
13826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13827
728d7b43
JM
138282013-01-17 Joseph Myers <joseph@codesourcery.com>
13829
13830 [BZ #15023]
13831 * include/complex.h: Condition contents on [!_COMPLEX_H].
13832 (__kernel_casinhf): New prototype.
13833 (__kernel_casinh): Likewise.
13834 (__kernel_casinhl): Likewise.
13835 * math/Makefile (libm_calls): Add k_casinh.
13836 * math/k_casinh.c: New file.
13837 * math/k_casinhf.c: Likewise.
13838 * math/k_casinhl.c: Likewise.
13839 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13840 finite nonzero arguments.
13841 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13842 finite nonzero arguments.
13843 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13844 finite nonzero arguments.
13845 * math/s_casinh.c: Do not include <float.h>.
13846 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13847 * math/s_casinhf.c: Do not include <float.h>.
13848 (__casinhf): Move code for finite nonzero arguments to
13849 k_casinhf.c.
13850 * math/s_casinhl.c: Do not include <float.h>.
13851 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13852 redefine.
13853 (__casinhl): Move code for finite nonzero arguments to
13854 k_casinhl.c.
13855 * math/libm-test.inc (cacos_test): Add more tests.
13856 * sysdeps/i386/fpu/libm-test-ulps: Update.
13857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13858
2a26ef3a
PT
138592013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13860
13861 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13862 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13863 [!HAVE_MREMAP]: Remove [defined linux] case.
13864 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13865
a897655d
SP
138662013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13867
13868 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13869
881ebe89 138702013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
13871
13872 * elf/elf.h (R_386_SIZE32): New relocation.
13873 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13874 R_386_SIZE32.
13875 (elf_machine_rela): Likewise.
13876 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13877 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13878
59981e9b
JM
138792013-01-17 Joseph Myers <joseph@codesourcery.com>
13880
13881 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13882 (FP_FAST_FMA): Do not define.
13883 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13884 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13885 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13886 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13887 !_SOFT_FLOAT]: Likewise.
13888 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13889 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13890 value.
13891 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13892 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13893 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13894 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13895 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13896 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13897 file.
13898
cfa8054f
AS
138992013-01-16 Andreas Schwab <schwab@suse.de>
13900
13901 [BZ #14327]
13902 * include/stdlib.h (__mktemp): Add declaration.
13903 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13904 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13905
dd930cc5
SP
139062013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13907
881ebe89
SP
13908 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13909 definitions.
13910 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13911 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13912 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13913 definitions here.
13914 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13915 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13916 definitions.
13917 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13918 and ONE.
13919 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13920 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13921 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13922 definitions.
13923 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13924 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13925 definitions.
13926 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 13927
dd930cc5
SP
13928 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13929
c19a9f89
DM
139302013-01-15 David S. Miller <davem@davemloft.net>
13931
1aa61767
DM
13932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13933 trunc{,f} to libm-sysdep_routes.
13934 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13936 file.
13937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13939 file.
13940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13941 file.
13942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13944 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13945 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13946 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13947 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13948 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13949 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13950
c42d5e98
DM
13951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13952 nearbyint{,f} to libm-sysdep_routes.
13953 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13955 New file.
13956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13957 file.
13958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13959 New file.
13960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13961 file.
13962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13964 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13965 file.
13966 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13967 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13968 file.
13969 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13970 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13971 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13972
c19a9f89
DM
13973 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13974 libc_feholdexcept and libc_fesetenv.
13975
357679d2
MF
139762013-01-15 Mike Frysinger <vapier@gentoo.org>
13977
13978 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13979
65a82e3d
DM
139802013-01-14 David S. Miller <davem@davemloft.net>
13981
8b954ab9
DM
13982 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13983 (SPARC_ASM_VIS2_IFUNC): Likewise.
13984 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13986 use of 'siam' instruction.
13987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13988 Likewise.
13989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13990 Likewise.
13991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13992 Likewise.
13993 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13994 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13995 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13996 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13998 file.
13999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14000 file.
14001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14002 file.
14003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14004 file.
14005 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14006 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14007 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14008 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14010 new VIS2 routines.
14011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14014 Likewise.
14015 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14016 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14017 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14018 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14020 routines to libm-sysdep_routines.
14021 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14022
65a82e3d
DM
14023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14024 fdim/fdimf to libm-sysdep_routines.
14025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14026 file.
14027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14029 file.
14030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14033 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14034 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14035 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14036 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14037
e34ab705
SP
140382013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14039
2a91b573
SP
14040 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14041 to optimize copies.
14042
1066a534
SP
14043 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14044 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14045 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14046
e34ab705
SP
14047 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14048 local variable MPTWO.
14049 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14050 Likewise.
14051
aba5e596
MF
140522013-01-13 Mike Frysinger <vapier@gentoo.org>
14053
14054 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14055 GLOB_NOESCAPE.
14056
e557e9e5
MF
140572013-01-13 Mike Frysinger <vapier@gentoo.org>
14058
14059 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14060
0428cec9
MF
140612013-01-13 Mike Frysinger <vapier@gentoo.org>
14062
14063 * manual/pattern.texi (glob_t): Document gl_flags.
14064 (glob64_t): Likewise.
14065
8794a964
DM
140662013-01-11 David S. Miller <davem@davemloft.net>
14067
66438c3f
RM
14068 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14069 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14070 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
14071 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14072 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14073 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14074 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14075 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14076 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14077 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14078 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14079 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14080 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14081
4ae4244d
DM
14082 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14083 sparc V9 rather than using V8 code.
14084 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14085 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14086
8794a964
DM
14087 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14088 Move to...
14089 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14090 Here.
14091
6270516e
RM
140922013-01-11 Roland McGrath <roland@hack.frob.com>
14093
14094 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14095 not in the main loop.
14096 * configure: Regenerated.
14097
6a57d931
JM
140982013-01-11 Joseph Myers <joseph@codesourcery.com>
14099
14100 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14101 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14102 to just #else.
14103 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14104 [!__GLIBC_HAVE_LONG_LONG] case.
14105 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14106 condition to just #else.
14107 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14108 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14109 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14110 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14111 unconditional.
14112 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14113 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14114 #elif condition to just #else.
14115 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14116 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14117 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14118 #elif condition to just #else.
14119
0e8529e9
SE
141202013-01-11 Steve Ellcey <sellcey@mips.com>
14121
14122 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14123 (EF_MIPS_ARCH_64): Fix value.
14124 (EF_MIPS_ARCH_32R2): New.
14125 (EF_MIPS_ARCH_64R2): New.
14126
740b3dbe
L
141272013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14128
14129 * Makeconfig (+link-pie-before-libc): New.
14130 (+link-pie-after-libc): Likewise.
14131 (+link-pie-tests): Likewise.
14132 (+link-pie): Rewritten.
14133 (link-before-libc): Remove $(config-LDFLAGS).
14134 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14135 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14136 (config-LDFLAGS): Renamed to ...
14137 (rtld-LDFLAGS): This.
14138 (rtld-tests-LDFLAGS): New macro.
14139 (link-libc-rpath-link): Likewise.
14140 (link-libc-tests-rpath-link): Likewise.
14141 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14142 (link-libc): Prepand $(link-libc-rpath-link).
14143 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14144 (test-program-prefix): New macro.
14145 (test-via-rtld-prefix): Likewise.
14146 (test-program-cmd): Likewise.
14147 (host-test-program-cmd): Likewise.
14148 * Makefile ($(common-objpfx)testrun.sh): Replace
14149 $(run-program-prefix) with $(test-program-prefix).
14150 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14151 $(rtld-LDFLAGS).
14152 ($(common-objpfx)shlib.lds): Likewise.
14153 (build-module-helper): Likewise.
14154 ($(common-objpfx)format.lds): Likewise.
14155 * Rules (binaries-pie-tests): New.
14156 (binaries-pie-notests): Likewise.
14157 (binaries-pie): Rewritten.
14158 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14159 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14160 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14161 (make-test-out): Replace $(host-built-program-cmd) with
14162 $(host-test-program-cmd).
14163 * config.make.in (build-hardcoded-path-in-tests): New variable.
14164 * configure.in (--enable-hardcoded-path-in-tests): New configure
14165 option.
14166 (hardcoded_path_in_tests): New AC_SUBST.
14167 * configure: Regenerated.
14168 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14169 $(built-program-cmd) with $(test-program-cmd).
14170 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14171 (test_program_cmd): This.
14172 * elf/Makefile ($(objpfx)order.out): Run test with
14173 $(test-program-prefix).
14174 ($(objpfx)order2.out): Likewise.
14175 ($(objpfx)tst-initorder.out): Likewise.
14176 ($(objpfx)tst-initorder2.out): Likewise.
14177 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14178 $(test-program-cmd).
14179 ($(objpfx)tst-array1-static.out): Likewise.
14180 ($(objpfx)tst-array2.out): Likewise.
14181 ($(objpfx)tst-array3.out): Likewise.
14182 ($(objpfx)tst-array4.out): Likewise.
14183 ($(objpfx)tst-array5.out): Likewise.
14184 ($(objpfx)tst-array5-static.out): Likewise.
14185 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14186 $(test-program-cmd).
14187 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14188 $(run-program-prefix) with $(test-program-prefix).
14189 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14190 (test_program_prefix): This.
14191 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14192 $(run-program-prefix) with $(test-program-prefix).
14193 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14194 (test_program_prefix): This.
14195 * iconvdata/tst-tables.sh: Likewise.
14196 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14197 $(run-program-prefix) with $(test-program-prefix).
14198 ($(objpfx)tst-translit.out): Likewise.
14199 ($(objpfx)tst-gettext2.out): Likewise.
14200 ($(objpfx)tst-gettext4.out): Likewise.
14201 ($(objpfx)tst-gettext6.out): Likewise.
14202 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14203 (test_program_prefix): This.
14204 * intl/tst-gettext2.sh: Likewise.
14205 * intl/tst-gettext4.sh Likewise.
14206 * intl/tst-gettext6.sh: Likewise.
14207 * intl/tst-translit.sh: Likewise.
14208 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14209 with $(test-program-cmd).
14210 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14211 $(run-program-prefix) with $(test-program-prefix).
14212 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14213 (test_program_prefix): This.
14214 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14215 $(run-program-prefix) with $(test-program-prefix).
14216 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14217 (test_program_prefix): This.
14218 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14219 * posix/Makefile ($(objpfx)globtest.out): Replace
14220 $(run-via-rtld-prefix) and $(test-wrapper) with
14221 $(test-program-prefix) and $(test-via-rtld-prefix).
14222 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14223 $(test-program-prefix).
14224 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14225 $(host-test-program-cmd).
14226 (tst-spawn-ARGS): Likewise.
14227 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14228 $(test-program-prefix).
14229 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14230 (test_via_rtld_prefix): This.
14231 (test_wrapper): Renamed to ...
14232 (test_program_prefix): This.
14233 (run_program_prefix): Replaced by test_program_prefix.
14234 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14235 (test_program_prefix): This.
14236 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14237 with $(host-test-program-cmd).
14238 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14239 $(run-program-prefix) with $(test-program-prefix).
14240 ($(objpfx)tst-printf.out): Likewise.
14241 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14242 $(test-program-cmd).
14243 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14244 (test_program_prefix): This.
14245 * stdio-common/tst-unbputc.sh: Likewise.
14246 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14247 $(run-program-prefix) with $(test-program-prefix).
14248 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14249 (test_program_prefix): This.
14250 * string/Makefile ($(objpfx)tst-svc.out): Replace
14251 $(built-program-cmd) with $(test-program-cmd).
14252
c6fe55cf
AJ
142532013-01-11 Andreas Jaeger <aj@suse.de>
14254
14255 [BZ #15003]
14256 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14257 value. Sync with Linux 3.7.
14258
9e6919c8
DM
142592013-01-10 David S. Miller <davem@davemloft.net>
14260
14261 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14262 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14263 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14264
1c9f1a02
RM
142652013-01-10 Roland McGrath <roland@hack.frob.com>
14266
14267 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14268 never set.
14269 * configure: Regenerated.
14270
b9de2dde
DM
142712013-01-10 David S. Miller <davem@davemloft.net>
14272
14273 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14274 sparc V9 rather than using V8 code.
14275 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14276 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14277
e7f68ef4
RM
142782013-01-10 Roland McGrath <roland@hack.frob.com>
14279
14280 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14281 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14282 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14283 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14284 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14285 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14286 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14287 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14288 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14289 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14290 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14291 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14292 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14293 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14294 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14295 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14296 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14297 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14298 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14299 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14300 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14301 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14302 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14303 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14304 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14305 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14306 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14307
5a47cc9c
DM
143082013-01-10 David S. Miller <davem@davemloft.net>
14309
14310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14311
4cf8f209
L
143122013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14313
14314 * posix/Makefile (tests-static): New variable.
14315 (tests): Add $(tests-static).
14316 (tst-exec-static-ARGS): New variable.
14317 (tst-spawn-static-ARGS): Likewise.
14318 * posix/tst-exec-static.c: New file.
14319 * posix/tst-spawn-static.c: Likewise.
14320 * posix/tst-exec.c: Support run directly.
14321 * posix/tst-spawn.c: Likewise.
14322
fed0faa1
JM
143232013-01-10 Joseph Myers <joseph@codesourcery.com>
14324
828beb13
JM
14325 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14326 long.
14327 * math/bits/mathcalls.h (llrint): Likewise.
14328 (llround): Likewise.
14329 * stdlib/stdlib.h (struct drand48_data): Likewise.
14330 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14331 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14332 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14333 Likewise.
14334 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14335 Likewise.
14336 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14337 (elf_greg_t): Likewise.
14338 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14339 (__jmp_buf): Likewise.
14340 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14341 definitions.
14342 (llrint): Likewise, for all definitions.
14343 (llrintl): Likewise.
14344
fed0faa1
JM
14345 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14346 Remove [__GNUC__] condition.
14347 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14348 condition to just [__USE_ISOC99].
14349 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14350
1a20cb20
L
143512013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14352
14353 [BZ #14200]
14354 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14355 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14356 defined.
14357 (_POSIX_V6_ILP32_OFF32): Likewise.
14358 (_XBS5_ILP32_OFF32): Likewise.
14359 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14360 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14361
751b85f7
SP
143622013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14363
7490eb81
SP
14364 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14365
751b85f7
SP
14366 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14367 doubles __mpexp_twomm1. Adjust usage.
14368 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14369 Remove.
14370
988197f0
AS
143712013-01-10 Andreas Schwab <schwab@suse.de>
14372
14373 [BZ #14964]
14374 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14375 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14376
e83d7298
DM
143772013-01-09 David S. Miller <davem@davemloft.net>
14378
034ed64b 14379 [BZ #15003]
e83d7298
DM
14380 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14381 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14382 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14383 TCP_FASTOPEN): Define.
14384 (tcp_repair_opt): New structure.
14385 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14386 enum values.
14387 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14388 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14389 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14390 (tcp_cookie_transactions): New structure.
14391
d5e0b9bd
AB
143922013-01-09 Anton Blanchard <anton@samba.org>
14393
14394 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14395 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14396 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14397 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14398
0c07e3ea
JM
143992013-01-09 Joseph Myers <joseph@codesourcery.com>
14400
14401 * include/features.h (__USE_ANSI): Remove.
14402
232f7002
RM
144032013-01-09 Roland McGrath <roland@hack.frob.com>
14404
ad98e30c
RM
14405 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14406
232f7002
RM
14407 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14408
950c99ca
SP
144092013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14410
b5792741
SP
14411 * sysdeps/s390/fpu/libm-test-ulps: Update.
14412
47cf2278
SP
14413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14414
950c99ca
SP
14415 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14416 (__acr): Likewise.
14417 (__cpy): Likewise.
14418 (norm): Likewise.
14419 (denorm): Likewise.
14420 (__mp_dbl): Likewise.
14421 (__dbl_mp): Likewise.
14422 (add_magnitudes): Likewise.
14423 (sub_magnitudes): Likewise.
14424 (__add): Likewise.
14425 (__sub): Likewise.
14426 (__mul): Likewise.
14427 (__inv): Likewise.
14428 (__dvd): Likewise.
14429 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14430 (__acr): Likewise.
14431 (__cpy): Likewise.
14432 (norm): Likewise.
14433 (denorm): Likewise.
14434 (__mp_dbl): Likewise.
14435 (__dbl_mp): Likewise.
14436 (add_magnitudes): Likewise.
14437 (sub_magnitudes): Likewise.
14438 (__add): Likewise.
14439 (__sub): Likewise.
14440 (__mul): Likewise.
14441 (__inv): Likewise.
14442 (__dvd): Likewise.
14443 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14444 (__acr): Likewise.
14445 (__cpy): Likewise.
14446 (norm): Likewise.
14447 (denorm): Likewise.
14448 (__mp_dbl): Likewise.
14449 (__dbl_mp): Likewise.
14450 (add_magnitudes): Likewise.
14451 (sub_magnitudes): Likewise.
14452 (__add): Likewise.
14453 (__sub): Likewise.
14454 (__mul): Likewise.
14455 (__inv): Likewise.
14456 (__dvd): Likewise.
14457
eede9df9
JM
144582013-01-08 Joseph Myers <joseph@codesourcery.com>
14459
14460 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14461 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14462 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14463 2 && __USE_EXTERN_INLINES]: Likewise.
14464
c40ea3d9
AJ
144652013-01-08 Andreas Jaeger <aj@suse.de>
14466
14467 [BZ# 14985]
14468 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14469 Remove.
14470 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14471 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14472
2ccdea26
AB
144732013-01-07 Anton Blanchard <anton@samba.org>
14474
14475 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14476 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14477 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14478 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14479 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14480 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14481 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14482 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14484 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14485 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14486 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14487 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14488 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14489 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14490 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14491 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14492 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14493 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14494 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14495 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14496 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14497 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14498 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14499 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14500 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14501 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14502 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14503 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14504 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14505 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14506 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14507 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14508 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14509 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14510 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14511 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14512 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14513 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14514 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14515 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14516 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14517 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14518
a9708fed
JM
145192013-01-07 Joseph Myers <joseph@codesourcery.com>
14520
375607b9
JM
14521 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14522 (__MALLOC_PMT): Likewise.
14523 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14524 [__GNUC__], only on [_LIBC].
14525 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14526 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14527 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14528 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14529 forward declaration.
14530 (realloc_hook_ini): Likewise.
14531 (memalign_hook_ini): Likewise.
14532 (__libc_memalign): Do not use __MALLOC_PMT in variable
14533 declaration.
14534 (__libc_valloc): Likewise.
14535 (__libc_pvalloc): Likewise.
14536 (__libc_calloc): Likewise.
14537 (__posix_memalign): Likewise.
14538
a9708fed
JM
14539 [BZ #14996]
14540 * math/s_casinh.c: Include <float.h>.
14541 (__casinh): Do not do computation with squaring and square root
14542 for large arguments.
14543 * math/s_casinhf.c: Include <float.h>.
14544 (__casinhf): Do not do computation with squaring and square root
14545 for large arguments.
14546 * math/s_casinhl.c: Include <float.h>.
14547 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14548 (__casinhl): Do not do computation with squaring and square root
14549 for large arguments.
14550 * math/libm-test.inc (casin_test): Add more tests.
14551 (casinh_test): Likewise.
14552 * sysdeps/i386/fpu/libm-test-ulps: Update.
14553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14554
afec409a
L
145552013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14556
14557 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14558 (__x86_64_raw_data_cache_size): Likewise.
14559 (__x86_64_data_cache_size_half): Likewise.
14560 (__x86_64_raw_data_cache_size_half): Likewise.
14561 (__x86_64_shared_cache_size): Likewise.
14562 (__x86_64_raw_shared_cache_size): Likewise.
14563 (__x86_64_shared_cache_size_half): Likewise.
14564 (__x86_64_raw_shared_cache_size_half): Likewise.
14565 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14566 to ...
14567 (__x86_data_cache_size): This.
14568 (__x86_64_raw_data_cache_size): Renamed to ...
14569 (__x86_raw_data_cache_size): This.
14570 (__x86_64_data_cache_size_half): Renamed to ...
14571 (__x86_data_cache_size_half): This.
14572 (__x86_64_raw_data_cache_size_half): Renamed to ...
14573 (__x86_raw_data_cache_size_half): This.
14574 (__x86_64_shared_cache_size): Renamed to ...
14575 (__x86_shared_cache_size): This.
14576 (__x86_64_raw_shared_cache_size): Renamed to ...
14577 (__x86_raw_shared_cache_size): This.
14578 (__x86_64_shared_cache_size_half): Renamed to ...
14579 (__x86_shared_cache_size_half): This.
14580 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14581 (__x86_raw_shared_cache_size_half): This.
14582 * sysdeps/x86_64/memcpy.S: Updated.
14583 * sysdeps/x86_64/memset.S: Likewise.
14584 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14585 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14586 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14587
0b3986d0
DM
145882013-01-04 David S. Miller <davem@davemloft.net>
14589
14590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14591
e47686e9
AS
145922013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14593
d643bac1
AS
14594 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14595 1 to avoid redefinition warning.
14596 (__USE_GNU): Don't define.
14597 (init_signaling_nan): Protoize.
14598
e47686e9
AS
14599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14600
b18decba
SP
146012013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14602
fffb407f
SP
14603 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14604 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14605 (__cpymn): Likewise.
14606 (norm): Remove commented code.
14607 (denorm): Likewise.
14608 (__mp_dbl): Likewise.
14609 (__inv): Likewise.
14610 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14611 (__cpymn): Likewise.
14612 (norm): Remove commented code.
14613 (denorm): Likewise.
14614 (__mp_dbl): Likewise.
14615 (__inv): Likewise.
14616
b18decba
SP
14617 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14618 mp_no value for 1.0 and 2.0.
14619 (norm): Use RADIXI instead of radixi.d.
14620 (denorm): Likewise.
14621 (__mul): Use 0.0 instead of zero.d.
14622 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14623 mp_no value for 1.0 and 2.0.
14624 (norm): Use RADIXI instead of radixi.d.
14625 (denorm): Likewise.
14626 (__mul): Use 0.0 instead of zero.d.
14627
cdc1c96f
JM
146282013-01-04 Joseph Myers <joseph@codesourcery.com>
14629
14630 [BZ #14994]
14631 * math/s_casinh.c (__casinh): Reduce finite argument to first
14632 quadrant then set signs of results at the end.
14633 * math/s_casinhf.c (__casinhf): Likewise.
14634 * math/s_casinhl.c (__casinhl): Likewise.
14635 * math/libm-test.inc (casin_test): Add more tests.
14636 (casinh_test): Likewise.
14637 * sysdeps/i386/fpu/libm-test-ulps: Update.
14638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14639
302913e1
SP
146402013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14641
6420d207
SP
14642 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14643
a9e48ab4
SP
14644 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14645
b7837264
SP
14646 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14647 declarations.
14648 (denorm): Likewise.
14649 (__mp_dbl): Likewise.
14650 (__inv): Likewise.
14651
f8af25d2
SP
14652 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14653 and adjust the header comment.
14654
302913e1
SP
14655 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14656 variable name from declaration.
14657
5d7dd1ca
L
146582013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14659
14660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14661 Initialize COMMON_CPUID_INDEX_7 element.
14662 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14663 (CPUID_RTM): Likewise.
14664 (HAS_RTM): Likewise.
14665 (COMMON_CPUID_INDEX_7): New enum.
14666
2f5f40f4
AS
146672013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14668
14669 [BZ #14981]
14670 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14671 size is zero, record memory as freed.
14672
4056f4a0
AJ
146732013-01-03 Andreas Jaeger <aj@suse.de>
14674
14675 * po/ia.po: Add new Interlingua translation.
14676
ab15736f 146772012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
14678
14679 * locale/programs/localedef.c: Fix description of '--posix' flag.
14680
568035b7
JM
146812013-01-02 Joseph Myers <joseph@codesourcery.com>
14682
e6898b8d
JM
14683 * NEWS: Update dates in second copyright notice.
14684 * README: Update copyright dates in example.
14685 * manual/libc.texinfo: Update copyright dates.
14686 * scripts/test-installation.pl: Update copyright date in --version
14687 output.
14688
0e2f9562
JM
14689 * hurd/ctty-input.c: Fix copyright notice formatting.
14690 * hurd/ctty-output.c: Likewise.
14691 * hurd/dtable.c: Likewise.
14692 * hurd/hurd-raise.c: Likewise.
14693 * hurd/hurdprio.c: Likewise.
14694 * hurd/msgportdemux.c: Likewise.
14695 * misc/sys/file.h: Likewise.
14696 * misc/sys/ioctl.h: Likewise.
14697 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14698 * sysdeps/mach/hurd/chdir.c: Likewise.
14699 * sysdeps/mach/hurd/fchdir.c: Likewise.
14700 * sysdeps/mach/hurd/rename.c: Likewise.
14701 * sysdeps/mach/hurd/rmdir.c: Likewise.
14702 * sysdeps/mach/hurd/seekdir.c: Likewise.
14703 * sysdeps/mach/hurd/setsid.c: Likewise.
14704 * sysdeps/posix/wait3.c: Likewise.
14705
568035b7
JM
14706 * All files with FSF copyright notices: Update copyright dates
14707 using scripts/update-copyrights.
14708 * intl/plural.c: Regenerated.
14709 * locale/programs/charmap-kw.h: Likewise.
14710 * locale/programs/locfile-kw.h: Likewise.
14711
da08f647
SP
147122013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14713
0f5477af
SP
14714 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14715 four values.
14716
44e0d4c2
SP
14717 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14718 calculation loop and add branch prediction.
14719
4d55b4e5
SP
14720 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14721 check access beyond bounds of m1np.
14722
da08f647
SP
14723 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14724 MPTWO.
14725 (__inv): Remove local variable MPTWO to use the global
14726 constant.
14727 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14728 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14729 variable MPTWO.
14730 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14731 MP3HALFS static const.
14732
8e051029
DM
147332013-01-01 David S. Miller <davem@davemloft.net>
14734
14735 * po/ca.po: Update from translation team.
14736
f4cf5f2d
JM
147372013-01-01 Joseph Myers <joseph@codesourcery.com>
14738
14739 * scripts/update-copyrights: New file.
14740 * Makeconfig: Reformat copyright notice.
14741 * ctype/ctype.h: Likewise.
14742 * debug/swprintf_chk.c: Likewise.
14743 * elf/dl-cache.c: Likewise.
14744 * elf/dl-debug.c: Likewise.
14745 * elf/dl-object.c: Likewise.
14746 * grp/initgroups.c: Likewise.
14747 * hurd/Makefile: Likewise.
14748 * hurd/hurd/signal.h: Likewise.
14749 * hurd/hurdfault.c: Likewise.
14750 * hurd/hurdioctl.c: Likewise.
14751 * hurd/hurdlookup.c: Likewise.
14752 * hurd/intr-msg.c: Likewise.
14753 * iconv/gconv_open.c: Likewise.
14754 * libio/swprintf.c: Likewise.
14755 * locale/lc-ctype.c: Likewise.
14756 * locale/nl_langinfo.c: Likewise.
14757 * mach/Machrules: Likewise.
14758 * mach/Makefile: Likewise.
14759 * malloc/obstack.h: Likewise.
14760 * manual/Makefile: Likewise.
14761 * manual/tsort.awk: Likewise.
14762 * misc/bits/stab.def: Likewise.
14763 * nis/nis_print_group_entry.c: Likewise.
14764 * nis/nis_table.c: Likewise.
14765 * nis/nss_compat/compat-pwd.c: Likewise.
14766 * nis/nss_compat/compat-spwd.c: Likewise.
14767 * po/Makefile: Likewise.
14768 * posix/fnmatch.c: Likewise.
14769 * posix/regex.h: Likewise.
14770 * resolv/Makefile: Likewise.
14771 * resolv/nss_dns/dns-network.c: Likewise.
14772 * resolv/res_hconf.c: Likewise.
14773 * scripts/gen-sorted.awk: Likewise.
14774 * soft-fp/soft-fp.h: Likewise.
14775 * stdio-common/printf.h: Likewise.
14776 * stdlib/monetary.h: Likewise.
14777 * stdlib/random.c: Likewise.
14778 * stdlib/random_r.c: Likewise.
14779 * sysdeps/generic/Makefile: Likewise.
14780 * sysdeps/gnu/Makefile: Likewise.
14781 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14782 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14783 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14784 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14785 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14786 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14787 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14788 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14789 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14790 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14791 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14792 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14793 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14794 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14795 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14796 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14797 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14798 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14799 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14800 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14801 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14802 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14803 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14804 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14805 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14806 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14807 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14808 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14809 * sysdeps/mach/hurd/errnos.awk: Likewise.
14810 * sysdeps/mach/hurd/fork.c: Likewise.
14811 * sysdeps/mach/hurd/getcwd.c: Likewise.
14812 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14813 * sysdeps/mach/hurd/mmap.c: Likewise.
14814 * sysdeps/mach/hurd/utimes.c: Likewise.
14815 * sysdeps/mach/hurd/xmknod.c: Likewise.
14816 * sysdeps/posix/profil.c: Likewise.
14817 * sysdeps/posix/readdir_r.c: Likewise.
14818 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14819 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14820 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14821 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14822 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14823 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14824 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14825 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14826 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14827 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14828 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14829 * sysdeps/pthread/lio_listio.c: Likewise.
14830 * sysdeps/sparc/dl-procinfo.h: Likewise.
14831 * sysdeps/unix/i386/sysdep.S: Likewise.
14832 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14833 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14834 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14835 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14837 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14838 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14839 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14840 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14841 * sysdeps/wordsize-32/divdi3.c: Likewise.
14842 * time/sys/time.h: Likewise.
14843 * wcsmbs/Makefile: Likewise.
14844
0549fbba
DM
148452013-01-01 David S. Miller <davem@davemloft.net>
14846
a141f1a7
DM
14847 * po/fr.po: Update from translation team.
14848
0549fbba
DM
14849 * catgets/gencat.c: Update copyright year.
14850 * csu/version.c: Likewise.
14851 * debug/catchsegv.sh: Likewise.
14852 * debug/pcprofiledump.c: Likewise.
14853 * debug/xtrace.sh: Likewise.
14854 * elf/ldconfig.c: Likewise.
14855 * elf/ldd.bash.in: Likewise.
14856 * elf/pldd.c: Likewise.
14857 * elf/sotruss.ksh: Likewise.
14858 * elf/sprof.c: Likewise.
14859 * iconv/iconv_prog.c: Likewise.
14860 * iconv/iconvconfig.c: Likewise.
14861 * locale/programs/locale.c: Likewise.
14862 * locale/programs/localedef.c: Likewise.
14863 * login/programs/pt_chown.c: Likewise.
14864 * malloc/memusage.sh: Likewise.
14865 * malloc/memusagestat.c: Likewise.
14866 * malloc/mtrace.pl: Likewise.
14867 * nscd/nscd.c: Likewise.
14868 * nss/getent.c: Likewise.
14869 * nss/makedb.c: Likewise.
14870 * posix/getconf.c: Likewise.
14871
18ea052c
SP
148722012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14873
14874 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14875 numbers.
14876
9c89fca6
MF
148772012-12-30 Mike Frysinger <vapier@gentoo.org>
14878
14879 * math/bits/mathcalls.h (modf): Use __nonnull.
14880
085ec079
SP
148812012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14882
14883 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14884 (split): Use macro CN instead of the bare value.
14885 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14886 could be used.
14887 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14888 instead of the bare value.
14889 (power1): Likewise.
14890
6d9f97e1
SP
148912012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14892
d63f73be
SP
14893 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14894 __ATAN_TWOM.
14895 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14896
6d9f97e1
SP
14897 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14898 their values.
14899 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14900 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14901 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14902 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14903
4c4febf5
AJ
149042012-12-28 Andreas Jaeger <aj@suse.de>
14905
af5843ef
AJ
14906 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14907 values are from Linux 3.7.
14908
4c4febf5
AJ
14909 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14910 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14911
99136f82
SP
149122012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14913
2f216c3c 14914 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
14915 TRUE case.
14916
99136f82
SP
14917 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14918 (norm): Likewise.
14919 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14920 variables with preprocessor constants.
14921 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14922 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14923 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14924
7fffbdff
BH
149252012-12-27 Bruno Haible <bruno@clisp.org>
14926
14927 [BZ #14317]
14928 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14929 only if needed.
14930
b76eb5f0
SP
149312012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14932
31a7fe5c
SP
14933 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14934 and use variable directly.
14935 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14936
b76eb5f0
SP
14937 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14938 MPONE.
14939 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14940 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14941 variable MPONE.
14942 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14943 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14944 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14945 include directive. Remove local variable MPONE.
14946 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14947 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14948 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14949
2c8bfe7d
DM
149502012-12-25 David S. Miller <davem@davemloft.net>
14951
14952 * version.h (RELEASE): Set to "development".
14953 (VERSION): Set to "2.17.90".
14954 * NEWS: Add 2.18 section.
14955
147d03b0
DM
149562012-12-21 David S. Miller <davem@davemloft.net>
14957
14958 * po/hr.po: Update from translation team.
14959
a8ebb2b9
AK
149602012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14961
14962 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14963
95b4f1b6
SE
149642012-12-19 Steve Ellcey <sellcey@mips.com>
14965
b2d94007 14966 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 14967
cedb2a90
MS
149682012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14969
14970 * manual/contrib.texi (Contributors): Spelling correction.
14971
bbf527d6
DM
149722012-12-15 David S. Miller <davem@davemloft.net>
14973
14974 * po/ru.po: Update from translation team.
14975
bc38c906
DM
149762012-12-13 David S. Miller <davem@davemloft.net>
14977
85429b1a
DM
14978 * NEWS: Mention IFUNC testsuite enhancements.
14979
d283e353
DM
14980 * po/pl.po: Update from translation team.
14981 * po/bg.po: Likewise.
14982
bc38c906
DM
14983 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14984 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14985
a181b0d7
DM
149862012-12-11 David S. Miller <davem@davemloft.net>
14987
4641d57e
DM
14988 * po/sv.po: Update from translation team.
14989
f7bc6495
DM
14990 * po/vi.po: Update from translation team.
14991
6fc9048f
DM
14992 * po/cs.po: Update from translation team.
14993
a181b0d7
DM
14994 * po/de.po: Update from translation team.
14995 * po/eo.po: Likewise.
14996 * po/nl.po: Likewise.
14997
f70bfe80
SP
149982012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14999
3c8b4190
SP
15000 [BZ #14246]
15001 * manual/argp.texi (Argp Helper Functions): Move node to follow
15002 Argp Parsing State.
15003
f70bfe80
SP
15004 [BZ #14872]
15005 * manual/conf.texi (Limits on File System Capacity): Mention if
15006 terminating null is included in the max size.
15007
188f0adf
AJ
150082012-12-10 Andreas Jaeger <aj@suse.de>
15009
15010 * po/cs.po: Update from translation team.
15011
56e7d3ad
SP
150122012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15013
15014 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15015 void pointer and cast to uintptr_t.
15016 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15017 path.
15018 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15019 * sysdeps/s390/s390-64/memset.S: Likewise.
15020
76f2d2ea 150212012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
15022
15023 [BZ #14833]
15024 * menual/message.texi (Message Translation): Fix typos.
15025 (Helper programs for gettext): Likewise.
15026
67cbf9a2
AS
150272012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15028
15029 [BZ #14898]
15030 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15031 Change to -1.
15032
682d0e9a
DM
150332012-12-07 David S. Miller <davem@davemloft.net>
15034
15035 * po/libc.pot: Update.
15036
573cd484
RH
150372012-12-07 Richard Henderson <rth@redhat.com>
15038
7e9da188 15039 [BZ #10114]
573cd484
RH
15040 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15041 normal/normal case to before the switch.
15042 (_FP_DIV): Likewise.
15043
e933a943
MF
150442012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15045 Mike Frysinger <vapier@gentoo.org>
15046
15047 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15048 check for __NR_fadvise64_64.
15049
82123268
CM
150502012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15051
15052 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15053 0, not just to plain "0" as a statement.
15054 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15055 with cw.
15056
d9814526
JM
150572012-12-06 Joseph Myers <joseph@codesourcery.com>
15058
15059 * NEWS: Use sourceware.org in Bugzilla URL.
15060
7728c574
SP
150612012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15062
f16946dd
SP
15063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15064 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15065
5704bbcb
SP
15066 * stdio-common/tst-put-error.c (do_test): Add newline to the
15067 padded test to ensure flush.
15068
17aa0516
JL
150692012-12-05 Jeff Law <law@redhat.com>
15070
15071 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15072
363313b5
JM
150732012-12-05 Joseph Myers <joseph@codesourcery.com>
15074
effbd42a
JM
15075 * README: Don't refer to ports add-on as distributed separately.
15076 Mention AArch64 in list of systems supported in the ports add-on.
15077
87600365
JM
15078 * LICENSES: Add more non-FSF copyright and license notices.
15079
a0d7066a
JM
15080 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15081 ((unused)).
15082
66ca5a5b
JM
15083 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15084
363313b5
JM
15085 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15086 10000 as width of padded output.
15087
b37984ad
JM
150882012-12-04 Joseph Myers <joseph@codesourcery.com>
15089
9003570a
JM
15090 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15091
b37984ad
JM
15092 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15093 variable LX with __attribute__ ((unused)).
15094 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15095 Likewise.
15096 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15097 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15098 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15099 with __attribute__ ((unused)).
15100
c8df52ec
DM
151012012-12-04 David S. Miller <davem@abraco.davemloft.net>
15102
15103 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15104
b3b099af
JM
151052012-12-04 Joseph Myers <joseph@codesourcery.com>
15106
c33aa6e3
JM
15107 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15108 (CFLAGS-nldbl-acos.c): New variable.
15109 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15110 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15111 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15112 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15113 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15114 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15115 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15116 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15117 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15118 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15119 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15120 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15121 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15122 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15123 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15124 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15125 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15126 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15127 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15128 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15129 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15130 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15131 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15132 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15133 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15134 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15135 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15136 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15137 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15138 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15139 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15140 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15141 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15142 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15143 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15144 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15145 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15146 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15147 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15148 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15149 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15150 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15151 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15152 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15153 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15154 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15155 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15156 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15157 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15158 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15159 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15160 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15161 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15162 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15163 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15164 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15165 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15166 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15167 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15168 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15169 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15170 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15171 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15172 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15173 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15174 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15175 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15176 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15177 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15178 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15179 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15180 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15181 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15182 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15183 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15184 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15185 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15186 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15187 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15188 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15189 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15190 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15191 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15192 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15193 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15194 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15195 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15196 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15197 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15198 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15199 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15200 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15201 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15202 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15203 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15204 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15205 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15206
20f0018d
JM
15207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15208 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15209
b3b099af
JM
15210 [BZ #14914]
15211 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15212 whole low double instead of just low 47 bits when splitting values
15213 into two parts.
15214
029264d1
AM
152152012-12-03 Allan McRae <allan@archlinux.org>
15216
15217 * manual/stdio.texi (Predefined Printf Handlers): Remove
15218 @hsep and @vsep usage.
15219
c9d6789e
MF
152202012-12-03 Mike Frysinger <vapier@gentoo.org>
15221
15222 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15223 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15224
4b7634a5
JL
152252012-12-03 Jeff Law <law@redhat.com>
15226
15227 * time/sys/time.h (settimeofday): Do not mark TV argument
15228 as __nonnull.
15229
eb6cbd24
MF
152302012-12-01 Mike Frysinger <vapier@gentoo.org>
15231
15232 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15233 when currently writing and seek to current position when not.
15234 * libio/Makefile (tests): Remove bug-fclose1.
15235 * libio/bug-fclose1.c: Delete.
15236
f638872a
JM
152372012-12-01 Joseph Myers <joseph@codesourcery.com>
15238
15239 * manual/arith.texi (feenableexcept): Fix typo.
15240 (fedisableexcept): Likewise.
15241
48085d14
RM
152422012-11-30 Roland McGrath <roland@hack.frob.com>
15243
15244 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15245 second, differently-typed declaration, rather than a cast.
15246
1a538b9f
SP
152472012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15248
15249 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15250 * include/rpc/svc.h: ... here.
15251
d07f2ff1 152522012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
15253
15254 [BZ #13013]
15255 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15256 depending n and resplen2 to catch cases where answer
15257 equals answerp2.
15258
c93ec1f0
CD
152592012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15260
15261 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15262 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15263
37db69de
MF
152642012-11-29 Mike Frysinger <vapier@gentoo.org>
15265
15266 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15267
e10c4e4f
RM
152682012-11-29 Roland McGrath <roland@hack.frob.com>
15269
15270 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15271
2af1b328
JL
152722012-11-28 Jeff Law <law@redhat.com>
15273
15274 [BZ #13761]
15275 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15276 dataset_temporary. Track alloca usage into alloca_used.
15277 If dataset is large allocate and release it via malloc/free.
15278
111db5b1
FW
152792012-06-04 Florian Weimer <fweimer@redhat.com>
15280
f06cc227 15281 [BZ #14197]
111db5b1
FW
15282 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15283
dd694abd
DM
152842012-11-28 David S. Miller <davem@davemloft.net>
15285
15286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15287
9984dd01
JM
152882012-11-28 Joseph Myers <joseph@codesourcery.com>
15289
15290 [BZ #14803]
15291 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15292 of pi/2 rounded to nearest to 64 bits.
15293 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15294 nearest to 64 bits.
15295 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15296 bits.
15297
14bc93a9
JL
152982012-11-28 Jeff Law <law@redhat.com>
15299 Martin Osvald <mosvald@redhat.com>
15300
15301 [BZ #14889]
15302 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15303 * sunrpc/svc.c: Include time.h.
15304 (__svc_accept_failed): New function.
15305 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15306 any reason other than EINTR, call __svc_accept_failed.
15307 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15308 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15309
e3c6aa3a
AS
153102012-11-28 Andreas Schwab <schwab@suse.de>
15311
15312 * scripts/abilist.awk: Also handle indirect functions in .opd
15313 section.
15314
1bead169
JM
153152012-11-28 Joseph Myers <joseph@codesourcery.com>
15316
15317 [BZ #13881]
15318 * sysdeps/x86/fpu/powl_helper.c: New file.
15319 * sysdeps/x86/fpu/Makefile: Likewise.
15320 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15321 (p3): New object.
15322 (__ieee754_powl): Use __powl_helper for finite arguments except
15323 integer exponents below 8.
15324 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15325 (p3): New object.
15326 (__ieee754_powl): Use __powl_helper for finite arguments except
15327 integer exponents below 8.
15328 * math/libm-test.inc (pow_test): Add more tests and enable some
15329 previously disabled tests.
15330 * sysdeps/i386/fpu/libm-test-ulps: Update.
15331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15332
0817d63d
SP
153332012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15334 Carlos O'Donell <carlos_odonell@mentor.com>
15335
15336 * nss/makedb.c (is_prime): Assert that input is odd and greater
15337 than 4. Note that fact in a comment too.
15338 (next_prime): Add 4 to input.
15339
de2fd463
SP
153402012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15341
15342 [BZ #11741]
15343 * libio/Makefile (tests): Add test case tst-fwrite-error.
15344 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15345 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15346 * libio/tst-fwrite-error.c: New test case.
15347
c515fb51
L
153482012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15349
15350 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15351 before casting to void *.
15352 * include/libc-internal.h (__pointer_type): New macro.
15353 (__integer_if_pointer_type_sub): Likewise.
15354 (__integer_if_pointer_type): Likewise.
15355 (cast_to_integer): Likewise.
15356 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15357 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15358 before casting to atomic64_t.
15359 (atomic_exchange_acq): Likewise.
15360 (__arch_exchange_and_add_body): Likewise.
15361 (__arch_add_body): Likewise.
15362 (atomic_add_negative): Likewise.
15363 (atomic_add_zero): Likewise.
15364
4cf77aa9
JM
153652012-11-26 Joseph Myers <joseph@codesourcery.com>
15366
15367 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15368 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15369 (add_fdes): Likewise.
15370 (linear_search_fdes): Likewise.
15371 (binary_search_unencoded_fdes): Likewise.
15372
d260b3b4
AS
153732012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15374
15375 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15376
67060746
AC
153772012-11-24 Adam Conrad <adconrad@0c3.net>
15378
15379 * configure.in: Autodetect C++ header directories.
15380 * configure: Regenerated.
15381
800938a1
MF
153822012-11-23 Mike Frysinger <vapier@gentoo.org>
15383
15384 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15385
4e6e34e6
AS
153862012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15387
15388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15389
7c7feb47
JM
153902012-11-22 Joseph Myers <joseph@codesourcery.com>
15391
7184dcdf
JM
15392 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15393 LDBL_MANT_DIG == 106]: Disable some tests.
15394 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15395 Likewise.
15396 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15397 Likewise.
15398
0a42601f
JM
15399 [BZ #14871]
15400 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15401 input for small inputs. Return +/- pi/2 for large inputs.
15402 * math/libm-test.inc (atan_test): Add more tests.
15403
79c9b9fe
JM
15404 * sysdeps/generic/unwind-dw2-fde-glibc.c
15405 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15406 __attribute__ ((unused)).
15407
c60d3bf2
JM
15408 [BZ #14645]
15409 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15410 x * y if x and y are nonzero and z is zero.
15411
ef1e0867
JM
15412 [BZ #14811]
15413 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15414 nonzero exponents with absolute value below 0x1p-117 to +/-
15415 0x1p-117.
15416
1468ded3
JM
15417 [BZ #14869]
15418 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15419 up arguments below 2**-450, not just those below 2**-500.
15420 * math/libm-test.inc (hypot_test): Add another test.
15421
8e27e3cc
JM
15422 [BZ #14868]
15423 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15424 Return a+b for ratio over 2**120, not 2**60.
15425 * math/libm-test.inc (hypot_test): Add another test.
15426
c9c0279b
JM
15427 * math/libm-test.inc (clog_test): Use
15428 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15429 (clog10_test): Likewise.
15430
7c7feb47
JM
15431 [BZ #6778]
15432 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15433
fff1530e
AS
154342012-11-22 Andreas Schwab <schwab@suse.de>
15435
15436 * sysdeps/i386/fpu/libm-test-ulps: Update.
15437
94558d30
PT
154382012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15439
15440 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15441 printf output with newline.
15442
7e1be741
L
154432012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15444
6bfea974
L
15445 [BZ #14865]
15446 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15447 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15448 -z nodlopen, -z initfirst and -z execstack support.
15449 * configure: Regenerated.
15450
7e1be741
L
15451 * elf/elf.h (DF_1_NODIRECT): New macro.
15452 (DF_1_IGNMULDEF): Likewise.
15453 (DF_1_NOKSYMS): Likewise.
15454 (DF_1_NOHDR): Likewise.
15455 (DF_1_EDITED): Likewise.
15456 (DF_1_NORELOC): Likewise.
15457 (DF_1_SYMINTPOSE): Likewise.
15458 (DF_1_GLOBAUDIT): Likewise.
15459 (DF_1_SINGLETON): Likewise.
15460 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15461 DT_1_SUPPORTED_MASK bits.
15462 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15463
105ce2ce
CD
154642012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15465
15466 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15467
123be9de
TS
154682012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15469
d072f3f7
TS
15470 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15471 macro.
15472
123be9de
TS
15473 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15474 (sendmmsg): Move declarations...
15475 * socket/sys/socket.h: ... here.
15476 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15477 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15478 include it from...
15479 * socket/recvmmsg.c: ... this new file.
15480 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15481 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15482 definition of __sendmmsg hidden.
15483 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15484 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15485 Move ENOSYS stub into and include it from...
15486 * socket/sendmmsg.c: ... this new file.
15487 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15488 (sysdep_routines): Move recvmmsg and sendmmsg...
15489 * socket/Makefile (routines): ... here.
15490 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15491 (GLIBC_PRIVATE): Add __sendmmsg.
15492 * include/sys/socket.h (__sendmmsg): Add declarations.
15493 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15494 sendmmsg.
15495
cf9a5d18
JM
154962012-11-20 Joseph Myers <joseph@codesourcery.com>
15497
15498 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15499 variable I1 with __attribute__ ((unused)).
15500 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15501
ecd4caf9
JM
155022012-11-19 Joseph Myers <joseph@codesourcery.com>
15503
be14d48f
JM
15504 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15505 DUMMY variables with __attribute__ ((unused)).
15506
ecd4caf9
JM
15507 * bits/byteswap.h: Include <bits/types.h>.
15508 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15509
986cab95
PT
155102012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15511
15512 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15513 string_t. Do not manually set errno.
15514 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15515 length with __strnlen. Make sure to both set errno and return it on
15516 failure.
15517
6d33cc9d
DM
155182012-11-19 David S. Miller <davem@davemloft.net>
15519
15520 With help from Joseph Myers.
15521 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15522 very large arguments properly.
15523 * math/libm-test.inc (atan_test): New tests.
15524 (atan2_test): New tests.
15525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15526 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15527
ee663277
JM
155282012-11-19 Joseph Myers <joseph@codesourcery.com>
15529
877f2d8e
JM
15530 [BZ #14856]
15531 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15532 Define to 3.
15533
116fc08a
JM
15534 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15535 [POSIX] (EADDRNOTAVAIL): Likewise.
15536 [POSIX] (EAFNOSUPPORT): Likewise.
15537 [POSIX] (EALREADY): Likewise.
15538 [POSIX] (ECONNABORTED): Likewise.
15539 [POSIX] (ECONNREFUSED): Likewise.
15540 [POSIX] (ECONNRESET): Likewise.
15541 [POSIX] (EDESTADDRREQ): Likewise.
15542 [POSIX] (EDQUOT): Likewise.
15543 [POSIX] (EHOSTUNREACH): Likewise.
15544 [POSIX] (EIDRM): Likewise.
15545 [POSIX] (EISCONN): Likewise.
15546 [POSIX] (ELOOP): Likewise.
15547 [POSIX] (EMULTIHOP): Likewise.
15548 [POSIX] (ENETDOWN): Likewise.
15549 [POSIX] (ENETUNREACH): Likewise.
15550 [POSIX] (ENOBUFS): Likewise.
15551 [POSIX] (ENODATA): Likewise.
15552 [POSIX] (ENOLINK): Likewise.
15553 [POSIX] (ENOMSG): Likewise.
15554 [POSIX] (ENOPROTOOPT): Likewise.
15555 [POSIX] (ENOSR): Likewise.
15556 [POSIX] (ENOSTR): Likewise.
15557 [POSIX] (ENOTCONN): Likewise.
15558 [POSIX] (ENOTSOCK): Likewise.
15559 [POSIX] (EOPNOTSUPP): Likewise.
15560 [POSIX] (EOVERFLOW): Likewise.
15561 [POSIX] (EPROTO): Likewise.
15562 [POSIX] (EPROTONOSUPPORT): Likewise.
15563 [POSIX] (EPROTOTYPE): Likewise.
15564 [POSIX] (ESTALE): Likewise.
15565 [POSIX] (ETIME): Likewise.
15566 [POSIX] (ETXTBSY): Likewise.
15567 [POSIX] (EWOULDBLOCK): Likewise.
15568 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15569 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15570 [POSIX] (SEEK_CUR): Likewise.
15571 [POSIX] (SEEK_END): Likewise.
15572 [POSIX || UNIX98] (mode_t): Do not require.
15573 [POSIX] (off_t): Likewise.
15574 [POSIX] (pid_t): Likewise.
15575 [POSIX] (sys/stat.h): Do not allow header.
15576 [POSIX] (unistd.h): Likewise.
15577 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15578 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15579 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15580 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15581 require.
15582 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15583 sigevent): Specify elements.
15584 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15585 entry.
15586 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15587 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15588
a483863f
JM
15589 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15590 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15591 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15592 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15593 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15594 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15595 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15596 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15597 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15598 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15599 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15600 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15601 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15602 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15603 Likewise.
15604 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15605 Likewise.
15606 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15607 Likewise.
15608 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15609 Likewise.
15610 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15611 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15612 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15613 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15614 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15615 Specify lower bound on value.
15616 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15617 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15618 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15619 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15620 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15621 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15622 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15623 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15624 value.
15625 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15626 as optional.
15627 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15628 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15629 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15630 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15631 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15632 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15633 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15634 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15635 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15636 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15637 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15638 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15639 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15640 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15641 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15642 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15643 entry.
15644 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15645 optional.
15646 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15647 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15648 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15649 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15650 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15651 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15652 Likewise.
15653 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15654 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15655 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15656 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15657 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15658 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15659 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15660 as optional.
15661 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15662 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15663 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15664 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15665 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15666 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15667 specify as optional.
15668 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15669 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15670 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15671 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15672 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15673 [XPG3] (NL_LANGMAX): Likewise.
15674 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15675 [POSIX || XPG3] (NL_NMAX): Likewise.
15676 [POSIX || XPG3] (NL_SETMAX): Likewise.
15677 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15678 [XPG3] (NZERO): Likewise.
15679 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15680 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15681 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15682 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15683 (REG_ERANGE): Expect.
15684 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15685 optional-constant.
15686 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15687 Use (void) in prototype.
15688 [POSIX] (*_t): Allow.
15689 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15690 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15691 (WRDE_BADVAL): Expect.
15692
5ba924e3
JM
15693 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15694 expect.
15695 [XPG3 || XPG4] (O_RSYNC): Likewise.
15696 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15697 Likewise.
15698 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15699 [XPG3 || XPG4] (sigqueue): Likewise.
15700 [XPG3 || XPG4] (sigtimedwait): Likewise.
15701 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15702 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15703 [XPG3 || XPG4] (vsnprintf): Likewise.
15704 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15705 Likewise.
15706 [XPG3 || XPG4] (blksize_t): Likewise.
15707 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15708 Likewise.
15709 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15710 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15711 [XPG3 || XPG4] (struct itimerspec): Likewise.
15712 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15713 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15714 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15715 [XPG3 || XPG4] (clockid_t): Likewise.
15716 [XPG3 || XPG4] (timer_t): Likewise.
15717 [XPG3 || XPG4] (clock_getres): Likewise.
15718 [XPG3 || XPG4] (clock_gettime): Likewise.
15719 [XPG3 || XPG4] (clock_settime): Likewise.
15720 [XPG3 || XPG4] (nanosleep): Likewise.
15721 [XPG3 || XPG4] (timer_create): Likewise.
15722 [XPG3 || XPG4] (timer_delete): Likewise.
15723 [XPG3 || XPG4] (timer_gettime): Likewise.
15724 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15725 [XPG3 || XPG4] (timer_settime): Likewise.
15726 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15727 [XPG3 || XPG4] (getlogin_r): Likewise.
15728 [XPG3 || XPG4] (pread): Likewise.
15729 [XPG3 || XPG4] (pthread_atfork): Likewise.
15730 [XPG3 || XPG4] (pwrite): Likewise.
15731
ee663277
JM
15732 [BZ #14835]
15733 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15734 <bits/siginfo.h>.
15735
942caa16
PT
157362012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15737
e19af380
PT
15738 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15739 finalizing MALLSTREAM.
15740
942caa16
PT
15741 * sysdeps/mach/hurd/syncfs.c: New file.
15742
cfde9b46
SP
157432012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15744
15745 [BZ #14719]
15746 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15747 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15748 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15749 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15750 (_nss_dns_gethostbyname4_r): Likewise.
15751 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15752 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15753
f6da27e5
PH
157542012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15755
15756 [BZ #13763]
15757 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15758
6665d4a2
SM
157592012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15760
1f51ee92
SM
15761 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15762 * elf/cache.c (print_entry): Print ",AArch64" for
15763 FLAG_AARCH64_LIB64
15764
6665d4a2
SM
15765 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15766 * elf/cache.c (print_entry): Print ",hard-float" for
15767 FLAG_ARM_LIBHF.
15768
05b227bd
DM
157692012-11-18 David S. Miller <davem@davemloft.net>
15770
15771 With help from Joseph Myers.
15772 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15773 cutoff to 2**-13.
15774 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15775 cutoff to 2**-25.
15776 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15777 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15778 small.
15779 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15780 * math/libm-test.inc (y0_test): New tests.
15781 (y1_test): New tests.
15782 * sysdeps/i386/fpu/libm-test-ulps: Update.
15783 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15785
786b0b67
AS
157862012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15787
15788 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15789 64-bit targets.
15790 * configure: Regenerated.
15791
8e18b86d
DM
157922012-11-17 David S. Miller <davem@davemloft.net>
15793
15794 [BZ #14811]
15795 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15796 nonzero exponents with absolute value below 0x1p-128 to +/-
15797 0x1p-128.
15798
531f1ae0
JM
157992012-11-17 Joseph Myers <joseph@codesourcery.com>
15800
12df29e2
JM
15801 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15802
150dc1a0
JM
15803 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15804
531f1ae0
JM
15805 * posix/getconf-speclist.c: New file.
15806 * posix/posix-envs.def: Likewise.
15807 * posix/confstr.c (START_ENV_GROUP): New macro.
15808 (END_ENV_GROUP): Likewise.
15809 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15810 (KNOWN_PRESENT_ENV_STRING): Likewise.
15811 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15812 (UNKNOWN_ENVIRONMENT): Likewise.
15813 (confstr): Include posix-envs.def instead of handling
15814 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15815 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15816 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15817 (END_ENV_GROUP): Likewise.
15818 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15819 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15820 (UNKNOWN_ENVIRONMENT): Likewise.
15821 (__sysconf): Include posix-envs.def instead of handling associated
15822 cases directly here.
15823 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15824 preprocessing getconf-speclist.c rather than running getconf or
15825 generating empty file.
15826
a93f9cbc
PT
158272012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15828
15829 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15830
d64d9f87
AL
158312012-11-16 Andrej Lajovic <natrij@gmail.com>
15832
15833 [BZ #14672]
15834 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15835
447885eb
DM
158362012-11-16 David S. Miller <davem@davemloft.net>
15837
15838 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15839 smaller than LDBL_EPSILON/2.0L, just return xm1.
15840
bcbf9830
L
158412012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15842
15843 * elf/tst-array1.c (init): Set constructor priority to 1000.
15844 (fini): Set destructor priority to 1000.
15845 * elf/tst-array2dep.c: Likewise.
15846
2b766585
SP
158472012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15848
15849 [BZ #11741]
15850 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15851 (_IO_new_file_xsputn): Also return EOF if none of the input
15852 data was written when overflow failed.
15853 * libio/iopadn.c (_IO_padn): Likewise.
15854 * libio/iowpadn.c (_IO_wpadn): Likewise.
15855 * stdio-common/tst-put-error.c: Add copyright notice.
15856 (do_test): Add case for printing padded string.
15857 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15858 _IO_padn returned error.
15859 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15860 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15861 return EOF.
15862
b1848fde
SP
158632012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15864
15865 * libio/libioP.h: Add comment note that the references to C++
15866 bits are now obsolete.
15867
2fd89785
MS
158682012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15869
15870 * math/libm-test.inc (check_complex): Use asprintf.
15871
e3ea5409
JM
158722012-11-14 Joseph Myers <joseph@codesourcery.com>
15873
15874 * debug/pcprofiledump.c (print_version): Update copyright year.
15875 * malloc/memusagestat.c (print_version): Likewise.
15876
2e64d265
L
158772012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15878
15879 [BZ #14831]
15880 * elf/Makefile (tests): Add tst-audit8.
15881 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15882 ($(objpfx)tst-audit8.out): New target.
15883 (tst-audit8-ENV): New variable.
15884 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15885 audit if l_reloc_result is NULL.
15886 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15887 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15888 * elf/tst-audit8.c: New file.
15889
c485e4d2
MS
158902012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15891
15892 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15893 * misc/Makefile (CFLAGS-select.c): Define.
15894 * posix/Makefile (CFLAGS-pause.c): Define.
15895
3a0d900a
DM
158962012-11-13 David S. Miller <davem@davemloft.net>
15897
15898 * crypt/Makefile: Move test targets after toplevel Rules
15899 inclusion. Grab any necessary sysdep routines when linking.
15900 * crypt/md5.c (md5_process_block): Remove define, we will always
15901 name it __md5_process_block.
15902 (md5_finish_ctx): Update md5_process_block call.
15903 (md5_stream): Likewise.
15904 (md5_process_bytes): Likewise.
15905 (md5_process_block): Rename to __md5_process_block and move to ...
15906 * crypt/md5-block.c: ... here.
15907 * crypt/sha256.c (sha256_process_block): Move to ...
15908 * crypt/sha256-block.c: ... here.
15909 * crypt/sha512.c (sha512_process_block): Move to ...
15910 * crypt/sha512-block.c: ... here.
15911 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15912 path.
15913 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15914 * sysdeps/sparc/sparc64/multiarch/Makefile
15915 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15916 crypt subdir.
15917 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15918 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15919 multiarch changes.
15920 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15921 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15922 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15923 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15924 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15925 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15926 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15927 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15928 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15929 file.
15930 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15931 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15932 file.
15933 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15934
8ca89318
JM
159352012-11-13 Joseph Myers <joseph@codesourcery.com>
15936
e27d476a
JM
15937 * timezone/tzselect.ksh: Update from tzcode git revision
15938 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15939 * timezone/zdump.c: Likewise.
15940 * timezone/zic.c: Likewise.
15941 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15942 in TZVERSION setting, not $(PKGVERSION).
15943 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15944 REPORT_BUGS_TO settings.
15945
8ca89318
JM
15946 [BZ #14838]
15947 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15948 macro.
15949
47594329
MS
159502012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15951
15952 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15953 detection to immediately after _FP_ROUND().
15954 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15955 bits are 0.
15956
640ac3f1
DM
159572012-11-11 David S. Miller <davem@davemloft.net>
15958
15959 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15960 inttypes.h
15961 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15962 __close rather than their public counterparts.
15963
3d2577bb
JM
159642012-11-10 Joseph Myers <joseph@codesourcery.com>
15965
15966 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15967 file.
15968 [UNIX98] (sem_timedwait): Do not expect.
15969 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15970 [XPG4 || UNIX98] (sockatmark): Do not expect.
15971 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15972 (clock_getcpuclockid): Do not expect.
15973 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15974 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15975 Do not expect.
15976 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15977 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15978 [UNIX98] (vwscanf): Likewise.
15979 [UNIX98] (vswscanf): Likewise.
15980
fb1ae1ee
JM
159812012-11-09 Joseph Myers <joseph@codesourcery.com>
15982
9ec6f8bd
JM
15983 * timezone/version.h: Remove file.
15984 * timezone/README: Do not refer to version.h.
15985 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15986 $(objpfx)version.h.
15987 ($(objpfx)zdump.o): Likewise.
c3f81911 15988 ($(objpfx)version.h): New target.
9ec6f8bd 15989
0aa8f8a1
JM
15990 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15991 2012i.
15992 * timezone/README: Don't mention modification to tzselect.ksh.
15993 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15994 work on unmodified tzselect.ksh. Substitute version numbers in
15995 tzselect.ksh.
15996
4e87147f
JM
15997 * Makefile (format-me): Remove.
15998 (INSTALL): Adjust indentation. Use commands directly instead of
15999 using $(format-me).
16000
8b748aed
JM
16001 * aclocal.m4 (ACX_PKGVERSION): New macro.
16002 (ACX_BUGURL): Likewise.
16003 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16004 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16005 (REPORT_BUGS_TO): Likewise.
16006 * configure: Regenerated.
16007 * config.h.in (PKGVERSION): New macro.
16008 (REPORT_BUGS_TO): Likewise.
16009 * config.make.in (PKGVERSION): New variable.
16010 (PKGVERSION_TEXI): Likewise.
16011 (REPORT_BUGS_TO): Likewise.
16012 (REPORT_BUGS_TEXI): Likewise.
16013 * Makefile (format-me): Use -I$(common-objpfx)manual.
16014 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16015 ($(common-objpfx)manual/%): New target.
16016 (manual/%): Remove target.
16017 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16018 (print_version): Use PKGVERSION.
16019 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16020 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16021 and REPORT_BUGS_TO.
16022 ($(objpfx)xtrace): Likewise.
16023 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16024 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16025 (print_version): Use PKGVERSION.
16026 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16027 (do_version): Use PKGVERSION.
16028 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16029 REPORT_BUGS_TO.
16030 (common-ldd-rewrite): Likewise.
16031 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16032 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16033 (print_version): Use PKGVERSION.
16034 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16035 * elf/pldd.c (argp_program_bug_address): Remove variable.
16036 (more_help): New function.
16037 (argp): Use more_help.
16038 (print_version): Use PKGVERSION.
16039 * elf/sln.c (main): Use PKGVERSION.
16040 (usage): Use REPORT_BUGS_TO.
16041 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16042 (top level): Use PKGVERSION.
16043 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16044 (print_version): Use PKGVERSION.
16045 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16046 (print_version): Use PKGVERSION.
16047 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16048 (print_version): Use PKGVERSION.
16049 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16050 (print_version): Use PKGVERSION.
16051 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16052 (print_version): Use PKGVERSION.
16053 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16054 (print_version): Use PKGVERSION.
16055 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16056 and BUGURL.
16057 ($(objpfx)memusage): Likewise.
16058 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16059 (do_version): Use PKGVERSION.
16060 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16061 (print_version): Use PKGVERSION.
16062 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16063 ($PKGVERSION): New variable.
16064 ($REPORT_BUGS_TO): Likewise.
16065 (usage): Use $REPORT_BUGS_TO.
16066 (top level): Use $PKGVERSION.
16067 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16068 ($(objpfx)pkgvers.texi): New rule.
16069 ($(objpfx)stamp-pkgvers): Likewise.
16070 * manual/install.texi: Include pkgvers.texi.
16071 (--with-pkgversion): Document new configure option.
16072 (--with-bugurl): Likewise.
16073 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16074 than necessarily for this particular distribution. Use
16075 REPORT_BUGS_TO for where to report bugs.
16076 * INSTALL: Regenerated.
16077 * manual/libc.texinfo: Include pkgvers.texi.
16078 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16079 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16080 (print_version): Use PKGVERSION.
16081 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16082 (print_version): Use PKGVERSION.
16083 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16084 (print_version): Use PKGVERSION.
16085 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16086 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16087 macro.
16088 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16089 (print_version): Use PKGVERSION.
16090 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16091 (print_version): Use PKGVERSION.
16092 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16093 and PKGVERSION.
16094
92e4b6a9
JM
16095 * timezone/checktab.awk: Update from tzcode 2012i.
16096 * timezone/ialloc.c: Likewise.
16097 * timezone/private.h: Likewise.
16098 * timezone/scheck.c: Likewise.
16099 * timezone/tzfile.h: Likewise.
16100 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16101 (TZVERSION): Hardcode tzcode version number.
16102 * timezone/zdump.c: Update from tzcode 2012i.
16103 * timezone/zic.c: Likewise.
16104 * timezone/version.h: New file.
16105 * timezone/README: Describe version.h. Update upstream location.
16106
9bde902c
JM
16107 [BZ #14824]
16108 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16109 (mktemp): Enable declaration.
16110 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16111 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16112 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16113 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16114 Likewise.
16115 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16116 Likewise.
16117 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16118 Likewise.
16119 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16120 Likewise.
16121 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16122 Likewise.
16123 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16124 Likewise.
16125
fb1ae1ee
JM
16126 [BZ #14821]
16127 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16128 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16129 for copies of such integer values.
16130 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16131 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16132
2c1adbcb
AJ
161332012-11-09 Andreas Jaeger <aj@suse.de>
16134
16135 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16136 definitions and declarations that are provided by
16137 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16138
d0f8457e
AK
161392012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16140
3a235abb 16141 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
16142 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16143 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16144 definition.
16145
57241e26
MS
161462012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16147
16148 * elf/elf.h: Update comment before AArch64 relocations.
16149
60e8270d
DM
161502012-11-07 David S. Miller <davem@davemloft.net>
16151
16152 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16153 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16154 (__start_context): Declare.
16155 (__makecontext_ret): Delete.
16156 (__makecontext): Hook up __start_context instead of
16157 __makecontext_ret.
16158 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16159 (sysdep_routines): Add __start_context when in stdlib.
16160
0fbb0fbc
JM
161612012-11-07 Joseph Myers <joseph@codesourcery.com>
16162
16163 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16164 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16165 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16166 hardcoded "nm".
16167 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16168 (READELF): New variable. Use it instead of hardcoded "readelf".
16169
eb48db7e
L
161702012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16171
16172 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16173 * sysdeps/x86/Makefile: Here.
16174 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16175 * sysdeps/x86/tst-xmmymm.sh: This.
16176
05bcf62a
JM
161772012-11-07 Joseph Myers <joseph@codesourcery.com>
16178
c4b6cf53
JM
16179 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16180 expectations.
16181 [UNIX98] (pthread_barrier_t): Do not expect.
16182 [UNIX98] (pthread_barrierattr_t): Likewise.
16183 [UNIX98] (pthread_spinlock_t): Likewise.
16184 [UNIX98] (pthread_barrier_destroy): Likewise.
16185 [UNIX98] (pthread_barrier_init): Likewise.
16186 [UNIX98] (pthread_barrier_wait): Likewise.
16187 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16188 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16189 [UNIX98] (pthread_barrierattr_init): Likewise.
16190 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16191 [UNIX98] (pthread_getcpuclockid): Likewise.
16192 [UNIX98] (pthread_mutex_timedlock): Likewise.
16193 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16194 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16195 [UNIX98] (pthread_sigmask): Likewise.
16196 [UNIX98] (pthread_spin_destroy): Likewise.
16197 [UNIX98] (pthread_spin_init): Likewise.
16198 [UNIX98] (pthread_spin_lock): Likewise.
16199 [UNIX98] (pthread_spin_trylock): Likewise.
16200 [UNIX98] (pthread_spin_unlock): Likewise.
16201 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16202 Do not expect.
16203 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16204 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16205 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16206 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16207 [XPG3 || XPG4] (pthread_key_t): Likewise.
16208 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16209 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16210 [XPG3 || XPG4] (pthread_once_t): Likewise.
16211 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16212 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16213 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16214 [XPG3 || XPG4] (pthread_t): Likewise.
16215
cbe6e120
JM
16216 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16217 not expect.
16218 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16219
1b126443
JM
16220 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16221 Change function return type to int.
16222
b961a573
JM
16223 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16224 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16225 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16226 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16227 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16228 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16229 [!POSIX] (posix_madvise): Likewise.
16230 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16231 && !UNIX98].
16232 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16233 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16234 (mode_t): Likewise.
16235 (posix_mem_offset): Likewise.
16236 (posix_typed_mem_get_info): Likewise.
16237 (posix_typed_mem_open): Likewise.
16238
9e188909
JM
16239 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16240 Change condition to [XOPEN2K8].
16241
05bcf62a
JM
16242 * conform/conformtest.pl: Preprocess allow-header data with -x c
16243 instead of from stdin.
16244 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16245 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16246 [C99-based standards] (cerfc): Likewise.
16247 [C99-based standards] (cexp2): Likewise.
16248 [C99-based standards] (cexpm1): Likewise.
16249 [C99-based standards] (clog10): Likewise.
16250 [C99-based standards] (clog1p): Likewise.
16251 [C99-based standards] (clog2): Likewise.
16252 [C99-based standards] (clgamma): Likewise.
16253 [C99-based standards] (ctgamma): Likewise.
16254 [C99-based standards] (cerff): Likewise.
16255 [C99-based standards] (cerfcf): Likewise.
16256 [C99-based standards] (cexp2f): Likewise.
16257 [C99-based standards] (cexpm1f): Likewise.
16258 [C99-based standards] (clog10f): Likewise.
16259 [C99-based standards] (clog1pf): Likewise.
16260 [C99-based standards] (clog2f): Likewise.
16261 [C99-based standards] (clgammaf): Likewise.
16262 [C99-based standards] (ctgammaf): Likewise.
16263 [C99-based standards] (cerfl): Likewise.
16264 [C99-based standards] (cerfcl): Likewise.
16265 [C99-based standards] (cexp2l): Likewise.
16266 [C99-based standards] (cexpm1l): Likewise.
16267 [C99-based standards] (clog10l): Likewise.
16268 [C99-based standards] (clog1pl): Likewise.
16269 [C99-based standards] (clog2l): Likewise.
16270 [C99-based standards] (clgammal): Likewise.
16271 [C99-based standards] (ctgammal): Likewise.
16272 * conform/data/inttypes.h-data [C99-based standards]: Include
16273 stdint.h-data. Remove all expectations for stdint.h contents.
16274 [C99-based standards] (PRI*): Do not allow.
16275 [C99-based standards] (SCN*): Likewise.
16276 [C99-based standards] (*_t): Likewise.
16277 [C99-based-standards] (PRId8): Expect macro.
16278 [C99-based-standards] (PRIi8): Likewise.
16279 [C99-based-standards] (PRIo8): Likewise.
16280 [C99-based-standards] (PRIu8): Likewise.
16281 [C99-based-standards] (PRIx8): Likewise.
16282 [C99-based-standards] (PRIX8): Likewise.
16283 [C99-based-standards] (SCNd8): Likewise.
16284 [C99-based-standards] (SCNi8): Likewise.
16285 [C99-based-standards] (SCNo8): Likewise.
16286 [C99-based-standards] (SCNu8): Likewise.
16287 [C99-based-standards] (SCNx8): Likewise.
16288 [C99-based-standards] (PRIdLEAST8): Likewise.
16289 [C99-based-standards] (PRIiLEAST8): Likewise.
16290 [C99-based-standards] (PRIoLEAST8): Likewise.
16291 [C99-based-standards] (PRIuLEAST8): Likewise.
16292 [C99-based-standards] (PRIxLEAST8): Likewise.
16293 [C99-based-standards] (PRIXLEAST8): Likewise.
16294 [C99-based-standards] (SCNdLEAST8): Likewise.
16295 [C99-based-standards] (SCNiLEAST8): Likewise.
16296 [C99-based-standards] (SCNoLEAST8): Likewise.
16297 [C99-based-standards] (SCNuLEAST8): Likewise.
16298 [C99-based-standards] (SCNxLEAST8): Likewise.
16299 [C99-based-standards] (PRIdFAST8): Likewise.
16300 [C99-based-standards] (PRIiFAST8): Likewise.
16301 [C99-based-standards] (PRIoFAST8): Likewise.
16302 [C99-based-standards] (PRIuFAST8): Likewise.
16303 [C99-based-standards] (PRIxFAST8): Likewise.
16304 [C99-based-standards] (PRIXFAST8): Likewise.
16305 [C99-based-standards] (SCNdFAST8): Likewise.
16306 [C99-based-standards] (SCNiFAST8): Likewise.
16307 [C99-based-standards] (SCNoFAST8): Likewise.
16308 [C99-based-standards] (SCNuFAST8): Likewise.
16309 [C99-based-standards] (SCNxFAST8): Likewise.
16310 [C99-based-standards] (PRId16): Likewise.
16311 [C99-based-standards] (PRIi16): Likewise.
16312 [C99-based-standards] (PRIo16): Likewise.
16313 [C99-based-standards] (PRIu16): Likewise.
16314 [C99-based-standards] (PRIx16): Likewise.
16315 [C99-based-standards] (PRIX16): Likewise.
16316 [C99-based-standards] (SCNd16): Likewise.
16317 [C99-based-standards] (SCNi16): Likewise.
16318 [C99-based-standards] (SCNo16): Likewise.
16319 [C99-based-standards] (SCNu16): Likewise.
16320 [C99-based-standards] (SCNx16): Likewise.
16321 [C99-based-standards] (PRIdLEAST16): Likewise.
16322 [C99-based-standards] (PRIiLEAST16): Likewise.
16323 [C99-based-standards] (PRIoLEAST16): Likewise.
16324 [C99-based-standards] (PRIuLEAST16): Likewise.
16325 [C99-based-standards] (PRIxLEAST16): Likewise.
16326 [C99-based-standards] (PRIXLEAST16): Likewise.
16327 [C99-based-standards] (SCNdLEAST16): Likewise.
16328 [C99-based-standards] (SCNiLEAST16): Likewise.
16329 [C99-based-standards] (SCNoLEAST16): Likewise.
16330 [C99-based-standards] (SCNuLEAST16): Likewise.
16331 [C99-based-standards] (SCNxLEAST16): Likewise.
16332 [C99-based-standards] (PRIdFAST16): Likewise.
16333 [C99-based-standards] (PRIiFAST16): Likewise.
16334 [C99-based-standards] (PRIoFAST16): Likewise.
16335 [C99-based-standards] (PRIuFAST16): Likewise.
16336 [C99-based-standards] (PRIxFAST16): Likewise.
16337 [C99-based-standards] (PRIXFAST16): Likewise.
16338 [C99-based-standards] (SCNdFAST16): Likewise.
16339 [C99-based-standards] (SCNiFAST16): Likewise.
16340 [C99-based-standards] (SCNoFAST16): Likewise.
16341 [C99-based-standards] (SCNuFAST16): Likewise.
16342 [C99-based-standards] (SCNxFAST16): Likewise.
16343 [C99-based-standards] (PRId32): Likewise.
16344 [C99-based-standards] (PRIi32): Likewise.
16345 [C99-based-standards] (PRIo32): Likewise.
16346 [C99-based-standards] (PRIu32): Likewise.
16347 [C99-based-standards] (PRIx32): Likewise.
16348 [C99-based-standards] (PRIX32): Likewise.
16349 [C99-based-standards] (SCNd32): Likewise.
16350 [C99-based-standards] (SCNi32): Likewise.
16351 [C99-based-standards] (SCNo32): Likewise.
16352 [C99-based-standards] (SCNu32): Likewise.
16353 [C99-based-standards] (SCNx32): Likewise.
16354 [C99-based-standards] (PRIdLEAST32): Likewise.
16355 [C99-based-standards] (PRIiLEAST32): Likewise.
16356 [C99-based-standards] (PRIoLEAST32): Likewise.
16357 [C99-based-standards] (PRIuLEAST32): Likewise.
16358 [C99-based-standards] (PRIxLEAST32): Likewise.
16359 [C99-based-standards] (PRIXLEAST32): Likewise.
16360 [C99-based-standards] (SCNdLEAST32): Likewise.
16361 [C99-based-standards] (SCNiLEAST32): Likewise.
16362 [C99-based-standards] (SCNoLEAST32): Likewise.
16363 [C99-based-standards] (SCNuLEAST32): Likewise.
16364 [C99-based-standards] (SCNxLEAST32): Likewise.
16365 [C99-based-standards] (PRIdFAST32): Likewise.
16366 [C99-based-standards] (PRIiFAST32): Likewise.
16367 [C99-based-standards] (PRIoFAST32): Likewise.
16368 [C99-based-standards] (PRIuFAST32): Likewise.
16369 [C99-based-standards] (PRIxFAST32): Likewise.
16370 [C99-based-standards] (PRIXFAST32): Likewise.
16371 [C99-based-standards] (SCNdFAST32): Likewise.
16372 [C99-based-standards] (SCNiFAST32): Likewise.
16373 [C99-based-standards] (SCNoFAST32): Likewise.
16374 [C99-based-standards] (SCNuFAST32): Likewise.
16375 [C99-based-standards] (SCNxFAST32): Likewise.
16376 [C99-based-standards] (PRId64): Likewise.
16377 [C99-based-standards] (PRIi64): Likewise.
16378 [C99-based-standards] (PRIo64): Likewise.
16379 [C99-based-standards] (PRIu64): Likewise.
16380 [C99-based-standards] (PRIx64): Likewise.
16381 [C99-based-standards] (PRIX64): Likewise.
16382 [C99-based-standards] (SCNd64): Likewise.
16383 [C99-based-standards] (SCNi64): Likewise.
16384 [C99-based-standards] (SCNo64): Likewise.
16385 [C99-based-standards] (SCNu64): Likewise.
16386 [C99-based-standards] (SCNx64): Likewise.
16387 [C99-based-standards] (PRIdLEAST64): Likewise.
16388 [C99-based-standards] (PRIiLEAST64): Likewise.
16389 [C99-based-standards] (PRIoLEAST64): Likewise.
16390 [C99-based-standards] (PRIuLEAST64): Likewise.
16391 [C99-based-standards] (PRIxLEAST64): Likewise.
16392 [C99-based-standards] (PRIXLEAST64): Likewise.
16393 [C99-based-standards] (SCNdLEAST64): Likewise.
16394 [C99-based-standards] (SCNiLEAST64): Likewise.
16395 [C99-based-standards] (SCNoLEAST64): Likewise.
16396 [C99-based-standards] (SCNuLEAST64): Likewise.
16397 [C99-based-standards] (SCNxLEAST64): Likewise.
16398 [C99-based-standards] (PRIdFAST64): Likewise.
16399 [C99-based-standards] (PRIiFAST64): Likewise.
16400 [C99-based-standards] (PRIoFAST64): Likewise.
16401 [C99-based-standards] (PRIuFAST64): Likewise.
16402 [C99-based-standards] (PRIxFAST64): Likewise.
16403 [C99-based-standards] (PRIXFAST64): Likewise.
16404 [C99-based-standards] (SCNdFAST64): Likewise.
16405 [C99-based-standards] (SCNiFAST64): Likewise.
16406 [C99-based-standards] (SCNoFAST64): Likewise.
16407 [C99-based-standards] (SCNuFAST64): Likewise.
16408 [C99-based-standards] (SCNxFAST64): Likewise.
16409 [C99-based-standards] (PRIdMAX): Likewise.
16410 [C99-based-standards] (PRIiMAX): Likewise.
16411 [C99-based-standards] (PRIoMAX): Likewise.
16412 [C99-based-standards] (PRIuMAX): Likewise.
16413 [C99-based-standards] (PRIxMAX): Likewise.
16414 [C99-based-standards] (PRIXMAX): Likewise.
16415 [C99-based-standards] (SCNdMAX): Likewise.
16416 [C99-based-standards] (SCNiMAX): Likewise.
16417 [C99-based-standards] (SCNoMAX): Likewise.
16418 [C99-based-standards] (SCNuMAX): Likewise.
16419 [C99-based-standards] (SCNxMAX): Likewise.
16420 [C99-based-standards] (PRIdPTR): Likewise.
16421 [C99-based-standards] (PRIiPTR): Likewise.
16422 [C99-based-standards] (PRIoPTR): Likewise.
16423 [C99-based-standards] (PRIuPTR): Likewise.
16424 [C99-based-standards] (PRIxPTR): Likewise.
16425 [C99-based-standards] (PRIXPTR): Likewise.
16426 [C99-based-standards] (SCNdPTR): Likewise.
16427 [C99-based-standards] (SCNiPTR): Likewise.
16428 [C99-based-standards] (SCNoPTR): Likewise.
16429 [C99-based-standards] (SCNuPTR): Likewise.
16430 [C99-based-standards] (SCNxPTR): Likewise.
16431 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16432 allow.
16433 * conform/data/stdint.h-data: Update comments to clarify
16434 requirements.
16435 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16436 type.
16437 [C99-based standards] (INT8_MAX): Likewise.
16438 [C99-based standards] (INT16_MIN): Likewise.
16439 [C99-based standards] (INT16_MAX): Likewise.
16440 [C99-based standards] (INT32_MIN): Likewise.
16441 [C99-based standards] (INT32_MAX): Likewise.
16442 [C99-based standards] (INT64_MIN): Likewise.
16443 [C99-based standards] (INT64_MAX): Likewise.
16444 [C99-based standards] (UINT8_MAX): Likewise.
16445 [C99-based standards] (UINT16_MAX): Likewise.
16446 [C99-based standards] (UINT32_MAX): Likewise.
16447 [C99-based standards] (UINT64_MAX): Likewise.
16448 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16449 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16450 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16451 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16452 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16453 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16454 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16455 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16456 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16457 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16458 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16459 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16460 [C99-based standards] (INT_FAST8_MIN): Likewise.
16461 [C99-based standards] (INT_FAST8_MAX): Likewise.
16462 [C99-based standards] (INT_FAST16_MIN): Likewise.
16463 [C99-based standards] (INT_FAST16_MAX): Likewise.
16464 [C99-based standards] (INT_FAST32_MIN): Likewise.
16465 [C99-based standards] (INT_FAST32_MAX): Likewise.
16466 [C99-based standards] (INT_FAST64_MIN): Likewise.
16467 [C99-based standards] (INT_FAST64_MAX): Likewise.
16468 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16469 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16470 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16471 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16472 [C99-based standards] (INTPTR_MIN): Likewise.
16473 [C99-based standards] (INTPTR_MAX): Likewise.
16474 [C99-based standards] (UINTPTR_MAX): Likewise.
16475 [C99-based standards] (INTMAX_MIN): Likewise.
16476 [C99-based standards] (INTMAX_MAX): Likewise.
16477 [C99-based standards] (UINTMAX_MAX): Likewise.
16478 [C99-based standards] (PTRDIFF_MIN): Likewise.
16479 [C99-based standards] (PTRDIFF_MAX): Likewise.
16480 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16481 [C99-based standards] (SIZE_MAX): Likewise.
16482 [C99-based standards] (WCHAR_MAX): Likewise.
16483 [C99-based standards] (WINT_MAX): Likewise.
16484 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16485 constraint on value.
16486 [C99-based standards] (WCHAR_MIN): Likewise.
16487 [C99-based standards] (WINT_MIN): Likewise.
16488 [C99-based standards] (*_t): Allow.
16489 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16490 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16491 Include math.h-data and complex.h-data. Remove all expectations
16492 of math.h and complex.h contents.
16493 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16494 at end of line.
16495 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16496 (struct tm): Expect tag.
16497 [C99-based-standards] (wcstof): Expect function.
16498 [C99-based-standards] (wcstold): Likewise.
16499 [C99-based-standards] (wcstoll): Likewise.
16500 [C99-based-standards] (wcstoull): Likewise.
16501 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16502 macro-int-constant. Specify type.
16503 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16504 constraint on value.
16505 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16506 Specify type.
16507 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16508 Specify value.
16509 [ISO C standards]: Do not allow headers.
16510 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16511 wcs[abcdefghijklmnopqrstuvwxyz]*.
16512 [ISO C standards] (*_t): Do not allow.
16513 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16514 Expect function.
16515 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16516 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16517 Specify type.
16518 [ISO C standards]: Do not allow headers.
16519 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16520 is[abcdefghijklmnopqrstuvwxyz]*.
16521 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16522 to[abcdefghijklmnopqrstuvwxyz]*.
16523 [ISO C standards] (*_t): Do not allow.
16524 * conform/data/stdalign.h-data: New file.
16525 * conform/data/stdbool.h-data: Likewise.
16526 * conform/data/stdnoreturn.h-data: Likewise.
16527
7514feb8
RM
165282012-11-07 Roland McGrath <roland@hack.frob.com>
16529
16530 [BZ #14815]
16531 * manual/filesys.texi (Directory Entries): Typo fix.
16532 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16533
19b2ecfc
MS
165342012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16535
16536 * elf/elf.h (EM_AARCH64): New macro.
16537 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16538 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16539 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16540 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16541 (R_AARCH64_TLSDESC): Likewise.
16542 (NT_ARM_TLS): Likewise.
16543 (NT_ARM_HW_BREAK): Likewise.
16544 (NT_ARM_HW_WATCH): Likewise.
16545
60e235ee
JM
165462012-11-07 Joseph Myers <joseph@codesourcery.com>
16547
16548 [BZ #14811]
16549 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16550 (__ieee754_powl): Saturate nonzero exponents with absolute value
16551 below 0x1p-79 to +/- 0x1p-79.
16552 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16553 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16554 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16555 nonzero exponents with absolute value below 0x1p-32 to +/-
16556 0x1p-32.
16557 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16558 (__ieee754_powl): Saturate nonzero exponents with absolute value
16559 below 0x1p-79 to +/- 0x1p-79.
16560 * math/libm-test.inc (pow_test): Add more tests.
16561
0ab234b7
AK
165622012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16563
16564 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16565 _dl_s390_cap_flags with kernel. Increase string length.
16566 (_dl_s390_platforms): Add z196 and zEC12.
16567
45832f74
JM
165682012-11-07 Joseph Myers <joseph@codesourcery.com>
16569
16570 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16571 Change XOPEN21K to XOPEN2K.
16572
19218757
MK
165732012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16574
16575 * string/memmove.c: Use memcpy when possible.
16576
c5f45721
AJ
165772012-11-06 Andreas Jaeger <aj@suse.de>
16578
16579 * po/eo.po: Update from translation team.
16580
82477c28
JM
165812012-11-06 Joseph Myers <joseph@codesourcery.com>
16582
16583 [BZ #14793]
16584 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16585 exponent and small x and y exponents, scale x or y up. Increase
16586 by 2 the exponent used in scaling up.
16587 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16588 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16589 * math/libm-test.inc (fma_test): Add more tests.
16590 (fma_test_towardzero): Likewise.
16591 (fma_test_downward): Likewise.
16592 (fma_test_upward): Likewise.
16593
99252c8c
JM
165942012-11-05 Joseph Myers <joseph@codesourcery.com>
16595
acfa885f
JM
16596 [BZ #14805]
16597 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16598 fenv_t *.
16599
99252c8c
JM
16600 [BZ #14801]
16601 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16602 namespace for names of struct fields.
16603 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16604 fenv_t fields.
16605 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16606 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16607
d6d98dea
ST
166082012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16609
16610 [BZ #3665]
16611 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16612
e10bb107
TS
166132012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16614
16615 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16616 PTR_DEMANGLE.
16617
16618 [BZ #5246]
16619 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16620 PTR_DEMANGLE.
16621
a0c2940d
JM
166222012-11-04 Joseph Myers <joseph@codesourcery.com>
16623
16624 [BZ #14797]
16625 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16626 definitely overflow as x * y not x * y + z.
16627 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16628 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16629 * math/libm-test.inc (fma_test): Add more tests.
16630 (fma_test_towardzero): Likewise.
16631 (fma_test_downward): Likewise.
16632 (fma_test_upward): Likewise.
16633
b830319d
TS
166342012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16635
16636 [BZ #157]
16637
16638 * include/stub-tag.h: Remove file.
16639 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16640 '#include' of it.
16641 * manual/maint.texi (Porting): Don't reference it.
16642 * Makerules ($(objpfx)stubs): Likewise.
16643 * dirent/closedir.c: Don't include <stub-tag.h>.
16644 * dirent/dirfd.c: Likewise.
16645 * dirent/fdopendir.c: Likewise.
16646 * dirent/getdents.c: Likewise.
16647 * dirent/getdents64.c: Likewise.
16648 * dirent/opendir.c: Likewise.
16649 * dirent/readdir.c: Likewise.
16650 * dirent/readdir64.c: Likewise.
16651 * dirent/readdir64_r.c: Likewise.
16652 * dirent/readdir_r.c: Likewise.
16653 * dirent/rewinddir.c: Likewise.
16654 * dirent/seekdir.c: Likewise.
16655 * dirent/telldir.c: Likewise.
16656 * gmon/profil.c: Likewise.
16657 * grp/setgroups.c: Likewise.
16658 * inet/if_index.c: Likewise.
16659 * io/access.c: Likewise.
16660 * io/chdir.c: Likewise.
16661 * io/chmod.c: Likewise.
16662 * io/chown.c: Likewise.
16663 * io/close.c: Likewise.
16664 * io/dup.c: Likewise.
16665 * io/dup2.c: Likewise.
16666 * io/dup3.c: Likewise.
16667 * io/euidaccess.c: Likewise.
16668 * io/faccessat.c: Likewise.
16669 * io/fchdir.c: Likewise.
16670 * io/fchmod.c: Likewise.
16671 * io/fchmodat.c: Likewise.
16672 * io/fchown.c: Likewise.
16673 * io/fchownat.c: Likewise.
16674 * io/fcntl.c: Likewise.
16675 * io/flock.c: Likewise.
16676 * io/fstatfs.c: Likewise.
16677 * io/fstatfs64.c: Likewise.
16678 * io/fstatvfs.c: Likewise.
16679 * io/fstatvfs64.c: Likewise.
16680 * io/futimens.c: Likewise.
16681 * io/fxstat.c: Likewise.
16682 * io/fxstat64.c: Likewise.
16683 * io/fxstatat.c: Likewise.
16684 * io/fxstatat64.c: Likewise.
16685 * io/getcwd.c: Likewise.
16686 * io/isatty.c: Likewise.
16687 * io/lchmod.c: Likewise.
16688 * io/lchown.c: Likewise.
16689 * io/link.c: Likewise.
16690 * io/linkat.c: Likewise.
16691 * io/lseek.c: Likewise.
16692 * io/lseek64.c: Likewise.
16693 * io/lxstat64.c: Likewise.
16694 * io/mkdir.c: Likewise.
16695 * io/mkdirat.c: Likewise.
16696 * io/mkfifo.c: Likewise.
16697 * io/mkfifoat.c: Likewise.
16698 * io/open.c: Likewise.
16699 * io/open64.c: Likewise.
16700 * io/openat.c: Likewise.
16701 * io/openat64.c: Likewise.
16702 * io/pipe.c: Likewise.
16703 * io/pipe2.c: Likewise.
16704 * io/poll.c: Likewise.
16705 * io/posix_fadvise.c: Likewise.
16706 * io/posix_fadvise64.c: Likewise.
16707 * io/posix_fallocate.c: Likewise.
16708 * io/posix_fallocate64.c: Likewise.
16709 * io/read.c: Likewise.
16710 * io/readlink.c: Likewise.
16711 * io/readlinkat.c: Likewise.
16712 * io/rmdir.c: Likewise.
16713 * io/sendfile.c: Likewise.
16714 * io/sendfile64.c: Likewise.
16715 * io/statfs.c: Likewise.
16716 * io/statfs64.c: Likewise.
16717 * io/statvfs.c: Likewise.
16718 * io/statvfs64.c: Likewise.
16719 * io/symlink.c: Likewise.
16720 * io/symlinkat.c: Likewise.
16721 * io/ttyname.c: Likewise.
16722 * io/ttyname_r.c: Likewise.
16723 * io/umask.c: Likewise.
16724 * io/unlink.c: Likewise.
16725 * io/unlinkat.c: Likewise.
16726 * io/utime.c: Likewise.
16727 * io/utimensat.c: Likewise.
16728 * io/write.c: Likewise.
16729 * io/xmknod.c: Likewise.
16730 * io/xmknodat.c: Likewise.
16731 * io/xstat.c: Likewise.
16732 * io/xstat64.c: Likewise.
16733 * login/getpt.c: Likewise.
16734 * login/grantpt.c: Likewise.
16735 * login/unlockpt.c: Likewise.
16736 * math/e_acoshl.c: Likewise.
16737 * math/e_acosl.c: Likewise.
16738 * math/e_asinl.c: Likewise.
16739 * math/e_atan2l.c: Likewise.
16740 * math/e_atanhl.c: Likewise.
16741 * math/e_coshl.c: Likewise.
16742 * math/e_expl.c: Likewise.
16743 * math/e_fmodl.c: Likewise.
16744 * math/e_gammal_r.c: Likewise.
16745 * math/e_hypotl.c: Likewise.
16746 * math/e_j0l.c: Likewise.
16747 * math/e_j1l.c: Likewise.
16748 * math/e_jnl.c: Likewise.
16749 * math/e_lgammal_r.c: Likewise.
16750 * math/e_log10l.c: Likewise.
16751 * math/e_log2l.c: Likewise.
16752 * math/e_logl.c: Likewise.
16753 * math/e_powl.c: Likewise.
16754 * math/e_rem_pio2l.c: Likewise.
16755 * math/e_sinhl.c: Likewise.
16756 * math/e_sqrtl.c: Likewise.
16757 * math/fclrexcpt.c: Likewise.
16758 * math/fedisblxcpt.c: Likewise.
16759 * math/feenablxcpt.c: Likewise.
16760 * math/fegetenv.c: Likewise.
16761 * math/fegetexcept.c: Likewise.
16762 * math/fegetround.c: Likewise.
16763 * math/feholdexcpt.c: Likewise.
16764 * math/fesetenv.c: Likewise.
16765 * math/fesetround.c: Likewise.
16766 * math/feupdateenv.c: Likewise.
16767 * math/fgetexcptflg.c: Likewise.
16768 * math/fraiseexcpt.c: Likewise.
16769 * math/fsetexcptflg.c: Likewise.
16770 * math/ftestexcept.c: Likewise.
16771 * math/k_cosl.c: Likewise.
16772 * math/k_rem_pio2l.c: Likewise.
16773 * math/k_sinl.c: Likewise.
16774 * math/k_tanl.c: Likewise.
16775 * math/s_asinhl.c: Likewise.
16776 * math/s_atanl.c: Likewise.
16777 * math/s_cbrtl.c: Likewise.
16778 * math/s_erfl.c: Likewise.
16779 * math/s_expm1l.c: Likewise.
16780 * math/s_log1pl.c: Likewise.
16781 * math/s_tanhl.c: Likewise.
16782 * misc/acct.c: Likewise.
16783 * misc/brk.c: Likewise.
16784 * misc/chflags.c: Likewise.
16785 * misc/chroot.c: Likewise.
16786 * misc/fchflags.c: Likewise.
16787 * misc/fgetxattr.c: Likewise.
16788 * misc/flistxattr.c: Likewise.
16789 * misc/fremovexattr.c: Likewise.
16790 * misc/fsetxattr.c: Likewise.
16791 * misc/fsync.c: Likewise.
16792 * misc/ftruncate.c: Likewise.
16793 * misc/futimes.c: Likewise.
16794 * misc/futimesat.c: Likewise.
16795 * misc/getdomain.c: Likewise.
16796 * misc/getdtsz.c: Likewise.
16797 * misc/gethostid.c: Likewise.
16798 * misc/gethostname.c: Likewise.
16799 * misc/getloadavg.c: Likewise.
16800 * misc/getpagesize.c: Likewise.
16801 * misc/getsysstats.c: Likewise.
16802 * misc/getxattr.c: Likewise.
16803 * misc/gtty.c: Likewise.
16804 * misc/ioctl.c: Likewise.
16805 * misc/lgetxattr.c: Likewise.
16806 * misc/listxattr.c: Likewise.
16807 * misc/llistxattr.c: Likewise.
16808 * misc/lremovexattr.c: Likewise.
16809 * misc/lsetxattr.c: Likewise.
16810 * misc/lutimes.c: Likewise.
16811 * misc/madvise.c: Likewise.
16812 * misc/mincore.c: Likewise.
16813 * misc/mlock.c: Likewise.
16814 * misc/mlockall.c: Likewise.
16815 * misc/mmap.c: Likewise.
16816 * misc/mprotect.c: Likewise.
16817 * misc/msync.c: Likewise.
16818 * misc/munlock.c: Likewise.
16819 * misc/munlockall.c: Likewise.
16820 * misc/munmap.c: Likewise.
16821 * misc/preadv.c: Likewise.
16822 * misc/preadv64.c: Likewise.
16823 * misc/ptrace.c: Likewise.
16824 * misc/pwritev.c: Likewise.
16825 * misc/pwritev64.c: Likewise.
16826 * misc/readv.c: Likewise.
16827 * misc/reboot.c: Likewise.
16828 * misc/remap_file_pages.c: Likewise.
16829 * misc/removexattr.c: Likewise.
16830 * misc/revoke.c: Likewise.
16831 * misc/select.c: Likewise.
16832 * misc/setdomain.c: Likewise.
16833 * misc/setegid.c: Likewise.
16834 * misc/seteuid.c: Likewise.
16835 * misc/sethostid.c: Likewise.
16836 * misc/sethostname.c: Likewise.
16837 * misc/setregid.c: Likewise.
16838 * misc/setreuid.c: Likewise.
16839 * misc/setxattr.c: Likewise.
16840 * misc/sstk.c: Likewise.
16841 * misc/stty.c: Likewise.
16842 * misc/swapoff.c: Likewise.
16843 * misc/swapon.c: Likewise.
16844 * misc/sync.c: Likewise.
16845 * misc/syncfs.c: Likewise.
16846 * misc/syscall.c: Likewise.
16847 * misc/truncate.c: Likewise.
16848 * misc/ualarm.c: Likewise.
16849 * misc/usleep.c: Likewise.
16850 * misc/ustat.c: Likewise.
16851 * misc/utimes.c: Likewise.
16852 * misc/vhangup.c: Likewise.
16853 * misc/writev.c: Likewise.
16854 * posix/_exit.c: Likewise.
16855 * posix/alarm.c: Likewise.
16856 * posix/execve.c: Likewise.
16857 * posix/fexecve.c: Likewise.
16858 * posix/fork.c: Likewise.
16859 * posix/fpathconf.c: Likewise.
16860 * posix/getaddrinfo.c: Likewise.
16861 * posix/getegid.c: Likewise.
16862 * posix/geteuid.c: Likewise.
16863 * posix/getgid.c: Likewise.
16864 * posix/getgroups.c: Likewise.
16865 * posix/getlogin.c: Likewise.
16866 * posix/getlogin_r.c: Likewise.
16867 * posix/getpgid.c: Likewise.
16868 * posix/getpid.c: Likewise.
16869 * posix/getppid.c: Likewise.
16870 * posix/getresgid.c: Likewise.
16871 * posix/getresuid.c: Likewise.
16872 * posix/getsid.c: Likewise.
16873 * posix/getuid.c: Likewise.
16874 * posix/glob64.c: Likewise.
16875 * posix/nanosleep.c: Likewise.
16876 * posix/pathconf.c: Likewise.
16877 * posix/pause.c: Likewise.
16878 * posix/posix_madvise.c: Likewise.
16879 * posix/pread.c: Likewise.
16880 * posix/pread64.c: Likewise.
16881 * posix/pwrite.c: Likewise.
16882 * posix/pwrite64.c: Likewise.
16883 * posix/sched_getaffinity.c: Likewise.
16884 * posix/sched_getp.c: Likewise.
16885 * posix/sched_gets.c: Likewise.
16886 * posix/sched_primax.c: Likewise.
16887 * posix/sched_primin.c: Likewise.
16888 * posix/sched_rr_gi.c: Likewise.
16889 * posix/sched_setaffinity.c: Likewise.
16890 * posix/sched_setp.c: Likewise.
16891 * posix/sched_sets.c: Likewise.
16892 * posix/sched_yield.c: Likewise.
16893 * posix/setgid.c: Likewise.
16894 * posix/setlogin.c: Likewise.
16895 * posix/setpgid.c: Likewise.
16896 * posix/setresgid.c: Likewise.
16897 * posix/setresuid.c: Likewise.
16898 * posix/setsid.c: Likewise.
16899 * posix/setuid.c: Likewise.
16900 * posix/sleep.c: Likewise.
16901 * posix/spawni.c: Likewise.
16902 * posix/sysconf.c: Likewise.
16903 * posix/times.c: Likewise.
16904 * posix/wait.c: Likewise.
16905 * posix/wait3.c: Likewise.
16906 * posix/wait4.c: Likewise.
16907 * posix/waitpid.c: Likewise.
16908 * resolv/gai_sigqueue.c: Likewise.
16909 * resource/getpriority.c: Likewise.
16910 * resource/getrlimit.c: Likewise.
16911 * resource/getrusage.c: Likewise.
16912 * resource/nice.c: Likewise.
16913 * resource/setpriority.c: Likewise.
16914 * resource/setrlimit.c: Likewise.
16915 * resource/ulimit.c: Likewise.
16916 * rt/aio_cancel.c: Likewise.
16917 * rt/aio_fsync.c: Likewise.
16918 * rt/aio_read.c: Likewise.
16919 * rt/aio_sigqueue.c: Likewise.
16920 * rt/aio_suspend.c: Likewise.
16921 * rt/aio_write.c: Likewise.
16922 * rt/clock_getres.c: Likewise.
16923 * rt/clock_gettime.c: Likewise.
16924 * rt/clock_nanosleep.c: Likewise.
16925 * rt/clock_settime.c: Likewise.
16926 * rt/lio_listio.c: Likewise.
16927 * rt/mq_close.c: Likewise.
16928 * rt/mq_getattr.c: Likewise.
16929 * rt/mq_notify.c: Likewise.
16930 * rt/mq_open.c: Likewise.
16931 * rt/mq_receive.c: Likewise.
16932 * rt/mq_send.c: Likewise.
16933 * rt/mq_setattr.c: Likewise.
16934 * rt/mq_timedreceive.c: Likewise.
16935 * rt/mq_timedsend.c: Likewise.
16936 * rt/mq_unlink.c: Likewise.
16937 * rt/shm_open.c: Likewise.
16938 * rt/shm_unlink.c: Likewise.
16939 * rt/timer_create.c: Likewise.
16940 * rt/timer_delete.c: Likewise.
16941 * rt/timer_getoverr.c: Likewise.
16942 * rt/timer_gettime.c: Likewise.
16943 * rt/timer_settime.c: Likewise.
16944 * setjmp/__longjmp.c: Likewise.
16945 * setjmp/setjmp.c: Likewise.
16946 * signal/kill.c: Likewise.
16947 * signal/killpg.c: Likewise.
16948 * signal/raise.c: Likewise.
16949 * signal/sigaction.c: Likewise.
16950 * signal/sigaltstack.c: Likewise.
16951 * signal/sigblock.c: Likewise.
16952 * signal/sigignore.c: Likewise.
16953 * signal/sigintr.c: Likewise.
16954 * signal/signal.c: Likewise.
16955 * signal/sigpause.c: Likewise.
16956 * signal/sigpending.c: Likewise.
16957 * signal/sigqueue.c: Likewise.
16958 * signal/sigreturn.c: Likewise.
16959 * signal/sigset.c: Likewise.
16960 * signal/sigsetmask.c: Likewise.
16961 * signal/sigstack.c: Likewise.
16962 * signal/sigsuspend.c: Likewise.
16963 * signal/sigtimedwait.c: Likewise.
16964 * signal/sigvec.c: Likewise.
16965 * signal/sigwait.c: Likewise.
16966 * signal/sigwaitinfo.c: Likewise.
16967 * signal/sysv_signal.c: Likewise.
16968 * socket/accept.c: Likewise.
16969 * socket/accept4.c: Likewise.
16970 * socket/bind.c: Likewise.
16971 * socket/connect.c: Likewise.
16972 * socket/getpeername.c: Likewise.
16973 * socket/getsockname.c: Likewise.
16974 * socket/getsockopt.c: Likewise.
16975 * socket/isfdtype.c: Likewise.
16976 * socket/listen.c: Likewise.
16977 * socket/recv.c: Likewise.
16978 * socket/recvfrom.c: Likewise.
16979 * socket/recvmsg.c: Likewise.
16980 * socket/send.c: Likewise.
16981 * socket/sendmsg.c: Likewise.
16982 * socket/sendto.c: Likewise.
16983 * socket/setsockopt.c: Likewise.
16984 * socket/shutdown.c: Likewise.
16985 * socket/sockatmark.c: Likewise.
16986 * socket/socket.c: Likewise.
16987 * socket/socketpair.c: Likewise.
16988 * stdio-common/ctermid.c: Likewise.
16989 * stdio-common/cuserid.c: Likewise.
16990 * stdio-common/remove.c: Likewise.
16991 * stdio-common/rename.c: Likewise.
16992 * stdio-common/renameat.c: Likewise.
16993 * stdio-common/tempname.c: Likewise.
16994 * stdlib/getcontext.c: Likewise.
16995 * stdlib/makecontext.c: Likewise.
16996 * stdlib/setcontext.c: Likewise.
16997 * stdlib/swapcontext.c: Likewise.
16998 * stdlib/system.c: Likewise.
16999 * streams/fattach.c: Likewise.
17000 * streams/fdetach.c: Likewise.
17001 * streams/getmsg.c: Likewise.
17002 * streams/getpmsg.c: Likewise.
17003 * streams/putmsg.c: Likewise.
17004 * streams/putpmsg.c: Likewise.
17005 * sysdeps/unix/bsd/getpt.c: Likewise.
17006 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17007 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17008 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17010 Likewise.
17011 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17012 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17013 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17014 * sysvipc/msgctl.c: Likewise.
17015 * sysvipc/msgget.c: Likewise.
17016 * sysvipc/msgrcv.c: Likewise.
17017 * sysvipc/msgsnd.c: Likewise.
17018 * sysvipc/semctl.c: Likewise.
17019 * sysvipc/semget.c: Likewise.
17020 * sysvipc/semop.c: Likewise.
17021 * sysvipc/semtimedop.c: Likewise.
17022 * sysvipc/shmat.c: Likewise.
17023 * sysvipc/shmctl.c: Likewise.
17024 * sysvipc/shmdt.c: Likewise.
17025 * sysvipc/shmget.c: Likewise.
17026 * termios/tcdrain.c: Likewise.
17027 * termios/tcflow.c: Likewise.
17028 * termios/tcflush.c: Likewise.
17029 * termios/tcgetattr.c: Likewise.
17030 * termios/tcgetpgrp.c: Likewise.
17031 * termios/tcsendbrk.c: Likewise.
17032 * termios/tcsetattr.c: Likewise.
17033 * termios/tcsetpgrp.c: Likewise.
17034 * time/adjtime.c: Likewise.
17035 * time/clock.c: Likewise.
17036 * time/getitimer.c: Likewise.
17037 * time/gettimeofday.c: Likewise.
17038 * time/setitimer.c: Likewise.
17039 * time/settimeofday.c: Likewise.
17040 * time/stime.c: Likewise.
17041 * time/time.c: Likewise.
17042
170432012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 17044
a20492cf
PT
17045 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17046 /usr/old/bin.
17047
72e182e3
PT
17048 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17049 instead of spaces.
17050 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17051
fbeafede
JM
170522012-11-03 Joseph Myers <joseph@codesourcery.com>
17053
5b5b04d6
JM
17054 [BZ #14796]
17055 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17056 FE_TONEAREST before applying Dekker multiplication and Knuth
17057 addition. Clear inexact exceptions and check for exact zero
17058 results afterwards.
17059 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17060 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17061 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17062 * math/libm-test.inc (fma_test): Add more tests.
17063 (fma_test_towardzero): Likewise.
17064 (fma_test_downward): Likewise.
17065 (fma_test_upward): Likewise.
17066 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17067 function.
17068 (libc_fesetround): New macro.
17069 (libc_fesetroundf): Likewise.
17070 (libc_fesetroundl): Likewise.
17071 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17072 function.
17073 (libc_fesetround_387): Likewise.
17074 (libc_fesetroundf): New macro.
17075 (libc_fesetround): Likewise.
17076 (libc_fesetroundl): Likewise.
17077 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17078 function.
17079 (libc_fesetroundf): New macro.
17080 (libc_fesetround): Likewise.
17081 (libc_fesetroundl): Likewise.
17082 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17083 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17084 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17085 libm_hidden_ver.
17086 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17087 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17088 libm_hidden_def.
17089 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17090 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17091 libm_hidden_ver.
17092 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17093 libm_hidden_def.
17094
fbeafede
JM
17095 [BZ #3439]
17096 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17097 integer constant usable in #if and use that to give value to enum
17098 constant.
17099 (FE_DIVBYZERO): Likewise.
17100 (FE_UNDERFLOW): Likewise.
17101 (FE_OVERFLOW): Likewise.
17102 (FE_INVALID): Likewise.
17103 (FE_INVALID_SNAN): Likewise.
17104 (FE_INVALID_ISI): Likewise.
17105 (FE_INVALID_IDI): Likewise.
17106 (FE_INVALID_ZDZ): Likewise.
17107 (FE_INVALID_IMZ): Likewise.
17108 (FE_INVALID_COMPARE): Likewise.
17109 (FE_INVALID_SOFTWARE): Likewise.
17110 (FE_INVALID_SQRT): Likewise.
17111 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17112 (FE_TONEAREST): Likewise.
17113 (FE_TOWARDZERO): Likewise.
17114 (FE_UPWARD): Likewise.
17115 (FE_DOWNWARD): Likewise.
17116 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17117 (FE_DIVBYZERO): Likewise.
17118 (FE_OVERFLOW): Likewise.
17119 (FE_UNDERFLOW): Likewise.
17120 (FE_INEXACT): Likewise.
17121 (FE_TONEAREST): Likewise.
17122 (FE_DOWNWARD): Likewise.
17123 (FE_UPWARD): Likewise.
17124 (FE_TOWARDZERO): Likewise.
17125 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17126 (FE_UNDERFLOW): Likewise.
17127 (FE_OVERFLOW): Likewise.
17128 (FE_DIVBYZERO): Likewise.
17129 (FE_INVALID): Likewise.
17130 (FE_TONEAREST): Likewise.
17131 (FE_TOWARDZERO): Likewise.
17132 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17133 (FE_OVERFLOW): Likewise.
17134 (FE_UNDERFLOW): Likewise.
17135 (FE_DIVBYZERO): Likewise.
17136 (FE_INEXACT): Likewise.
17137 (FE_TONEAREST): Likewise.
17138 (FE_TOWARDZERO): Likewise.
17139 (FE_UPWARD): Likewise.
17140 (FE_DOWNWARD): Likewise.
17141 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17142 (FE_DIVBYZERO): Likewise.
17143 (FE_OVERFLOW): Likewise.
17144 (FE_UNDERFLOW): Likewise.
17145 (FE_INEXACT): Likewise.
17146 (FE_TONEAREST): Likewise.
17147 (FE_DOWNWARD): Likewise.
17148 (FE_UPWARD): Likewise.
17149 (FE_TOWARDZERO): Likewise.
17150
105ca950
CM
171512012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17152
17153 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17154
a542b389
AS
171552012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17156
17157 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17158 commands. Quote $PWD.
17159 (blacklist_exports): Don't use remove_newlines. Replace "declare
17160 -x" by "export".
17161 (remove_newlines): Remove.
17162
f62c8abc
L
171632012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17164
17165 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17166 * stdlib/stdlib.h (atof): Moved to ...
17167 * include/bits/stdlib-float.h: Here. New file.
17168 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17169 * stdlib/bits/stdlib-float.h: New file.
17170 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17171 -mno-sse -mno-mmx.
17172 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17173 <xmmintrin.h>.
17174
0155d5b2
JM
171752012-11-02 Joseph Myers <joseph@codesourcery.com>
17176
a68d0680
JM
17177 * conform/conformtest.pl (@headers): Add fenv.h.
17178 * conform/data/fenv.h-data: New file.
17179 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17180 include of <math/fenv.h>.
17181
caf7f573
JM
17182 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17183 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17184 && !UNIX98]. Enables tests for XOPEN2K8.
17185 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17186 POSIX2008]: Likewise.
17187
6c073ad6
JM
17188 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17189 (struct rusage): Do not expect type or its members.
17190
0155d5b2
JM
17191 [BZ #3439]
17192 * math/math.h (FP_NAN): Define macro to integer constant usable in
17193 #if and use that to give value to enum constant.
17194 (FP_INFINITE): Likewise.
17195 (FP_ZERO): Likewise.
17196 (FP_SUBNORMAL): Likewise.
17197 (FP_NORMAL): Likewise.
17198
b5dcacb4
AS
171992012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17200
17201 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17202 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17203 arguments.
17204
f7934be8
RM
172052012-11-02 Roland McGrath <roland@hack.frob.com>
17206
17207 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17208 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17209 autoconf-time if not.
17210 * configure.in: Remove AC_PREREQ.
17211
d7d08bde
TMQMF
172122012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17213
17214 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17215 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17216 of the internal implementation.
17217
dcdae19a
JM
172182012-11-02 Joseph Myers <joseph@codesourcery.com>
17219
17220 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17221 except include of <misc/sys/syslog.h>.
17222
d6cffd3e
AS
172232012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17224
17225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17226 function returns with a NULL context exit with zero.
17227
b3563932
TMQMF
172282012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17229
17230 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17231
b288a93d
L
172322012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17233
17234 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17235 (run_program_cmd): This.
17236 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17237 (tst_langinfo): New variable. Use it.
17238
a2421a68
SAS
172392012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17240
17241 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17242 floating point opcodes.
17243
6f796e1b
TS
172442012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17245
7402596b
TS
17246 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17247 variable.
17248
d0d4f868
TS
17249 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17250
6f796e1b
TS
17251 * sysdeps/mach/hurd/powerpc: Remove directory.
17252 * sysdeps/mach/powerpc: Likewise.
17253
4da224a2
AS
172542012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17255
17256 * scripts/check-local-headers.sh: Ignore c++ headers.
17257
341dd673
TS
172582012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17259
17260 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17261 __libc_cleanup_region_start argument.
17262
473611b2
JM
172632012-11-01 Joseph Myers <joseph@codesourcery.com>
17264
17265 [BZ #14784]
17266 [BZ #14785]
17267 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17268 x * y using scaling, not as x * y + z.
17269 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17270 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17271 * math/libm-test.inc (fma_test): Add more tests.
17272 (fma_test_towardzero): Likewise.
17273 (fma_test_downward): Likewise.
17274 (fma_test_upward): Likewise.
17275
4078da3d
TS
172762012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17277
17278 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17279
903252aa
JM
172802012-10-31 Joseph Myers <joseph@codesourcery.com>
17281
17282 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17283 New variable.
17284
cbc818d0
TS
172852012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17286
17287 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17288
5a03cb1e
AS
172892012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17290
17291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17292 Fix sort order.
17293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17294 Likewise.
17295
90aff2ff
TMQMF
172962012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17297
17298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17299 Fix the order of the list for glibc 2.17.
17300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17301 Likewise.
17302
1818fcb7
AS
173032012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17304
17305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17306
ef82f4da
JM
173072012-10-31 Joseph Myers <joseph@codesourcery.com>
17308
16a0e2ec
JM
17309 [BZ #14610]
17310 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17311 for low part of x being zero before using __atanl (y).
17312 * math/libm-test.inc (atan2_test): Add another test.
17313
0eb69512
JM
17314 * manual/install.texi (Configuring and compiling): Document
17315 general use of test-wrapper and test-wrapper-env.
17316 * INSTALL: Regenerated.
17317
ef82f4da
JM
17318 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17319 (__fma): Do not extract and scale down low bits on after-rounding
17320 systems when result rounded to normal precision would have normal
17321 exponent.
17322 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17323 (__fmal): Do not extract and scale down low bits on after-rounding
17324 systems when result rounded to normal precision would have normal
17325 exponent.
17326 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17327 (__fmal): Do not extract and scale down low bits on after-rounding
17328 systems when result rounded to normal precision would have normal
17329 exponent.
17330 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17331 macro.
17332 (fma_test): Add more tests.
17333 (fma_test_towardzero): Likewise.
17334 (fma_test_downward): Likewise.
17335 (fma_test_upward): Likewise.
17336
954ef0d9
L
173372012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17338
17339 * sysdeps/i386/tininess.h: Renamed to ...
17340 * sysdeps/x86/tininess.h: This.
17341 * sysdeps/x86_64/tininess.h: Removed.
17342
df61ffb2
JM
173432012-10-30 Joseph Myers <joseph@codesourcery.com>
17344
17345 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17346 input. Use $(build-program-cmd).
17347 ($(objpfx)tst-array1-static.out): Likewise.
17348 ($(objpfx)tst-array2.out): Likewise.
17349 ($(objpfx)tst-array3.out): Likewise.
17350 ($(objpfx)tst-array4.out): Likewise.
17351 ($(objpfx)tst-array5.out): Likewise.
17352 ($(objpfx)tst-array5-static.out): Likewise.
17353
01767843
CM
173542012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17355
47cc1490
CM
17356 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17357 if defined.
17358
01767843
CM
17359 * nss/nsswitch.h (nss_interface_function): Provide new
17360 macro for use with NSS functions.
17361 * grp/initgroups.c: Use new macro.
17362 * nss/getXXbyYY.c: Likewise.
17363 * nss/getXXbyYY_r.c: Likewise.
17364 * nss/getXXent.c: Likewise.
17365 * nss/getXXent_r.c: Likewise.
17366 * sysdeps/posix/getaddrinfo.c: Likewise.
17367
8321aa97
AJ
173682012-10-30 Andreas Jaeger <aj@suse.de>
17369
17370 * po/ru.po: Update Russion translation from translation project.
17371
2a27fd6d
JM
173722012-10-30 Joseph Myers <joseph@codesourcery.com>
17373
8627a232
JM
17374 [BZ #14152]
17375 [BZ #14783]
17376 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17377 result and shift together with sticky bit instead of replicating
17378 round-to-nearest rounding.
17379 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17380 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17381 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17382 missing underflow exceptions.
17383 (fma_test_towardzero): Add more tests.
17384 (fma_test_downward): Likewise.
17385 (fma_test_upward): Likewise.
17386
2a27fd6d
JM
17387 [BZ #14047]
17388 * sysdeps/generic/tininess.h: New file.
17389 * sysdeps/i386/tininess.h: Likewise.
17390 * sysdeps/sh/tininess.h: Likewise.
17391 * sysdeps/x86_64/tininess.h: Likewise.
17392 * stdlib/tst-strtod-underflow.c: Likewise.
17393 * stdlib/tst-tininess.c: Likewise.
17394 * stdlib/strtod_l.c: Include <tininess.h>.
17395 (round_and_return): Do not set errno for exact underflow cases.
17396 Force an underflow exception when setting errno for underflow.
17397 Determine underflow based on rounding to normal precision if
17398 TININESS_AFTER_ROUNDING.
17399 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17400 ERANGE for exact underflow cases.
17401 * stdlib/Makefile (tests): Add tst-tininess and
17402 tst-strtod-underflow.
17403 ($(objpfx)tst-tininess): Use $(link-libm).
17404 ($(objpfx)tst-strtod-underflow): Likewise.
17405
e7170363
AJ
174062012-10-30 Andreas Jaeger <aj@suse.de>
17407
e5088dc6
AJ
17408 [BZ#14767]
17409 * elf/Makefile (tests): Remove conditional for have-initfini-array
17410 since this is now always required and the variable does not exist
17411 anymore.
17412 (tests-static): Likewise.
17413 (modules-names): Likewise.
17414
e7170363 17415 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
17416
17417 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17418 merged with constructor/destructor.
17419 (init_array): Likewise.
17420 * elf/tst-array2dep.c (fini_array): Likewise.
17421 (init_array): Likewise.
17422
60457d8a
MF
174232012-10-29 Mike Frysinger <vapier@gentoo.org>
17424
17425 * manual/message.texi: Delete @cartouche tags.
17426
8bece752
PT
174272012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17428
94ce799f
PT
17429 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17430 EOPNOTSUPP.
17431 * sysdeps/mach/hurd/fsync.c: Likewise.
17432
8bece752
PT
17433 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17434 [_POSIX_REALTIME_SIGNALS]: Change condition to
17435 [_POSIX_REALTIME_SIGNALS > 0].
17436
86ebe6b1
AJ
174372012-10-27 Andreas Jaeger <aj@suse.de>
17438
17439 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17440 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17441 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17442 [__WORDSIZE != 64]: Likewise.
17443
54399c08
L
174442012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17445
17446 * iconvdata/tst-table.sh: Remove ${SHELL}.
17447 * iconvdata/tst-tables.sh: Likewise.
17448
e2211bed
DM
174492012-10-25 David S. Miller <davem@davemloft.net>
17450
17451 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17452 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17453 of strtoull.
17454
f303f97c
DM
17455 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17456 ifunc-impl-list.c
17457 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17458 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17459 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17460 file.
17461
1e9d84cd
RM
174622012-10-25 Roland McGrath <roland@hack.frob.com>
17463
17464 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17465 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17466 __getdirentries.
17467
df381762
JM
174682012-10-25 Joseph Myers <joseph@codesourcery.com>
17469 Jim Blandy <jimb@codesourcery.com>
17470
17471 * scripts/cross-test-ssh.sh: New file.
17472 * manual/install.texi (Configuring and compiling): Document use of
17473 cross-test-ssh.sh.
17474 * INSTALL: Regenerated.
17475
bff64913
PT
174762012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17477
17478 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17479 EOPNOTSUPP.
17480
25fe8932
JM
174812012-10-25 Joseph Myers <joseph@codesourcery.com>
17482
17483 * Makeconfig (run-program-prefix): Fix comment.
17484
cc1290d0
JM
174852012-10-24 Joseph Myers <joseph@codesourcery.com>
17486 Jim Blandy <jimb@codesourcery.com>
17487
17488 * Makeconfig (test-wrapper): New variable,
17489 (test-wrapper-env): Likewise.
17490 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17491 (run-built-tests): Define to yes.
17492 (run-program-prefix): Use $(test-wrapper).
17493 (built-program-cmd): Likewise.
17494 * Rules (make-test-out): Use $(test-wrapper-env) and
17495 $(host-built-program-cmd).
17496 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17497 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17498 tst-pathopt.sh.
17499 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17500 $(test-wrapper-env) to tst-rtld-load-self.sh.
17501 ($(objpfx)order2.out): Use $(test-wrapper).
17502 ($(objpfx)tst-initorder.out): Likewise.
17503 ($(objpfx)tst-initorder2.out): Likewise.
17504 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17505 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17506 (test_wrapper_env): New variable. Use it to run ld.so.
17507 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17508 Use it to run ld.so.
17509 (test_wrapper_env): Likewise.
17510 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17511 $(test-wrapper) to run-iconv-test.sh.
17512 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17513 (ICONV): Use $test_wrapper.
17514 * posix/Makefile ($(objpfx)globtest.out): Pass
17515 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17516 globtest.sh, not $(run-program-prefix).
17517 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17518 (test_wrapper): Likewise.
17519 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17520 set together with run_via_rtld_prefix.
17521 (run_program_prefix): Define in terms of test_wrapper and
17522 run_via_rtld_prefix.
17523
6e6249d0
RM
175242012-10-24 Roland McGrath <roland@hack.frob.com>
17525
17526 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17527 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17528 Targets removed.
17529
17530 [BZ #14743]
17531 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17532 Declare __clock_getres, __clock_gettime, __clock_settime,
17533 __clock_nanosleep, and __clock_getcpuclockid.
17534 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17535 Remove librt_hidden_def (clock_gettime).
17536 * sysdeps/unix/clock_gettime.c: Likewise.
17537 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17538 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17539 * rt/clock_getres.c: Define __clock_getres as an alias.
17540 * sysdeps/posix/clock_getres.c: Likewise.
17541 * rt/clock_settime.c: Define __clock_settime as an alias.
17542 * sysdeps/unix/clock_settime.c: Likewise.
17543 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17544 * sysdeps/unix/clock_nanosleep.c: Likewise.
17545 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17546 * rt/clock-compat.c: New file.
17547 * rt/Makefile (librt-routines): Add clock-compat and move
17548 $(clock-routines) to ...
17549 (routines): ... here, new variable.
17550 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17551 Don't add get_clockfreq here.
17552 * rt/Versions (libc: GLIBC_2.17): New version set.
17553 Add clock_* symbols here.
17554 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17555 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17556 (GLIBC_2.17): Add clock_* symbols.
17557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17559 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17561 Likewise.
17562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17563 Likewise.
17564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17565 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17568 * NEWS: Mention the move.
17569
17570 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17571 Use __open, __read, __close rather than their public counterparts.
17572 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17573 (__get_clockfreq_via_cpuinfo): Likewise.
17574 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17575 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17576
17577 * config.h.in (HAVE_IFUNC): New #undef.
17578 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17579 was successful.
17580 * configure: Regenerated.
17581
0cae3f4b
MF
175822012-10-24 Mike Frysinger <vapier@gentoo.org>
17583
17584 * configure.in: Move READELF check to start of file.
17585 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17586 libc_cv_asm_gnu_indirect_function in the process.
17587 * configure: Regenerated.
17588
8175a253
MF
175892012-10-24 Mike Frysinger <vapier@gentoo.org>
17590
17591 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17592 send the output to /dev/null.
17593 (libc_cv_cc_with_libunwind): Likewise.
17594 (libc_cv_as_noexecstack): Likewise.
17595 * configure: Regenerate.
17596
0708a7d1
JM
175972012-10-24 Joseph Myers <joseph@codesourcery.com>
17598
10b40d85
JM
17599 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17600
0708a7d1
JM
17601 * posix/globtest.sh (TMPDIR): Do not set.
17602 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17603 (testout): Likewise.
17604
9fddec1a
AJ
176052012-10-24 Andreas Jaeger <aj@suse.de>
17606
3a8db22f
AJ
17607 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17608 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17609 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17610 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17611 posix_fadvise64, posix_fallocate64.
17612
9fddec1a
AJ
17613 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17614 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17615 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17616 Likewise.
17617 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17618 Likewise.
17619 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17620
17621 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17622 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17623 <bits/fcntl-linux.h>.
17624 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17625
17626 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17627 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17628 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17629 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17630 [__WORDSIZE != 64]: Likewise.
17631
ebfd1bbd
JM
176322012-10-23 Joseph Myers <joseph@codesourcery.com>
17633
03ac099f
JM
17634 * Makeconfig (run-built-tests): New variable.
17635 * Rules [$(cross-compiling) = yes]: Change condition to
17636 [$(run-built-tests) = no].
17637 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17638 to [$(run-built-tests) = yes].
17639 * elf/Makefile [$(cross-compiling) = no]: Likewise
17640 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17641 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17642 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17643 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17644 * io/Makefile [$(cross-compiling) = no]: Likewise.
17645 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17646 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17647 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17648 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17649 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17650 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17651 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17652 * string/Makefile [$(cross-compiling) = no]: Likewise.
17653
ebfd1bbd
JM
17654 * posix/Makefile ($(objpfx)globtest.out): Pass
17655 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17656 $(rtld-installed-name).
17657 * posix/globtest.sh (elf_objpfx): Remove variable.
17658 (rtld_installed_name): Likewise.
17659 (library_path): Likewise.
17660 (run_program_prefix): New variable. Use for running globtest
17661 binary.
17662
166bca24
JB
176632012-10-23 Jim Blandy <jimb@codesourcery.com>
17664 Joseph Myers <joseph@codesourcery.com>
17665
17666 * Makeconfig (host-built-program-cmd): New variable.
17667 * elf/Makefile (tst-stackguard1-ARGS): Use
17668 $(host-built-program-cmd).
17669 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17670 (tst-spawn-ARGS): Likewise.
17671 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17672
88866099
JM
176732012-10-23 Joseph Myers <joseph@codesourcery.com>
17674 Jim Blandy <jimb@codesourcery.com>
17675
17676 * Makeconfig (run-via-rtld-prefix): New variable.
17677 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17678 (built-program-cmd): Likewise.
17679
b4b4c296
AJ
176802012-10-22 Andreas Jaeger <aj@suse.de>
17681
17682 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17683 __O_RSYNC if it exists, otherwise to O_SYNC.
17684
6fb54a22
JB
176852012-10-22 Jim Blandy <jimb@codesourcery.com>
17686 Joseph Myers <joseph@codesourcery.com>
17687
17688 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17689 /dev/null.
17690 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17691 from /dev/null
17692 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17693 /dev/null.
17694
481b90b9
AJ
176952012-10-22 Andreas Jaeger <aj@suse.de>
17696
2a0e2669
AJ
17697 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17698 Define always.
17699 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17700
76e38f9a
AJ
17701 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17702 bits/fcntl-linux.h.
17703
7cd37b43
AJ
17704 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17705 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17706
481b90b9
AJ
17707 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17708 to __O_LARGEFILE.
17709 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17710 to __O_LARGEFILE.
17711
aba75984
JB
177122012-10-21 Jim Blandy <jimb@codesourcery.com>
17713 Joseph Myers <joseph@codesourcery.com>
17714
17715 * config.make.in (NM): New variable.
17716
88d4247f
AJ
177172012-10-21 Andreas Jaeger <aj@suse.de>
17718
17719 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17720 definitions and declarations that are provided by
17721 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17722
f2eed205
L
177232012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17724
17725 [BZ #14683]
17726 * elf/Makefile (tests-static): Add tst-leaks1-static.
17727 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17728 ($(objpfx)tst-leaks1-static): New rule.
17729 ($(objpfx)tst-leaks1-static-mem): Likewise.
17730 (tst-leaks1-static-ENV): New macro.
17731 * elf/dl-open.c (dl_open_worker): Check the main application
17732 only if SHARED is defined.
17733 * elf/tst-leaks1-static.c: New file.
17734
335e6931
AJ
177352012-10-20 Andreas Jaeger <aj@suse.de>
17736
17737 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17738 generic values for Linux.
17739 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17740 and declarations that are provided by <bits/fcntl-linux.h> and
17741 include <bits/fcntl-linux.h>.
17742 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17743 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17744
ac5c94d3
RM
177452012-10-20 Roland McGrath <roland@hack.frob.com>
17746
17747 * io/fcntl.h: Move include of <bits/types.h> to the top and
17748 include it unconditionally.
17749
de54b33a
L
177502012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17751
228cfb01
L
17752 * wcsmbs/Makefile (tests-ifunc): New variable.
17753 (tests): Add $(tests-ifunc).
17754 * wcsmbs/test-wcschr-ifunc.c: New file.
17755 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17756 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17757 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17758 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17759 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17760
69f07e5f
L
17761 * string/Makefile (tests-ifunc): New variable.
17762 (tests): Add $(tests-ifunc).
17763 * string/test-memccpy.c (TEST_NAME): New macro.
17764 * string/test-memchr.c (TEST_NAME): Likewise.
17765 * string/test-memcmp.c (TEST_NAME): Likewise.
17766 * string/test-memcpy.c (TEST_NAME): Likewise.
17767 * string/test-memmem.c (TEST_NAME): Likewise.
17768 * string/test-memmove.c (TEST_NAME): Likewise.
17769 * string/test-memset.c (TEST_NAME): Likewise.
17770 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17771 * string/test-stpcpy.c (TEST_NAME): Likewise.
17772 * string/test-stpncpy.c (TEST_NAME): Likewise.
17773 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17774 * string/test-strcasestr.c (TEST_NAME): Likewise.
17775 * string/test-strcat.c (TEST_NAME): Likewise.
17776 * string/test-strchr.c (TEST_NAME): Likewise.
17777 * string/test-strcmp.c(TEST_NAME): Likewise.
17778 * string/test-strcpy.c (TEST_NAME): Likewise.
17779 * string/test-strcspn.c (TEST_NAME): Likewise.
17780 * string/test-strlen.c (TEST_NAME): Likewise.
17781 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17782 * string/test-strncmp.c (TEST_NAME): Likewise.
17783 * string/test-strncpy.c (TEST_NAME): Likewise.
17784 * string/test-strnlen.c (TEST_NAME): Likewise.
17785 * string/test-strpbrk.c (TEST_NAME): Likewise.
17786 * string/test-strrchr.c (TEST_NAME): Likewise.
17787 * string/test-strspn.c (TEST_NAME): Likewise.
17788 * string/test-strstr.c (TEST_NAME): Likewise.
17789 * string/test-bcopy-ifunc.c: New file.
17790 * string/test-bzero-ifunc.c: Likewise.
17791 * string/test-memccpy-ifunc.c: Likewise.
17792 * string/test-memchr-ifunc.c: Likewise.
17793 * string/test-memcmp-ifunc.c: Likewise.
17794 * string/test-memcpy-ifunc.c: Likewise.
17795 * string/test-memmem-ifunc.c: Likewise.
17796 * string/test-memmove-ifunc.c: Likewise.
17797 * string/test-mempcpy-ifunc.c: Likewise.
17798 * string/test-memset-ifunc.c: Likewise.
17799 * string/test-rawmemchr-ifunc.c: Likewise.
17800 * string/test-stpcpy-ifunc.c: Likewise.
17801 * string/test-stpncpy-ifunc.c: Likewise.
17802 * string/test-strcasecmp-ifunc.c: Likewise.
17803 * string/test-strcasestr-ifunc.c: Likewise.
17804 * string/test-strcat-ifunc.c: Likewise.
17805 * string/test-strchr-ifunc.c: Likewise.
17806 * string/test-strchrnul-ifunc.c: Likewise.
17807 * string/test-strcmp-ifunc.c: Likewise.
17808 * string/test-strcpy-ifunc.c: Likewise.
17809 * string/test-strcspn-ifunc.c: Likewise.
17810 * string/test-strlen-ifunc.c: Likewise.
17811 * string/test-strncasecmp-ifunc.c: Likewise.
17812 * string/test-strncat-ifunc.c: Likewise.
17813 * string/test-strncmp-ifunc.c: Likewise.
17814 * string/test-strncpy-ifunc.c: Likewise.
17815 * string/test-strnlen-ifunc.c: Likewise.
17816 * string/test-strpbrk-ifunc.c: Likewise.
17817 * string/test-strrchr-ifunc.c: Likewise.
17818 * string/test-strspn-ifunc.c: Likewise.
17819 * string/test-strstr-ifunc.c: Likewise.
17820
de54b33a
L
17821 * debug/Makefile (tests-ifunc): New variable.
17822 (tests): Add $(tests-ifunc).
17823 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17824 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17825 * debug/test-stpcpy_chk-ifunc.c: New file.
17826 * debug/test-strcpy_chk-ifunc.c: Likewise.
17827
88481c16
SP
178282012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17829
17830 [BZ #13601]
17831 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17832 header is not read in.
17833
135948bd
JM
178342012-10-19 Joseph Myers <joseph@codesourcery.com>
17835
89f1c388
JM
17836 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17837 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17838 directly. Pass built executable to script as
17839 $(built-program-cmd).
17840 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17841 $testprogram without using LD_LIBRARY_PATH and $ldso.
17842
e40a0d21
JM
17843 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17844 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17845 $(rtld-installed-name).
17846 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17847 (rtld_installed_name): Likewise.
17848 (library_path): Likewise.
17849 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17850 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17851 $(run-program-prefix) to tst-tables.sh.
17852 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17853 it to run tst-table-from and tst-table-to.
17854 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17855 Pass it to tst-table.sh.
17856 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17857 $(run-program-prefix) to tst-gettext.sh.
17858 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17859 tst-translit.sh.
17860 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17861 tst-gettext2.sh.
17862 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17863 to run tst-gettext.
17864 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17865 to run tst-gettext2.
17866 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17867 to run tst-translit.
17868 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17869 $(run-program-prefix) to tst-mtrace.sh.
17870 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17871 to run tst-mtrace.
17872 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17873 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17874 $(rtld-installed-name).
17875 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17876 (rtld_installed_name): Likewise.
17877 (run_program_prefix): New variable. Use it to run wordexp-test.
17878
728e272a
JM
17879 * Makeconfig (ARCH): Remove all definitions.
17880 (machine): Likewise.
17881 [ARCH]: Remove conditional code.
17882 [!objdir]: Give error.
17883 [!objdir] (objpfx): Remove.
17884 [!objdir] (common-objpfx): Likewise.
17885 [!objdir] (common-objdir): Likewise.
17886 * configure.in (config_makefile): Remove. Hardcode Makefile in
17887 AC_CONFIG_FILES call.
17888 * configure: Regenerated.
17889
d528cdcf
JM
17890 [BZ #13888]
17891 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17892 or TMPDIR.
17893 (testout): Likewise.
17894
135948bd
JM
17895 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17896 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17897 $(rtld-installed-name).
17898 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17899 (rtld_installed_name): Likwise.
17900 (runit): Remove function.
17901 (run_getconf): New variable, Use it for running getconf binary.
17902
38c78296
L
179032012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17904
17905 [BZ #14716]
17906 * string/test-memmem.c (check_result): New function.
17907 (do_one_test): Use it.
17908 (check1): New function.
17909 (test_main): Use it.
17910
d077f65f
MT
179112012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17912
17913 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17914
ced52c71
JM
179152012-10-18 Joseph Myers <joseph@codesourcery.com>
17916
17917 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17918 (_G_LSEEK64): Likewise.
17919 (_G_MMAP64): Likewise.
17920 (_G_FSTAT64): Likewise.
17921 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17922 (_G_LSEEK64): Likewise.
17923 (_G_MMAP64): Likewise.
17924 (_G_FSTAT64): Likewise.
17925 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17926 unconditional. Call __mmap64 directly.
17927 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17928 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17929 __lseek64 directly.
17930 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17931 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17932 __mmap64 directly.
17933 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17934 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17935 __lseek64 directly.
17936 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17937 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17938 __lseek64 directly.
17939 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17940 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17941 __lseek64 directly.
17942 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17943 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17944 __fxstat64 directly.
17945 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17946 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17947 unconditional.
17948 (freopen64) [!_G_OPEN64]: Remove conditional code.
17949 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17950 unconditional.
17951 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17952 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17953 unconditional.
17954 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17955 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17956 unconditional.
17957 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17958 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17959 unconditional.
17960 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17961 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17962 unconditional.
17963 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17964 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17965 unconditional.
17966 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17967 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17968 unconditional.
17969 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17970
b741de23
SP
179712012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17972
17973 [BZ #12140]
17974 * manual/memory.texi (Malloc Tunable Parameters): Add note
17975 about free list pointers overwriting some perturb bytes.
17976 Wording suggested by Roland McGrath.
17977
f9b9d9c9
JM
179782012-10-17 Joseph Myers <joseph@codesourcery.com>
17979
17980 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17981 (lgamma_test): Likewise.
17982 (tgamma_test): Likewise.
17983
172a631a
FW
179842012-10-16 Florian Weimer <fweimer@redhat.com>
17985
17986 [BZ #14700]
17987 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17988 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17989
e9f37252
MK
179902012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17991
17992 * NEWS: Mention BZ #14716.
17993 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17994 when removing AVAILABLE1_USES_J macro.
17995
d394eb74
L
179962012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17997
17998 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17999 (__bswap_64): __uint64_t for unsigned 64-bit int.
18000
ca38dc17
AS
180012012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18002
18003 * include/string.h (memmem): Declare libc hidden alias.
18004 * string/memmem.c (memmem): Define libc hidden alias.
18005 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18006 __read, __close instead of open, read, close.
18007
9a387d1f
L
180082012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18009
ac49ecaf
L
18010 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18011 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18012 global and hidden.
18013 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18014 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18015 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18016 Likewise.
18017 (__rawmemchr_sse2): Likewise.
18018 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18019 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18020 (__strchr_sse2): Likewise.
18021 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18022 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18023 (__strcasecmp_sse2): Likewise.
18024 (__strncasecmp_sse2): Likewise.
18025 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18026 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18027 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18028 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18029 (__strrchr_sse2): Likewise.
18030 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18031 ifunc-impl-list.c.
18032 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18033 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18034 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18035 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18036 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18037 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18038 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18039 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18040 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18041 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18042 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18043 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18044 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18045 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18046 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18047 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18048 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18049 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18050 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18051 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18052 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18053 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18054 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18055 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18056 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18057 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18058 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18059 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18060 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18061 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18062
b090e8ea
L
18063 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18064 global and hidden.
18065 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18066 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18067 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18068 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18069 Likewise.
18070 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18071 Likewise.
18072 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18073 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18074 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18075 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18076 ifunc-impl-list.c.
18077 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18078 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18079 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18080 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18081 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18082 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18083 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18084 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18085 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18086 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18087 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18088 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18089 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18090 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18091 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18092 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18093 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18094 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18095 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18096 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18097 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18098 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18099 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18100 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18101 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18102 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18103 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18104 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18105 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18106 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18107 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18108 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18109 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18110 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18111 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18112 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18113 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18114 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18115 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18116 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18117 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18118
11dd4af6
L
18119 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18120 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18121 * include/ifunc-impl-list.h: New file.
18122 * misc/ifunc-impl-list.c: Likewise.
18123 * misc/Makefile (routines): Add ifunc-impl-list.
18124 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18125 * string/test-string.h: Include <ifunc-impl-list.h>.
18126 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18127 impl_array): New variables.
18128 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18129 are defined.
18130 (test_init): Call __libc_ifunc_impl_list to initialize
18131 func_list if TEST_IFUNC and TEST_NAME are defined.
18132
9a387d1f
L
18133 * string/Makefile (strop-tests): Add bcopy and bzero.
18134 * string/test-bcopy.c: New file.
18135 * string/test-bzero.c: Likewise.
18136 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18137 defined.
18138 * string/test-memset.c: Support bzero test if TEST_BZERO is
18139 defined.
18140 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18141 __libc_memmove.
18142 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18143 __libc_memset.
18144 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18145 of memset.
18146
472371b9
JM
181472012-10-10 Joseph Myers <joseph@codesourcery.com>
18148
1e4a9536
JM
18149 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18150 * configure: Regenerated.
18151
d173d12e
JM
18152 * Makeconfig (+link-static-before-libc): Don't include
18153 $(link-static-libc).
18154
472371b9
JM
18155 * libio/libio.h (_IO_pos_t): Remove.
18156
89a3ad0b
AO
181572012-10-10 Alexandre Oliva <aoliva@redhat.com>
18158
18159 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18160 McGrath.
18161
e7451425
AO
181622012-10-10 Alexandre Oliva <aoliva@redhat.com>
18163
18164 * crypt/crypt-entry.c: Include fips-private.h.
18165 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18166 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18167 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18168 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18169
4ba74a35
AO
181702012-10-10 Alexandre Oliva <aoliva@redhat.com>
18171
18172 * crypt/crypt-private.h: Include stdbool.h.
18173 (_ufc_setup_salt_r): Return bool.
18174 * crypt/crypt-entry.c: Include errno.h.
18175 (__crypt_r): Return NULL with EINVAL for bad salt.
18176 * crypt/crypt_util.c (bad_for_salt): New.
18177 (_ufc_setup_salt_r): Check that salt is long enough and within
18178 the specified alphabet.
18179 * crypt/badsalttest.c: New file.
18180 * crypt/Makefile (tests): Add it.
18181 ($(objpfx)badsalttest): New.
18182
f96f1242
MK
181832012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18184
18185 * NEWS: Add entry for BZ #14602.
18186
0e8e0c1c
JM
181872012-10-09 Joseph Myers <joseph@codesourcery.com>
18188
18189 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18190 type-generic.
18191 * math/libm-test.inc: Update comment listing what functions and
18192 macros are tested.
18193 (isgreater_test): New function.
18194 (isgreaterequal_test): Likewise.
18195 (isless_test): Likewise.
18196 (islessequal_test): Likewise.
18197 (islessgreater_test): Likewise.
18198 (isunordered_test): Likewise.
18199 (main): Call the new functions.
18200
273edc5e
RM
182012012-10-09 Roland McGrath <roland@hack.frob.com>
18202
b8493de0
RM
18203 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18204 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18205 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18206 * sysdeps/i386/configure: Regenerated.
18207 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18208 * sysdeps/mach/configure: Regenerated.
18209 * sysdeps/mach/hurd/configure: Regenerated.
18210 * sysdeps/powerpc/configure: Regenerated.
18211 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18212 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18213 * sysdeps/s390/s390-32/configure: Regenerated.
18214 * sysdeps/s390/s390-64/configure: Regenerated.
18215 * sysdeps/sh/configure: Regenerated.
18216 * sysdeps/sparc/configure: Regenerated.
18217 * sysdeps/unix/sysv/linux/configure: Regenerated.
18218 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18219 * sysdeps/x86_64/configure: Regenerated.
18220
273edc5e
RM
18221 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18222 defined. Don't check if MAP is NULL.
18223
c8450f70
JM
182242012-10-09 Joseph Myers <joseph@codesourcery.com>
18225
18226 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18227 (_G_stat64): Likewise.
18228 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18229 (_G_stat64): Likewise.
18230 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18231 instead of struct _G_stat64.
18232 * libio/fileops.c (mmap_remap_check): Likewise.
18233 (decide_maybe_mmap): Likewise.
18234 (_IO_new_file_seekoff): Likewise.
18235 (_IO_file_stat): Likewise.
18236 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18237 _G_off64_t.
18238 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18239 instead of struct _G_stat64.
18240 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18241
57e605ba
MK
182422012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18243
18244 [BZ #14602]
18245 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18246 Replace with ...
18247 (CHECK_EOL): New macro.
18248 (two_way_short_needle): Check beginning of haystack for EOL. Use
18249 CHECK_EOL.
18250 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18251 Replace with CHECK_EOL.
18252 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18253 Replace with CHECK_EOL.
18254
ef1bb361
JM
182552012-10-08 Joseph Myers <joseph@codesourcery.com>
18256
18257 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18258 type-generic.
18259 * math/libm-test.inc: Update comment listing what functions and
18260 macros are tested.
18261 (finite_test): New function.
18262 (isinf_test): Likewise.
18263 (isnan_test): Likewise.
18264 (fpclassify_test): Test subnormal input.
18265 (isfinite_test): Likewise.
18266 (isnormal_test): Likewise.
18267 (main): Call the new functions.
18268
55f11534
JN
182692012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18270
18271 [BZ #14660]
18272 * Makerules (%.dynsym): Force C locale when running
18273 $(OBJDUMP) --dynamic-syms.
18274
1ab29350
AS
182752012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18276
18277 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18278 <stdint.h>.
18279
f1ecb7ef
DM
182802012-10-06 David S. Miller <davem@davemloft.net>
18281
18282 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18283 upper 32-bits of the length value in %o2 since we use branch-on-register
18284 tests which consider the entire 64-bit register.
18285
5d41d91a
L
182862012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18287
18288 * string/test-strstr.c (check2): Add a test for page boundary.
18289
3baddb72
DM
182902012-10-05 David S. Miller <davem@davemloft.net>
18291
18292 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18293 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18294 file.
18295 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18296 sysdep_routines.
18297 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18298 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18299 and bzero when HWCAP_SPARC_CRYPTO is present.
18300
9cee5585
L
183012012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18302
d7e0dab9
L
18303 [BZ #14602]
18304 * string/test-strstr.c (check2): New function.
18305 (test_main): Call check2.
18306
03759f47
L
18307 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18308 and bug-strchr1.
18309 * string/bug-strcasestr1.c (do_test): Moved to ...
18310 * string/test-strcasestr.c (check1): Here. New function.
18311 (do_one_test): Break out result checking code into ...
18312 (check_result): This. New function.
18313 (do_one_test): Call check_result.
18314 (test_main): Call check1.
18315 * string/bug-strchr1.c (do_test): Moved to ...
18316 * string/test-strchr.c (check1): Here. New function.
18317 (do_one_test): Break out result checking code into ...
18318 (check_result): This. New function.
18319 (do_one_test): Call check_result.
18320 (test_main): Call check1.
18321 * string/bug-strstr1.c (main): Moved to ...
046f153e 18322 * string/test-strstr.c (check1): Here. New function.
03759f47
L
18323 (do_one_test): Break out result checking code into ...
18324 (check_result): This. New function.
18325 (do_one_test): Call check_result.
18326 (test_main): Call check1.
18327 * string/bug-strcasestr1.c: Removed.
18328 * string/bug-strchr1.c: Likewise.
18329 * string/bug-strstr1.c: Likewise.
18330
53cea63e
L
18331 * elf/Makefile (dl-routines): Add hwcaps.
18332 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18333 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18334 (_dl_important_hwcaps): Moved to ...
18335 * elf/dl-hwcaps.c: Here. New file.
18336 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18337
9cee5585 18338 [BZ #14557]
bb859b06
L
18339 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18340 if IS_IN_rtld isn't defined.
18341
9cee5585
L
18342 * elf/dl-support.c (_dl_sysinfo_map): New.
18343 Include "get-dynamic-info.h" and "setup-vdso.h".
18344 (_dl_non_dynamic_init): Call setup_vdso.
18345 * elf/dynamic-link.h: Don't include <assert.h>.
18346 (elf_get_dynamic_info): Moved to ...
18347 * elf/get-dynamic-info.h: Here. New file.
18348 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18349 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18350 * elf/setup-vdso.h: Here. New file.
18351 * elf/rtld.c: Include "setup-vdso.h".
18352 (dl_main): Call setup_vdso.
18353
23c31b76
JM
183542012-10-05 Joseph Myers <joseph@codesourcery.com>
18355
28234b07
JM
18356 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18357 creal in comment listing functions tested. List finite, isinf,
18358 isnan, isless, islessequal, isgreater, isgreaterequal,
18359 islessgreater, isunordered, lgamma_r and pow10 as functions and
18360 macros not tested. Mention which functions not tested are aliases
18361 for other functions. Fix typo. Note that signs of NaNs are not
18362 tested.
18363
23c31b76
JM
18364 * scripts/config.guess: Update from config.git.
18365 * scripts/config.sub: Likewise.
18366
9043e228
RM
183672012-10-04 Roland McGrath <roland@hack.frob.com>
18368
18369 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18370 * misc/madvise.c (madvise): Renamed to __madvise.
18371 Make madvise a weak alias.
18372 * include/sys/mman.h: Declare __madvise.
18373 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18374 * sysdeps/unix/syscalls.list
18375 (madvise): Make __madvise the strong name, and madvise a weak alias.
18376 * sysdeps/unix/sysv/linux/syscalls.list
18377 (madvise, mmap): Remove redundant entries.
18378 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18379 * malloc/malloc.c (mtrim): Likewise.
18380 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18381
f57f8055
RM
183822012-10-03 Roland McGrath <roland@hack.frob.com>
18383
18384 * sysdeps/mach/hurd/dl-cache.c: File removed.
18385 * config.h.in (USE_LDCONFIG): New #undef.
18386 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18387 * configure: Regenerated.
18388 * elf/Makefile (dl-routines): Add dl-cache only under
18389 [$(use-ldconfig) = yes].
18390 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18391 cache on [USE_LDCONFIG].
18392 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18393 [USE_LDCONFIG].
18394 * elf/rtld.c (dl_main): Likewise.
18395
5bb0c10a
PT
183962012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18397
18398 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18399 _SC_LEVEL4_CACHE_LINESIZE.
18400
010188c6
RM
184012012-10-03 Roland McGrath <roland@hack.frob.com>
18402
18403 * sysdeps/unix/bsd/confstr.h: File removed.
18404
b6c5ec07
AO
184052012-10-02 Alexandre Oliva <aoliva@redhat.com>
18406
18407 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18408 sys/sdt-config.h.
18409
408223d4
RM
184102012-10-02 Roland McGrath <roland@hack.frob.com>
18411
18412 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18413 Make 'mapoff' field ElfW(Off) rather than off_t.
18414
bb9510dc
DL
184152012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18416
fc997c6e
DL
18417 * nscd/Makefile: Remove nscd-cflags and all its users.
18418 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18419 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18420
bb9510dc
DL
18421 [BZ #10631]
18422 * malloc.c (malloc_printerr): Clarify error message.
18423
05699367
L
184242012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18425
18426 [BZ #14648]
18427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18428 Set bit_FMA_Usable if FMA is supported.
18429 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18430 macro.
18431 (bit_FMA4_Usable): Updated.
18432 (index_FMA_Usable): New macro.
18433 (CPUID_FMA): Likewise
18434 (HAS_FMA): Defined with bit_FMA_Usable.
18435
51367701
RM
184362012-10-01 Roland McGrath <roland@hack.frob.com>
18437
18438 * bits/types.h (__swblk_t): Type removed.
18439 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18440 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18441 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18442 (__SWBLK_T_TYPE): Likewise.
18443 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18444 (__SWBLK_T_TYPE): Likewise.
18445 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18446 (__SWBLK_T_TYPE): Likewise.
18447 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18448 (__SWBLK_T_TYPE): Likewise.
18449
4d57bf63 184502012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 18451 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
18452
18453 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18454 (xdr_mapname): Use YPMAXMAP as maxsize.
18455 (xdr_peername): Use YPMAXPEER as maxsize.
18456 (xdr_keydat): Use YPAXRECORD as maxsize.
18457 (xdr_valdat): Use YPMAXRECORD as maxsize.
18458
93c65d43
RM
184592012-10-01 Roland McGrath <roland@hack.frob.com>
18460
497a03d6
RM
18461 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18462
93c65d43
RM
18463 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18464 * csu/init-first.c: ... here.
18465 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18466 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18467 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18468 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18469 * sysdeps/i386/init-first.c: File removed.
18470 * sysdeps/sh/init-first.c: File removed.
18471
bec749fd
JM
184722012-10-01 Joseph Myers <joseph@codesourcery.com>
18473
18474 [BZ #14645]
18475 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18476 if x * y might underflow to zero and z is zero.
18477 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18478 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18479 * math/libm-test.inc (min_subnorm_value): New variable.
18480 (fma_test): Add more tests.
18481 (fma_test_towardzero): Likewise.
18482 (fma_test_downward): Likewise
18483 (fma_test_upward): Likewise.
18484 (initialize): Set min_subnorm_value.
18485
8ec5b013
JM
184862012-09-29 Joseph Myers <joseph@codesourcery.com>
18487
18488 [BZ #14638]
18489 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18490 0 + 0.
18491 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18492 mode for addition resulting in exact zero.
18493 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18494 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18495 exact 0 + 0.
18496 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18497 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18498 * math/libm-test.inc (fma_test): Add more tests.
18499 (fma_test_towardzero): New function.
18500 (fma_test_downward): Likewise.
18501 (fma_test_upward): Likewise.
18502 (main): Call the new functions.
18503
b1fa802e
DM
185042012-09-28 David S. Miller <davem@davemloft.net>
18505
18506 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18507
d3b9fd9e
RM
185082012-09-28 Roland McGrath <roland@hack.frob.com>
18509
ea4d37b3
RM
18510 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18511 instead of SIGALRM.
18512
ac51c949
RM
18513 * sysdeps/gnu/_G_config.h: Moved to ...
18514 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18515 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18516 * sysdeps/generic/_G_config.h: ... here.
18517
28c195f7
RM
18518 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18519
848917f9
RM
18520 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18521
6bacf05b
RM
18522 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18523 Conditionalize target on [libnss_test1.so-version].
18524
91363dbb
RM
18525 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18526
cc87f7d8
RM
18527 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18528 (elfobjdir): Move out of conditionals.
18529
b1c608fe
RM
18530 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18531 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18532 (__nss_lookup_function): Conditionalize label remove_from_tree on
18533 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 18534
1d9a6d96
DM
185352012-09-28 David S. Miller <davem@davemloft.net>
18536
18537 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18538 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18539 file.
18540 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18541 sysdep_routines.
18542 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18543 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18544 when HWCAP_SPARC_CRYPTO is present.
18545
72581615
PT
185462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18547
18548 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18549
715a900c
JL
185502012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18551
18552 [BZ #6530]
18553 * stdio-common/vfprintf.c (process_string_arg): Revert
18554 2000-07-22 change.
18555
185562011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18557
18558 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18559 for testcase.
18560 * stdio-common/tst-sprintf.c: Include <locale.h>
18561 (main): Test sprintf's handling of incomplete multibyte
18562 characters.
18563
9bac1d86
L
185642012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18565
18566 * elf/dl-runtime.c (VERSYMIDX): Removed.
18567 * elf/dl-version.c (VERSYMIDX): Likewise.
18568 * elf/do-rel.h (VERSYMIDX): Likewise.
18569 (VALIDX): Likewise.
18570 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18571 * elf/rtld.c (VALIDX): Likewise.
18572 (ADDRIDX): Likewise.
9bac1d86
L
18573 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18574 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18575 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
18576 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18577 (VALIDX): Likewise.
18578 (ADDRIDX): Likewise.
9bac1d86 18579
b31606c0
PT
185802012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18581
18582 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18583
11541177
JL
185842012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18585
18586 [BZ #11438]
18587 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18588 to global scope.
18589 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18590 addresses are in the same scope as 192.0.2/24.
18591 * posix/gai.conf: Document new scope table defaults.
18592
adb26fae
SP
185932012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18594
18595 [BZ #5298]
18596 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18597 for ftell. Compute offsets from write pointers instead.
18598 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18599
4573c6b0
SP
186002012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18601
18602 [BZ #14543]
18603 * libio/Makefile (tests): New test case tst-fseek.
18604 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18605 combination works in wide mode.
18606 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18607 state when the external buffer state changes.
18608
aa9bbfe6
DM
186092012-09-27 David S. Miller <davem@davemloft.net>
18610
18611 [BZ #14376]
18612 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18613 pass reloc->r_addend in as the 'high' argument to
18614 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18615
784421e7
DM
18616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18617
c39bc8b8
PT
186182012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18619
18620 * rt/tst-aio2.c: Include <pthread.h>.
18621 * rt/tst-aio3.c: Likewise.
18622
1ccc2399
SE
186232012-09-27 Steve Ellcey <sellcey@mips.com>
18624
18625 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18626
31ed4153
L
186272012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18628
25f5f885
L
18629 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18630 contents on [SHARED].
31ed4153 18631
b7bfe116
MP
186322012-09-26 Marek Polacek <polacek@redhat.com>
18633
18634 [BZ #14530]
18635 [BZ #13741]
18636 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18637 for C++ and GCC <4.3 as well as for non GCC compilers.
18638
43c4edba
MT
186392012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18640
18641 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18642
6a1bf82f
RM
186432012-09-25 Roland McGrath <roland@hack.frob.com>
18644
18645 * Makefile.in (all, install): Declare with .PHONY.
18646 Reported by Michael Hope <michael.hope@linaro.org>.
18647
8ad11b9a
TMQMF
186482012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18649
18650 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18651 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18652 system header.
18653 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18654 Likewise.
18655 (sydep_routines): Add the new and the internal functions.
18656 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18657 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18659 (GLIBC_2.17): Add the new function.
18660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18661 (GLIBC_2.17): Likewise.
18662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18663 (GLIBC_2.17): Likewise.
18664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18665 (GLIBC_2.17): Likewise.
18666 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18667
7e2fca8d
AM
186682012-09-25 Alan Modra <amodra@gmail.com>
18669
18670 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18671 Add release barrier before setting once_control to say
18672 initialisation is done. Add hints on lwarx. Use macro in
18673 place of isync.
18674 (clear_once_control): Add release barrier.
18675
b87c4b24
JM
186762012-09-25 Joseph Myers <joseph@codesourcery.com>
18677
d032e0d2
JM
18678 [BZ #13629]
18679 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18680 specially.
18681 * math/s_clog10.c (__clog10): Likewise.
18682 * math/s_clog10f.c (__clog10f): Likewise.
18683 * math/s_clog10l.c (__clog10l): Likewise.
18684 * math/s_clogf.c (__clogf): Likewise.
18685 * math/s_clogl.c (__clogl): Likewise.
18686 * math/Makefile (libm-calls): Add x2y2m1.
18687 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18688 (__x2y2m1): Likewise.
18689 (__x2y2m1l): Likewise.
18690 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18691 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18692 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18693 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18694 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18695 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18696 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18697 * sysdeps/i386/fpu/libm-test-ulps: Update.
18698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18699
b87c4b24
JM
18700 [BZ #14621]
18701 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18702 int as type of variable DEPTH.
18703 (glob): Use size_t instead of int as type of variables NEWCOUNT
18704 and OLD_PATHC.
18705
6d3bf199
LD
187062012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18707
22bf5c17
LD
18708 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18709 Add s_sincosf-sse2.
18710 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18711 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18712 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18713 macros for using routine as __sincosf_ia32.
18714 Use macro for function declaration and weak_alias.
18715 * sysdeps/i386/fpu/libm-test-ulps: Update.
18716
18717 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18718 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18719
18720 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
18721 subnormal argument.
18722 * math/s_cexpf.c (__cexpf): Likewise.
18723 * math/s_csinf.c (__csinf): Likewise.
18724 * math/s_csinhf.c (__csinhf): Likewise.
18725 * math/s_ctanf.c (__ctanf): Likewise.
18726 * math/s_ctanhf.c (__ctanhf): Likewise.
18727 * math/s_ccosh.c (__ccoshf): Likewise.
18728 * math/s_cexp.c (__cexpl): Likewise.
18729 * math/s_csin.c (__csin): Likewise.
18730 * math/s_csinh.c (__csinh): Likewise.
18731 * math/s_ctan.c (__ctan): Likewise.
18732 * math/s_ctanh.c (ctanh): Likewise.
18733 * math/s_ccoshl.c (__ccoshl): Likewise.
18734 * math/s_cexpl.c (__cexpl): Likewise.
18735 * math/s_csinl.c (__csinl): Likewise.
18736 * math/s_csinhl.c (__csinhl): Likewise.
18737 * math/s_ctanl.c (__ctanl): Likewise.
18738 * math/s_ctanhl.c (__ctanhl): Likewise.
18739
203e5603
JM
187402012-09-25 Joseph Myers <joseph@codesourcery.com>
18741
18742 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18743 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18744 (_IO_off_t): Define to __off_t, not _G_off_t.
18745 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18746 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18747 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18748 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18749 type of __dummy and __dummy2 fields.
18750 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18751 (_G_ssize_t): Likewise.
18752 (_G_off_t): Likewise.
18753 (_G_pid_t): Likewise.
18754 (_G_uid_t): Likewise.
18755 (_G_wchar_t): Likewise.
18756 (_G_wint_t): Likewise.
18757 * sysdeps/gnu/_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/mach/hurd/_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
9fab36eb
SP
187722012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18773
18774 * malloc/arena.c: Include malloc-sysdep.h.
18775 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18776 is sufficient to shrink the heap or an unmap is needed.
18777 * sysdeps/generic/malloc-sysdep.h: New file. Define
18778 new function check_may_shrink_heap.
18779 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18780 new function check_may_shrink_heap.
18781
2b4f00d1
SP
187822012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18783
18784 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18785 comments.
18786
9a9028b1
DL
187872012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18788
57c69bef
DL
18789 * catgets/test-gencat.sh: Add "set -e".
18790 * elf/tst-pathopt.sh: Likewise.
18791 * grp/tst_fgetgrent.sh: Likewise.
18792 * iconvdata/run-iconv-test.sh: Likewise.
18793 * intl/tst-gettext.sh: Likewise.
18794 * intl/tst-gettext2.sh: Likewise.
18795 * intl/tst-gettext4.sh: Likewise.
18796 * intl/tst-gettext6.sh: Likewise.
18797 * intl/tst-translit.sh: Likewise.
18798 * io/ftwtest-sh: Likewise.
18799 * libio/test-freopen.sh: Likewise.
18800 * malloc/tst-mtrace.sh: Likewise.
18801 * posix/globtest.sh: Likewise.
18802 * posix/tst-getconf.sh: Likewise.
18803 * posix/wordexp-tst.sh: Likewise.
18804 * stdio-common/tst-printf.sh: Likewise.
18805 * stdio-common/tst-unbputc.sh: Likewise.
18806 * stdlib/tst-fmtmsg.sh: Likewise.
18807 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18808 * catgets/Makefile: Do not specify -e option when running
18809 testsuite shell scripts.
18810 * elf/Makefile: Likewise.
18811 * grp/Makefile: Likewise.
18812 * iconvdata/Makefile: Likewise.
18813 * intl/Makefile: Likewise.
18814 * io/Makefile: Likewise.
18815 * libio/Makefile: Likewise.
18816 * malloc/Makefile: Likewise.
18817 * posix/Makefile: Likewise.
18818 * stdio-common/Makefile: Likewise.
18819 * stdlib/Makefile: Likewise.
18820 * sysdeps/x86_64/Makefile: Likewise.
18821
9a9028b1
DL
18822 * io/ftwtest-sh: Add copyright header.
18823 * posix/globtest.sh: Likewise.
18824 * posix/tst-getconf.sh: Likewise.
18825 * posix/wordexp-tst.sh: Likewise.
18826 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18827
ced6f16e
L
188282012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18829
94b32c39
L
18830 [BZ #13679]
18831 * Makeconfig (+link): Defined as $(+link-static) if
18832 $(build-shared) isn't yes.
18833 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18834 isn't yes.
18835 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18836
189e935b
L
18837 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18838
ced6f16e
L
18839 [BZ #14562]
18840 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18841 new chunk size with MALLOC_ALIGN_MASK.
18842
a9f8e53a
JM
188432012-09-24 Joseph Myers <joseph@codesourcery.com>
18844
18845 [BZ #5044]
18846 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18847 <rounding-mode.h>.
18848 (__printf_fphex): Determine rounding using get_rounding_mode and
18849 round_away.
18850 * stdio-common/tst-printf-round.c (struct hex_test): New
18851 structure.
18852 (hex_tests): New variable.
18853 (test_hex_in_one_mode): New function.
18854 (do_test): Also run tests for hex float output.
18855
43153109
JM
188562012-09-21 Joseph Myers <joseph@codesourcery.com>
18857
18858 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18859 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18860 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18861 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18862 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18863 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18864 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18865 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18866
8a26625d
JM
188672012-09-20 Joseph Myers <joseph@codesourcery.com>
18868
18869 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18870 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18871 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18872 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18873
f3fd569c
DL
188742012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18875
18876 [BZ #14579]
18877 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18878 mode only.
18879 * elf/tst-rtld-load-self.sh: New test.
18880 * elf/Makefile: Run it.
18881
63bbedd4
JM
188822012-09-18 Joseph Myers <joseph@codesourcery.com>
18883
18884 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18885 (tst-writev-ENV): Remove.
18886 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18887
626f8b6a
CM
188882012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18889
18890 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18891
b7aaa4d6
JM
188922012-09-17 Joseph Myers <joseph@codesourcery.com>
18893
18894 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18895 unconditional.
18896 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18897 Likewise.
18898 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18899 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18900 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18901 Likewise.
18902
65513990
L
189032012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18904
18905 [BZ #14587]
18906 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18907 * config.make.in (have-cpp-asm-debuginfo): Removed.
18908 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18909 * configure: Regenerated.
18910
784761be
JM
189112012-09-14 Joseph Myers <joseph@codesourcery.com>
18912
18913 [BZ #5044]
18914 * stdio-common/printf_fp.c: Include <stdbool.h> and
18915 <rounding-mode.h>.
18916 (___printf_fp): Determine rounding using get_rounding_mode and
18917 round_away.
18918 * stdio-common/tst-printf-round.c: New file.
18919 * stdio-common/Makefile (tests): Add tst-printf-round.
18920 (link-libm): New variable.
18921 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18922
9503345f
L
189232012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18924
18925 [BZ #14576]
18926 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18927 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18928 Likewise.
18929 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18930 Likewise.
18931
ad35fc00
JM
189322012-09-13 Joseph Myers <joseph@codesourcery.com>
18933
18934 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18935 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18936 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18937 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18938
6c9b0f68
JM
189392012-09-12 Joseph Myers <joseph@codesourcery.com>
18940
18941 [BZ #14518]
18942 * include/rounding-mode.h: New file.
18943 * sysdeps/generic/get-rounding-mode.h: Likewise.
18944 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18945 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18946 (MAX_VALUE): New macro.
18947 (MIN_VALUE): Likewise.
18948 (overflow_value): New function.
18949 (underflow_value): Likewise.
18950 (round_and_return): Use overflow_value and underflow_value to
18951 determine return values in overflow and underflow cases. Use
18952 round_away to determine rounding depending on rounding mode.
18953 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18954 determine return values in overflow and underflow cases.
18955 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18956 (struct test_results): New structure.
18957 (struct test): Use struct test_results to store expected results
18958 for all rounding modes.
18959 (TEST): Include expected results for all rounding modes.
18960 (test_in_one_mode): New function.
18961 (do_test): Use test_in_one_mode to compute and check results.
18962 Check results for all rounding modes.
18963 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18964 $(link-libm).
18965
19fcedd5
AM
189662012-12-09 Allan McRae <allan@archlinux.org>
18967
1e9d84cd 18968 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 18969
8bbfd2f1
JM
189702012-09-11 Joseph Myers <joseph@codesourcery.com>
18971
18972 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18973 (_G_int32_t): Likewise.
18974 (_G_uint16_t): Likewise.
18975 (_G_uint32_t): Likewise.
18976 (_G_HAVE_BOOL): Likewise.
18977 (_G_HAVE_ATEXIT): Likewise.
18978 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18979 (_G_HAVE_IO_FILE_OPEN): Likewise.
18980 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18981 (_G_int32_t): Likewise.
18982 (_G_uint16_t): Likewise.
18983 (_G_uint32_t): Likewise.
18984 (_G_HAVE_BOOL): Likewise.
18985 (_G_HAVE_ATEXIT): Likewise.
18986 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18987 (_G_HAVE_IO_FILE_OPEN): Likewise.
18988 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18989 (_G_int32_t): Likewise.
18990 (_G_uint16_t): Likewise.
18991 (_G_uint32_t): Likewise.
18992 (_G_HAVE_BOOL): Likewise.
18993 (_G_HAVE_ATEXIT): Likewise.
18994 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18995 (_G_HAVE_IO_FILE_OPEN): Likewise.
18996
b1dc5912
L
189972012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18998
18999 * csu/libc-tls.c: Update copyright years.
19000
0e886ef9
JM
190012012-09-10 Joseph Myers <joseph@codesourcery.com>
19002
28361c5e
JM
19003 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19004 [!_G_USING_THUNKS]: Remove conditional code.
19005 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19006 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19007
0e886ef9
JM
19008 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19009 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19010 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19011 (_G_VTABLE_LABEL_PREFIX): Likewise.
19012 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19013 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19014 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19015 (_G_VTABLE_LABEL_PREFIX): Likewise.
19016 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19017 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19018 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19019 (_G_VTABLE_LABEL_PREFIX): Likewise.
19020 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19021
bcba7aa2
L
190222012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19023
19024 * libio/Makefile: Include ../Makeconfig before tests.
19025 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19026 only if $(build-shared) is yes.
19027
06585ee8
L
19028 * iconv/gconv_db.c: Update copyright years.
19029
80ccd52c
LD
190302012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19031
19032 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19033 unwind info if defined PIC. Fix special cases description.
19034 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19035
19036 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19037 DP_HI_MASK entry.
19038 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19039
691bc9c1
L
190402012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19041
3d9b46b3
L
19042 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19043
de2139a9
L
19044 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19045 is NULL.
19046
5ca78dd0
L
19047 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19048 (LDLIBS-tst-chk4): This.
19049 (LDFLAGS-tst-chk5): Renamed to ...
19050 (LDLIBS-tst-chk5): This.
19051 (LDFLAGS-tst-chk6): Renamed to ...
19052 (LDLIBS-tst-chk6): This.
19053 (LDFLAGS-tst-lfschk4): Renamed to ...
19054 (LDLIBS-tst-lfschk4): This.
19055 (LDFLAGS-tst-lfschk5): Renamed to ...
19056 (LDLIBS-tst-lfschk5): This.
19057 (LDFLAGS-tst-lfschk6): Renamed to ...
19058 (LDLIBS-tst-lfschk6): This.
19059
691bc9c1
L
19060 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19061 on $(common-objpfx)soversions.mk.
19062
65cafb1c
JM
190632012-09-07 Joseph Myers <joseph@codesourcery.com>
19064
19065 [BZ #10014]
19066 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19067 example host name.
19068
c78ab094
SP
190692012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19070
19071 * malloc/arena.c (arena_get_retry): New function that gets
19072 another arena for the caller to try its request on.
19073 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19074 current arena cannot fulfill the request.
19075 (__libc_memalign): Likewise.
19076 (__libc_memalign): Likewise.
19077 (__libc_pvalloc): Likewise.
19078 (__libc_calloc): Likewise.
19079
01f49f59
JT
190802012-09-05 John Tobey <john.tobey@gmail.com>
19081
19082 [BZ #13542]
19083 * manual/arith.texi (Operations on Complex): Fix description
19084 of carg branch cut.
19085
4c23fed5
JM
190862012-09-06 Joseph Myers <joseph@codesourcery.com>
19087
1d3c8572
JM
19088 [BZ #10014]
19089 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19090 host name.
19091
4c23fed5
JM
19092 [BZ #10038]
19093 * manual/memory.texi (Memory): Make order of menu items match
19094 order of sections.
19095
04570aaa
L
190962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19097
19098 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19099 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19100 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19101
b80af2f4
L
191022012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19103
19104 * csu/libc-tls.c (static_dtv): Renamed to ...
19105 (_dl_static_dtv): This. Make it global.
19106 (_dl_initial_dtv): Removed.
19107 (__libc_setup_tls): Updated.
19108 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19109 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19110 DL_INITIAL_DTV.
19111
2abe9f15
PM
191122012-09-06 Petr Machata <pmachata@redhat.com>
19113
19114 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19115 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19116 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19117 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19118
0948c3af
L
191192012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19120
19121 [BZ #14545]
19122 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19123 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19124 freeing dtv[-1].
19125
a5055ad1
L
191262012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19127
19128 [BZ #14544]
19129 * Makeconfig (link-static-before-libc): Replace $(+prector)
19130 with $(+prectorT).
19131 (link-static-after-libc): Replace $(+postctor) with
19132 $(+postctorT).
19133 (link-bounded): Replace $(+prector)/$(+postctor) with
19134 $(+prectorT)/$(+postctorT).
19135 (+prectorT): New macro.
19136 (+postctorT): Likewise.
19137
ed8c2ecd
JM
191382012-09-06 Joseph Myers <joseph@codesourcery.com>
19139
19140 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19141 (round_str): Handle values above the maximum for IBM long double
19142 as inexact.
19143 * stdlib/tst-strtod-round.c (tests): Regenerated.
19144
14c996c8
AK
191452012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19146
19147 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19148 assembler flag.
19149 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19150 zarch_nohighgprs around the zarch optimized routines.
19151 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19152 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19153 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19154 for zarch.
19155
430d6ce6
DM
191562012-09-05 David S. Miller <davem@davemloft.net>
19157
19158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19159
ff04dda4
DM
19160 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19161 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19162 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19163 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19164 entries.
19165
24d4e01b
AO
191662012-09-05 Alexandre Oliva <aoliva@redhat.com>
19167
19168 * malloc/arena.c: Fold copyright years.
19169 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19170
61d58174
AO
191712012-09-05 Alexandre Oliva <aoliva@redhat.com>
19172
19173 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19174
20196a5e
AO
191752012-09-05 Alexandre Oliva <aoliva@redhat.com>
19176
19177 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19178
5c447383
AO
191792012-09-05 Alexandre Oliva <aoliva@redhat.com>
19180
19181 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19182 change internal state upon failure.
19183
fad64255
AO
191842012-09-05 Alexandre Oliva <aoliva@redhat.com>
19185
19186 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19187 * malloc/memusage.c (mmap): Likewise.
19188 (mmap64, mremap): Likewise. Adjust name in comment.
19189
1ffb8c90
SP
191902012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19191
19192 * libio/fileops.c: Fix typos in comments.
19193 * libio/oldfileops.c: Likewise.
19194 * libio/wfileops.c: Likewise.
19195
6ef9cc37
SP
191962012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19197
19198 [BZ #1349]
19199 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19200 (tst-malloc-usable-ENV): Set environment for test case.
19201 * malloc/hooks.c (malloc_check_get_size): New function to get
19202 requested size.
19203 * malloc/malloc.c (musable): Use malloc_check_get_size.
19204 * malloc/tst-malloc-usable.c: New test case.
19205
4d038ae3
AS
192062012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19207
19208 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19209
c4e85184
AM
192102012-09-05 Allan McRae <allan@archlinux.org>
19211
b9dafc56 19212 [BZ #13966]
c4e85184
AM
19213 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19214 determine header location.
19215 * configure: Regenerated.
19216
e1343020
AS
192172012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19218
19219 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19220 float format.
19221 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
19222 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19223 format.
e1343020
AS
19224 (test): Regenerate.
19225
0a9f1987
DM
192262012-09-04 David S. Miller <davem@davemloft.net>
19227
19228 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19229 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19230 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19231
29237804
FW
192322012-09-04 Florian Weimer <fweimer@redhat.com>
19233
19234 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19235 failures.
19236
edb3cb88
FW
19237 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19238
60160d83
JM
192392012-09-04 Joseph Myers <joseph@codesourcery.com>
19240
19241 [BZ #9914]
19242 * libio/iogetdelim.c: Include <limits.h>.
19243 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19244 + len + 1 would overflow.
19245
bcd6c8dc
AJ
192462012-09-03 Andreas Jaeger <aj@suse.de>
19247
19248 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19249 * sysdeps/i386/fpu/libm-test-ulps: Update.
19250
4ffffbd2
LD
192512012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19252
19253 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19254 Add s_sinf-sse2, s_conf-sse2.
19255
19256 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19257 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19258 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19259 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19260
19261 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19262 for using routine as __sinf_ia32.
19263 Use macro for function declaration and weak_alias.
19264 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19265 for using routine as __cosf_ia32.
19266 Use macro for function declaration and weak_alias.
19267
19268 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19269 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19270
19271 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19272 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19273 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19274
19275 * math/libm-test.inc (cos_test): Add more test cases.
19276 (sin_test): Likewise.
19277 (sincos_test): Likewise.
19278
511fa286
AK
192792012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19280
19281 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19282 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19283 hidden.
19284 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19285
5f30cfec
L
192862012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19287
19288 [BZ #14538]
19289 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19290 first element of the GOT.
19291 (elf_machine_load_address): Return the difference between
19292 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19293
0786794f
AM
192942012-09-01 Allan McRae <allan@archlinux.org>
19295
5f30cfec
L
19296 [BZ #13412]
19297 * configure.in (AWK): Require gawk version 3.0 or later.
19298 * configure: Regenerated.
0786794f 19299
26889eac
JM
193002012-09-01 Joseph Myers <joseph@codesourcery.com>
19301
19302 * sysdeps/unix/sysv/linux/kernel-features.h
19303 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19304 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19305 [__NR_clock_getres]: Make code unconditional.
19306 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19307 (clock_getcpuclockid): Remove code left unreachable by removal of
19308 conditionals.
19309 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19310 code unconditional.
19311 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19312 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19313 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19314 Make code unconditional.
19315 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19316 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19317 * sysdeps/unix/sysv/linux/clock_settime.c
19318 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19319 conditional code.
19320 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19321 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19322
d22e28b0
L
193232012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19324
19325 [BZ #14476]
19326 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19327 scripts/test-installation.pl.
19328
19329 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19330 and $ld_so_version if it is set.
19331
050af9c4
SP
193322012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19333
19334 [BZ #14516]
19335 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19336 failure if reading from procfs failed.
19337 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19338
ad845c0b
JM
193392012-08-27 Joseph Myers <joseph@codesourcery.com>
19340
19341 * sysdeps/unix/sysv/linux/kernel-features.h
19342 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19343 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19344 Remove conditional code.
19345 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19346 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19347 Remove conditional code.
19348 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19349 * sysdeps/unix/sysv/linux/i386/fxstat.c
19350 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19351 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19352 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19353 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19354 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19355 * sysdeps/unix/sysv/linux/i386/lxstat.c
19356 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19357 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19358 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19359 Remove conditional code.
19360 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19361 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19362 Remove conditional code.
19363 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19364 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19365 <kernel-features.h>.
19366 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19367 Remove.
19368 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19369 Remove conditional code.
19370 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19371 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19372 Remove conditional.
19373
5dbf56af
MF
193742012-08-27 Mike Frysinger <vapier@gentoo.org>
19375
19376 [BZ #5400]
19377 * NEWS: Add fixed bug number.
19378
d6e70f43
JM
193792012-08-27 Joseph Myers <joseph@codesourcery.com>
19380
7efb4737
JM
19381 [BZ #14519]
19382 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19383 underflowing exponent in case of negative sign.
19384 * stdlib/tst-strtod-round-data: Add more tests.
19385 * stdlib/tst-strtod-round.c (tests): Regenerated.
19386
af92131a
JM
19387 [BZ #3479]
19388 * stdlib/strtod_l.c (NDIG): Remove.
19389 (HEXNDIG): Likewise.
19390 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19391 smallest representable value.
19392 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19393 lie within an exact representation of 1/2 ulp of the result.
19394 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19395 unconditionally.
19396 (TENS_P9_IDX): Define unconditionally.
19397 (TENS_P9_SIZE): Likewise.
19398 (TENS_P10_IDX): Likewise.
19399 (TENS_P10_SIZE): Likewise.
19400 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19401 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19402 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19403 entries for 10^2^13 and 10^2^14.
19404 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19405 (TENS_P13_IDX): Define.
19406 (TENS_P13_SIZE): Likewise.
19407 (TENS_P14_IDX): Likewise.
19408 (TENS_P14_SIZE): Likewise.
19409 (_fpioconst_pow10): Change array size to
19410 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19411 unconditional.
19412 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19413 1024]: Add entries for 10^2^13 and 10^2^14.
19414 [LAST_POW10 > _LAST_POW10]: Remove #error.
19415 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19416 (_fpioconst_pow10): Change array size to
19417 FPIOCONST_POW10_ARRAY_SIZE.
19418 * stdlib/gen-fpioconst.c: New file.
19419 * stdlib/gen-tst-strtod-round.c: Likewise.
19420 * stdlib/tst-strtod-round-data: Likewise.
19421 * stdlib/tst-strtod-round.c: Likewise.
19422 * stdlib/Makefile (tests): Add tst-strtod-round.
19423
d6e70f43
JM
19424 [BZ #14459]
19425 * stdlib/strtod_l.c: Include <stdint.h>.
19426 (NDEBUG): Do not define.
19427 (round_and_return): Change EXPONENT parameter to type intmax_t.
19428 Rearrange calculations to avoid internal overflow possibilities.
19429 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19430 Rearrange calculations to avoid internal overflow possibilities.
19431 Assert that number fits inside MPNSIZE limbs.
19432 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19433 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19434 calculations and add assertions to avoid internal overflow
19435 possibilities. Add casts to avoid signed/unsigned operations.
19436 * stdlib/tst-strtod-overflow.c: New file.
19437 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19438
1f529f7d
MP
194392012-08-25 Marek Polacek <polacek@redhat.com>
19440
19441 * time/time.h: Fix some typos in comments.
19442
59a629f1
RM
194432012-08-23 Roland McGrath <roland@hack.frob.com>
19444
19445 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19446 * posix/tst-rfc3484-2.c: Likewise.
19447 * posix/tst-rfc3484-3.c: Likewise.
19448
d3bafbc9
SM
194492012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19450
19451 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19452 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19453
4efcc022
JM
194542012-08-23 Joseph Myers <joseph@codesourcery.com>
19455
19456 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19457 #include of fxstatat64.c.
19458
3cc3ef96
RM
194592012-08-22 Roland McGrath <roland@hack.frob.com>
19460
f04e2132
RM
19461 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19462 * shadow/getspent_r.c: Likewise.
19463 * shadow/getspnam.c: Likewise.
19464 * shadow/getspnam_r.c: Likewise.
19465 * gshadow/getsgent.c: Likewise.
19466 * gshadow/getsgent_r.c: Likewise.
19467 * gshadow/getsgnam.c: Likewise.
19468 * gshadow/getsgnam_r.c: Likewise.
19469 * inet/getnetbyad.c: Likewise.
19470 * inet/getnetbyad_r.c: Likewise.
19471 * inet/getnetbynm.c: Likewise.
19472 * inet/getnetbynm_r.c: Likewise.
19473 * inet/getnetent.c: Likewise.
19474 * inet/getnetent_r.c: Likewise.
19475 * inet/getproto.c: Likewise.
19476 * inet/getproto_r.c: Likewise.
19477 * inet/getprtent.c: Likewise.
19478 * inet/getprtent_r.c: Likewise.
19479 * inet/getprtname.c: Likewise.
19480 * inet/getprtname_r.c: Likewise.
19481 * inet/getrpcbyname.c: Likewise.
19482 * inet/getrpcbyname_r.c: Likewise.
19483 * inet/getrpcbynumber.c: Likewise.
19484 * inet/getrpcbynumber_r.c: Likewise.
19485 * inet/getrpcent.c: Likewise.
19486 * inet/getrpcent_r.c: Likewise.
19487 * inet/getaliasent.c: Likewise.
19488 * inet/getaliasent_r.c: Likewise.
19489 * inet/getaliasname.c: Likewise.
19490 * inet/getaliasname_r.c: Likewise.
19491 * nscd/getgrgid_r.c: Likewise.
19492 * nscd/getgrnam_r.c: Likewise.
19493 * nscd/gethstbyad_r.c: Likewise.
19494 * nscd/gethstbynm3_r.c: Likewise.
19495 * nscd/getpwnam_r.c: Likewise.
19496 * nscd/getpwuid_r.c: Likewise.
19497 * nscd/getsrvbynm_r.c: Likewise.
19498 * nscd/getsrvbypt_r.c: Likewise.
19499 * nscd/gai.c: Likewise.
19500
c53d909c
RM
19501 * configure.in (build_nscd): New substituted variable, set
19502 by --disable-build-nscd and defaults to $use_nscd.
19503 * configure: Regenerated.
19504 * config.make.in (build-nscd): New substituted variable.
19505 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19506 Change conditional to require [$(build-nscd) = yes] as well.
19507 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19508
3cc3ef96
RM
19509 [BZ# 13696]
19510 * configure.in (use_nscd): New substituted variable, set by
19511 --disable-nscd. If enabled, define USE_NSCD.
19512 * configure: Regenerated.
19513 * config.h.in: Add USE_NSCD.
19514 * config.make.in (use-nscd): New substituted variable.
19515 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19516 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19517 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19518 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19519 (CFLAGS-getgrnam_r.c): Likewise.
19520 (CFLAGS-initgroups.c): Likewise.
19521 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19522 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19523 Variables removed.
19524 * inet/getnetgrent_r.c
19525 (nscd_setnetgrent): New function, broken out of ...
19526 (setnetgrent): ... here. Call it.
19527 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19528 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19529 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19530 * nscd/Makefile (routines, aux): Move definitions after include of
19531 Makeconfig. Conditionalize on [$(use-nscd) != no].
19532 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19533 Conditionalize on [USE_NSCD].
19534 (is_nscd, nscd_init_cb): Likewise.
19535 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19536 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19537 * nss/nss_db/db-init.c: Likewise.
19538 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19539 [USE_NSCD].
19540 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19541 (make_request): Use it.
19542 (cache_valid_p): New function.
19543 (__check_pf): Use it.
19544 * NEWS: Add item for --disable-nscd.
19545
07e51550
DL
195462012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19547
19548 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19549 to support sed >= 4.2.1-20-ga9bf076.
19550 * configure: Regenerated.
19551
35a5b08b
RM
195522012-08-22 Roland McGrath <roland@hack.frob.com>
19553
19554 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19555 Conditionalize whole body on [IREL].
19556
8479f23a
JL
195572012-08-22 Jeff Law <law@redhat.com>
19558
19559 [BZ #14505]
19560 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19561 if the family is PF_UNSPEC.
19562
48da0b21
MF
195632012-08-22 Mike Frysinger <vapier@gentoo.org>
19564
19565 * Makerules (lib-version): Rename from V.
19566 (install-lib-nosubdir): Change V to lib-version.
19567
15d0da8c
WS
195682012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19569
19570 [BZ #14252]
19571 * powerpc32/power6/wcschr.c: New file.
19572 * powerpc32/power6/wcscpy.c: New file.
19573 * powerpc32/power6/wcsrchr.c: New file.
19574 * powerpc64/power6/wcschr.c: New file.
19575 * powerpc64/power6/wcscpy.c: New file.
19576 * powerpc64/power6/wcsrchr.c: New file.
19577
bcca0895
MK
195782012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19579
19580 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19581 (two_way_short_needle): Use it.
5a4aaa33
RM
19582 * string/strstr.c (AVAILABLE1_USES_J): Define.
19583 * string/strcasestr.c: Likewise.
99677e57
MK
19584
19585 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19586 array references.
19587 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19588
400726de
MK
19589 [BZ #11607]
19590 * NEWS: Add an entry.
19591 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19592 define their defaults.
19593 (two_way_short_needle): Detect end-of-string on-the-fly.
19594 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19595 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19596 * string/bug-strcasestr1.c: New test.
19597 * string/Makefile: Run it.
19598
20a71f2c
MK
195992012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19600
19601 [BZ #11607]
19602 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19603 the first character.
19604
21ad0558
RM
196052012-08-21 Roland McGrath <roland@hack.frob.com>
19606
19607 * csu/elf-init.c (__libc_csu_irel): Function removed.
19608 * csu/libc-start.c (apply_irel): New function.
19609 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19610
0e1d9911
JM
196112012-08-21 Joseph Myers <joseph@codesourcery.com>
19612
19613 * sysdeps/unix/sysv/linux/kernel-features.h
19614 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19615 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19616 <kernel-features.h>.
19617 [__NR_fadvise64_64]: Make code unconditional.
19618 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19619 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19620 !__NR_fadvise64_64)]: Likewise.
19621 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19622 !__NR_fadvise64_64))]: Likewise.
19623 [__NR_fadvise64]: Make code unconditional.
19624 [!__NR_fadvise64]: Remove conditional code.
19625 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19626 <kernel-features.h>.
19627 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19628 unconditional.
19629 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19630 conditional code.
19631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19632 not include <kernel-features.h>.
19633 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19634 unconditional.
19635 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19636 conditional code.
19637 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19638 include <kernel-features.h>.
19639 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19640 unconditional.
19641 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19642 conditional code.
19643
14a50c9d
WS
196442012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19645
19646 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19647 slight instruction rearrangements per scrollpipe analysis.
19648 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19649
c0f4faf0
RM
196502012-08-20 Roland McGrath <roland@hack.frob.com>
19651
696da859
RM
19652 * manual/syslog.texi (syslog; vsyslog, closelog):
19653 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19654 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19655
c0f4faf0
RM
19656 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19657 DSOCAPS to match condition on defining it.
19658
348363b2
JM
196592012-08-20 Joseph Myers <joseph@codesourcery.com>
19660
a35cbf28
JM
19661 * sysdeps/unix/sysv/linux/kernel-features.h
19662 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19664 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19665 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19667 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19668 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19670 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19671 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19672
445f7ecd
JM
19673 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19674 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19675
348363b2
JM
19676 * sysdeps/unix/sysv/linux/kernel-features.h
19677 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19678 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19679 unconditional.
19680 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19681 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19682 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19683 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19684 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19685 Make code unconditional.
19686 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19687 (__mmap64) [!__NR_mmap2]: Likewise.
19688 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19689 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19690 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19691 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19692 [__NR_mmap2]: Make code unconditional.
19693 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19694 (__mmap64) [!__NR_mmap2]: Likewise.
19695
bc5bc0e5
AK
196962012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19697
19698 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19699
88d506de
AJ
197002012-08-18 Andreas Jaeger <aj@suse.de>
19701
19702 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19703
493387d2
MF
197042012-08-18 Mike Frysinger <vapier@gentoo.org>
19705
19706 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19707 * include/unistd.h (__have_sock_cloexec): Likewise.
19708 (__have_pipe2): Likewise.
19709 (__have_dup3): Likewise.
19710
a277af22
MF
197112012-08-18 Mike Frysinger <vapier@gentoo.org>
19712
19713 [BZ #9685]
19714 * include/unistd.h (__have_pipe2): Change define into an extern int.
19715 (__have_dup3): Likewise.
19716 * socket/have_sock_cloexec.c: Include fcntl.h.
19717 (__have_pipe2): New variable.
19718 (__have_dup3): Likewise.
19719
fdab8fd3
MF
197202012-08-17 Mike Frysinger <vapier@gentoo.org>
19721
19722 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19723
31035e80
MP
197242012-08-17 Marek Polacek <polacek@redhat.com>
19725
19726 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19727 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19728
3bd9e993
RM
197292012-08-17 Roland McGrath <roland@hack.frob.com>
19730
c91c505f
RM
19731 * configure.in: Add AC_SUBST for sysheaders.
19732 * configure: Regenerated.
19733 * config.make.in (sysheaders): New substituted variable.
19734
7c6f9d53
RM
19735 * sysdeps/unix/mkfifo.c: Moved ...
19736 * sysdeps/posix/mkfifo.c: ... here.
19737 * sysdeps/unix/mkfifoat.c: Moved ...
19738 * sysdeps/posix/mkfifoat.c: ... here.
19739
19740 * sysdeps/unix/utime.c: Moved ...
19741 * sysdeps/posix/utime.c: ... here.
19742
19743 * sysdeps/unix/time.c: Moved ...
19744 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
19745 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19746 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
19747
19748 * sysdeps/unix/nice.c: Moved ...
19749 * sysdeps/posix/nice.c: ... here.
19750
19751 * sysdeps/unix/alarm.c: Moved ...
19752 * sysdeps/posix/alarm.c: ... here.
19753
3bd9e993
RM
19754 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19755
d1f09384
JL
197562012-08-17 Jeff Law <law@redhat.com>
19757
19758 * intl/Makefile (codeset_mo): New variable.
19759 ($(codeset_mo)): New target.
19760 (tst-codeset.out): Depend on that. Remove explicit rule.
19761 (tst-gettext3.out, tst-gettext5.out): Likewise.
19762 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19763 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19764 * intl/tst-codeset.sh: Remove.
19765 * intl/tst-gettext3.sh: Likewise.
19766 * intl/tst-gettext5.sh: Likewise.
19767
2ae1ae5c
RM
197682012-08-17 Roland McGrath <roland@hack.frob.com>
19769
c31fdb83
RM
19770 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19771 * sysdeps/unix/syscalls.list: ... here.
19772
a0844057
RM
19773 * sysdeps/posix/getaddrinfo.c
19774 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19775 (gaiconf_init, gaiconf_reload): Use them.
19776 [!_STATBUF_ST_NSEC]
19777 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19778 Define using time_t rather than struct timespec.
19779
750c1f2a
RM
19780 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19781 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19782 Macros removed.
19783 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19784 [!NO_THREADS].
19785 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19786 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19787 Likewise.
19788
2ae1ae5c
RM
19789 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19790 __libc_cleanup_push argument.
19791
e66a42f5
RM
19792 * bits/param.h: New file.
19793 * misc/sys/param.h: New file.
19794 * include/sys/param.h: New file.
19795 * misc/Makefile (headers): Add bits/param.h.
19796 * sysdeps/generic/sys/param.h: File removed.
19797 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19798 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19799 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 19800 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 19801
b7c08a66
RM
19802 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19803 last change.
19804
b2e1c562
RM
19805 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19806 [_IO_MTSAFE_IO].
19807 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19808 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19809 New macros.
19810
c75ccd4c
RM
19811 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19812 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19813 rather than -D_IO_MTSAFE_IO conditionally.
19814 * stdio-common/Makefile (CPPFLAGS): Likewise.
19815 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19816 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19817 Use $(libio-mtsafe).
19818 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19819 of -D_IO_MTSAFE_IO.
19820 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19821 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19822 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19823 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19824 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19825 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19826 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19827 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19828 (CFLAGS-fread_u_chk.c): Likewise.
19829 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19830 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19831 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19832 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19833 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19834 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19835 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19836 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19837 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19838
19839 * libio/Makefile: Test [$(libc-reentrant) = yes]
19840 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19841
19842 * Makeconfig
19843 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19844 * sysdeps/pthread/configure: File removed.
19845 * sysdeps/pthread/Makeconfig: New file.
19846 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19847 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19848
d9195db8
GB
198492012-08-16 Gary Benson <gbenson@redhat.com>
19850
19851 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19852 unmapping the first object in a namespace.
19853
86466cd9
RM
198542012-08-16 Roland McGrath <roland@hack.frob.com>
19855
19856 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19857 (__internal_setnetgrent): ... this. Add internal_function to
19858 definition. Add libc_hidden_def.
19859 (setnetgrent): Update caller.
19860 (internal_endnetgrent): Renamed to ...
19861 (__internal_endnetgrent): ... this. Add internal_function to
19862 definition. Add libc_hidden_def.
19863 (endnetgrent): Update caller.
19864 (internal_getnetgrent_r): Renamed to ...
19865 (__internal_getnetgrent_r): ... this. Add internal_function to
19866 definition. Add libc_hidden_def.
19867 (__getnetgrent_r): Update caller.
19868 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19869
c3c8283c
JM
198702012-08-16 Joseph Myers <joseph@codesourcery.com>
19871
19872 * stdlib/longlong.h: Update from GCC.
19873
db1ee0a8
RM
198742012-08-16 Roland McGrath <roland@hack.frob.com>
19875
19876 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19877 on _QL, which is set by umul_ppmm but never used.
19878 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19879 variables, which are set by GMP macros but never used.
19880 * stdio-common/_itowa.c (_itowa): Likewise.
19881 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19882 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19883
30f69637
CD
198842012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19885
19886 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19887 struct La_sh_regs is not constant.
19888 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19889 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19890 and struct La_sparc64_regs are not constant.
19891
93a78ac4
JM
198922012-08-16 Joseph Myers <joseph@codesourcery.com>
19893
19894 * sysdeps/unix/sysv/linux/kernel-features.h
19895 (__ASSUME_POSIX_TIMERS): Remove.
19896 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19897 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19898 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19899 Make code unconditional.
19900 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19901 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19902 Make code unconditional.
19903 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19904 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19905 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19906 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19907 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19908 Make code unconditional.
19909 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19910 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19911 (__libc_missing_posix_timers): Remove.
19912
dd924cd7
RM
199132012-08-15 Roland McGrath <roland@hack.frob.com>
19914
4b4f2771
RM
19915 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19916 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19917
601c888b
RM
19918 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19919
176790a7
RM
19920 * elf/dl-sym.c: Include <stdlib.h>.
19921
329bc018
RM
19922 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19923 constants, which avoids warnings in 32-bit builds.
19924
e04e272d
RM
19925 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19926 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19927
952bf94a
RM
19928 * misc/lseek.c: File moved to ...
19929 * io/lseek.c: ... here.
19930
7c99b50a
RM
19931 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19932
dd924cd7
RM
19933 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19934 shifting LEN more than 31 bits at once.
19935
b3f479a8
LD
199362012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19937
19938 [BZ #14195]
8c4ae0d4
RM
19939 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19940 segmentation fault for a case of two empty input strings.
b3f479a8
LD
19941 * string/test-strncasecmp.c (check1): Renamed to...
19942 (bz12205): ...this.
19943 (bz14195): Add new testcase for two empty input strings and N > 0.
19944 (test_main): Call new testcase, adapt for renamed function.
19945
9c55864e
AJ
199462012-08-15 Andreas Jaeger <aj@suse.de>
19947
19948 [BZ #14090]
19949 * crypt/md5test2.c: New test, based on test supplied by Serge
19950 Belyshev <belyshev@depni.sinp.msu.ru>.
19951 * crypt/Makefile (xtests): Add md5test-giant..
19952 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19953
02dcb6c5
PE
199542012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19955
19956 [BZ #14090]
19957 * crypt/md5.c (md5_process_block): Don't assume the buffer
19958 length is less than 2**32.
19959 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19960 length is less than 2**64.
19961
a3f95dcc
RM
199622012-08-15 Roland McGrath <roland@hack.frob.com>
19963
be75d758
RM
19964 * string/str-two-way.h: Include <sys/param.h>.
19965 (MAX): Macro removed.
19966
7312ca90
RM
19967 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19968 Move #define and #undef of memmove to just before and after
19969 including <string.h>.
19970
9a0a5486
RM
19971 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19972 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19973 and after including <string.h>. Move declarations of
19974 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19975 to before #include "string/memmove.c".
19976
67cc348d
RM
19977 * include/dirent.h: Declare __getdirentries.
19978
a3f95dcc
RM
19979 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19980 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19981
ca98e171
MF
199822012-08-14 Mike Frysinger <vapier@gentoo.org>
19983
19984 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19985 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19986 * sysdeps/i386/configure: Regenerated.
19987 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19988 STABS_CURRENT_FILE, and STABS_FUN.
19989 (END): Remove call to STABS_FUN_END.
19990 (STABS_CURRENT_FILE1): Delete.
19991 (STABS_CURRENT_FILE): Likewise.
19992 (STABS_FUN): Likewise.
19993 (STABS_FUN_END): Likewise.
19994 (STABS_FUN2): Likewise.
19995 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19996 * sysdeps/x86_64/configure: Regenerated.
19997
5908bf46
RM
199982012-08-14 Roland McGrath <roland@hack.frob.com>
19999
20000 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 20001 * elf/dl-lookup.c: Likewise.
5908bf46 20002
f2c05b9e
JM
200032012-08-14 Joseph Myers <joseph@codesourcery.com>
20004
20005 * sysdeps/unix/sysv/linux/kernel-features.h
20006 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20007 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20008 unconditionally.
20009 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20010 unconditionally.
20011 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20012 condition on __ASSUME_CLONE_THREAD_FLAGS.
20013
e11f5155
AJ
200142012-08-14 Andreas Jaeger <aj@suse.de>
20015
20016 * sysdeps/i386/fpu/libm-test-ulps: Update.
20017
51a9ba86
MK
200182012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20019
2fdd4f78
AJ
20020 * include/atomic.h (atomic_exchange_and_add): Split into ...
20021 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20022 New atomic macros.
51a9ba86 20023
ba6cba9e
MT
200242012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20025
20026 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20027
42443a47
JL
200282012-08-13 Jeff Law <law@redhat.com>
20029
20030 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20031 null byte in the output string.
20032
121dce05
JM
200332012-08-10 Joseph Myers <joseph@codesourcery.com>
20034
20035 * sysdeps/unix/sysv/linux/kernel-features.h
20036 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20037 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20038 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20039 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20040 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20041 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20042 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20043
bf51f568
JL
200442012-08-09 Jeff Law <law@redhat.com>
20045
20046 [BZ #13939]
20047 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20048 When avoid_arena is set, don't retry in the that arena. Pick the
20049 next one, whatever it might be.
20050 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20051 (arena_lock): Pass in new parameter to arena_get2.
20052 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20053 arena_get2.
20054 (__libc_malloc): Unify retrying after main arena failure with
20055 __libc_memalign version.
20056 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20057
f85fa270
L
200582012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20059
20060 [BZ #14166]
20061 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20062 to __redirect_strstr.
20063 (__strstr_sse42): Use typeof __redirect_strstr.
20064 (__strstr_ia32): Likewise.
20065 (__libc_strstr): New prototype.
20066 (strstr): Renamed to ...
20067 (__libc_strstr): This.
20068 (strstr): New strong alias of __libc_strstr.
20069 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20070 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20071 __redirect_time.
20072 Include <time.h>.
20073 (__libc_time): New prototype.
20074 (time_ifunc): Replace time with __libc_time.
20075 (time): New strong alias and hidden definition of __libc_time.
20076 (__GI_time): Remove strong alias.
20077 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20078 Include <stddef.h>.
20079 (memmove): Redefined to __redirect_memmove.
20080 (__memmove_sse2): Use typeof __redirect_memmove.
20081 (__memmove_ssse3): Likewise.
20082 (__memmove_ssse3_back): Likewise.
20083 (__libc_memmove): New prototype.
20084 (memmove): Renamed to ...
20085 (__libc_memmove): This.
20086 (memmove): New strong alias of __libc_memmove.
20087
33b4a91e
MS
200882012-08-08 Mark Salter <msalter@redhat.com>
20089
20090 * elf/elf.h
20091 (R_MN10300_TLS_GD): Define.
20092 (R_MN10300_TLS_LD): Likewise.
20093 (R_MN10300_TLS_LDO): Likewise.
20094 (R_MN10300_TLS_GOTIE): Likewise.
20095 (R_MN10300_TLS_IE): Likewise.
20096 (R_MN10300_TLS_LE): Likewise.
20097 (R_MN10300_TLS_DTPMOD): Likewise.
20098 (R_MN10300_TLS_DTPOFF): Likewise.
20099 (R_MN10300_TLS_TPOFF): Likewise.
20100 (R_MN10300_SYM_DIFF): Likewise.
20101 (R_MN10300_ALIGN): Likewise.
20102 (R_MN10300_NUM): Update.
20103
b36137f1
JM
201042012-08-08 Joseph Myers <joseph@codesourcery.com>
20105
20106 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20107 Remove.
20108
cdd915fd
RM
201092012-08-08 Roland McGrath <roland@hack.frob.com>
20110
a2433aac
RM
20111 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20112
cdd915fd
RM
20113 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20114 sysdeps/unix -> sysdeps/posix move.
20115 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20116
bf9b740a
AM
201172012-08-07 Allan McRae <allan@archlinux.org>
20118
20119 [BZ #14303]
20120 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20121 (SUNOS_CPP): Likewise.
20122 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20123 not found.
20124 (open_input): Call CPP using execvp.
20125
93df14ee
JM
201262012-08-07 Joseph Myers <joseph@codesourcery.com>
20127
20128 * sysdeps/unix/sysv/linux/kernel-features.h
20129 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20130 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20131 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20132 (__ASSUME_WAITID_SYSCALL): Likewise.
20133 * sysdeps/unix/sysv/linux/dl-execstack.c
20134 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20135 code unconditional.
20136 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20137 conditional code.
20138 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20139 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20140 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20141 code.
20142 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20143 unconditional.
20144 [__ASSUME_WAITID_SYSCALL]: Likewise.
20145 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20146
d34689de
RM
201472012-08-07 Roland McGrath <roland@hack.frob.com>
20148
a281decc
RM
20149 * sysdeps/unix/closedir.c: Renamed to ...
20150 * sysdeps/posix/closedir.c: ... here.
20151 * sysdeps/unix/dirfd.c: Renamed to ...
20152 * sysdeps/posix/dirfd.c: ... here.
20153 * sysdeps/unix/dirstream.h: Renamed to ...
20154 * sysdeps/posix/dirstream.h: ... here.
20155 * sysdeps/unix/fdopendir.c: Renamed to ...
20156 * sysdeps/posix/fdopendir.c: ... here.
20157 * sysdeps/unix/opendir.c: Renamed to ...
20158 * sysdeps/posix/opendir.c: ... here.
20159 * sysdeps/unix/readdir.c: Renamed to ...
20160 * sysdeps/posix/readdir.c: ... here.
20161 * sysdeps/unix/readdir_r.c: Renamed to ...
20162 * sysdeps/posix/readdir_r.c: ... here.
20163 * sysdeps/unix/rewinddir.c: Renamed to ...
20164 * sysdeps/posix/rewinddir.c: ... here.
20165 * sysdeps/unix/seekdir.c: Renamed to ...
20166 * sysdeps/posix/seekdir.c: ... here.
20167 * sysdeps/unix/telldir.c: Renamed to ...
20168 * sysdeps/posix/telldir.c: ... here.
20169 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20170 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20171 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20172 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20173
22895b47
RM
20174 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20175 * bits/fcntl.h: ... here.
20176
707a53b6
RM
20177 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20178 not 0.
20179 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20180 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20181 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20182 (struct flock): Move l_start, l_len to the beginning.
20183 Use __pid_t for l_pid.
20184 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20185 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20186 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20187 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20188 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20189 [__USE_LARGEFILE64] (struct flock64): New type.
20190 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20191
f0bd3e25
RM
20192 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20193 * bits/dirent.h: ... here.
20194
d34689de
RM
20195 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20196 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20197
6dad2c06
JM
201982012-08-07 Joseph Myers <joseph@codesourcery.com>
20199
20200 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20201 Change from 2.6.0 to 2.6.16.
20202 * sysdeps/unix/sysv/linux/configure: Regenerated.
20203 * sysdeps/unix/sysv/linux/kernel-features.h
20204 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20205 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20206 version.
20207 (__ASSUME_UTIMES): Likewise.
20208 (__ASSUME_CLONE_STOPPED): Remove.
20209 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20210 architectures, not kernel version.
20211 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20212 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20213 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20214 (__ASSUME_WAITID_SYSCALL): Likewise.
20215 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20216 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20217 * README: State 2.6.16 as minimum Linux kernel version. Do not
20218 refer to older versions.
20219
03af9520
RM
202202012-08-06 Roland McGrath <roland@hack.frob.com>
20221
8e49df1d
RM
20222 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20223 Define alphasort64 as an alias.
20224 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20225 Define versionsort64 as an alias.
20226 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20227 Define scandir64 as an alias.
20228 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20229 Define scandirat64 as an alias.
20230 * dirent/alphasort64.c (alphasort64):
20231 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20232 * dirent/versionsort64.c: Likewise.
20233 * dirent/scandir64.c: Likewise.
20234 * dirent/scandirat64.c: Likewise.
20235 * sysdeps/wordsize-64/alphasort.c: File removed.
20236 * sysdeps/wordsize-64/alphasort64.c: File removed.
20237 * sysdeps/wordsize-64/scandir.c: File removed.
20238 * sysdeps/wordsize-64/scandir64.c: File removed.
20239 * sysdeps/wordsize-64/scandirat.c: File removed.
20240 * sysdeps/wordsize-64/scandirat64.c: File removed.
20241 * sysdeps/wordsize-64/versionsort.c: File removed.
20242 * sysdeps/wordsize-64/versionsort64.c: File removed.
20243 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20244 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20245 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20246 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20247 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20248 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20249 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20250 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20251
20252 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20253 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20254 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20255 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20256 [defined __arch64__ || defined __sparcv9]
20257 (__INO_T_MATCHES_INO64_T): New macro.
20258 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20259 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20260 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20261 * sysdeps/unix/sysv/linux/bits/dirent.h
20262 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20263 (_DIRENT_MATCHES_DIRENT64): New macro.
20264
03af9520
RM
20265 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20266 Define lockf64 as an alias.
20267 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20268 Define fseeko64 as an alias.
20269 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20270 Define ftello64 as an alias.
20271 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20272 Define _IO_fgetpos64 and fgetpos64 as aliases.
20273 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20274 Define _IO_fsetpos64 and fsetpos64 as aliases.
20275 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20276 Conditionalize body on this.
20277 * libio/fseeko64.c: Likewise.
20278 * libio/ftello64.c: Likewise.
20279 * libio/iofgetpos64.c: Likewise.
20280 * libio/iofsetpos64.c: Likewise.
20281 * sysdeps/wordsize-64/lockf.c: File removed.
20282 * sysdeps/wordsize-64/lockf64.c: File removed.
20283 * sysdeps/wordsize-64/fseeko.c: File removed.
20284 * sysdeps/wordsize-64/fseeko64.c: File removed.
20285 * sysdeps/wordsize-64/ftello.c: File removed.
20286 * sysdeps/wordsize-64/ftello64.c: File removed.
20287 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20288 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20289 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20290 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20291 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20292 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20293 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20294 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20295 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20296 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20297 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20298 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20299 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20300 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20301
20302 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20303 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20304 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20305 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20306 [defined __arch64__ || defined __sparcv9]
20307 (__OFF_T_MATCHES_OFF64_T): New macro.
20308 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20309 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20310 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20311 (__OFF_T_MATCHES_OFF64_T): New macro.
20312
c5757acd
L
203132012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20314
20315 * stdlib/secure-getenv.c (__secure_getenv): Replace
20316 GLIBC_2_16 with GLIBC_2_17.
20317
3a31811e
L
203182012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20319
20320 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20321 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20322
faa2bccb
DM
203232012-08-03 David S. Miller <davem@davemloft.net>
20324
20325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20326
85fe1997
JM
203272012-08-03 Joseph Myers <joseph@codesourcery.com>
20328
20329 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20330 Remove.
20331 (__ASSUME_CORRECT_SI_PID): Likewise.
20332 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20333 (__ASSUME_TMPFS_NAME): Likewise.
20334 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20335 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20336 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20337 (HAVE_AUX_SECURE): Make definition unconditional.
20338 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20339 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20340
4f75b7a0
RM
203412012-08-03 Roland McGrath <roland@hack.frob.com>
20342
20343 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20344 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20345 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20346 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20347 __eloop_threshold instead of SYMLOOP_MAX.
20348
20349 * sysdeps/generic/eloop-threshold.h: New file.
20350 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20351 of MAXSYMLINKS.
20352 * elf/chroot_canon.c (chroot_canon): Likewise.
20353
7aab07e4
JM
203542012-08-03 Joseph Myers <joseph@codesourcery.com>
20355
20356 [BZ #13717]
20357 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20358 Change to 2.6.0 everywhere.
20359 * sysdeps/unix/sysv/linux/configure: Regenerated.
20360 * sysdeps/unix/sysv/linux/kernel-features.h
20361 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20362 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20363 kernel versions.
20364 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20365 (__ASSUME_FUTEX_REQUEUE): Remove.
20366 (__ASSUME_STATFS64): Define unconditionally.
20367 (__ASSUME_AT_SECURE): Likewise.
20368 (__ASSUME_CORRECT_SI_PID): Likewise.
20369 (__ASSUME_TGKILL): Define without depending on kernel version for
20370 i386.
20371 (__ASSUME_UTIMES): Likewise.
20372 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20373 kernel version.
20374 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20375 (__ASSUME_TMPFS_NAME): Likewise.
20376 * README: Update reference to Linux kernel versions.
20377
b67e9372
MP
203782012-08-02 Marek Polacek <polacek@redhat.com>
20379
1f529f7d 20380 [BZ# 14150]
b67e9372
MP
20381 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20382 libc_cv_asm_type_prefix with %.
20383 * configure: Regenerated.
d2441631
RM
20384 * include/libc-symbols.h: Remove comment about
20385 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
20386 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20387 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20388 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20389 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20390 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20391 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20392 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20393 * elf/tst-unique2mod1.c: Likewise.
20394 * elf/tst-unique1mod2.c: Likewise.
20395 * elf/tst-unique1mod1.c: Likewise.
20396 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20397 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20398 Replace ASM_TYPE_DIRECTIVE with .type.
20399 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20400 * sysdeps/i386/sysdep.h: Likewise.
20401 * sysdeps/x86_64/sysdep.h: Likewise.
20402 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
20403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20404 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 20405 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
20406 * sysdeps/powerpc/powerpc32/sysdep.h:
20407 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
20408 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20409 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20410 * sysdeps/i386/fpu/e_powf.S: Likewise.
20411 * sysdeps/i386/fpu/e_expl.S: Likewise.
20412 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20413 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20414 * sysdeps/i386/fpu/e_pow.S: Likewise.
20415 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20416 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20417 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20418 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20419 * sysdeps/i386/fpu/e_log2.S: Likewise.
20420 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20421 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20422 * sysdeps/i386/fpu/e_powl.S: Likewise.
20423 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20424 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20425 * sysdeps/i386/fpu/e_logl.S: Likewise.
20426 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20427 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20428 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20429 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20430 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20431 * sysdeps/i386/fpu/e_log.S: Likewise.
20432 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20433 * sysdeps/i386/fpu/e_logf.S: Likewise.
20434 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20435 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20436 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20437 * sysdeps/i386/fpu/e_log10.S: Likewise.
20438 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20439 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20440 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20441 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20442 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20443 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20444 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20445 * sysdeps/i386/i686/strtok.S: Likewise.
20446 * sysdeps/i386/i386-mcount.S: Likewise.
20447 * sysdeps/i386/strtok.S: Likewise.
20448 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20449 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20450 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20451 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20452 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20453 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20454 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20455 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20456 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20457 * sysdeps/x86_64/_mcount.S: Likewise.
20458 * sysdeps/x86_64/strtok.S: Likewise.
20459 * sysdeps/sh/_mcount.S: Likewise.
20460
2747bf9a
RM
204612012-08-01 Roland McGrath <roland@hack.frob.com>
20462
20463 * libio/iofopen.c: Include <fcntl.h>.
20464 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20465 (_IO_fopen64, fopen64): Define as aliases.
20466 * libio/iofopen64.c: Include <fcntl.h>.
20467 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20468 Conditionalize body on this.
20469 * sysdeps/wordsize-64/iofopen.c: File removed.
20470 * sysdeps/wordsize-64/iofopen64.c: File removed.
20471
3fb791b8
MP
204722012-08-01 Marek Polacek <polacek@redhat.com>
20473
20474 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20475 Use dlfcn directly instead of a variable.
20476 (binfmt-subdir): Do not define.
20477 (dlfcn): Likewise.
20478
a9f1039f
JM
204792012-08-01 Joseph Myers <joseph@codesourcery.com>
20480
23bddc06
JM
20481 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20482 Remove all definitions.
20483 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20484 <kernel-features.h>.
20485 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20486 (miss_F_GETOWN_EX): Remove all definitions.
20487 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20488 macro definition.
20489 [!__ASSUME_FCNTL64]: Remove conditional code.
20490 [__ASSUME_FCNTL64]: Make code unconditional.
20491 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20492 <kernel-features.h>.
20493 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20494 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20495 (lockf64) [__NR_fcntl64]: Make code unconditional.
20496 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20497
a9f1039f
JM
20498 * sysdeps/unix/sysv/linux/kernel-features.h
20499 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20500 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20501 Make code unconditional.
20502 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20503 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20505 [__NR_vfork]: Make code unconditional.
20506 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20507 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20509 [__NR_vfork]: Make code unconditional.
20510 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20511 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20512
09c0ee5f
RM
205132012-08-01 Roland McGrath <roland@hack.frob.com>
20514
48aec5b9
RM
20515 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20516 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20517
cd97c966
RM
20518 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20519 Define mkstemp64 as an alias.
3f55550c
RM
20520 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20521 Define mkstemps64 as an alias.
cd97c966
RM
20522 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20523 Define mkostemp64 as an alias.
b8625cfc
RM
20524 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20525 Define mkostemps64 as an alias.
cd97c966
RM
20526 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20527 Conditionalize body on this.
20528 * misc/mkostemp64.c: Likewise.
b8625cfc 20529 * misc/mkostemps64.c: Likewise.
3f55550c 20530 * misc/mkstemps64.c: Likewise.
cd97c966
RM
20531 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20532 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20533 * sysdeps/wordsize-64/mkostemp.c: File removed.
20534 * sysdeps/wordsize-64/mkstemp.c: File removed.
20535 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20536 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20537 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20538 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20539
09c0ee5f
RM
20540 [BZ #14138]
20541 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20542 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20543 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20544 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20545
20546 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20547 compat_symbol macros from <shlib-compat.h> rather than the underlying
20548 default_symbol_version and symbol_version macros, so that DEFAULT
20549 lines in shlib-versions are respected.
20550 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20551
7e66ee51
FW
205522012-08-01 Florian Weimer <fweimer@redhat.com>
20553
20554 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20555 Declare with warn_unused_result.
20556 (setgid, setregid, setegid, setresgid): Likewise.
20557 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20558 Likewise.
20559 * WUR-REPORT: Remove set*id functions.
20560
d2a54255
PT
205612012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20562
20563 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20564
7ecdb005
RM
205652012-07-31 Roland McGrath <roland@hack.frob.com>
20566
b4180a5e 20567 [BZ #10191]
789bd351
RM
20568 * include/sys/socket.h (__libc_accept, __libc_accept4):
20569 Add attribute_hidden.
20570 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20571
40ce302d
RM
20572 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20573 use of PTR_MANGLE.
20574 * inet/getnetgrent_r.c (setup): Likewise.
20575
7ecdb005
RM
20576 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20577
e2eabb2c
DM
205782012-07-31 David S. Miller <davem@davemloft.net>
20579
20580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20581
d0419dbf
JM
205822012-07-31 Joseph Myers <joseph@codesourcery.com>
20583
20584 [BZ #13629]
20585 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20586 value between 1.0 and 2.0 and smaller part has absolute value less
20587 than 1.0.
20588 * math/s_clog10.c (__clog10): Likewise.
20589 * math/s_clog10f.c (__clog10f): Likewise.
20590 * math/s_clog10l.c (__clog10l): Likewise.
20591 * math/s_clogf.c (__clogf): Likewise.
20592 * math/s_clogl.c (__clogl): Likewise.
20593 * math/libm-test.inc (clog_test): Add more tests.
20594 (clog10_test): Likewise.
20595 * sysdeps/i386/fpu/libm-test-ulps: Update.
20596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20597
2bc13872
FW
205982012-07-31 Florian Weimer <fweimer@redhat.com>
20599
20600 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20601 Exit with zero in case no suitable GID is found, and write a
20602 message to standard error.
20603
bea9b193
RM
206042012-07-30 Roland McGrath <roland@hack.frob.com>
20605
20606 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20607 rather than to 1.
20608 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20609 (MAXPATHLEN): Removed.
20610 (NOGROUP, NODEV): New macros.
20611 (setbit, clrbit, isset, isclr): New macros.
20612 (howmany, roundup, powerof2): New macros.
20613 (DEV_BSIZE): New macro.
20614
20615 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20616 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20617
20618 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20619 definition on [!__NO_LONG_DOUBLE_MATH].
20620
20621 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20622 PTR_MANGLE and PTR_DEMANGLE.
20623
20624 * socket/accept4.c (accept4): Rename to __libc_accept4.
20625 Define accept4 as a weak alias.
20626
20627 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20628 on [_DIRENT_HAVE_D_TYPE].
20629 * io/ftw.c (ftw_dir): Likewise.
20630
20631 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20632
20633 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20634
20635 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20636 Use the BSD numbers rather than the arbitrary ones we had.
20637 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20638 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20639 (SIGXCPU, SIGXFSZ): New macros.
20640 (_NSIG): Now 32.
20641
20642 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20643 initializer on [_LIBC_REENTRANT].
20644
20645 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20646 definitions inside [_POSIX_MAPPED_FILES].
20647
20648 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20649
20650 * dirent/opendir.c: Include <fcntl.h>.
20651
20652 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20653 (__libc_getspecific): Likewise.
20654 (__libc_key_create): Likewise.
20655
20656 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20657 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20658 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20659 (tmpfile64): Define as alias.
20660 * sysdeps/wordsize-64/tmpfile.c: File removed.
20661 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20662 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20663 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20664
20665 * stdio-common/vfscanf.c: Include <stdbool.h>.
20666 * nss/makedb.c: Likewise.
20667 * stdio-common/_i18n_number.h: Likewise.
20668 * argp/argp-help.c: Likewise.
20669 * posix/wordexp.c: Likewise.
20670 * sysdeps/posix/spawni.c: Likewise.
20671 * nss/nss_files/files-initgroups.c: Likewise.
20672 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20673 * nss/nss_files/files-initgroups.c: Likewise.
20674 * nss/nss_db/db-netgrp.c: Likewise.
20675 * nss/nss_db/db-initgroups.c: Likewise.
20676 * io/fchmodat.c: Include <sys/stat.h>.
20677
20678 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20679 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20680
20681 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20682 [HAVE_MMAP].
20683
20684 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20685 Add multiple inclusion protection.
20686
e5abc686
DM
206872012-07-27 David S. Miller <davem@davemloft.net>
20688
20689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20690
815e6fa3
GB
206912012-07-27 Gary Benson <gbenson@redhat.com>
20692
20693 [BZ #14298]
20694 * elf/rtld.c: Include <stap-probe.h>.
20695 (dl_main): Added static probes "init_start" and "init_complete".
20696 * elf/dl-load.c: Include <stap-probe.h>.
20697 (lose): Take new parameter "nsid".
20698 Added static probe "map_failed".
20699 (_dl_map_object_from_fd): Pass namespace id to lose.
20700 Added static probe "map_start".
20701 (open_verify): Pass namespace id to lose.
20702 * elf/dl-open.c: Include <stap-probe.h>.
20703 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20704 and "reloc_complete".
20705 * elf/dl-close.c: Include <stap-probe.h>.
20706 (_dl_close_worker): Added static probes "unmap_start" and
20707 "unmap_complete".
20708 * elf/rtld-debugger-interface.txt: New file documenting the above.
20709
9f98c16c
RM
207102012-07-26 Roland McGrath <roland@hack.frob.com>
20711
20712 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20713 rather than a string variable.
20714 * sunrpc/rpc_main.c (h_output): Likewise.
20715 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20716
f3c22df3
PT
207172012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20718
20719 * inet/check_native.c: New file.
20720
3129cfc6
JM
207212012-07-26 Joseph Myers <joseph@codesourcery.com>
20722
da865e95
JM
20723 [BZ #13629]
20724 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20725 if larger part has absolute value 1.0.
20726 * math/s_clog10.c (__clog10): Likewise.
20727 * math/s_clog10f.c (__clog10f): Likewise.
20728 * math/s_clog10l.c (__clog10l): Likewise.
20729 * math/s_clogf.c (__clogf): Likewise.
20730 * math/s_clogl.c (__clogl): Likewise.
20731 * math/libm-test.inc (clog_test): Add more tests.
20732 (clog10_test): Likewise.
20733 * sysdeps/i386/fpu/libm-test-ulps: Update.
20734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20735
3129cfc6
JM
20736 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20737 (pltexit): Likewise.
20738 (La_regs): Likewise.
20739 (La_retval): Likewise.
20740 (int_retval): Likewise.
20741 Update #error for removed macros to refer only to definitions in
20742 tst-audit.h.
20743 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20744 macro.
20745 (pltexit): Likewise.
20746 (La_regs): Likewise.
20747 (La_retval): Likewise.
20748 (int_retval): Likewise.
20749 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20750 macro.
20751 (pltexit): Likewise.
20752 (La_regs): Likewise.
20753 (La_retval): Likewise.
20754 (int_retval): Likewise.
20755 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20756 macro.
20757 (pltexit): Likewise.
20758 (La_regs): Likewise.
20759 (La_retval): Likewise.
20760 (int_retval): Likewise.
20761 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20762 macro.
20763 (pltexit): Likewise.
20764 (La_regs): Likewise.
20765 (La_retval): Likewise.
20766 (int_retval): Likewise.
20767 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20768 macro.
20769 (pltexit): Likewise.
20770 (La_regs): Likewise.
20771 (La_retval): Likewise.
20772 (int_retval): Likewise.
20773 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20774 macro.
20775 (pltexit): Likewise.
20776 (La_regs): Likewise.
20777 (La_retval): Likewise.
20778 (int_retval): Likewise.
20779 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20780 macro definitions in tst-audit.h.
20781 * sysdeps/i386/tst-audit.h: New file.
20782 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20783 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20784 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20785 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20786 * sysdeps/sh/tst-audit.h: Likewise.
20787 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20788 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20789 * sysdeps/x86_64/tst-audit.h: Likewise.
20790
bfc07087
AJ
207912012-07-26 Andreas Jaeger <aj@suse.de>
20792
b1b2aaf8
AJ
20793 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20794 ptrace.
20795
20796 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20797 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20798 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20799 PTRACE_O_MASK.
20800 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20801 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20802 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20803
bfc07087
AJ
20804 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20805 value.
20806
20807 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20808 _sigsys.
20809 (si_call_addr, si_syscall, si_arch): Define new macro.
20810 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20811 _sigsys.
20812 (si_call_addr, si_syscall, si_arch): Define new marcro.
20813 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20814 _sigsys.
20815 (si_call_addr, si_syscall, si_arch): Define new macro.
20816 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20817 _sigsys.
20818 (si_call_addr, si_syscall, si_arch): Define new macro.
20819
89b4b02f
JM
208202012-07-25 Joseph Myers <joseph@codesourcery.com>
20821
20822 [BZ #13717]
20823 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20824 Change to 2.4.21 where previously 2.4.1.
20825 * sysdeps/unix/sysv/linux/configure: Regenerated.
20826 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20827 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20828 Linux kernel version.
20829 (__ASSUME_STD_AUXV): Remove.
20830 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20831 kernel version.
20832 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20833 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20834 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20835 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20836 (__ASSUME_NETLINK_SUPPORT): Likewise.
20837 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20838 (__no_netlink_support): Remove conditional definition.
20839 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20840 Remove.
20841 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20842 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20843 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20844 (if_nameindex_ioctl): Remove.
20845 (if_nameindex_netlink): Do not handle __no_netlink_support.
20846 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20847 code.
20848 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20849 Remove conditional code.
20850 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20851 code.
20852 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20853 unconditional.
20854 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20855 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20856 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20857 Remove.
20858 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20859 [!__ASSUME_STD_AUXV]: Remove conditional code.
20860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20861 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20862 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20864 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20865 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20866 code.
20867 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20869 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20870 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20871 conditional code.
20872 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20874 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20875 code.
20876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20877 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20878 conditional code.
20879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20880 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20881 code unconditional.
20882 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20883 conditional code.
20884 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20885 unconditional.
20886 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20887 conditional code.
20888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20889 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20890 unconditional.
20891 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20892 conditional code.
20893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20894 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20895 code unconditional.
20896 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20897 conditional code.
20898 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20899 unconditional.
20900 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20901 conditional code.
20902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20903 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20904 code unconditional.
20905 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20906 conditional code.
20907 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20908 unconditional.
20909 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20910 conditional code.
20911
842a39cd
AS
209122012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20913
20914 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20915 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20916 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20917 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20918 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20919 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20920 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20921 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20922 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20923 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20924 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20925 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20926 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20927 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20928 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20929 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20930 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20931 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20932 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20933 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20934 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20935 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20936 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20937
84b3fd84
FW
209382012-07-25 Florian Weimer <fweimer@redhat.com>
20939
20940 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
20941 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20942 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20943 Introduce __libc_secure_getenv.
0c7936d5
FW
20944 * stdlib/Versions (2.17): Add secure_getenv
20945 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20946 * stdlib/secure-getenv.c: Rename __secure_getenv to
20947 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20948 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
20949 * stdlib/tst-secure-getenv.c: New.
20950 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
20951 * manual/startup.texi (Environment Access): Document
20952 secure_getenv.
84b3fd84
FW
20953 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20954 __libc_secure_getenv.
20955 * inet/ruserpass.c (ruserpass): Likewise.
20956 * malloc/mtrace.c (mtrace): Likewise.
20957 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 20958 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
20959 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20960 * sysdeps/posix/tempname.c: Likewise. Evaluate
20961 HAVE_SECURE_GETENV.
20962 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 20963 __secure_getenv to __libc_secure_getenv.
84b3fd84 20964 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
20965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20966 Likewise.
20967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20968 Likewise.
20969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20971 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 20976
56e49b71
JM
209772012-07-25 Joseph Myers <joseph@codesourcery.com>
20978
20979 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20980 (struct La_i86_retval): Likewise.
20981 (struct La_x86_64_regs): Likewise.
20982 (struct La_x86_64_retval): Likewise.
20983 (struct La_x32_regs): Likewise.
20984 (struct La_x32_retval): Likewise.
20985 (struct La_ppc32_regs): Likewise.
20986 (struct La_ppc32_retval): Likewise.
20987 (struct La_ppc64_regs): Likewise.
20988 (struct La_ppc64_retval): Likewise.
20989 (struct La_sh_regs): Likewise.
20990 (struct La_sh_retval): Likewise.
20991 (struct La_s390_32_regs): Likewise.
20992 (struct La_s390_32_retval): Likewise.
20993 (struct La_s390_64_regs): Likewise.
20994 (struct La_s390_64_retval): Likewise.
20995 (struct La_sparc32_regs): Likewise.
20996 (struct La_sparc32_retval): Likewise.
20997 (struct La_sparc64_regs): Likewise.
20998 (struct La_sparc64_retval): Likewise.
20999 (struct audit_ifaces): Remove architecture-specific pltenter and
21000 pltexit members.
21001 * sysdeps/i386/ldsodefs.h: New file.
21002 * sysdeps/powerpc/ldsodefs.h: Likewise.
21003 * sysdeps/s390/ldsodefs.h: Likewise.
21004 * sysdeps/sh/ldsodefs.h: Likewise.
21005 * sysdeps/sparc/ldsodefs.h: Likewise.
21006 * sysdeps/x86_64/ldsodefs.h: Likewise.
21007
354691b7
MP
210082012-07-25 Marek Polacek <polacek@redhat.com>
21009
21010 [BZ #6808]
21011 * math/libm-test.inc (yn_test): Add another test.
21012 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21013 to ERANGE when the result is +-Inf.
21014 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21015 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21016 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21017 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21018
bf9e2071
JM
210192012-07-24 Joseph Myers <joseph@codesourcery.com>
21020
21021 * conform/data/time.h-data (NULL): Use macro-constant. Require
21022 equal to 0.
21023 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21024 clock_t.
21025 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21026
57633811
TS
210272012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21028
21029 * configure.in <sysdeps resolving>: Correct printing
21030 Implies_before.
21031 * configure: Regenerate.
21032
c23c33b0
TS
210332012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21034
21035 * math/w_ilogb.c: Include <limits.h>.
21036 * math/w_ilogbl.c: Likewise.
21037
b5982523
JM
210382012-07-20 Joseph Myers <joseph@codesourcery.com>
21039
21040 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21041 va_copy. Document allowing for unavailable va_copy only as
21042 pre-C99 compatibility.
21043 * manual/string.texi (Copying and Concatenation): Use va_copy
21044 instead of __va_copy in concat example.
21045
ac4ea442
PT
210462012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21047
21048 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21049 (__sendto): Use create_address_port. Initialize APORT and deallocate
21050 it if not null.
21051
f98eafbd
PT
21052 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21053 with O_NOLINK passed to __file_name_lookup.
21054
898c7aab
PT
21055 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21056 with O_NOLINK passed to __file_name_lookup.
21057
0ced335a
PT
21058 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21059 negative N or less than NGIDS.
21060
b3404dbd
PT
21061 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21062 type to string_t. Set ERANGE as errno and return it if NAME is not big
21063 enough. Use memcpy instead of strncpy.
21064
0f48659e
JM
210652012-07-20 Joseph Myers <joseph@codesourcery.com>
21066
21067 * elf/Makefile (check-data): Remove.
21068 (localplt.data): New vpath directive.
21069 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21070 instead of $(check-data).
21071 * scripts/data/localplt-generic.data: Move to ...
21072 * sysdeps/generic/localplt.data: ... here.
21073 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21074 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21075 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21077 ... here.
21078 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21080 ... here.
21081 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21083 ... here.
21084 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21086 ... here.
21087 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21089 ... here.
21090 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21092 ... here.
21093
d37cbdaa
AZ
210942012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21095
21096 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21097 PPC32 and PPC64 files.
21098 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21099 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21100
46f85fc2
AK
211012012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21102
21103 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21104 __makecontext_ret to ...
21105 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21106 ... here and call exit if uc_link is NULL. New file.
21107 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21108 __makecontext_ret.S.
21109 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21110 __makecontext_ret to ...
21111 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21112 ... here and call exit if uc_link is NULL. New file.
21113 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21114 __makecontext_ret.S.
21115
08f43f9b
AK
211162012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21117
21118 * elf/elf.h (R_390_IRELATIVE): New definition.
21119 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21120 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21121 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21122 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21123 (elf_machine_lazy_rel): Likewise.
21124 * sysdeps/s390/dl-irel.h: New file.
21125 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21126 * sysdeps/s390/s390-64/memset.S: New asm code.
21127 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21128 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21129 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21130 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21131 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21132 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21133 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21134 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21135 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21136 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21137 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21138 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21139 * sysdeps/s390/s390-32/memset.S: New asm code.
21140 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21141
3b05db33
MP
211422012-07-17 Marek Polacek <polacek@redhat.com>
21143
21144 [BZ #14349]
21145 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21146 * sysdeps/s390/s390-64/configure.in: Likewise.
21147 * sysdeps/sparc/configure.in: Likewise.
21148 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21149 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21150 * sysdeps/i386/configure.in: Likewise.
21151 * sysdeps/x86_64/configure.in: Likewise.
21152 * sysdeps/sh/configure.in: Likewise.
21153 * sysdeps/s390/s390-32/configure: Regenerated.
21154 * sysdeps/s390/s390-64/configure: Likewise.
21155 * sysdeps/x86_64/configure: Likewise.
21156 * sysdeps/sh/configure: Likewise.
21157 * sysdeps/powerpc/powerpc64/configure: Likewise.
21158 * sysdeps/powerpc/powerpc32/configure: Likewise.
21159 * sysdeps/sparc/configure: Likwise.
21160 * sysdeps/i386/configure: Likewise.
21161
a66877c6
MP
21162 * elf/dl-open.c: Comment fixes.
21163
cfc82fd8
JM
211642012-07-17 Joseph Myers <joseph@codesourcery.com>
21165
bd29910a
JM
21166 * Makefile [CXX] (check-data): Remove.
21167 [CXX] (c++-types.data): New vpath directive.
21168 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21169 vpath. Do not allow for C++ type data being missing.
21170 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21171 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21172 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21173 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21174 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21175 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21176 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21178 ... here.
21179 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21181 ... here.
21182 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21184 ... here.
21185 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21187 ... here.
21188 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21190 ... here.
21191 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21193 ... here.
21194 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21196 ... here.
21197 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21199
cfc82fd8
JM
21200 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21201 definitions to architecture-specific files.
21202 (TLS_IE): Likewise.
21203 (TLS_LD): Likewise.
21204 (TLS_GD): Likewise.
21205 * sysdeps/i386/tls-macros.h: New file.
21206 * sysdeps/powerpc/tls-macros.h: Likewise.
21207 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21208 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21209 * sysdeps/sh/tls-macros.h: Likewise.
21210 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21211 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21212 * sysdeps/x86_64/tls-macros.h: Likewise.
21213
f7db3170
TS
212142012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21215
07cbfc23
TS
21216 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21217 zero value for regular exit case.
21218
f7db3170
TS
21219 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21220 (__start_context): Preserve zero value for regular exit case.
21221
dc97c227
TS
212222012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21223 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21224
21225 * manual/setjmp.texi (setcontext): Clarify normal process
21226 termination when uc_link is the null pointer.
21227 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21228 exit call.
21229
d0cd7d02
AS
212302012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21231
21232 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21233 preprocessor. Test for each exception mask separately.
21234
dd318934
AJ
212352012-07-16 Andreas Jaeger <aj@suse.de>
21236
21237 * po/ru.po: Update from translation team.
21238
8048311a
JM
212392012-07-15 Joseph Myers <joseph@codesourcery.com>
21240
21241 * conform/data/string.h-data (NULL): Use macro-constant. Require
21242 equal to 0.
21243 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21244 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21245 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21246 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21247 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21248
b637d46e
AJ
212492012-07-13 Andreas Jaeger <aj@suse.de>
21250
21251 * po/fr.po: Update from translation team.
21252
541428fe
MP
212532012-07-12 Marek Polacek <polacek@redhat.com>
21254
21255 [BZ #14173]
21256 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21257 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21258 loop condition.
21259
ec332e94
JM
212602012-07-12 Joseph Myers <joseph@codesourcery.com>
21261
21262 [BZ #13717]
21263 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21264 Change to 2.4.1 where previously 2.4.0.
21265 * sysdeps/unix/sysv/linux/configure: Regenerated.
21266 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21267 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21268 version.
21269 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21270 (__ASSUME_AT_CLKTCK): Remove.
21271 (__ASSUME_AT_PAGESIZE): Likewise.
21272 (__ASSUME_AT_XID): Likewise.
21273 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21274 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21275 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21276 unconditionally.
21277 (HAVE_AUX_PAGESIZE): Likewise.
21278 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21279 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21280 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21281
7b6e99be
JB
212822012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21283
21284 [BZ #14307]
21285 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21286 the temporary buffer used to invoke __gethostbyname2_r,
21287 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21288 host_data / struct gaih_addrtuple.
21289 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21290 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21291 header file nss/nsswitch.h.
21292 * nss/nsswitch.h (global scope): Add definition of implementation
21293 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21294 resolv/nss_dns/dns-host.c).
21295
608404eb
AJ
212962012-07-11 Andreas Jaeger <aj@suse.de>
21297
21298 * po/fr.po: Update from translation team.
21299
71220aca
AJ
21300 * po/sv.po: Update from translation team
21301 * po/fr.po: Another update from translation team.
21302
28cfe843
AZ
213032012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21304
21305 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21306 for subnormals or multiply small sinh result by itself.
21307 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21309
6b90f981
DM
213102012-07-11 David S. Miller <davem@davemloft.net>
21311
21312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21313
c6825772
AS
213142012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21315
21316 [BZ #14347]
21317 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21318 (INTERNAL_MARK): Shift it here.
21319
7b8e0d49
MP
213202012-07-10 Marek Polacek <polacek@redhat.com>
21321
21322 [BZ #14151]
21323 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21324 libc_cv_asm_global_directive with .globl.
21325 * configure: Regenerated.
21326 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21327 with .globl.
21328 * sysdeps/i386/configure: Regenerated.
21329 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21330 with .globl.
21331 * sysdeps/x86_64/configure: Regenerated.
21332 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21333 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21334 * elf/tst-unique2mod2.c: Likewise.
21335 * elf/tst-unique2mod1.c: Likewise.
21336 * elf/tst-unique1mod2.c: Likewise.
21337 * elf/tst-unique1mod1.c: Likewise.
21338 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21339 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21340 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21341 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21342 * sysdeps/mach/sysdep.h: Likewise.
21343 * sysdeps/i386/sysdep.h: Likewise.
21344 * sysdeps/i386/i386-mcount.S: Likewise.
21345 * sysdeps/x86_64/_mcount.S: Likewise.
21346 * sysdeps/x86_64/sysdep.h: Likewise.
21347 * sysdeps/sh/_mcount.S: Likewise.
21348 * sysdeps/sh/sysdep.h: Likewise.
21349 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21350 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21351 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21352 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21353 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21354 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21355 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21356 * locale/localeinfo.h: Likewise.
21357 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21358 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21359
6c55cda3
RM
213602012-07-09 Roland McGrath <roland@hack.frob.com>
21361
21362 [BZ #14336]
21363 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21364 system".
21365 * manual/message.texi (The Uniforum approach): Likewise.
21366 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21367 (glibc iconv Implementation): Likewise.
21368
638a572e
JM
213692012-07-09 Joseph Myers <joseph@codesourcery.com>
21370
21371 [BZ #14337]
21372 * math/s_clog.c (__clog): Avoid scaling a value down where that
21373 could result in underflow.
21374 * math/s_clog10.c (__clog10): Likewise.
21375 * math/s_clog10f.c (__clog10f): Likewise.
21376 * math/s_clog10l.c (__clog10l): Likewise.
21377 * math/s_clogf.c (__clogf): Likewise.
21378 * math/s_clogl.c (__clogl): Likewise.
21379 * math/libm-test.inc (clog_test): Add more tests.
21380 (clog10_test): Likewise.
21381 * sysdeps/i386/fpu/libm-test-ulps: Update.
21382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21383
261f4859
AS
213842012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21385
0abaf3e4
AS
21386 [BZ #14283]
21387 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21388 by 7 not 8 to examine high bit of fractional part.
21389
261f4859
AS
21390 [BZ #14042]
21391 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21392 for call to __mcount_internal.
21393 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21394 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21395 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21396
f17ac40d
JM
213972012-07-06 Joseph Myers <joseph@codesourcery.com>
21398
9ad63c23
JM
21399 [BZ #14154]
21400 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21401 approximation for values within 0x1p-13f of an odd multiple of
21402 pi/4.
21403 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21404 exception. Add more tests.
21405 * sysdeps/i386/fpu/libm-test-ulps: Update.
21406
f17ac40d
JM
21407 [BZ #6778]
21408 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21409 inputs and return -1 for them. Do not check for +Inf in case not
21410 reachable for +Inf.
21411 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21412 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21413 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21414 and return -1 for them. Do not check for +Inf in case not
21415 reachable for +Inf.
21416 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21417 define.
21418 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21419 and return -1 for them. Do not check for +Inf in case not
21420 reachable for +Inf.
21421 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21422 spurious underflow.
21423 * sysdeps/i386/fpu/libm-test-ulps: Update.
21424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21425
fb21f89b
MF
214262012-07-06 Mike Frysinger <vapier@gentoo.org>
21427
21428 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21429
cdfe2c5e
JM
214302012-07-05 Joseph Myers <joseph@codesourcery.com>
21431
21432 [BZ #14157]
21433 [BZ #14331]
21434 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21435 could result in spurious underflow. Scale down values above
21436 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21437 * math/s_csqrtf.c (__csqrtf): Likewise.
21438 * math/s_csqrtl.c (__csqrtl): Likewise.
21439 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21440 spurious underflow.
21441 * sysdeps/i386/fpu/libm-test-ulps: Update.
21442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21443
70d35b67
AS
214442012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21445
704bc459
AS
21446 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21447 xopen-msg.sed.
21448 * catgets/xopen-msg.awk: New file.
21449 * catgets/xopen-msg.sed: Removed.
21450
70d35b67
AS
21451 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21452 po2text.sed.
21453 * intl/po2test.awk: New file.
21454 * intl/po2test.sed: Removed.
21455
ca61cf32
JM
214562012-07-04 Joseph Myers <joseph@codesourcery.com>
21457
21458 [BZ #14328]
21459 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21460 or multiply small sinh result by itself.
21461 * math/s_ctanf.c (__ctanf): Likewise.
21462 * math/s_ctanh.c (__ctanh): Likewise.
21463 * math/s_ctanhf.c (__ctanhf): Likewise.
21464 * math/s_ctanhl.c (__ctanhl): Likewise.
21465 * math/s_ctanl.c (__ctanl): Likewise.
21466 * math/libm-test.inc (ctan_test_tonearest): New function.
21467 (ctan_test_towardzero): Likewise.
21468 (ctan_test_downward): Likewise.
21469 (ctan_test_upward): Likewise.
21470 (ctanh_test_tonearest): Likewise.
21471 (ctanh_test_towardzero): Likewise.
21472 (ctanh_test_downward): Likewise.
21473 (ctanh_test_upward): Likewise.
21474 (main): Call these new functions.
21475 * sysdeps/i386/fpu/libm-test-ulps: Update.
21476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21477
ca48a46a
MF
214782012-07-03 Mike Frysinger <vapier@gentoo.org>
21479
21480 * .gitignore: Delete /ports entry.
21481
9d63d37d
AJ
214822012-07-03 Andreas Jaeger <aj@suse.de>
21483
21484 * po/bg.po: Update from translation team.
21485 * po/cs.po: Likewise.
21486 * po/de.po: Likewise.
21487 * po/hr.po: Likewise.
21488 * po/nl.pl: Likewise.
21489 * po/pl.po: Likewise.
21490 * po/vi.po: Likewise.
21491
370ca3d2
JM
214922012-07-03 Joseph Myers <joseph@codesourcery.com>
21493
95f5a9a8
JM
21494 * Makeconfig [!+link] (+link-before-libc): New variable.
21495 [!+link] (+link-after-libc): Likewise.
21496 [!+link] (+link-tests): Likewise.
21497 [!+link] (+link): Define in terms of $(+link-before-libc) and
21498 $(+link-after-libc).
21499 [!+link-static] (+link-static-before-libc): New variable.
21500 [!+link-static] (+link-static-after-libc): Likewise.
21501 [!+link-static] (+link-static-tests): Likewise.
21502 [!+link-static] (+link-static): Define in terms of
21503 $(+link-static-before-libc) and $(+link-static-after-libc).
21504 [build-shared] (link-libc-before-gnulib): New variable.
21505 [build-shared] (link-libc-tests): Likewise.
21506 [build-shared] (link-libc): Define in terms of
21507 $(link-libc-before-gnulib).
21508 [!build-shared] (link-libc-tests): New variable.
21509 (link-libc-static-tests): New variable.
21510 [!gnulib] (gnulib-arch): New variable.
21511 [!gnulib] (gnulib-tests): Likewise.
21512 [!gnulib] (static-gnulib-arch): Likewise.
21513 [!gnulib] (static-gnulib-tests): Likewise.
21514 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21515 Define with "=" instead of ":=".
21516 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21517 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21518 * Rules (binaries-all-notests): New variable.
21519 (binaries-all-tests): Likewise.
21520 (binaries-static-notests): Likewise.
21521 (binaries-static-tests): Likewise.
21522 (binaries-all): Define using $(binaries-all-notests) and
21523 $(binaries-all-tests).
21524 (binaries-static): Define using $(binaries-static-notests) and
21525 $(binaries-static-tests).
21526 (binaries-shared-tests): New variable.
21527 (binaries-shared-notests): Likewise.
21528 (binaries-shared): Remove variable.
21529 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21530 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21531 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21532 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21533 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21534 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21535 * elf/Makefile (sln-modules): New variable.
21536 (extra-objs): Add $(sln-modules:=.o).
21537 (ldconfig-modules): Add static-stubs.
21538 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21539 * elf/static-stubs.c: New file.
21540
7a845b2c
JM
21541 [BZ #14283]
21542 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21543 by 7 not 8 to examine high bit of fractional part. Use volatile
21544 variables when splitting into final array of floats if
21545 __FLT_EVAL_METHOD__ != 0.
21546 * math/libm-test.inc (cos_test): Add another test.
21547 (sin_test): Likewise.
21548 * sysdeps/i386/fpu/libm-test-ulps: Update.
21549
e2283f38
JM
21550 [BZ #14273]
21551 * math/libm-test.inc (cosh_test): Add more tests.
21552
370ca3d2
JM
21553 * version.h (RELEASE): Set to "development".
21554 (VERSION): Set to "2.16.90".
21555
ee9247c3
CD
215562012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21557
21558 * NEWS: Update copyright. Remove last-updated date.
21559 Mention math library bug fixes and timezone data changes.
21560 * README: Mention GNU/Hurd, x32, and HPPA support status.
21561
4648c381
TS
215622012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21563
21564 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21565
aac78a43
AJ
215662012-06-27 Andreas Jaeger <aj@suse.de>
21567
21568 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21569
ed3dbfad
AJ
215702012-06-25 Andreas Jaeger <aj@suse.de>
21571
21572 * sysdeps/s390/fpu/libm-test-ulps: Update.
21573
4d0ee855
AS
215742012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21575 Thomas Schwinge <thomas@codesourcery.com>
21576
21577 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21578 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21579 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21580 fanotify_mark.
21581
af1bce34
TS
215822012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21583
a9fa33ba
TS
21584 * sysdeps/mach/start.c: Remove file.
21585 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21586 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21587 * sysdeps/sh/init-first.c: Likewise.
21588
58f902b8
TS
21589 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21590 registers for frame unwinding purposes, add CFI directives.
21591 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21592 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21593 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21594 Likewise.
21595
1518f58b
TS
21596 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21597 __fortify_fail returning.
21598 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21599
db9b5059
TS
21600 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21601 sysdeps/sh/____longjmp_chk.S.
21602 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21603 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21604 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21605 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21606
967705fe
TS
21607 * sysdeps/sh/abort-instr.h: New file.
21608 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21609 process in case exit returns.
21610
a9def8c4
TS
21611 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21612 initialize the GOT register before use.
21613
2a649725
TS
21614 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21615 calculation of ARGC > 4.
21616
af1bce34
TS
21617 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21618 meaningful names to some local labels.
21619
d230f50a
KK
216202012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21621 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21622
21623 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21624 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21625 (__arch_compare_and_exchange_val_16_acq): Likewise.
21626 (__arch_compare_and_exchange_val_32_acq): Likewise.
21627 (atomic_exchange_and_add): Fix gUSA sequence.
21628 (atomic_add): Likewise.
21629 (atomic_add_negative): Likewise.
21630 (atomic_add_zero): Likewise.
21631 (atomic_bit_test_set): Likewise.
21632
0479b305
AS
216332012-06-22 Andreas Schwab <schwab@redhat.com>
21634
21635 [BZ #13579]
21636 * include/link.h (struct link_map): Add l_free_initfini.
21637 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21638 l_initfini.
21639 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21640 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21641 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21642 set.
21643
0e3933b9
CD
216442012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21645
21646 * configure.in: Use AC_LANG_SOURCE.
21647 * configure: Regenerate.
21648
4248b1b1
RM
216492012-06-22 Roland McGrath <roland@hack.frob.com>
21650
21651 * configure.in (libc_cv_localstatedir): New substituted variable.
21652 * configure: Regenerated.
21653 * config.make.in (localstatedir): New variable, substituted from
21654 libc_cv_localstatedir.
21655 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21656 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21657 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21658 * sysdeps/gnu/configure: Regenerated.
21659
006dd861
JL
216602012-06-21 Jeff Law <law@redhat.com>
21661
21662 [BZ #14277]
21663 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21664 free. Simplify list management for _LIBC case.
21665
79662d42
JM
216662012-06-21 Joseph Myers <joseph@codesourcery.com>
21667
b7abb4bf
JM
21668 [BZ #14273]
21669 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21670 Clear sign bit of 64-bit integer value before comparing against
21671 overflow value.
21672
79662d42
JM
21673 * sysdeps/mach/configure: Regenerated.
21674
1f150908
L
216752012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21676
21677 [BZ #14278]
21678 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21679
28363bbf
JL
216802012-06-21 Jeff Law <law@redhat.com>
21681
21682 [BZ #13882]
21683 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21684 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 21685 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
21686 * elf/dl-open.c (dl_open_worker): Likewise.
21687
09615db4
CD
216882012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21689
21690 * scripts/list-sources.sh: Scan PORTS for translations.
21691 * po/libc.pot: Regenerated.
21692
2174c6dd
AJ
216932012-06-21 Andreas Jaeger <aj@suse.de>
21694
21695 [BZ #12194]
21696 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21697 warning.
21698 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21699 * bits/byteswap-16.h (__bswap_16): Likewise.
21700 * bits/byteswap.h (__bswap_constant_16): Likewise.
21701
3ee947b1
L
217022012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21703
21704 [BZ #14117]
a2f34833
L
21705 * sysdeps/i386/fpu_control.h: Removed.
21706 * sysdeps/x86_64/fpu_control.h: Moved to ...
21707 * sysdeps/x86/fpu_control.h: Here.
21708
3ee947b1
L
21709 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21710 (_FPU_SETCW): Likewise.
21711
ed1825f8
L
217122012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21713
25f1282a
L
21714 [BZ #14117]
21715 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21716 * sysdeps/x86/fpu/bits/mathinline.h: This.
21717 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21718
ed1825f8
L
21719 [BZ #14050]
21720 [BZ #14117]
21721 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21722 functions if __x86_64__ is defined.
21723
36d54b74
CLT
217242012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21725
21726 * string/endian.h: Add !__ASSEMBLER__ condition for including
21727 conversion interfaces.
21728
10285c21
JM
217292012-06-15 Joseph Myers <joseph@codesourcery.com>
21730
21731 [BZ #14241]
21732 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21733 of ABS(x) in calculating zero to negative powers other than odd
21734 integers.
21735 * math/libm-test.inc (pow_test): Add more tests.
21736
06c5abbd
AJ
217372012-06-15 Andreas Jaeger <aj@suse.de>
21738
21739 * manual/contrib.texi (Contributors): Update entry of Liubov
21740 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21741 Machado Filho.
21742
a3aeac40
CH
217432012-06-15 Cyril Hrubis <metan@ucw.cz>
21744
21745 * string/string.h: Add __wur to GNU version of strerror_r.
21746
49bdf4c1
L
217472012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21748
21749 [BZ #14229]
21750 * string/Makefile (tests): Add tst-strtok_r.
21751 * string/tst-strtok_r.c: New file.
21752 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21753 RAX_LP/RDX_LP on SAVE_PTR.
21754
834f9b8d
RM
217552012-06-14 Roland McGrath <roland@hack.frob.com>
21756
21757 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21758
75fa1921
JM
217592012-06-14 Joseph Myers <joseph@codesourcery.com>
21760
21761 * libm_test.inc (csqrt_test): Allow more spurious underflow
21762 exceptions.
21763 (j0_test): Likewise.
21764 (j1_test): Likewise.
21765 (y0_test): Likewise.
21766 (y1_test): Likewise.
21767
771766df
CD
217682012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21769
21770 * po/Makefile (libc.pot): Use UTF-8 charset.
21771
ceb9e56b
PP
217722012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21773
21774 [BZ #14210]
21775 Suppress sign-conversion warning from FD_SET.
21776 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21777 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21778 not unsigned long int.
21779 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21780
ddb28975
L
217812012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21782
21783 [BZ #14050]
21784 [BZ #14117]
21785 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21786 __extern_always_inline instead of __extern_inline.
21787 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21788 (__signbit): Likewise.
21789 (__signbitl): Support C++ namespace.
21790 (lrintf): New inline function.
21791 (lrint): Likewise.
21792 (llrintf): Likewise.
21793 (llrint): Likewise.
21794 (fmaxf): Likewise.
21795 (fmax): Likewise.
21796 (fminf): Likewise.
21797 (fmin): Likewise.
21798 (rint): Likewise.
21799 (rintf): Likewise.
21800 (ceil): Likewise.
21801 (ceilf): Likewise.
21802 (floor): Likewise.
21803 (floorf): Likewise.
21804 (nearbyint): Likewise.
21805 (nearbyintf): Likewise.
21806
d7b4fb26
TS
218072012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21808
21809 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21810 non-default versions.
21811
eb55f5c2
RM
218122012-06-11 Roland McGrath <roland@hack.frob.com>
21813
21814 [BZ #14218]
21815 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21816
366af02c
TS
218172012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21818
99ff6e5c
TS
21819 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21820 (FE_UPWARD, FE_DOWNWARD): Don't define.
21821 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21822 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21823
366af02c
TS
21824 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21825 reading it.
21826 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21827 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21828
793ea851
KK
218292012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21830
21831 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21832 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21833 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21834 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21835
a728a38f
L
218362012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21837
21838 [BZ #14117]
c08010c7
L
21839 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21840 * sysdeps/i386/fpu/Implies: New file.
21841 * sysdeps/x86_64/fpu/Implies: Likewise.
21842 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21843 * sysdeps/x86/fpu/bits/fenv.h: This.
21844
a728a38f
L
21845 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21846 __SSE_MATH__.
21847
6e230d11
SP
218482012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21849
21850 [BZ #14134]
21851 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21852 character 0xffff that matches the last element of the
21853 conversion table.
21854
1b671feb
AZ
218552012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21856
21857 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21858 fmodl commit.
21859
6043738b
AZ
218602012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21861
21862 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21863 values higher than 25.6283.
21864
34ae0b32
AZ
218652012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21866
21867 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21868 subnormal exponent extraction and add some __builtin_expect.
21869 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21870 Fix for subnormal mantissa calculation.
21871
1214ec8f
MF
218722012-06-04 Mike Frysinger <vapier@gentoo.org>
21873
21874 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21875 cpu2 is -1 and errno is not ENOSYS.
21876
f3d1f93c
L
218772012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21878
21879 [BZ #14117]
0e4a3cd7
L
21880 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21881 * sysdeps/x86/bits/string.h: This.
21882 * sysdeps/x86_64/bits/string.h: Removed.
21883
6704c645
L
21884 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21885 if not compiling for x86-64, but compiling for >= i486.
21886
48495318
L
21887 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21888 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21889
14adcbfc
L
21890 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21891 New macro from Linux kernel 3.4.0.
21892 (FP_XSTATE_MAGIC2): Likewise.
21893 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21894 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21895 (struct _fpx_sw_bytes): New struct.
21896 (struct _xsave_hdr): Likewise.
21897 (struct _ymmh_state): Likewise.
21898 (struct _xstate): Likewise.
21899
68e408ab
L
21900 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21901 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21902 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21903 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21904 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21905 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21906
f3d1f93c
L
21907 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21908 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21909 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21910 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21911 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21912 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21913
d9dc34cd
TMQMF
219142012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21915
21916 [BZ #13743]
21917 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21918 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21919 (sysdep_headers): Include sys/platform/ppc.h.
21920 * sysdeps/powerpc/test-gettimebase.c: Test for
21921 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21922 * manual/Makefile (appendices): Include platform.texi.
21923 * manual/contrib.texi (Contributors): Update @node pointers.
21924 * manual/maint.texi (Maintenance): Likewise.
21925 (Platform): New node.
21926 * manual/platform.texi: New file. Document the new features.
21927
4af3879c
SP
219282012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21929 Jakub Jelinek <jakub@redhat.com>
21930
21931 [BZ #14188]
21932 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21933 where __builtin_expect is unavailable.
21934
2fd6ff13
DM
219352012-06-03 David S. Miller <davem@davemloft.net>
21936
21937 * stdlib/longlong.h: Updated from GCC.
21938
173f7220
AS
219392012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21940
21941 [BZ #14042]
21942 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21943 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21944 __mcount_internal.
21945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21946 (GLIBC_2.16): Likewise.
21947
f34a1c6f
L
219482012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21949
21950 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21951
88a4576f
JM
219522012-06-01 Joseph Myers <joseph@codesourcery.com>
21953
ea32bcdd
JM
21954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21955 (default-abi): New variable.
21956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21957 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21958 variable.
21959 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21960 Likewise.
21961 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21962 Likewise.
21963 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21964 Likewise.
21965
88a4576f
JM
21966 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21967 definition. Document in comment.
21968
402fe938
DM
219692012-06-01 David S. Miller <davem@davemloft.net>
21970
21971 * stdlib/longlong.h: Updated from GCC.
21972
3553723f
L
219732012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21974
21975 [BZ #14117]
3bd872c4
L
21976 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21977 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21978 sys/debugreg.h sys/io.h here.
21979 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21980 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21981 sys/io.h.
21982 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21983 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21984 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21985 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21986 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21987 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21988
3553723f
L
21989 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21990 Define only if __x86_64__ is defined.
21991
4842e4fe
JM
219922012-06-01 Joseph Myers <joseph@codesourcery.com>
21993
c5bfe3d5
JM
21994 [BZ #14048]
21995 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21996 Use int64_t for variable i.
21997 * math/libm-test.inc (fmod_test): Add more tests.
21998
4842e4fe
JM
21999 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22000 z computation is not scheduled after fetestexcept.
22001 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22002 Use math_force_eval instead of asm to ensure calculation scheduled
22003 before exception test.
22004 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22005 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22006
efb73488
AJ
220072012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22008
22009 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22010 computation is not scheduled after fetestexcept.
22011
29bcce7c
L
220122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22013
22014 [BZ #14117]
22015 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22016 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22017
73a68f94
AZ
220182012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22019
22020 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22021 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22022
67b6df78
L
220232012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22024
edf2933a 22025 [BZ #14117]
ebc64a18
L
22026 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22027 <bits/wordsize.h>.
22028 (__WCHAR_MIN): Support __WORDSIZE == 64.
22029 (__WCHAR_MAX): Likewise.
22030
edf2933a
L
22031 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22032 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22033
57c6cf40
L
22034 [BZ #14183]
22035 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22036 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22037
67b6df78 22038 [BZ #14117]
8eb6281e
L
22039 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22040 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22041
aac639f4
L
22042 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22043 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22044
67b6df78
L
22045 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22046 Defined to 1 if __x86_64__ isn't defined.
22047 (_STAT_VER_LINUX_OLD): New.
22048 (st_atime): Remove duplicate.
22049 (st_mtime): Likewise.
22050 (st_ctime): Likewise.
22051
1c2cfe81
DM
220522012-05-31 David S. Miller <davem@davemloft.net>
22053
22054 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22055 entries.
22056
5be8418c
AS
220572012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22058
e7725326
AS
22059 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22060 gen-libm-test.pl.
22061
5be8418c
AS
22062 [BZ #14132]
22063 * elf/dl-reloc.c: Include <_itoa.h>.
22064 (_dl_reloc_bad_type): Remove use of INTUSE.
22065 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22066 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22067 * stdio-common/psiginfo.c (psiginfo): Likewise.
22068 * stdio-common/psignal.c (psignal): Likewise.
22069 * string/strsignal.c (strsignal): Likewise.
22070 * include/signal.h (_sys_siglist): Declare hidden proto.
22071 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22072 INTVARDEF with libc_hidden_data_def.
22073 * stdio-common/itoa-udigits.c: Likewise.
22074 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22075 (_itoa_lower_digits_internal): Remove declaration.
22076 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22077 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22078 (_sys_sigabbrev_internal): Remove aliases.
22079 (_sys_siglist): Define hidden alias.
22080
507352f1
MT
220812012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22082
22083 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22084 bits/sysctl.h.
22085
42bbb1c3
L
220862012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22087
22088 [BZ #14117]
6bd784b6
L
22089 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22090 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22091
8bca20f0
L
22092 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22093 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22094 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22095 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22096 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22097 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22098
f9e890a9
L
22099 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22100 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22101 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22102
471101a1
L
22103 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22104 with __addr.
22105 (insw): Likewise.
22106 (insl): Likewise.
22107 (outsb): Likewise.
22108 (outsw): Likewise.
22109 (outsl): Likewise.
22110
6451c862
L
22111 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22112 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22113 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22114
a254b8c9
L
22115 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22116 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22117 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22118 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22119 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22120 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22121
b8dfdd92
L
22122 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22123 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22124
578cd270
L
22125 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22126 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22127
de662f5f
L
22128 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22129 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22130 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22131
25653439
L
22132 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22133 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22134 to ...
22135 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22136
6bad24a0
L
22137 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22138 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22139 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22140
42bbb1c3
L
22141 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22142 for x86-64.
22143 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22144
2d10d547
JM
221452012-05-31 Joseph Myers <joseph@codesourcery.com>
22146
22147 * math/math.h (M_El): Use two more decimal places.
22148 (M_LOG2El): Likewise.
22149 (M_LOG10El): Likewise.
22150 (M_LN2l): Likewise.
22151 (M_LN10l): Likewise.
22152 (M_PIl): Likewise.
22153 (M_PI_2l): Likewise.
22154 (M_PI_4l): Likewise.
22155 (M_1_PIl): Likewise.
22156 (M_2_PIl): Likewise.
22157 (M_2_SQRTPIl): Likewise.
22158 (M_SQRT2l): Likewise.
22159 (M_SQRT1_2l): Likewise.
22160
f230c29b
DM
221612012-05-31 David S. Miller <davem@davemloft.net>
22162
22163 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22164 values between float registers.
22165 * sysdeps/sparc/sparc64/memset.S: Likewise.
22166 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22167
fed806c3
MF
221682012-05-31 Mike Frysinger <vapier@gentoo.org>
22169
22170 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22171 -D_FORTIFY_SOURCE=1.
22172 (CPPFLAGS-tst-longjmp_chk.c): Define.
22173 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22174 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22175 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22176 CFLAGS-tst-wchar-h.c.
22177
30917259
MP
221782012-05-31 Marek Polacek <polacek@redhat.com>
22179
22180 [BZ #14132]
22181 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22182 __endmntent_internal): Remove declaration.
22183 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22184 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22185 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22186
1c58d5dc
DM
221872012-05-30 David S. Miller <davem@davemloft.net>
22188
22189 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22190 (___Q_simulate_exceptions): Use real FP ops rather than writing
22191 into the %fsr.
22192 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22193 Likewise.
22194
7dc00e0d
L
221952012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22196
22197 [BZ #14117]
0bd53985
L
22198 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22199 * sysdeps/x86/bits/xtitypes.h: This.
22200
3a257e66
L
22201 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22202 * sysdeps/x86/bits/wordsize.h: This.
22203
62f62904
L
22204 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22205 * sysdeps/x86/bits/huge_vall.h: This.
22206
404fe9d9
L
22207 * sysdeps/i386/bits/select.h: Removed.
22208 * sysdeps/x86_64/bits/select.h: Renamed to ...
22209 * sysdeps/x86/bits/select.h: This.
22210
d48d0446
L
22211 * sysdeps/i386/bits/setjmp.h: Removed.
22212 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22213 * sysdeps/x86/bits/setjmp.h: This.
22214
7dc00e0d
L
22215 * sysdeps/i386/bits/mathdef.h: Removed.
22216 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22217 * sysdeps/x86/bits/mathdef.h: This.
22218
03277f8f
AS
222192012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22220
22221 [BZ #14132]
22222 * include/sys/socket.h (__connect_internal)
22223 (__libc_sa_len_internal): Remove declaration.
22224 (__connect, __libc_sa_len): Declare hidden_proto.
22225 (SA_LEN): Remove use of INTUSE.
22226 * socket/connect.c: Add libc_hidden_def.
22227 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22228 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22229 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22230 alias.
22231 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22232 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22233 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22234 of adding _internal alias.
22235
13764867
L
222362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22237
22238 [BZ #14117]
6bd97696
L
22239 * sysdeps/i386/bits/link.h: Removed.
22240 * sysdeps/i386/bits/linkmap.h: Likewise.
22241 * sysdeps/x86_64/bits/link.h: Renamed to ...
22242 * sysdeps/x86/bits/link.h: This.
22243 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22244 * sysdeps/x86/bits/linkmap.h: This.
22245
f726f0bb
L
22246 * sysdeps/i386/bits/endian.h: Removed.
22247 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22248 * sysdeps/x86/bits/endian.h: This.
22249
13764867
L
22250 * sysdeps/i386/bits/byteswap.h: Removed.
22251 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22252 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22253 * sysdeps/x86/bits/byteswap.h: This.
22254 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22255 * sysdeps/x86/bits/byteswap-16.h: This.
22256 * sysdeps/i386/Implies: Add x86.
22257 * sysdeps/x86_64/Implies: Likewise.
22258
ae251b0b
DM
222592012-05-30 David S. Miller <davem@davemloft.net>
22260
22261 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22262 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22263 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22264 (FP_TRAPPING_EXCEPTIONS): Define.
22265 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22266 (FP_TRAPPING_EXCEPTIONS): Define.
22267 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22268 subnormals only when inexact has been signalled or underflow
22269 exceptions are enabled.
22270 (_FP_PACK_CANONICAL): Likewise.
22271
d5c90867
L
222722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22273
22274 [BZ #14183]
22275 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22276 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22277
63f1549e
RH
222782012-05-30 Richard Henderson <rth@twiddle.net>
22279
8d8f2279
RH
22280 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22281 with #ifndef NOT_IN_libc.
22282
63f1549e
RH
22283 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22284 marked to avoid plt entry.
22285
0ab0291b
L
222862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22287
22288 [BZ #14112]
22289 * Makeconfig (default-abi): New macro.
22290 (abi-includes): Likewise.
22291 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22292 $(abi-$(default-abi)-lib-soname) for soname if defined.
22293 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22294 abi-variants.
22295 * Makefile (installed-stubs): Likewise.
22296 * include/stubs-biarch.h: Removed.
22297 * scripts/lib-names.awk: Only handle one library at a time.
22298 * scripts/soversions.awk: Remove WORDSIZE support.
22299 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22300 entries.
22301 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22302 Removed.
22303 (syscall-list-default-condition): Likewise.
22304 (syscall-list-default-condition): Likewise.
22305 (syscall-list-includes): Likewise.
22306 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22307 syscall-list-* with abi-*. Handle undefined abi-variants.
22308 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22309 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22310 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22311 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22312 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22313 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22314 Removed.
22315 (syscall-list-32-options): Likewise.
22316 (syscall-list-32-condition): Likewise.
22317 (syscall-list-64-options): Likewise.
22318 (syscall-list-64-condition): Likewise.
22319 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22320 macro.
22321 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22322 Renamed to ...
22323 (abi-*): This.
22324 (abi-64-ld-soname): New macro.
22325 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22326 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22327 Renamed to ...
22328 (abi-*): This.
22329 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22330 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22331
4da0431d
JM
223322012-05-30 Joseph Myers <joseph@codesourcery.com>
22333
3a85279c
JM
22334 * sysdeps/unix/sysv/linux/kernel-features.h
22335 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22336 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22337 include <kernel-features.h>.
22338 [!__NR_ftruncate64]: Remove conditional code.
22339 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22340 [__NR_ftruncate64]: Make code unconditional.
22341 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22342 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22343 include <kernel-features.h>.
22344 [!__NR_ftruncate64]: Remove conditional code.
22345 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22346 [__NR_ftruncate64]: Make code unconditional.
22347 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22349 include <kernel-features.h>.
22350 [!__NR_ftruncate64]: Remove conditional code.
22351 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22352 [__NR_ftruncate64]: Make code unconditional.
22353 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22355 include <kernel-features.h>.
22356 [!__NR_ftruncate64]: Remove conditional code.
22357 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22358 [__NR_ftruncate64]: Make code unconditional.
22359 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22360
4da0431d
JM
22361 * configure.in (libc_cv_fpie): Weaken to a compile test using
22362 LIBC_TRY_CC_OPTION.
22363 * configure: Regenerated.
22364
11ef492c
AK
223652012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22366
22367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22371 Refreshed.
22372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22378 Refreshed.
22379
d66ef399
DM
223802012-05-27 David S. Miller <davem@davemloft.net>
22381
22382 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22383 (___Q_zero): New.
22384 (__Q_simulate_exceptions): Return void. Change to simulate
22385 exceptions by writing into the %fsr.
22386 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22387 (__Qp_handle_exceptions): Likewise.
22388 (numbers): Delete.
22389 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22390 __Qp_handle_exceptions.
22391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22392 __Qp_handle_exceptions.
22393 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22394 as unused and give dummy FP_RND_NEAREST initializer.
22395 (FP_INHIBIT_RESULTS): Define.
22396 (___Q_simulate_exceptions): Update declaration.
22397 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22398 formatting.
22399 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22400 as unused and give dummy FP_RND_NEAREST initializer.
22401 (__Qp_handle_exceptions): Update declaration.
22402 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22403 formatting.
22404
04fb54b5
TS
224052012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22406
22407 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22408 the temporary FPU control word.
22409 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22410 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22411 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22412 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22413 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22414 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22415 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22416 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22417 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22418 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22419 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22420
3f99608f
KK
224212012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22422
22423 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22424 fields.
22425
65a4de4e
CLT
224262012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22427
22428 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22429 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22430 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22431 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22432 Likewise.
22433 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22434 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22435 Likewise.
22436
15749d40
UD
224372012-05-27 Ulrich Drepper <drepper@gmail.com>
22438
22439 * po/h.po: Update from translation team.
22440
25dbcb27
AS
224412012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22442
3d3f8e55
AS
22443 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22444
25dbcb27
AS
22445 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22446 handling of denormals.
22447 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22448 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22449 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22450 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22451 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22452 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22453 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22454 Likewise.
22455
7ad47a80 224562012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
22457
22458 [BZ #14152]
22459 * math/libm-test.inc (fma_test): Don't always expect underflow
22460 exception.
22461
9c6ea9fa
SP
224622012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22463
22464 [BZ #12416]
22465 * elf/tst-execstack.c: Include stackinfo.h.
22466 (do_test): Adjust test case to ensure that pthread_getattr_np
22467 behaviour remains the same after marking stack executable.
22468
a8239222
JM
224692012-05-25 Joseph Myers <joseph@codesourcery.com>
22470
22471 * sysdeps/unix/sysv/linux/kernel-features.h
22472 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22473 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22474 kernel-features.h.
22475 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22476 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22477 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22478 kernel-features.h.
22479 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22480 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22481
918b5606
L
224822012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22483
22484 * configure.in: Define the default includes to being none.
22485 * configure: Regenerated.
22486
3a097cc7
RM
224872012-05-25 Roland McGrath <roland@hack.frob.com>
22488
8422c9a5
RM
22489 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22490 * sysdeps/x86_64/setjmp.S: Likewise.
22491 * sysdeps/i386/bsd-setjmp.S: Likewise.
22492 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22493 * sysdeps/i386/setjmp.S: Likewise.
22494 * sysdeps/i386/__longjmp.S: Likewise.
22495 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22496 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22497
3a097cc7
RM
22498 * include/stap-probe.h: New file.
22499 * configure.in: Handle --enable-systemtap.
22500 * configure: Regenerated.
22501 * config.h.in (USE_STAP_PROBE): New #undef.
22502 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22503 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22504 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22505
21708942
JM
225062012-05-25 Joseph Myers <joseph@codesourcery.com>
22507
22508 [BZ #13717]
22509 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22510 to 2.4.0 where earlier.
22511 * sysdeps/unix/sysv/linux/configure: Regenerated.
22512 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22513 <kernel-features.h>.
22514 [__ASSUME_32BITUIDS]: Make code unconditional.
22515 [!__ASSUME_32BITUIDS]: Remove conditional code.
22516 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22517 <kernel-features.h>.
22518 [__ASSUME_32BITUIDS]: Make code unconditional.
22519 [!__ASSUME_32BITUIDS]: Remove conditional code.
22520 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22521 [__ASSUME_32BITUIDS]: Make code unconditional.
22522 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22523 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.c: Do not include
22528 <kernel-features.h>.
22529 [__ASSUME_32BITUIDS]: Make code unconditional.
22530 [!__ASSUME_32BITUIDS]: Remove conditional code.
22531 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22532 <kernel-features.h>.
22533 [__ASSUME_32BITUIDS]: Make code unconditional.
22534 [!__ASSUME_32BITUIDS]: Remove conditional code.
22535 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22536 <kernel-features.h>.
22537 [__ASSUME_32BITUIDS]: Make code unconditional.
22538 [!__ASSUME_32BITUIDS]: Remove conditional code.
22539 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22540 <kernel-features.h>.
22541 [__ASSUME_32BITUIDS]: Make code unconditional.
22542 [!__ASSUME_32BITUIDS]: Remove conditional code.
22543 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22544 <kernel-features.h>.
22545 [__ASSUME_32BITUIDS]: Make code unconditional.
22546 [!__ASSUME_32BITUIDS]: Remove conditional code.
22547 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22548 <kernel-features.h>.
22549 [__ASSUME_32BITUIDS]: Make code unconditional.
22550 [!__ASSUME_32BITUIDS]: Remove conditional code.
22551 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22552 <kernel-features.h>.
22553 [__ASSUME_32BITUIDS]: Make code unconditional.
22554 [!__ASSUME_32BITUIDS]: Remove conditional code.
22555 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22556 <kernel-features.h>.
22557 [__ASSUME_32BITUIDS]: Make code unconditional.
22558 [!__ASSUME_32BITUIDS]: Remove conditional code.
22559 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22560 <kernel-features.h>.
22561 [__ASSUME_32BITUIDS]: Make code unconditional.
22562 [!__ASSUME_32BITUIDS]: Remove conditional code.
22563 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22564 <kernel-features.h>.
22565 [__NR_setresgid] (__setresgid): Do not declare.
22566 [__ASSUME_32BITUIDS]: Make code unconditional.
22567 [!__ASSUME_32BITUIDS]: Remove conditional code.
22568 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22569 <kernel-features.h>.
22570 [__NR_setresuid] (__setresuid): Do not declare.
22571 [__ASSUME_32BITUIDS]: Make code unconditional.
22572 [!__ASSUME_32BITUIDS]: Remove conditional code.
22573 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22574 <kernel-features.h>.
22575 [__ASSUME_32BITUIDS]: Make code unconditional.
22576 [!__ASSUME_32BITUIDS]: Remove conditional code.
22577 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22578 <kernel-features.h>.
22579 [__ASSUME_32BITUIDS]: Make code unconditional.
22580 [!__ASSUME_32BITUIDS]: Remove conditional code.
22581 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22582 <kernel-features.h>.
22583 [__ASSUME_32BITUIDS]: Make code unconditional.
22584 [!__ASSUME_32BITUIDS]: Remove conditional code.
22585 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22586 <kernel-features.h>.
22587 [__ASSUME_32BITUIDS]: Make code unconditional.
22588 [!__ASSUME_32BITUIDS]: Remove conditional code.
22589 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22590 <kernel-features.h>.
22591 [__ASSUME_32BITUIDS]: Make code unconditional.
22592 [!__ASSUME_32BITUIDS]: Remove conditional code.
22593 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22594 <kernel-features.h>.
22595 [__ASSUME_32BITUIDS]: Make code unconditional.
22596 [!__ASSUME_32BITUIDS]: Remove conditional code.
22597 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22598 <kernel-features.h>.
22599 [__ASSUME_32BITUIDS]: Make code unconditional.
22600 [!__ASSUME_32BITUIDS]: Remove conditional code.
22601 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22602 <kernel-features.h>.
22603 [__ASSUME_32BITUIDS]: Make code unconditional.
22604 [!__ASSUME_32BITUIDS]: Remove conditional code.
22605 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22606 <kernel-features.h>.
22607 [__ASSUME_32BITUIDS]: Make code unconditional.
22608 [!__ASSUME_32BITUIDS]: Remove conditional code.
22609 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22610 <kernel-features.h>.
22611 [__ASSUME_32BITUIDS]: Make code unconditional.
22612 [!__ASSUME_32BITUIDS]: Remove conditional code.
22613 * sysdeps/unix/sysv/linux/kernel-features.h
22614 (__ASSUME_SETRESUID_SYSCALL): Remove.
22615 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22616 (__ASSUME_32BITUIDS): Likewise.
22617 (__ASSUME_LDT_WORKS): Likewise.
22618 (__ASSUME_O_DIRECTORY): Likewise.
22619 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22620 architecture but not kernel version.
22621 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22622 (__ASSUME_MMAP2_SYSCALL): Likewise.
22623 (__ASSUME_STAT64_SYSCALL): Likewise.
22624 (__ASSUME_IPC64): Likewise.
22625 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22626 <kernel-features.h>.
22627 [__ASSUME_32BITUIDS]: Make code unconditional.
22628 [!__ASSUME_32BITUIDS]: Remove conditional code.
22629 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22630 <kernel-features.h>.
22631 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22632 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22633 132096]: Remove conditional code.
22634 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22635 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22636 <kernel-features.h>.
22637 [__ASSUME_32BITUIDS]: Make code unconditional.
22638 [!__ASSUME_32BITUIDS]: Remove conditional code.
22639 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22640 <kernel-features.h>.
22641 [__ASSUME_32BITUIDS]: Make code unconditional.
22642 [!__ASSUME_32BITUIDS]: Remove conditional code.
22643 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22644 <kernel-features.h>.
22645 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22646 unconditional.
22647 (__setresgid): Do not declare.
22648 [__ASSUME_32BITUIDS]: Make code unconditional.
22649 [!__ASSUME_32BITUIDS]: Remove conditional code.
22650 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22651 <kernel-features.h>.
22652 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22653 unconditional.
22654 (__setresuid): Do not declare.
22655 [__ASSUME_32BITUIDS]: Make code unconditional.
22656 [!__ASSUME_32BITUIDS]: Remove conditional code.
22657 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22658 <kernel-features.h>.
22659 [__ASSUME_32BITUIDS]: Make code unconditional.
22660 [!__ASSUME_32BITUIDS]: Remove conditional code.
22661 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22662 <kernel-features.h>.
22663 [__ASSUME_32BITUIDS]: Make code unconditional.
22664 [!__ASSUME_32BITUIDS]: Remove conditional code.
22665
a386f1cc
RH
226662012-05-25 Richard Henderson <rth@twiddle.net>
22667
22668 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22669 dl_hwcap to ifunc resolver.
22670 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22671 elf_ifunc_invoke.
22672 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22673 dl_hwcap to ifunc resolver.
22674 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22675
b6550497
JM
226762012-05-24 Joseph Myers <joseph@codesourcery.com>
22677
22678 [BZ #14153]
22679 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22680 for |x| <= 2**-26, not 2**-57.
22681 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22682 exception.
22683
b0bc23a1
JL
226842012-05-24 Jeff Law <law@redhat.com>
22685
22686 * stdio-common/Makefile (tests): Add bug25.
22687 * stdio-common/bug25.c: New test.
22688
347c92e9
L
226892012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22690
22691 [BZ #13576]
22692 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22693 multiple of MALLOC_ALIGNMENT in size.
22694 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22695
6bcc8b3f
JM
226962012-05-24 Joseph Myers <joseph@codesourcery.com>
22697
22698 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22699 Require >= 256.
22700 (FILENAME_MAX): Use macro-int-constant.
22701 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22702 (_IOFBF): Use macro-int-constant.
22703 (_IOLBF): Likewise.
22704 (_IONBF): Likewise.
22705 (SEEK_CUR): Likewise.
22706 (SEEK_END): Likewise.
22707 (SEEK_SET): Likewise.
22708 (TMP_MAX): Likewise.
22709 (EOF): Use macro-int-constant. Require < 0.
22710 (NULL): Use macro-constant. Require == 0.
22711 (stdin): Require type to be FILE *.
22712 (stdout): Likewise.
22713 (stderr): Likewise.
22714 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22715 macro-int-constant.
22716 (EXIT_SUCCESS): Likewise.
22717 (NULL): Use macro-constant. Require == 0.
22718 (RAND_MAX): Use macro-int-constant.
22719 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22720 [C99-based standards] (strtof): Require function.
22721 [C99-based standards] (strtold): Likewise.
22722 [C99-based standards] (strtoll): Likewise.
22723 [C99-based standards] (strtoull): Likewise.
22724 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22725 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22726 [ISO || ISO99 || ISO11] (math.h): Likewise.
22727 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22728 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22729 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22730
d18ea0c5
AS
227312012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22732
22733 [BZ #14132]
56d25bb8
AS
22734 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22735 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22736 * intl/dgettext.c (DCGETTEXT): Likewise.
22737 * intl/gettext.c (DCGETTEXT): Likewise.
22738 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22739 * posix/regex_internal.h (gettext): Likewise.
22740 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22741 Remove declaration.
22742 * include/argz.h (__argz_count_internal)
22743 (__argz_stringify_internal): Remove declaration.
22744 (__argz_count, __argz_stringify): Declare hidden proto.
22745 * intl/dcgettext.c: Remove use of INTDEF.
22746 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22747 * string/argz-stringify.c: Likewise.
22748 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22749 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22750 Declare hidden proto.
d18ea0c5
AS
22751 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22752 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22753 Declare hidden proto.
22754 * include/stdio.h (__asprintf_internal): Don't declare.
22755 (__asprintf): Don't define as macro. Declare hidden proto.
22756 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22757 (__fsetlocking): Declare hidden proto.
22758 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22759 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22760 hidden proto.
22761 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22762 (_IO_setlinebuf): Remove use of INTUSE.
22763 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22764 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22765 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22766 Remove declaration.
22767 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22768 (_IO_do_flush): Remove use of INTUSE.
22769 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22770 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22771 (_IO_adjust_column, _IO_least_wmarker)
22772 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22773 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22774 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22775 (_IO_default_doallocate, _IO_wdefault_doallocate)
22776 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22777 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22778 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22779 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22780 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22781 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22782 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22783 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22784 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22785 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22786 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22787 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22788 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22789 proto.
22790 (_IO_flush_all_internal, _IO_adjust_column_internal)
22791 (_IO_default_uflow_internal, _IO_default_finish_internal)
22792 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22793 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22794 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22795 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22796 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22797 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22798 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22799 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22800 (_IO_file_close_internal, _IO_file_close_it_internal)
22801 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22802 (_IO_file_init_internal, _IO_file_attach_internal)
22803 (_IO_file_fopen_internal, _IO_file_read_internal)
22804 (_IO_file_sync_internal, _IO_file_seek_internal)
22805 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22806 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22807 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22808 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22809 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22810 (_IO_list_all_internal, _IO_link_in_internal)
22811 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22812 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22813 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22814 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22815 (_IO_do_write_internal, _IO_padn_internal)
22816 (_IO_getline_info_internal, _IO_getline_internal)
22817 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22818 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22819 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22820 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22821 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22822 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22823 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22824 with libc_hidden_ver, remove use of INTUSE.
22825 * libio/genops.c: Likewise.
22826 * libio/freopen.c: Likewise.
22827 * libio/freopen64.c: Likewise.
22828 * libio/iofclose.c: Likewise.
22829 * libio/iofdopen.c: Likewise.
22830 * libio/iofflush.c: Likewise.
22831 * libio/iofflush_u.c: Likewise.
22832 * libio/iofgets.c: Likewise.
22833 * libio/iofgets_u.c: Likewise.
22834 * libio/iofopen.c: Likewise.
22835 * libio/iofopncook.c: Likewise.
22836 * libio/iofread.c: Likewise.
22837 * libio/iofread_u.c: Likewise.
22838 * libio/ioftell.c: Likewise.
22839 * libio/iofwrite.c: Likewise.
22840 * libio/iogetline.c: Likewise.
22841 * libio/iogets.c: Likewise.
22842 * libio/iogetwline.c: Likewise.
22843 * libio/iopadn.c: Likewise.
22844 * libio/iopopen.c: Likewise.
22845 * libio/ioseekoff.c: Likewise.
22846 * libio/ioseekpos.c: Likewise.
22847 * libio/iosetbuffer.c: Likewise.
22848 * libio/iosetvbuf.c: Likewise.
22849 * libio/ioungetc.c: Likewise.
22850 * libio/ioungetwc.c: Likewise.
22851 * libio/iovdprintf.c: Likewise.
22852 * libio/iovsprintf.c: Likewise.
22853 * libio/iovsscanf.c: Likewise.
22854 * libio/memstream.c: Likewise.
22855 * libio/obprintf.c: Likewise.
22856 * libio/oldfileops.c: Likewise.
22857 * libio/oldiofclose.c: Likewise.
22858 * libio/oldiofdopen.c: Likewise.
22859 * libio/oldiofopen.c: Likewise.
22860 * libio/oldiopopen.c: Likewise.
22861 * libio/oldstdfiles.c: Likewise.
22862 * libio/putc.c: Likewise.
22863 * libio/setbuf.c: Likewise.
22864 * libio/setlinebuf.c: Likewise.
22865 * libio/stdfiles.c: Likewise.
22866 * libio/strops.c: Likewise.
22867 * libio/vasprintf.c: Likewise.
22868 * libio/vscanf.c: Likewise.
22869 * libio/vsnprintf.c: Likewise.
22870 * libio/vswprintf.c: Likewise.
22871 * libio/wfiledoalloc.c: Likewise.
22872 * libio/wfileops.c: Likewise.
22873 * libio/wgenops.c: Likewise.
22874 * libio/wmemstream.c: Likewise.
22875 * libio/wstrops.c: Likewise.
22876 * libio/__fpurge.c: Likewise.
22877 * libio/__fsetlocking.c: Likewise.
22878 * assert/assert.c: Likewise.
22879 * debug/fgets_chk.c: Likewise.
22880 * debug/fgets_u_chk.c: Likewise.
22881 * debug/fread_chk.c: Likewise.
22882 * debug/fread_u_chk.c: Likewise.
22883 * debug/gets_chk.c: Likewise.
22884 * debug/obprintf_chk.c: Likewise.
22885 * debug/vasprintf_chk.c: Likewise.
22886 * debug/vdprintf_chk.c: Likewise.
22887 * debug/vsnprintf_chk.c: Likewise.
22888 * debug/vsprintf_chk.c: Likewise.
22889 * malloc/mtrace.c: Likewise.
22890 * misc/error.c: Likewise.
22891 * misc/syslog.c: Likewise.
22892 * stdio-common/asprintf.c: Likewise.
22893 * stdio-common/fxprintf.c: Likewise.
22894 * stdio-common/getw.c: Likewise.
22895 * stdio-common/isoc99_fscanf.c: Likewise.
22896 * stdio-common/isoc99_scanf.c: Likewise.
22897 * stdio-common/isoc99_vfscanf.c: Likewise.
22898 * stdio-common/isoc99_vscanf.c: Likewise.
22899 * stdio-common/isoc99_vsscanf.c: Likewise.
22900 * stdio-common/printf-prs.c: Likewise.
22901 * stdio-common/printf_fp.c: Likewise.
22902 * stdio-common/printf_fphex.c: Likewise.
22903 * stdio-common/printf_size.c: Likewise.
22904 * stdio-common/putw.c: Likewise.
22905 * stdio-common/scanf.c: Likewise.
22906 * stdio-common/sprintf.c: Likewise.
22907 * stdio-common/tmpfile.c: Likewise.
22908 * stdio-common/vfprintf.c: Likewise.
22909 * stdio-common/vfscanf.c: Likewise.
22910 * stdlib/strfmon_l.c: Likewise.
22911 * sunrpc/openchild.c: Likewise.
22912 * sunrpc/xdr_stdio.c: Likewise.
22913 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22914 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22915
d6c33fda
RM
229162012-05-24 Roland McGrath <roland@hack.frob.com>
22917
c1487492
RM
22918 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22919
22920 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22921 in the third column, to generate for the shared library an IFUNC
22922 that uses _dl_vdso_vsym.
22923 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22924 * Makeconfig (object-suffixes-noshared): New variable.
22925
22926 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22927 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22928 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22929 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22930
d6c33fda
RM
22931 [BZ #14132]
22932 * include/sys/time.h (__gettimeofday): Remove macro.
22933 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22934 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22935 Remove INTDEF.
22936 (__gettimeofday): Add libc_hidden_def.
22937 (gettimeofday): Add libc_hidden_weak.
22938 * sysdeps/mach/gettimeofday.c: Likewise.
22939 * sysdeps/posix/gettimeofday.c: Likewise.
22940 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22941 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22942 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22943 (__gettimeofday_internal): Remove strong_alias.
22944 (__gettimeofday): Add libc_hidden_def.
22945 (gettimeofday): Add libc_hidden_weak.
22946 * sysdeps/unix/syscalls.list (gettimeofday):
22947 Remove __gettimeofday_internal alias.
22948
b5a2bbe6
L
229492012-05-24 Daniel Jacobowitz <drow@false.org>
22950 H.J. Lu <hongjiu.lu@intel.com>
22951
22952 [BZ #12495]
22953 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22954 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22955 (largebin_index_32_big): New.
22956 (largebin_index): Use it for 16-byte alignment.
22957 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22958 correction with front_misalign.
22959
cfba4fda
L
229602012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22961
7f907421
L
22962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22964 Likewise.
22965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22966 Likewise.
22967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22968 Likewise.
22969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22970 Likewise.
22971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22972 Likewise.
22973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22974 Likewise.
22975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22976 Likewise.
22977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22978 Likewise.
22979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22980 Likewise.
22981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22982 Likewise.
22983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22984 Likewise.
22985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22986 Likewise.
22987
cfba4fda
L
22988 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22989 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22990
80bad0cc
JM
229912012-05-24 Joseph Myers <joseph@codesourcery.com>
22992
7a25eb06
JM
22993 [BZ #10846]
22994 [BZ #14036]
22995 * math/libm-test.inc (exp_test): Add test from bug 14036.
22996 (pow_test): Add test from bug 10846.
22997
795405f9
JM
22998 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22999 and other flags.
23000 (special_function): Do not include flags in test name.
23001 (parse_args): Likewise.
23002 * sysdeps/i386/fpu/libm-test-ulps: Update.
23003 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23004 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23005 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23007
80bad0cc
JM
23008 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23009 exceptions.
23010 * math/libm-test.inc ("Philosophy"): Update comment about
23011 exception testing.
23012 (UNDERFLOW_EXCEPTION): New macro.
23013 (UNDERFLOW_EXCEPTION_OK): Likewise.
23014 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23015 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23016 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23017 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23018 (INVALID_EXCEPTION_OK): Update value.
23019 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23020 (OVERFLOW_EXCEPTION_OK): Likewise.
23021 (IGNORE_ZERO_INF_SIGN): Likewise.
23022 (test_exceptions): Handle underflow exceptions.
23023 (acos_test): Update for underflow exception expectations.
23024 (cexp_test): Likewise.
23025 (clog_test): Likewise.
23026 (clog10_test): Likewise.
23027 (csqrt_test): Likewise.
23028 (ctan_test): Likewise.
23029 (ctanh_test): Likewise.
23030 (exp_test): Likewise.
23031 (exp10_test): Likewise.
23032 (exp2_test): Likewise.
23033 (expm1_test): Likewise.
23034 (fma_test): Likewise.
23035 (j0_test): Likewise.
23036 (jn_test): Likewise.
23037 (nexttoward_test): Likewise.
23038 (pow_test): Likewise.
23039 (scalbn_test): Likewise.
23040 (scalbln_test): Likewise.
23041 (tan_test): Likewise.
23042 (y1_test): Likewise.
23043 * sysdeps/i386/fpu/libm-test-ulps: Update.
23044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23045
9e0e3d0b
DM
230462012-05-23 David S. Miller <davem@davemloft.net>
23047
23048 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23049 (__libc_sigaction): Remove unused local variables.
23050
ccd0a08f
L
230512012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23052
23053 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23054
62bdf9a6
PE
230552012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23056
f8591f80
PE
23057 mktime: avoid signed integer overflow
23058 * time/mktime.c (__mktime_internal): Do not mishandle the case
23059 where diff == INT_MIN.
23060
94c7d826
PE
23061 mktime: simplify computation of average
23062 * time/mktime.c (ranged_convert): Use new time_t_avg function
23063 instead of rolling our own (probably-slower) code.
23064
ce73d683
PE
23065 mktime: do not assume signed right shift propagates sign bit
23066 * time/mktime.c (isdst_differ): New static function.
23067 (__mktime_internal): No need to normalize tm_isdst now.
23068 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23069 tm_isdst values.
23070
72a22e59
PE
23071 mktime: merge another wrapv change from gnulib
23072 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23073 from some compilers.
23074
68605433
PE
23075 mktime: remove incorrect attempt at unusual arithmetics
23076 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23077 The code didn't really work on such machines anyway.
23078 (TYPE_MINIMUM): Assume two's complement.
23079 (twos_complement_arithmetic): Verify that long_int and time_t
23080 are two's complement (or unsigned, in the latter case).
23081
03cf7fe3
PE
23082 mktime: check signed shifts on long_int and time_t, too
23083 * time/mktime.c (SHR): Check that shifts work as desired
23084 on the types long_int and time_t too, as SHR is used on
23085 such types.
23086
f04dfbc2
PE
23087 mktime: do not assume 'long' is wide enough
23088 * time/mktime.c (verify): Move decl up.
23089 (long_int): New type.
23090 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23091 to remove assumption in the code that 'long' is wide enough to
23092 store year values. This assumption is not true on x32 and on
23093 some non-glibc platforms.
23094
62bdf9a6
PE
23095 mktime: merge wrapv change from gnulib
23096 * time/mktime.c (WRAPV): New macro.
23097 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23098 (guess_time_tm, __mktime_internal): Do not assume that signed
23099 integer overflow wraps around; modern compilers generate code
23100 where this assumption is no longer valid.
23101
5e292e4f
L
231022012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23103
23104 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23105 Replace "jmp L(pseudo_end)" with "ret".
23106 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23107 Likewise.
23108
8caf8c87
AJ
231092012-05-23 Andreas Jaeger <aj@suse.de>
23110
23111 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23112 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23113
1a09dc56
AJ
231142012-05-23 Andreas Jaeger <aj@suse.de>
23115 Maximilian Attems <max@stro.at>
23116
23117 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23118 New macros.
23119
1c87aba0
L
231202012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23121
23122 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23123 code so that pseudo_end is just ret and the stack pointer is
23124 correct also for static library in error case.
23125
40e45bd5
JM
231262012-05-23 Joseph Myers <joseph@codesourcery.com>
23127
c2670533
JM
23128 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23129 move to syscalls.list.
23130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23134
40e45bd5
JM
23135 * manual/install.texi (Running make install): Do not mention Linux
23136 kernel version for which pt_chown is not needed.
23137 (Linux): Do not mention problems with nscd with 2.0 kernels.
23138 * INSTALL: Regenerated.
23139
be08eda5
AJ
231402012-05-23 Andreas Jaeger <aj@suse.de>
23141
23142 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23143 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23144 macro.
23145 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23146 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23147 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23148 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23149 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23150 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23151 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23152 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23153 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23154 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23155 * sysdeps/unix/sysv/linux/bits/in.h
23156 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23157
a6a056bb
RM
231582012-05-22 Roland McGrath <roland@hack.frob.com>
23159
23160 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23161 (PREPARE_VERSION): Just use assert instead, it will be elided
23162 under [NDEBUG] anyway.
23163
c9009328
L
231642012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23165
23166 * sysdeps/unix/sysv/linux/Makefile: Include
23167 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 23168 (sysdep_routines): Remove sysctl.
c9009328
L
23169 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23170 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23171 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23172 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23173 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23174
73338355
AJ
231752012-05-22 Andreas Jaeger <aj@suse.de>
23176
23177 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23178 that pseudo_end is just ret and the stack pointer is correct also
23179 for static library in error case.
23180
d44638b0
PP
231812012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23182
23183 [BZ #14122]
23184 * nss/nsswitch.c (defconfig_entries): New variable.
23185 (__nss_database_lookup): Don't leak defconfig entries.
23186 (nss_parse_service_list): Don't leak on error paths.
23187 (free_database_entries): New function.
23188 (free_defconfig): New function.
23189 (free_mem): Move common code to free_database_entries.
23190
31a39bd8
L
231912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23192
da0331a8
L
23193 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23194 Add arch_prctl.
23195 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23196
31a39bd8
L
23197 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23198 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23199 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23200 New macro.
23201 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23202 (INTERNAL_SYSCALL_TYPES): Likewise.
23203 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23204 (LOAD_REGS_TYPES_[1-6]): Likewise.
23205 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23206 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23207
45470df3
AZ
232082012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23209
23210 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23211 copysignl for GLIBC_2_0.
23212 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23213 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23214 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23215 logbl for GLIBC_2_0.
23216 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23217 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23218
98a61bcb
L
232192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23220
a4f6e481
L
23221 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23222 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23223
f63d5db6
L
23224 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23225 Use "neg %eax".
23226
98a61bcb
L
23227 * time/mktime.c: Update copyright years.
23228
95770f14
PE
232292012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23230
6226efbd
PE
23231 mktime: merge comment-quoting-style change from gnulib
23232 * time/mktime.c: Quote 'like this' in comments.
23233 The GNU coding standards suggest that we no longer quote `like this',
23234 as "`" and "'" are typically rendered asymmetrically nowadays.
23235 The typical gnulib style is to quote 'like this' when quoting
23236 code, and "like this" when quoting English.
23237
b99e4f78
PE
23238 * time/mktime.c (compile-command): Add "-I.".
23239
643e01e6
PE
23240 mktime: merge mktime-internal.h change from gnulib
23241 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23242
2554247d
PE
23243 mktime: merge time_r change from gnulib
23244 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23245
826dd0ab
PE
23246 mktime: merge DEBUG change from gnulib
23247 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23248 case system <time.h> has a #define.
23249
bd83aabe
PE
23250 mktime: merge <sys/types.h> change from gnulib
23251 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23252 since <time.t> is now guaranteed to define time_t.
23253
95770f14
PE
23254 mktime: merge HAVE_CONFIG_H change from gnulib
23255 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23256
5e1a27a9
L
232572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23258
0e44a77e
L
23259 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23260 Use "neg %eax".
23261
5e1a27a9
L
23262 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23263 __rlim_t cast.
23264 (struct rusage): Use anonymous union to pad each field to
23265 __syscall_slong_t.
23266
46259bec
DM
232672012-05-21 David S. Miller <davem@davemloft.net>
23268
23269 * Makefules (o-iterator): Remove .s cases.
23270 (compile-command.s): Delete.
23271 (COMPILE.s): Delete.
23272 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23273
59f0c22e
JM
232742012-05-21 Joseph Myers <joseph@codesourcery.com>
23275
23276 * configure.in (libc_cv_predef_stack_protector): Only consider
23277 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23278 * configure: Regenerated.
23279
20c07380
L
232802012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23281
bbb3154b
L
23282 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23283 New macro. Use R*LP on int and pointer.
23284 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
23285 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23286 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
23287 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23288
20c07380
L
23289 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23290 [__WORDSIZE_TIME64_COMPAT32] instead of
23291 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23292 (struct utmp): Likewise.
23293 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23294 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23295 Renamed to ...
23296 (__WORDSIZE_TIME64_COMPAT32): This.
23297 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23298 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23299 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23300 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23301 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23302 (__WORDSIZE_TIME64_COMPAT32): New macro.
23303
d8d1017e
AJ
233042012-05-21 Andreas Jaeger <aj@suse.de>
23305
23306 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23307 only if [SHARED]. Add prototype for __wcschr_ia32.
23308
6c7fb145
RM
233092012-05-21 Roland McGrath <roland@hack.frob.com>
23310
23311 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23312 of %rbp unmolested in the jmp_buf while mangling the low bits.
23313 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23314 unmolested high bits of %rbp while demangling the low bits.
23315 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23316
66274218
AJ
233172012-05-21 Andreas Jaeger <aj@suse.de>
23318
07c58f8f
AJ
23319 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23320 * sunrpc/svc_simple.c: Use it for registerrpc.
23321 * sunrpc/xcrypt.c: Use it for passwd2des.
23322
66274218
AJ
23323 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23324
61f65140
L
233252012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23326
23327 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23328 Don't define if [__SYSCALL_WORDSIZE != 32].
23329 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23330 New macro.
23331
5fefb436
AJ
233322012-05-21 Bruno Haible <bruno@clisp.org>
23333 Andreas Jaeger <aj@suse.de>
23334
23335 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23336 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23337 inptr and inend for must_buffer_ch.
23338 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23339 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23340 * stdio-common/Makefile (tests): Remove bug15.
23341 (bug15-ENV): Remove macro.
23342 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23343 anymore.
23344
d8e272ab
AJ
233452012-05-19 Andreas Jaeger <aj@suse.de>
23346 Roland McGrath <roland@hack.frob.com>
23347
23348 * manual/contrib.texi: Completely rewritten. It contains now an
23349 alphabetical list of contributors and their contributions.
23350
4a56a162
RH
233512012-05-21 Richard Henderson <rth@twiddle.net>
23352
23353 * misc/getauxval.c (__getauxval): Use unsigned long int.
23354 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23355 (getauxval): Use unsigned long int.
23356
d024d23c
L
233572012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23358
23359 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23360
cbc00a03
RM
233612012-05-21 Roland McGrath <roland@hack.frob.com>
23362
23363 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23364 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23365 __alignof__ (long double).
23366
478143fa
AZ
233672012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23368
23369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23370
c7683a6d
RH
233712012-05-20 Richard Henderson <rth@twiddle.net>
23372
23373 * misc/getauxval.c: New file.
23374 * misc/sys/auxv.h: New file.
23375 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23376 (routines): Add getauxval.
23377 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23378 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23379 * elf/dl-sysdep.c (_dl_auxv): Remove.
23380 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23381 * elf/dl-support.c (_dl_auxv): New variable.
23382 (_dl_aux_init): Initialize it.
23383 * manual/startup.texi (Auxiliary Vector): New node.
23384 * sysdeps/generic/bits/hwcap.h: New file.
23385 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23386 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23387 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23388 * sysdeps/sparc/sysdep.h: ... here. Include it.
23389 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23390 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
23391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23392 Update.
c7683a6d
RH
23393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23396 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23401
a6f1845d
AZ
234022012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23403
23404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23405
cbcbe830
DM
234062012-05-19 David S. Miller <davem@davemloft.net>
23407
23408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23409
e0b16cc2
JM
234102012-05-19 Joseph Myers <joseph@codesourcery.com>
23411
23412 [BZ #14123]
23413 * math/s_ccosh.c: Include <float.h>
23414 (__ccosh): Avoid internal overflow calculating sinh and cosh
23415 values before multiplying by sin and cos values.
23416 * math/s_ccoshf.c: Likewise.
23417 * math/s_ccoshl.c: Likewise.
23418 * math/s_csin.c: Likewise.
23419 * math/s_csinf.c: Likewise.
23420 * math/s_csinl.c: Likewise.
23421 * math/s_csinh.c: Likewise.
23422 * math/s_csinhf.c: Likewise.
23423 * math/s_csinhl.c: Likewise.
23424 * math/libm-test.inc (ccos_test): Add more tests.
23425 (ccosh_test): Likewise.
23426 (csin_test): Likewise.
23427 (csinh_test): Likewise.
23428 * sysdeps/i386/fpu/libm-test-ulps: Update.
23429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23430
6ad13e08
L
234312012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23432
f66f0ce8
L
23433 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23434 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23435
6ad13e08
L
23436 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23437
b1d072a7
JM
234382012-05-19 Joseph Myers <joseph@codesourcery.com>
23439
23440 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23441 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23442 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23443 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23444 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23445 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23446 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23447 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23448 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23449 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23450 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23451 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23452 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23453 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23454 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23455 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23456 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23457 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23458 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23459 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23460 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23461 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23462 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23463 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23464 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23465 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23466 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23467 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23468 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23469 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23470 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23471
9eae47cb
AJ
234722012-05-18 Andreas Jaeger <aj@suse.de>
23473
23474 * csu/.gitignore: Delete.
23475
bb07f69f
L
234762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23477
23478 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23479 (timex): Use __syscall_slong_t.
23480
e6bdb741
AJ
234812012-05-18 Andreas Jaeger <aj@suse.de>
23482 Carlos O'Donell <carlos_odonell@mentor.com>
23483
23484 * manual/install.texi (Configuring and compiling): Update
23485 description about files modified in the source directory.
d6c33fda 23486 * INSTALL: Regenerated.
e6bdb741 23487
1b74487e
L
234882012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23489
23490 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23491 value. Use "or" to set return value to -1.
23492 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23493 negate return value.
23494
a88b64b9
TMQMF
234952012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23496
23497 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23498 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23499 failure if the compiler has Graphite support disabled.
23500 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23501 Likewise.
23502 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23503 CFLAGS-memmove.c): Likewise.
23504 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23505 Likewise.
23506
3707636e
L
235072012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23508
610b8622
L
23509 * sysdeps/x86_64/x32/_itoa.h: New file.
23510
7cd195df
L
23511 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23512 getdents system call only if kernel and user dirents have the
23513 same d_ino and d_off.
23514
94b07d20
L
23515 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23516 LLONG_MAX != LONG_MAX.
23517 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23518 (_fitoa_word): Likewise.
23519
18298070
L
23520 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23521 years.
23522 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23523 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23524 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23525
553c7ea4
L
23526 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23527 include <bits/wordsize.h>. Check __x86_64__ instead of
23528 __WORDSIZE.
23529 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23530 if __x86_64__ is defined. Use anonymous union on fpstate.
23531
3707636e
L
23532 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23533 anonymous union.
23534
b53ef01a
AS
235352012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23536
37fb1dc0
AS
23537 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23538 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23539 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23540 Refer to _rtld_local_ro instead of _rtld_global_ro.
23541 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23542 Likewise.
23543 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23544 Likewise.
23545 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23546 Likewise.
23547 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23548 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23549 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23550
b53ef01a
AS
23551 * sysdeps/powerpc/powerpc32/dl-machine.c
23552 (__elf_machine_runtime_setup) [PROF]: Don't reference
23553 _dl_prof_resolve.
23554
7a185db2
AJ
235552012-05-18 Andreas Jaeger <aj@suse.de>
23556
23557 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23558 function only available for GCCs before 3.4 since GCC 3.4
23559 introduced a builtin.
23560 (lrint): Likewise.
23561 (llrintf): Likewise.
23562 (llrint): Likewise.
23563 (fmaxf): Likewise.
23564 (fmax): Likewise.
23565 (fminf): Likewise.
23566 (fmin): Likewise.
23567 (rint): Likewise.
23568 (rintf): Likewise.
23569 (nearbyint): Likewise.
23570 (nearbyintf): Likewise.
23571 (ceil): Likewise.
23572 (ceilf): Likewise.
23573 (floor): Likewise.
23574 (floorf): Likewise.
23575
3e5aef87
L
235762012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23577
428bd707
L
23578 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23579 on both fields and cast pointer to __syscall_ulong_t.
23580
3e5aef87
L
23581 * bits/types.h (__fsword_t): New type.
23582 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23583 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23584 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23585 (__FSWORD_T_TYPE): Likewise.
23586 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23587 (__FSWORD_T_TYPE): Likewise.
23588 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23589 (__FSWORD_T_TYPE): Likewise.
23590 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23591 (__FSWORD_T_TYPE): Likewise.
23592 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23593 __SWORD_TYPE with __fsword_t.
23594 (statfs64): Likewise.
23595
1ba7c3dc
DM
235962012-05-17 David S. Miller <davem@davemloft.net>
23597
23598 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23599
59910343
AJ
236002012-05-17 Andreas Jaeger <aj@suse.de>
23601
23602 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23603 warning.
23604
2e4c1e9e
L
236052012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23606
23607 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23608
de7f5ce7
AJ
236092012-05-17 Andreas Jaeger <aj@suse.de>
23610
23611 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23612 when it is used.
23613
286abc3d
CM
236142012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23615
23616 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23617
477cc68e
L
236182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23619
23620 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23621 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23622
1a0994f5
CD
236232012-05-17 Andreas Jaeger <aj@suse.de>
23624 Carlos O'Donell <carlos_odonell@mentor.com>
23625
23626 [BZ #14059]
23627 * sysdeps/x86_64/multiarch/init-arch.h
23628 (bit_YMM_Usable): Rename to...
23629 (bit_AVX_Usable): ... this.
23630 (bit_FMA4_Usable): New macro.
23631 (bit_XMM_state): New macro.
23632 (bit_YMM_state): New macro.
23633 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23634 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23635 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23636 (CPUID_OSXSAVE): New macro.
23637 (CPUID_AVX): New macro.
23638 (CPUID_FMA4): New macro.
23639 (index_YMM_Usable): Rename to...
23640 (index_AVX_Usable): ... this.
23641 (HAS_AVX): Use HAS_ARCH_FEATURE.
23642 (HAS_FMA4): Likewise.
23643 (HAS_YMM_USABLE): Remove.
23644 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23645 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23646 are present.
23647 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23648 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23649 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23650 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23651 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23652
0af797de
CM
236532012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23654
23655 * math/libm-test.c: Support platforms without multiple rounding modes.
23656 * math/bug-nextafter.c: Support platforms without FP exceptions.
23657 * math/bug-nexttoward.c: Likewise.
23658 * math/test-fenv.c: Likewise.
23659 * math/test-misc.c: Likewise.
23660 * stdlib/bug-getcontext.c: Likewise.
23661
e39745ff
AJ
236622012-05-17 Andreas Jaeger <aj@suse.de>
23663
23664 * manual/examples/search.c (critter_cmp): Change signature to
23665 avoid warnings.
23666 * manual/string.texi (Collation Functions): Likewise.
23667
48970aba
L
236682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23669
23670 * bits/types.h: Fold copyright years.
23671 * bits/typesizes.h: Likewise.
23672 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23673 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23674 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23675 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23676 * time/time.h: Likewise.
23677
bedee953
PP
236782012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23679
23680 [BZ #208]
23681 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23682 in instead of returning them. Return void.
23683 (__libc_mallinfo): Accumulate over all arenas.
23684 (__malloc_stats): Adjust for change in int_mallinfo interface.
23685
61653dfb
RM
236862012-05-16 Roland McGrath <roland@hack.frob.com>
23687
30b99d79
RM
23688 [BZ #10375]
23689 * configure.in (NM): Add AC_CHECK_TOOL for it.
23690 (libc_extra_cflags): New substituted variable.
23691 Check for -fstack-protector being used implicitly.
23692 * configure: Regenerated.
23693 * config.make.in (config-extra-cflags): New variable,
23694 gets @libc_extra_cflags@.
23695 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23696
61653dfb
RM
23697 [BZ #10375]
23698 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23699 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23700 * configure: Regenerated.
23701 * config.make.in (CPPUNDEFS): New substituted variable.
23702 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23703 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23704 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23705
661768bb
L
237062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23707
23708 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23709 (mq_attr): Use __syscall_slong_t.
23710
d4261567
L
237112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23712
23713 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23714 Check __x86_64__ instead of __WORDSIZE.
23715 (_STAT_VER_LINUX): Likewise.
23716 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23717 __syscall_ulong_t and __syscall_slong_t.
23718 (stat64): Likewise.
23719
cf3ff365
L
237202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23721
23722 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23723
76cf3e4d
L
237242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23725
23726 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23727
a637753a
L
237282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23729
23730 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23731 __syscall_ulong_t.
23732
d5e05119
L
23733 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23734 include <bits/wordsize.h>. Check __x86_64__ instead of
23735 __WORDSIZE.
23736 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23737 defined.
23738 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23739
f62ee380
L
23740 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23741 include <bits/wordsize.h>. Check __x86_64__ instead of
23742 __WORDSIZE.
23743 (user_regs_struct): Use "__extension__ unsigned long long"
23744 instead of "unsigned long" if __x86_64__ is defined.
23745 (user): Likewise. Pad after pointer field if __ILP32__ is
23746 defined.
23747
4e124ced
JM
237482012-05-16 Joseph Myers <joseph@codesourcery.com>
23749
6a3951a0
JM
23750 * configure.in (makeinfo): Require version 4.5 or later. Allow
23751 versions 5 to 9.
23752 * configure: Regenerated.
23753 * manual/install.texi (texinfo): Increase version requirement to
23754 4.5 or later.
23755 * INSTALL: Regenerated.
23756
4e124ced
JM
23757 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23758
953ca31a
L
237592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23760
23761 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23762
617aca05
L
23763 * sysdeps/x86_64/x32/ffs.c: New file.
23764
5762f7ae
L
23765 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23766 __syscall_ulong_t.
23767 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23768 defined. Use __syscall_ulong_t.
23769 (shminfo): Use __syscall_ulong_t.
23770 (shm_info): Likewise.
23771
a26b6856
L
23772 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23773 __syscall_ulong_t.
23774
cb2b9ef7
L
23775 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23776 <bits/wordsize.h>.
23777 (msgqnum_t): Use __syscall_ulong_t.
23778 (msglen_t): Likewise.
23779 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23780 __syscall_ulong_t.
23781
34683bb0
L
23782 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23783 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23784
84a68786
L
23785 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23786
48baa5f1
L
23787 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23788 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23789
180be88b
L
23790 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23791 __syscall_slong_t.
23792
5e90c8ad
L
23793 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23794 include <bits/wordsize.h>. Check __x86_64__ instead of
23795 __WORDSIZE.
23796
23dfb58b
L
23797 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23798 "unsigned long long int" if __x86_64__ is defined.
23799 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23800
ce5d54b0
L
23801 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23802 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23803 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23804
13dc9eac
L
23805 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23806 <stdint.h>.
23807 (GET_PC): Cast to uintptr_t first.
23808 (GET_FRAME): Likewise.
23809 (GET_STACK): Likewise.
23810
a7895d15
L
23811 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23812 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23813 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23814 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23815 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23816 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23817 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23818 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23819 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23820 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23821 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23822 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23823 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23824 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23825 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23826 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23827 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23828 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23829 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23830 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23831 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23832 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23833 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23834 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23835 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23836 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23837 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23838 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23839 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23840
656416c9
AS
238412012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23842
5bd66283
AS
23843 * Makerules (+depfiles): Also collect depfiles from .oS in
23844 $(extra-objs).
23845 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23846 .oS, $(libnldbl-routines)).
23847
656416c9
AS
23848 * Makerules (native-compile-mkdep-flags): Define.
23849 * sunrpc/Makefile (extra-objs): Add $(addprefix
23850 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23851 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23852 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23853 calling $(make-target-directory).
23854
a46f2169
L
238552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23856
23857 * bits/types.h (__snseconds_t): Removed.
23858 * time/time.h (struct timespec): Replace __snseconds_t with
23859 __syscall_slong_t.
23860 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23861 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23862 Likewise.
23863 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23864 (__SNSECONDS_T_TYPE): Likewise.
23865 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23866 (__SNSECONDS_T_TYPE): Likewise.
23867 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23868 (__SNSECONDS_T_TYPE): Likewise.
23869
6af6528b
L
238702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23871
23872 * sysdeps/mach/hurd/bits/typesizes.h
23873 (__SYSCALL_SLONG_TYPE): New macro.
23874 (__SYSCALL_ULONG_TYPE): Likewise.
23875
de986b56
L
238762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23877
23878 * bits/types.h (__syscall_slong_t): New type.
23879 (__syscall_ulong_t): Likewise.
23880
23881 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23882 (__SYSCALL_ULONG_TYPE): Likewise.
23883 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23884 (__SYSCALL_SLONG_TYPE): Likewise.
23885 (__SYSCALL_ULONG_TYPE): Likewise.
23886 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23887 (__SYSCALL_SLONG_TYPE): Likewise.
23888 (__SYSCALL_ULONG_TYPE): Likewise.
23889 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23890 (__SYSCALL_SLONG_TYPE): Likewise.
23891 (__SYSCALL_ULONG_TYPE): Likewise.
23892
85736dc7
L
238932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23894
23895 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23896 Add sigaltstack-offsets.sym.
23897 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23898 <sigaltstack-offsets.h>.
23899 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23900 longjmp_msg pointer.
23901 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23902 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23903 signal stack.
23904 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23905
cc03b296
JM
239062012-05-15 Joseph Myers <joseph@codesourcery.com>
23907
a9538892
JM
23908 * elf/stackguard-macros.h: Remove file.
23909 * sysdeps/generic/stackguard-macros.h: New file.
23910 * sysdeps/i386/stackguard-macros.h: Likewise.
23911 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23912 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23913 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23914 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23915 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23916 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23917 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23918 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23919 <elf/stackguard-macros.h>.
23920
cc03b296
JM
23921 [BZ #14109]
23922 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23923 __aligned__ in attribute.
23924 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23925 (gregset_t): Likewise.
23926
93171016
L
239272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23928
23929 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23930 * sysdeps/x86_64/64/Implies-after: Here. New file.
23931 * sysdeps/x86_64/x32/Implies-after: New file.
23932
d86813a0
L
239332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23934
23935 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23936 and access return value for _dl_profile_fixup. Use R10_LP to
23937 load frame size.
23938
2953ec75
L
239392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23940
23941 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23942
3b550e9e
L
239432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23944
23945 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23946 * sysdeps/x86_64/x32/sysdep.h: New file.
23947
eda41706
L
239482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23949
23950 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23951 * sysdeps/x86_64/setjmp.S: Likewise.
23952
9ea01d93
AZ
239532012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23954
23955 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23956 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23957 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23958 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23959 remove unused global constant.
23960
02a91938
CM
239612012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23962
23963 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23964 include of <not-cancel.h>.
23965
6540185f
RM
239662012-05-15 Roland McGrath <roland@hack.frob.com>
23967
23968 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23969
509072a0
AJ
239702012-05-15 Jeff Law <law@redhat.com>
23971 Andreas Jaeger <aj@suse.de>
23972
23973 [BZ #13594]
23974 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23975 out from...
23976 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23977 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23978 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23979 code changing __hst_map_handle.map.
23980
ba75122d
RM
239812012-05-15 Roland McGrath <roland@hack.frob.com>
23982
23983 * configure.in (sysnames): Look for Implies-before and Implies-after
23984 files.
23985 * configure: Regenerated.
23986
890d8bd8
L
239872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23988
23989 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23990 8-byte data alignment with LP_SIZE alignment.
23991
f6ee6623
L
239922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23993
23994 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23995 into R10_LP.
23996
ea2626f6
L
239972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23998
23999 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24000
085f715e
L
240012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24002
24003 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24004 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24005 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24006 Likewise.
24007 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24008
be8498fc
L
240092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24010
24011 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24012 (stackinfo_sub_sp): Likewise.
24013
70bc83b9
L
240142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24015
24016 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24017 RAX_LP.
24018
9bc0b730
L
240192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24020
24021 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24022 into R*_LP.
24023
6d2850e7
L
240242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24025
24026 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24027 sizes into R*_LP.
24028
3cb84561
L
240292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24030
24031 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24032
54e2ed81
L
240332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24034
24035 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24036 into R11_LP and load __x86_64_shared_cache_size_half into
24037 R8_LP.
24038
8a17f349
L
240392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24040
24041 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24042 R8_LP.
24043
777b1eea
AZ
240442012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24045
24046 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24047 logb for POWER7.
24048 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24049 logbf for POWER7.
24050 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24051 logbl for POWER7.
24052 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24053 powerpc32/power7/fpu/s_logb.c via #include.
24054 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24055 powerpc32/power7/fpu/s_logbf.c via #include.
24056 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24057 powerpc32/power7/fpu/s_logbl.c via #include.
24058
d20d4ac2
JM
240592012-05-15 Joseph Myers <joseph@codesourcery.com>
24060
24061 * README.libm: Remove file.
24062
6cdef1ab
L
240632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24064
24065 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24066 count for x32. Use R*_LP and omit operand-size suffix.
24067
0b254d8f
L
240682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24069
24070 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24071 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24072 * sysdeps/x86_64/x32/shlib-versions: New file.
24073
ceb809dc
RM
240742012-05-14 Roland McGrath <roland@hack.frob.com>
24075
24076 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24077 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24078 Use _dl_fatal_printf instead.
24079
37f1abd4
JM
240802012-05-14 Joseph Myers <joseph@codesourcery.com>
24081
24082 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24083 set if not set by the user. Do not allow for being unset.
24084 * sysdeps/unix/sysv/linux/configure: Regenerated.
24085
11de3a33
L
240862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24087
24088 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24089 the `q' suffix from lea and replace .quad with ASM_ADDR.
24090
e02f153a
L
240912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24092
24093 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24094 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24095 instead of $17.
24096 (PTR_DEMANGLE): Likewise.
24097
520ae0fd
L
240982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24099
24100 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24101 (LP_OP): Likewise.
24102 (ASM_ADDR): Likewise.
24103 (RAX_LP): Likewise.
24104 (RBP_LP): Likewise.
24105 (RBX_LP): Likewise.
24106 (RCX_LP): Likewise.
24107 (RDI_LP): Likewise.
24108 (RSI_LP): Likewise.
24109 (RSP_LP): Likewise.
24110 (R8_LP): Likewise.
24111 (R9_LP): Likewise.
24112 (R10_LP): Likewise.
24113 (R10_LP): Likewise.
24114 (R11_LP): Likewise.
24115 (R12_LP): Likewise.
24116 (R13_LP): Likewise.
24117 (R14_LP): Likewise.
24118 (R15_LP): Likewise.
24119
b985be81
L
241202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24121
24122 * sysdeps/x86_64/x32/dl-machine.h: New file.
24123
6a4888ff
AJ
241242012-05-14 Andreas Jaeger <aj@suse.de>
24125
24126 * manual/Makefile (subdir): Remove export of subdir.
24127 (all): Remove target.
24128 (.PHONY): Remove all from list.
24129 (mkinstalldirs): Remove.
24130 (.PHONY): Remove installdirs from list.
24131 ($(inst_infodir)/libc.info): Use make-target-directory.
24132 (installdirs): Remove.
24133 (subdir_%): Remove.
24134 (glibc-targets): Remove.
24135 (lib): Remove.
24136 (stubs): Remove.
24137 ($(objpfx)stubs ../po/manual.pot): Remove.
24138 ($(objpfx)stamp%): Remove.
24139 (make-target-directory): Remove.
24140 (subdir_install): Remove.
24141 (routines): Remove.
24142 (aux): Remove.
24143 (sources): Remove.
24144 (objects): Remove.
24145 (headers): Remove.
24146
24147 [BZ #13750]
24148 * manual/.gitignore: Remove, it's not needed anymore.
24149 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24150 all files in it.
24151 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24152 directory.
24153 (texis): Renamed to $(objpfx)texis.
24154 (texis-path): New, contains path to generated files.
24155 (chapters.%): Use texis-path for complete path, add extra argument
24156 libc-texinfo.sh.
24157 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24158 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24159 (summary,texi, stamp-summary): Use complete path of
24160 files. Generate files in build dir.
24161 (dir-add.texi): Build in build dir.
24162 (libm-err.texi,stamp-libm-err): Likewise.
24163 (version.texi, stamp-version): Likewise.
24164 (.%c.texi): Likewise.
24165 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24166 (mostlyclean): Remove target.
24167 (realclean): Remove target.
24168 (generated): Add new variable with contents from mostlyclean and
24169 realclean, remove entries duplicated in common-mostlyclean, add
24170 stamp-libm-err and stamp-version.
24171 (generated-dirs): Add libc directory.
24172 ($(inst_infodir)/libc.info): Install files from build dir.
24173
24174 * manual/install.texi (Configuring and compiling): Adjust since
24175 the info files are not part of the tar ball anymore.
24176
7ac77294
AJ
241772012-05-14 Andreas Jaeger <aj@suse.de>
24178
24179 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24180 variable.
24181
ffb7875d
JM
241822012-05-14 Joseph Myers <joseph@codesourcery.com>
24183
24184 [BZ #13717]
24185 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24186 to 2.2.0 where earlier.
24187 * sysdeps/unix/sysv/linux/configure: Regenerated.
24188 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24189 Remove conditional code.
24190 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24191 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24192 Remove conditional code.
24193 [!__NR_lchown]: Likewise.
24194 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24195 [__NR_lchown]: Likewise.
24196 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24197 comment referencing __ASSUME_LCHOWN_SYSCALL.
24198 * sysdeps/unix/sysv/linux/i386/sigaction.c
24199 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24200 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24201 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24202 Remove conditional code.
24203 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24204 (__protocol_available): Remove #if 0 code.
24205 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24206 conditional code.
24207 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24208 * sysdeps/unix/sysv/linux/kernel-features.h
24209 (__ASSUME_GETCWD_SYSCALL): Don't define.
24210 (__ASSUME_REALTIME_SIGNALS): Likewise.
24211 (__ASSUME_PREAD_SYSCALL): Likewise.
24212 (__ASSUME_PWRITE_SYSCALL): Likewise.
24213 (__ASSUME_POLL_SYSCALL): Likewise.
24214 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24215 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24216 non-SPARC.
24217 (__ASSUME_SIOCGIFNAME): Don't define.
24218 (__ASSUME_MSG_NOSIGNAL): Likewise.
24219 (__ASSUME_SENDFILE): Define unconditionally.
24220 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24221 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24222 conditional code.
24223 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24224 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24225 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24226 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24227 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24228 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24229 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24231 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24232 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24234 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24235 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24237 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24238 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24240 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24241 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24243 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24244 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24246 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24247 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24249 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24250 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24252 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24253 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24254 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24255 Remove conditional code.
24256 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24257 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24258 Remove conditional code.
24259 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24260 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24261 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24262 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24263 Remove conditional code.
24264 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24265 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24266 Remove conditional code.
24267 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24268 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24269 Remove conditional code.
24270 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24271 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24272 Remove conditional code.
24273 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24274 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24275 Remove conditional code.
24276 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24277 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24278 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24279 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24280 * sysdeps/unix/sysv/linux/sigaction.c
24281 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24282 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24283 * sysdeps/unix/sysv/linux/sigpending.c
24284 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24285 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24286 * sysdeps/unix/sysv/linux/sigprocmask.c
24287 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24288 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24289 * sysdeps/unix/sysv/linux/sigsuspend.c
24290 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24291 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24292 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24293 (__libc_missing_rt_sigs): Remove.
24294 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24295 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24296 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24297 Remove conditional code.
24298 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24299 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24300 return 1.
24301 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24302 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24303 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24304 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24305
1bfb7291
AJ
243062012-05-14 Andreas Jaeger <aj@suse.de>
24307
caae5a81
AJ
24308 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24309 it's not used in glibc.
24310 (__coshm1): Likewise.
24311 (__acosh1p): Likewise.
24312 (__sgn): Likewise.
24313
1bfb7291
AJ
24314 * manual/string.texi (Copying and Concatenation): Add missing
24315 variable in concat example.
24316 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24317
c044d724
L
243182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24319
144c5467 24320 [BZ #14103]
c044d724
L
24321 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24322 __builtin_clzl with __builtin_clzll.
24323
2523c62b
L
243242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24325
24326 [BZ #14104]
24327 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24328 libc_freeres_ptr.
24329
d7bb4c42
LD
243302012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24331
24332 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24333 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24334 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24335 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24336
9dc4e1fb
MF
243372012-05-14 Mike Frysinger <vapier@gentoo.org>
24338
24339 * NEWS: Update ia64 info.
24340
c7df0112
AS
243412012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24342
24343 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24344 used as bcopy.
24345
dc70356c
TS
243462012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24347
24348 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24349 * sysdeps/unix/syscalls.list (dup3): Likewise.
24350 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24351 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24352
9fb1a21f
L
243532012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24354
24355 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24356 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24357
4822a2a5
L
243582012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24359
24360 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24361 thread pointer.
24362 (TLS_IE): Use mov/add instead of movq/addq to load thread
24363 pointer.
24364 (TLS_GD_PREFIX): New.
24365 (TLS_GD): Use it.
24366
842b81d6
DM
243672012-05-11 David S. Miller <davem@davemloft.net>
24368
24369 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24370 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24371 (_FPU_SETCW): Likewise.
24372
1cf463cd
L
243732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24374
24375 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24376 is 32-byte aligned.
24377
60cc4a18
AS
243782012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24379
24380 [BZ #11837]
24381 * iconvdata/gb18030.c: Update tables.
24382 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24383 characters specially.
24384 (BODY for TO_LOOP): Add encoding of missing ranges.
24385
febb44a4
TS
243862012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24387
24388 [BZ #13673]
24389 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24390 * sysdeps/mach/hurd/dup3.c: Likewise.
24391 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24392 * sysdeps/powerpc/memmove.c:: Likewise.
24393
0a10fb9e
L
243942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24395
24396 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24397 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24398
df8a552f
L
243992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24400
24401 * elf/elf.h (R_X86_64_RELATIVE64): New.
24402 (R_X86_64_NUM): Updated.
24403 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24404 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24405 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24406 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24407 tst-quad1pie tst-quad2pie
24408 (modules-names): Add tst-quadmod1 tst-quadmod2.
24409 ($(objpfx)tst-quad1): New dependency.
24410 ($(objpfx)tst-quad2): Likewise.
24411 ($(objpfx)tst-quad1pie): Likewise.
24412 ($(objpfx)tst-quad2pie): Likewise.
24413 * sysdeps/x86_64/tst-quad1.c: New file.
24414 * sysdeps/x86_64/tst-quad1pie.c: New file.
24415 * sysdeps/x86_64/tst-quad2.c: Likewise.
24416 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24417 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24418 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24419 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24420 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24421
f34d6f84
ST
244222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24423
f42d41d1
ST
24424 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24425 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24426 * streams/stropts.h (t_scalar_t): Define type.
24427
3c3571fc
ST
24428 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24429 (_PATH_PRESERVE): Set to "/var/lib".
24430 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24431
61f06bd3
ST
24432 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24433 instead of int.
24434
918d4d71
ST
24435 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24436 if __dir_mkfile succeeded.
24437
f34d6f84
ST
24438 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24439 checking for _hurd_dtablesize. Unlock it right after having
24440 finished _hurd_dtable allocation.
24441
10589b4a
TS
244422012-05-10 Thomas Schwinge <thomas@schwinge.name>
24443
674cdbc7
TS
24444 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24445 * sysdeps/mach/hurd/configure: Regenerated.
24446 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24447 special-casing to...
24448 * sysdeps/gnu/configure.in: ... this new file.
24449 * sysdeps/unix/sysv/linux/configure: Regenerated.
24450 * sysdeps/gnu/configure: New generated file.
24451
8e41b99f
TS
24452 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24453 for Linux: use nsec instead of usec, as well as:
24454 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24455 members of type struct timespec.
24456 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24457 New macros.
24458 (struct stat64): Likewise.
24459 (_STATBUF_ST_NSEC): New macro.
24460 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24461
10589b4a
TS
24462 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24463 __strtoul_internal rather than strtoul.
24464
63643c85
PT
244652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24466
24467 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24468 and reject them.
24469
3faebe6a
ST
244702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24471
24472 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24473 which preserves existing values.
24474 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24475
c6474b07
PT
244762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24477
24478 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24479 TIMEOUT values. Return EINVAL for NFDS values either negative or
24480 greater than FD_SETSIZE.
24481
1043890b
ST
244822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24483
24484 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24485 allocated, call __vm_protect to finish enabling the existing space, and
24486 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24487 allocate the remainder.
24488
37ed8b9b
PT
244892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24490
24491 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24492 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24493
db653660
ST
244942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24495
37ed8b9b
PT
24496 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24497 sysdeps/mach/hurd/readlink.c.
b29d4053 24498
db653660
ST
24499 * posix/tst-sysconf.c (posix_options): Only use
24500 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24501 _POSIX_SYNCHRONIZED_IO when they are defined
24502 * sysdeps/mach/hurd/bits/posix_opt.h:
24503 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24504 (_XOPEN_REALTIME): Undefine macro.
24505 (_XOPEN_REALTIME_THREADS): Undefine macro.
24506 (_XOPEN_SHM): Undefine macro.
24507 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24508 macro to -1.
24509 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24510 macro to -1.
24511 (_POSIX_ASYNC_IO): Undefine macro.
24512 (_POSIX_PRIORITIZED_IO): Undefine macro.
24513 (_POSIX_SPIN_LOCKS): Define macro to -1.
24514
ee16e894
ST
24515 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24516 SA_NODEFER, SA_RESETHAND.
24517 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24518 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24519 F_DUPFD_CLOEXEC.
24520
6103ae3b
TS
245212012-05-10 Thomas Schwinge <thomas@schwinge.name>
24522
24523 * elf/Makefile (pldd-modules): Define unconditionally.
24524
80b4e5f3
TS
245252012-05-10 Thomas Schwinge <thomas@schwinge.name>
24526
24527 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24528
edadcbd6
ST
245292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24530
24531 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24532 Return ENOENT when name is empty.
24533 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24534
80694780
TS
245352012-05-10 Thomas Schwinge <thomas@schwinge.name>
24536
1792c087
TS
24537 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24538
80694780
TS
24539 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24540
6b645f0d
ST
245412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24542
80694780
TS
24543 Fix mlock in all cases except non-readable pages.
24544 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24545 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 24546
6b645f0d
ST
24547 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24548 (__mkdir): When path is `/', just fail with EEXIST.
24549 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24550
e468f8a3
TS
245512012-05-10 Thomas Schwinge <thomas@schwinge.name>
24552
24553 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24554 <sys/uio.h> (for writev).
24555 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24556 and <sys/param.h> (for MIN).
24557
a4186cff
PT
245582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24559
24560 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24561 REQUESTED_TIME. Properly set the remaining time and return EINTR
24562 if interrupted.
24563
510bbf14
TS
245642012-05-10 Thomas Schwinge <thomas@schwinge.name>
24565
24566 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24567 Depend on against $(link-rpcuserlibs).
24568
5d5722e8
ST
245692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24570
a4186cff
PT
24571 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24572 (__libc_stack_end): Do not use attribute_relro.
24573 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24574 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 24575 to libthread-provided value.
a4186cff
PT
24576 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24577 attribute_relro.
5d5722e8 24578
37233df9
TS
245792012-05-10 Thomas Schwinge <thomas@schwinge.name>
24580
be971a2b
TS
24581 [BZ #3748]
24582 * bits/libc-lock.h (__libc_once_get): New macro.
24583 * sysdeps/mach/bits/libc-lock.h: Likewise.
24584 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24585 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24586 instead of using implementation details.
24587
37233df9
TS
24588 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24589 * libio/freopen.c: Likewise.
24590 * libio/freopen64.c: Likewise.
24591 * misc/syslog.c: Likewise.
24592 * nscd/connections.c: Likewise.
24593 * nscd/netgroupcache.c: Likewise.
24594 * sysdeps/posix/getcwd.c: Likewise.
24595
38de94a5
RM
245962012-05-10 Roland McGrath <roland@hack.frob.com>
24597
24598 * math/w_ilogbf.c: Add #include <limits.h>.
24599
67530489
ST
246002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24601
a4186cff 24602 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
24603 path instead of returning without unlocking.
24604
67530489
ST
24605 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24606 immediate-write ioctls.
24607 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24608
5aa3a74a
TS
246092012-05-10 Thomas Schwinge <thomas@schwinge.name>
24610
18bad2ae
TS
24611 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24612 __builtin_frame_address instead of making assumptions about the
24613 location of the return address relative to DATA. Force early load of
24614 the return address.
24615 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24616 __builtin_frame_address.
24617
5aa3a74a
TS
24618 dup3 for GNU Hurd.
24619 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24620 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24621 implement dup3 and do some further code clean-ups.
24622 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24623 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24624
ecd0de9a
ST
246252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24626
cd9fa985
ST
24627 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24628
a4186cff
PT
24629 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24630 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24631 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24632 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24633 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24634 d->port.lock.
802ca5a5 24635
a4186cff
PT
24636 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24637 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24638 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 24639
bcf55240
TS
246402012-05-10 Thomas Schwinge <thomas@schwinge.name>
24641
6960eb42
TS
24642 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24643 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24644 definitions.
24645
eb43375f
TS
24646 accept4 for GNU Hurd.
24647 * include/sys/socket.h (__libc_accept4): New prototype.
24648 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24649 to implement __libc_accept4.
24650 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24651 __libc_accept4.
24652 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24653
bcf55240
TS
24654 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24655 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24656 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24657 signal-defines.sym.
24658
6178c55b
ST
246592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24660
a4186cff 24661 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 24662
6f080c2f
TS
246632012-05-10 Thomas Schwinge <thomas@schwinge.name>
24664
24665 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24666 assertion on O_CLOEXEC flag.
24667 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24668 * hurd/intern-fd.c: Likewise.
24669 * hurd/port2fd.c: Likewise.
24670
bcfe3a54
ST
246712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24672
24673 [BZ #3906]
24674 * bits/in.h (IPV6_PKTINFO): Define new macro.
24675 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24676
89c9aa49
AZ
246772012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24678
24679 [BZ #13954]
24680 [BZ #13955]
24681 [BZ #13956]
24682 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24683 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24684 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24685 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24686 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24687 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24688 * math/libm-test.inc (logb_test) : Additional logb tests.
24689
021db4be
AJ
246902012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24691 Andreas Jaeger <aj@suse.de>
24692
24693 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24694 * configure: Regenerated.
24695 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24696 * config.make.in (link-obsolete-rpc): New substituted variable.
24697 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24698 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24699 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24700 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24701 so that libc.a contains the symbols.
24702 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24703 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24704 * sunrpc/auth_none.c: Likewise.
24705 * sunrpc/auth_unix.c: Likewise.
24706 * sunrpc/authdes_prot.c: Likewise.
24707 * sunrpc/authuxprot.c: Likewise.
24708 * sunrpc/clnt_gen.c: Likewise.
24709 * sunrpc/clnt_perr.c: Likewise.
24710 * sunrpc/clnt_raw.c: Likewise.
24711 * sunrpc/clnt_simp.c: Likewise.
24712 * sunrpc/clnt_tcp.c: Likewise.
24713 * sunrpc/clnt_udp.c: Likewise.
24714 * sunrpc/clnt_unix.c: Likewise.
24715 * sunrpc/des_crypt.c: Likewise.
24716 * sunrpc/des_soft.c: Likewise.
24717 * sunrpc/get_myaddr.c: Likewise.
24718 * sunrpc/key_call.c: Likewise.
24719 * sunrpc/key_prot.c: Likewise.
24720 * sunrpc/netname.c: Likewise.
24721 * sunrpc/pm_getmaps.c: Likewise.
24722 * sunrpc/pm_getport.c: Likewise.
24723 * sunrpc/pmap_clnt.c: Likewise.
24724 * sunrpc/pmap_prot.c: Likewise.
24725 * sunrpc/pmap_prot2.c: Likewise.
24726 * sunrpc/pmap_rmt.c: Likewise.
24727 * sunrpc/publickey.c: Likewise.
24728 * sunrpc/rpc_cmsg.c: Likewise.
24729 * sunrpc/rpc_common.c: Likewise.
24730 * sunrpc/rpc_dtable.c: Likewise.
24731 * sunrpc/rpc_prot.c: Likewise.
24732 * sunrpc/rpc_thread.c: Likewise.
24733 * sunrpc/rtime.c: Likewise.
24734 * sunrpc/svc.c: Likewise.
24735 * sunrpc/svc_auth.c: Likewise.
24736 * sunrpc/svc_raw.c: Likewise.
24737 * sunrpc/svc_run.c: Likewise.
24738 * sunrpc/svc_tcp.c: Likewise.
24739 * sunrpc/svc_udp.c: Likewise.
24740 * sunrpc/svc_unix.c: Likewise.
24741 * sunrpc/svcauth_des.c: Likewise.
24742 * sunrpc/xcrypt.c: Likewise.
24743 * sunrpc/xdr.c: Likewise.
24744 * sunrpc/xdr_array.c: Likewise.
24745 * sunrpc/xdr_float.c: Likewise.
24746 * sunrpc/xdr_intXX_t.c: Likewise.
24747 * sunrpc/xdr_mem.c: Likewise.
24748 * sunrpc/xdr_rec.c: Likewise.
24749 * sunrpc/xdr_ref.c: Likewise.
24750 * sunrpc/xdr_sizeof.c: Likewise.
24751 * sunrpc/xdr_stdio.c: Likewise.
24752
b5c086a2
RM
247532012-05-10 Roland McGrath <roland@hack.frob.com>
24754
24755 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24756 change. Update copyright years.
24757
6d74dd09
JM
247582012-05-10 Joseph Myers <joseph@codesourcery.com>
24759
24760 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24761
28e72501
MK
247622012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24763 Joseph Myers <joseph@codesourcery.com>
24764 Paul Pluzhnikov <ppluzhnikov@google.com>
24765
24766 [BZ #14012]
24767 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24768 requiring rpcgen.
24769 [cross-compiling] (extra-libs): Likewise.
24770 [cross-compiling] (extra-libs-others): Likewise.
24771 [cross-compiling] (librpcsvc-routines): Likewise.
24772 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24773 [cross-compiling] (omit-deps): Likewise.
24774 (sunrpc-CPPFLAGS): New variable.
24775 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24776 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24777 (cross-rpcgen-objs): New variable.
24778 (extra-objs): Append $(cross-rpcgen-objs).
24779 ($(cross-rpcgen-objs)): New rule.
24780 ($(objpfx)cross-rpcgen): Likewise.
24781 (rpcgen-cmd): Define to use $(built-program-file). Expand
24782 comment.
24783 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24784 ($(objpfx)x%.stmp): Likewise.
24785 * sunrpc/proto.h [IS_IN_build] (_): Define.
24786 [IS_IN_build] (_libc_intl_domainname): Likewise.
24787
c8c59454
L
247882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24789
24790 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24791 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24792 and R_X86_64_TPOFF64.
24793
6f27cd16
JM
247942012-05-10 Joseph Myers <joseph@codesourcery.com>
24795
24796 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24797 sysdeps/unix/sysv/syscalls.list.
24798 (stime): Likewise.
24799 (utime): Likewise.
24800 * sysdeps/unix/sysv/syscalls.list: Remove file.
24801
02467e1c
PE
248022012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24803
24804 [BZ #3440]
24805 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24806 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24807 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24808 (__LC_IDENTIFICATION): Make these macros useful in #if
24809 expressions, as required by C99.
24810
da392631
AS
248112012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24812
24813 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24814 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24815 after this.
24816
8115f29b
L
248172012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24818
24819 * stdlib/longlong.h: Updated from GCC.
24820
bdd74070
AJ
248212012-05-09 Andreas Jaeger <aj@suse.de>
24822
edfe0dbe
AJ
24823 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24824 default is first entry.
24825 (run_mode): Set type.
24826 (main): Remove informal message about syslog.
24827 (options): Fix typo.
24828
bcfe3a54
ST
24829 [BZ #14053]
24830 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 24831 to asm.
bcfe3a54
ST
24832 (lrint): Likewise.
24833 (llrintf): Likewise.
24834 (llrint): Likewise.
24835 (rint): Likewise.
24836 (rintf): Likewise.
24837 (nearbyint): Likewise.
24838 (nearbyintf): Likewise.
bdd74070 24839
91d8d69e
AJ
248402012-05-09 Andreas Jaeger <aj@suse.de>
24841 Pedro Alves <palves@redhat.com>
24842
24843 * nscd/nscd.c (run_mode): Use enum.
24844 (main): Cleanup coding style issue.
24845
bb90b80b
AJ
248462012-05-09 Alexandre Oliva <aoliva@redhat.com>
24847 Andreas Jaeger <aj@suse.de>
24848
bcfe3a54
ST
24849 * nscd/nscd.c (go_background): Replaced with...
24850 (run_mode): ... this.
bb90b80b 24851 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
24852 (options): Add -F --foreground.
24853 (main): Implement it.
24854 (parse_opt): Parse it.
bb90b80b 24855
1a4b75a1
AJ
248562012-05-09 Andreas Jaeger <aj@suse.de>
24857
24858 [BZ #14083]
24859 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24860 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24861 -Wconversion warning.
24862 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24863 Likewise.
24864
b1cc2472
JM
248652012-05-09 Joseph Myers <joseph@codesourcery.com>
24866
24867 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24868 == 0.
24869 (LC_ALL): Use macro-int-constant.
24870 (LC_COLLATE): Likewise.
24871 (LC_CTYPE): Likewise.
24872 (LC_MESSAGES): Likewise.
24873 (LC_MONETARY): Likewise.
24874 (LC_NUMERIC): Likewise.
24875 (LC_TIME): Likewise.
24876 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24877 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24878 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24879 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24880 Specify type.
24881 [C99-based standards] (float_t): Expect type.
24882 [C99-based standards] (double_t): Expect type.
24883 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24884 type.
24885 [C99-based standards] (HUGE_VALL): Likewise.
24886 [C99-based standards] (INFINITY): Likewise.
24887 [C99-based standards] (NAN): Likewise.
24888 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24889 [C99-based standards] (FP_NAN): Likewise.
24890 [C99-based standards] (FP_NORMAL): Likewise.
24891 [C99-based standards] (FP_SUBNORMAL): Likewise.
24892 [C99-based standards] (FP_ZERO): Likewise.
24893 [C99-based standards] (FP_FAST_FMA): Use
24894 optional-macro-int-constant. Specify type. Require == 1.
24895 [C99-based standards] (FP_FAST_FMAF): Likewise.
24896 [C99-based standards] (FP_FAST_FMAL): Likewise.
24897 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24898 [C99-based standards] (FP_ILOGBNAN): Likewise.
24899 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24900 Specify type.
24901 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24902 [C99-based standards] (math_errhandling): Specify type.
24903 [ISO99 || ISO11] (signgam): Do not allow.
24904 [non-C99-based standards] (copysignf): Do not allow.
24905 [non-C99-based standards] (exp2f): Likewise.
24906 [non-C99-based standards] (log2f): Likewise.
24907 [non-C99-based standards] (modff): Allow.
24908 [non-C99-based standards] (erff): Do not allow.
24909 [non-C99-based standards] (erfcf): Likewise.
24910 [non-C99-based standards] (gammaf): Likewise.
24911 [non-C99-based standards] (hypotf): Likewise.
24912 [non-C99-based standards] (j0f): Likewise.
24913 [non-C99-based standards] (j1f): Likewise.
24914 [non-C99-based standards] (jnf): Likewise.
24915 [non-C99-based standards] (lgammaf): Likewise.
24916 [non-C99-based standards] (tgammaf): Likewise.
24917 [non-C99-based standards] (y0f): Likewise.
24918 [non-C99-based standards] (y1f): Likewise.
24919 [non-C99-based standards] (ynf): Likewise.
24920 [non-C99-based standards] (isnanf): Likewise.
24921 [non-C99-based standards] (acoshf): Likewise.
24922 [non-C99-based standards] (asinhf): Likewise.
24923 [non-C99-based standards] (atanhf): Likewise.
24924 [non-C99-based standards] (cbrtf): Likewise.
24925 [non-C99-based standards] (expm1f): Likewise.
24926 [non-C99-based standards] (ilogbf): Likewise.
24927 [non-C99-based standards] (log1pf): Likewise.
24928 [non-C99-based standards] (logbf): Likewise.
24929 [non-C99-based standards] (nextafterf): Likewise.
24930 [non-C99-based standards] (remainderf): Likewise.
24931 [non-C99-based standards] (rintf): Likewise.
24932 [non-C99-based standards] (scalbf): Likewise.
24933 [non-C99-based standards] (copysignl): Likewise.
24934 [non-C99-based standards] (exp2l): Likewise.
24935 [non-C99-based standards] (log2l): Likewise.
24936 [non-C99-based standards] (modfl): Allow.
24937 [non-C99-based standards] (erfl): Do not allow.
24938 [non-C99-based standards] (erfcl): Likewise.
24939 [non-C99-based standards] (gammal): Likewise.
24940 [non-C99-based standards] (hypotl): Likewise.
24941 [non-C99-based standards] (j0l): Likewise.
24942 [non-C99-based standards] (j1l): Likewise.
24943 [non-C99-based standards] (jnl): Likewise.
24944 [non-C99-based standards] (lgammal): Likewise.
24945 [non-C99-based standards] (tgammal): Likewise.
24946 [non-C99-based standards] (y0l): Likewise.
24947 [non-C99-based standards] (y1l): Likewise.
24948 [non-C99-based standards] (ynl): Likewise.
24949 [non-C99-based standards] (isnanl): Likewise.
24950 [non-C99-based standards] (acoshl): Likewise.
24951 [non-C99-based standards] (asinhl): Likewise.
24952 [non-C99-based standards] (atanhl): Likewise.
24953 [non-C99-based standards] (cbrtl): Likewise.
24954 [non-C99-based standards] (expm1l): Likewise.
24955 [non-C99-based standards] (ilogbl): Likewise.
24956 [non-C99-based standards] (log1pl): Likewise.
24957 [non-C99-based standards] (logbl): Likewise.
24958 [non-C99-based standards] (nextafterl): Likewise.
24959 [non-C99-based standards] (remainderl): Likewise.
24960 [non-C99-based standards] (rintl): Likewise.
24961 [non-C99-based standards] (scalbl): Likewise.
24962 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24963 [non-C99-based standards] (FP_*): Do not allow.
24964 [C99-based standards] (FP_*): Change to
24965 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24966 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24967 allow.
24968 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24969 (SIG_ERR): Likewise.
24970 [X/Open-based standards] (SIG_HOLD): Likewise.
24971 (SIG_IGN): Likewise.
24972 (SIGABRT): Use macro-int-constant. Specify type. Require
24973 positive value.
24974 (SIGFPE): Likewise.
24975 (SIGILL): Likewise.
24976 (SIGINT): Likewise.
24977 (SIGSEGV): Likewise.
24978 (SIGTER): Likewise.
24979 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24980 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24981 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24982 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24983 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24984 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24985 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24986 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24987 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24988 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24989 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24990 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24991 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24992 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24993 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24994 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24995 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24996 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24997 [X/Open-based standards] (SIGTRAP): Likewise.
24998 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24999 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25000 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25001 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25002 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25003 allow.
25004
b9f1922d
IW
250052012-05-08 Ian Wienand <ianw@vmware.com>
25006
25007 [BZ #14080]
25008 * time/tzset.c (__tzset_parse_tz): Update default rules for
25009 daylight time changes in the Energy Policy Act of 2005.
25010
1db86e88
AJ
250112012-05-09 Andreas Jaeger <aj@suse.de>
25012
25013 [BZ #13983]
25014 * elf/ldconfig.c (parse_conf): Change string to make clear that
25015 ldconfig only issued a warning if ld.so.conf does not exist.
25016
dee4a4e3
DM
250172012-05-08 David S. Miller <davem@davemloft.net>
25018
ee0db190
DM
25019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25020 movxtod instead of popping the value on the stack.
25021
dee4a4e3
DM
25022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25023
6a43ec98
CD
250242012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25025
25026 * config.h.in: Add HAVE_ARM_PCS_VFP.
25027
05c2c961
RMG
250282012-05-08 Roland Mc Grath <roland@hack.frob.com>
25029
bcfe3a54
ST
25030 [BZ #13979]
25031 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25032 checking but the checks are disabled for any reason.
05c2c961 25033
4b30f61a
L
250342012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25035
25036 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25037 and ELF64_R_TYPE with ELFW(R_TYPE).
25038
eee2bc67
JM
250392012-05-08 Joseph Myers <joseph@codesourcery.com>
25040
7ea5391a
JM
25041 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25042 (ulimit): Likewise.
25043
eee2bc67
JM
25044 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25045 (settimeofday): Likewise.
25046
abb66a67
MF
250472012-05-08 Mike Frysinger <vapier@gentoo.org>
25048
25049 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25050 a struct th_u2 inside the union, and move tu_block/tu_code into
25051 a new th_u3 union of tu_block/tu_code inside of that. Move
25052 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25053 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25054 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25055 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25056 (th_stuff): Change to th_u1.tu_stuff.
25057 (th_data): Define.
25058 (th_msg): Change to th_u1.th_u2.tu_data.
25059
7f18b530
DM
250602012-05-07 David S. Miller <davem@davemloft.net>
25061
05760585
DM
25062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25063
7f18b530
DM
25064 [BZ #14074]
25065 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25066 (SETUP_PIC_REG): Use it.
25067 (SETUP_PIC_REG_LEAF): Use it.
25068
495fd99f
JM
250692012-05-07 Joseph Myers <joseph@codesourcery.com>
25070
25071 [BZ #13885]
25072 [BZ #13923]
25073 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25074 USE_AS_EXPM1L.
25075 (EXPL_FINITE): Likewise.
25076 (FLDLOG): Likewise.
25077 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25078 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25079 e_expl.S.
25080 * sysdeps/x86_64/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/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25086 e_expl.S.
25087 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25088 test of -max_value argument for long double.
25089 * sysdeps/i386/fpu/libm-test-ulps: Update.
25090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25091
6693d694
DM
250922012-05-06 David S. Miller <davem@davemloft.net>
25093
25094 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25095 quad soft-float symbols whose references which are compiler
25096 generated.
25097 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25098
6c23e11c
JM
250992012-05-06 Joseph Myers <joseph@codesourcery.com>
25100
d8b82cad
JM
25101 [BZ #13884]
25102 [BZ #13914]
25103 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25104 USE_AS_EXP10L.
25105 (EXPL_FINITE): Likewise.
25106 (FLDLOG): Likewise.
25107 (c0): Likewise.
25108 (c1): Likewise.
25109 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25110 Adjust comments for base varying.
25111 (__expl_finite): Change alias to EXPL_FINITE.
25112 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25113 e_expl.S.
25114 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25115 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25116 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25117 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25118 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25119 USE_AS_EXP10L.
25120 (EXPL_FINITE): Likewise.
25121 (FLDLOG): Likewise.
25122 (c0): Likewise.
25123 (c1): Likewise.
25124 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25125 Adjust comments for base varying.
25126 (__expl_finite): Change alias to EXPL_FINITE.
25127 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25128 tests for bugs.
25129 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25130
6c23e11c
JM
25131 [BZ #14064]
25132 * math/libm-test.inc (check_float_internal): Correct ulp
25133 calculation for subnormal expected results.
25134
29ba805c
AJ
251352012-05-06 Andreas Jaeger <aj@suse.de>
25136
25137 * Makeconfig (+math-flags): New, set to -frounding-math.
25138 (+cflags): Add +math-flags so that all of glibc gets compiled with
25139 it.
25140
25141 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25142
7b17aeda
JM
251432012-05-05 Joseph Myers <joseph@codesourcery.com>
25144
5779f134
JM
25145 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25146 Disable one test.
25147
41498f4d
JM
25148 [BZ #13787]
25149 [BZ #13922]
25150 [BZ #14036]
25151 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25152 (__ieee754_expl): Allow for and saturate large arguments.
25153 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25154 (u_threshold): Likewise.
25155 (__exp): Call __ieee754_exp before checking for overflow and
25156 underflow.
25157 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25158 (u_threshold): Likewise.
25159 (__expf): Call __ieee754_expf before checking for overflow and
25160 underflow.
25161 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25162 (u_threshold): Likewise.
25163 (__expl): Call __ieee754_expl before checking for overflow and
25164 underflow.
25165 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25166 (__ieee754_expl): Allow for and saturate large arguments.
25167 * math/libm-test.inc (exp_test): Add another test. Do not allow
25168 missing overflow exception on overflow.
25169 (expm1_test): Do not allow missing overflow exception on overflow.
25170
6698b8bf
JM
25171 * sysdeps/i386/fpu/e_expl.c: Move to ...
25172 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25173 rather than using inline asm.
25174 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25175 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25176 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25177
7b17aeda
JM
25178 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25179 (nice): Likewise.
25180 (poll): Likewise.
25181 (signal): Likewise.
25182 (time): Likewise.
25183 (times): Likewise.
25184
f7c85819
JM
251852012-05-04 Joseph Myers <joseph@codesourcery.com>
25186
25187 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25188 sysdeps/unix/common/syscalls.list.
25189 (fchmod): Likewise.
25190 (fchown): Likewise.
25191 (ftruncate): Likewise.
25192 (getrusage): Likewise.
25193 (gettimeofday): Likewise.
25194 (setpgid): Likewise.
25195 (setregid): Likewise.
25196 (setreuid): Likewise.
25197 (sigaction): Likewise.
25198 (truncate): Likewise.
25199 (vhangup): Likewise.
25200 * sysdeps/unix/common/syscalls.list: Remove file.
25201 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25202 * sysdeps/unix/sysv/linux/Implies: Likewise.
25203
336270d0
L
252042012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25205
25206 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25208 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25209 Moved to ...
25210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25211 Here.
25212 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25213 to ...
25214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25215 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25216 to ...
25217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25218 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25219 to ...
25220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25221 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25222 to ...
25223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25224 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25225 to ...
25226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25227 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25228 to ...
25229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25230 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25231 to ...
25232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25233 Here.
25234 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25235 to ...
25236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25237 Here.
25238 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25239 to ...
25240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25241 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25242 Moved to ...
25243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25244 Here.
25245 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25246 to ...
25247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25248
d128e450
JM
252492012-05-04 Joseph Myers <joseph@codesourcery.com>
25250
fa8ee516
JM
25251 * sysdeps/unix/common/bits/dirent.h: Remove file.
25252 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25253
d128e450
JM
25254 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25255 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25256 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25257 * sysdeps/unix/bsd/isatty.c: Likewise.
25258 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25259 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25260 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25261
ff8faaf0 252622012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 25263
62881be4 25264 [BZ #13563]
31dc8730
AZ
25265 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25266 long double comparison inaccuracies.
25267 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25269
6fef930c
AS
252702012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25271
25272 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25273 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25274
8f203e6c
JM
252752012-05-04 Joseph Myers <joseph@codesourcery.com>
25276
25277 [BZ #14049]
25278 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25279 nonzero digits before rounding a hex value.
25280 * stdlib/tst-strtod.c (tests): Add another test.
25281
5197d9c2
AK
252822012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25283
25284 * sysdeps/s390/fpu/libm-test-ulps: Update.
25285
f0c1dedf
AJ
252862012-05-03 Andreas Jaeger <aj@suse.de>
25287
25288 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25289 does not get optimized out.
25290 (malloc_opt_barrier): New.
25291
a65ef2ae 252922012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 25293 Roland McGrath <roland@hack.frob.com>
a65ef2ae 25294
2b942cb7 25295 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 25296 intermediate file deletion.
2b942cb7 25297 (generated): Add .symlist files.
a65ef2ae 25298
54b71e02
JM
252992012-05-03 Joseph Myers <joseph@codesourcery.com>
25300
25301 [BZ #13775]
25302 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25303 Redirect under this condition.
25304 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25305 [__USE_GNU] (__dprintf_chk): Not under this condition.
25306 [__USE_GNU] (__vdprintf_chk): Likewise.
25307 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25308 under this condition.
25309 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25310 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25311 [__USE_XOPEN2K8] (vdprintf): Likewise.
25312 [__USE_GNU] (__dprintf_chk): Not under this condition.
25313 [__USE_GNU] (__vdprintf_chk): Likewise.
25314 [__USE_GNU] (dprintf): Likewise.
25315 [__USE_GNU] (vdprintf): Likewise.
25316
d3dfcc41
RM
253172012-05-03 Roland McGrath <roland@hack.frob.com>
25318
25319 * elf/Makefile (common-generated): Set this instead of generated for
25320 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25321 $(all-built-dso)-derived lists.
25322
7ac30cc5
AJ
253232012-05-03 Andreas Jaeger <aj@suse.de>
25324
0c51e550
AJ
25325 * sysdeps/i386/fpu/libm-test-ulps: Update.
25326
7ac30cc5
AJ
25327 * FAQ: Removed.
25328 * FAQ.in: Likewise.
25329 * scripts/gen-FAQ.pl: Likewise.
25330 * manual/install.texi (Installation): Point to online location of
25331 FAQ.
25332 * Makefile (files-for-dist): Remove FAQ.
25333 (FAQ): Remove.
25334
d4c2917f
AM
253352012-05-02 Allan McRae <allan@archlinux.org>
25336
25337 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25338 (LDFLAGS-reldepmod5.so): Likewise.
25339 (LDFLAGS-reldep6mod1.so): Likewise.
25340 (LDFLAGS-reldep6mod4.so): Likewise.
25341 (LDFLAGS-reldep8mod3.so): Likewise.
25342 (LDFLAGS-unload4mod1.so): Likewise.
25343 (LDFLAGS-unload4mod2.so): Likewise.
25344 (LDFLAGS-tst-initorder): Likewise.
25345 (LDFLAGS-tst-initordera2.so): Likewise.
25346 (LDFLAGS-tst-initordera3.so): Likewise.
25347 (LDFLAGS-tst-initordera4.so): Likewise.
25348 (LDFLAGS-tst-initorderb2.so): Likewise.
25349 (LDFLAGS-noload): Likewise.
25350 (LDFLAGS-next): Likewise.
25351 (LDFLAGS-order2mod1.so): Likewise.
25352 (LDFLAGS-order2mod2.so): Likewise.
25353 (LDFLAGS-tst-initorder2): Likewise.
25354 (LDFLAGS-tst-initorder2a.so): Likewise.
25355 (LDFLAGS-tst-initorder2b.so): Likewise.
25356 (LDFLAGS-tst-initorder2c.so): Likewise.
25357 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25358
d77f993f
DM
253592012-05-02 David S. Miller <davem@davemloft.net>
25360
25361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25362
171a70b4
PP
253632012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25364
25365 [BZ #14055]
25366 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25367
0be196ad
AJ
253682012-05-02 Andreas Jaeger <aj@suse.de>
25369
25370 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25371 since we manipulate rounding mode.
25372 (CPPFLAGS-test-idouble.c): Likewise.
25373 (CPPFLAGS-test-ifloat.c): Likewise.
25374 (CFLAGS-test-ldouble.c): Likewise.
25375 (CFLAGS-test-double.c): Likewise.
25376 (CFLAGS-test-float.c): Likewise.
25377 (CFLAGS-test-misc.c): Likewise.
25378 (CFLAGS-test-test-fenv.c): Likewise.
25379
4f9d04aa
AZ
253802012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25381
2b942cb7
RM
25382 [BZ #2550]
25383 [BZ #2570]
25384 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25385 comparisons to determine direction to adjust input.
4f9d04aa 25386
82a79e7d
RM
253872012-05-01 Roland McGrath <roland@hack.frob.com>
25388
f5a01ca9
RM
25389 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25390 output to the target.
25391
90fe4186
RM
25392 * scripts/localplt.awk: New file.
25393 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25394 (check-localplt-CFLAGS): Variable removed.
25395 ($(all-built-dso:=.jmprel)): New static pattern rule.
25396 (generated): Add those targets.
25397 (localplt-built-dso): New variable.
25398 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25399
25400 * elf/check-localplt.c: File removed.
25401
82397ed6
RM
25402 * scripts/check-execstack.awk: New file.
25403 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25404 (check-execstack-CFLAGS): Variable removed.
25405 ($(objpfx)check-execstack.h): Target removed.
25406 ($(objpfx)execstack-default): New target.
25407 (generated): Add that instead of check-execstack.h.
25408 ($(all-built-dso:=.phdr)): New static pattern rule.
25409 (generated): Add those targets.
25410 * elf/check-execstack.c: File removed.
25411
82a79e7d
RM
25412 * scripts/check-textrel.awk: New file.
25413 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25414 (check-textrel-CFLAGS): Variable removed.
25415 (all-built-dso): Use := to define.o
25416 ($(all-built-dso:=.dyn)): New static pattern rule.
25417 (generated): Add those targets.
25418 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25419 * config.make.in (READELF): New substituted variable.
25420 * elf/check-textrel.c: File removed.
25421
62fde54f 254222012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 25423
615605c9
JM
25424 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25425 allow.
25426 * conform/data/ctype.h-data [C99-based standards] (isblank):
25427 Expect function.
25428 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25429 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25430 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25431 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25432 Specify type. Require positive value.
25433 (EILSEQ): Likewise.
25434 (ERANGE): Likewise.
25435 [ISO || POSIX] (EILSEQ): Do not expect.
25436 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25437 Specify type. Require positive value.
25438 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25439 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25440 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25441 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25442 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25443 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25444 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25445 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25446 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25447 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25448 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25449 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25450 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25451 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25452 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25453 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25454 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25455 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25456 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25457 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25458 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25459 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25460 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25461 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25462 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25463 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25464 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25465 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25466 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25467 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25468 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25469 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25470 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25471 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25472 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25473 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25474 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25475 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25476 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25477 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25478 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25479 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25480 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25481 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25482 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25483 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25484 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25485 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25486 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25487 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25488 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25489 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25490 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25491 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25492 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25493 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25494 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25495 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25496 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25497 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25498 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25499 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25500 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25501 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25502 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25503 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25504 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25505 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25506 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25507 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25508 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25509 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25510 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25511 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25512 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25513 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25514 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25515 Require >= 2.
25516 (FLT_ROUNDS): Expect as macro, not constant.
25517 (FLT_MANT_DIG): Use macro-int-constant.
25518 (DBL_MANT_DIG): Likewise.
25519 (LDBL_MANT_DIG): Likewise.
25520 (FLT_DIG): Likewise.
25521 (DBL_DIG): Likewise.
25522 (LDBL_DIG): Likewise.
25523 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25524 (DBL_MIN_EXP): Likewise.
25525 (LDBL_MIN_EXP): Likewise.
25526 (FLT_MAX_EXP): Use macro-int-constant.
25527 (DBL_MAX_EXP): Likewise.
25528 (LDBL_MAX_EXP): Likewise.
25529 (FLT_MAX_10_EXP): Likewise.
25530 (DBL_MAX_10_EXP): Likewise.
25531 (LDBL_MAX_10_EXP): Likewise.
25532 (FLT_MAX): Use macro-constant.
25533 (DBL_MAX): Likewise.
25534 (LDBL_MAX): Likewise.
25535 (FLT_EPSILON): Use macro-constant. Give upper bound.
25536 (DBL_EPSILON): Likewise.
25537 (LDBL_EPSILON): Likewise.
25538 (FLT_MIN): Likewise.
25539 (DBL_MIN): Likewise.
25540 (LDBL_MIN): Likewise.
25541 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25542 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25543 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25544 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25545 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25546 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25547 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25548 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25549 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25550 [ISO11] (FLT_TRUE_MIN): Likewise.
25551 [ISO11] (LDBL_TRUE_MIN): Likewise.
25552 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25553 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25554 (SCHAR_MIN): Use macro-int-constant. Specify type.
25555 (SCHAR_MAX): Likewise.
25556 (UCHAR_MAX): Likewise.
25557 (CHAR_MIN): Likewise.
25558 (CHAR_MAX): Likewise.
25559 (MB_LEN_MAX): Use macro-int-constant.
25560 (SHRT_MIN): Use macro-int-constant. Specify type.
25561 (SHRT_MAX): Likewise.
25562 (USHRT_MAX): Likewise.
25563 (INT_MAX): Likewise.
25564 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25565 bound negative.
25566 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25567 bound with "U".
25568 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25569 bound with "L".
25570 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25571 bound negative. Suffix upper bound with "L".
25572 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25573 bound with "UL".
25574 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25575 Specify type.
25576 [C99-based standards] (LLONG_MAX): Likewise.
25577 [C99-based standards] (ULLONG_MAX): Likewise.
25578 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25579 == 0.
25580 [ISO11] (max_align_t): Require type.
25581 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25582
c9140a62
JM
25583 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25584 from $CFLAGS, without defining away __attribute__ calls.
25585 (checknamespace): Use $CFLAGS_namespace.
25586
9af0bf29
JM
25587 * conform/conformtest.pl (@keywords): Only include C99 keywords
25588 for standards based on C99 or C11.
25589
343222a2
JM
25590 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25591 Disable tests.
25592 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25593 UNIX98]: Likewise.
25594
661f8cf0
JM
25595 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25596 usability of symbols in #if.
25597
ee74b9cb
JM
25598 * conform/conformtest.pl: If macro or constant types start
25599 "promoted:", expect the symbol to be of the following type
25600 promoted by the integer promotions.
62fde54f 25601
aafc49b3
JM
25602 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25603 in one place. Also handle "macro-constant".
25604
fefdf574
JM
25605 * conform/conformtest.pl: Only accept expected macro values with
25606 "==". Parse all "macro" lines in one place.
25607 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25608
f2d922fe
JM
25609 * conform/conformtest.pl: Handle braced types on "constant" lines
25610 instead of handling "typed-constant".
25611 * conform/data/signal.h-data: Use "constant" instead of
25612 "typed-constant".
25613
d22956c9
JM
25614 * conform/conformtest.pl: Handle "optional-" at start of lines in
25615 one place rather than duplicating several cases. Handle each
25616 format of "macro" line with initial "optional-".
25617
028e2e38
JM
25618 * conform/conformtest.pl: Only accept expected constant or
25619 optional-constant values with "==". Parse all "constant" lines in
25620 one place. Parse all "optional-constant" lines in one place.
25621 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25622 * conform/data/fmtmsg.h-data: Likewise.
25623 * conform/data/netinet/in.h-data: Likewise.
25624 * conform/data/tar.h-data: Likewise.
25625 * conform/data/limits.h-data: Use "==" form on "constant" and
25626 "optional-constant" lines.
25627
1b8f2850
JM
25628 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25629 Use -std=c99 for XOPEN2K.
25630 (@knownproblems): Remove.
25631 (newtoken): Don't check %isknown.
25632
a05a144b
JM
25633 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25634 Do not expect macro.
25635 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25636 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25637 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25638 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25639 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25640 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25641 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25642 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25643 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25644 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25645 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25646 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25647 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25648 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25649 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25650 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25651 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25652 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25653 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25654 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25655 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25656 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25657 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25658 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25659 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25660 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25661 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25662 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25663 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25664 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25665 [XPG3] (acosh): Likewise.
25666 [XPG3] (asinh): Likewise.
25667 [XPG3] (atanh): Likewise.
25668 [XPG3] (cbrt): Likewise.
25669 [XPG3] (expm1): Likewise.
25670 [XPG3] (ilogb): Likewise.
25671 [XPG3] (log1p): Likewise.
25672 [XPG3] (logb): Likewise.
25673 [XPG3] (nextafter): Likewise.
25674 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25675 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25676 [XPG3] (remainder): Likewise.
25677 [XPG3] (rint): Likewise.
25678 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25679 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25680 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25681 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25682 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25683 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25684 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25685 [UNIX98 || XOPEN2K] (scalb): Expect.
25686 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25687 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25688 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25689 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25690 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25691 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25692 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25693 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25694 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25695 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25696 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25697 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25698 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25699 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25700 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25701 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25702 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25703 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25704 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25705 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25706 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25707 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25708 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25709 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25710 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25711 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25712 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25713 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25714 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25715 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25716 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25717 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25718 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25719 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25720 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25721 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25722 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25723 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25724 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25725 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25726 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25727 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25728 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25729 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25730 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25731 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25732 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25733 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25734 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25735 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25736 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25737 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25738 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25739 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25740 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25741 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25742 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25743 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25744 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25745 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25746 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25747 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25748 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25749 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25750 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25751 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25752 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25753 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25754 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25755 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25756 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25757 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25758 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25759 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25760 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25761 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25762 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25763 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25764 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25765 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25766 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25767 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25768 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25769 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25770 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25771 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25772 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25773 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25774 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25775 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25776 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25777 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25778 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25779 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25780 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25781 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25782 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25783 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25784 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25785 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25786 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25787 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25788 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25789 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25790 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25791 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25792 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25793 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25794 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25795 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25796 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25797 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25798 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25799 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25800 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25801 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25802 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25803 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25804 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25805 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25806 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25807 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25808 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25809 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25810 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25811 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25812 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25813 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25814 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25815 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25816 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25817 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25818 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25819 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25820 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25821 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25822 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25823
73c5ebe3
JM
25824 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25825 _XOPEN_SOURCE_EXTENDED for XPG4.
25826
39c33b6c
JM
25827 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25828
62fde54f
JM
25829 * Makeconfig (localtime): Remove variable.
25830 (inst_localtime-file): Likewise.
25831
0741d64c
AS
258322012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25833
25834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25835 Update.
25836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25837 Update.
25838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25839 Update.
25840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25841 Update.
25842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25843 Update.
25844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25845 Update.
25846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25847 Update.
25848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25849 Update.
25850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25851 Update.
25852
7cb029ee
JM
258532012-05-01 Joseph Myers <joseph@codesourcery.com>
25854
25855 [BZ #2550]
25856 [BZ #2570]
25857 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25858 comparisons to determine direction to adjust input.
25859 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25860 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25861 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25862 Likewise.
25863 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25864 Likewise.
25865 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25866 Likewise.
25867 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25868 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25869 Likewise.
25870 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25871 Likewise.
25872 * math/libm-test.inc (nexttoward_test): Add more tests.
25873
412bd966
AS
258742012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25875
25876 [BZ #14040]
25877 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25878 in version GLIBC_2.1, not GLIBC_2.0.
25879 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25880 Likewise.
25881
9568c0c2
JM
258822012-04-30 Joseph Myers <joseph@codesourcery.com>
25883
adfbc8ac
JM
25884 [BZ #13942]
25885 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25886 (1 - x) * (1 + x).
25887 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25888 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25889 * math/libm-test.inc (acos_test): Add more tests.
25890 (asin_test): Likewise.
25891 * sysdeps/i386/fpu/libm-test-ulps: Update.
25892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25893
5ba3cc69
JM
25894 [BZ #14034]
25895 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25896 of square root.
25897 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25898 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25899 * math/libm-test.inc (acos_test_tonearest): New function.
25900 (acos_test_towardzero): Likewise.
25901 (acos_test_downward): Likewise.
25902 (acos_test_upward): Likewise.
25903 (asin_test_tonearest): Likewise.
25904 (asin_test_towardzero): Likewise.
25905 (asin_test_downward): Likewise.
25906 (asin_test_upward): Likewise.
25907 (main): Call the new functions.
25908 * sysdeps/i386/fpu/libm-test-ulps: Update.
25909 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25910
9568c0c2
JM
25911 [BZ #13884]
25912 [BZ #13924]
25913 * math/e_exp10.c: Include <float.h>.
25914 (__ieee754_exp10): Handle underflow here rather than multiplying
25915 large negative argument by M_LN10.
25916 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25917 of __ieee754_expf.
25918 * math/e_exp10l.c: Include <float.h>.
25919 (__ieee754_exp10l): Handle underflow here rather than multiplying
25920 large negative argument by M_LN10l.
25921 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25922 spurious overflow exception on underflow.
25923
5ac3ea17
MP
259242012-04-29 Marek Polacek <polacek@redhat.com>
25925
25926 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25927 (__fortify_function): New macro.
25928 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25929 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25930 __extern_always_inline.
25931 * libio/bits/stdio2.h: Likewise.
25932 * libio/bits/stdio.h: Likewise.
25933 * string/string.h: Likewise.
25934 * string/bits/string3.h: Likewise.
25935 * include/stdio.h: Likewise.
25936 * stdlib/bits/stdlib.h: Likewise.
25937 * stdlib/stdlib.h: Likewise.
25938 * rt/bits/mqueue2.h: Likewise.
25939 * rt/mqueue.h: Likewise.
25940 * posix/bits/unistd.h: Likewise.
25941 * posix/unistd.h: Likewise.
25942 * io/bits/poll2.h: Likewise.
25943 * io/bits/fcntl2.h: Likewise.
25944 * io/fcntl.h: Likewise.
25945 * io/sys/poll.h: Likewise.
25946 * misc/bits/syslog.h: Likewise.
25947 * misc/bits/syslog-ldbl.h: Likewise.
25948 * misc/sys/syslog.h: Likewise.
25949 * socket/bits/socket2.h: Likewise.
25950 * socket/sys/socket.h: Likewise.
25951 * debug/tst-chk1.c: Likewise.
25952 * wcsmbs/bits/wchar2.h: Likewise.
25953 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25954 * wcsmbs/wchar.h: Likewise.
25955
ecf0ebfb
AJ
259562012-04-29 Andreas Jaeger <aj@suse.de>
25957
25958 * Makerules (tests): Remove enable-check-abi protection.
25959 (check-abi-warn): Remove.
25960 (check-abi-%): Remove check-abi-warn usage.
25961
25962 * configure.in: Remove check-abi configure option.
25963 * configure: Regenerated.
25964 * config.make.in (enable-check-abi): Remove.
25965
6d5c57fa
AS
259662012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25967
24c5d07e 25968 [BZ #14033]
ded5180a
AS
25969 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25970 double functions to double *_finite functions.
25971
7e0d315d
AS
25972 [BZ #13941]
25973 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25974 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25975 LDBL_MIN_EXP.
25976 * stdio-common/Makefile (tests): Add tst-sprintf3.
25977 * stdio-common/tst-sprintf3.c: New file.
25978
6d5c57fa
AS
25979 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25980 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25981
0749ff8b
JM
259822012-04-28 Joseph Myers <joseph@codesourcery.com>
25983
25984 * conform/conformtest.pl: Remove duplicate typed-constant
25985 handling.
25986
8dbd5d7b
DM
259872012-04-28 David S. Miller <davem@davemloft.net>
25988
25989 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25990 (check-abi-%): Remove AWK script prerequisite and explicit
25991 abilist directory.
25992 (check-abi): Rewrite to just diff the symlist with the abilist.
25993 (config-tls, config-abi-config): Delete, no longer used.
25994 (update-abi-%): Remove AWK script and explicit abilist directory.
25995 (update-abi): Rewrite to simply compare and conditionally copy the
25996 symlist and the sysdep abilist file. Remove update-abi-config
25997 checks.
25998 * abilist/ld.abilist: Remove.
25999 * abilist/libBrokenLocale.abilist: Remove.
26000 * abilist/libanl.abilist: Remove.
26001 * abilist/libcrypt.abilist: Remove.
26002 * abilist/libdl.abilist: Remove.
26003 * abilist/librt.abilist: Remove.
26004 * abilist/libthread_db.abilist: Remove.
26005 * abilist/libutil.abilist: Remove.
26006 * scripts/extract-abilist.awk: Remove.
26007 * scripts/merge-abilist.awk: Remove.
26008 * sysdeps/generic/libcidn.abilist: New file.
26009 * sysdeps/generic/libnss_compat.abilist: New file.
26010 * sysdeps/generic/libnss_db.abilist: New file.
26011 * sysdeps/generic/libnss_dns.abilist: New file.
26012 * sysdeps/generic/libnss_files.abilist: New file.
26013 * sysdeps/generic/libnss_hesiod.abilist: New file.
26014 * sysdeps/generic/libnss_nis.abilist: New file.
26015 * sysdeps/generic/libnss_nisplus.abilist: New file.
26016 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26017 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26018 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26019 file.
26020 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26021 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26022 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26023 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26024 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26025 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26026 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26027 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26028 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26029 file.
26030 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26031 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26032 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26033 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26034 file.
26035 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26036 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26037 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26038 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26039 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26040 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26041 file.
26042 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26043 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26044 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26045 file.
26046 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26048 New file.
26049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26050 New file.
26051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26052 New file.
26053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26054 New file.
26055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26056 New file.
26057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26058 New file.
26059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26060 New file.
26061 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26062 New file.
26063 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26064 New file.
26065 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26066 New file.
26067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26068 New file.
26069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26070 New file.
26071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26072 New file.
26073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26074 file.
26075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26076 New file.
26077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26078 New file.
26079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26080 file.
26081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26082 New file.
26083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26084 New file.
26085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26086 file.
26087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26088 New file.
26089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26090 New file.
26091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26092 New file.
26093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26094 New file.
26095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26096 New file.
26097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26098 New file.
26099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26101 file.
26102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26103 New file.
26104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26105 file.
26106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26107 file.
26108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26109 file.
26110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26111 file.
26112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26113 file.
26114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26115 New file.
26116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26117 file.
26118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26119 file.
26120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26121 New file.
26122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26123 file.
26124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26126 file.
26127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26128 New file.
26129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26130 file.
26131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26132 file.
26133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26134 file.
26135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26136 file.
26137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26138 file.
26139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26140 New file.
26141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26142 file.
26143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26144 file.
26145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26146 New file.
26147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26148 file.
26149 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26150 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26151 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26152 file.
26153 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26154 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26155 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26156 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26157 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26158 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26159 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26160 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26161 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26162 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26165 file.
26166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26167 New file.
26168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26169 file.
26170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26171 file.
26172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26173 file.
26174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26175 file.
26176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26177 file.
26178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26179 New file.
26180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26181 New file.
26182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26183 file.
26184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26185 New file.
26186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26187 file.
26188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26190 file.
26191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26192 New file.
26193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26194 file.
26195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26196 file.
26197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26198 file.
26199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26200 file.
26201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26202 file.
26203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26204 New file.
26205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26206 New file.
26207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26208 file.
26209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26210 New file.
26211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26212 file.
26213
41d73a1b
JM
262142012-04-28 Joseph Myers <joseph@codesourcery.com>
26215
26216 * conform/conformtest.pl: Fix typo in handling typed-constant from
26217 allow-header.
26218
28aeeda4
JM
262192012-04-27 Joseph Myers <joseph@codesourcery.com>
26220
adae8f5e
JM
26221 * README: Cut down references to pre-2.6 Linux kernels and
26222 Linuxthreads. Update lists of configurations in libc and ports
26223 and sort alphabetically. Say "or newer" with Linux kernel version
26224 requirements.
26225
28aeeda4
JM
26226 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26227
a462cb63
RA
262282012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26229
26230 [BZ #887]
26231 * math/libm-test.inc (logb_test_downward): New test to expose
26232 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26233 rounding mode.
26234
6ad3493e
JM
262352012-04-27 Joseph Myers <joseph@codesourcery.com>
26236
26237 [BZ #14027]
26238 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26239 to be done.
26240 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26241 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26242
2ce4f015
JM
262432012-04-26 Joseph Myers <joseph@codesourcery.com>
26244
5aeb141a
JM
26245 * sysdeps/unix/i386/brk.S: Remove file.
26246 * sysdeps/unix/i386/dl-brk.S: Likewise.
26247 * sysdeps/unix/i386/pipe.S: Likewise.
26248 * sysdeps/unix/i386/sigreturn.S: Likewise.
26249 * sysdeps/unix/i386/syscall.S: Likewise.
26250 * sysdeps/unix/i386/vfork.S: Likewise.
26251 * sysdeps/unix/i386/wait.S: Likewise.
26252
7143acae
JM
26253 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26254 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26255
2ce4f015
JM
26256 * configure.in (arm*-none*): Do not allow without
26257 --enable-hacker-mode.
26258 (netbsd*): Remove case setting base_os.
26259 (386bsd*): Likewise.
26260 (freebsd*): Likewise.
26261 (bsdi*): Likewise.
26262 (osf*): Likewise.
26263 (sunos*): Likewise.
26264 (ultrix*): Likewise.
26265 (newsos*): Likewise.
26266 (dynix*): Likewise.
26267 (*bsd*): Likewise.
26268 (sysv*): Likewise.
26269 (isc*): Likewise.
26270 (esix*): Likewise.
26271 (sco*): Likewise.
26272 (minix*): Likewise.
26273 (irix4*): Likewise.
26274 (irix6*): Likewise.
26275 (solaris[2-9]*): Likewise.
26276 (none): Likewise.
26277 * configure: Regenerated.
26278
0ac229c8
AZ
262792012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26280
26281 [BZ #11521]
26282 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26283 overflow or cancellation in calculating denominator.
26284 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26285 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26286 down expression to avoid unexpected rounding in newer GCCs.
26287 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26288
33f244f4
DM
262892012-04-26 David S. Miller <davem@davemloft.net>
26290
26291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26292 long-double compat symbols.
26293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26306
cfa1f3e8
DM
263072012-04-25 David S. Miller <davem@davemloft.net>
26308
26309 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26310 HWCAP_* values only after the memory barriers have been defined.
26311 (atomic_full_barrier): Define.
26312 (atomic_read_barrier): Define.
26313 (atomic_write_barrier): Define.
26314
6e236b92
SP
263152012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26316
26317 * shlib-versions: Add libgcc_s version information.
26318 * sysdeps/generic/libgcc_s.h: Remove.
26319 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26320 libgcc_s.h.
26321 * sysdeps/gnu/unwind-resume.c: Likewise.
26322 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26323
aab39a09
DM
263242012-04-25 David S. Miller <davem@davemloft.net>
26325
26326 * sysdeps/unix/sparc/brk.S: Delete.
26327 * sysdeps/unix/sparc/dl-brk.S: Delete.
26328 * sysdeps/unix/sparc/pipe.S: Delete.
26329 * sysdeps/unix/sparc/sysdep.S: Delete.
26330 * sysdeps/unix/sparc/sysdep.h: Delete.
26331 * sysdeps/unix/sparc/vfork.S: Delete.
26332 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26333 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26334 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26335 ret_ERRVAL, r0, r1, MOVE): Define.
26336 (JUMPTARGET): Remove.
26337 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26338 sysdeps/unix/sparc/sysdep.h
26339 (ENTRY, END): Remove.
26340 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26341
a3cc4f48
JM
263422012-04-25 Joseph Myers <joseph@codesourcery.com>
26343
2ed8cda2
JM
26344 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26345 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26346 -DIS_IN_build.
26347
35d76d59
JM
26348 * timezone/README: Update upstream location and email address for
26349 tzcode and tzdata.
26350 * timezone/zdump.c: Update from tzcode 2012b.
26351 * timezone/zic.c: Likewise.
26352
a3cc4f48
JM
26353 * configure.in (libc_cv_as_needed): Remove test.
26354 * configure: Regenerated.
26355 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26356 conditional definition.
26357 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26358 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26359 * config.make.in (have-as-needed): Remove variable.
26360
ceab42c3
SP
263612012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26362 Paul Pluzhnikov <ppluzhnikov@google.com>
26363
26364 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26365 strings correctly.
26366
3ce2865f
CLT
263672012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26368
26369 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26370 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26371 * sysdeps/sh/strlen.S: Likewise.
26372
f37e0d68
JM
263732012-04-24 Joseph Myers <joseph@codesourcery.com>
26374
ae186e9a
JM
26375 * sysdeps/unix/fork.S: Remove file.
26376 * sysdeps/unix/i386/fork.S: Likewise.
26377 * sysdeps/unix/sparc/fork.S: Likewise.
26378
b96914af
JM
26379 * sysdeps/unix/system.c: Remove file.
26380 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26381
f37e0d68
JM
26382 * sysdeps/unix/getegid.S: Remove file.
26383 * sysdeps/unix/geteuid.S: Likewise.
26384
87ef29ca
RM
263852012-04-24 Roland McGrath <roland@hack.frob.com>
26386
83bcd236
RM
26387 * scripts/check-localplt.awk: New file.
26388 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26389 of diff.
26390 * scripts/data/localplt-generic.data: Add a comment.
26391
87ef29ca
RM
26392 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26393 NODE when __dir_mkfile failed.
26394 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26395 Reported by Ludovic Courtès <ludo@gnu.org>.
26396
e5a6e567
AJ
263972012-04-24 Andreas Jaeger <aj@suse.de>
26398
26399 * Makerules (common-clean): Also remove gen-as-const-headers
26400 files.
26401
c1820385
JM
264022012-04-24 Joseph Myers <joseph@codesourcery.com>
26403
26404 * Makerules (native-compile): Do not change working directory for
26405 build. Use $(OUTPUT_OPTION) in command.
26406 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26407
94e02fc4
AZ
264082012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26409
26410 [BZ #13886]
26411 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26412 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26413 * math/libm-test.inc (floor_test): Add more tests.
26414 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26415
3a533ca3
JM
264162012-04-24 Joseph Myers <joseph@codesourcery.com>
26417
940ab4b3
JM
26418 * sysdeps/unix/getdents.c: Remove file.
26419 * sysdeps/unix/sysv/getdents.c: Likewise.
26420 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26421
90e037bd
JM
26422 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26423 sysdeps/unix/mman/syscalls.list.
26424 (mmap): Likewise.
26425 (mprotect): Likewise.
26426 (msync): Likewise.
26427 (munmap): Likewise.
26428 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26429 * sysdeps/unix/mman/syscalls.list: Remove.
26430 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26431
3a533ca3
JM
26432 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26433 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26434 * configure: Regenerated.
26435 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26436 $(libgcc_s_suffix).
26437 * config.make.in (libgcc_s_suffix): Remove variable.
26438
1ad743de
JM
264392012-04-23 Joseph Myers <joseph@codesourcery.com>
26440
4ad451e2
JM
26441 * sysdeps/unix/sysv/gethostname.c: Move to ...
26442 * sysdeps/posix/gethostname.c: ... here.
26443
5e37ce39
JM
26444 * sysdeps/unix/execve.S: Remove file.
26445
1ad743de
JM
26446 * sysdeps/unix/_exit.S: Remove file.
26447
4e681b5b
AJ
264482012-04-23 Andreas Jaeger <aj@suse.de>
26449
26450 [BZ #13739]
26451 * manual/Makefile: Remove make dist support, there's no
26452 need for a stand-alone documentation tar ball.
26453 (TEXI2DVI): Define always, it's not in Makeconfig.
26454 (dist): Removed.
26455 (tar-it): Removed.
26456 (edition): Removed.
26457 (glibc-doc-$(edition).tar): Removed
26458 (%.Z): Removed.
26459 (%.gz): Removed.
26460 (%.uu): Removed.
26461 (ETAGS): Remove, it's in Makeconfig.
26462 (move-if-change): Remove, it's in Makeconfig.
26463
38686a03 264642012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
26465
26466 [BZ #13970]
26467 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26468 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26469 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26470 (strtod_l, strtof_l, strtold_l): Remove __wur.
26471 It is not necessarily an error to ignore strtol's return value.
26472 One can reliably look at the stored endptr to decide whether
26473 the number had valid syntax.
26474
7c0616fa
AJ
264752012-04-21 Andreas Jaeger <aj@suse.de>
26476
803cb6b7 26477 [BZ #13739]
7c0616fa
AJ
26478 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26479
b0fe253f
JM
264802012-04-21 Joseph Myers <joseph@codesourcery.com>
26481
26482 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26483 * sysdeps/unix/sysv/Versions: Remove file.
26484
8280f22d
MT
264852012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26486
26487 [BZ #13927]
26488 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26489
75ce411f 264902012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
26491
26492 [BZ #7064]
26493 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26494 version from __vm86.
26495
097d59fa
JM
264962012-04-20 Joseph Myers <joseph@codesourcery.com>
26497
a90f3bcb
JM
26498 * sysdeps/unix/common/lxstat.c: Remove file.
26499 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26500
edc7ea78
JM
26501 * sysdeps/unix/sysv/Makefile: Remove file.
26502
cb78c221
JM
26503 * sysdeps/unix/sysv/direct.h: Remove file.
26504
efa6a45f
JM
26505 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26506 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26507 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26508 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26509 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26510 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26511 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26512
9c9f2d0c
JM
26513 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26514
4541c83b
JM
26515 * sysdeps/unix/xmknod.c: Remove file.
26516 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26517
f5d153a0
JM
26518 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26519
aa746595
JM
26520 * sysdeps/unix/sysv/i386/time.S: Remove file.
26521
cce5905e
JM
26522 * sysdeps/unix/fxstat.c: Remove file.
26523 * sysdeps/unix/xstat.c: Likewise.
26524 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26525
37fa3841
JM
26526 * sysdeps/unix/sysv/sigaction.c: Remove file.
26527
ff1962a3
JM
26528 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26529 (sysdep_headers): Remove variable.
26530 [termio.h not in sysdep_headers] (generated): Likewise.
26531 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26532 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26533 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26534 * sysdeps/unix/sysv/tcflow.c: Likewise.
26535 * sysdeps/unix/sysv/tcflush.c: Likewise.
26536 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26537 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26538 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26539 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26540 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26541
e7740d31
JM
26542 * sysdeps/unix/siglist.c: Remove file.
26543
ee06f18b
JM
26544 * sysdeps/unix/getppid.S: Remove file.
26545
097d59fa
JM
26546 * sysdeps/unix/mkdir.c: Remove file.
26547 * sysdeps/unix/rmdir.c: Likewise.
26548
ff3d51ec
AS
265492012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26550
26551 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26552 ERR_MAX value.
26553 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26554 errlist-compat value.
26555
50f81fd7
DM
265562012-04-18 David S. Miller <davem@davemloft.net>
26557
26558 * sysdeps/generic/memcopy.h (reg_char): Delete.
26559 * debug/strcat_chk.c: Use char, not reg_char.
26560 * debug/strcpy_chk.c: Likewise.
26561 * debug/strncat_chk.c: Likewise.
26562 * debug/strncpy_chk.c: Likewise.
26563 * string/memchr.c: Likewise.
26564 * string/memrchr.c: Likewise.
26565 * string/rawmemchr.c: Likewise.
26566 * string/strcat.c: Likewise.
26567 * string/strchr.c: Likewise.
26568 * string/strchrnul.c: Likewise.
26569 * string/strcmp.c: Likewise.
26570 * string/strcpy.c: Likewise.
26571 * string/strncat.c: Likewise.
26572 * string/strncmp.c: Likewise.
26573 * string/strncpy.c: Likewise.
26574
8ff41c46
WS
265752012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26576
26577 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26578 __builtin_memcopy is called when src and dest ranges are known to not
26579 overlap.
26580
6b652f46
WS
265812012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26582
26583 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26584 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26585 fwd_align_merge macro call.
26586 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26587 bwd_align_merge macro call.
26588 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26589
b282631e
WS
265902012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26591
26592 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26593 bwd_align_merge macros.
26594 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26595 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26596 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26597
95aa737c
DM
265982012-04-18 David S. Miller <davem@davemloft.net>
26599
26600 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26601
7a99a614
AJ
266022012-04-18 Andreas Jaeger <aj@suse.de>
26603
26604 [BZ# 6794]
26605 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26606 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26607 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26608
26609 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26610 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26611 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26612
26613 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26614 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26615 Adjust for changed ldbl-128 files.
26616
26617 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26618 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26619 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26620
e5270c23
DM
266212012-04-17 David S. Miller <davem@davemloft.net>
26622
26623 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26624
fb5e92c9
AS
266252012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26626
26627 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26628 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26629 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26630 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26631 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26632 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26633
76da7265
AZ
266342012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26635
26636 [BZ #6794]
26637 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26638 * math/libm-test.inc: Add ilogb errno and exception tests.
26639 * math/w_ilogb.c: New file: ilogb wrapper.
26640 * math/w_ilogbf.c: New file: ilogbf wrapper.
26641 * math/w_ilogbl.c: New file: ilogbl wrapper.
26642 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26643 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26644 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26645 exception being thrown with 0.0 as argument.
26646 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26647 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26648 exception being thrown with 0.0 as argument.
26649 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26650 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26651 exception being thrown with 0.0 as argument.
26652 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26653 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26654 exception being thrown with 0.0 as argument.
26655 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26656 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 26657 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
26658 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26659 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26660 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26661 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26662 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26663 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26664
0396e69d
PB
266652012-04-17 Petr Baudis <pasky@ucw.cz>
26666
26667 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26668 with altivec.
26669
750b5926
MP
266702012-04-16 Marek Polacek <polacek@redhat.com>
26671
26672 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26673
751728a1
MP
266742012-04-16 Marek Polacek <polacek@redhat.com>
26675
26676 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26677 operands of fdivp instruction.
26678
34a27407
L
266792012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26680
26681 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26682 * elf/tst-auditmod3b.c: Likewise.
26683 * elf/tst-auditmod4b.c: Likewise.
26684 * elf/tst-auditmod5b.c: Likewise.
26685 * elf/tst-auditmod6b.c: Likewise.
26686 * elf/tst-auditmod6c.c: Likewise.
26687 * elf/tst-auditmod7b.c: Likewise.
26688 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26689 * sysdeps/x86_64/preconfigure.in: Likewise.
26690 * sysdeps/x86_64/preconfigure: Regenerated.
26691
7e73e17d
L
266922012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26693
26694 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26695 __ILP32__.
26696
c7a6ab72
AB
266972012-04-13 Antoine Balestrat <merkil33@gmail.com>
26698
26699 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26700 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26701
a9e8e0e0
CL
267022012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26703
26704 [BZ #13973]
26705 * locale/iso-639.def: Fix gl language name. Spotted by
26706 Yaron Shahrabani.
26707
ec98af7d
RM
267082012-04-12 Roland McGrath <roland@hack.frob.com>
26709
26710 [BZ #2074]
26711 * libio/libio.h (__io_write_fn): Update comment.
26712
247c3ede
PB
267132012-04-12 Petr Baudis <pasky@ucw.cz>
26714
26715 [BZ #2074]
26716 * stdio.texi (Hook Functions): The user provided writer function
26717 is not allowed to return -1.
26718
55939d6d
DM
267192012-04-11 David S. Miller <davem@davemloft.net>
26720
26721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26722
90020f5a
MF
267232012-04-11 Mike Frysinger <vapier@gentoo.org>
26724
26725 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26726 Add a leading slash to rtkaio.
26727
288f9098
JM
267282012-04-11 Jim Meyering <meyering@redhat.com>
26729
90020f5a
MF
26730 [BZ #11959]
26731 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26732 It is not necessarily an error to ignore fwrite's return
26733 value. One can reliably use ferror to test for errors after
26734 the fact.
288f9098 26735
4be2b570
L
267362012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26737
26738 * bits/types.h (__snseconds_t): New type.
26739 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26740
26741 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26742 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26743 (__SNSECONDS_T_TYPE): Likewise.
26744 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26745 (__SNSECONDS_T_TYPE): Likewise.
26746 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26747 (__SNSECONDS_T_TYPE): Likewise.
26748
288f9098 267492012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
26750
26751 [BZ #2636]
26752 * manual/time.texi (Processor Time): Return type of times is
26753 elapsed real time since an arbitrary point in the past.
26754 (CPU Time): Move CLK_TCK from here...
26755 (Processor Time): ...to here. Correct description.
26756 * manual/conf.texi (Constants for Sysconf): Correct description of
26757 _SC_CLK_TCK.
26758
d7dd4413
DM
267592012-04-10 David S. Miller <davem@davemloft.net>
26760
26761 [BZ #13967]
26762 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26763 where the is a gap between DT_REL(A) and DT_JMPREL.
26764
b46068fc
L
267652012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26766
26767 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26768 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26769 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26770
73d65cc3
SP
267712012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26772
26773 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26774 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26775 (dl_main): Handle --inhibit-cache.
26776 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26777 _dl_inhibit_cache.
26778 * elf/dl-load.c (_dl_map_object): Use it.
26779 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26780
bcc8d661
JM
267812012-04-09 Joseph Myers <joseph@codesourcery.com>
26782
8f9a2fae
JM
26783 [BZ #13872]
26784 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26785 (__ieee754_powl): Saturate large exponents rather than testing for
26786 overflow of y*log2(x).
26787 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26788 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26789 exceptions.
26790
bcc8d661
JM
26791 [BZ #11521]
26792 * math/s_ctan.c: Include <float.h>.
26793 (__ctan): Avoid internal overflow or cancellation in calculating
26794 denominator.
26795 * math/s_ctanf.c: Likewise.
26796 * math/s_ctanl.c: Likewise.
26797 * math/s_ctanh.c: Likewise.
26798 * math/s_ctanhf.c: Likewise.
26799 * math/s_ctanhl.c: Likewise.
26800 * math/libm-test.inc (ctan_test): Add more tests.
26801 (ctanh_test): Likewise.
26802 * sysdeps/i386/fpu/libm-test-ulps: Update.
26803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26804
823fbbb4
AJ
268052012-04-09 Andreas Jaeger <aj@suse.de>
26806
03879793
AJ
26807 [BZ #6894]
26808 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26809 is an optional BSD extension.
26810
823fbbb4
AJ
26811 [BZ #10254]
26812 * manual/stdio.texi (Opening Streams): Document additional fopen
26813 parameters.
26814
8de131cb
RM
268152012-04-09 Roland McGrath <roland@hack.frob.com>
26816
26817 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26818 %eax without telling the compiler.
26819
c0ed9d7d
CD
268202012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26821
26822 [BZ # 13963]
26823 * manual/install.texi: Use sourceware.org.
26824
c483f6b4
JM
268252012-04-09 Joseph Myers <joseph@codesourcery.com>
26826
d7dd9453
JM
26827 [BZ #13873]
26828 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26829 (__ieee754_pow): Generate overflow and underflow using huge*huge
26830 and tiny*tiny rather than just returning constant infinity or zero
26831 for large exponents.
26832 * math/libm-test.inc (pow_test): Require overflow exceptions for
26833 applicable cases of large exponents.
26834
c483f6b4
JM
26835 [BZ #706]
26836 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26837 (__ieee754_pow): Use iterative multiplication algorithm only for
26838 integer exponents with absolute value below 1024. Check for odd
26839 integer exponents when using algorithm for real exponents.
26840 * math/libm-test.inc (pow_test): Add more tests.
26841 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26842
d2de7579
JM
268432012-04-08 Joseph Myers <joseph@codesourcery.com>
26844
26845 [BZ #13705]
26846 * math/libm-test.inc (exp_test): Do not allow overflow exception
26847 on underflow test.
26848
f77f1232
AJ
268492012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26850
26851 [BZ #13705]
26852 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26853 instead of __kernel_standard_f.
26854
3884932b
MF
268552012-04-08 Mike Frysinger <vapier@gentoo.org>
26856
26857 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26858 * sysdeps/x86_64/memset_chk.S: Likewise.
26859
54472e9c
AJ
268602012-04-08 Andreas Jaeger <aj@suse.de>
26861
6ab0fbfc
AJ
26862 [BZ #10153]
26863 * manual/startup.texi (Environment Access): Describe return value
26864 for putenv and setenv.
26865
61efba8c
AJ
26866 [BZ #6895]
26867 * manual/filesys.texi (Directory Entries): Add description for
26868 DT_LNK.
26869
95c3f29a
AJ
26870 [BZ #6890]
26871 * manual/filesys.texi (Directory Entries): Clarify that it's file
26872 system not operating system in the description of DT_UNKNOWN.
26873
54472e9c
AJ
26874 [BZ #6578]
26875 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26876
624254b1
SC
268772012-04-08 Stephen Compall <s11@member.fsf.org>
26878
26879 [BZ #6649]
26880 * manual/llio.texi (Opening and Closing Files): Add cross
26881 reference to explain mode argument.
26882
1e4920e0
MF
268832012-04-07 Mike Frysinger <vapier@gentoo.org>
26884
26885 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26886 * sysdeps/x86_64/memset_chk.S: Likewise.
26887
5ed848f3
DM
268882012-04-07 David S. Miller <davem@davemloft.net>
26889
26890 * elf/elf.h (R_SPARC_WDISP10): Define.
26891 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26892 R_SPARC_SIZE32.
26893 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26894 R_SPARC_SIZE64 and R_SPARC_H34.
26895
96154cd8
CD
268962012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26897
26898 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26899 conditions and remove no longer applicable assertion.
26900
9904dc47
L
269012012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26902
26903 * bits/byteswap.h: Include <features.h>.
26904 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26905 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26906
f8887d0a
L
269072012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26908
26909 * bits/byteswap.h (__bswap_16): Removed.
26910 Include <bits/byteswap-16.h> to get __bswap_16.
26911 * sysdeps/i386/bits/byteswap.h: Likewise.
26912 * sysdeps/s390/bits/byteswap.h: Likewise.
26913 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26914 * bits/byteswap-16.h: New file.
26915 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26916 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26917 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26918 * string/Makefile (headers): Add bits/byteswap-16.h.
26919
62470f60
PP
269202012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26921
26922 [BZ #13895]
26923 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26924 extra indirection.
26925 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26926 * nss/tst-nss-static.c: New.
26927
4dad7bab
RM
269282012-04-06 Robert Millan <rmh@gnu.org>
26929
26930 [BZ #6486]
26931 * manual/llio.texi (File Position Primitive): lseek
26932 refers to WHENCE when it really means OFFSET.
26933
e9142a17
AJ
269342012-04-06 Andreas Jaeger <aj@suse.de>
26935
2c040eff
AJ
26936 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26937 strncmp declarations.
26938
e9142a17
AJ
26939 * abilist/libc.abilist: Add __poll and __ppoll.
26940
ff9f1c5f
DM
269412012-04-05 David S. Miller <davem@davemloft.net>
26942
dcd2ae90
DM
26943 * scripts/check-local-headers.sh: Accept a host triplet in the
26944 path matched by the exclude regexp.
26945
993eb054
DM
26946 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26947 definition.
26948 * sysdeps/powerpc/powerpc32/dl-machine.h
26949 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26950 * sysdeps/s390/s390-32/dl-machine.h
26951 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26952 * sysdeps/sparc/sparc32/dl-machine.h
26953 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26954 * sysdeps/sparc/sparc64/dl-machine.h
26955 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26956
ff9f1c5f
DM
26957 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26958 lazy binding.
48e2e132 26959 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
26960 undefined symbol errors.
26961
48e2e132 26962 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
26963 DT_NEEDED entries.
26964
e80d6f94
MM
269652012-04-05 Michael Matz <matz@suse.de>
26966
26967 [BZ #13592]
26968 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26969
349fa79f
AJ
269702012-04-05 Andreas Jaeger <aj@suse.de>
26971
26972 [BZ #13908]
26973 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26974 comment.
26975
f402708f
KK
269762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26977
26978 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26979 which ROUND is no valid rounding mode.
26980
2ecccfc9
KK
269812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26982
26983 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26984 read again.
26985 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26986
8a53f50f
KK
269872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26988
26989 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26990 an exception using FPU order intentionally.
26991
269922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26993
26994 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26995 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26996 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26997 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26998
d653abb7
SJ
269992012-04-05 Simon Josefsson <simon@josefsson.org>
27000
27001 [BZ #12340]
27002 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27003 EINVAL when BUFLEN is too smal.
27004
c3b1bf7d
TS
270052012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27006
27007 [BZ #13553]
27008 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27009 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27010
b1aa60f3
AJ
270112012-04-03 Andreas Jaeger <aj@suse.de>
27012
c3b1bf7d 27013 [BZ #13938]
67f60a26
AJ
27014 * manual/setjmp.texi (System V contexts): Fix sentence.
27015
b1aa60f3
AJ
27016 [BZ #13926]
27017 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27018 New macro for this case.
27019 [!__GNUC__] (__bswap_64): New inline function for this case.
27020 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27021 * bits/byteswap.h: Likewise.
27022 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27023 ull, guard with __GLIBC_HAVE_LONG_LONG.
27024
27025 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27026 __GLIBC_HAVE_LONG_LONG.
27027
27028 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27029 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27030
39c59c35
TMQMF
270312012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27032
27033 [BZ #13691]
27034 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27035 inptr and inend, rather than using last_ch.
27036
135ffda8
DM
270372012-04-02 David S. Miller <davem@davemloft.net>
27038
27039 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27040 * stdio-common/printf-parse.h (read_int): Change return type to
27041 'int', return -1 on INT_MAX overflow.
27042 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27043 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27044 overflows INT_MAX. Check for overflow of in-format-string precision
27045 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27046 SIZE_MAX not INT_MAX for integer overflow test.
27047 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27048 skip the construct in the format string but do not record anything.
27049 * stdio-common/bug22.c: Adjust to test both width/prevision
27050 INT_MAX overflow as well as total length INT_MAX overflow. Check
27051 explicitly for proper errno values.
27052
228c019e
TS
270532012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27054
302cadd3
TS
27055 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27056 CHAR_MAX.
27057 * string/test-strcmp.c [! WIDE]: Likewise.
27058 * time/tst-mktime2.c: Likewise for INT_MAX.
27059 * string/test-string.h: #include <sys/param.h> for MIN.
27060
228c019e
TS
27061 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27062 * sysdeps/i386/init-first.c (init): Likewise.
27063 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27064 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27065 * sysdeps/sh/init-first.c (init): Likewise.
27066
cfa633f5
UD
270672012-04-01 Ulrich Drepper <drepper@gmail.com>
27068
27069 * po/ru.po: Update from translation team.
d1635ef8 27070 * po/vi.po: Likewise.
cfa633f5 27071
6cd0a5ea
SP
270722012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27073
27074 * resolv/nss_dns/dns-host.c: Merge copyright years.
27075
4b43400f
LD
270762012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27077
27078 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27079 Optimize memcpy with prefetch if
27080 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27081 src, dst pointers have unequal 16 byte alignments.
27082
48c41d04
SP
270832012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27084
27085 [BZ #13928]
27086 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27087 from a CNAME entry and return the minimum ttl for the query.
27088 (gaih_getanswer_slice): Likewise.
27089
b8dc394d
JL
270902012-03-30 Jeff Law <law@redhat.com>
27091
27092 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27093 due to long keys.
27094 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27095 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27096
2f5a5ed0
JL
27097 * resolv/nss_dns/dns-host.c: Update copyright year.
27098
1d39e359
UD
270992012-03-30 Ulrich Drepper <drepper@gmail.com>
27100
c030f70c 27101 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 27102 requests to save a system call. Fix check that all bytes are sent.
c030f70c 27103
1d39e359
UD
27104 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27105 comments for sendmmsg.
27106
271072012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
27108
27109 [BZ #13691]
27110 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27111 with only 1 character between 0x0041 and 0x01b0.
27112 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27113 * wcsmbs/tst-mbsnrtowcs.c: New file.
27114
20fde227
DM
271152012-03-29 David S. Miller <davem@davemloft.net>
27116
27117 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27118 small copies by hand.
27119
984a4237
JL
271202012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27121
27122 [BZ #13761]
27123 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27124 _nss_compat_initgroups_dyn): Fall back to malloc/free
27125 for large group memberships.
27126
18c9d62b
DM
271272012-03-28 David S. Miller <davem@davemloft.net>
27128
88d85d4f
DM
27129 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27130 that branches into memcpy.
27131 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27132 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27133 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27134 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27135 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27136 bits.
27137 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27138 implementation too.
27139 * sysdeps/sparc/mempcpy.S: New file.
27140
e5aa83e1
DM
27141 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27142 the IFUNC routine in the libc case.
27143 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27144
88570753
DM
27145 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27146 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27147 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27148 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27149 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27150 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27151 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27152 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27153
249d7567
DM
27154 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27155 loop to 256 bytes instead of 64 bytes and fix test signedness.
27156
18c9d62b
DM
27157 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27158 * sysdeps/sparc/sparc32/Makefile: rather than here...
27159 * sysdeps/sparc/sparc64/Makefile: and here.
27160
05f3d1f6
UD
271612012-03-28 Ulrich Drepper <drepper@gmail.com>
27162
27163 * malloc/mallocbug.c: Avoid warnings about unused variables.
27164
86ae07a8
JL
271652012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27166
27167 [BZ #13760]
27168 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27169 in the right place. Discard and retry query if response is
27170 larger than input buffer size.
27171
41bf21a1
JM
271722012-03-28 Joseph Myers <joseph@codesourcery.com>
27173
d6270972
JM
27174 [BZ #369]
27175 [BZ #2678]
27176 [BZ #3866]
27177 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27178 x for large integer exponent.
27179 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27180 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27181 sign of result as needed afterwards.
27182 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27183 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27184 result for underflowing pow the same as for overflow.
27185 (__kernel_standard_l): Handle powl overflow and underflow here
27186 rather than calling __kernel_standard.
27187 * math/libm-test.inc (pow_test): Add more tests.
27188
414fca03 27189 [BZ #3868]
41bf21a1
JM
27190 [BZ #13879]
27191 [BZ #13910]
27192 [BZ #13911]
27193 [BZ #13912]
27194 [BZ #13913]
27195 [BZ #13915]
27196 [BZ #13916]
27197 [BZ #13917]
27198 [BZ #13918]
27199 [BZ #13919]
27200 [BZ #13920]
27201 [BZ #13921]
27202 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27203 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27204 (__kernel_standard_l): New function.
27205 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27206 __kernel_standard.
27207 * math/w_acosl.c (__acosl): Likewise.
27208 * math/w_asinl.c (__asinl): Likewise.
27209 * math/w_atan2l.c (__atan2l): Likewise.
27210 * math/w_atanhl.c (__atanhl): Likewise.
27211 * math/w_coshl.c (__coshl): Likewise.
27212 * math/w_exp10l.c (__exp10l): Likewise.
27213 * math/w_exp2l.c (__exp2l): Likewise.
27214 * math/w_fmodl.c (__fmodl): Likewise.
27215 * math/w_hypotl.c (__hypotl): Likewise.
27216 * math/w_j0l.c (__j0l, __y0l): Likewise.
27217 * math/w_j1l.c (__j1l, __y1l): Likewise.
27218 * math/w_jnl.c (__jnl, __ynl): Likewise.
27219 * math/w_lgammal.c (__lgammal): Likewise.
27220 * math/w_log10l.c (__log10l): Likewise.
27221 * math/w_log2l.c (__log2l): Likewise.
27222 * math/w_logl.c (__logl): Likewise.
27223 * math/w_powl.c (__powl): Likewise.
27224 * math/w_remainderl.c (__remainderl): Likewise.
27225 * math/w_scalbl.c (sysv_scalbl): Likewise.
27226 * math/w_sinhl.c (__sinhl): Likewise.
27227 * math/w_sqrtl.c (__sqrtl): Likewise.
27228 * math/w_tgammal.c (__tgammal): Likewise.
27229 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27230 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27231 * math/libm-test.inc (acos_test): Add more tests.
27232 (acosh_test): Likewise.
27233 (asin_test): Likewise.
27234 (atanh_test): Likewise.
27235 (exp_test): Likewise.
27236 (exp10_test): Likewise.
27237 (exp2_test): Likewise.
27238 (expm1_test): Likewise.
27239 (lgamma_test): Likewise.
27240 (log_test): Likewise.
27241 (log10_test): Likewise.
27242 (log1p_test): Likewise.
27243 (log2_test): Likewise.
27244 (pow_test): Do not allow some spurious overflow exceptions.
27245 (sqrt_test): Add more tests.
27246 (tgamma_test): Likewise.
27247 (y0_test): Likewise.
27248 (y1_test): Likewise.
27249 (yn_test): Likewise.
27250
dd62fda6
AB
272512012-03-27 Anton Blanchard <anton@samba.org>
27252
27253 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27254 MAP_HUGETLB.
27255 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27256 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27257 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27258
1e3cdfda
AJ
272592012-03-27 David S. Miller <davem@davemloft.net>
27260
b855ab85
DM
27261 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27262
1e3cdfda
AJ
27263 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27264 have-as-vis3 check.
27265
272662012-03-27 Andreas Jaeger <aj@suse.de>
27267
27268 * sysdeps/x86_64/elf/configure.in: Moved to ...
27269 * sysdeps/x86_64/configure.in: ... here.
27270 * sysdeps/x86_64/elf/start.S: Moved to ...
27271 * sysdeps/x86_64/start.S: ... here.
27272 * sysdeps/x86_64/elf/configure: Delete.
27273
27274 * sysdeps/x86_64/configure.in: Merge contents from
27275 sysdeps/i386/configure.in (without i686 check).
27276
27277 * sysdeps/i386/elf/Versions: Merge into ...
27278 * sysdeps/i386/Versions: ... this.
27279 * sysdeps/i386/elf/Versions: Delete file.
27280 * sysdeps/i386/elf/start.S: Moved to ...
27281 * sysdeps/i386/start.S: ...here.
27282 * sysdeps/i386/elf/configure.in: Merge into...
27283 * sysdeps/i386/configure.in: ...here.
27284 * sysdeps/i386/elf/configure.in: Delete file.
27285 * sysdeps/i386/elf/configure: Delete file.
27286
27287 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27288 * debug/backtracesyms.c: ... here.
27289 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27290 * debug/backtracesymsfd.c: ... here.
27291 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27292 * sysdeps/generic/ifunc-sel.h: ... here.
27293
27294 * sysdeps/unix/i386/start.c: Delete file.
27295 * sysdeps/unix/sparc/start.c: Delete file.
27296 * sysdeps/unix/start.c: Delete file.
27297
27298 * sysdeps/sh/elf/configure.in: Moved to ...
27299 * sysdeps/sh/configure.in: ... here.
27300 * sysdeps/sh/elf/start.S: Moved to ...
27301 * sysdeps/sh/start.S: ... here.
27302 * sysdeps/sh/elf/configure: Delete file.
27303
27304 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27305 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27306 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27307 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27308 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27309 * sysdeps/powerpc/powerpc64/start.S: here.
27310 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27311 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27312 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27313 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27314 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27315
27316 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27317 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27318 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27319 * sysdeps/powerpc/powerpc32/start.S: ... here.
27320 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27321 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27322 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27323
27324 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27325 * sysdeps/powerpc/ifunc-sel.h: ... here.
27326 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27327 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27328
27329 * sysdeps/sparc/elf/configure.in: Moved to ...
27330 * sysdeps/sparc/configure.in: ... here.
27331 * sysdeps/sparc/elf/configure: Delete file.
27332 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27333 * sysdeps/sparc/sparc32/start.S: ... here.
27334 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27335 * sysdeps/sparc/sparc64/start.S: ... here.
27336 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27337 * sysdeps/sparc/sparc32/Makefile: ... this.
27338 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27339 * sysdeps/sparc/sparc64/Makefile: ... this.
27340
27341 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27342 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27343 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27344 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27345 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27346 * sysdeps/s390/s390-32/setjmp.S: ... here.
27347 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27348 * sysdeps/s390/s390-32/configure.in: ... here.
27349 * sysdeps/s390/s390-32/elf/configure: Delete file.
27350 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27351 * sysdeps/s390/s390-32/start.S: ... here.
27352
27353 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27354 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27355 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27356 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27357 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27358 * sysdeps/s390/s390-64/setjmp.S: ... here.
27359 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27360 * sysdeps/s390/s390-64/configure.in: ... here
27361 * sysdeps/s390/s390-64/elf/configure: Delete file.
27362 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27363 * sysdeps/s390/s390-64/start.S: ... here.
27364 * sysdeps/s390/s390-64/elf/configure: Delete.
27365
27366 * configure.in: Remove support for elf directories in sysdeps.
27367
27368 * configure: Regenerated.
27369 * sysdeps/i386/configure: Regenerated.
27370 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27371 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27372 * sysdeps/s390/s390-32/configure: Regenerated.
27373 * sysdeps/s390/s390-64/configure: Regenerated.
27374 * sysdeps/sh/configure: Regenerated.
27375 * sysdeps/sparc/configure: Regenerated.
27376 * sysdeps/x86_64/configure: Regenerated.
27377
a3f61311
AS
273782012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27379
c876e002
AS
27380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27381
a3f61311
AS
27382 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27383 denormal result into account.
27384
ac4c54f0
RM
273852012-03-25 Roland McGrath <roland@hack.frob.com>
27386
27387 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27388 Reported by Allan McRae <allan@archlinux.org>.
27389
6a9b9c02
JL
273902012-03-23 Jeff Law <law@redhat.com>
27391
27392 * nss/getnssent.c (__nss_getent): Fix typo.
27393
4c42a0c1
DM
273942012-03-23 David S. Miller <davem@davemloft.net>
27395
27396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27397
1532c7ac
L
273982012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27399
27400 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27401 to pad to uint64_t for each field.
27402 (dl_tls_index): Replace unsigned long with uint64_t.
27403
3ff42526
PP
274042012-03-23 Daniel Jacobowitz <dmj@google.com>
27405 Paul Pluzhnikov <ppluzhnikov@google.com>
27406
27407 [BZ #6528]
27408 * grp/Makefile (otherlibs): Don't set it.
27409 * inet/Makefile (otherlibs): Likewise.
27410 * login/Makefile (otherlibs): Likewise.
27411 * nscd/Makefile (otherlibs): Likewise.
27412 * posix/Makefile (otherlibs): Likewise.
27413 * pwd/Makefile (otherlibs): Likewise.
27414 * rt/Makefile (otherlibs): Likewise.
27415 * sunrpc/Makefile (otherlibs): Likewise.
27416 * nss/Makefile (otherlibs): Likewise.
27417 Add libnss_files to routines and static-only-routines.
27418 ($(objpfx)getent): Remove rule.
27419 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27420 static-only-routines.
27421
7c69cd14
JM
274222012-03-22 Joseph Myers <joseph@codesourcery.com>
27423
27424 [BZ #13892]
27425 * math/s_cexp.c: Include <float.h>.
27426 (__cexp): Handle exp result overflowing not necessarily
27427 overflowing both real and imaginary parts of result.
27428 * math/s_cexpf.c: Likewise.
27429 * math/s_cexpl.c: Likewise.
27430 * math/libm-test.inc (cexp_test): Add more tests.
27431 * sysdeps/i386/fpu/libm-test-ulps: Update.
27432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27433
81b035fe
L
274342012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27435
27436 * include/link.h (ELFW): New macro.
27437 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27438 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27439
1da7940c
L
274402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27441
27442 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27443 with uint64_t.
27444
b749dbb9
L
274452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27446
27447 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27448 declaration.
27449 (struct La_x32_retval): Likewise.
27450
2ff87f3f
L
274512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27452
27453 * sysdeps/x86_64/preconfigure.in: New file.
27454 * sysdeps/x86_64/preconfigure: New generated file.
27455
c0df8e69
JM
274562012-03-22 Joseph Myers <joseph@codesourcery.com>
27457
48e44791
JM
27458 [BZ #13824]
27459 * math/e_exp2l.c: Include <float.h>.
27460 (__ieee754_exp2l): Handle overflow and underflow cases
27461 separately. Only pass fractional part of argument to
27462 __ieee754_expl.
27463 * math/libm-test.inc (exp2_test): Add more tests.
27464
c0df8e69
JM
27465 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27466 negating x to take absolute value.
27467 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27468 Likewise.
27469 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27470 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27471 Likewise.
27472 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27473 computing low part if x was negated.
27474 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27475
c8e43ba7
L
274762012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27477
27478 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27479 la_x32_gnu_pltexit.
27480 (pltexit): Cast int_retval to ptrdiff_t.
27481 * elf/tst-auditmod3b.c: Likewise.
27482 * elf/tst-auditmod4b.c: Likewise.
27483 * elf/tst-auditmod5b.c: Likewise.
27484 * elf/tst-auditmod6b.c: Likewise.
27485 * elf/tst-auditmod6c.c: Likewise.
27486 * elf/tst-auditmod7b.c: Likewise.
27487
27488 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27489 and x32_gnu_pltexit.
27490
27491 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27492 __ELF_NATIVE_CLASS.
27493 (La_x32_regs): New macro.
27494 (La_x32_retval): Likewise.
27495 (la_x32_gnu_pltenter): New function prototype.
27496 (la_x32_gnu_pltexit): Likewise.
27497
7998fa78
AS
274982012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27499
dcb33988
AS
27500 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27501 exponent.
27502
233fc563
AS
27503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27504
7998fa78
AS
27505 * configure.in (libc_cv_cc_nofma): Check for option to disable
27506 generation of FMA instructions.
27507 * configure: Regenerate.
27508 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27509 * sysdeps/ieee754/dbl-64/Makefile: New file.
27510 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27511 Remove brandred-fma4.
27512 (CFLAGS-brandred-fma4.c): Remove.
27513 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27514 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27515 define.
27516 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27517 define.
27518
8e95c99a
L
275192012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27520
27521 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27522 LLONG_MAX != LONG_MAX.
27523 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27524 (_fitoa_word): Likewise.
27525 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27526 LLONG_MAX != LONG_MAX.
27527 * stdio-common/_itowa.h: Include <_itoa.h>.
27528 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27529 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27530 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27531 only if not defined.
27532 (_ITOA_WORD_TYPE): Likewise.
27533 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27534 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27535
6f4db457
DM
275362012-03-21 David S. Miller <davem@davemloft.net>
27537
27538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27539
7785fe5a
L
275402012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27541
27542 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27543 of x86_64 when setting libc_cv_slibdir, libdir and
27544 libc_cv_localedir.
27545 * sysdeps/unix/sysv/linux/configure: Regenerated.
27546
4535cd55
JM
275472012-03-21 Joseph Myers <joseph@codesourcery.com>
27548
27549 * manual/lang.texi (Old Varargs): Remove section.
27550 (How Variadic): Update menu.
27551 (va_start): Do not mention varargs.h.
27552
17228132
TS
275532012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27554 Joseph Myers <joseph@codesourcery.com>
27555
27556 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27557 link test.
27558 * configure: Regenerated.
27559
8149f976
TS
275602012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27561
05f3d1f6
UD
27562 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27563 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27564 conformtest.pl
8149f976 27565
1a4ac776
JM
275662012-03-21 Joseph Myers <joseph@codesourcery.com>
27567
be22ce65
JM
27568 * NOTES: Remove.
27569 * Makefile (files-for-dist): Remove NOTES.
27570 (NOTES): Remove rule.
27571 * README: Don't refer to NOTES.
27572 * manual/creature.texi: Don't include macros.texi.
27573 * manual/intro.texi (creature.texi): Remove comment referring to
27574 NOTES.
27575
40b601fb
JM
27576 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27577 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27578 * configure: Regenerated.
27579 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27580 LIBC_TRY_CC_OPTION.
27581 (libc_cv_as_i686): Likewise.
27582 (libc_cv_cc_avx): Likewise.
27583 (libc_cv_cc_sse2avx): Likewise.
27584 (libc_cv_cc_fma4): Likewise.
27585 (libc_cv_cc_novzeroupper): Likewise.
27586 * sysdeps/i386/configure: Regenerated.
27587
1a4ac776
JM
27588 [BZ #13883]
27589 * sysdeps/i386/fpu/s_cexp.S: Remove.
27590 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27591 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27592 * math/libm-test.inc (cexp_test): Add more tests.
27593 * sysdeps/i386/fpu/libm-test-ulps: Update.
27594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27595
a458e7fe
AM
275962012-03-21 Allan McRae <allan@archlinux.org>
27597
27598 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27599
0cb7efc5
JM
276002012-03-21 Joseph Myers <joseph@codesourcery.com>
27601
27602 [BZ #13871]
27603 * math/w_exp2.c: Do not include <float.h>.
27604 (o_threshold, u_threshold): Remove.
27605 (__exp2): Calculate result before checking finiteness and calling
27606 __kernel_standard.
27607 * math/w_exp2f.c: Likewise.
27608 * math/w_exp2l.c: Likewise.
27609 * math/libm-test.inc (exp2_test): Require overflow exception for
27610 1e6 input.
2460d3aa
JM
27611
27612 [BZ #3866]
27613 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27614 range of signed 64-bit integers before using fistpll. Remove
27615 checks for whether integers fit in mantissa bits.
27616 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27617 the range of signed 32-bit integers before using fistpl. Remove
27618 checks for whether integers fit in mantissa bits.
27619 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27620 (__ieee754_powl): Test for y outside the range of signed 64-bit
27621 integers before using fistpll. Reduce 64-bit values to 63-bit
27622 ones as needed.
27623 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27624 divide-by-zero is raised for zero to large negative powers.
27625 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27626 (__ieee754_powl): Test for y outside the range of signed 64-bit
27627 integers before using fistpll. Reduce 64-bit values to 63-bit
27628 ones as needed.
27629 * math/libm-test.inc (pow_test): Add more tests.
27630
eb96ffb0
L
276312012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27632
27633 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27634 <stdio-common/_itoa.h>.
27635 * debug/segfault.c: Likewise.
27636 * elf/dl-cache.c: Likewise.
27637 * elf/dl-minimal.c: Likewise.
27638 * elf/dl-misc.c: Likewise.
27639 * elf/dl-sysdep.c: Likewise.
27640 * elf/dl-version.c: Likewise.
27641 * elf/rtld.c: Likewise.
27642 * hurd/hurdsock.c: Likewise.
27643 * hurd/lookup-retry.c: Likewise.
27644 * malloc/malloc.c: Likewise.
27645 * malloc/mtrace.c: Likewise.
27646 * nscd/nscd_getgr_r.c: Likewise.
27647 * nscd/nscd_getpw_r.c: Likewise.
27648 * nscd/nscd_getserv_r.c: Likewise.
27649 * posix/getopt_init.c: Likewise.
27650 * posix/wordexp.c: Likewise.
27651 * stdio-common/_itoa.c: Likewise.
27652 * stdio-common/printf_fphex.c: Likewise.
27653 * stdio-common/vfprintf.c: Likewise.
27654 * string/_strerror.c: Likewise.
27655 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27656 * sysdeps/i386/i686/hp-timing.h: Likewise.
27657 * sysdeps/mach/_strerror.c: Likewise.
27658 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27659 * sysdeps/mach/hurd/sethostid.c: Likewise.
27660 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27661 * sysdeps/mach/xpg-strerror.c: Likewise.
27662 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27663 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27664 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27665 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27666 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27667 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27668 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27669 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27670 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27671 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27672 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27673 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27674 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27675 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27676 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27677 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27678 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27679 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27680 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27681 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27682 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27683
27684 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27685
27686 * stdio-common/_itoa.h: Moved to ...
27687 * sysdeps/generic/_itoa.h: Here.
27688
27689 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27690
27691 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27692 instead of "_itoa.h" and "_itowa.h".
27693 * stdio-common/vfprintf.: Likewise.
27694
d1af992d
L
276952012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27696
27697 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27698 <bits/wordsize.h>.
27699 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27700 (__signbit): Likwise.
27701 (llrintf): Likwise.
27702 (llrint): Likwise.
27703
114883e0
L
277042012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27705
27706 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27707 __WORDSIZE != 64.
27708
c135cc1b
JM
277092012-03-20 Joseph Myers <joseph@codesourcery.com>
27710
27711 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27712 OVERFLOW_EXCEPTION_OK.
27713 * math/libm-test.inc ("Philosophy"): Update comment about
27714 exception testing.
27715 (OVERFLOW_EXCEPTION): Define.
27716 (OVERFLOW_EXCEPTION_OK): Likewise.
27717 (INVALID_EXCEPTION_OK): Renumber.
27718 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27719 (IGNORE_ZERO_INF_SIGN): Likewise.
27720 (test_exceptions): Handle FE_OVERFLOW.
27721 (exp10_test): Expect overflow exceptions.
27722 (exp2_test): Likewise.
27723 (expm1_test): Likewise.
27724 (nextafter_test): Likewise.
27725 (pow_test): Likewise.
27726 (scalbn_test): Likewise.
27727 (scalbln_test): Likewise.
27728
95443d88
L
277292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27730
27731 * sysdeps/x86_64/bits/atomic.h
27732 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27733 64bit integer.
27734 (atomic_exchange_acq): Likewise.
27735 (__arch_exchange_and_add_body): Likewise.
27736 (__arch_add_body): Likewise.
27737 (atomic_add_negative): Likewise.
27738 (atomic_add_zero): Likewise.
27739
490df6c4
L
277402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27741
c2722551 27742 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
27743 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27744
5e52b189
L
277452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27746
27747 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27748 Check __x86_64__ instead of __WORDSIZE.
27749
a9879d4c
L
277502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27751
27752 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27753
5df98260
DM
277542012-03-19 David S. Miller <davem@davemloft.net>
27755
e1497744
DM
27756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27757
5df98260
DM
27758 * sysdeps/sparc/fpu/fenv_private.h: New file.
27759 * sysdeps/sparc/fpu/math_private.h: Use it.
27760 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27761 Remove.
27762 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27763 (libc_feholdexcept_setroundl): Remove.
27764 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27765 Remove.
27766 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27767 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27768
b4c35121
L
277692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27770
27771 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27772 int64_t instead of long int.
27773 (INSERT_WORDS64): Likwise.
27774
56965fd7
L
277752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27776
27777 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27778 _Unwind_GetCFA return to _Unwind_Ptr first.
27779
83d1aec8
JM
277802012-03-19 Joseph Myers <joseph@codesourcery.com>
27781
1897ad44
JM
27782 [BZ #13629]
27783 * math/s_clog.c: Include <float.h>.
27784 (__clog): Scale large or subnormal inputs.
27785 * math/s_clogf.c: Likewise.
27786 * math/s_clogl.c: Likewise.
27787 * math/s_clog10.c: Include <float.h>.
27788 (M_LOG10_2): Define.
27789 (__clog10): Scale large or subnormal inputs.
27790 * math/s_clog10f.c: Likewise.
27791 * math/s_clog10l.c: Likewise.
27792 * math/libm-test.inc (clog_test): Add more tests.
27793 (clog10_test): Likewise.
27794 * sysdeps/i386/fpu/libm-test-ulps: Update.
27795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27796
7726d6a9
JM
27797 [BZ #11451]
27798 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27799 x and y.
27800 * math/libm-test.inc (atan2_test): Add another test.
27801
83d1aec8
JM
27802 * Makerules (common-objdir-compile): Remove.
27803 * sysdeps/unix/Makefile (config-generated): Do not add
27804 $(unix-generated) to variable.
27805 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27806 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27807 Remove rule.
27808 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27809 Likewise.
27810 [generic bits/local_lim.h] (before-compile): Do not append to
27811 variable.
27812 [generic bits/local_lim.h] (common-generated): Likewise.
27813 [generic sys/param.h] (before-compile): Do not append to variable.
27814 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27815 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27816 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27817 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27818 include.
27819 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27820 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27821 [generic sys/param.h] ($(addprefix
27822 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27823 [generic sys/param.h] (common-generated): Do not append to
27824 variable.
27825 [generic sys/param.h] (sysdep_headers): Likewise.
27826 [generic bits/errno.h] (before-compile): Do not append to
27827 variable.
27828 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27829 rule.
27830 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27831 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27832 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27833 [generic bits/errno.h] (common-generated): Do not append to
27834 variable.
27835 [generic bits/ioctls.h] (before-compile): Do not append to
27836 variable.
27837 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27838 rule.
27839 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27840 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27841 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27842 rule.
27843 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27844 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27845 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27846 [generic bits/ioctls.h] (common-generated): Do not append to
27847 variable.
27848 [generic sys/syscall.h] (syscall.h): Remove variable.
27849 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27850 rule.
27851 [generic sys/syscall.h] (before-compile): Do not append to
27852 variable.
27853 [generic sys/syscall.h] (common-generated): Likewise.
27854 * sysdeps/unix/errnos-tmpl.c: Remove file.
27855 * sysdeps/unix/errnos.awk: Likewise.
27856 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27857 * sysdeps/unix/ioctls.awk: Likewise.
27858 * sysdeps/unix/mk-local_lim.c: Likewise.
27859 * sysdeps/unix/snarf-ioctls: Likewise.
27860
4851a949
RH
278612012-03-19 Richard Henderson <rth@twiddle.net>
27862
bd37f2ee
RH
27863 * sysdeps/i386/fpu/fenv_private.h: New file.
27864 * sysdeps/i386/fpu/math_private.h: Use it.
27865 (math_opt_barrier, math_force_eval): Remove.
27866 (libc_feholdexcept_setround_53bit): Remove.
27867 (libc_feupdateenv_53bit): Remove.
27868 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27869 (math_opt_barrier, math_force_eval): Remove.
27870 (libc_feholdexcept): Remove.
27871 (libc_feholdexcept_setround): Remove.
27872 (libc_fetestexcept, libc_fesetenv): Remove.
27873 (libc_feupdateenv_test): Remove.
27874 (libc_feupdateenv, libc_feholdsetround): Remove.
27875 (libc_feresetround): Remove.
27876
d0adc922
RH
27877 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27878 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27879
0fe0f1f8
RH
27880 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27881 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27882 (libc_feupdateenv_testl): New.
27883 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27884 (libc_feupdateenv_testf): New.
27885 (libc_feupdateenv): Use libc_feupdateenv_test.
27886 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27887 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27888
eb92c487
RH
27889 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27890 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27891 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27892 (libc_feresetround_noex): New.
27893 (libc_feresetround_noexf): New.
27894 (libc_feresetround_noexl): New.
27895 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27896 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27897 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27898 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27899 SET_RESTORE_ROUND.
27900 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27901 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27902 (__cos): Likewise.
27903 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27904 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27905 SET_RESTORE_ROUND_NOEX.
27906 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27907 SET_RESTORE_ROUND_NOEXF.
27908 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27909 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27910 (libc_feholdsetroundf): New.
27911 (libc_feresetround, libc_feresetroundf): New.
27912
7d2e8012
RH
27913 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27914 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27915 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27916
b4dabbb4
RH
27917 * sysdeps/generic/math_private.h: Include <fenv.h>.
27918 (default_libc_feholdexcept): New.
27919 (default_libc_feholdexcept_setround): New.
27920 (default_libc_fesetenv, default_libc_feupdateenv): New.
27921 (libc_feholdexcept): Only define if undefined.
27922 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27923 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27924 (libc_feholdexcept_setroundl): Likewise.
27925 (libc_feholdexcept_setround_53bit): Likewise.
27926 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27927 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27928 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27929 (libc_feupdateenv_53bit): Likewise.
27930 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27931 (libc_feholdexcept): Convert from macro to inline function.
27932 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27933 (libc_fesetenv, libc_feupdateenv): Likewise.
27934
4851a949
RH
27935 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27936 not previously defined.
27937 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27938 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27939 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27940 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27941 * sysdeps/ieee754/flt-32/math_private.h: New file.
27942 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27943 math_private.h below SET_FLOAT_WORD.
27944 (__isnan, __isinf_ns, __finite): Remove.
27945 (__isnanf, __isinf_nsf, __finitef): Remove.
27946
e79d442e
AS
279472012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27948
27949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27950
90b80344
DM
279512012-03-17 David S. Miller <davem@davemloft.net>
27952
27953 [BZ #6471]
27954 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27955 for 2.16.
27956
edc21804
DM
279572012-03-16 David S. Miller <davem@davemloft.net>
27958
77e927af
DM
27959 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27960 warnings.
27961
374976dd
DM
27962 [BZ #6471]
27963 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27964 properly.
27965 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27966 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27967 sysdep_routines when subdir is sysvipc.
27968 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27969 __getshmlba helper.
27970
edc21804
DM
27971 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27972
473c3ef3
L
279732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27974
27975 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27976 [__LP64__].
27977
eb0f39b6
L
279782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27979
27980 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27981 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27982 (__lround): Renamed to ...
27983 (__llround): This. Replace long int with long long int.
27984 Define lround functions as aliases of llround functions.
27985 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27986
6b6cd74b
L
279872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27988
27989 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27990 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27991 adresses to uintptr_t. Replace "long int" and "unsigned long
27992 int" with "greg_t" on va_arg.
27993
f1a77b01
L
279942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27995
27996 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27997 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27998
27999 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28000 Move e_machine check before EI_CLASS check. Handle x32
28001 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28002 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28003 SKIP_EM_IA_64 and include
28004 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28005
28006 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28007 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28008 (add_system_dir): New macro.
28009
28010 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28011 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28012
11b90b9f
JM
280132012-03-16 Joseph Myers <joseph@codesourcery.com>
28014
c36e1d23
JM
28015 [BZ #2551]
28016 [BZ #2552]
28017 [BZ #2553]
28018 [BZ #2554]
28019 [BZ #2562]
28020 [BZ #2563]
28021 [BZ #2565]
28022 [BZ #2566]
28023 [BZ #2576]
28024 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28025 (y0): Likewise.
28026 * math/w_j0f.c (j0f): Likewise.
28027 (y0f): Likewise.
28028 * math/w_j0l.c (__j0l): Likewise.
28029 (__y0l): Likewise.
28030 * math/w_j1.c (j1): Likewise.
28031 (y1): Likewise.
28032 * math/w_j1f.c (j1f): Likewise.
28033 (y1f): Likewise.
28034 * math/w_j1l.c (__j1l): Likewise.
28035 (__y1l): Likewise.
28036 * math/w_jn.c (jn): Likewise.
28037 (yn): Likewise.
28038 * math/w_jnf.c (jnf): Likewise.
28039 (ynf): Likewise.
28040 * math/w_jnl.c (__jnl): Likewise.
28041 (__ynl): Likewise.
28042 * math/libm-test.inc (j0_test): Add more tests.
28043 (j1_test): Likewise.
28044 (jn_test): Likewise. Add trailing semicolon to existing test.
28045 (y0_test): Likewise.
28046 (y1_test): Likewise.
28047 * sysdeps/i386/fpu/libm-test-ulps: Update.
28048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28049
11b90b9f
JM
28050 [BZ #13851]
28051 [BZ #13854]
28052 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28053 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28054 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28055 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28056 (__tanl): Set errno for infinite argument.
28057 * sysdeps/i386/fpu/mptan.c: Remove.
28058 * sysdeps/i386/fpu/s_tan.S: Likewise.
28059 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28060 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28061 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28062 * math/libm-test.inc (tan_test): Add more tests and enable more
28063 tests for double and long double.
28064 * sysdeps/i386/fpu/libm-test-ulps: Update.
28065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28066
6a1bd2a1
JK
280672012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28068
28069 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28070 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28071
10a803e0
RM
280722012-03-16 Roland McGrath <roland@hack.frob.com>
28073
28074 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28075 * configure.in: Use it for both main tree and add-ons.
28076 * configure: Regenerated.
28077
f196c7f7
L
280782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28079
28080 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28081
8848d99d
JM
280822012-03-16 Joseph Myers <joseph@codesourcery.com>
28083
96cbe7f4
JM
28084 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28085 in comment.
28086
8848d99d
JM
28087 [BZ #13851]
28088 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28089 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28090 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28091 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28092 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28093 infinite argument.
28094 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28095 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28096 != 0 for prec == 2.
28097 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28098 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28099 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28100 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28101 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28102 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28103 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28104 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28105 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28106 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28107 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28108 * math/libm-test.inc (cos_test): Add more tests and enable more
28109 tests for long double.
28110 (sin_test): Likewise.
28111 (sincos_test): Likewise.
28112 * sysdeps/i386/fpu/libm-test-ulps: Update.
28113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28114
dd7f4703
DM
281152012-03-16 David S. Miller <davem@davemloft.net>
28116
28117 * sysdeps/sparc/fpu/math_private.h: New file.
28118
006f1daa
DM
281192012-03-15 David S. Miller <davem@davemloft.net>
28120
c0c83bc8
DM
28121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28122 file.
e6a62e18 28123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
28124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28125 file.
e6a62e18
DM
28126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28130 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28131 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28132 sysdep routines.
28133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28134
88cb87d9
DM
28135 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28136 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28137
006f1daa 28138 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
28139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28140 sparc-ifunc.h
006f1daa 28141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
28142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28143 Likewise.
28144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28145 Likewise.
006f1daa
DM
28146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
28149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28150 Likewise.
006f1daa
DM
28151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
28155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28156 Likewise.
28157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28158 Likewise.
006f1daa
DM
28159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28163 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28164 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28165 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28166 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28167 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28168 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28173 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28174 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28175 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28176 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28177 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28178 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28179 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28180 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28181 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28182 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28183
11e0098e
AS
281842012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28185
28186 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28187 scaling.
28188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28189
e85b09d0
AJ
281902012-03-15 Andreas Jaeger <aj@suse.de>
28191
28192 [BZ #13852]
28193 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28194 ieee754/flt-32 implementation for sin, cos and sincos.
28195 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28196 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28197 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28198 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28199 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28200 ieee754/flt-32 implementation for tan.
28201
28202 * math/libm-test.inc (cos_test): Enable some large input tests for
28203 float as well
28204 (sin_test): Likewise.
28205 (sincos_test): Likewise.
28206 (tan_test): Add tests for large input.
28207
28208 * sysdeps/i386/fpu/libm-test-ulps: Update.
28209
81c64153
AJ
282102012-03-15 Andreas Jaeger <aj@suse.de>
28211
28212 [BZ #13658]
28213 * math/libm-test.inc (cos_test): Add more test cases.
28214 (sin_test): Likewise.
28215 (sincos_test): Likewise.
28216
7bbfa5c6
AJ
282172012-03-15 Andreas Jaeger <aj@suse.de>
28218
28219 [BZ #13837]
28220 * math/libm-test.inc (cos_test): Add a test case for large input
28221 value.
28222 (sin_test): Likewise.
28223 (sincos_test): Likewise.
28224
282252012-03-15 Andreas Jaeger <aj@suse.de>,
28226 Joseph Myers <joseph@codesourcery.com>
28227
28228 [BZ #13658]
0671f479 28229 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
28230 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28231 * sysdeps/i386/fpu/branred.c: Likewise.
28232 * sysdeps/i386/fpu/dosincos.c: Likewise.
28233 * sysdeps/i386/fpu/mpa.c: Likewise.
28234 * sysdeps/i386/fpu/s_cos.S: Likewise.
28235 * sysdeps/i386/fpu/s_sin.S: Likewise.
28236 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28237 * sysdeps/i386/fpu/sincos32.c: Likewise.
28238
28239 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28240 Define.
28241 (libc_feupdateenv_53bit): Define.
28242 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28243 Define.
28244 (libc_feupdateenv_53bit): Define.
28245
28246 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28247 53 bit (without extend i386 double precision).
28248
28249 * math/libm-test.inc (sincos_test): Add tests for large input.
28250 (sin): Likewise.
28251 (cos): Likewise.
28252
28253 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28254
9cad04ea
AS
282552012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28256
28257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28258
f7062b9a
DM
282592012-03-15 David S. Miller <davem@davemloft.net>
28260
28261 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28262 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28263 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28264 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28269 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28270 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28271 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28272 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28273 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28274 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
28276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28277 file.
f7062b9a 28278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
28279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28280 file.
f7062b9a 28281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
28282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28283 file.
f7062b9a 28284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
28285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28286 file.
f7062b9a
DM
28287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28288 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28289 fmin/fmax sysdep routines.
28290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28291
7bd951ff
DM
282922012-03-14 David S. Miller <davem@davemloft.net>
28293
559398ab
DM
28294 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28297 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28298 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28299 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28300 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28301 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28302 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28303 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28304 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28305 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28306 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28307 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28308 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28309 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28310 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28311 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28312 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28313 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28314 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28315 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28316 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28317 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28318 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28319 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28320 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28321 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28322 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28323 routines.
28324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28325 file.
559398ab 28326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
28327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28328 file.
559398ab 28329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
28330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28331 file.
559398ab 28332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
28333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28334 file.
559398ab 28335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
28336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28337 file.
559398ab 28338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
28339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28340 file.
28341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28342 file.
28343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28344 file.
28345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28346 file.
28347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28348 New file.
28349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28350 file.
28351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28352 file.
559398ab 28353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
28354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28355 file.
559398ab 28356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28358 file.
559398ab 28359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
28360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28361 file.
559398ab 28362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
28363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28364 VIS3 routines.
559398ab
DM
28365
28366 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28367 New file.
28368
5a1c1e32
DM
28369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28370
eae47a36
DM
28371 * sysdeps/sparc/configure.in: New file.
28372 * sysdeps/sparc/configure: Generate.
28373 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28374 * configure: Regenerate.
28375 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28376 * config.make.in (have-as-vis3): New.
28377 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28378 available use -Av9d instead of -Av9a.
28379 * sysdeps/sparc/sparc64/Makefile: Likewise.
28380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
28381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28382 New file.
28383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28384 file.
28385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28386 New file.
28387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28388 file.
eae47a36
DM
28389 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28390 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28391 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28392 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28393 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28394
c0c83bc8
DM
28395 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28396 fzeros/fnegs to load 0x80000000 into a float register instead of
28397 using the stack.
7bd951ff
DM
28398 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28399
bd951ccb
JM
284002012-03-14 Joseph Myers <joseph@codesourcery.com>
28401
28402 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28403 bits/syscall.h.
28404 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28405 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28406 ($(inst_includedir)/bits/syscall.h): Remove rule.
28407 ($(objpfx)bits/syscall.d): Include instead of
28408 $(objpfx)syscall-list.d.
28409 (generated): Change syscall-list.h and syscall-list.d to
28410 bits/syscall.h and bits/syscall.d.
28411
bb4e6db2
RM
284122012-03-14 Roland McGrath <roland@hack.frob.com>
28413
28414 [BZ #13846]
28415 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28416
aa4a2ae1
JM
284172012-03-14 Joseph Myers <joseph@codesourcery.com>
28418
e456826d
JM
28419 [BZ #13841]
28420 * math/s_csqrt.c: Include <float.h>.
28421 (__csqrt): Scale large or subnormal inputs.
28422 * math/s_csqrtf.c: Likewise.
28423 * math/s_csqrtl.c: Likewise.
28424 * math/libm-test.inc (csqrt_test): Add more tests.
28425 * sysdeps/i386/fpu/libm-test-ulps: Update.
28426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28427
aa4a2ae1
JM
28428 [BZ #13840]
28429 * math/libm-test.inc (hypot_test): Add more tests.
28430
7c10fd35
DM
284312012-03-13 David S. Miller <davem@davemloft.net>
28432
28433 [BZ #13840]
28434 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28435 double-precision for the calculation instead of scaling.
28436
f453b98b
JM
284372012-03-13 Joseph Myers <joseph@codesourcery.com>
28438
28439 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28440 manipulate bits before adding and subtracting TWO52[sx].
28441 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28442 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28443 Likewise.
28444 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28445
09a3453f
DM
284462012-03-13 David S. Miller <davem@davemloft.net>
28447
8e59da90
DM
28448 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28449 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28450 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28451 rtld-global-offsets.h
28452 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28453
2a8ab7f2
DM
28454 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28455 large parameters.
28456
10f62770
DM
28457 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28458
5f0bdb18
DM
28459 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28460 'err' in the ifdef scope in which it is actually used.
28461
09a3453f
DM
28462 * nss/nss_db/db-init.c: Include string.h
28463
b4b2eb5e
DM
284642012-03-12 David S. Miller <davem@davemloft.net>
28465
98bb2f1c
DM
28466 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28467 masking out of the most significant byte of random value used.
28468 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28469 Fix coding style in previous change.
28470
b4b2eb5e
DM
28471 * sysdeps/unix/sysv/linux/kernel-features.h
28472 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28473 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28474 expression.
28475 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28476 later.
28477
6e226b09
DM
284782012-03-11 David S. Miller <davem@davemloft.net>
28479
a1bcbd40
DM
28480 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28481 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28482 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28483 for 'resultvar' otherwise things get truncated on 64-bit.
28484
cb9d6174
DM
28485 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28486 Fix masking out of the most significant byte of random value used.
28487
6e226b09
DM
28488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28489
058c132d
AS
284902012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28491
28492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28493
2d2cd515
DM
284942012-03-09 David S. Miller <davem@davemloft.net>
28495
28496 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28497 variables with appropriate CPP guards.
28498 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28499 frame pointer, not the stack pointer. Correct layout comments. Fix test
28500 on resulting framesize and the management of the outregs buffer for pltexit.
28501 Preserve floating point return values across _dl_call_pltexit call.
28502 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28503 framesize and the management of the outregs buffer for pltexit.
28504 Preserve floating point return values across _dl_call_pltexit
28505 call.
28506 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28507 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28508 (print_exit): Fix format string for return register value.
28509
9a07f9d0
JM
285102012-03-10 Joseph Myers <joseph@codesourcery.com>
28511
28512 * sunrpc/Makefile (others): Add rpcgen.
28513 ($(objpfx)rpcgen): Remove special build rule and dependency on
28514 libc.
28515 * sunrpc/rpcgen.c: New file.
28516
547b5e30
PE
285172012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28518
c524201a
PE
28519 [BZ #13673]
28520 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28521 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28522 * sysdeps/i386/crti.S: Likewise.
28523 * sysdeps/i386/crtn.S: Likewise.
28524 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28525 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28526 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28527 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28528 * sysdeps/sh/crti.S: Likewise.
28529 * sysdeps/sh/crtn.S: Likewise.
28530 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28531
7b6235f2
PE
28532 [BZ #13673]
28533 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28534 with URL.
28535 * locale/programs/locfile-kw.gperf: Likewise.
28536 * locale/programs/charmap-kw.h: Regenerated.
28537 * locale/programs/locfile-kw.h: Likewise.
28538
547b5e30
PE
28539 [BZ #13673]
28540 * intl/plural.y: Replace FSF snail mail address with URL.
28541 * intl/plural.c: Regenerated.
28542
5f0a5dae
RH
285432012-03-09 Richard Henderson <rth@twiddle.net>
28544
28545 * include/math_private.h: Remove file.
28546 * math/math_private.h: Move file ...
28547 * sysdeps/generic/math_private.h: ... here.
28548
b8c03620
RH
28549 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28550 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28551 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28552
4e234f5d 28553 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
28554 and <math_private.h>.
28555 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28556 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28557 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28558 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28559 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28560 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28561 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28562 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28563 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28564 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28565 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28566 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28567 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28568 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28569 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28570 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28571 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28572 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28573 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28574 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28575 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28576 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28577 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28578 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28579 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28580 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28581 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28582 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28583 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28584 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28585 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28586 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28587 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28588 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28589 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28590 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28591 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28592 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28593 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28594 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28595 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28596 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28597 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28598 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28599 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28600 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28601 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28602 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28603 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28604 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28605 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28606 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28607 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28608 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28609 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28610 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28611 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28612 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28613 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28614 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28615 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28616 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28617 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28618 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28619 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28620 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28621 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28622 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28623 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28624 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28625 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28626 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28627 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28628 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28629 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28630 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28631 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28632 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28633 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28634 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28635 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28636 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28637 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28638 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28639 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28640 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28641 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28642 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28643 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28644 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28645 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28646 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28647 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28648 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28649 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28650 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28651 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28652 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28653 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28654 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28655 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28656 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28657 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28658 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28659 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28660 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28661 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28662 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28663 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28664 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28665 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28666 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28667 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28668 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28669 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28670 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28671 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28672 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28673 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28674 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28675 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28676 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28677 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28678 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28679 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28680 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28681 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28682 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28683 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28684 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28685 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28686 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28687 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28688 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28689 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28690 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28691 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28692 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28693 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28694 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28695 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28696 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28697 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28698 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28699 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28700 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28701 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28702 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28703 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28704 * sysdeps/ieee754/k_standard.c: Likewise.
28705 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28706 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28707 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28708 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28709 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28710 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28711 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28712 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28713 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28714 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28715 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28716 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28717 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28718 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28719 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28720 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28721 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28722 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28723 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28724 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28725 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28726 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28727 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28728 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28729 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28730 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28731 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28732 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28733 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28734 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28735 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28736 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28737 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28738 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28739 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28740 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28741 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28742 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28743 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28744 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28745 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28746 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28747 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28748 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28749 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28750 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28751 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28752 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28753 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28754 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28755 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28756 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28757 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28758 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28759 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28760 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28761 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28762 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28763 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28764 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28765 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28766 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28767 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28768 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28769 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28770 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28771 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28772 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28773 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28774 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28775 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28776 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28777 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28778 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28779 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28780 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28781 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28782 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28783 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28784 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28785 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28786 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28787 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28788 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28789 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28790 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28791 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28792 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28793 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28794 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28795 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28796 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28797 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28798 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28799 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28800 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28801 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28802 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28803 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28804 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28805 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28806 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28807 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28808 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28809 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28810 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28811 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28812 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28813 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28814 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28815 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28816 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28817 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28818 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28819 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28820 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28821 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28822 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28823 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28824 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28825 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28826 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28827 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28828 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28829 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28830 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28831 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28832 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28833 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28834 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28835 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28836 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28837 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28838 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28839 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28840 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28841 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28842 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28843 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28844 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28845 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28846 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28847 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28848 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28849 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28850 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28851 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28852 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28853 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28854 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28855 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28856 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28857 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28858 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28859 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28860 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28861 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28862 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28863 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28864 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28865 * sysdeps/ieee754/s_lib_version.c: Likewise.
28866 * sysdeps/ieee754/s_matherr.c: Likewise.
28867 * sysdeps/ieee754/s_signgam.c: Likewise.
28868 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28869 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28870 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28871 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28872 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28873 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28874 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28875 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28876 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28877 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28878 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28879 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28880 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28881 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28882 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28883 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28884 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28885 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28886 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28887 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28888 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 28889
1991fa03
JM
288902012-03-09 Joseph Myers <joseph@codesourcery.com>
28891
28892 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28893 * sunrpc/rpc_main.c: Likewise.
28894 * sunrpc/rpc_svcout.c: Likewise.
28895
60d6f5a6
DM
288962012-03-09 David S. Miller <davem@davemloft.net>
28897
28898 * include/math_private.h: New file.
28899
4962050e
JM
289002012-03-09 Joseph Myers <joseph@codesourcery.com>
28901
02a6f887
JM
28902 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28903 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28904 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28905 from <bits/socket_type.h>.
28906 (enum __socket_type): Don't define here.
28907 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28908 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28909 bits/socket_type.h.
28910
c6e013c1
JM
28911 [BZ #13566]
28912 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28913 checking __USE_GNU.
28914
4962050e
JM
28915 * Makerules ($(inst_includedir)/%.h): New rule.
28916 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28917 (install-others): Remove variable setting.
28918 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28919
38842f45
RH
289202012-03-08 Richard Henderson <rth@twiddle.net>
28921
67bb6da6
RH
28922 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28923 from macro to inline function; merge with the
28924 !__LIBC_INTERNAL_MATH_INLINES version.
28925 (__ieee754_sqrtf): Likewise.
28926
15194b4b
RH
28927 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28928 to inline function.
28929 (__rintf, __floor, __floorf): Likewise.
28930
64e21ede
RH
28931 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28932 macro to inline function.
28933 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28934
38842f45
RH
28935 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28936 not <math/math_private.h>.
28937
c64bf5fe
DM
289382012-03-08 David S. Miller <davem@davemloft.net>
28939
28940 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28941 copyright year.
28942 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28943
82d86f28
TS
289442012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28945
28946 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28947 normalization.
28948 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28949 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28950
aea5d727
UD
289512012-03-08 Ulrich Drepper <drepper@gmail.com>
28952
28953 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28954 be defined individually, they must be defined as a block. Define
28955 S for printing a string instead of hidint the different by using a
28956 macro for adding the 'l'.
28957 * stdio-common/tst-fphex-wide.c: Adjust.
28958
70bca0a3
MP
289592012-03-07 Marek Polacek <polacek@redhat.com>
28960
28961 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28962
65b81130
MP
289632012-03-08 Marek Polacek <polacek@redhat.com>
28964
28965 [BZ #13806]
28966 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28967 * stdio-common/tst-fphex.c: Define a few macros to make the
28968 test reusable. Use them.
28969 * stdio-common/tst-fphex-wide.c: New file.
28970
07037eeb
JM
289712012-03-08 Joseph Myers <joseph@codesourcery.com>
28972
a7a93d50
JM
28973 [BZ #6911]
28974 * manual/macros.texi (gnusystems): New macro.
28975 (nongnusystems): Likewise.
28976 (gnulinuxhurdsystems): Likewise.
28977 (gnuhurdsystems): Likewise..
28978 (gnulinuxsystems): Likewise.
28979 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28980 variants of the GNU system, not "GNU system".
28981 * manual/conf.texi: Likewise.
28982 * manual/errno.texi: Likewise. Update example of errno macro
28983 expansion.
28984 * manual/filesys.texi: Likewise.
28985 (getumask): Document as specific to GNU/Hurd.
28986 * manual/install.texi: Likewise. Reword some references to
28987 GNU/Linux.
28988 * manual/intro.texi: Likewise.
28989 * manual/io.texi: Likewise.
28990 (File Name Portability): Detail which constraints are inapplicable
28991 to all GNU systems and which are only inapplicable to GNU/Hurd.
28992 * manual/job.texi: Likewise.
28993 * manual/llio.texi: Likewise.
28994 (O_NOCTTY): Document as present on GNU/Linux.
28995 * manual/maint.texi: Likewise.
28996 * manual/memory.texi: Likewise.
28997 * manual/pattern.texi: Likewise.
28998 * manual/pipe.texi: Likewise.
28999 * manual/process.texi: Likewise.
29000 * manual/resource.texi: Likewise.
29001 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29002 child on GNU/Hurd.
29003 * manual/setjmp.texi: Likewise.
29004 * manual/signal.texi: Likewise.
29005 * manual/startup.texi: Likewise.
29006 * manual/stdio.texi: Likewise.
29007 * manual/terminal.texi: Likewise.
29008 (ONLCR): Document as POSIX.
29009 (OXTABS): Document availability on GNU/Linux as XTABS.
29010 (ONOEOT): Document availability separately from other bits.
29011 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29012 * manual/time.texi: Likewise.
29013 * manual/users.texi: Likewise.
29014 * INSTALL: Regenerated.
29015 * sysdeps/gnu/errlist.c: Regenerated.
29016
07037eeb
JM
29017 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29018 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29019 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29020 puts.
29021 * configure: Regenerated.
29022
d1d3431a
JM
290232012-03-07 Joseph Myers <joseph@codesourcery.com>
29024
af6a1e37
JM
29025 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29026 default includes instead of AC_HEADER_CHECK.
29027 * sysdeps/i386/configure: Regenerated.
29028
d1d3431a
JM
29029 [BZ #10716]
29030 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29031 * math/s_cacoshf.c (__cacoshf): Likewise.
29032 * math/s_cacoshl.c (__cacoshl): Likewise.
29033 * math/s_casinh.c (__casinh): Set signs of result from argument.
29034 * math/s_casinhf.c (__casinhf): Likewise.
29035 * math/s_casinhl.c (__casinhl): Likewise.
29036 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29037 (casinh_test): Add more tests.
29038 * sysdeps/i386/fpu/libm-test-ulps: Update.
29039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29040
482ff4da
UD
290412012-03-07 Ulrich Drepper <drepper@gmail.com>
29042
872fda05
UD
29043 * po/zh_TW.po: Update from translation team.
29044
a4300c7a
UD
29045 * login/Makefile (distribute): Remove variable.
29046 * catgets/Makefile: Likewise.
29047 * mach/Makefile: Likewise.
29048 * malloc/Makefile: Likewise.
29049 * misc/Makefile: Likewise.
29050 * iconv/Makefile: Likewise.
29051 * nscd/Makefile: Likewise.
29052 * hurd/Makefile: Likewise.
29053 * manual/Makefile: Likewise.
29054 * locale/Makefile: Likewise.
29055 * intl/Makefile: Likewise.
29056 * conform/Makefile: Likewise.
29057 * nss/Makefile: Likewise.
29058 * time/Makefile: Likewise.
29059 * soft-fp/Makefile: Likewise.
29060 * dirent/Makefile: Likewise.
29061 * gmon/Makefile: Likewise.
29062 * po/Makefile: Likewise.
29063 * rt/Makefile: Likewise.
29064 * socket/Makefile: Likewise.
29065 * math/Makefile: Likewise.
29066 * signal/Makefile: Likewise.
29067 * debug/Makefile: Likewise.
29068 * elf/Makefile: Likewise.
29069 * timezone/Makefile: Likewise.
29070 * stdlib/Makefile: Likewise.
29071 * iconvdata/Makefile: Likewise.
29072 * sunrpc/Makefile: Likewise.
29073 * io/Makefile: Likewise.
29074 * argp/Makefile: Likewise.
29075 * inet/Makefile: Likewise.
29076 * hesiod/Makefile: Likewise.
29077 * grp/Makefile: Likewise.
29078 * csu/Makefile: Likewise.
29079 * wctype/Makefile: Likewise.
29080 * crypt/Makefile: Likewise.
29081 * libio/Makefile: Likewise.
29082 * string/Makefile: Likewise.
29083 * nis/Makefile: Likewise.
29084 * resolv/Makefile: Likewise.
29085 * stdio-common/Makefile: Likewise.
29086 * wcsmbs/Makefile: Likewise.
29087 * dlfcn/Makefile: Likewise.
29088 * posix/Makefile: Likewise.
29089
3b7c4e74 29090 [BZ #6959]
482ff4da
UD
29091 * timezone/Makefile: Don't install timezone files, just the programs
29092 and scripts.
29093
f72ed77d
UD
290942012-03-06 Ulrich Drepper <drepper@gmail.com>
29095
a000466f
UD
29096 * nss/databases.def: Add missing gshadow entry.
29097
f72ed77d
UD
29098 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29099
a53b7a4e
MP
291002012-03-06 Marek Polacek <polacek@redhat.com>
29101
29102 [BZ #13726]
29103 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29104 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29105 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29106 * stdio-common/tst-long-dbl-fphex.c: New file.
29107
e9258400
DM
291082012-03-06 David S. Miller <davem@davemloft.net>
29109
29110 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29111 (set_obp_int): New function.
29112 (get_obp_int): New function.
29113 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
29114 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29115 Avoid unused variable warnings on 'val' and use builtin_expect.
29116 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29117 __builtin_expect.
e9258400
DM
29118 (INLINE_CLONE_SYSCALL): Likewise.
29119
3bd2c723
DM
291202012-03-05 David S. Miller <davem@davemloft.net>
29121
29122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29123
bbb78d03
AS
291242012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29125
884c5db4
AS
29126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29127
bbb78d03
AS
29128 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29129 only for |x| >= 40.
29130 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29131
1c9f702a 291322012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
29133
29134 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29135 Replace gettimeofday with __vdso_gettimeofday.
29136
7be16f82
RM
29137 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29138 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29139 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
29140
29141 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29142 time with __vdso_time.
29143
ed58a00f
JM
291442012-03-05 Joseph Myers <joseph@codesourcery.com>
29145
29146 * manual/lang.texi (size_t): Note types to which size_t may be
29147 equivalent with the GNU C Library, but do not describe when
29148 differences between them are significant.
29149
30ee4ced
AJ
291502012-03-05 Andreas Jaeger <aj@suse.de>
29151
29152 * sysdeps/i386/fpu/libm-test-ulps: Update.
29153
b7cd39e8
JM
291542012-03-05 Joseph Myers <joseph@codesourcery.com>
29155
29156 [BZ #3976]
29157 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29158 (__ieee754_pow): Save and restore rounding mode and use
29159 round-to-nearest for main computations.
29160 * math/libm-test.inc (pow_test_tonearest): New function.
29161 (pow_test_towardzero): Likewise.
29162 (pow_test_downward): Likewise.
29163 (pow_test_upward): Likewise.
29164 (main): Call the new functions.
29165 * sysdeps/i386/fpu/libm-test-ulps: Update.
29166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
29167
29168 [BZ #3976]
29169 * math/libm-test.inc (cosh_test_tonearest): New function.
29170 (cosh_test_towardzero): Likewise.
29171 (cosh_test_downward): Likewise.
29172 (cosh_test_upward): Likewise.
29173 (sinh_test_tonearest): Likewise.
29174 (sinh_test_towardzero): Likewise.
29175 (sinh_test_downward): Likewise.
29176 (sinh_test_upward): Likewise.
29177 (main): Call the new functions.
29178 * sysdeps/i386/fpu/libm-test-ulps: Update.
29179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29180
6c6a98c9
TV
291812012-03-05 Tom de Vries <tom@codesourcery.com>
29182
29183 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29184 default stack guard is set in last bytes.
29185 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29186
21bb2d2e 291872012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 29188
21bb2d2e 29189 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 29190
21bb2d2e
AJ
29191 [BZ #13656]
29192 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29193 possibly allocate from heap instead of stack.
29194 * stdio-common/bug-vfprintf-nargs.c: New file.
29195 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 29196
c6922934
AS
291972012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29198
29199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29200
bc957d53
MP
292012012-03-03 Marek Polacek <polacek@redhat.com>
29202
29203 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29204 * math/math_private.h: Likewise.
29205 * stdlib/tst-strtod.c: Likewise.
29206 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29207 * sysdeps/x86_64/bits/atomic.h: Likewise.
29208
6358490d
DM
292092012-03-02 David S. Miller <davem@davemloft.net>
29210
29211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29215 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29216 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29217 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29218 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29219
01ae168d
RM
292202012-03-02 Roland McGrath <roland@hack.frob.com>
29221
d9a17c07
RM
29222 [BZ #13792]
29223 * manual/examples/README: New file, says the example source files
29224 can be used under GPL>=2.
29225 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29226 line containing just "*/".
29227 * manual/examples/add.c: Add copyright header (GPL>=2).
29228 * manual/examples/argp-ex1.c: Likewise.
29229 * manual/examples/argp-ex2.c: Likewise.
29230 * manual/examples/argp-ex3.c: Likewise.
29231 * manual/examples/argp-ex4.c: Likewise.
29232 * manual/examples/atexit.c: Likewise.
29233 * manual/examples/db.c: Likewise.
29234 * manual/examples/dir.c: Likewise.
29235 * manual/examples/dir2.c: Likewise.
29236 * manual/examples/execinfo.c: Likewise.
29237 * manual/examples/filecli.c: Likewise.
29238 * manual/examples/filesrv.c: Likewise.
29239 * manual/examples/fmtmsgexpl.c: Likewise.
29240 * manual/examples/genpass.c: Likewise.
29241 * manual/examples/inetcli.c: Likewise.
29242 * manual/examples/inetsrv.c: Likewise.
29243 * manual/examples/isockad.c: Likewise.
29244 * manual/examples/longopt.c: Likewise.
29245 * manual/examples/memopen.c: Likewise.
29246 * manual/examples/memstrm.c: Likewise.
29247 * manual/examples/mkfsock.c: Likewise.
29248 * manual/examples/mkisock.c: Likewise.
29249 * manual/examples/mygetpass.c: Likewise.
29250 * manual/examples/pipe.c: Likewise.
29251 * manual/examples/popen.c: Likewise.
29252 * manual/examples/rprintf.c: Likewise.
29253 * manual/examples/search.c: Likewise.
29254 * manual/examples/select.c: Likewise.
29255 * manual/examples/setjmp.c: Likewise.
29256 * manual/examples/sigh1.c: Likewise.
29257 * manual/examples/sigusr.c: Likewise.
29258 * manual/examples/stpcpy.c: Likewise.
29259 * manual/examples/strdupa.c: Likewise.
29260 * manual/examples/strftim.c: Likewise.
29261 * manual/examples/strncat.c: Likewise.
29262 * manual/examples/subopt.c: Likewise.
29263 * manual/examples/swapcontext.c: Likewise.
29264 * manual/examples/termios.c: Likewise.
29265 * manual/examples/testopt.c: Likewise.
29266 * manual/examples/testpass.c: Likewise.
29267 * manual/examples/timeval_subtract.c: Likewise.
29268
01ae168d
RM
29269 [BZ #13792]
29270 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29271 function to ...
29272 * manual/timeval_subtract.c.texi: ... here, new file.
29273
49efa33d
DM
292742012-03-02 David S. Miller <davem@davemloft.net>
29275
29276 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29277
28afd92d
JM
292782012-03-02 Joseph Myers <joseph@codesourcery.com>
29279
804360ed
JM
29280 [BZ #3976]
29281 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29282 (__sin): Save and restore rounding mode and use round-to-nearest
29283 for all computations.
29284 (__cos): Save and restore rounding mode and use round-to-nearest
29285 for all computations.
29286 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29287 <fenv.h>.
29288 (tan): Save and restore rounding mode and use round-to-nearest for
29289 all computations.
29290 * math/libm-test.inc (cos_test_tonearest): New function.
29291 (cos_test_towardzero): Likewise.
29292 (cos_test_downward): Likewise.
29293 (cos_test_upward): Likewise.
29294 (sin_test_tonearest): Likewise.
29295 (sin_test_towardzero): Likewise.
29296 (sin_test_downward): Likewise.
29297 (sin_test_upward): Likewise.
29298 (tan_test_tonearest): Likewise.
29299 (tan_test_towardzero): Likewise.
29300 (tan_test_downward): Likewise.
29301 (tan_test_upward): Likewise.
29302 (main): Call the new functions.
29303 * sysdeps/i386/fpu/libm-test-ulps: Update.
29304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29305
a6d06d7b
JM
29306 [BZ #10135]
29307 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29308 small n, then large n, before computing and testing k+n.
29309 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29310 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29311 Likewise.
29312 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29313 Likewise.
29314 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29315 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29316 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29317 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29318 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29319 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29320 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29321 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29322 * math/libm-test.inc (scalbn_test): Add more tests.
29323 (scalbln_test): Likewise.
29324
07e12bb3
JM
29325 * manual/filesys.texi (mode_t): Describe constraints on size and
29326 signedness, not exact equivalence to a particular type.
29327 (ino_t): Likewise.
29328 (ino64_t): Likewise.
29329 (dev_t): Likewise.
29330 (nlink_t): Likewise.
29331 (blkcnt_t): Likewise.
29332 (blkcnt64_t): Likewise.
29333 * manual/llio.texi (off_t): Likewise.
29334
28afd92d
JM
29335 [BZ #3976]
29336 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29337 (__ieee754_exp): Save and restore rounding mode and use
29338 round-to-nearest for all computations.
29339 * math/libm-test.inc (exp_test_tonearest): New function.
29340 (exp_test_towardzero): Likewise.
29341 (exp_test_downward): Likewise.
29342 (exp_test_upward): Likewise.
29343 (main): Call the new functions.
29344 * sysdeps/i386/fpu/libm-test-ulps: Update.
29345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29346
b1eeb65d
CD
293472012-03-01 Chris Demetriou <cgd@google.com>
29348
29349 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29350 have predictable order.
29351
53362a4b
DM
293522012-03-01 David S. Miller <davem@davemloft.net>
29353
3c969083
DM
29354 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29355
759707de
DM
29356 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29357 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29358 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29359 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29360
dfdb8ff2
DM
29361 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29362 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29363 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29365 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29366 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29367 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29368 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29369 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29370
ead89f96
DM
29371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29372
7f66bd07
DM
29373 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29374 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29375 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29376
53362a4b
DM
29377 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29378 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29379 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29380 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29381 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29382 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29383 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29384 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29385 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29386 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29387 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29388 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29389 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29390 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29391 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29392 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29393 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29394 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29395 * sysdeps/sparc/elf/configure: Regenerated.
29396
7b1902cb
JM
293972012-03-01 Joseph Myers <joseph@codesourcery.com>
29398
bec039bc
JM
29399 * configure.in (AS, LD): Require binutils 2.20 or later.
29400 * configure: Regenerated.
29401 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29402 as required minimum version.
29403 * INSTALL: Regenerated.
29404
7b1902cb
JM
29405 [BZ #2541]
29406 [BZ #4108]
29407 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29408 before squaring exponent.
29409 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29410 bottom long double and 27 bits of top long double before squaring
29411 exponent.
29412 * math/libm-test.inc (erfc_test): Add more tests.
29413 * sysdeps/i386/fpu/libm-test-ulps: Update.
29414 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29416
f775c276
KT
294172012-03-01 Kai Tietz <ktietz@redhat.com>
29418
29419 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29420 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29421 containing bit-fields.
29422 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29423 * soft-fp/single.h (_FP_UNION_S): Likewise.
29424 * soft-fp/double.h (_FP_UNION_D): Likewise.
29425
5b8a4d4a
JM
294262012-02-29 Joseph Myers <joseph@codesourcery.com>
29427
0bab47b6
JM
29428 [BZ #13786]
29429 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29430 not include ../strcmp.S.
29431 [USE_AS_STRNCASECMP_L]: Likewise.
29432 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29433 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29434 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29435 (__strncasecmp_l_ia32): Define as alias to
29436 __strncasecmp_l_nonascii.
29437
0fcad3e2
JM
29438 [BZ #5794]
29439 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29440 * sysdeps/i386/fpu/libm-test-ulps: Update.
29441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29442
5b8a4d4a
JM
29443 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29445
8fdceb2e
JL
294462012-02-29 Jeff Law <law@redhat.com>
29447
29448 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29449 out of bounds read.
29450
1f393a11
MP
294512012-02-29 Marek Polacek <polacek@redhat.com>
29452
29453 [BZ #13706]
29454 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29455 * elf/Makefile: Add rules to run tst-unused-dep.out.
29456
8847f037
DM
294572012-02-28 David S. Miller <davem@davemloft.net>
29458
29459 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29460 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29461 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29462 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29463 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29464 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29465
169d7f11
JM
294662012-02-29 Joseph Myers <joseph@codesourcery.com>
29467
29468 * math/libm-test.inc (llround_test): Move one test from
29469 lround_test. Use TEST_f_L in moved test.
29470 (lround_test): Move misplaced test to llround_test. Add testcase
29471 from bug 2561.
29472
39adf059
UD
294732012-02-28 Ulrich Drepper <drepper@gmail.com>
29474
29475 * sysdeps/x86_64/fpu/e_expf.S: New file.
29476 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29477
71b5d1c5
SB
294782012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29479
29480 [BZ #13637]
29481 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29482 of remain_len that may cause incomplete multi-byte character and
29483 false match.
29484 * posix/bug-regex33.c: New file.
29485 * posix/Makefile (tests): Add bug-regex33.
29486
1f77f049
JM
294872012-02-28 Joseph Myers <joseph@codesourcery.com>
29488
29489 * manual/macros.texi: New file.
29490 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29491 * manual/libc.texinfo: Include macros.texi.
29492 * manual/creatute.texi: Likewise.
29493 * manual/install.texi: Likewise.
29494 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29495 @glibcadj{} in references to the GNU C Library.
29496 * manual/charset.texi: Likewise.
29497 * manual/conf.texi: Likewise.
29498 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29499 when not using those macros.
29500 * manual/creature.texi: Likewise.
29501 * manual/crypt.texi: Likewise.
29502 * manual/errno.texi: Likewise.
29503 * manual/filesys.texi: Likewise.
29504 * manual/header.texi: Likewise.
29505 * manual/install.texi: Likewise.
29506 * manual/intro.texi: Likewise.
29507 * manual/io.texi: Likewise.
29508 * manual/job.texi: Likewise.
29509 * manual/lang.texi: Likewise.
29510 * manual/libc.texiinfo: Likewise.
29511 * manual/llio.texi: Likewise.
29512 * manual/locale.texi: Likewise.
29513 * manual/maint.texi: Likewise.
29514 * manual/math.texi: Likewise.
29515 * manual/memory.texi: Likewise.
29516 * manual/message.texi: Likewise.
29517 * manual/nss.texi: Likewise.
29518 * manual/pattern.texi: Likewise.
29519 * manual/process.texi: Likewise.
29520 * manual/resource.texi: Likewise.
29521 * manual/search.texi: Likewise.
29522 * manual/setjmp.texi: Likewise.
29523 * manual/signal.texi: Likewise.
29524 * manual/socket.texi: Likewise.
29525 * manual/startup.texi: Likewise.
29526 * manual/stdio.texi: Likewise.
29527 * manual/string.texi: Likewise.
29528 * manual/sysinfo.texi: Likewise.
29529 * manual/syslog.texi: Likewise.
29530 * manual/terminal.texi: Likewise.
29531 * manual/time.texi: Likewise.
29532 * manual/users.texi: Likewise.
29533 * INSTALL: Regenerated.
29534 * NOTES: Regenerated.
d40c5d54 29535 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 29536
450bf206
AS
295372012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29538
29539 * include/dirent.h: Include <dirstream.h> before
29540 <dirent/dirent.h>.
29541
741a235b
DM
295422012-02-28 David S. Miller <davem@davemloft.net>
29543
29544 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29545 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29546 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29547 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29548
d6b5aa58
DM
295492012-02-27 David S. Miller <davem@davemloft.net>
29550
1aff59a3
DM
29551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29553 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29554 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29555
d6b5aa58
DM
29556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29557 frame pointer instead of stack pointer relative arg slot.
29558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29559 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29560 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29561
433f48bf
CD
295622012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29563
29564 [BZ #3992]
29565 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29566
d674b76d
DM
295672012-02-27 David S. Miller <davem@davemloft.net>
29568
29569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29573 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29574 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29575 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29576 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29577
0e7727f7
JM
295782012-02-27 Joseph Myers <joseph@codesourcery.com>
29579
29580 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29581 later. Allow versions 5-9.
43be4ca2 29582 * configure: Regenerated.
0e7727f7
JM
29583 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29584 required minimum version and 4.6 as recommended version. Do not
29585 mention bugs in GCC 2.7 and 2.8.
43be4ca2 29586 * INSTALL: Regenerated.
0e7727f7 29587
a78bc654
DM
295882012-02-27 David S. Miller <davem@davemloft.net>
29589
428d5830
DM
29590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29594 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29595 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29596 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29597 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29598
a78bc654
DM
29599 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29600 manipulate bits before adding and subtracting TWO112[sx].
29601 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29602
4579f81c
RM
296032012-02-27 Roland McGrath <roland@hack.frob.com>
29604
36c8acb4
RM
29605 [BZ #13775]
29606 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29607 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29608 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29609 being in POSIX, because they are in 1003.1-2008.
29610
84ad622b
RM
29611 * rt/tst-aio.c: Include <fcntl.h>.
29612 * rt/tst-aio7.c: Likewise.
29613 * rt/tst-aio64.c: Likewise.
29614
4579f81c
RM
29615 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29616
abd923db
JM
296172012-02-27 Joseph Myers <joseph@codesourcery.com>
29618
29619 * manual/install.texi (--with-headers): Describe headers as
29620 interface headers, not private headers.
29621 (Specific advice for GNU/Linux systems): Describe use of headers
29622 from "make headers_install", not private headers from older
29623 kernels.
43be4ca2 29624 * INSTALL: Regenerated.
abd923db
JM
29625 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29626 Change to 2.6.19.
29627 * sysdeps/unix/sysv/linux/configure: Regenerated.
29628
6664049b
JM
29629 * manual/llio.texi (fclean): Remove documentation.
29630
bb8b6697
JM
29631 * manual/Makefile (libc-texi-generated): New variable. Include
29632 version.texi.
29633 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29634 $(libc-texi-generated), not duplicated list of files.
29635 (version.texi, stamp-version): New rules.
29636 (realclean): Remove $(libc-texi-generated), not individual files
29637 from that list. Do not remove dir-add.texinfo.
29638 * manual/libc.texinfo: Comment out uses of edition numbers and
29639 references to printed manual. Remove last-updated dates.
29640 (EDITION): Comment out.
29641 (ISBN): Likewise.
29642 (VERSION, UPDATED): Remove.
29643 (version.texi): Include.
29644
12e5c3b9
AS
296452012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29646
29647 * sysdeps/posix/spawni.c: Include <signal.h>.
29648 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29649 * sysdeps/pthread/aio_fsync.c: Likewise.
29650
4efeffc1 296512012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 29652
ba63ba08
UD
29653 * conform/Makefile (tests): Run only when not cross-compiling and
29654 when fast-check is not defined.
29655
d94a4670
UD
29656 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29657 * conform/data/limits.h-data: Fixes for POSIX2008.
29658 * conform/run-conformtest.sh: Run all tests.
29659 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29660 headers.
29661 * include/bits/dlfcn.h: Likewise.
29662 * include/langinfo.h: Likewise.
29663 * include/monetary.h: Likewise.
29664 * include/sys/poll.h: Likewise.
29665
29666 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29667 for __USE_GNU.
29668 * posix/spawn.h: Define __need_sigset_t.
29669 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29670 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29671 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29672 to get sigevent_t only.
29673 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29674 only for __USE_GNU.
29675 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29676 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29677 process_vm_writev only for __USE_GNU.
29678 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
29679
29680 * conform/Makefile: For now ignore errors from run-conformtest.
29681 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29682 POSIX to avoid namespace pollution. Don't prepend headers.
29683 * conform/data/aio.h-data: Fixes for POSIX testing.
29684 * conform/data/fcntl.h-data: Likewise.
29685 * conform/data/glob.h-data: Likewise.
29686 * conform/data/grp.h-data: Likewise.
29687 * conform/data/pthread.h-data: Likewise.
29688 * conform/data/pwd.h-data: Likewise.
29689 * conform/data/signal.h-data: Likewise.
29690 * conform/data/spawn.h-data: Likewise.
29691 * conform/data/stdio.h-data: Likewise.
29692 * conform/data/stdlib.h-data: Likewise.
29693 * conform/data/stropts.h-data: Likewise.
29694 * conform/data/sys/mman.h-data: Likewise.
29695 * conform/data/sys/stat.h-data: Likewise.
29696 * conform/data/sys/types.h-data: Likewise.
29697 * conform/data/sys/wait.h-data: Likewise.
29698 * conform/data/time.h-data: Likewise.
29699 * conform/data/unistd.h-data: Likewise.
29700 * conform/data/utime.h-data: Likewise.
29701
29702 * io/sys/stat.h: fchmod was always in POSIX.
29703 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29704 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29705 * rt/aio.h: Define __need_timespec before including <time.h>.
29706 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29707 struct. Add forward declaration of pthread_attr_t and use it in
29708 sigevent.
29709 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29710 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29711 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29712 always remove CLK_TCK definition.
29713
c20105c3
AS
297142012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29715
29716 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29717
7a270350
UD
297182012-02-25 Ulrich Drepper <drepper@gmail.com>
29719
31341567
UD
29720 * conform/run-conformtest.sh: New file.
29721 * conform/Makefile: Run run-conformtest for tests.
29722 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29723 support.
29724
29725 * conform/data/uchar.h-data: New file.
29726 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29727 * conform/data/arpa/inet.h-data: Likewise.
29728 * conform/data/assert.h-data: Likewise.
29729 * conform/data/complex.h-data: Likewise.
29730 * conform/data/cpio.h-data: Likewise.
29731 * conform/data/ctype.h-data: Likewise.
29732 * conform/data/dirent.h-data: Likewise.
29733 * conform/data/dlfcn.h-data: Likewise.
29734 * conform/data/errno.h-data: Likewise.
29735 * conform/data/fcntl.h-data: Likewise.
29736 * conform/data/float.h-data: Likewise.
29737 * conform/data/fmtmsg.h-data: Likewise.
29738 * conform/data/fnmatch.h-data: Likewise.
29739 * conform/data/ftw.h-data: Likewise.
29740 * conform/data/glob.h-data: Likewise.
29741 * conform/data/grp.h-data: Likewise.
29742 * conform/data/iconv.h-data: Likewise.
29743 * conform/data/inttypes.h-data: Likewise.
29744 * conform/data/langinfo.h-data: Likewise.
29745 * conform/data/libgen.h-data: Likewise.
29746 * conform/data/limits.h-data: Likewise.
29747 * conform/data/locale.h-data: Likewise.
29748 * conform/data/math.h-data: Likewise.
29749 * conform/data/monetary.h-data: Likewise.
29750 * conform/data/mqueue.h-data: Likewise.
29751 * conform/data/ndbm.h-data: Likewise.
29752 * conform/data/net/if.h-data: Likewise.
29753 * conform/data/netdb.h-data: Likewise.
29754 * conform/data/netinet/in.h-data: Likewise.
29755 * conform/data/nl_types.h-data: Likewise.
29756 * conform/data/poll.h-data: Likewise.
29757 * conform/data/pthread.h-data: Likewise.
29758 * conform/data/pwd.h-data: Likewise.
29759 * conform/data/regex.h-data: Likewise.
29760 * conform/data/sched.h-data: Likewise.
29761 * conform/data/search.h-data: Likewise.
29762 * conform/data/semaphore.h-data: Likewise.
29763 * conform/data/setjmp.h-data: Likewise.
29764 * conform/data/signal.h-data: Likewise.
29765 * conform/data/spawn.h-data: Likewise.
29766 * conform/data/stdarg.h-data: Likewise.
29767 * conform/data/stdio.h-data: Likewise.
29768 * conform/data/stdlib.h-data: Likewise.
29769 * conform/data/string.h-data: Likewise.
29770 * conform/data/strings.h-data: Likewise.
29771 * conform/data/stropts.h-data: Likewise.
29772 * conform/data/sys/ipc.h-data: Likewise.
29773 * conform/data/sys/mman.h-data: Likewise.
29774 * conform/data/sys/msg.h-data: Likewise.
29775 * conform/data/sys/resource.h-data: Likewise.
29776 * conform/data/sys/select.h-data: Likewise.
29777 * conform/data/sys/sem.h-data: Likewise.
29778 * conform/data/sys/shm.h-data: Likewise.
29779 * conform/data/sys/socket.h-data: Likewise.
29780 * conform/data/sys/stat.h-data: Likewise.
29781 * conform/data/sys/statvfs.h-data: Likewise.
29782 * conform/data/sys/time.h-data: Likewise.
29783 * conform/data/sys/timeb.h-data: Likewise.
29784 * conform/data/sys/times.h-data: Likewise.
29785 * conform/data/sys/types.h-data: Likewise.
29786 * conform/data/sys/uio.h-data: Likewise.
29787 * conform/data/sys/un.h-data: Likewise.
29788 * conform/data/sys/utsname.h-data: Likewise.
29789 * conform/data/sys/wait.h-data: Likewise.
29790 * conform/data/syslog.h-data: Likewise.
29791 * conform/data/tar.h-data: Likewise.
29792 * conform/data/termios.h-data: Likewise.
29793 * conform/data/utime.h-data: Likewise.
29794 * conform/data/utmpx.h-data: Likewise.
29795 * conform/data/varargs.h-data: Likewise.
29796 * conform/data/wchar.h-data: Likewise.
29797 * conform/data/wctype.h-data: Likewise.
29798 * conform/data/wordexp.h-data: Likewise.
29799
29800 * include/stropts.h: New file.
29801 * include/uchar.h: New file.
29802 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29803 * include/assert.h: Likewise.
29804 * include/ctype.h: Likewise.
29805 * include/dirent.h: Likewise.
29806 * include/dlfcn.h: Likewise.
29807 * include/fcntl.h: Likewise.
29808 * include/fnmatch.h: Likewise.
29809 * include/glob.h: Likewise.
29810 * include/grp.h: Likewise.
29811 * include/libio.h: Likewise.
29812 * include/locale.h: Likewise.
29813 * include/math.h: Likewise.
29814 * include/net/if.h: Likewise.
29815 * include/netdb.h: Likewise.
29816 * include/netinet/in.h: Likewise.
29817 * include/pthread.h: Likewise.
29818 * include/pwd.h: Likewise.
29819 * include/regex.h: Likewise.
29820 * include/sched.h: Likewise.
29821 * include/search.h: Likewise.
29822 * include/setjmp.h: Likewise.
29823 * include/signal.h: Likewise.
29824 * include/stdio.h: Likewise.
29825 * include/stdlib.h: Likewise.
29826 * include/string.h: Likewise.
29827 * include/sys/cdefs.h: Likewise.
29828 * include/sys/mman.h: Likewise.
29829 * include/sys/msg.h: Likewise.
29830 * include/sys/resource.h: Likewise.
29831 * include/sys/select.h: Likewise.
29832 * include/sys/socket.h: Likewise.
29833 * include/sys/stat.h: Likewise.
29834 * include/sys/statvfs.h: Likewise.
29835 * include/sys/time.h: Likewise.
29836 * include/sys/times.h: Likewise.
29837 * include/sys/uio.h: Likewise.
29838 * include/sys/utsname.h: Likewise.
29839 * include/sys/wait.h: Likewise.
29840 * include/termios.h: Likewise.
29841 * include/time.h: Likewise.
29842 * include/ulimit.h: Likewise.
29843 * include/unistd.h: Likewise.
29844 * include/utime.h: Likewise.
29845 * include/wchar.h: Likewise.
29846 * include/wctype.h: Likewise.
29847 * include/wordexp.h: Likewise.
29848
29849 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29850
7a270350
UD
29851 * time/time.h: TIME_UTC must be a macro.
29852 Make timespec_get available for ISO C11 only as well.
29853
7724defc
UD
298542012-02-24 Ulrich Drepper <drepper@gmail.com>
29855
29856 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29857 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29858
6b1d1d46
JM
298592012-02-24 Joseph Myers <joseph@codesourcery.com>
29860
29861 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 29862
0f8bbd69
JM
298632012-02-24 Joseph Myers <joseph@codesourcery.com>
29864
29865 * manual/texinfo.tex: Update to version 2012-01-19.16.
29866
66ab80bc
JM
298672012-02-24 Joseph Myers <joseph@codesourcery.com>
29868
29869 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29870
74981cc5
RM
298712012-02-24 Roland McGrath <roland@hack.frob.com>
29872
ee968201
RM
29873 [BZ #13738]
29874 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29875 * manual/fdl-1.3.texi: New file.
29876 * manual/fdl-1.1.texi: File removed.
29877
74981cc5
RM
29878 [BZ #13738]
29879 * manual/libc.texinfo (FDL_VERSION): New @set.
29880 Use it for mention of FDL in cover text.
29881 (Documentation License): Use it in @include file name.
29882
7bb764bc
JM
298832012-02-22 Joseph Myers <joseph@codesourcery.com>
29884 Roland McGrath <roland@hack.frob.com>
29885
29886 [BZ #5461]
29887 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29888 not LONG_LONG_MAX and LONG_LONG_MIN.
29889 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29890 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29891 name.
29892 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29893
6cbeae47
JM
298942012-02-22 Joseph Myers <joseph@codesourcery.com>
29895
29896 [BZ #2547]
29897 [BZ #11365]
29898 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29899 manipulate bits before adding and subtracting TWO23[sx].
29900 * math/libm-test.inc (nearbyint_test): Add more tests.
29901
fe45ce09
JM
299022012-02-22 Joseph Myers <joseph@codesourcery.com>
29903
29904 [BZ #2548]
29905 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29906 bits before adding and subtracting TWO23[sx].
29907 * math/libm-test.inc (rint_test): Add more tests.
29908 (rint_test_tonearest): Likewise.
29909 (rint_test_towardzero): Likewise.
29910 (rint_test_downward): Likewise.
29911 (rint_test_upward: Likewise.
29912
ff3b3d82
JM
299132012-02-22 Joseph Myers <joseph@codesourcery.com>
29914
29915 [BZ #10110]
29916 * include/stdc-predef.h: New file. Extracted from features.h.
29917 * include/features.h: Include stdc-predef.h.
29918 * Makefile (headers): Add stdc-predef.h.
29919 * CONFORMANCE (Compiler limitations): Update.
29920
ef0aab35
JM
299212012-02-22 Joseph Myers <joseph@codesourcery.com>
29922
29923 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29924
58639409
DM
299252012-02-21 David S. Miller <davem@davemloft.net>
29926
29927 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29928 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29929
c0e70b25
DM
299302012-02-20 David S. Miller <davem@davemloft.net>
29931
29932 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29933 using a normal save/restore sequence, rather than allocating a
29934 dummy stack frame just to store a frame pointer and restore.
29935 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29936
fb06851d
JM
299372012-02-21 Joseph Myers <joseph@codesourcery.com>
29938
29939 * manual/install.texi: Fix stray word in line-wrapped comment.
29940
7a8b71c3
DM
299412012-02-20 David S. Miller <davem@davemloft.net>
29942
d510c123
DM
29943 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29944 both binutils and gcc support GOTDATA.
29945
0722d7c2
DM
29946 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29947 "rd %pc" in the PIC register setup sequences.
29948
3d2b3019
DM
29949 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29950 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29951 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29952 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29953 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29954 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29955 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29956 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29957 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29958 (SYSCALL_ERROR_HANDLER): Likewise.
29959 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29960 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29961 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29962 (SYSCALL_ERROR_HANDLER): Likewise.
29963
c80098a9
DM
29964 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29965 (HAVE_GCC_GOTDATA): New.
29966 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29967 relocation support in both binutils and gcc.
29968 * sysdeps/sparc/elf/configure: Regenerate.
29969
3a2545a0
DM
29970 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29971 * sysdeps/sparc/sparc32/elf/configure: Delete.
29972 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29973 * sysdeps/sparc/sparc64/elf/configure: Delete.
29974 * sysdeps/sparc/elf/configure.in: New file.
29975 * sysdeps/sparc/elf/configure: Generate.
29976
7a8b71c3
DM
29977 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29978 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29979 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29980 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29981 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29982
f1e86fca
JM
299832012-02-21 Joseph Myers <joseph@codesourcery.com>
29984
29985 * manual/install.texi: Do not mention specific glibc version
29986 numbers.
29987 * manual/libc.texinfo (VERSION, UPDATED): Update.
29988 (@copying): Use @copyright{} and range of years.
29989
0e7dfaef
JM
299902012-02-21 Joseph Myers <joseph@codesourcery.com>
29991
29992 [BZ #13695]
29993 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29994 [crti.S not in sysdirs] (generated): Do not append.
29995 [crti.S not in sysdirs] (omit-deps): Likewise.
29996 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29997 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29998 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29999 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30000 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30001 Likewise.
30002 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30003 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30004 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30005 * csu/defs.awk: Remove file.
30006 * sysdeps/generic/initfini.c: Likewise.
30007 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30008 variable.
30009 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30010 Likewise.
30011
599af3ca
JM
300122012-02-20 Joseph Myers <joseph@codesourcery.com>
30013
30014 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30015 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30016 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30017 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30018 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30019 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30020 <bits/epoll.h>.
30021 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30022 (__EPOLL_PACKED): Define to empty if not defined by
30023 <bits/epoll.h>.
30024 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30025 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30026 bits/epoll.h.
30027
0e499750
JM
300282012-02-20 Joseph Myers <joseph@codesourcery.com>
30029
30030 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30031 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30032 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30033 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30034 <bits/timerfd.h>.
30035 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30036 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30037 bits/timerfd.h.
30038
5ad91f6e
JM
300392012-02-20 Joseph Myers <joseph@codesourcery.com>
30040
30041 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30042 in C locale.
30043 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30044 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30045 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30047
06b99b02
AJ
300482012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30049
30050 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30051 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30052
7638c0fd
AS
300532012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30054
30055 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30056 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30057 defined.
30058 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30059 Likewise.
30060 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30061 entry for 2.16.
30062
92221550
AJ
300632012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30064
30065 * math/w_acos.c: Use non-signaling floating-point comparisons.
30066 * math/w_acosf.c: Likewise.
30067 * math/w_acosh.c: Likewise.
30068 * math/w_acoshf.c: Likewise.
30069 * math/w_acoshl.c: Likewise.
30070 * math/w_acosl.c: Likewise.
30071 * math/w_asin.c: Likewise.
30072 * math/w_asinf.c: Likewise.
30073 * math/w_asinl.c: Likewise.
30074 * math/w_atanh.c: Likewise.
30075 * math/w_atanhf.c: Likewise.
30076 * math/w_atanhl.c: Likewise.
30077 * math/w_exp2.c: Likewise.
30078 * math/w_exp2f.c: Likewise.
30079 * math/w_exp2l.c: Likewise.
30080 * math/w_j0.c: Likewise.
30081 * math/w_j0f.c: Likewise.
30082 * math/w_j0l.c: Likewise.
30083 * math/w_j1.c: Likewise.
30084 * math/w_j1f.c: Likewise.
30085 * math/w_j1l.c: Likewise.
30086 * math/w_jn.c: Likewise.
30087 * math/w_jnf.c: Likewise.
30088 * math/w_log.c: Likewise.
30089 * math/w_log10.c: Likewise.
30090 * math/w_log10f.c: Likewise.
30091 * math/w_log10l.c: Likewise.
30092 * math/w_log2.c: Likewise.
30093 * math/w_log2f.c: Likewise.
30094 * math/w_log2l.c: Likewise.
30095 * math/w_logf.c: Likewise.
30096 * math/w_logl.c: Likewise.
30097 * math/w_sqrt.c: Likewise.
30098 * math/w_sqrtf.c: Likewise.
30099 * math/w_sqrtl.c: Likewise.
30100 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30101 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30102 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30103 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30104 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30105
ebaf36eb
JM
301062012-02-19 Joseph Myers <joseph@codesourcery.com>
30107
30108 [BZ #9739]
30109 * manual/string.texi (strnlen): Use correct parameter name in
30110 equivalent expression.
30111
71c254a6
JM
301122012-02-19 Joseph Myers <joseph@codesourcery.com>
30113
30114 [BZ #11174]
30115 * manual/users.texi (seteuid): Consistently use neweuid for
30116 argument name.
30117
16d2c631
JM
301182012-02-19 Joseph Myers <joseph@codesourcery.com>
30119
30120 [BZ #13704]
30121 * manual/nss.texi (Services in the NSS configuration): Correct
30122 list of services in example configuration file.
30123
cd837b09
NB
301242012-02-19 Nick Bowler <nbowler@draconx.ca>
30125
30126 [BZ #11322]
30127 * manual/arith.texi: Remove statements about negative zero
30128 behaving identically to zero.
30129
02c4bbad
JM
301302012-02-18 Joseph Myers <joseph@codesourcery.com>
30131
30132 [BZ #5993]
30133 * manual/install.texi: Do not document upgrading from libc5.
30134
366842e7
JM
301352012-02-18 Joseph Myers <joseph@codesourcery.com>
30136
30137 [BZ #4596]
30138 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30139
dd54084d
DM
301402012-02-18 David S. Miller <davem@davemloft.net>
30141
30142 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30143 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30144 %o7 across the call.
30145 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30146 instead.
30147 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30148 SETUP_PIC_REG_LEAF.
30149 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30150 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30151 * sysdeps/sparc/crtn.S: Likewise.
30152
2bcc53a3
UD
301532012-02-17 Ulrich Drepper <drepper@gmail.com>
30154
30155 * aout/Makefile: Remove.
30156
09c093b5
RK
301572012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30158
30159 [BZ #13058]
30160 * manual/examples/argp-ex1.c (main): Format definition in GNU
30161 style.
30162 * manual/examples/argp-ex2.c (main): Likewise.
30163 * manual/examples/argp-ex3.c (main): Likewise.
30164 * manual/examples/argp-ex4.c (main): Likewise.
30165 * manual/examples/longopt.c (main): Use new-style prototype
30166 definition.
30167 * manual/examples/strncat.c (main): Specify return type and use
30168 (void) for arguments.
30169 * manual/examples/subopt.c (main): Use char **argv argument.
30170
2ee633a2
JM
301712012-02-17 Joseph Myers <joseph@codesourcery.com>
30172
30173 [BZ #5077]
30174 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30175 rounding modes.
30176
0520adde
FB
301772012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30178
30179 [BZ #6907]
30180 * manual/string.texi (strchr): Change when strchrnul is
30181 recommended.
30182
3f4081cd
DGM
301832012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30184
30185 [BZ #174]
30186 * manual/locale.texi (setlocale): Document LOCPATH.
30187
d1b10e78
JM
301882012-02-17 Joseph Myers <joseph@codesourcery.com>
30189
30190 [BZ #10210]
30191 * manual/process.texi (execle): Move @dots{} before last argument.
30192
79c6869c
PB
301932012-02-17 Paul Bolle <pebolle@tiscali.nl>
30194
30195 [BZ #12047]
30196 * manual/charset.texi (Generic Charset Conversion): Fix typo
30197 (LC_TYPE -> LC_CTYPE).
30198
cc6e48bc
NB
301992012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30200
30201 [BZ #5805]
30202 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30203 (scalbnf): Likewise.
30204 (scalbnl): Likewise.
30205 (scalbln): Likewise.
30206 (scalblnf): Likewise.
30207 (scalblnl): Likewise.
30208 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30209 (vwarnx): Likewise.
30210 (verr): Likewise.
30211 (verrx): Likewise.
30212 * manual/filesys.texi (telldir): Use braces around return type.
30213 * manual/llio.texi (mmap): Add space after comma.
30214 (mmap64): Likewise.
30215 * manual/math.texi (jn): Use @var{} on parameter names.
30216 (jnf): Likewise.
30217 (jnl): Likewise.
30218 (yn): Likewise.
30219 (ynf): Likewise.
30220 (ynl): Likewise.
30221 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30222 line.
30223 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30224 "...".
30225 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30226 (sched_get_priority_max): Likewise.
30227 * manual/signal.texi (sigvec): Add space after comma.
30228 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30229 names.
30230 (if_indextoname): Likewise.
30231 (if_freenameindex): Likewise.
30232 (sendto): Use ',' instead of '.' in prototype.
30233 * manual/startup.texi (syscall): Use @dots{} instead of literal
30234 "...".
30235 * manual/stdio.texi (__fpending): Separate initial words of
30236 paragraph from @deftypefun line.
30237 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30238 "...".
30239 (vsyslog): Use @var{} on parameter names.
30240 * manual/terminal.texi (stty): Use @var{} on parameter names.
30241 * manual/users.texi (getutmp): Use @var{} on parameter names.
30242 (getutmpx): Likewise.
30243
5b23062f
JM
302442012-02-17 Joseph Myers <joseph@codesourcery.com>
30245
30246 [BZ #6884]
30247 * manual/stdio.texi (fopen): Fix typos in description of
30248 ",ccs=STRING".
30249
8dee4833
AJ
302502012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30251
30252 [BZ #4026]
30253 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30254 get clock_id definition.
30255
9078ce93
TS
302562012-02-17 Thomas Schwinge <thomas@schwinge.name>
30257
30258 [BZ #4822]
30259 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30260 (madvise): Cast every argument to void on its own.
30261
3835c55f
JM
302622012-02-17 Joseph Myers <joseph@codesourcery.com>
30263
30264 [BZ #9902]
30265 * manual/startup.texi (Exit Status): Fix typo.
30266
35c47e37
JM
302672012-02-17 Joseph Myers <joseph@codesourcery.com>
30268
30269 [BZ #10140]
30270 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30271 * manual/examples/argp-ex2.c: Likewise.
30272 * manual/examples/argp-ex3.c: Likewise.
30273
e3b69ca7
RH
302742012-02-16 Richard Henderson <rth@redhat.com>
30275
30276 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30277 * sysdeps/s390/s390-32/initfini.c: Remove.
30278 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30279 * sysdeps/s390/s390-64/initfini.c: Remove.
30280
df83af67
KK
302812012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30282
30283 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30284 compiler output for sysdeps/generic/initfini.c.
30285 * sysdeps/sh/elf/initfini.c: Remove file.
30286
f63f3380
DM
302872012-02-16 David S. Miller <davem@davemloft.net>
30288
fb59b3a4
DM
30289 [BZ #11494]
30290 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30291
f63f3380
DM
30292 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30293 * sysdeps/sparc/crti.S: New file.
30294 * sysdeps/sparc/crtn.S: New file.
30295 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30296 * sysdeps/sparc/sparc64/Makefile: Likewise.
30297
df6a4a4a
MF
302982012-02-15 Mike Frysinger <vapier@gentoo.org>
30299
6dd8f3dc 30300 [BZ #3335]
df6a4a4a
MF
30301 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30302
1cac7236
RM
303032012-02-15 Roland McGrath <roland@hack.frob.com>
30304
d2c736f8
RM
30305 [BZ #4822]
30306 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30307
1cac7236
RM
30308 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30309 (write, read, close): Likewise.
30310 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30311
8e475601
JM
303122012-02-15 Joseph Myers <joseph@codesourcery.com>
30313
30314 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30315 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30316 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30317 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30318 <bits/signalfd.h>.
30319 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30320 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30321 bits/signalfd.h.
30322
ed656b40
MP
303232012-02-14 Marek Polacek <polacek@redhat.com>
30324
30325 * sysdeps/x86_64/crti.S: New file.
30326 * sysdeps/x86_64/crtn.S: New file.
30327 * sysdeps/x86_64/elf/initfini.c: Remove file.
30328
2a979d3a
JM
303292012-02-13 Joseph Myers <joseph@codesourcery.com>
30330
30331 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30332 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30333 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30334 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30335 <bits/inotify.h>.
30336 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30337 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30338 bits/inotify.h.
30339
2a418ac3
JM
303402012-02-13 Joseph Myers <joseph@codesourcery.com>
30341
30342 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30343 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30344 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30345 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30346 <bits/eventfd.h>.
30347 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30348 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30349 bits/eventfd.h.
30350
fb779be7
TS
303512012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30352
e19e83c5
RM
30353 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30354 __feraiseexcept instead of feraiseexcept.
7c35ffed 30355
fb779be7
TS
30356 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30357 nanosleep invocations.
30358 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30359 strings, and add error checking for a nanosleep invocations.
30360
59ba27a6
PE
303612012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30362
30363 Replace FSF snail mail address with URLs, as per GNU coding standards.
30364 Most of the snail mail addresses were wrong anyway, and omitting
30365 them makes the source code easier to maintain. Almost all of the
30366 changes are to license notices and to locale LC_IDENTIFICATION
30367 addresses, except for this one:
30368 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30369 not its snail mail address.
30370
57b957eb
RH
303712012-02-09 Richard Henderson <rth@twiddle.net>
30372
af850b1c
RH
30373 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30374 of kernel-features.h.
30375
57b957eb
RH
30376 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30377
6b73181a
MP
303782012-02-08 Marek Polacek <polacek@redhat.com>
30379
30380 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30381 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30382 * sysdeps/gnu/_G_config.h: Likewise.
30383 * sysdeps/generic/_G_config.h: Likewise.
30384
26ecc33a
AS
303852012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30386
6c6dbc63
AS
30387 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30388 tests.
30389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30390
e216c012
AS
30391 * sysdeps/powerpc/powerpc32/crti.S: New file.
30392 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30393 * sysdeps/powerpc/powerpc64/crti.S: New file.
30394 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30395
26ecc33a
AS
30396 * Makeconfig (have-initfini): Don't set.
30397 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30398 * configure.in (nopic_initfini): Don't substitute.
30399 * config.h.in (HAVE_INITFINI): Don't #undef.
30400 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30401 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30402
3add8e13
JM
304032012-02-08 Joseph Myers <joseph@codesourcery.com>
30404
30405 Support crti.S and crtn.S provided directly by architectures.
30406 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30407 [crti.S in sysdirs] (omit-deps): Likewise.
30408 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30409 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30410 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30411 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30412 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30413 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30414 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30415 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30416 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30417 compiler output for sysdeps/generic/initfini.c.
30418 * sysdeps/i386/elf/Makefile: Remove file.
30419 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30420
a22f12b4
MP
304212012-02-07 Marek Polacek <polacek@redhat.com>
30422
30423 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30424 * sysdeps/gnu/_G_config.h: Likewise.
30425 * sysdeps/mach/hurd/_G_config.h: Likewise.
30426
148cf100
MP
304272012-02-07 Marek Polacek <polacek@redhat.com>
30428
30429 * math/Makefile (tests): Add tst-CMPLX2.
30430 * math/tst-CMPLX2.c: New file.
30431
cfdc0dd7
AS
304322012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30433
84ba42c4
AS
30434 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30435
cfdc0dd7
AS
30436 * math/libm-test.inc (jn_test): Add missing L suffix.
30437
622c86f4
MP
304382012-02-06 Marek Polacek <polacek@redhat.com>
30439
30440 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30441 * sysdeps/i386/fpu/e_powf.S: Likewise.
30442 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30443 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30444 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30445 * sysdeps/i386/fpu/e_pow.S: Likewise.
30446 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30447 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30448 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30449 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30450 * sysdeps/i386/fpu/e_log2.S: Likewise.
30451 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30452 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30453 * sysdeps/i386/fpu/e_powl.S: Likewise.
30454 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30455 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30456 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30457 * sysdeps/i386/fpu/e_logl.S: Likewise.
30458 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30459 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30460 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30461 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30462 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30463 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30464 * sysdeps/i386/fpu/e_log.S: Likewise.
30465 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30466 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30467 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30468 * sysdeps/i386/fpu/e_logf.S: Likewise.
30469 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30470 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30471 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30472 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30473 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30474 * sysdeps/i386/fpu/e_log10.S: Likewise.
30475 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30476 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30477 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30478 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30479 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30480 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30481 * sysdeps/i386/asm-syntax.h: Likewise.
30482 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30483 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30484 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30485 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30486 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30487 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30488 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30489 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30490 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30491 * sysdeps/powerpc/sysdep.h: Likewise.
30492 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30493 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30494
d4a54ac6
JM
304952012-02-06 Joseph Myers <joseph@codesourcery.com>
30496
30497 [BZ #411]
30498 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30499
314054ea
JM
305002012-02-06 Joseph Myers <joseph@codesourcery.com>
30501
30502 * sysdeps/i386/sysdep.h: Include <features.h>.
30503 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30504 version.
30505
d8e0ca50
JM
305062012-02-05 Joseph Myers <joseph@codesourcery.com>
30507
30508 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30509 Define.
30510 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30511 LOAD_PIC_REG_STR.
30512
b1da7dd9
JM
305132012-02-03 Joseph Myers <joseph@codesourcery.com>
30514
30515 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30516 (SETUP_PIC_REG): Use GET_PC_THUNK.
30517 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30518 macro.
30519
9a1d9254
JM
305202012-02-03 Joseph Myers <joseph@codesourcery.com>
30521
30522 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30523 for non-PIC compilation.
30524 (SETUP_PIC_REG): Add .p2align directive.
30525 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30526 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30527 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30528 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30529 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30530 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30531 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30532 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30533 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30534 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30535 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30536 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30537 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30538 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30539 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30540 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30541 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30542 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30543 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30544 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30545 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30546 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30547 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30548 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30549 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30550 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30551 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30552 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30553 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30554 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30555 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30556 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30557 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30558 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30559 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30560 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30561 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30562 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30563 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30564 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30565 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30566
65dc3b75
JM
305672012-02-03 Joseph Myers <joseph@codesourcery.com>
30568
30569 * math/tst-CMPLX.c: Include <stdio.h>.
30570
d55bf177
JM
305712012-01-31 Joseph Myers <joseph@codesourcery.com>
30572
30573 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30574 float.
30575 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30576 * sysdeps/sparc/bits/mathdef.h: Likewise.
30577
69db4f8f
MP
305782012-01-31 Marek Polacek <polacek@redhat.com>
30579
30580 * libio/libio.h: Don't define _PARAMS.
30581 * locale/programs/config.h: Don't define PARAMS.
30582 * stdlib/strtol_l.c: Likewise.
30583 (__strtol_l): Remove PARAMS from the prototype.
30584
41b81892
UD
305852012-01-31 Ulrich Drepper <drepper@gmail.com>
30586
3b49edc0
UD
30587 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30588 names. Just use the correct names. Remove unnecessary wrapper
30589 functions.
30590 * malloc/arena.c: Likewise.
30591 * malloc/hooks.c: Likewise.
30592
41b81892
UD
30593 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30594 ARENA_TEST says not to. Simplify test for creation of a new arena.
30595 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30596
27a25b6e
UD
305972012-01-30 Ulrich Drepper <drepper@gmail.com>
30598
30599 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30600 into tail calls.
30601 (update_get_addr): New function.
30602 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30603 GET_ADDR_MODULE parameter.
30604
c8a89e7d
JM
306052012-01-30 Joseph Myers <joseph@codesourcery.com>
30606
30607 * crypt/cert.c: Remove __STDC__ conditionals.
30608 * crypt/crypt-entry.c: Likewise.
30609 * crypt/crypt_util.c: Likewise.
30610 * libio/filedoalloc.c: Likewise.
30611 * libio/fileops.c: Likewise.
30612 * libio/genops.c: Likewise.
30613 * libio/iofclose.c: Likewise.
30614 * libio/iofdopen.c: Likewise.
30615 * libio/iofopen.c: Likewise.
30616 * libio/iofopen64.c: Likewise.
30617 * libio/iogetdelim.c: Likewise.
30618 * libio/iopopen.c: Likewise.
30619 * libio/obprintf.c: Likewise.
30620 * libio/oldfileops.c: Likewise.
30621 * libio/oldiofclose.c: Likewise.
30622 * libio/oldiofdopen.c: Likewise.
30623 * libio/oldiofopen.c: Likewise.
30624 * libio/oldiopopen.c: Likewise.
30625 * libio/wfiledoalloc.c: Likewise.
30626 * libio/wgenops.c: Likewise.
30627 * locale/programs/xmalloc.c: Likewise.
30628 * misc/syslog.c: Likewise.
30629 * stdio-common/xbug.c: Likewise.
30630 * string/memchr.c: Likewise.
30631 * string/memcmp.c: Likewise.
30632 * string/memrchr.c: Likewise.
30633 * string/rawmemchr.c: Likewise.
30634 * sysdeps/posix/getcwd.c: Likewise.
30635 * time/strftime_l.c: Likewise.
30636
3b100462
JM
306372012-01-30 Joseph Myers <joseph@codesourcery.com>
30638
30639 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
30640 * config.make.in (config-cflags-sse2avx): Define.
30641 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30642 Fix typo.
30643
607998af
CM
306442012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30645
30646 * scripts/config.guess: Update from upstream config git repository.
30647 * scripts/config.sub: Likewise.
30648
3601428f
CM
306492012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30650
3ac8b282
CM
30651 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30652 (EM_NUM): Update.
30653 (R_TILEPRO_*, R_TILEGX_*): New macros.
30654
e034841e
CM
30655 * scripts/firstversions.awk: Fix bug in version range handling.
30656
540d7568
CM
30657 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30658
3601428f
CM
30659 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30660
463de862
CM
30661 * include/sys/epoll.h: New file.
30662 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30663 libc_hidden_def.
30664
73139a76
UD
306652012-01-28 Ulrich Drepper <drepper@gmail.com>
30666
96bc5b45
UD
30667 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30668 Avoid unnecessary __WORDSIZE == 64 test.
30669 (fmaxf): Use VEX format if possible.
30670 (fmax): Likewise.
30671 (fminf): Likewise.
30672 (fmin): Likewise.
30673
56f6f6a2
UD
30674 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30675 * math/math_private.h: Remove libc_fegetround* and
30676 libc_fesetround*.
30677 * sysdeps/i386/configure.in: Check for -msse2avx.
30678 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30679 also if SSE2AVX is defined.
30680 Remove libc_fegetround* and libc_fesetround*.
30681 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30682 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30683 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30684 of HAS_YMM_USABLE.
30685 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30686 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30687 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30688 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30689 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30690
73139a76
UD
30691 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30692
d73f93a4
AZ
306932012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30694
30695 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30696 size is not set.
30697 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30698
6ee65ed6
UD
306992012-01-27 Ulrich Drepper <drepper@gmail.com>
30700
30701 [BZ #13618]
30702 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30703 relocation.
30704 * Makeconfig (libm): Define.
30705 * elf/Makefile: Add rules to build and run tst-relsort1.
30706 * elf/tst-relsort1.c: New file.
30707 * elf/tst-relsort1mod1.c: New file.
30708 * elf/tst-relsort1mod2.c: New file.
30709
8db21882
JM
307102012-01-27 Joseph Myers <joseph@codesourcery.com>
30711
30712 * math/s_ldexp.c: Remove __STDC__ conditionals.
30713 * math/s_ldexpf.c: Likewise.
30714 * math/s_ldexpl.c: Likewise.
30715 * math/s_nextafter.c: Likewise.
30716 * math/s_nexttowardf.c: Likewise.
30717 * math/s_significand.c: Likewise.
30718 * math/s_significandf.c: Likewise.
30719 * math/s_significandl.c: Likewise.
30720 * math/w_jnl.c: Likewise.
30721 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30722 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30723 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30724 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30725 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30726 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30727 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30728 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30729 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30730 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30731 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30732 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30733 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30734 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30735 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30736 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30737 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30738 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30739 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30740 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30741 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30742 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30743 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30744 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30745 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30746 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30747 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30748 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30749 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30750 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30751 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30752 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30753 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30754 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30755 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30756 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30757 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30758 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30759 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30760 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30761 * sysdeps/ieee754/k_standard.c: Likewise.
30762 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30763 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30764 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30765 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30766 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30767 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30768 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30769 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30770 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30771 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30772 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30773 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30774 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30775 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30776 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30777 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30778 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30779 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30780 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30781 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30782 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30783 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30784 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30785 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30786 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30787 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30788 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30789 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30790 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30791 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30792 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30793 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30794 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30795 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30796 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30797 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30798 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30799 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30800 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30801 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30802 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30803 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30804 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30805 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30806 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30807 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30808 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30809 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30810 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30811 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30812 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30813 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30814 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30815 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30816 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30817 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30818 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30819 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30820 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30821 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30822 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30823 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30824 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30825 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30826 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30827 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30828 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30829 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30830 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30831 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30832 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30833 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30834 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30835 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30836 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30837 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30838 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30839 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30840 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30841 * sysdeps/ieee754/s_matherr.c: Likewise.
30842 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30843 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30844 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30845 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30846
965a54a4
JM
308472012-01-26 Joseph Myers <joseph@codesourcery.com>
30848
30849 * crypt/md5.h: Remove __STDC__ conditionals.
30850 * libio/libioP.h: Likewise.
30851 * locale/programs/config.h: Likewise.
30852 * sysdeps/generic/sysdep.h: Likewise.
30853 * sysdeps/i386/asm-syntax.h: Likewise.
30854 * sysdeps/s390/asm-syntax.h: Likewise.
30855 * sysdeps/unix/sysdep.h: Likewise.
30856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30858
7071ad79
JM
308592012-01-26 Joseph Myers <joseph@codesourcery.com>
30860
30861 * libio/libio.h: Remove __STDC__ conditionals.
30862 * malloc/obstack.h: Likewise.
30863 * math/complex.h: Likewise.
30864 * math/math.h: Likewise.
30865 * sysdeps/generic/_G_config.h: Likewise.
30866 * sysdeps/gnu/_G_config.h: Likewise.
30867 * sysdeps/mach/hurd/_G_config.h: Likewise.
30868 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30869 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30870 * sysdeps/sparc/bits/mathdef.h: Likewise.
30871
afc5ed09
UD
308722012-01-26 Ulrich Drepper <drepper@gmail.com>
30873
30874 [BZ #13583]
30875 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 30876 Clean up HAS_* macros.
afc5ed09 30877 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
30878 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30879 possible.
30880 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30881 HAS_AVX.
30882 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30883 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30884 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30885 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30886 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 30887
bdb6de1d
JM
308882012-01-25 Joseph Myers <joseph@codesourcery.com>
30889
30890 * elf/tst-unique3.cc (gets): Remove declaration.
30891 * elf/tst-unique3lib.cc (gets): Likewise.
30892 * elf/tst-unique3lib2.cc (gets): Likewise.
30893 * elf/tst-unique4.cc (gets): Likewise.
30894
b15549e6
UD
308952012-01-24 Ulrich Drepper <drepper@gmail.com>
30896
30897 * include/stdio.h: Add C++ protection. Add gets declarations and
30898 definitions.
30899 * debug/tst-chk1.c: Don't declare gets here.
30900 * stdio-common/tst-gets.c: Likewise.
30901
a037381f
JM
309022012-01-24 Joseph Myers <joseph@codesourcery.com>
30903
30904 * posix/glob: Remove directory.
30905
f1d4aa75
JM
309062012-01-24 Joseph Myers <joseph@codesourcery.com>
30907
30908 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30909
81c0c964
PT
309102012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30911
30912 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30913 of the non-standard EPFNOSUPPORT.
30914
0ea698ae
ST
309152011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30916
30917 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30918 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30919 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30920
d220b117
UD
309212012-01-21 Ulrich Drepper <drepper@gmail.com>
30922
30923 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30924
3e1aa84e
UD
309252012-01-20 Ulrich Drepper <drepper@gmail.com>
30926
30927 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30928 transient errors.
30929 * nscd/grpcache.c (cache_addgr): Likewise.
30930 * nscd/hstcache.c (cache_addhst): Likewise.
30931 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30932 * nscd/pwdcache.c (cache_addpw): Likewise.
30933 * nscd/servicescache.c (cache_addserv): Likewise.
30934
400aa020
UD
309352012-01-16 Ulrich Drepper <drepper@gmail.com>
30936
d77e7869
UD
30937 * malloc/malloc.c: Various cleanups.
30938 * malloc/hooks.c: Likewise.
30939
400aa020
UD
30940 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30941 * stdlib/bug-fmtmsg1.c: New file.
30942
30943 * stdlib/fmtmsg.c (init): Add missing unlock.
30944 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30945
e0a309cf
MP
309462012-01-12 Marek Polacek <polacek@redhat.com>
30947
30948 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30949 and _GNU_SOURCE.
30950
929d11c7
WS
309512012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30952
30953 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30954 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30955 macro to ensure uniqueness of label name.
30956 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30957 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30958
41d0e869
UD
309592012-01-11 Ulrich Drepper <drepper@gmail.com>
30960
0cc5ed3b
UD
30961 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30962
41d0e869
UD
30963 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30964 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30965 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30966 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30967
a47a831a
UD
309682012-01-10 Ulrich Drepper <drepper@gmail.com>
30969
daa891c0
UD
30970 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30971
30972 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30973 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30974 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30975
e58ef0f2
UD
30976 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30977
a47a831a 30978 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
30979 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30980 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 30981 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
30982
30983 * math/bits/math-finite.h: Add ldexp support.
30984
a0bfc9c7
MP
309852012-01-10 Marek Polacek <polacek@redhat.com>
30986
30987 * locale/programs/localedef.h (show_archive_content): Add noreturn
30988 attribute.
30989
d6e97a1d
UD
309902012-01-09 Ulrich Drepper <drepper@gmail.com>
30991
30992 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30993
d5835c26
UD
309942012-01-08 Ulrich Drepper <drepper@gmail.com>
30995
e5f484c6
UD
30996 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30997
d5835c26
UD
30998 * io/Makefile (headers): Add bits/poll2.h.
30999
d1f741e9
WS
310002011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31001
31002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31003 typo #include statement.
31004
ec09c1c4
UD
310052012-01-08 Ulrich Drepper <drepper@gmail.com>
31006
31007 * include/sys/cdefs.h: Define __attribute_alloc_size.
31008 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31009 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31010 * elf/pldd.c: Likewise.
31011 * iconv/iconv_charmap.c: Likewise.
31012 * iconv/iconvconfig.c: Likewise.
31013 * iconv/strtab.c: Likewise.
31014 * locale/programs/locale.c: Likewise.
31015 * locale/programs/localedef.h: Likewise.
31016 * locale/programs/simple-hash.c: Likewise.
31017 * nscd/nscd.h: Likewise.
31018 * nss/makedb.c: Likewise.
31019 * sysdeps/generic/ldconfig.h: Likewise.
31020 * locale/programs/localedef.c: Remove xmalloc prototype.
31021 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31022
20b38e03
PP
310232012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31024
31025 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31026 appropriate.
31027
a0da5fe1
UD
310282012-01-08 Ulrich Drepper <drepper@gmail.com>
31029
1d5a644a 31030 * math/Makefile (tests): Add tst-CMPLX.
669704fd 31031 * math/tst-CMPLX.c: New file.
1d5a644a 31032
8784a6db
UD
31033 * math/complex.h (CMPLXL): Fix typo.
31034
d9a216c0
UD
31035 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31036 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31037 GLIBC_2.16.
31038 * debug/tst-chk1.c: Add poll and ppoll tests.
31039 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31040 * include/sys/poll.h: Add hidden proto for ppoll.
31041 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31042 * sysdeps/mach/hurd/ppoll.c: Likewise.
31043 * io/ppoll.c: Likewise.
31044 * debug/poll_chk.c: New file.
31045 * debug/ppoll_chk.c: New file.
31046 * include/bits/poll2.h: New file.
31047 * io/bits/poll2.h: New file.
31048
ac097f5c
UD
31049 [BZ #1350]
31050 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31051
2119dcfa
UD
31052 * configure.in: static is always set to yes. Remove.
31053 * config.make.in: Don't set build-static.
31054 * Makeconfig: Remove use of build-static.
31055 * dlfcn/Makefile: Likewise.
31056 * elf/Makefile: Likewise.
31057 * math/Makefile: Likewise.
31058 * misc/Makefile: Likewise.
31059 * nptl/Makefile: Likewise.
31060 * sysdeps/mach/hurd/Makefile: Likewise.
31061
121766a9
UD
31062 * configure.in: PWD_P is not used anymore.
31063 * config.make.in: Remove PWD_P entry.
31064
51a1d39c 31065 * configure.in: Remove last remnants of RANLIB.
8720d066 31066 No need to check for signed size_t anymore.
215f4bdc
UD
31067 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31068 and IA-64.
3857022a 31069 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
31070 * aclocal.m4: Likewise.
31071
d3ed7225
UD
31072 * wcsmbs/mbrtoc16.c: Implement using towc function.
31073 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31074 * wcsmbs/wcsmbsload.c: Likewise.
31075 * iconv/gconv_simple.c: Likewise.
31076 * iconv/gconv_int.h: Likewise.
31077 * iconv/gconv_builtin.h: Likewise.
31078 * iconv/iconv_prog.c: Remove CHAR16 handling.
31079
31080 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31081
31082 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31083
a0da5fe1
UD
31084 * configure.in: Remove --with-elf and --enable-bounded options.
31085 Dont set base_machine for ia64. More non-ELF conditions removed.
31086 Remove testing and setting of leading underscore information.
31087 * config.make.in (build-bounded): Set to no.
31088 * config.h.in: Remove NO_UNDERSCORES entry.
31089 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31090 them.
31091 * csu/start.c: Remove !NO_UNDERSCORE code.
31092 * locale/localeinfo.h: Likewise.
31093 * sysdeps/generic/machine-gmon.h: Likewise.
31094 * sysdeps/generic/sysdep.h: Likewise.
31095 * sysdeps/i386/sysdep.h: Likewise.
31096 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31097 * sysdeps/mach/sysdep.h: Likewise.
31098 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31099 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31100 * sysdeps/sh/sysdep.h: Likewise.
31101 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31102 * sysdeps/unix/i386/sysdep.S: Likewise.
31103 * sysdeps/unix/sparc/start.c: Likewise.
31104 * sysdeps/unix/sparc/sysdep.S: Likewise.
31105 * sysdeps/unix/sparc/sysdep.h: Likewise.
31106 * sysdeps/unix/start.c: Likewise.
31107 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31108 * sysdeps/x86_64/sysdep.h: Likewise.
31109
df78418a
UD
311102012-01-07 Ulrich Drepper <drepper@gmail.com>
31111
a784e502
UD
31112 [BZ #13553]
31113 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31114 for non-gcc.
31115 * argp/argp-fmtstream.h: Use const instead __const.
31116 * argp/argp.h: Likewise.
31117 * assert/assert.h: Likewise.
31118 * bits/fenv.h: Likewise.
31119 * bits/sched.h: Likewise.
31120 * bits/sigset.h: Likewise.
31121 * bits/sigthread.h: Likewise.
31122 * catgets/nl_types.h: Likewise.
31123 * conform/data/pthread.h-data: Likewise.
31124 * crypt/crypt-private.h: Likewise.
31125 * crypt/crypt.h: Likewise.
31126 * crypt/crypt_util.c: Likewise.
31127 * ctype/ctype.h: Likewise.
31128 * debug/execinfo.h: Likewise.
31129 * debug/mbsnrtowcs_chk.c: Likewise.
31130 * debug/mbsrtowcs_chk.c: Likewise.
31131 * debug/wcsnrtombs_chk.c: Likewise.
31132 * debug/wcsrtombs_chk.c: Likewise.
31133 * debug/wcstombs_chk.c: Likewise.
31134 * dirent/dirent.h: Likewise.
31135 * dlfcn/dlfcn.h: Likewise.
31136 * elf/neededtest4.c: Likewise.
31137 * grp/grp.h: Likewise.
31138 * gshadow/gshadow.h: Likewise.
31139 * iconv/gconv.h: Likewise.
31140 * iconv/gconv_int.h: Likewise.
31141 * iconv/gconv_simple.c: Likewise.
31142 * iconv/iconv.h: Likewise.
31143 * iconv/loop.c: Likewise.
31144 * iconv/skeleton.c: Likewise.
31145 * include/aio.h: Likewise.
31146 * include/aliases.h: Likewise.
31147 * include/argz.h: Likewise.
31148 * include/arpa/inet.h: Likewise.
31149 * include/assert.h: Likewise.
31150 * include/dirent.h: Likewise.
31151 * include/dlfcn.h: Likewise.
31152 * include/execinfo.h: Likewise.
31153 * include/fcntl.h: Likewise.
31154 * include/fenv.h: Likewise.
31155 * include/glob.h: Likewise.
31156 * include/grp.h: Likewise.
31157 * include/libintl.h: Likewise.
31158 * include/mntent.h: Likewise.
31159 * include/netdb.h: Likewise.
31160 * include/pwd.h: Likewise.
31161 * include/rpc/netdb.h: Likewise.
31162 * include/sched.h: Likewise.
31163 * include/search.h: Likewise.
31164 * include/shadow.h: Likewise.
31165 * include/signal.h: Likewise.
31166 * include/stdio.h: Likewise.
31167 * include/stdlib.h: Likewise.
31168 * include/string.h: Likewise.
31169 * include/sys/socket.h: Likewise.
31170 * include/sys/stat.h: Likewise.
31171 * include/sys/statfs.h: Likewise.
31172 * include/sys/statvfs.h: Likewise.
31173 * include/sys/syslog.h: Likewise.
31174 * include/sys/time.h: Likewise.
31175 * include/sys/uio.h: Likewise.
31176 * include/time.h: Likewise.
31177 * include/unistd.h: Likewise.
31178 * include/utmp.h: Likewise.
31179 * include/wchar.h: Likewise.
31180 * include/wctype.h: Likewise.
31181 * inet/aliases.h: Likewise.
31182 * inet/arpa/inet.h: Likewise.
31183 * inet/netinet/ether.h: Likewise.
31184 * inet/netinet/in.h: Likewise.
31185 * intl/libintl.h: Likewise.
31186 * io/bits/fcntl2.h: Likewise.
31187 * io/fcntl.h: Likewise.
31188 * io/ftw.h: Likewise.
31189 * io/sys/poll.h: Likewise.
31190 * io/sys/stat.h: Likewise.
31191 * io/sys/statfs.h: Likewise.
31192 * io/sys/statvfs.h: Likewise.
31193 * io/utime.h: Likewise.
31194 * libio/bits/stdio.h: Likewise.
31195 * libio/bits/stdio2.h: Likewise.
31196 * libio/libio.h: Likewise.
31197 * libio/libioP.h: Likewise.
31198 * libio/stdio.h: Likewise.
31199 * locale/lc-ctype.c: Likewise.
31200 * locale/locale.h: Likewise.
31201 * login/utmp.h: Likewise.
31202 * malloc/arena.c: Likewise.
31203 * malloc/malloc.c: Likewise.
31204 * malloc/malloc.h: Likewise.
31205 * malloc/mcheck.c: Likewise.
31206 * malloc/mtrace.c: Likewise.
31207 * math/bits/mathcalls.h: Likewise.
31208 * math/fenv.h: Likewise.
31209 * math/math_private.h: Likewise.
31210 * misc/bits/error.h: Likewise.
31211 * misc/bits/syslog.h: Likewise.
31212 * misc/err.h: Likewise.
31213 * misc/error.h: Likewise.
31214 * misc/fstab.h: Likewise.
31215 * misc/mntent.h: Likewise.
31216 * misc/regexp.h: Likewise.
31217 * misc/search.h: Likewise.
31218 * misc/sgtty.h: Likewise.
31219 * misc/sys/mman.h: Likewise.
31220 * misc/sys/syslog.h: Likewise.
31221 * misc/sys/uio.h: Likewise.
31222 * misc/sys/xattr.h: Likewise.
31223 * misc/ttyent.h: Likewise.
31224 * nis/rpcsvc/ypclnt.h: Likewise.
31225 * nss/nss.h: Likewise.
31226 * posix/bits/unistd.h: Likewise.
31227 * posix/fnmatch.h: Likewise.
31228 * posix/glob.h: Likewise.
31229 * posix/sched.h: Likewise.
31230 * posix/spawn.h: Likewise.
31231 * posix/sys/wait.h: Likewise.
31232 * posix/unistd.h: Likewise.
31233 * posix/wordexp.h: Likewise.
31234 * pwd/pwd.h: Likewise.
31235 * resolv/netdb.h: Likewise.
31236 * resource/sys/resource.h: Likewise.
31237 * rt/aio.h: Likewise.
31238 * rt/bits/mqueue2.h: Likewise.
31239 * rt/mqueue.h: Likewise.
31240 * shadow/shadow.h: Likewise.
31241 * signal/signal.h: Likewise.
31242 * socket/send.c: Likewise.
31243 * socket/sendto.c: Likewise.
31244 * socket/sys/socket.h: Likewise.
31245 * stdio-common/printf.h: Likewise.
31246 * stdlib/bits/stdlib.h: Likewise.
31247 * stdlib/fmtmsg.h: Likewise.
31248 * stdlib/monetary.h: Likewise.
31249 * stdlib/stdlib.h: Likewise.
31250 * stdlib/ucontext.h: Likewise.
31251 * streams/stropts.h: Likewise.
31252 * string/argz.h: Likewise.
31253 * string/bits/string2.h: Likewise.
31254 * string/string.h: Likewise.
31255 * string/strings.h: Likewise.
31256 * sunrpc/rpc/auth.h: Likewise.
31257 * sunrpc/rpc/auth_des.h: Likewise.
31258 * sunrpc/rpc/clnt.h: Likewise.
31259 * sunrpc/rpc/netdb.h: Likewise.
31260 * sunrpc/rpc/pmap_clnt.h: Likewise.
31261 * sunrpc/rpc/xdr.h: Likewise.
31262 * sysdeps/generic/inttypes.h: Likewise.
31263 * sysdeps/generic/net/if.h: Likewise.
31264 * sysdeps/generic/sys/swap.h: Likewise.
31265 * sysdeps/gnu/net/if.h: Likewise.
31266 * sysdeps/gnu/utmpx.h: Likewise.
31267 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31268 * sysdeps/i386/i486/bits/string.h: Likewise.
31269 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31270 * sysdeps/s390/bits/string.h: Likewise.
31271 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31272 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31273 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31274 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31275 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31276 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31277 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31278 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31279 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31280 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31281 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31282 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31283 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31284 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31285 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31286 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31287 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31288 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31289 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31290 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31291 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31292 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31293 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31294 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31295 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31296 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31297 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31298 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31299 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31300 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31301 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31302 * sysvipc/sys/ipc.h: Likewise.
31303 * sysvipc/sys/msg.h: Likewise.
31304 * sysvipc/sys/sem.h: Likewise.
31305 * sysvipc/sys/shm.h: Likewise.
31306 * termios/termios.h: Likewise.
31307 * time/sys/time.h: Likewise.
31308 * time/time.h: Likewise.
31309 * wcsmbs/bits/wchar2.h: Likewise.
31310 * wcsmbs/uchar.h: Likewise.
31311 * wcsmbs/wchar.h: Likewise.
31312 * wctype/wctype.h: Likewise.
31313
0269750c
UD
31314 [BZ #13551]
31315 * Makeconfig: Remove all but ELF support including AIX support.
31316 * Makerules: Likewise.
31317 * config.h.in: Likewise.
31318 * config.make.in: Likewise.
31319 * configure: Likewise.
31320 * configure.in: Likewise.
31321 * csu/Makefile: Likewise.
31322 * csu/version.c: Likewise.
31323 * debug/Makefile: Likewise.
31324 * dlfcn/Makefile: Likewise.
31325 * elf/Makefile: Likewise.
31326 * extra-lib.mk: Likewise.
31327 * iconv/Makefile: Likewise.
31328 * include/libc-symbols.h: Likewise.
31329 * include/shlib-compat.h: Likewise.
31330 * resolv/Makefile: Likewise.
31331 * resolv/res_libc.c: Likewise.
31332 * rt/Makefile: Likewise.
31333 * sysdeps/i386/asm-syntax.h: Likewise.
31334 * sysdeps/i386/sysdep.h: Likewise.
31335 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31336 * sysdeps/mach/sysdep.h: Likewise.
31337 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31338 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31339 * sysdeps/s390/asm-syntax.h: Likewise.
31340 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31341 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31342 * sysdeps/sh/sysdep.h: Likewise.
31343 * sysdeps/unix/sparc/sysdep.h: Likewise.
31344 * sysdeps/wordsize-32/divdi3.c: Likewise.
31345 * sysdeps/x86_64/sysdep.h: Likewise.
31346
00bbd29b
UD
31347 * argp/Versions: Remove _argp_unlock_xxx.
31348
31349 [BZ #13559]
31350 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31351 * abilist/libBrokenLocale.abilist: Likewise.
31352 * abilist/libanl.abilist: Likewise.
31353 * abilist/libc.abilist: Likewise.
31354 * abilist/libcrypt.abilist: Likewise.
31355 * abilist/libdl.abilist: Likewise.
31356 * abilist/libm.abilist: Likewise.
31357 * abilist/libnsl.abilist: Likewise.
31358 * abilist/libpthread.abilist: Likewise.
31359 * abilist/libresolv.abilist: Likewise.
31360 * abilist/librt.abilist: Likewise.
31361 * abilist/libthread_db.abilist: Likewise.
31362 * abilist/libutil.abilist: Likewise.
31363 * abilist/libnss_db.abilist: New file.
31364
31365 * scripts/abilist.awk: Add support for indirect functions.
31366
a2693a0e
UD
31367 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31368
3f05895f
UD
31369 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31370
ecb6fb48
UD
31371 * shlib-versions: Remove entries for ports architectures.
31372
664f8cb9
UD
31373 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31374 files in ports.
31375 * elf/stackguard-macros.h: Remove support for IA-64.
31376 * elf/tst-auditmod1.c: Likewise.
31377 * sysdeps/generic/ldsodefs.h: Likewise.
31378
7ae81d88
UD
31379 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31380 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31381 configure files.
31382
bdeba135
UD
31383 [BZ #13552]
31384 * configure.in: Remove --enable-omitfp support.
31385 * FAQ.in: Adjust.
31386 * config.make.in: Likewise.
31387 * Makeconfig: Likewise.
31388 * manual/install.texi: Likewise.
31389
d75a0a62
UD
31390 In case anyone cares, the IA-64 architecture could move to ports.
31391 * sysdeps/ia64/*: Removed.
31392 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 31393 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 31394
dcc9756b
UD
31395 [BZ #13555]
31396 * configure.in: Remove entries for unsupported architectures.
31397
d3761ebc 31398 [BZ #13533]
9954432e
UD
31399 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31400 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31401 routines.
31402 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31403 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31404 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31405 fall back to using wcrtomb.
31406 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31407 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31408 renaming.
31409 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31410 * wcsmbs/tst-c16c32-1.c: New file.
31411
31412 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31413 local variable.
31414
c3a87236
UD
31415 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31416
28926a1b
UD
31417 * elf/tst-unique3.cc: Add explicit declaration of gets.
31418 * elf/tst-unique3lib.cc: Likewise.
31419 * elf/tst-unique3lib2.cc: Likewise.
31420 * elf/tst-unique4.cc: Likewise.
31421
df78418a
UD
31422 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31423
8ecd6b2a
JM
314242012-01-06 Joseph Myers <joseph@codesourcery.com>
31425
31426 [BZ #13566]
31427 * assert/assert.h (static_assert): Don't define for C++.
31428 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31429 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31430
9f115170
UD
314312012-01-03 Ulrich Drepper <drepper@gmail.com>
31432
5e0d0300
UD
31433 * iconv/loop.c (single loop): Fix assertion in storing of
31434 remaining bytes.
31435
9f115170
UD
31436 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31437
81fb02b0
UD
314382012-01-01 Ulrich Drepper <drepper@gmail.com>
31439
31440 * posix/getconf.c: Update copyright year.
31441 * nss/getent.c: Likewise.
a316c1f6 31442 * nss/makedb.c: Likewise.
81fb02b0
UD
31443 * iconv/iconvconfig.c: Likewise.
31444 * iconv/iconv_prog.c: Likewise.
31445 * elf/ldconfig.c: Likewise.
a316c1f6
UD
31446 * elf/pldd.c: Likewise.
31447 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
31448 * catgets/gencat.c: Likewise.
31449 * csu/version.c: Likewise.
31450 * elf/ldd.bash.in: Likewise.
31451 * elf/sprof.c (print_version): Likewise.
31452 * locale/programs/locale.c: Likewise.
31453 * locale/programs/localedef.c: Likewise.
a316c1f6 31454 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
31455 * nscd/nscd.c (print_version): Likewise.
31456 * debug/xtrace.sh: Likewise.
31457 * malloc/memusage.sh: Likewise.
31458 * malloc/mtrace.pl: Likewise.
31459 * debug/catchsegv.sh: Likewise.
31460
2ba92745
JJ
314612011-12-30 Jakub Jelinek <jakub@redhat.com>
31462
31463 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31464 pure attribute.
31465
dadebdae
UD
314662011-12-24 Ulrich Drepper <drepper@gmail.com>
31467
d3761ebc 31468 [BZ #13533]
db6af3eb
UD
31469 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31470 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31471 transformations.
31472 * iconv/gconv_int.h: Likewise.
31473 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31474 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31475 from libc for GLIBC_2.16.
31476 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31477 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31478 * wcsmbs/uchar.h: Really define mbstate_t.
31479 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31480 * wcsmbs/c16rtomb.c: New file.
31481 * wcsmbs/mbrtoc16.c: New file.
31482 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31483 for C/POSIX locale.
31484 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31485 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31486
dadebdae
UD
31487 * wcsmbs/wchar.h: Add missing __restrict.
31488
67371b56
UD
314892011-12-23 Ulrich Drepper <drepper@gmail.com>
31490
74033a25
UD
31491 [BZ #13532]
31492 * time/Makefile (routines): Add timespec_get.
31493 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31494 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31495 timespec for ISO C11.
31496 * time/timespec_get.c: New file.
31497 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31498 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31499
380d7e87
UD
31500 [BZ #13531]
31501 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31502 * stdlib/stdlib.h: Declare aligned_alloc.
31503 * Versions.def: Add GLIBC_2.16 for libc.
31504 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31505
4e9e7a35
UD
31506 [BZ 13527]
31507 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31508 ISO C11.
31509
380d7e87 31510 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
31511 code.
31512
03a71829
UD
31513 [BZ #13528]
31514 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31515
839e283e
UD
31516 [BZ #13529]
31517 * assert/assert.h (static_assert): Define.
31518
ce5294e2 31519 * version.h: Update for 2.16 development version.
90fa7312 31520
8d44e150 31521 [BZ #13526]
d7809905
UD
31522 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31523 _ISOC11_SOURCE.
31524
c0da14cd
UD
31525 * version.h (RELEASE): Bump for 2.15 release.
31526 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31527
530a3249
MP
31528 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31529 Patch by Marek Polacek <mpolacek@redhat.com>.
31530
67371b56
UD
31531 * bits/byteswap.h: Protect long long constants with __extension__.
31532 * sysdeps/i386/bits/byteswap.h: Likewise.
31533 * sysdeps/ia64/bits/byteswap.h: Likewise.
31534 * sysdeps/s390/bits/byteswap.h: Likewise.
31535 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31536
15db4de1
LD
315372011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31538
31539 [BZ #13540]
bbe315ea
LD
31540 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31541 destination buffer.
15db4de1
LD
31542 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31543
2b2596b1
MP
315442011-12-23 Marek Polacek <polacek@redhat.com>
31545
31546 * elf/dl-addr.c (determine_info): Add inline keyword.
31547 * elf/tst-auditmod4b.c (check_avx): Likewise.
31548 * elf/tst-auditmod6b.c (check_avx): Likewise.
31549 * elf/tst-auditmod6c.c (check_avx): Likewise.
31550 * elf/tst-auditmod7b.c (check_avx): Likewise.
31551
70c6c246
UD
315522011-12-23 Ulrich Drepper <drepper@gmail.com>
31553
31554 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31555 !__SSE_MATH__.
31556
c044cf14
LD
315572011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31558
15db4de1 31559 [BZ #13540]
c044cf14
LD
31560 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31561 processing for last bytes.
31562
6b13d9d9
BH
315632011-08-06 Bruno Haible <bruno@clisp.org>
31564
d455f537
BH
31565 [BZ #13061]
31566 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31567 U+0385, not to U+1FEE.
31568
6b13d9d9
BH
31569 [BZ #13062]
31570 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31571 entry for U+00A5 U+0301.
31572
db910efd
UD
315732011-12-22 Ulrich Drepper <drepper@gmail.com>
31574
27deeafc
UD
31575 [BZ #13166]
31576 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31577 buffer for the output is too small.
31578
aed9d171
UD
31579 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31580 optimization.
31581
db910efd
UD
31582 [BZ #13185]
31583 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31584 SSE flags if possible.
31585
2bd779ae
LD
315862011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31587
e7f9dac3 31588 [BZ #13540]
2bd779ae
LD
31589 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31590 processing for last bytes.
31591
154bfc16
JM
315922011-12-22 Joseph Myers <joseph@codesourcery.com>
31593
31594 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31595 (syscall-list-default-options, syscall-list-default-condition)
31596 (syscall-list-includes): Define.
31597 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31598 list of ABIs and options and #if conditions for each ABI. Do not
31599 handle common syscalls between ABIs specially.
31600 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31601 Remove.
31602 (syscall-list-variants, syscall-list-32bit-options)
31603 (syscall-list-32bit-condition, syscall-list-64bit-options)
31604 (syscall-list-64bit-condition): Define.
31605 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31606 (syscall-list-variants, syscall-list-32bit-options)
31607 (syscall-list-32bit-condition, syscall-list-64bit-options)
31608 (syscall-list-64bit-condition): Define.
31609 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31610 Remove.
31611 (syscall-list-variants, syscall-list-32bit-options)
31612 (syscall-list-32bit-condition, syscall-list-64bit-options)
31613 (syscall-list-64bit-condition): Define.
31614 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31615 Remove.
31616 (syscall-list-variants, syscall-list-32bit-options)
31617 (syscall-list-32bit-condition, syscall-list-64bit-options)
31618 (syscall-list-64bit-condition): Define.
31619
21eaf3a5
UD
316202011-12-22 Ulrich Drepper <drepper@gmail.com>
31621
16c6f992
UD
31622 * locale/iso-639.def: Add brx entry.
31623
41043168
UD
31624 [BZ #13328]
31625 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31626 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31627
21eaf3a5
UD
31628 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31629 __feraiseexcept_renamed.
31630
e3a851a2
UD
316312011-12-21 Ulrich Drepper <drepper@gmail.com>
31632
4920765e
UD
31633 [BZ #13538]
31634 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31635 EPOLLET with unsigned values.
31636 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31637 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31638
e3a851a2
UD
31639 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31640 to large cancellation.
31641 * math/s_cacoshf.c: Likewise.
31642 * math/s_cacoshl.c: Likewise.
31643
b27e24b8
RK
316442011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31645
31646 [BZ #13305]
aebefeee 31647 [BZ #12786]
b27e24b8
RK
31648 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31649 * math/s_cacoshf.c: Likewise.
31650 * math/s_cacoshl.c: Likewise.
31651
ee190f67
UD
316522011-12-21 Ulrich Drepper <drepper@gmail.com>
31653
31654 [BZ #13439]
31655 * iconv/gconv.h: Define __GCONV_SWAP.
31656 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31657 * iconvdata/utf-16.c: Likewise.
31658 * iconvdata/utf-32.c: Likewise.
31659
707f25df
AS
316602011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31661
31662 [BZ #13524]
31663 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31664 numerator after shifting it by one limb.
31665
d2daaa1e
RÁE
316662011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31667
31668 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31669 under [__USE_EXTERN_INLINES].
31670
a4647e72
UD
316712011-12-17 Ulrich Drepper <drepper@gmail.com>
31672
31673 [BZ #13446]
31674 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31675
f0b264f1
AZ
316762011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31677
31678 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31679 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31680 optimized code.
31681 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31682 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31683 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31684 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31685 for strncasecmp/strncasecmp_l compilation.
31686 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31687 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31688
8ef4f244
MP
316892011-12-08 Marek Polacek <mpolacek@redhat.com>
31690
31691 [BZ #13484]
31692 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31693 of __asm__.
31694
97ac2654
UD
316952011-12-17 Ulrich Drepper <drepper@gmail.com>
31696
31697 [BZ #13506]
31698 * time/tzfile.c (__tzfile_read): Check values from file header.
31699
91d2a845
WS
317002011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31701
31702 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31703 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31704 * powerpc/powerpc32/dl-start.S: Likewise.
31705 * powerpc/powerpc32/elf/start.S: Likewise.
31706 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31707 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31708 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31709 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31710 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31711 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31712 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31713 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31714 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31715 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31716 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31717 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31718 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31719 * powerpc/powerpc32/memset.S: Likewise.
31720 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31721 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31722 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31723 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31724 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31725 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31726 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31727 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31728 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31729 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31730 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31731 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31732 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31733
a1267ba1
AZ
317342011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31735
31736 * math/libm-test.inc: Added more nearbyint tests.
31737 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31738 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31739 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31740 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31741
ad8ac1bd
RL
317422011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31743
31744 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31745 FD_CLOEXEC.
31746
1d3e4b61
UD
317472011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31748
31749 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31750 Add wcscpy-ssse3 wcscpy-c.
31751 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31752 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31753 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31754 * sysdeps/x86_64/wcschr.S: New file.
31755 * sysdeps/x86_64/wcsrchr.S: New file.
31756 * string/test-strcmp.c: Remove checking of wcscmp function for
31757 wrong alignments.
31758 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31759 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31760 wcsrchr-sse2 wcsrchr-c.
31761 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31762 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31763 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31764 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31765 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31766 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31767 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31768 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31769 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31770 * wcsmbc/wcschr.c (WCSCHR): New macro.
31771
5b330a2d
UD
317722011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31773
31774 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31775 * wcsmbs/test-wcsrchr.c: New file.
31776 * string/test-strrchr.c: Add wcsrchr support.
31777 (WIDE): New macro.
31778 * wcsmbs/test-wcscpy.c: New file.
31779 * string/test-strcpy.c: Add wcscpy support.
31780 (WIDE): New macro.
26428b7c 31781
f039c043
UD
317822011-12-10 Ulrich Drepper <drepper@gmail.com>
31783
31784 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31785 the inner loop.
31786
850fb039
AS
317872011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31788
31789 [BZ #13472]
31790 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31791
4efbd5cb
UD
317922011-12-04 Ulrich Drepper <drepper@gmail.com>
31793
52ff5dd0 31794 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 31795 Minor optimizations.
52ff5dd0 31796
4efbd5cb
UD
31797 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31798 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31799 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31800
8a426e12
UD
318012011-12-03 Ulrich Drepper <drepper@gmail.com>
31802
aff2453d
UD
31803 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31804 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31805 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31806 for gcc to avoid warnings.
31807 * inet/Makefile (tests): Add tst-checks.
31808 * inet/tst-checks.c: New file.
31809
31810 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31811 warning.
31812
31813 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31814 __wmemcmp_sse2.
31815
31816 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31817 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31818
8a426e12
UD
31819 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31820
9bea3473
UD
318212011-12-02 Ulrich Drepper <drepper@gmail.com>
31822
3a965496
UD
31823 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31824 problem.
31825
9bea3473
UD
31826 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31827
f101631b
UD
318282011-11-29 Joseph Myers <joseph@codesourcery.com>
31829
31830 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31831 conditional on GCC version.
31832 (__arch_compare_and_exchange_val_8_acq)
31833 (__arch_compare_and_exchange_val_16_acq)
31834 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31835 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31836 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31837
a98275aa
UD
318382011-12-02 Joseph Myers <joseph@codesourcery.com>
31839
31840 * sysdeps/sh/backtrace.c: New file.
31841
d4cc29a2
AS
318422011-12-02 Andreas Schwab <schwab@redhat.com>
31843
31844 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31845 parenthesis.
31846
6257af2d
AS
318472011-12-01 Andreas Schwab <schwab@redhat.com>
31848
31849 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31850 falling back to utime.
31851
b5f44c1a
AS
318522011-11-30 Andreas Schwab <schwab@redhat.com>
31853
31854 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31855 expectations for float.
31856
f3a6cc0a
AS
318572011-11-29 Andreas Schwab <schwab@redhat.com>
31858
31859 * locale/weight.h (findidx): Add parameter len.
31860 * locale/weightwc.h (findidx): Likewise.
31861 * posix/fnmatch_loop.c (FCT): Adjust caller.
31862 * posix/regcomp.c (build_equiv_class): Likewise.
31863 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31864 * posix/regexec.c (check_node_accept_bytes): Likewise.
31865 * string/strcoll_l.c (STRCOLL): Likewise.
31866 * string/strxfrm_l.c (STRXFRM): Likewise.
31867
9d65ea3a
UD
318682011-11-17 Ulrich Drepper <drepper@gmail.com>
31869
31870 * Makefile.in: Remove CVSOPT handling.
31871 * configure.in: Remove use of AC_REVISION.
31872 * iconvdata/Makefile (distribute): No need to filter out CVS.
31873 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31874 handling.
31875
5583a086
AS
318762011-11-16 Andreas Schwab <schwab@redhat.com>
31877
31878 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31879 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31880 [USE_AS_STRNCASECMP_L]: Likewise.
31881 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31882 NO_TLS_DIRECT_SEG_REFS.
31883 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31884 Fix argument offsets for non-PIC.
31885 [USE_AS_STRNCASECMP_L]: Likewise.
31886 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31887 NO_TLS_DIRECT_SEG_REFS.
31888
d62a8200
UD
318892011-11-15 Ulrich Drepper <drepper@gmail.com>
31890
9d65ea3a 31891 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
31892 O_CLOEXEC.
31893 * locale/loadlocale.c (_nl_load_locale): Likewise.
31894
09f93bd3
AS
318952011-11-15 Andreas Schwab <schwab@redhat.com>
31896
446514f9
AS
31897 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31898 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31899 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31900 (SYSCALL_GETTIME): Set errno on error.
31901
09f93bd3
AS
31902 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31903 count references to noai6ai_cached.
31904
312be3f9
UD
319052011-11-15 Ulrich Drepper <drepper@gmail.com>
31906
31907 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31908
31909 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31910 FD_CLOEXEC for /proc/self/maps.
31911
31912 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31913 FD_CLOEXEC for /proc/meminfo.
31914
31915 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31916 gai.conf.
31917
31918 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31919 FD_CLOEXEC for given file.
31920
31921 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31922
31923 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31924 FD_CLOEXEC for /etc/hosts.
31925 (_gethtent): Likewise.
31926
31927 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31928
31929 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31930 cancellation and set FD_CLOEXEC for /etc/netgroup.
31931
31932 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31933 reading /etc/publickey.
31934
31935 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31936 allow cancellation when reading /etc/group.
31937
31938 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31939 cancellation.
31940 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31941
31942 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31943 when using data file.
31944
31945 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31946
31947 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31948 (write_nis_obj): Use "c" and "e" in fopen.
31949
31950 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31951
31952 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31953
31954 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31955
31956 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31957
31958 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31959 locale.alias.
31960
31961 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31962
31963 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31964
31965 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31966
31967 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31968 file parsing and set FD_CLOEXEC.
31969
82af0fa8
UD
319702011-11-14 Ulrich Drepper <drepper@gmail.com>
31971
31972 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31973
a5fb313c
AS
319742011-11-14 Andreas Schwab <schwab@redhat.com>
31975
31976 * malloc/arena.c (arena_get2): Don't call reused_arena when
31977 _int_new_arena failed.
31978
6abf3465
UD
319792011-11-14 Ulrich Drepper <drepper@gmail.com>
31980
31981 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31982 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31983 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31984 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31985 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31986 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31987 to compile strcasecmp and strncasecmp.
31988 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31989 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31990
31991 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31992
76e3966e
UD
319932011-11-13 Ulrich Drepper <drepper@gmail.com>
31994
31995 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31996 locale-defines.sym to gen-as-const-headers.
31997 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31998 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31999 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32000 to compile strcasecmp and strncasecmp.
32001 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32002 strcasecmp_l and strncasecmp_l.
32003 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32004 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32005 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32006 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32007 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32008 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32009 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32010 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32011 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32012 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32013 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32014
ab26144e
UD
320152011-11-12 Ulrich Drepper <drepper@gmail.com>
32016
7edb22ef
UD
32017 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32018 result of SYSDEP_GETTIME_CPU to retval.
32019 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32020 parameter list to macro. Remove trailing semicolon. Adjust users.
32021
9694fc44
UD
32022 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32023 variable.
32024
8ad89ef8
UD
32025 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32026 mantissa words.
32027 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32028
0c822ef9
UD
32029 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32030 from unused variable.
32031
874e0564
UD
32032 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32033 DWARF definitions.
32034 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32035 for assembling.
32036
3a2edc79
UD
32037 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32038 over namespaces.
32039
f3c2577f
UD
32040 * sunrpc/rpc_prot.c (rejected): Fix case value.
32041
294ce126
UD
32042 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32043 unsigned long long int to avoid warnings in shift.
32044
5e2b63c6
UD
32045 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32046 of use of trans.
32047 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32048 variable tmp.
32049
e7f4b08e
UD
32050 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32051 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32052 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32053
ab26144e
UD
32054 * nis/nis_table.c (nis_list): Use variable of correct type for
32055 result of __follow_path call.
32056
8a6d5255
AZ
320572011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32058
32059 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32060 of math functions ceil, trunc, floor, round, and sqrt, when
32061 avaliable on the platform.
32062 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32063 name clash.
32064 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32065 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32066 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32067
aaddc98c
MP
320682011-10-30 Marek Polacek <mpolacek@redhat.com>
32069
32070 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32071 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32072
95b7042b
RM
320732011-11-11 Roland McGrath <roland@hack.frob.com>
32074
32075 * include/unistd.h: Fix __readlink return type.
32076 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32077
57769839
UD
320782011-11-11 Ulrich Drepper <drepper@gmail.com>
32079
32080 * stdlib/ucontext.h: Undo last change for makecontext.
32081
edc5984d
AS
320822011-11-11 Andreas Schwab <schwab@redhat.com>
32083
98591e58
AS
32084 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32085
edc5984d
AS
32086 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32087 * setjmp/setjmp.h: Mark functions as non-leaf.
32088 * setjmp/bits/setjmp2.h: Likewise.
32089 * stdlib/ucontext.h: Likewise.
32090
77cdc054
AS
320912011-11-10 Andreas Schwab <schwab@redhat.com>
32092
32093 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32094 (reused_arena): Don't check arena limit.
32095 (arena_get2): Atomically check arena limit.
32096
fe72eebd
UD
320972011-11-08 Ulrich Drepper <drepper@gmail.com>
32098
5f078c32
UD
32099 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32100 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32101
fe72eebd
UD
32102 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32103 instructions.
32104
ae1bc2fa
AS
321052011-11-07 Andreas Schwab <schwab@redhat.com>
32106
7583a88d
AS
32107 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32108 handler when locking.
32109
ae1bc2fa
AS
32110 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32111 Fix size of allocated buffer.
32112
10fb0bfa
AS
321132011-11-04 Andreas Schwab <schwab@redhat.com>
32114
998832a4
AS
32115 [BZ #10103]
32116 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32117 declarations for long double functions.
32118 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32119
10fb0bfa
AS
32120 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32121
3d7ba52b
AS
321222011-11-03 Andreas Schwab <schwab@redhat.com>
32123
a9ae54a1
AS
32124 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32125 installed.
32126
3d7ba52b
AS
32127 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32128 is disabled.
32129
bc8db248
ST
321302011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32131
32132 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32133
45b96dd6
AS
321342011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32135
647776f6
AS
32136 * include/alloca.h (stackinfo_alloca_round): Define.
32137 (extend_alloca): Use it.
32138 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32139 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32140 here.
32141
d91a8b93
AS
32142 * scripts/check-local-headers.sh: Ignore libaudit.h.
32143
45b96dd6
AS
32144 * nscd/Makefile (extra-objs): Make recursively expanded.
32145
432d41ce
UD
321462011-11-01 Ulrich Drepper <drepper@gmail.com>
32147
34372fc6
UD
32148 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32149 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32150
fadb59f8
UD
32151 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32152 * posix/tst-rfc3484-2.c: Likewise.
32153 * posix/tst-rfc3484-3.c: Likewise.
32154
78239589
UD
32155 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32156 process_vm_writev.
32157 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32158 process_vm_writev.
32159 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32160 process_vm_writev from libc using GLIBC_2.15 version.
32161
432d41ce
UD
32162 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32163
02f9c6cf
PP
321642011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32165
32166 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32167 stack usage.
32168
3a2c0242
UD
321692011-10-31 Ulrich Drepper <drepper@gmail.com>
32170
f4ec4833
UD
32171 [BZ #13367]
32172 * nss/getent.c (initgroups_keys): Show error message in case no group
32173 names are given.
32174
3a2c0242
UD
32175 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32176 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32177 __bump_nl_timestamp.
32178 * nscd/connections (nscd_init): When host database is served open
32179 netlink socket and request notification about configuration changes.
32180 (main_loop_poll): Track netlink file descriptor and bump timestamp
32181 in case data becomes available.
32182 (main_loop_epoll): Likewise.
32183 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32184 (database_pers_head): Add extra_data fileds.
32185 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32186 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32187 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32188 Adjust caller.
32189 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32190 in6ai data, call __free_in6ai.
32191 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32192 Add -DHAVE_NETLINK.
32193 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32194 interface information. Reuse previous data if netlink timestamp
32195 is not changed.
32196 (__bump_nl_timestamp): New function.
32197 (__free_in6ai): New function.
32198
636064eb
UD
321992011-10-30 Ulrich Drepper <drepper@gmail.com>
32200
32201 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32202 close_not_cancel_no_status here.
32203 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32204
9beb2334
UD
322052011-10-29 Ulrich Drepper <drepper@gmail.com>
32206
6ef76f3b
UD
32207 [BZ #13276]
32208 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32209 return value.
32210
0ffc4f3e 32211 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
32212 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32213 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32214
cb95113e
UD
322152011-07-03 Andreas Jaeger <aj@suse.de>
32216
32217 [BZ #10709]
32218 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32219 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32220 * math/libm-test.inc (sin_test): Add test case.
32221
a1b560ff
UD
322222011-10-29 Ulrich Drepper <drepper@gmail.com>
32223
c9aaface
UD
32224 [BZ #13337]
32225 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32226 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32227
d272e7f1
UD
32228 * elf/chroot_canon.c (chroot_canon): Cleanups.
32229
1bc33071
UD
32230 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32231
1760874d
TJ
32232 [BZ #13335]
32233 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32234 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32235
51d91b18
UD
32236 * string/test-strchr.c: Make usable for strchrnul testing.
32237 * string/test-strchrnul.c: New file.
32238 * string/Makefile (strop-tests): Add strchrnul.
32239
a1b560ff 32240 * po/it.po: Update from translation team.
b611fb81 32241 * po/es.po: Likewise.
a1b560ff 32242
a5b81e1f
UD
322432011-10-28 Ulrich Drepper <drepper@gmail.com>
32244
fd52bc6d
UD
32245 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32246 the three constants needed as parameters. Drop the others.
32247 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32248 __m128i_strloadu_tolower.
52e4b9eb
UD
32249 Create and initialize variable zero and use it in all the places
32250 where _mm_setzero_si128 was used.
fd52bc6d 32251
a5b81e1f
UD
32252 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32253 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32254 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32255 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32256 anymore.
32257 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32258 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32259 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32260 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32261 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32262 __mpranred, __mptan.
32263 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32264 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32265 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32266 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32267 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32268 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32269 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32270 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32271 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32272
b4343346
AS
322732011-10-28 Andreas Schwab <schwab@redhat.com>
32274
0c92d8a8
AS
32275 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32276 redefine if SHARED.
32277 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32278
b4343346
AS
32279 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32280 wide char related routines to wcsmbs subdir.
32281
3871f58f
AS
322822011-10-27 Andreas Schwab <schwab@redhat.com>
32283
32284 [BZ #13344]
32285 * misc/sys/cdefs.h (__THROWNL): Define.
32286 * posix/unistd.h: Use __THREADNL instead of __THREAD
32287 for memory synchronization functions.
32288
94d44d9f
RM
322892011-10-26 Roland McGrath <roland@hack.frob.com>
32290
21b64b15 32291 [BZ #13349]
94d44d9f
RM
32292 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32293 doesn't exist.
32294 * manual/stdio.texi (Obstack Streams): Node removed.
32295
f6ce9294
AS
322962011-10-26 Andreas Schwab <schwab@redhat.com>
32297
80479147
AS
32298 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32299 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32300 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32301
f6ce9294
AS
32302 * math/math_private.h (math_force_eval): Allow non-addressable
32303 arguments.
32304 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32305
618280a1
UD
323062011-10-25 Ulrich Drepper <drepper@gmail.com>
32307
e0016b11
UD
32308 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32309 file is not needed.
32310
32311 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32312 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32313 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32314 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32315 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32316 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32317 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32318 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32319 Add AVX variants.
32320 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32321 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32322 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32323 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32324 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32325 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32326 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32327 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32328 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32329 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32330 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32331 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32332 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32333 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32334 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32335 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32336 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32337 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32338 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32339
32340 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32341 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32342
618280a1
UD
32343 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32344 place. Use VEX encoding when compiling for AVX.
32345
37822576
AS
323462011-10-25 Andreas Schwab <schwab@redhat.com>
32347
1f1e1947
AS
32348 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32349 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32350
37822576
AS
32351 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32352
31ea014d
UD
323532011-10-25 Ulrich Drepper <drepper@gmail.com>
32354
d7826aa1 32355 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 32356 useless if() expression.
d7826aa1
UD
32357 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32358 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32359 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32360 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32361 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32362 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32363 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32364 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32365 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32366 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32367 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32368 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32369 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32370 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32371 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32372 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32373 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32374 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32375 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32376
31ea014d
UD
32377 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32378
16437fec
AS
323792011-10-25 Andreas Schwab <schwab@redhat.com>
32380
32381 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32382 condition.
32383 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32384
31d3cc00
UD
323852011-10-25 Ulrich Drepper <drepper@gmail.com>
32386
32387 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32388 .text section. Avoid duplicate constants.
32389 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32390 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32391 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32392 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32393 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32394 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32395 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32396 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32397 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32398 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32399 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32400 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32401 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32402 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32403 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32404 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32405 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32406 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32407 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32408 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32409 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32410 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32411 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32412 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32413 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32414 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32415 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32416 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32417 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32418 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32419 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32420 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32421 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32422 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32423 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32424 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32425 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32426 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32427 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32428 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32429 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32430 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32431 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32432 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32433 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32434
58985aa9
UD
324352011-10-24 Ulrich Drepper <drepper@gmail.com>
32436
202c9deb
UD
32437 * sysdeps/x86_64/dla.h: Move to ...
32438 * sysdeps/x86_64/fpu/dla.h: ...here.
32439 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32440 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 32441
af968f62
UD
32442 * config.make.in: Add have-mfma4 entry.
32443 * configure.in: Substitute libc_cv_cc_fma4.
32444 * math/Makefile (dbl-only-routines): Add sincostab.
32445 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32446 Use __sincostab not sincos.
32447 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32448 name is a macro.
32449 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32450 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32451 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32452 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32453 using __copysign.
32454 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32455 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32456 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32457 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32458 and __inv.
32459 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32460 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32461 __copysign.
32462 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32463 define aliases when function name is a macro.
32464 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32465 sysdeps/ieee754/dbl-64/sincos.tbl.
32466 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32467 fma4-enabled routines.
32468 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32469 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32470 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32471 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32472 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32473 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32474 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32475 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32476 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32477 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32478 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32479 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32480 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32481 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32482 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32483 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32484 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32485 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32486 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32487 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32488 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32489 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32490 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32491 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32492 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32493 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32494 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32495 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32496 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32497 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32498
58985aa9
UD
32499 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32500 rename.
32501 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32502 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32503 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32504 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32505 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32506 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32507 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32508 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32509
a201fbcf
AS
325102011-10-24 Andreas Schwab <schwab@redhat.com>
32511
32512 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32513
fc2ee42a
LD
325142011-10-23 Ulrich Drepper <drepper@gmail.com>
32515
bb3129bd
UD
32516 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32517
0275fff8
UD
32518 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32519 prediction.
32520 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32521
2fa2ae85
UD
32522 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32523 Remove unused variable magic_bits.
32524 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32525
fc2ee42a
LD
32526 * string/strnlen.c: Define and use STRNLEN macro.
32527 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32528 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32529 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32530 * wcsmbs/wcslen.c: Define and use WCSLEN.
32531 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32532 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32533 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32534 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32535 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32536 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32537 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32538
ce7dd29f
LD
325392011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32540
32541 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32542 strnlen-sse2-no-bsf.
32543 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32544 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32545 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32546 Add strnlen support.
32547 (USE_AS_STRNLEN): New macro.
32548 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32549 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32550 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32551 * sysdeps/x86_64/wcslen.S: New file.
32552
979c70a3
MZ
325532011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32554
32555 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32556 XMM-moves are used for copying on small sizes.
32557
2d09f82f
LD
325582011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32559
32560 * wcsmbs/Makefile (strop-tests): Add wcschr.
32561 * wcsmbs/test-wcschr.c: New file.
32562 * string/test-strchr.c: Update.
32563 Add wcschr support.
32564 (WIDE): New macro.
32565
619fccca
LD
325662011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32567
2d09f82f 32568 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
32569 * wcsmbs/test-wcslen.c: New file.
32570 * string/test-strlen.c: Update.
32571 Add wcslen support.
32572 (WIDE): New macro.
32573
09f699ea
UD
325742011-10-23 Ulrich Drepper <drepper@gmail.com>
32575
32576 * po/it.po: Update from translation team.
32577
95584d3b
LD
325782011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32579
32580 * sysdeps/x86_64/wcscmp.S: Update.
32581 Fix wrong comparison semantics.
32582 wcscmp shall use signed comparison not unsigned.
32583 Don't use substraction to avoid overflow bug.
32584 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32585 * wcsmbc/wcscmp.c: Likewise.
32586 * string/test-strcmp.c: Likewise.
32587 Add new tests to check cases with negative values.
32588
c8b3296b
UD
325892011-10-23 Ulrich Drepper <drepper@gmail.com>
32590
32591 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32592 * sysdeps/x86_64/dla.h: ...here. New file.
32593 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32594 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32595 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32596 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32597 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32598 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32599 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32600 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32601 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32602
246ad57a
AS
326032011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32604
32605 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32606 __ynl_finite aliases.
32607
a1a87169
UD
326082011-10-22 Ulrich Drepper <drepper@gmail.com>
32609
0d355eb7
UD
32610 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32611
a1a87169
UD
32612 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32613 define DLA_FMA.
32614 [DLA_FMA] (EMULV): Use DLA_FMA.
32615 [DLA_FMA] (MUL12): Use EMULV.
32616 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32617 that are not needed.
32618 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32619 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32620 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32621 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32622 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32623 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32624 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32625
ee2aafe0
AS
326262011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32627
32628 * math/s_nan.c: Undef __nan.
32629 * math/s_nanf.c: Undef __nanf.
32630 * math/s_nanl.c: Undef __nanl.
32631 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32632 "math_private.h".
32633
bc62c2fb
UD
326342011-10-22 Ulrich Drepper <drepper@gmail.com>
32635
77425c63
UD
32636 * math/s_catan.c: Add branch predictions.
32637 * math/s_catanf.c: Likewise.
32638 * math/s_catanh.c: Likewise.
32639 * math/s_catanhf.c: Likewise.
32640 * math/s_catanhl.c: Likewise.
32641 * math/s_catanl.c: Likewise.
32642 * math/s_cexp.c: Likewise.
32643 * math/s_cexpf.c: Likewise.
32644 * math/s_cexpl.c: Likewise.
32645 * math/s_clog.c: Likewise.
32646 * math/s_clog10.c: Likewise.
32647 * math/s_clog10f.c: Likewise.
32648 * math/s_clog10l.c: Likewise.
32649 * math/s_clogf.c: Likewise.
32650 * math/s_clogl.c: Likewise.
32651 * math/s_csqrt.c: Likewise.
32652 * math/s_csqrtf.c: Likewise.
32653 * math/s_csqrtl.c: Likewise.
32654 * math/s_ctanf.c: Likewise.
32655 * math/s_ctanh.c: Likewise.
32656 * math/s_ctanhf.c: Likewise.
32657 * math/s_ctanhl.c: Likewise.
32658 * math/s_ctanl.c: Likewise.
32659
bc62c2fb
UD
32660 * math/math_private.h: Define __nan, __nanf, __nanl.
32661 * math/s_cacosh.c: Include <math_private.h>.
32662 * math/s_cacoshl.c: Likewise.
32663 * math/s_casinh.c: Likewise.
32664 * math/s_casinhf.c: Likewise.
32665 * math/s_casinhl.c: Likewise.
32666 * math/s_ccos.c: Rely entire on ccosh.
32667 * math/s_ccosf.c: Rely entire on ccoshf.
32668 * math/s_ccosl.c: Rely entirely on ccoshl.
32669 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32670 Remove tests for FE_INVALID.
32671 * math/s_ccoshf.c: Likewise.
32672 * math/s_ccoshl.c: Likewise.
32673 * math/s_csin.c: Likewise.
32674 * math/s_csinf.c: Likewise.
32675 * math/s_csinh.c Likewise.
32676 * math/s_csinhf.c: Likewise.
32677 * math/s_csinhl.c: Likewise.
32678 * math/s_csinl.c: Likewise.
32679 * math/s_ctan.c: Likewise.
32680 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32681 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32682 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32683
8ec250a4
UD
326842011-10-21 Ulrich Drepper <drepper@gmail.com>
32685
c196fed8
UD
32686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32687 compilation problems.
32688
8ec250a4
UD
32689 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32690 __builtin_expect.
32691
8d4f46c6
UD
326922011-10-20 Ulrich Drepper <drepper@gmail.com>
32693
ed72b654
UD
32694 * sysdeps/i386/configure.in: Test for -mfma4 option.
32695 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32696 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32697 COMMON_CPUID_INDEX_80000001.
32698 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32699 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32700 use it if FMA3 is not supported.
32701 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32702
8d4f46c6
UD
32703 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32704 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32705
d45c60c2
AS
327062011-10-20 Andreas Schwab <schwab@redhat.com>
32707
32708 [BZ #12892]
32709 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32710 it would create a cycle with a link time dependency.
32711
d9a4d2ab
UD
327122011-10-19 Ulrich Drepper <drepper@gmail.com>
32713
855d1560
UD
32714 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32715 instruction.
32716 * string/Makefile (strop-tests): Add rawmemchr.
32717 * string/test-rawmemchr.c: New file.
32718
d9a4d2ab
UD
32719 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32720 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32721 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32722 when compiling str{,n}casecmp and when AVX is available. Hook up
32723 new optimized code in initializers.
32724
8f3b1ffe
AS
327252011-10-19 Andreas Schwab <schwab@redhat.com>
32726
32727 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32728 __feraiseexcept instead of feraiseexcept.
32729
d38f1dba
UD
327302011-10-18 Ulrich Drepper <drepper@gmail.com>
32731
d9a8d0ab
UD
32732 * math/math_private.h: Define defaults for libc_fetestexcept and
32733 libc_feupdateenv.
32734 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32735 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32736 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32737 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32738 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32739 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32740 libc_fetestexcept and libc_feupdateenv.
32741
4855e3dd
UD
32742 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32743 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32744 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32745 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32746 libc_feholdexcept_setround.
32747
581d30e3
UD
32748 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32749 Add s_nearbyint-c and s_nearbyintf-c.
32750 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32751 nearbyintf inlines.
32752 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32753 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32754 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32755 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32756
d38f1dba
UD
32757 * math/math_private.h: Define defaults for libc_fegetround,
32758 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32759 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32760 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32761 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32762 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32763 standard functions.
32764 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32765 Remove comments and hacks for old compiler versions.
32766 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32767 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32768 libc_feholdexceptl.
32769
caa6c9d8
AS
327702011-10-18 Andreas Schwab <schwab@redhat.com>
32771
32772 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
32773 (__feraiseexcept_renamed): Add __NTH.
32774 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
32775 namespace violations.
32776
97c066e6
UD
327772011-10-17 Ulrich Drepper <drepper@gmail.com>
32778
99ce7b04
UD
32779 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32780
1004d182
UD
32781 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32782
228a984d
UD
32783 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32784 recently added interfaces.
32785 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32786
c8553a6a
UD
32787 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32788 about macro parameter expansion.
32789
ed22dcf6
UD
32790 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32791 __NO_MATH_INLINES is defined. Cleanups.
32792
32793 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32794 and __floorf is target has SSE4.1.
32795 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32796 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32797 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32798 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32799
b171c137
UD
32800 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32801 name.
32802 (floorf): Likewise.
32803
97c066e6
UD
32804 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32805
629f62ef
AS
328062011-10-17 Andreas Schwab <schwab@redhat.com>
32807
49a43d80
AS
32808 * misc/sys/cdefs.h: Fix last change.
32809
629f62ef
AS
32810 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32811 database lookup.
32812
e453f6cd
UD
328132011-10-16 Ulrich Drepper <drepper@gmail.com>
32814
aa78043a
UD
32815 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32816
ad0f5cad
UD
32817 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32818 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32819 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32820 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32821 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32822 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32823 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32824 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32825 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32826 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32827 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32828 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32829 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32830 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32831 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32832 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32833 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32834 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32835 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32836 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32837 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32838 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32839
32840 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32841 ceil, ceilf, floor, floorf.
32842
32843 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32844 Perform IRELATIVE relocations last.
32845
e453f6cd
UD
32846 * elf/do-rel.h: Add another parameter nrelative, replacing the
32847 local variable with the same name. Change name of the function
32848 to end in Rel or Rela (uppercase).
32849 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32850 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32851 elf_dynamic_do_##reloc function.
32852
fd5bdc09
UD
328532011-10-15 Ulrich Drepper <drepper@gmail.com>
32854
79b195b5
UD
32855 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32856 is sufficient, at least on modern CPUs.
32857
d4a28569
UD
32858 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32859
b61099b5
UD
32860 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32861 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32862
bcf01e6d
UD
32863 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32864 __expl_finite.
32865 * math/bits/math-finite.h: Add entries for exp.
32866 * math/e_expl.c: Add __*_finite alias.
32867 * sysdeps/i386/fpu/e_exp.S: Likewise.
32868 * sysdeps/i386/fpu/e_expf.S: Likewise.
32869 * sysdeps/i386/fpu/e_expl.c: Likewise.
32870 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32871 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32872 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32873 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32874 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32875 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32876 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32877
ba1a0d59
UD
32878 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32879 is sufficient, at least on modern CPUs.
32880
fd5bdc09
UD
32881 * ctype/ctype-info.c (__ctype_init): Define.
32882 * include/ctype.h (__ctype_init): Declare.
32883 (__ctype_b_loc): The variable is always initialized.
32884 (__ctype_toupper_loc): Likewise.
32885 (__ctype_tolower_loc): Likewise.
32886 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32887 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32888
7872cfb0
AS
328892011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32890
b468825a
AS
32891 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32892
7872cfb0
AS
32893 * configure.in: Also look in $cxxmachine/include for C++ system
32894 headers.
32895
be13f7bf
LD
328962011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32897
32898 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32899 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32900 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32901 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32902 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32903 (USE_AS_WMEMCMP): New macro.
32904 Fixing indents.
32905 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32906 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32907 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32908 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32909 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32910 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32911 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32912 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32913 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32914 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32915 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32916 (USE_AS_WMEMCMP): New macro.
32917 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32918 * sysdeps/string/test-memcmp.c: Update.
32919 Fix simple_wmemcmp.
32920 Add new tests.
32921 * wcsmbs/wmemcmp.c: Update.
32922 (WMEMCMP): New macro.
32923 Fix overflow bug.
32924
556a2007
AJ
329252011-10-12 Andreas Jaeger <aj@suse.de>
32926
32927 [BZ #13268]
32928 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32929
538faaa7
UD
329302011-10-15 Ulrich Drepper <drepper@gmail.com>
32931
ab6737ff
UD
32932 * libio/iofwide.c (do_length): Avoid warning.
32933
538faaa7
UD
32934 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32935
396a21b1
UD
329362011-10-14 Ulrich Drepper <drepper@gmail.com>
32937
cdf2901f
UD
32938 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32939
38ad40ce
UD
32940 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32941 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32942 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32943 * sysdeps/i386/i686/fpu/e_log.S: New file.
32944 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32945 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32946
396a21b1
UD
32947 * ctype/ctype.h: Add support for inlined isXXX functions when
32948 compiling C++ code.
32949
6b1f68c9
AS
329502011-10-14 Andreas Schwab <schwab@redhat.com>
32951
349290c0
AS
32952 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32953
6b1f68c9
AS
32954 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32955
f2282d42
RM
329562011-10-13 Roland McGrath <roland@hack.frob.com>
32957
32958 [BZ #13291]
32959 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32960
5298ffa8
AS
329612011-10-13 Andreas Schwab <schwab@redhat.com>
32962
714fad23
AS
32963 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32964 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32965 feraiseexcept.
32966
81dcc7fb
AS
32967 * sysdeps/x86_64/memrchr.S: Check for zero size.
32968
5298ffa8
AS
32969 * string/stratcliff.c: Add memrchr tests.
32970
951fbcec
LD
329712011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32972
32973 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32974 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32975 rawmemchr-sse2 rawmemchr-sse2-bsf.
32976 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32977 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32978 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32979 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32980 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32981 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32982 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32983 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32984 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32985 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32986 * string/memrchr.c (MEMRCHR): New macro.
32987
0ac5ae23
UD
329882011-10-12 Ulrich Drepper <drepper@gmail.com>
32989
32990 Add integration with gcc's -ffinite-math-only and optimize wrapper
32991 functions in libm.
32992 * Versions.def: Define GLIBC_2.15 version for libm.
32993 * math/Makefile (headers): Add bits/math-finite.h.
32994 * math/bits/math-finite.h: New file.
32995 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32996 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32997 * math/e_acoshl.c: Add __*_finite alias.
32998 * math/e_acosl.c: Likewise.
32999 * math/e_asinl.c: Likewise.
33000 * math/e_atan2l.c: Likewise.
33001 * math/e_atanhl.c: Likewise.
33002 * math/e_coshl.c: Likewise.
33003 * math/e_exp10.c: Likewise.
33004 * math/e_exp10f.c: Likewise.
33005 * math/e_exp10l.c: Likewise.
33006 * math/e_exp2l.c: Likewise.
33007 * math/e_fmodl.c: Likewise.
33008 * math/e_gammal_r.c: Likewise.
33009 * math/e_hypotl.c: Likewise.
33010 * math/e_j0l.c: Likewise.
33011 * math/e_j1l.c: Likewise.
33012 * math/e_jnl.c: Likewise.
33013 * math/e_lgammal_r.c: Likewise.
33014 * math/e_log10l.c: Likewise.
33015 * math/e_log2l.c: Likewise.
33016 * math/e_logl.c: Likewise.
33017 * math/e_powl.c: Likewise.
33018 * math/e_sinhl.c: Likewise.
33019 * math/e_sqrtl.c: Likewise.
33020 * math/e_scalb.c: Completely rewritten and optimized.
33021 * math/e_scalbf.c: Likewise.
33022 * math/e_scalbl.c: Likewise.
33023 * math/w_acos.c: Likewise.
33024 * math/w_acosf.c: Likewise.
33025 * math/w_acosl.c: Likewise.
33026 * math/w_acosh.c: Likewise.
33027 * math/w_acoshf.c: Likewise.
33028 * math/w_acoshl.c: Likewise.
33029 * math/w_asin.c: Likewise.
33030 * math/w_asinf.c: Likewise.
33031 * math/w_asinl.c: Likewise.
33032 * math/w_atan2.c: Likewise.
33033 * math/w_atan2f.c: Likewise.
33034 * math/w_atan2l.c: Likewise.
33035 * math/w_atanh.c: Likewise.
33036 * math/w_atanhf.c: Likewise.
33037 * math/w_atanhl.c: Likewise.
33038 * math/w_exp10.c: Likewise.
33039 * math/w_exp10f.c: Likewise.
33040 * math/w_exp10l.c: Likewise.
33041 * math/w_fmod.c: Likewise.
33042 * math/w_fmodf.c: Likewise.
33043 * math/w_fmodl.c: Likewise.
33044 * math/w_j0.c: Likewise.
33045 * math/w_j0f.c: Likewise.
33046 * math/w_j0l.c: Likewise.
33047 * math/w_j1.c: Likewise.
33048 * math/w_j1f.c: Likewise.
33049 * math/w_j1l.c: Likewise.
33050 * math/w_jn.c: Likewise.
33051 * math/w_jnf.c: Likewise.
33052 * math/w_log.c: Likewise.
33053 * math/w_logf.c: Likewise.
33054 * math/w_logl.c: Likewise.
33055 * math/w_log10.c: Likewise.
33056 * math/w_log10f.c: Likewise.
33057 * math/w_log10l.c: Likewise.
33058 * math/w_log2.c: Likewise.
33059 * math/w_log2f.c: Likewise.
33060 * math/w_log2l.c: Likewise.
33061 * math/w_pow.c: Likewise.
33062 * math/w_powf.c: Likewise.
33063 * math/w_powl.c: Likewise.
33064 * math/w_remainder.c: Likewise.
33065 * math/w_remainderf.c: Likewise.
33066 * math/w_remainderl.c: Likewise.
33067 * math/w_scalb.c: Likewise.
33068 * math/w_scalbf.c: Likewise.
33069 * math/w_scalbl.c: Likewise.
33070 * math/w_sqrt.c: Likewise.
33071 * math/w_sqrtf.c: Likewise.
33072 * math/w_sqrtl.c: Likewise.
33073 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33074 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33075 used.
33076 * math/math_private.h: Declare __kernel_standard_f.
33077 * math/w_cosh.c: Remove cruft and optimize a bit.
33078 * math/w_coshf.c: Likewise.
33079 * math/w_coshl.c: Likewise.
33080 * math/w_exp2.c: Likewise.
33081 * math/w_exp2f.c: Likewise.
33082 * math/w_exp2l.c: Likewise.
33083 * math/w_hypot.c: Likewise.
33084 * math/w_hypotf.c: Likewise.
33085 * math/w_hypotl.c: Likewise.
33086 * math/w_lgamma.c: Likewise.
33087 * math/w_lgamma_r.c: Likewise.
33088 * math/w_lgammaf.c: Likewise.
33089 * math/w_lgammaf_r.c: Likewise.
33090 * math/w_lgammal.c: Likewise.
33091 * math/w_lgammal_r.c: Likewise.
33092 * math/w_sinh.c: Likewise.
33093 * math/w_sinhf.c: Likewise.
33094 * math/w_sinhl.c: Likewise.
33095 * math/w_tgamma.c: Likewise.
33096 * math/w_tgammaf.c: Likewise.
33097 * math/w_tgammal.c: Likewise.
33098 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33099 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33100 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33101 Minor optimizations. Pretty printing. Remove cruft.
33102 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33103 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33104 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33105 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33106 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33107 * sysdeps/i386/fpu/e_asin.S: Likewise.
33108 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33109 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33110 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33111 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33112 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33113 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33114 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33115 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33116 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33117 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33118 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33119 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33120 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33121 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33122 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33123 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33124 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33125 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33126 * sysdeps/i386/fpu/e_log.S: Likewise.
33127 * sysdeps/i386/fpu/e_log10.S: Likewise.
33128 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33129 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33130 * sysdeps/i386/fpu/e_log2.S: Likewise.
33131 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33132 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33133 * sysdeps/i386/fpu/e_logf.S: Likewise.
33134 * sysdeps/i386/fpu/e_logl.S: Likewise.
33135 * sysdeps/i386/fpu/e_pow.S: Likewise.
33136 * sysdeps/i386/fpu/e_powf.S: Likewise.
33137 * sysdeps/i386/fpu/e_powl.S: Likewise.
33138 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33139 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33140 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33141 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33142 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33143 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33144 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33145 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33146 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33147 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33148 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33149 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33150 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33151 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33152 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33153 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33154 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33155 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33156 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33157 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33158 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33159 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33160 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33161 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33162 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33163 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33164 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33165 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33166 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33167 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33168 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33169 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33170 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33171 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33172 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33173 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33174 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33175 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33176 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33177 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33178 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33179 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33180 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33181 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33182 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33183 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33184 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33185 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33186 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33187 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33188 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33189 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33190 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33191 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33192 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33193 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33194 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33195 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33196 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33197 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33198 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33199 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33200 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33201 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33202 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33203 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33204 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33205 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33206 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33207 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33208 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33209 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33210 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33211 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33212 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33213 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33214 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33215 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33216 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33217 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33218 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33219 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33220 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33221 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33222 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33223 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33224 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33225 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33226 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33227 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33228 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33229 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33230 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33231 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33232 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33233 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33234 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33235 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33236 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33237 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33238 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33239 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33240 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33241 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33242 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33243 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33244 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33245 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33246 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33247 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33248 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33249 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33250 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33251 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33252 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33253 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33254 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33255 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33256 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33257 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33258 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33259 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33260 (__isnanf): Likewise.
33261 (__isinf_ns): Likewise.
33262 (__isinf_nsf): Likewise.
33263 (__finite): Likewise.
33264 (__finitef): Likewise.
33265 (__ieee754_sqrt): Define as macro.
33266 (__ieee754_sqrtf): Define as macro.
33267 (__ieee754_sqrtl): Define as macro.
33268 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33269 inlined copy.
33270 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33271 __FINITE_MATH_ONLY__ consistent.
33272 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33273
12cc2fcd
AS
332742011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33275
a843a204
AS
33276 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33277 of rawmemchr.
33278
12cc2fcd
AS
33279 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33280
c853acd5
UD
332812011-10-09 Ulrich Drepper <drepper@gmail.com>
33282
33283 * po/ja.po: Update from translation team.
33284
c658d255
RM
332852011-10-08 Roland McGrath <roland@hack.frob.com>
33286
110946e4
RM
33287 * locale/programs/locarchive.c (prepare_address_space): New function.
33288 (create_archive, enlarge_archive, open_archive): Use it.
33289
50604220
RM
33290 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33291 inside [SHARED], where it is used.
33292
c658d255
RM
33293 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33294
33295 * nss/getent.c (netgroup_keys): Remove unused variable.
33296 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33297
6a621eb7
UD
332982011-10-08 Ulrich Drepper <drepper@gmail.com>
33299
7edb55ce
UD
33300 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33301 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33302 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33303 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33304 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33305 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33306 * math/Makefile (libm-calls): Add s_isinf_ns.
33307 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33308 * math/multc3.c: Likewise.
33309 * math/s_casin.c: Likewise.
33310 * math/s_casinf.c: Likewise.
33311 * math/s_casinl.c: Likewise.
33312 * math/s_ccos.c: Likewise.
33313 * math/s_ccosf.c: Likewise.
33314 * math/s_ccosl.c: Likewise.
33315 * math/s_ctan.c: Likewise.
33316 * math/s_ctanf.c: Likewise.
33317 * math/s_ctanh.c: Likewise.
33318 * math/s_ctanhf.c: Likewise.
33319 * math/s_ctanhl.c: Likewise.
33320 * math/s_ctanl.c: Likewise.
33321 * math/w_fmod.c: Likewise.
33322 * math/w_fmodf.c: Likewise.
33323 * math/w_fmodl.c: Likewise.
33324 * math/w_remainder.c: Likewise.
33325 * math/w_remainderf.c: Likewise.
33326 * math/w_remainderl.c: Likewise.
33327 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33328 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33329 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33330 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33331 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33332 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33333 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33334 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33335
187da0ae
UD
33336 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33337 of the number.
33338 * stdio-common/printf_fphex.c: Likewise.
33339 * stdio-common/printf_size.c: Likewise.
33340
9277c064
UD
33341 * math/e_exp10.c: Include math_private.h using <...> not "...".
33342 * math/e_exp10f.c: Likewise.
33343 * math/e_exp10l.c: Likewise.
33344 * math/e_exp2l.c: Likewise.
33345 * math/e_j0l.c: Likewise.
33346 * math/e_j1l.c: Likewise.
33347 * math/e_jnl.c: Likewise.
33348 * math/e_lgammal_r.c: Likewise.
33349 * math/e_rem_pio2l.c: Likewise.
33350 * math/e_scalb.c: Likewise.
33351 * math/e_scalbf.c: Likewise.
33352 * math/e_scalbl.c: Likewise.
33353 * math/k_cosl.c: Likewise.
33354 * math/k_sinl.c: Likewise.
33355 * math/k_tanl.c: Likewise.
33356 * math/s_cacoshf.c: Likewise.
33357 * math/s_catan.c: Likewise.
33358 * math/s_catanf.c: Likewise.
33359 * math/s_catanh.c: Likewise.
33360 * math/s_catanhf.c: Likewise.
33361 * math/s_catanhl.c: Likewise.
33362 * math/s_catanl.c: Likewise.
33363 * math/s_ccosh.c: Likewise.
33364 * math/s_ccoshf.c: Likewise.
33365 * math/s_ccoshl.c: Likewise.
33366 * math/s_cexp.c: Likewise.
33367 * math/s_cexpf.c: Likewise.
33368 * math/s_cexpl.c: Likewise.
33369 * math/s_clog.c: Likewise.
33370 * math/s_clog10.c: Likewise.
33371 * math/s_clog10f.c: Likewise.
33372 * math/s_clog10l.c: Likewise.
33373 * math/s_clogf.c: Likewise.
33374 * math/s_clogl.c: Likewise.
33375 * math/s_csin.c: Likewise.
33376 * math/s_csinf.c: Likewise.
33377 * math/s_csinh.c: Likewise.
33378 * math/s_csinhf.c: Likewise.
33379 * math/s_csinhl.c: Likewise.
33380 * math/s_csinl.c: Likewise.
33381 * math/s_csqrt.c: Likewise.
33382 * math/s_csqrtf.c: Likewise.
33383 * math/s_csqrtl.c: Likewise.
33384 * math/s_ctan.c: Likewise.
33385 * math/s_ctanf.c: Likewise.
33386 * math/s_ctanh.c: Likewise.
33387 * math/s_ctanhf.c: Likewise.
33388 * math/s_ctanhl.c: Likewise.
33389 * math/s_ctanl.c: Likewise.
33390 * math/s_ldexp.c: Likewise.
33391 * math/s_ldexpf.c: Likewise.
33392 * math/s_ldexpl.c: Likewise.
33393 * math/s_significand.c: Likewise.
33394 * math/s_significandf.c: Likewise.
33395 * math/s_significandl.c: Likewise.
33396 * math/w_acos.c: Likewise.
33397 * math/w_acosf.c: Likewise.
33398 * math/w_acosh.c: Likewise.
33399 * math/w_acoshf.c: Likewise.
33400 * math/w_acoshl.c: Likewise.
33401 * math/w_acosl.c: Likewise.
33402 * math/w_asin.c: Likewise.
33403 * math/w_asinf.c: Likewise.
33404 * math/w_asinl.c: Likewise.
33405 * math/w_atan2.c: Likewise.
33406 * math/w_atan2f.c: Likewise.
33407 * math/w_atan2l.c: Likewise.
33408 * math/w_atanh.c: Likewise.
33409 * math/w_atanhf.c: Likewise.
33410 * math/w_atanhl.c: Likewise.
33411 * math/w_cosh.c: Likewise.
33412 * math/w_coshf.c: Likewise.
33413 * math/w_coshl.c: Likewise.
33414 * math/w_dremf.c: Likewise.
33415 * math/w_exp10.c: Likewise.
33416 * math/w_exp10f.c: Likewise.
33417 * math/w_exp10l.c: Likewise.
33418 * math/w_exp2.c: Likewise.
33419 * math/w_exp2f.c: Likewise.
33420 * math/w_fmod.c: Likewise.
33421 * math/w_fmodf.c: Likewise.
33422 * math/w_fmodl.c: Likewise.
33423 * math/w_hypot.c: Likewise.
33424 * math/w_hypotf.c: Likewise.
33425 * math/w_hypotl.c: Likewise.
33426 * math/w_j0.c: Likewise.
33427 * math/w_j0f.c: Likewise.
33428 * math/w_j0l.c: Likewise.
33429 * math/w_j1.c: Likewise.
33430 * math/w_j1f.c: Likewise.
33431 * math/w_j1l.c: Likewise.
33432 * math/w_jn.c: Likewise.
33433 * math/w_jnf.c: Likewise.
33434 * math/w_jnl.c: Likewise.
33435 * math/w_lgamma.c: Likewise.
33436 * math/w_lgamma_r.c: Likewise.
33437 * math/w_lgammaf.c: Likewise.
33438 * math/w_lgammaf_r.c: Likewise.
33439 * math/w_lgammal.c: Likewise.
33440 * math/w_lgammal_r.c: Likewise.
33441 * math/w_log.c: Likewise.
33442 * math/w_log10.c: Likewise.
33443 * math/w_log10f.c: Likewise.
33444 * math/w_log10l.c: Likewise.
33445 * math/w_log2.c: Likewise.
33446 * math/w_log2f.c: Likewise.
33447 * math/w_log2l.c: Likewise.
33448 * math/w_logf.c: Likewise.
33449 * math/w_logl.c: Likewise.
33450 * math/w_pow.c: Likewise.
33451 * math/w_powf.c: Likewise.
33452 * math/w_powl.c: Likewise.
33453 * math/w_remainder.c: Likewise.
33454 * math/w_remainderf.c: Likewise.
33455 * math/w_remainderl.c: Likewise.
33456 * math/w_scalb.c: Likewise.
33457 * math/w_scalbf.c: Likewise.
33458 * math/w_scalbl.c: Likewise.
33459 * math/w_sinh.c: Likewise.
33460 * math/w_sinhf.c: Likewise.
33461 * math/w_sinhl.c: Likewise.
33462 * math/w_sqrt.c: Likewise.
33463 * math/w_sqrtf.c: Likewise.
33464 * math/w_sqrtl.c: Likewise.
33465 * math/w_tgamma.c: Likewise.
33466 * math/w_tgammaf.c: Likewise.
33467 * math/w_tgammal.c: Likewise.
33468
6a621eb7
UD
33469 * po/ja.po: Update from translation team.
33470
bf582445
AJ
334712011-09-29 Andreas Jaeger <aj@suse.de>
33472
f9efbf3a
AJ
33473 [BZ #13179]
33474 * sunrpc/netname.c (netname2host): Fix logic.
33475
bf582445
AJ
33476 [BZ #6779]
33477 [BZ #6783]
33478 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33479 correctly.
33480 * math/w_remainder.c (__remainder): Likewise.
33481 * math/w_remainderf.c (__remainderf): Likewise.
33482 * math/libm-test.inc (remainder_test): Add test cases.
33483
48693bea
AK
334842011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33485
33486 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33487 sdiv_qrnnd.
33488
42622229
LD
334892011-10-07 Ulrich Drepper <drepper@gmail.com>
33490
33491 * string/test-memcmp.c: Avoid unncessary #defines.
33492 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33493
093ecf92
LD
334942011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33495
33496 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33497 Use new sse2 version for core i3 - i7 as it's faster
33498 than sse42 version.
33499 (bit_Prefer_PMINUB_for_stringop): New.
33500 * sysdeps/x86_64/rawmemchr.S: Update.
33501 Replace with faster SSE2 version.
33502 * sysdeps/x86_64/memrchr.S: New file.
33503 * sysdeps/x86_64/memchr.S: Update.
33504 Replace with faster SSE2 version.
33505
fde56e5c
MP
335062011-09-12 Marek Polacek <mpolacek@redhat.com>
33507
33508 * elf/dl-load.c (lose): Add cast to avoid warning.
33509
21fd49a9
UD
335102011-10-07 Ulrich Drepper <drepper@gmail.com>
33511
5a06e643
UD
33512 * po/ca.po: Update from translation team.
33513
684ae515
UD
33514 * inet/getnetgrent_r.c: Hook up nscd.
33515 * nscd/Makefile (routines): Add nscd_netgroup.
33516 (nscd-modules): Add netgroupcache.
33517 (CFLAGS-netgroupcache.c): Define.
33518 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33519 (cache_search): Add const to second parameter.
33520 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33521 INNETGR.
33522 (dbs): Add netgrdb entry.
33523 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33524 (verify_persistent_db): Handle netgrdb.
33525 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33526 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33527 GETFDNETGR.
33528 (netgroup_response_header): Define.
33529 (innetgroup_response_header): Define.
33530 (datahead): Add netgroup_response_header and innetgroup_response_header
33531 elements.
33532 * nscd/nscd.conf: Add entries for netgroup cache.
33533 * nscd/nscd.h (dbtype): Add netgrdb.
33534 (_PATH_NSCD_NETGROUP_DB): Define.
33535 (netgroup_iov_disabled): Declare.
33536 (xmalloc, xcalloc, xrealloc): Move declarations here.
33537 (cache_search): Adjust prototype.
33538 Add netgroup-related prototypes.
33539 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33540 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33541 (__nscd_innetgr): Declare.
33542 * nscd/selinux.c (perms): Use access_vector_t as element type and
33543 add netgroup-related initializers.
33544 * nscd/netgroupcache.c: New file.
33545 * nscd/nscd_netgroup.c: New file.
33546 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33547 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33548 For four parameters use innetgr.
33549 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33550 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33551 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33552 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33553
21fd49a9
UD
33554 * nscd/connections.c (register_traced_file): Don't register file
33555 for disabled databases.
33556
054c0457
UD
335572011-10-06 Ulrich Drepper <drepper@gmail.com>
33558
32b63198
UD
33559 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33560
054c0457
UD
33561 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33562 from tree and freeing node.
33563
64031225
JO
335642011-09-25 Jiri Olsa <jolsa@redhat.com>
33565
33566 * nss/nsswitch.c (__nss_database_lookup): Handle
33567 nss_parse_service_list out of memory case.
33568
0490345c
JO
335692011-09-15 Jiri Olsa <jolsa@redhat.com>
33570
33571 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33572 out of memory case.
33573
3a62d00d
AS
335742011-10-04 Andreas Schwab <schwab@redhat.com>
33575
33576 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33577 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33578 pass it down.
33579 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33580 elf_machine_rela, elf_machine_lazy_rel.
33581 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33582 (ELF_DYNAMIC_DO_REL): Likewise.
33583 (ELF_DYNAMIC_DO_RELA): Likewise.
33584 (ELF_DYNAMIC_RELOCATE): Likewise.
33585 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33586 to ELF_DYNAMIC_DO_REL.
33587 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33588 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33589 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33590 elf_machine_rela.
33591 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33592 skip_ifunc, don't call ifunc function if non-zero.
33593 (elf_machine_rela): Likewise.
33594 (elf_machine_lazy_rel): Likewise.
33595 (elf_machine_lazy_rela): Likewise.
33596 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33597 (elf_machine_lazy_rel): Likewise.
33598 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33599 Likewise.
33600 (elf_machine_lazy_rel): Likewise.
33601 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33602 Likewise.
33603 (elf_machine_lazy_rel): Likewise.
33604 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33605 (elf_machine_lazy_rel): Likewise.
33606 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33607 (elf_machine_lazy_rel): Likewise.
33608 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33609 (elf_machine_lazy_rel): Likewise.
33610 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33611 (elf_machine_lazy_rel): Likewise.
33612 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33613 (elf_machine_lazy_rel): Likewise.
33614 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33615 (elf_machine_lazy_rel): Likewise.
33616
68577918
UD
336172011-09-28 Ulrich Drepper <drepper@gmail.com>
33618
33619 * nss/nss_files/files-init.c (_nss_files_init): Use static
33620 initialization for all the *_traced_file variables.
33621
68822d74
AS
336222011-09-28 Andreas Schwab <schwab@redhat.com>
33623
33624 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33625
2056100b
RM
336262011-09-27 Roland McGrath <roland@hack.frob.com>
33627
33628 [BZ #13226]
33629 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33630
32c76b63
AS
336312011-09-27 Andreas Schwab <schwab@redhat.com>
33632
33633 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33634 Reread the line before reparsing it.
33635
bf972c9d
AS
336362011-09-26 Andreas Schwab <schwab@redhat.com>
33637
33638 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33639
e057a1b5
JM
336402011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33641 Maxim Kuvyrkov <maxim@codesourcery.com>
33642 Joseph Myers <joseph@codesourcery.com>
33643
33644 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33645 if needed for __stack_chk_guard.
33646
bc7e1c36
RM
336472011-09-19 Roland McGrath <roland@hack.frob.com>
33648
ecb1482f
RM
33649 * sysdeps/posix/spawni.c (script_execute): Always define it.
33650 It will be optimized away if unused.
33651 (maybe_script_execute): New function.
33652 (__spawni): Call it.
33653
bc7e1c36
RM
33654 * Makerules: Don't include tls.make.
33655 (config-tls): Always set to thread.
33656 * tls.make.c: File removed.
33657
1c3b002b
MF
336582011-09-19 Mike Frysinger <vapier@gentoo.org>
33659
33660 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33661 * config.make.in (CPPFLAGS-config): New substituted variable.
33662
2840865d
UD
336632011-09-15 Ulrich Drepper <drepper@gmail.com>
33664
88738eb6
UD
33665 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33666
cbf645a6 33667 [BZ #13192]
2840865d
UD
33668 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33669 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33670
b402e91a
RM
336712011-09-15 Roland McGrath <roland@hack.frob.com>
33672
33673 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33674 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33675 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33676 (CALL_FAIL): Likewise.
33677 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33678 (CALL_FAIL): Macro removed.
33679 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33680
4c1a1f71
UD
336812011-09-15 Ulrich Drepper <drepper@gmail.com>
33682
33683 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33684 for __FINITE_MATH_ONLY__ == 1.
33685
edc121be
AS
336862011-09-15 Andreas Schwab <schwab@redhat.com>
33687
33688 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33689 __ieee754_sqrt instead of sqrt.
33690 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33691 __ieee754_sqrtf instead of sqrtf.
33692 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33693 __floorf instead of floorf.
33694 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33695 __floorf, __truncf instead of floorf, truncf.
33696
cd205654
UD
336972011-09-14 Ulrich Drepper <drepper@gmail.com>
33698
ee4d0315
UD
33699 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33700
cd205654
UD
33701 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33702 __extern_always_inline.
33703 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33704 32-bit.
33705
48b67d71
AS
337062011-09-14 Andreas Schwab <schwab@redhat.com>
33707
33708 * elf/rtld.c (dl_main): Also relocate in dependency order when
33709 doing symbol dependency testing.
33710
1ae12c75
AS
337112011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33712
33713 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33714 Always define `refsym'.
33715
995a80df
AS
337162011-09-13 Andreas Schwab <schwab@redhat.com>
33717
e529793b
AS
33718 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33719 (__FD_ELT): Renamed from __FDELT.
33720 * misc/bits/select2.h (__FD_ELT): Likewise.
33721 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33722 __FD_MASK instead of __FDELT, __FDMASK.
33723 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33724 Likewise.
33725 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33726 Likewise.
33727
52d4fef8
AS
33728 * elf/Makefile (gen-ldd): Fix pattern.
33729
995a80df
AS
33730 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33731 (init_tls): Likewise.
33732
8682f8b0
UD
337332011-09-12 Ulrich Drepper <drepper@gmail.com>
33734
33735 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33736
de82006d
AS
337372011-09-12 Andreas Schwab <schwab@redhat.com>
33738
a7c8e6a1
AS
33739 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33740 `struct cmsghdr *' instead of `void *'.
33741 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33742 Likewise.
33743
0f31fe77
AS
337442011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33745
33746 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33747 if non-absolute.
33748 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33749 ldd_rewrite_script.
0f31fe77 33750
32b4c839
UD
337512011-09-11 Ulrich Drepper <drepper@gmail.com>
33752
83cd1420
UD
33753 * configure.in: Remove --with-tls option.
33754 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33755 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33756 out in case it is missing.
33757 * sysdeps/ia64/elf/configure.in: Likewise.
33758 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33759 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33760 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33761 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33762 * sysdeps/sh/elf/configure.in: Likewise.
33763 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33764 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33765 * sysdeps/x86_64/elf/configure.in: Likewise.
33766 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33767 * sysdeps/mach/hurd/tls.h: Likewise.
33768
633f745d
UD
33769 [BZ #13067]
33770 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33771
f318beb8
UD
33772 [BZ #13090]
33773 * configure.in: Fix use of AC_INIT.
33774
32b4c839
UD
33775 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33776
3ce1f295
UD
337772011-09-10 Ulrich Drepper <drepper@gmail.com>
33778
bb016596
UD
33779 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33780 __set_errno.
8e58439c
UD
33781 * malloc/hooks.c: Likewise.
33782
aebae053 33783 [BZ #11929]
02d46fc4
UD
33784 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33785 variables statically.
33786 (narenas): Initialize.
33787 (list_lock): Initialize.
bb016596
UD
33788 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33789 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
33790 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33791 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33792 Add initializers to main_arena and mp_.
33793 (malloc_state): Remove pagesize member. Change all users to use
33794 GLRO(dl_pagesize).
33795
33796 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33797 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33798 is always initialized.
33799
22a89187
UD
33800 * malloc/malloc.c: Removed unused configurations and dead code.
33801 * malloc/arena.c: Likewise.
33802 * malloc/hooks.c: Likewise.
02d46fc4 33803 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 33804
d063d164
UD
33805 * include/tls.h: Removed. USE___THREAD must always be defined.
33806 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33807 * elf/dl-libc.c: Likewise.
33808 * elf/dl-tsd.c: Likewise.
33809 * include/errno.h: Likewise.
33810 * include/netdb.h: Likewise.
33811 * include/resolv.h: Likewise.
33812 * inet/herrno-loc.c: Likewise.
33813 * inet/herrno.c: Likewise.
33814 * malloc/arena.c: Likewise.
33815 * malloc/hooks.c: Likewise.
33816 * malloc/malloc.c: Likewise.
33817 * resolv/res-state.c: Likewise.
33818 * resolv/res_libc.c: Likewise.
33819 * sysdeps/i386/dl-machine.h: Likewise.
33820 * sysdeps/ia64/dl-machine.h: Likewise.
33821 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33822 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33823 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33824 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33825 * sysdeps/sh/dl-machine.h: Likewise.
33826 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33827 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33828 * sysdeps/unix/i386/sysdep.S: Likewise.
33829 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33830 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33831 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33832 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33833 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33834 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33835 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33836 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33837 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33838 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33839 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33840 * sysdeps/x86_64/dl-machine.h: Likewise.
33841 * tls.make.c: Likewise.
33842
3ce1f295
UD
33843 * configure.in: Remove --with-__thread option. Make tests for
33844 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33845 tls_model attribute fail if no support is available. Remove
33846 USE_IN_LIBIO.
33847 * Makeconfig: Adjust for dropped configure option. All features are
33848 now mandatory.
33849 * Makerules: Likewise.
33850 * Versions.def: Likewise.
33851 * argp/argp-fmtstream.c: Likewise.
33852 * argp/argp-fmtstream.h: Likewise.
33853 * argp/argp-help.c: Likewise.
33854 * assert/assert.c: Likewise.
33855 * config.h.in: Likewise.
33856 * config.make.in: Likewise.
33857 * configure: Likewise.
33858 * configure.in: Likewise.
33859 * csu/Versions: Likewise.
33860 * csu/init.c: Likewise.
33861 * elf/tst-audit2.c: Likewise.
33862 * elf/tst-tls10.c: Likewise.
33863 * elf/tst-tls10.h: Likewise.
33864 * elf/tst-tls11.c: Likewise.
33865 * elf/tst-tls12.c: Likewise.
33866 * elf/tst-tls14.c: Likewise.
33867 * elf/tst-tlsmod11.c: Likewise.
33868 * elf/tst-tlsmod12.c: Likewise.
33869 * elf/tst-tlsmod13.c: Likewise.
33870 * elf/tst-tlsmod13a.c: Likewise.
33871 * elf/tst-tlsmod14a.c: Likewise.
33872 * elf/tst-tlsmod15b.c: Likewise.
33873 * elf/tst-tlsmod16a.c: Likewise.
33874 * elf/tst-tlsmod16b.c: Likewise.
33875 * elf/tst-tlsmod7.c: Likewise.
33876 * elf/tst-tlsmod8.c: Likewise.
33877 * elf/tst-tlsmod9.c: Likewise.
33878 * gmon/gmon.c: Likewise.
33879 * grp/fgetgrent_r.c: Likewise.
33880 * grp/putgrent.c: Likewise.
33881 * hurd/fopenport.c: Likewise.
33882 * include/libc-symbols.h: Likewise.
33883 * include/tls.h: Likewise.
33884 * intl/gettextP.h: Likewise.
33885 * intl/loadinfo.h: Likewise.
33886 * locale/global-locale.c: Likewise.
33887 * locale/localeinfo.h: Likewise.
33888 * mach/devstream.c: Likewise.
33889 * malloc/arena.c: Likewise.
33890 * malloc/set-freeres.c: Likewise.
33891 * misc/err.c: Likewise.
33892 * misc/getttyent.c: Likewise.
33893 * misc/mntent_r.c: Likewise.
33894 * posix/getopt.c: Likewise.
33895 * posix/wordexp.c: Likewise.
33896 * pwd/fgetpwent_r.c: Likewise.
33897 * resolv/Versions: Likewise.
33898 * resolv/res_hconf.c: Likewise.
33899 * shadow/fgetspent_r.c: Likewise.
33900 * shadow/putspent.c: Likewise.
33901 * stdio-common/printf_fphex.c: Likewise.
33902 * stdio-common/tmpfile.c: Likewise.
33903 * stdlib/abort.c: Likewise.
33904 * stdlib/fmtmsg.c: Likewise.
33905 * sunrpc/auth_unix.c: Likewise.
33906 * sunrpc/clnt_perr.c: Likewise.
33907 * sunrpc/clnt_tcp.c: Likewise.
33908 * sunrpc/clnt_udp.c: Likewise.
33909 * sunrpc/clnt_unix.c: Likewise.
33910 * sunrpc/openchild.c: Likewise.
33911 * sunrpc/svc_simple.c: Likewise.
33912 * sunrpc/svc_tcp.c: Likewise.
33913 * sunrpc/svc_udp.c: Likewise.
33914 * sunrpc/svc_unix.c: Likewise.
33915 * sunrpc/xdr.c: Likewise.
33916 * sunrpc/xdr_array.c: Likewise.
33917 * sunrpc/xdr_rec.c: Likewise.
33918 * sunrpc/xdr_ref.c: Likewise.
33919 * sunrpc/xdr_stdio.c: Likewise.
33920
1248c1c4
PB
339212011-09-09 Ulrich Drepper <drepper@gmail.com>
33922
33923 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33924
339252011-07-03 Andreas Jaeger <aj@suse.de>
33926
33927 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33928 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33929 regenerate with gen-libm-tests.pl.
33930
339312010-05-12 Petr Baudis <pasky@suse.cz>
33932
33933 [BZ #11589]
33934 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33935 around j0() zero points by switching to j1().
33936 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33937 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33938 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33939 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33940
f22e1074
UD
339412011-09-09 Ulrich Drepper <drepper@gmail.com>
33942
f19009c1
UD
33943 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33944 instead of 0.
33945 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 33946 instead of 0.
f19009c1
UD
33947 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33948 Patch in part by Pavel Roskin <proski@gnu.org>.
33949
3f8cc204
UD
33950 [BZ #13138]
33951 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33952 realloc.
33953 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33954 Free memory block if necessary.
33955
f22e1074
UD
33956 [BZ #12847]
33957 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33958 be NULL. Don't lock in this case.
33959
0a2349f9
RM
339602011-09-09 Roland McGrath <roland@hack.frob.com>
33961
33962 * elf/elf.h (ELFOSABI_GNU): New macro.
33963 (ELFOSABI_LINUX): Define to that.
33964
f3cdd467
DZ
339652011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33966
33967 * string/strncat.c (strncat): Undef the symbol in case it has been
33968 defined in bits/string.h.
33969
74718d13
UD
339702011-09-09 Ulrich Drepper <drepper@gmail.com>
33971
633e9e0f
UD
33972 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33973
0a2349f9 33974 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
33975 link map.
33976
f9924780
AJ
339772011-08-17 Andreas Jaeger <aj@suse.de>
33978
33979 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33980
7f5517aa
PP
339812011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33982 Ian Lance Taylor <iant@google.com>
33983
33984 * math/libm-test.inc (lround_test): New testcase.
33985 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33986
762011fe
UD
339872011-09-08 Ulrich Drepper <drepper@gmail.com>
33988
92963737
UD
33989 * Makefile: Remove support for automatic cvs check-ins.
33990 * Makerules: Likewise.
33991 * config.make.in: Likewise.
33992 * configure.in: Likewise.
33993 * intl/Makefile: Likewise.
33994 * locale/Makefile: Likewise.
33995 * po/Makefile: Likewise.
33996 * posix/Makefile: Likewise.
33997 * sysdeps/gnu/Makefile: Likewise.
33998 * sysdeps/mach/hurd/Makefile: Likewise.
33999 * sysdeps/sparc/sparc32/Makefile: Likewise.
34000
b0727fd8
JS
34001 [BZ #13118]
34002 * posix/Makefile (bug-regex32-ENV): Define.
34003 Patch by John Stanley <jpsinthemix@verizon.net>.
34004
a0f33f99
UD
34005 * misc/Makefile (headers): Add bits/select2.h.
34006 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34007 * misc/bits/select2.h: New file.
34008 * include/bits/select2.h: New file.
34009 * debug/Makefile (routines): Add fdelt_chk.
34010 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34011 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34012 FD_ISSET.
34013 * debug/fdelt_chk.c: New file.
34014
762011fe
UD
34015 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34016 * wcsmbs/test-wmemcmp.c: Likewise.
34017 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 34018 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
34019
340202011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34021
34022 * string/Makefile (strop-tests): Add memcmp.
34023 * string/test-wmemcmp.c: New file.
34024 * string/test-memcmp.c: Add wmemcmp support.
34025
7f513ec8
RM
340262011-09-08 Roland McGrath <roland@hack.frob.com>
34027
0442afb4
RM
34028 [BZ #13153]
34029 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34030 2011-07-19 change.
34031
7f513ec8
RM
34032 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34033 garbage value in a __mach_port_mod_refs call in the cases of the
34034 task-self and thread-self ports.
34035
a12b2239
ST
340362011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34037
34038 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34039
610f9ab4
AS
340402011-09-08 Andreas Schwab <schwab@redhat.com>
34041
7f513ec8 34042 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 34043
48882a1a
LD
340442011-09-07 Ulrich Drepper <drepper@gmail.com>
34045
b49865be
UD
34046 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34047
fdc86bc9
UD
34048 * elf/dl-libc.c (dlerror_run): Pass back error code from
34049 dl_catch_error.
34050
c966526a
UD
34051 [BZ #13123]
34052 * elf/dl-load.c (lose): Free l_origin if it is valid.
34053
48882a1a
LD
34054 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34055 names.
34056 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34057 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34058 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34059 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34060 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34061 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34062
77a2a8b4
AZ
340632011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34064
34065 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34066 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34067 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34068 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34069 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34070 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34071 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34072 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34073 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34074 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34075
24f579d8
AM
340762011-08-15 Alan Modra <amodra@gmail.com>
34077
34078 [BZ #13092]
34079 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34080 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34081 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34082 ppc_mcount to static-only-routines.
34083 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34084 __mcount_internal.
34085 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34086 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34087
3d4837df
UD
340882011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34089
34090 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34091 for finite and infinity parameters.
34092
22700377
WS
340932011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34094
34095 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34096 and add nop instructions for throughput optimization.
34097 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34098
5025581e
WS
340992011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34100
34101 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34102 aligned copy for power7 with vector-scalar instructions.
34103 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34104
08a300c9
L
341052011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34106
34107 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34108 AVX check.
34109
59178ef9
AS
341102011-09-07 Andreas Schwab <schwab@redhat.com>
34111
34112 [BZ #13144]
34113 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34114 last change.
34115
e38ba7ab
UD
341162011-09-07 Ulrich Drepper <drepper@gmail.com>
34117
34118 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34119 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34120 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34121 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34122 clock_gettime.
34123
d53a73ac
UD
341242011-09-06 Ulrich Drepper <drepper@gmail.com>
34125
fc8bffcc
UD
34126 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34127 Forgot to demangle the pointer.
34128
ceaa0c5d
UD
34129 * sysdeps/i386/sysdep.h: Define atom_text_section.
34130 * sysdeps/x86_64/sysdep.h: Likewise.
34131 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34132 section with atom_text_section.
34133 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34134 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34135 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34136 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34137 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34138
a77d3c17
UD
34139 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34140 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34141 already be defined. Change to take two parameters and don't assign
34142 result to variable. Adjust all users.
34143 Define INTERNAL_GETTIME if not already defined.
34144 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34145 call.
34146 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34147 HAVE_CLOCK_GETTIME_VSYSCALL.
34148 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34149
d53a73ac
UD
34150 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34151 gettimeofday vsyscall, just use time.
34152
a8f84144
AS
341532011-09-06 Andreas Schwab <schwab@redhat.com>
34154
34155 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34156 <errno.h>.
34157
ef606249
UD
341582011-09-06 Ulrich Drepper <drepper@gmail.com>
34159
34160 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34161 syscall on x86-64.
34162 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34163 syscall.
34164 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34165 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34166 syscall if possible.
34167
6585cb60
UD
341682011-09-05 Ulrich Drepper <drepper@gmail.com>
34169
34170 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34171 e_ident. Don't pass to find_mapsXX.
34172 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34173
a5f524e4
LD
341742011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34175
34176 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34177 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34178 * sysdeps/x86_64/multiarch/strchr.S: Update.
34179 Check bit_slow_BSF bit.
34180 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34181 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34182 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34183
554881ef
UD
341842011-09-05 Ulrich Drepper <drepper@gmail.com>
34185
d96de963
UD
34186 [BZ #13134]
34187 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34188 before glibc 2.15.
34189 (tryshell): Define.
34190 (__spawni): Change last parameter to be flag. Test
34191 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34192 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34193 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34194 * posix/spawni.c: Likewise.
34195 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34196 * posix/spawnp.c: Likewise. Change normal version to use
34197 SPAWN_XFLAGS_USE_PATH.
34198 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34199 SPAWN_XFLAGS_TRY_SHELL.
34200
d48e5868
UD
34201 [BZ #13150]
34202 * posix/glob.h: Remove gcc 1.x support.
34203
554881ef
UD
34204 [BZ #13068]
34205 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34206
693fb948
LD
342072011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34208
34209 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34210 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34211 strrchr-sse2-bsf
34212 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34213 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34214 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34215 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34216 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34217 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34218
1b48c537
UD
342192011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34220
49d42c37
UD
34221 * sysdeps/x86_64/wcscmp.S: New file.
34222
1b48c537
UD
34223 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34224 wcscmp-c wcscmp-sse2
34225 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34226 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34227 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34228 * wcsmbs/wcscmp.c: Allow renaming.
34229
15c95c5d
DM
342302011-09-05 David S. Miller <davem@davemloft.net>
34231
34232 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34233 stack slot, rather than the struct return pointer slot.
34234 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34235 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34237 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34238
2f0ad8f3
UD
342392011-09-05 Ulrich Drepper <drepper@gmail.com>
34240
d88ae418
UD
34241 * po/ja.po: Update from translation team.
34242
2f0ad8f3
UD
34243 [BZ #13144]
34244 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34245 kernel in 64-bit binaries.
34246
5f4318d1
DM
342472011-09-01 David S. Miller <davem@davemloft.net>
34248
34249 * elf/elf.h (HWCAP_SPARC_*): Move to..
34250 * sysdeps/sparc/sysdep.h: this new file and add new values.
34251 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34252 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34253 _DL_HWCAP_COUNT to 24.
34254 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34255 entries.
34256 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34257 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34258 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34259 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34260 instead of magic constants.
34261 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34262
3ba57516
DM
342632011-08-31 David S. Miller <davem@davemloft.net>
34264
34265 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34266 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34267 Reimplement to do errno handling inline.
34268 (SYSCALL_ERROR_HANDLER): New macro.
34269 (__SYSCALL_STRING): Do not do errno handling in asm.
34270 (__CLONE_SYSCALL_STRING): Delete.
34271 (__INTERNAL_SYSCALL_STRING): Delete.
34272 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34273 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34274 (PSEUDO): Reimplement to do errno handling inline.
34275 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34276 (SYSCALL_ERROR_HANDLER): New macro.
34277 (__SYSCALL_STRING): Do not do errno handling in asm.
34278 (__CLONE_SYSCALL_STRING): Delete.
34279 (__INTERNAL_SYSCALL_STRING): Delete.
34280 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34281 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34282 i386.
34283 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34284 (inline_syscall*): Add 'err' argument.
34285 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34286 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34287 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34288 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34289
34290 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34291 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34292
2bc17433
AS
342932011-08-30 Andreas Schwab <schwab@redhat.com>
34294
34295 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34296
fbeb5f4d
JO
342972011-08-29 Jiri Olsa <jolsa@redhat.com>
34298
34299 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34300 directive.
34301
ad69cc26
DM
343022011-08-24 David S. Miller <davem@davemloft.net>
34303
34304 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34305
39dd69df
AS
343062011-08-24 Andreas Schwab <schwab@redhat.com>
34307
34308 * elf/Makefile: Add rules to build and run unload8 test.
34309 * elf/unload8.c: New file.
34310 * elf/unload8mod1.c: New file.
34311 * elf/unload8mod1x.c: New file.
34312 * elf/unload8mod2.c: New file.
34313 * elf/unload8mod3.c: New file.
34314
34315 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34316 it wasn't used.
34317
2c0b250a
DM
343182011-08-23 David S. Miller <davem@davemloft.net>
34319
34320 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34321 subtract stack bias.
34322 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34323 %sp not %fp in calculations.
34324 (_JMPBUF_UNWINDS_ADJ): Likewise.
34325
22044b48
DM
34326 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34327 (aio_suspend): Call it to force an exception region around the
34328 AIO_MISC_WAIT() invocation.
34329
2cae4995
AS
343302011-08-23 Andreas Schwab <schwab@redhat.com>
34331
34332 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34333 backslash.
34334
873a772e
AJ
343352011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34336
34337 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34338 protection macro.
34339 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34340 and <dl-machine.h>.
34341 (Elf64_FuncDesc): Remove.
34342
25ad0df1
DM
343432011-08-22 David S. Miller <davem@davemloft.net>
34344
34345 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34346 sigaltstack check, add missing cfi directives.
34347 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34348 missing cfi directives, and sigaltstack handling.
34349
e888bcbe
AS
343502011-08-16 Andreas Schwab <schwab@redhat.com>
34351
34352 [BZ #11724]
34353 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34354 object is seen twice.
34355 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34356
34357 * elf/Makefile (distribute): Add tst-initorder2.c.
34358 (tests): Add tst-initorder2.
34359 (modules-names): Add tst-initorder2a tst-initorder2b
34360 tst-initorder2c tst-initorder2d. Add rules to build them.
34361 ($(objpfx)tst-initorder2.out): New rule.
34362 * elf/tst-initorder2.c: New file.
34363 * elf/tst-initorder2.exp: New file.
34364
87162f46
AS
343652011-08-22 Andreas Schwab <schwab@redhat.com>
34366
70538b7f
AS
34367 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34368
f55ffe58
AS
34369 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34370 dependencies back to end of function.
34371
87162f46
AS
34372 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34373 $(elfobjdir)/ld.so.
34374
91b392a4
UD
343752011-08-21 Ulrich Drepper <drepper@gmail.com>
34376
34377 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34378 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34379 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34380 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34381 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34382 of __vdso_gettimeofday.
34383 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34384 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34385 attribute_hidden.
34386 (_libc_vdso_platform_setup): Remove initialization of
34387 __vdso_gettimeofday and __vdso_time.
34388
5c43483f
UD
343892011-08-20 Ulrich Drepper <drepper@gmail.com>
34390
775a77e7
UD
34391 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34392 and fgetc_unlocked.
34393 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34394 getc_unlocked.
89f447ed 34395
49c74ba9
UD
34396 * elf/dl-open.c (add_to_global): Report additions to the global scope
34397 for LD_DEBUG=scopes.
34398 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 34399 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 34400
5c43483f
UD
34401 [BZ #13114]
34402 * stdio-common/Makefile (tests): Add bug24.
34403 * stdio-common/bug24.c: New file.
34404
a101b025
AJ
344052011-08-19 Andreas Jaeger <aj@suse.de>
34406
34407 [BZ #13114]
34408 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34409 non-existant file when using close-on-exec mode.
34410
c88f1766
UD
344112011-08-20 Ulrich Drepper <drepper@gmail.com>
34412
0276a718
UD
34413 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34414 the very first instruction.
34415
c88f1766
UD
34416 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34417 the CFI state in the end.
34418 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34419 inclusion of dl-trampoline.h.
34420 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34421
51ccffa0
AS
344222011-08-19 Andreas Schwab <schwab@redhat.com>
34423
94d7165f
AS
34424 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34425 expectations for long double.
34426
51ccffa0
AS
34427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34428 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34429
fd708658 344302011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
34431
34432 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34433 artificual limit depends upon the system page size.
34434
44f0a71e
UD
344352011-08-17 Ulrich Drepper <drepper@gmail.com>
34436
34437 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34438 * resolv/Makefile: Define CFLAGS-libresolv.
34439
8de79a24
AS
344402011-08-17 Andreas Schwab <schwab@redhat.com>
34441
34442 * nss/makedb.c (compute_tables): Make variables used in nested
34443 function static.
34444
27724598
UD
344452011-08-17 Ulrich Drepper <drepper@gmail.com>
34446
c5305d88
UD
34447 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34448 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34449 if buffer was too small.
34450
27724598
UD
34451 * elf/pldd.c (main): Attach to all threads in the process.
34452 Rewrite /proc handling to use *at functions.
34453
076fe015
UD
344542011-08-16 Ulrich Drepper <drepper@gmail.com>
34455
174baab3
UD
34456 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34457 specifies first scope to show.
34458 (dl_open_worker): Update callers. Move printing scope of new
34459 object to before the relocation.
44f0a71e 34460 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
34461 * sysdeps/generic/ldsodefs.h: Update declaration.
34462
076fe015
UD
34463 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34464 string for the scope number.
34465
a60df2c3
UD
344662011-08-14 Ulrich Drepper <drepper@gmail.com>
34467
34468 * nscd/servicescache.c (cache_addserv): Make sure written is always
34469 initialized.
34470
5e4287d1
RM
344712011-08-14 Roland McGrath <roland@hack.frob.com>
34472
85ae0589
RM
34473 * sysdeps/i386/i486/bits/atomic.h
34474 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34475 statement expression, so as to suppress "set but not used" warning.
34476 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34477
69f63097
RM
34478 * string/strncat.c (STRNCAT): Use prototype definition.
34479
675456ef
RM
34480 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34481 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34482 -Iprograms here.
34483 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34484 (localedef-modules): Add localedef.
34485 (locale-modules): Add locale.
34486
5e4287d1
RM
34487 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34488 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34489 to avoid a warning.
34490
9c96ff23
DM
344912011-08-14 David S. Miller <davem@davemloft.net>
34492
34493 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34494 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34495
f9ddf089
UD
344962011-08-13 Ulrich Drepper <drepper@gmail.com>
34497
44f0a71e 34498 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
34499 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34500 * elf/rtld.c (dl_main): Set l_name of vDSO.
34501 Call _dl_show_scope when DL_DEBUG_SCOPES.
34502 (process_dl_debug): Recognize scopes flag and also set it for all.
34503 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34504 Declare _dl_show_scope.
34505
1dc27704
UD
34506 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34507 (do_dlopen): Pass caller_dlopen to dl_open.
34508 (__libc_dlopen_mode): Initialize caller_dlopen.
34509
f9ddf089
UD
34510 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34511 of libc. Make tolower call locale-independent. Optimize a bit by
34512 using isdigit instead of isalnum.
34513 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34514
9ac533d3
UD
345152011-08-12 Ulrich Drepper <drepper@gmail.com>
34516
34517 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34518 was a dependency or dynamically loaded.
34519
89edf2e9
UD
345202011-08-11 Ulrich Drepper <drepper@gmail.com>
34521
8e999d29
UD
34522 * intl/l10nflist.c: Allow architecture-specific pop function.
34523 * sysdeps/x86_64/l10nflist.c: New file.
34524
89edf2e9
UD
34525 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34526 classification.
34527
14d96785
AS
345282011-08-10 Andreas Schwab <schwab@redhat.com>
34529
34530 * include/dirent.h: Add libc_hidden_proto for scandirat and
34531 scandirat64. Don't declare __scandirat64.
34532 * dirent/scandirat.c: Add libc_hidden_def.
34533 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34534 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34535
6761ac04
DM
345362011-08-10 David S. Miller <davem@davemloft.net>
34537
34538 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34539 enum.
34540 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34541 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34542 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34543
c55fbd1e
UD
345442011-08-09 Ulrich Drepper <drepper@gmail.com>
34545
34546 * Versions.def [libc]: Add GLIBC_2.15.
34547 * dirent/Makefile (routines): Add scandirat and scandirat64.
34548 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34549 GLIBC_2.15.
34550 * dirent/dirent.h: Declare scandirat and scandirat64.
34551 * dirent/scandirat.c: New file.
34552 * dirent/scandirat64.c: New file.
34553 * sysdeps/wordsize-64/scandirat.c: New file.
34554 * sysdeps/wordsize-64/scandirat64.c: New file.
34555 * dirent/opendir.c: Define opendirat.
34556 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34557 using scandirat.
34558 * dirent/scandir64.c: Adjust for scandir.c change.
34559 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34560 __scandirat64, and __scandir_cancel_handler.
34561 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34562 additional parameter and use openat instead of open (outside of ld.so).
34563 Add new __opendir as wrapper around __opendirat.
34564 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34565 here without requiring old scandirat implementation.
34566
879165f2
UD
345672011-08-08 Ulrich Drepper <drepper@gmail.com>
34568
34569 * dirent/scandir.c (cancel_handler): Renamed to
34570 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34571 defined. Adjust users.
34572 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34573 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34574
cb7e923b
UD
345752011-08-04 Ulrich Drepper <drepper@gmail.com>
34576
16292edd
UD
34577 * string/test-string.h (IMPL): Use __STRING to expand name and then
34578 stringify it.
34579
cb7e923b
UD
34580 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34581 of cleanups.
34582
cff82933
LD
345832011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34584
34585 * string/Makefile: Update.
34586 (strop-tests): Append strncat.
34587 * string/test-wcscmp.c: New file.
34588 New comprehensive test for wcscmp.
34589 * string/test-strcmp.c: Update.
34590 (WIDE): New define.
34591
9be9bfcc
AS
345922011-07-22 Andreas Schwab <schwab@redhat.com>
34593
34594 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34595 line.
34596
2e96f1c7
AS
345972011-07-26 Andreas Schwab <schwab@redhat.com>
34598
34599 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34600 encoding to ACE if AI_IDN.
34601
85188888
JJ
346022011-08-01 Jakub Jelinek <jakub@redhat.com>
34603
34604 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34605 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34606
5fa16e9b
LD
346072011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34608
34609 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34610 Fix overflow bug in strncat.
34611 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34612
34613 * string/test-strncat.c: Update.
34614 Add new tests for checking overflow bugs.
34615
346162011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34617
34618 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34619 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34620 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34621 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34622 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34623 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34624 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34625 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34626 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34627
34628 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34629 (USE_AS_STRCAT): Define.
34630 Add strcat and strncat support.
34631 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34632
8c1a459f
AS
346332011-07-25 Andreas Schwab <schwab@redhat.com>
34634
34635 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34636 __n bigger than INT_MAX+1.
34637 (__strncmp_g): Likewise.
34638
bba33c28
UD
346392011-07-23 Ulrich Drepper <drepper@gmail.com>
34640
798be72d
UD
34641 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34642 * libio/stido.h: Likewise.
34643
8accd4dc
UD
34644 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34645 (AF_NFC): Define.
34646 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34647 (AF_NFC): Define.
34648
cbff0d96
UD
34649 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34650 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34651 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34652 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34653 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34654
9191c04a
UD
34655 [BZ #13021]
34656 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34657 installed.
34658
bba33c28
UD
34659 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34660 typo.
34661 (_dl_x86_64_save_sse): Likewise.
34662
90f139dd
UD
346632011-07-22 Ulrich Drepper <drepper@gmail.com>
34664
1aae088a
UD
34665 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34666 OSXSAVE.
34667 (_dl_x86_64_save_sse): Likewise.
34668
8e2045f5
UD
34669 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34670
90f139dd
UD
34671 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34672
1d002f25
AS
346732011-07-21 Andreas Schwab <schwab@redhat.com>
34674
34675 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34676 change.
34677 (_dl_x86_64_save_sse): Use correct AVX check.
34678
21137f89
UD
346792011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34680
34681 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34682 bug in strncpy/strncat.
34683 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34684
a65c0b7a
UD
346852011-07-21 Ulrich Drepper <drepper@gmail.com>
34686
34687 * string/tester.c (test_strcat): Add tests for different alignments
34688 of source and destination.
34689 (test_strncat): Likewise.
34690
6986b98a
UD
346912011-07-20 Ulrich Drepper <drepper@gmail.com>
34692
90bb2039
UD
34693 [BZ #12852]
34694 * posix/glob.c (glob): Check passed in values before using them in
34695 expressions to avoid some overflows.
34696 (glob_in_dir): Likewise.
34697
5644ef54
UD
34698 [BZ #13007]
34699 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34700 check for AVX enablement so that we don't crash with old kernels and
34701 new hardware.
34702 * elf/tst-audit4.c: Add same checks here.
34703 * elf/tst-audit6.c: Likewise.
34704
34705 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 34706
bfc9dc9b
AS
347072011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34708
34709 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34710
702e64bb
UD
347112011-07-20 Ulrich Drepper <drepper@gmail.com>
34712
34713 * po/cs.po: Update from translation team.
34714 * po/bg.po: Likewise.
34715
295e904f
MP
347162011-07-12 Marek Polacek <mpolacek@redhat.com>
34717
34718 * misc/sys/cdefs.h: Add support for const attribute.
34719 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34720 to gnu_dev_{major,minor,makedev} functions.
34721
3ff94596
MP
347222011-07-20 Marek Polacek <mpolacek@redhat.com>
34723
34724 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34725
28b59fca
AS
347262011-07-20 Andreas Schwab <schwab@redhat.com>
34727
34728 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34729 strlen results.
34730
19df733e
AK
347312011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34732
34733 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34734 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34735 register in order to avoid conflicts with the soft frame pointer
34736 being held in r11 when necessary.
34737 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34738 (INTERNAL_VSYSCALL_NCS): Likewise.
34739
c8835729
MP
347402011-07-14 Marek Polacek <mpolacek@redhat.com>
34741
34742 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34743 * elf/dl-fini.c (_dl_fini): Adjust caller.
34744 * elf/dl-close.c (_dl_close_worker): Likewise.
34745 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34746
b902330c
MP
347472011-07-15 Marek Polacek <mpolacek@redhat.com>
34748
8991e135
MP
34749 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34750 "aux_cache->nlibs < 0".
34751
b902330c
MP
34752 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34753 in the reload-count case.
34754
99710781
LD
347552011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34756
34757 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34758 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34759 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34760 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34761 * sysdeps/x86_64/multiarch/strcat.S: New file.
34762 * sysdeps/x86_64/multiarch/strncat.S: New file.
34763 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34764 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34765 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34766 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34767 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34768 (USE_AS_STRCAT): Define.
34769 Add strcat and strncat support.
34770 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34771 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34772 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34773 * string/strncat.c: Update.
34774 (USE_AS_STRNCAT): Define.
34775 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34776 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34777 and i7.
34778 * sysdeps/x86_64/multiarch/init-arch.h
34779 (bit_Prefer_PMINUB_for_stringop): New.
34780 (index_Prefer_PMINUB_for_stringop): Likewise.
34781 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34782 bit_Prefer_PMINUB_for_stringop.
34783
7dc6bd90
UD
347842011-07-19 Ulrich Drepper <drepper@gmail.com>
34785
34786 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34787 buffer64.
34788 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34789 of casting of buffer.
34790 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34791 buffer32 and buffer64.
34792 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34793 writes instead of casting of buffer.
34794 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34795 buffer32.
34796 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34797 casting of buffer.
34798
e0e72284
AS
347992011-07-19 Andreas Schwab <schwab@redhat.com>
34800
34801 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34802
feb1eb0b
UD
348032011-07-19 Ulrich Drepper <drepper@gmail.com>
34804
34805 * nscd/nscd.c (termination_handler): Don't do anything for a database
34806 if it has not yet been initialized.
34807
298711ff
UD
348082011-07-18 Ulrich Drepper <drepper@gmail.com>
34809
34810 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34811
348122011-07-15 Marek Polacek <mpolacek@redhat.com>
34813
34814 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34815
f9d68389
UD
348162011-07-18 Ulrich Drepper <drepper@gmail.com>
34817
34818 * po/nl.po: Update from translation team.
34819 * po/sv.po: Likewise.
34820
db290cf5
RM
348212011-07-16 Roland McGrath <roland@hack.frob.com>
34822
34823 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34824 now disallowed by GCC.
5c550700 34825
fd5e21c7
RM
34826 * configure.in (use-default-link): Default to yes if a test -shared
34827 link meets our qualifications.
34828 * configure: Regenerated.
34829
5c550700
RM
34830 * config.make.in (output-format): New variable.
34831 * configure.in: Check for ld --print-output-format support.
34832 * configure: Regenerated.
34833 * Makerules ($(common-objpfx)format.lds)
34834 [$(output-format) != unknown]: Just use $(output-format),
34835 instead of the linker-script munging.
34836
9fa2c032
RM
348372011-07-14 Roland McGrath <roland@hack.frob.com>
34838
a6928d51
RM
34839 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34840 of $(common-objpfx)shlib.lds.
34841 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34842
661607b3
RM
34843 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34844 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34845
9fa2c032
RM
34846 * configure.in (-z relro check): Adjust test code to add a large
34847 writable data section after it.
34848 * configure: Regenerated.
34849
defe9061
RM
348502011-07-11 Roland McGrath <roland@hack.frob.com>
34851
34852 * configure.in (-z relro check): Fix test code to make the variable
34853 truly const.
34854 * configure: Regenerated.
34855
319b9ad4
UD
348562011-07-11 Ulrich Drepper <drepper@gmail.com>
34857
34858 * nscd/nscd.h (struct traced_file): Define.
34859 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34860 elements. Add traced_files.
34861 (inotify_fd): Declare.
34862 (register_traced_file): Declare.
34863 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34864 (inotify_fd): Export.
34865 (resolv_conf_descr): Remove.
34866 (nscd_init): Move inotify descriptor creation to main.
34867 Don't register files for notification here.
34868 (register_traced_file): New function.
34869 (invalidate_cache): Don't use reset_res to determine whether to call
34870 res_init, go through the list of registered files.
34871 (main_loop_poll): The inotify descriptors are now stored in the
34872 structures for the traced files.
34873 (main_loop_epoll): Likewise
34874 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34875 to __nss_disable_nscd.
34876 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34877 for a database anymore. Check the records for all the registered
34878 files instead.
34879 * nss/Makefile (libnss_files-routines): Add files-init.
34880 (libnss_db-routines): Add db-init.
34881 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34882 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34883 * nss/nss_db/db-init.c: New file.
34884 * nss/nss_files/files-init.c: New file.
34885 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34886 __nss_lookup_function.
34887 (__nss_lookup_function): Call nss_load_library.
34888 (nss_load_all_libraries): New function.
34889 (__nss_disable_nscd): Take parameter with callback function for files
34890 to register. Set is_nscd. Load all the DSOs for the NSS modules
34891 used for the cached services.
34892 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34893 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34894 options for features to all the files in nscd.
34895
34896 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34897
23bee3e8
RM
348982011-07-10 Roland McGrath <roland@hack.frob.com>
34899
34900 * csu/elf-init.c (__libc_csu_init): Comment typo.
34901
46a5b7f0
UD
349022011-07-09 Ulrich Drepper <drepper@gmail.com>
34903
34904 * po/pl.po: Update from translation team.
34905 * po/ja.po: Likewise.
34906 * po/ru.po: Likewise.
34907 * po/ko.po: Likewise.
34908 * po/fr.po: Likewise.
34909
d30cf5bb
RM
349102011-07-09 Roland McGrath <roland@hack.frob.com>
34911
113ddea4
RM
34912 * configure.in (.ctors/.dtors header and trailer check):
34913 Use an empirical test on a built program.
34914 * configure: Regenerated.
34915
574920b4
RM
34916 * configure.in (-z relro check): Use an empirical test on a built DSO.
34917 Detect, but do not require, on ia64.
34918 * configure: Regenerated.
34919
d30cf5bb
RM
34920 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34921 Update tests that use readelf to use $READELF instead.
34922 * configure: Regenerated.
34923
8538fdb3
UD
349242011-07-08 Ulrich Drepper <drepper@gmail.com>
34925
34926 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34927 if the result is not used.
34928
04d08991
AJ
349292011-07-05 Andreas Jaeger <aj@suse.de>
34930
34931 [BZ#9696]
34932 * stdlib/tst-strtod.c: Add testcase.
34933
de283087
AD
349342011-07-07 Ulrich Drepper <drepper@gmail.com>
34935
4e5f31c8 34936 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 34937 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
34938 The latter has a higher limit. Take additional parameter to pass to
34939 the new function.
34940 (__pathconf): Pass file to __statfs_link_max.
34941 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34942 __statfs_link_max.
34943 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34944 __statfs_link_max.
34945
de283087
AD
34946 [BZ #12868]
34947 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34948 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34949 Handle Lustre.
34950 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34951 (__statfs_filesize_max): Likewise.
34952 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34953
c75fa153
AJ
349542011-07-05 Andreas Jaeger <aj@suse.de>
34955
34956 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34957
1a544854
UD
349582011-07-06 Marek Polacek <mpolacek@redhat.com>
34959
34960 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34961 `status' variable.
34962 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34963 Likewise.
34964
6f0eec67
UD
349652011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34966
34967 * Makefile (strop-tests): Add strncat.
34968 * string/test-strncat.c: New file.
34969
aae30307
UD
349702011-06-30 Marek Polacek <mpolacek@redhat.com>
34971
34972 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34973
c0cfb5eb
UD
349742011-06-21 Andreas Jaeger <aj@suse.de>
34975
34976 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34977 Copy rule from iconvdata/Makefile.
34978
01636b21
UD
349792011-07-06 Ulrich Drepper <drepper@gmail.com>
34980
34981 [BZ #12922]
34982 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34983 but no long options are defined, just return 'W'.
34984
9895c8bc
UD
349852011-06-22 Marek Polacek <mpolacek@redhat.com>
34986
34987 [BZ #9696]
34988 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34989
5d4cf042
UD
349902011-07-06 Ulrich Drepper <drepper@gmail.com>
34991
34992 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34993 netgroups to read.
960e5535 34994 (innetgr): Likewise.
5d4cf042 34995
751eb97e
RM
349962011-07-05 Roland McGrath <roland@hack.frob.com>
34997
34998 * config.make.in (install_root): Default to $(DESTDIR).
34999
f15f1e45
UD
350002011-07-05 Ulrich Drepper <drepper@gmail.com>
35001
35002 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35003
4e34ac6a
RM
350042011-07-02 Roland McGrath <roland@hack.frob.com>
35005
5e9b6af4
RM
35006 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35007
84f9ea0f
RM
35008 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35009 containing directory rather than embedding absolute directory names.
35010
ea5ee9f7
RM
35011 * scripts/check-local-headers.sh: Rewritten using awk.
35012 Match by word, not by line. Print error messages for matches.
35013 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35014
1b74661a
RM
35015 * Makerules [shlib-lds-flags empty]:
35016 ($(common-objpfx)libc_pic.opts): New target.
35017 ($(common-objpfx)libc_pic.os.clean): New target.
35018 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35019
35020 * config.make.in (OBJCOPY): New variable.
35021 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35022 * configure: Regenerated.
35023
f781ef40
RM
35024 * config.make.in (use-default-link): New variable.
35025 * configure.in (use_default_link): Grok --with-default-link to set it.
35026 * configure: Regenerated.
35027 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35028 (shlib-lds, shlib-lds-flags): Define to empty.
35029
2d4fa81e
RM
35030 * Makerules (shlib-lds): New variable.
35031 (shlib-lds-flags): New variable.
35032 (build-shlib, build-moduile, build-module-asneeded): Use it.
35033 ($(common-objpfx)libc.so): Use $(shlib-lds).
35034 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35035 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35036
31fffa6b
RM
35037 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35038 DT_FLAGS/DT_FLAGS_1 with zero flags.
35039
4e34ac6a
RM
35040 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35041 linker script munging.
35042
fcfc776b
UD
350432011-07-02 Ulrich Drepper <drepper@gmail.com>
35044
35045 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35046 as 128-bit value.
35047 * crypt/sha512.c (sha512_process_block): Perform total addition using
35048 128-bit if possible.
35049 (__sha512_finish_ctx): Likewise.
35050 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35051 as 64-bit value.
35052 * crypt/sha256.c (SWAP64): Define.
35053 (sha256_process_block): Perform total addition using 64-bit if
35054 possible.
35055 (__sha256_finish_ctx): Likewise.
35056
99231d9a
UD
350572011-07-01 Ulrich Drepper <drepper@gmail.com>
35058
35059 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35060 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35061 * nscd/hstcache.c (cache_addhst): Likewise.
35062 * nscd/grpcache.c (cache_addgr): Likewise.
35063 * nscd/aicache.c (addhstaiX): Likewise
35064 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35065
445b4a53
TK
350662011-07-01 Thorsten Kukuk <kukuk@suse.de>
35067
35068 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35069 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35070 * nscd/hstcache.c (cache_addhst): Likewise.
35071 * nscd/grpcache.c (cache_addgr): Likewise.
35072 * nscd/aicache.c (addhstaiX): Likewise
35073
6d4d8e8e
AS
350742011-07-01 Andreas Schwab <schwab@redhat.com>
35075
35076 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35077 domain only when needed.
35078
89f654c5
AS
350792011-06-30 Andreas Schwab <schwab@redhat.com>
35080
35081 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35082 is always restored.
35083
cf3b23ff
UD
350842011-06-29 Ulrich Drepper <drepper@gmail.com>
35085
35086 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35087 are re-adding the entry.
35088 * nscd/servicescache.c (cache_addserv): Likewise.
35089
751626f9
AJ
350902011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35091
35092 * sysdeps/generic/dl-irel.h: fix protection against multiple
35093 inclusions.
35094 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35095
9113ea1f
UD
350962011-06-28 Ulrich Drepper <drepper@gmail.com>
35097
5c0b8d90
UD
35098 [BZ #12935]
35099 * malloc/memusage.sh: Fix quoting in message.
35100 * debug/xtrace.sh: Likewise.
35101
9113ea1f
UD
35102 * configure.in: Remove support for --experimental-malloc option, make
35103 it the default.
35104 * config.make.in: Likewise.
35105 * malloc/Makefile: Likewise.
35106
a4172181
AS
351072011-06-27 Andreas Schwab <schwab@redhat.com>
35108
35109 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35110 two-byte characters.
35111
78a7eee7
RM
351122011-06-27 Roland McGrath <roland@hack.frob.com>
35113
62bede13
RM
35114 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35115 AC_CACHE_CHECK invocation.
35116 * configure: Regenerated.
35117
78a7eee7
RM
35118 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35119
5ce33a62
UD
351202011-06-27 Ulrich Drepper <drepper@gmail.com>
35121
034807a9
UD
35122 [BZ #12350]
35123 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35124 bit from old_res_options.
35125
4902da17
UD
35126 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35127
5ce33a62
UD
35128 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35129 value type for setfct.
35130
c2344f56
L
351312011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35132
35133 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35134 __gettimeofday instead of gettimeofday.
35135
68468076
UD
351362011-06-26 Ulrich Drepper <drepper@gmail.com>
35137
35138 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35139
acb0d739
L
351402011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35141
35142 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35143
35144 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35145 info.
35146
8912479f
L
351472011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35148
35149 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35150 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35151 strcpy-sse2-unaligned strncpy-sse2-unaligned
35152 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35153 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35154 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35155 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35156 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35157 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35158 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35159 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35160 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35161 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35162 (STRCPY): Support SSE2 and SSSE3 versions.
35163
d5495a11
UD
351642011-06-24 Ulrich Drepper <drepper@gmail.com>
35165
35166 [BZ #12874]
35167 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35168 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35169 kernels which artificially limit size of requests.
35170
0b1cbaae
L
351712011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35172
35173 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35174 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35175 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35176 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35177 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35178 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35179 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35180 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35181 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35182 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35183 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35184 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35185 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35186 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35187 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35189 Enable unaligned load optimization for Intel Core i3, i5 and i7
35190 processors.
35191 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35192 Define.
35193 (index_Fast_Unaligned_Load): Define.
35194 (HAS_FAST_UNALIGNED_LOAD): Define.
35195
07f494a0
MP
351962011-06-23 Marek Polacek <mpolacek@redhat.com>
35197
35198 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35199
fa3fc0fe
UD
352002011-06-22 Ulrich Drepper <drepper@gmail.com>
35201
35202 [BZ #12907]
35203 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35204 until it is clear that the information is realy needed.
35205 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35206
e12df166
AS
352072011-06-22 Andreas Schwab <schwab@redhat.com>
35208
35209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35210
852eb34d
UD
352112011-06-22 Ulrich Drepper <drepper@gmail.com>
35212
84e2a551
UD
35213 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35214 /sys/devices/system/cpu/online if it is usable.
35215
852eb34d
UD
35216 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35217 reading the information from the /proc filesystem to once a second.
35218
6e502e19
UD
352192011-06-21 Andreas Jaeger <aj@suse.de>
35220
35221 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35222 NULL after inclusion of kernel headers.
35223
75d39ff2
UD
352242011-06-21 Ulrich Drepper <drepper@gmail.com>
35225
51f9aa6a
UD
35226 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35227 calls to internal_setent.
35228
c0244a9d
UD
35229 [BZ #12885]
35230 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35231 addresses using gethostbyname4_r ignore IPv4 addresses.
35232
c5e3c2ae
UD
35233 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35234 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35235
75d39ff2
UD
35236 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35237
42675c6f
DM
352382011-06-20 David S. Miller <davem@davemloft.net>
35239
35240 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35241 inclusions.
35242 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35243
35244 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35245 (elf_irel): Use it.
35246 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35247 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35248 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35249 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35250 * sysdeps/x86_64/dl-irel.h: Likewise.
35251
35252 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35253 * elf/dl-sym.c: Likewise.
35254
57912a71
UD
352552011-06-15 Ulrich Drepper <drepper@gmail.com>
35256
35257 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35258 need to dereference resplen2.
35259
ee22793d
AS
352602011-06-14 Andreas Schwab <schwab@redhat.com>
35261
35262 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35263
a9e836b0
UD
352642011-06-15 Ulrich Drepper <drepper@gmail.com>
35265
77fb9117
UD
35266 * Makeconfig: Define vardbdir and inst_vardbdir.
35267 * nss/Makefile: Add rules to install db-Makefile.
35268
40c1b22c
UD
35269 * nss/nss_db/db-XXX.c: Cleanup.
35270
9f2da732
UD
35271 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35272 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35273 GLIBC_PRIVATE.
35274 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35275 * nss/makedb.c: Implement -g option to specify that value strings
35276 are generated and should not be added to table iterated over for
35277 get*ent calls.
35278 * nss/nss_db/db-initgroups.c: New file.
35279
82e9a1f7
UD
35280 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35281 interface.
35282
c41af17e
UD
35283 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35284 (internal_getgrouplist): Adjust to name change.
35285 Update use_initgroups_entry if this is not the first call.
35286 * nss/databases.def: Add initgroups entry.
35287
a9e836b0
UD
35288 * nss/makedb.c (compute_tables): Check result of multiple hash table
35289 sizes to minimize maximum chain length.
35290
2666d441
UD
352912011-06-14 Ulrich Drepper <drepper@gmail.com>
35292
35293 * Versions.def: Add entry for libnss_db.
35294 * shlib-versions: Likewise.
35295 * nss/Makefile: Add rules to build libnss_db.
35296 * nss/Versions: Add libnss_db information. Organize libnss_files
35297 entries better.
35298 * nss/db-Makefile: Add gshadow support. Change rules for the new
35299 makedb progra. Some minor improvements to generate smaller files.
35300 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35301 here from...
35302 * nss/makedb.c: ...here.
35303 Improve database format to be smaller and require less memory at
35304 runtime.
35305 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35306 db anymore.
35307 * nss/nss_db/db-netgrp.c: Likewise.
35308 * nss/nss_db/db-open.c: Likewise.
35309 * nss/nss_files/flies-XXX.x: Adjust comments.
35310 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35311 * nss/nss_files/files-grp.c: Likewise.
35312 * nss/nss_files/files-hosts.c: Likewise.
35313 * nss/nss_files/files-network.c: Likewise.
35314 * nss/nss_files/files-proto.c: Likewise.
35315 * nss/nss_files/files-pwd.c: Likewise.
35316 * nss/nss_files/files-rpc.c: Likewise.
35317 * nss/nss_files/files-service.c: Likewise.
35318 * nss/nss_files/files-sgrp.c: Likewise.
35319 * nss/nss_files/files-spwd.c: Likewise.
35320 * nss/nss_db/db-alias.c: Removed.
35321 * nss/nss_db/dummy-db.h: Removed.
35322
9ee76b5a
UD
353232011-06-02 Ulrich Drepper <drepper@gmail.com>
35324
35325 * nss/makedb.c: Rewritten to not use database library.
35326 * nss/Makefile: Update to build new makedb program.
35327
c71ca1f8
AJ
353282011-06-14 Andreas Jaeger <aj@suse.de>
35329
35330 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35331 memset declaration.
35332
3154bfb8
UD
353332011-06-10 Andreas Schwab <schwab@redhat.com>
35334
35335 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35336 tmpbuf.
35337
b350afab
RM
353382011-06-10 Roland McGrath <roland@hack.frob.com>
35339
decd4e50
RM
35340 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35341 * elf/Makefile ($(objpfx)ld.so): Likewise.
35342
5615eaf2
RM
35343 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35344 Don't list ld.so twice in dependencies.
35345
35346 * posix/bug-regex31.c: Include <stdlib.h>.
35347
35348 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35349
35350 * nis/nss_compat/compat-spwd.c
35351 (getspent_next_nss_netgr): Remove unused variable.
35352 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35353
35354 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35355 nonmembers" output to use the right array.
35356
35357 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35358
35359 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35360
35361 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35362 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35363 * catgets/gencat.c (read_input_file): Likewise.
35364 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35365
35366 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35367 variable definition inside #if's controlling its use.
35368
35369 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35370
35371 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35372
35373 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35374
35375 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35376 unreachable code.
35377
35378 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35379
b68e08db
RM
35380 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35381 * configure: Regenerated.
35382
b350afab
RM
35383 * Makerules: Revert last change.
35384 * elf/Makefile: Likewise.
35385
28368601
RM
353862011-06-09 Roland McGrath <roland@hack.frob.com>
35387
35388 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35389 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35390 (reloc-link): Likewise.
35391
11988f8f
UD
353922011-06-09 Ulrich Drepper <drepper@gmail.com>
35393
35394 * elf/Makefile: Add rules to build pldd.
35395 * elf/pldd.c: New file.
35396 * elf/pldd-xx.c: New file.
35397
e80fab37
UD
353982011-06-07 Ulrich Drepper <drepper@gmail.com>
35399
35400 * version.h: Update for 2.15 development version.
35401
9b849836
DM
354022011-06-07 David S. Miller <davem@davemloft.net>
35403
35404 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35405 ifuncs.
35406 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35407 elf_machine_lazy_rel): Likewise.
35408 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35409 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35410 elf_machine_lazy_rel): Likewise.
35411 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35412 dl_hwcap via passed in argument.
35413 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35414 Likewise.
35415
5a31b283
AK
354162011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35417
35418 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35419
069e52f8
RM
354202011-06-06 Roland McGrath <roland@hack.frob.com>
35421
35422 [BZ #12849]
35423 * manual/fdl-1.1.texi: New file, verbatim from:
35424 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35425 * manual/lgpl-2.1.texi: New file, verbatim from:
35426 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35427 * manual/Makefile (licenses): New variable, list those new file names.
35428 (texis): Use it.
35429 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35430
35431 * manual/fdl.texi: File removed.
35432 * manual/lesser.texi: File removed.
35433 * manual/libc.texinfo (Copying, Documentation License):
35434 Use new @include file names, put @appendix directive before @include.
35435
f16846a5
JJ
354362011-06-04 Jakub Jelinek <jakub@redhat.com>
35437
35438 [BZ #12841]
35439 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35440 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35441 (mq_open): Add __NTH.
35442
3d29045b
L
354432011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35444
35445 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35446 Assume Intel Core i3/i5/i7 processor if AVX is available.
35447
8c297311
UD
354482011-05-31 Ulrich Drepper <drepper@gmail.com>
35449
35450 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35451 typo.
35452
c8fc0c91
UD
354532011-05-31 Andreas Schwab <schwab@redhat.com>
35454
35455 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35456 memory. Use alloca_account. Fix memory leak when retrying.
35457
5b27a807
UD
354582011-05-31 Ulrich Drepper <drepper@gmail.com>
35459
356f8bc6
UD
35460 * version.h (RELEASE): Bump for 2.14 release.
35461 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35462
5b27a807
UD
35463 * config.make.in (RANLIB): Remove entry.
35464
01f16ab0
UD
354652011-05-30 Ulrich Drepper <drepper@gmail.com>
35466
41fce8bd
UD
35467 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35468 (libc.pot): Work around missing support for .ksh extension in xgettext.
35469
4769ae77
UD
35470 [BZ #12684]
35471 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35472 if both request failed.
35473 (send_dg): In case of server errors clear resplen or *resplen2.
35474
6b1e7d19
UD
35475 [BZ #12454]
35476 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35477 when there are multiple maps.
35478 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35479 (_dl_fini): Remove test here.
35480
01f16ab0
UD
35481 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35482
b1ebd700
UD
354832011-05-29 Ulrich Drepper <drepper@gmail.com>
35484
7ae22829
UD
35485 [BZ #12350]
35486 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35487 bit from old_res_options.
35488 (gaih_inet): Likewise.
35489
553149f6 35490 [BZ #11099]
18a84741 35491 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
35492 as signed.
35493
652ffab1
UD
35494 * resolv/res_init.c (res_setoptions): Make the code more compact.
35495
16985fd0
UD
35496 [BZ #11558]
35497 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35498 set RES_USEVC.
35499
0464f746
UD
35500 [BZ #11634]
35501 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35502
7d17596c
UD
35503 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35504
cf6bbbd7
UD
35505 [BZ #11781]
35506 * malloc/malloc.h: Declare malloc hook variables as volatile.
35507
13f1ab36
UD
35508 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35509 in last patch.
35510
b1ebd700
UD
35511 [BZ #11799]
35512 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 35513 raise in the comment.
80e2212d
UD
35514 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35515 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35516 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 35517
ce67228d
UD
355182011-05-28 Ulrich Drepper <drepper@gmail.com>
35519
8887a920
UD
35520 [BZ #12811]
35521 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35522 grow the buffers more if it already has to be sufficient.
35523 (build_wcs_upper_buffer): Likewise.
35524 * posix/regexec.c (check_matching): Likewise.
35525 (clean_state_log_if_needed): Likewise.
35526 (extend_buffers): Don't enlarge buffers beyond size of the input
35527 buffer.
35528 Patches mostly by Emil Wojak <emil@wojak.eu>.
35529 * posix/bug-regex32.c: New file.
35530 * posix/Makefile (tests): Add bug-regex32.
35531
4f031072
UD
35532 * locale/findlocale.c (_nl_find_locale): Return right away if
35533 _nl_explode_name failed.
35534 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35535
d0478f0c
UD
35536 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35537
de81b246
UD
35538 * debug/xtrace.sh: Unify messages.
35539 * malloc/memusage.sh: Likewise.
35540
c738465a
UD
35541 [BZ #12813]
35542 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35543 time symbol from vDSO. Substitute with vsyscall if not available.
35544 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35545 __vdso_time.
35546
f1f929d7
UD
35547 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35548 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35549 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35550 Add sendmmsg and internal_sendmmsg.
35551 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35552 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35553 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35554
ce67228d
UD
35555 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35556 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35557 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35558
e57420c6
UD
355592011-05-27 Ulrich Drepper <drepper@gmail.com>
35560
a8509ca5
UD
35561 [BZ #12813]
35562 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35563 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35564 available.
35565 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35566 __vdso_getcpu.
35567
e57420c6
UD
35568 [BZ #12814]
35569 * iconvdata/Makefile (tests): Add bug-iconv9.
35570 * iconvdata/bug-iconv9.c: New file.
35571
4d07db15
AS
355722011-05-27 Andreas Schwab <schwab@redhat.com>
35573
35574 [BZ #12814]
35575 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35576
ea486f69
JJ
355772011-05-25 Jakub Jelinek <jakub@redhat.com>
35578
35579 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35580 (struct user_regs_struct): Change intcs field back to cs.
35581
6f038433
UD
355822011-05-25 Ulrich Drepper <drepper@gmail.com>
35583
35584 * po/ja.po: Update from translation team.
35585
67f86a25
UD
355862011-05-23 Ulrich Drepper <drepper@gmail.com>
35587
35588 [BZ #12795]
35589 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35590 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35591
def7fbd6
AS
355922011-05-20 Andreas Schwab <schwab@redhat.com>
35593
35594 * stdlib/longlong.h: Update from GCC.
35595
f50ef8f1
AS
355962011-05-23 Andreas Schwab <schwab@redhat.com>
35597
35598 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35599 parameter name.
35600 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35601 Add parameter name.
35602 (__sysconf): Pass it down.
35603
de7ce8f1
UD
356042011-05-22 Ulrich Drepper <drepper@gmail.com>
35605
f2962a71
UD
35606 [BZ #12671]
35607 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35608 some situations.
35609 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35610 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35611 add in in __libc_use_alloca calls. Adjust callers.
35612 (glob): Use malloc in some situations.
35613
de7ce8f1
UD
35614 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35615 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35616 pltexit.
35617
aec84f53
UD
356182011-05-21 Ulrich Drepper <drepper@gmail.com>
35619
05bb4a68
UD
35620 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35621 and CLOCK_BOOTTIME_ALARM.
35622
7ea72f99
UD
35623 [BZ #12782]
35624 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35625 is returned.
35626
7e4afad5
UD
35627 * string/_strerror.c (__strerror_r): Print negative errors as signed
35628 numbers.
35629
8e211fec
UD
35630 [BZ #12777]
35631 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35632 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35633 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35634
f7d82dc9
UD
35635 * configure.in: Fix typo in redirection and correct removal of test
35636 files in two cases.
35637
cc9e536d
UD
35638 [BZ #12788]
35639 * locale/setlocale.c (new_composite_name): Fix test to check for
35640 identical name of all categories.
35641
aec84f53
UD
35642 [BZ #12792]
35643 * libio/filedoalloc.c (local_isatty): New function.
35644 (_IO_file_doallocate): Use local_isatty.
35645 * stdio-common/perror.c (perror): In case a new stream is used
35646 forward the stream error.
35647 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35648 error flag.
35649
78e64fdc
RT
356502011-05-20 Ulrich Drepper <drepper@gmail.com>
35651
34a9094f
UD
35652 [BZ #11869]
35653 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35654 alloca.
35655 * include/alloca.h (extend_alloca_account): Define.
35656
78e64fdc
RT
35657 [BZ #11857]
35658 * posix/regex.h: Fix comments with documentation of user-accessible
35659 fields after compilation and describe correct free'ing of pattern
35660 after re_compile_pattern.
35661 Patch by Reuben Thomas <rrt@sc3d.org>.
35662
457bddfc
RA
356632011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35664
35665 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35666 and -mno-altivec to prevent the compiler from using Altivec and/or
35667 VSX instructions when the corresponding registers are not available.
35668
a4527b51
AS
356692011-05-19 Andreas Schwab <schwab@redhat.com>
35670
35671 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35672
ed690b2f
UD
356732011-05-19 Ulrich Drepper <drepper@gmail.com>
35674
35675 * libio/freopen.c (freopen): Use __dup2, not dup2.
35676 * libio/freopen64.c (freopen64): Likewise.
35677
8db73634
L
356782011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35679
35680 [BZ #12775]
35681 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35682 * math/Makefile (tests): Add test-powl.
35683 (CFLAGS-test-powl.c): Define.
35684 * math/test-powl.c: New file.
35685
0a197a9d
L
356862011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35687
35688 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35689
ee30c380
UD
356902011-05-17 Ulrich Drepper <drepper@gmail.com>
35691
35692 [BZ #11837]
35693 * iconvdata/gb18030.c: Update to GB18020-2005.
35694
6ce75379
UD
356952011-05-16 Ulrich Drepper <drepper@gmail.com>
35696
a4b89fd8
AR
35697 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35698 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35699 Patch by Aharon Robbins <arnold@skeeve.com>.
35700
ea389b12
UD
35701 [BZ #11892]
35702 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35703 on the stack.
35704
68a3f91f
UD
35705 [BZ #11895]
35706 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35707 through underflows.
35708
15cc7dd1
UD
35709 [BZ #12766]
35710 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35711 point to strings before performing equality test for error_one_per_line
35712 mode.
35713
f3799213
UD
35714 [BZ #11697]
35715 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35716
d79a9c94
UD
35717 [BZ #11820]
35718 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35719 (struct user_fpregs_struct): Avoid __uint*_t types.
35720
56e5eb46
UD
35721 [BZ #6420]
35722 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35723 symbol info. Use it instead of calling _dl_addr locally.
35724 (lock_and_info): New function.
35725 (tr_freehook): Call lock_and_info and pass symbol info as additional
35726 parameter to tr_where.
35727 (tr_mallochook): Likewise.
35728 (tr_reallochook): Likewise.
35729 (tr_memalignhook): Likewise.
35730
6ce75379
UD
35731 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35732 used and couldn't be at all thread-safe.
35733
f8a3b5bf
UD
357342011-05-15 Ulrich Drepper <drepper@gmail.com>
35735
94b7cc37
UD
35736 * libio/freopen.c (freopen): Don't close old file descriptor
35737 before the new one is opened. Instead dup the new file descriptor
35738 to the old one after the new stream is created.
35739 * libio/freopen64.c (freopen64): Likewise.
35740 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35741 * libio/fileops.c (_IO_new_file_close_it): Handle new
35742 _IO_FLAGS2_NOCLOSE flag.
35743 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35744 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35745 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35746 _IO_FLAGS2_NOCLOSE flag.
35747 * include/unistd.h: Add hidden_proto for dup3.
35748 Define __have_dup3.
35749 * io/dup3.c: Define hidden symbol.
35750 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35751
bd25564e
UD
35752 [BZ #7101]
35753 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35754 when an incomplete long option is used.
35755 * posix/tst-getopt_long1.c: New file.
35756 * posix/Makefile (tests): Add tst-getopt_long1.
35757
c84cfef4
UD
35758 [BZ #10138]
35759 * scripts/config.guess: Update from autoconf-2.68.
35760 * scripts/config.sub: Likewise.
35761
3b85df27
UD
35762 [BZ #10157]
35763 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35764 tests into ...
35765 (has_cpuclock): ...this. New function.
35766 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35767 macro here based on has_cpuclock code.
35768
15a856b1
UD
35769 [BZ #10149]
35770 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35771 First byte (not low byte) is now always NUL.
35772 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35773
05f399e6
UD
35774 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35775 Use non-cancelable interfaces.
35776
10a52685 35777 [BZ #9809]
94ecc67d
UD
35778 * locale/iso-639.def: Add entry for Sorani.
35779
f8a3b5bf
UD
35780 [BZ #11901]
35781 * include/stdlib.h: Move include protection to the right place.
35782 Define abort_msg_s. Declare __abort_msg with it.
35783 * stdlib/abort.c (__abort_msg): Adjust type.
35784 * assert/assert.c (__assert_fail_base): New function. Majority
35785 of code from __assert_fail. Allocate memory for __abort_msg with
35786 mmap.
35787 (__assert_fail): Now call __assert_fail_base.
35788 * assert/assert-perr.c: Remove bulk of implementation. Use
35789 __assert_fail_base.
35790 * include/assert.hL Declare __assert_fail_base.
35791 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35792 mmap.
35793 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35794
1af4e298
UD
357952011-05-14 Ulrich Drepper <drepper@gmail.com>
35796
f8a3b5bf 35797 [BZ #11952]
d26dfc60
MG
35798 [BZ #12453]
35799 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35800 until all modules are registered in the DTV.
35801 * elf/Makefile: Add rules to build and run tst-tls19.
35802 * elf/tst-tls19.c: New file.
35803 * elf/tst-tls19mod1.c: New file.
35804 * elf/tst-tls19mod2.c: New file.
35805 * elf/tst-tls19mod3.c: New file.
35806 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35807
2fc54d6f
UD
35808 [BZ #12083]
35809 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35810 correctly.
35811
98d76b46
UD
35812 [BZ #12601]
35813 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35814 two-byte sequence errors.
35815 * iconvdata/Makefile (tests): Add bug-iconv8.
35816 * iconvdata/bug-iconv8.c: New file.
35817
da3c19ef
UD
35818 [BZ #12626]
35819 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35820 buf2 definition.
35821
ca408c15
UD
35822 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35823
d6f67f7d
UD
35824 [BZ #12432]
35825 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35826 (dummy_getcfa): New function.
35827 (init): Get _Unwind_GetCFA address, use dummy if not found.
35828 (backtrace_helper): In recursion check, also check whether CFA changes.
35829 (__backtrace): Completely initialize arg.
35830
1af4e298 35831 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
35832 storing incomplete byte sequence in state object. Avoid testing for
35833 guaranteed too small input if we know there is enough data available.
1af4e298 35834
da62f81b
AS
358352011-05-11 Andreas Schwab <schwab@redhat.com>
35836
35837 * Makeconfig (+link-pie): Indent.
35838 * Rules (binaries-pie): Define if $(have-fpie) and
35839 $(build-shared).
35840 (binaries-shared): Also filter out $(binaries-pie).
35841 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35842 * nscd/Makefile (others-pie): Add nscd.
35843 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35844 ($(objpfx)nscd): Remove command override.
35845 * login/Makefile (others-pie): Add pt_chown.
35846 ($(objpfx)pt_chown): Remove command override.
35847 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35848 remove command overrides.
35849
fcabc0f8
UD
358502011-05-13 Ulrich Drepper <drepper@gmail.com>
35851
20030ae6
UD
35852 * libio/tst_putwc.c: Fix error messages.
35853
fcabc0f8
UD
35854 [BZ #12724]
35855 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35856 currently writing and seek to current position when not.
35857 * libio/Makefile (tests): Add bug-fclose1.
35858 * libio/bug-fclose1.c: New file.
35859
320a5dc0
PB
358602011-05-12 Ulrich Drepper <drepper@gmail.com>
35861
35862 [BZ #12511]
35863 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35864 don't set DF_1_NODELETE here.
35865 (do_lookup_x): When entering new entry test for copy relocation
35866 and if necessary set DF_1_NODELETE flag.
35867 * elf/tst-unique4.cc: New file.
35868 * elf/tst-unique4.h: New file.
35869 * elf/tst-unique4lib.cc: New file.
35870 * elf/Makefile: Add rules to build and run tst-unique4.
35871 Patch by Piotr Bury <pbury@goahead.com>.
35872
22836f52
UD
358732011-05-11 Ulrich Drepper <drepper@gmail.com>
35874
f574184a
UD
35875 [BZ #12052]
35876 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35877
e1fb097f
UD
35878 [BZ #12625]
35879 * misc/mntent_r.c (addmntent): Flush the stream after the output
35880
22836f52
UD
35881 [BZ #12393]
35882 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35883 (is_trusted_path_normalize): Skip initial colon. Append slash
35884 to empty buffer. Duplicate is_trusted_path code but allow
35885 constructed patch to be prefix.
35886 (is_dst): Allow $ORIGIN followed by /.
35887 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35888 Correct testing of result of is_trusted_path_normalize
35889 (decompose_rpath): Fix warning.
35890
7b3b0b2a
UD
358912011-05-10 Ulrich Drepper <drepper@gmail.com>
35892
35893 [BZ #11257]
35894 * grp/initgroups.c (internal_getgrouplist): When we found the service
35895 list through the initgroups entry in nsswitch.conf do not always
35896 continue on a successful lookup. Don't always use the
eac80ce2 35897 __nss_group_database value if it is set.
7b3b0b2a
UD
35898 * nss/nsswitch.conf (initgroups): Change action for successful db
35899 lookup to continue for compatibility.
35900
2a81eaa5
UD
359012011-05-09 Ulrich Drepper <drepper@gmail.com>
35902
be97a69e
UD
35903 [BZ #11532]
35904 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35905 and CP774 modules.
35906 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35907 and CP774 modules.
35908 * iconvdata/tst-tables.sh: Likewise.
35909 * iconvdata/cp770.c: New file.
35910 * iconvdata/cp771.c: New file.
35911 * iconvdata/cp772.c: New file.
35912 * iconvdata/cp773.c: New file.
35913 * iconvdata/cp774.c: New file.
35914 * iconvdata/testdata/CP770: New file.
35915 * iconvdata/testdata/CP770..UTF8: New file.
35916 * iconvdata/testdata/CP771: New file.
35917 * iconvdata/testdata/CP771..UTF8: New file.
35918 * iconvdata/testdata/CP772: New file.
35919 * iconvdata/testdata/CP772..UTF8: New file.
35920 * iconvdata/testdata/CP773: New file.
35921 * iconvdata/testdata/CP773..UTF8: New file.
35922 * iconvdata/testdata/CP774: New file.
35923 * iconvdata/testdata/CP774..UTF8: New file.
35924
35925 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35926 END CHARMAP line.
35927 * iconvdata/gen-8bit-gap.sh: Likewise.
35928 * iconvdata/gen-8bit.sh: Likewise.
35929
c1e9e399
UD
35930 * locale/iso-639.def: Add ary entry.
35931
24c55fb3 35932 [BZ #11258]
96b4b1b0
UD
35933 * locale/C-translit.h.in: Add U20A1 transliteration.
35934
bdc2f971
KB
35935 [BZ #12178]
35936 * locale/iso-639.def: Add wae entry.
35937 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35938
2952b117
UD
35939 [BZ #12545]
35940 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35941 for n.
35942
2a81eaa5
UD
35943 [BZ #12711]
35944 * locale/C-translit.h.in: Add entry for U20B9.
35945 Patch by pravin.d.s@gmail.com.
35946
28377d1b
UD
359472011-05-08 Ulrich Drepper <drepper@gmail.com>
35948
7fb90fb8
UD
35949 [BZ #12713]
35950 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35951 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
35952 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35953 in rtld. Use *stat64.
7fb90fb8 35954 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 35955 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 35956 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
35957 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35958 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35959 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35960 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35961 __fstatat64 macros.
7fb90fb8
UD
35962 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35963 * dirent/rewinddir.c: Add libc_hidden_def.
35964 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 35965 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 35966
28377d1b
UD
35967 * include/dirent.h (__alloc_dir): Add flags parameter.
35968 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35969 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35970 __alloc_dir.
35971 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35972 from fdopendir if O_CLOEXEC is already set.
35973
66bdbaa4
AM
359742011-03-15 Alan Modra <amodra@gmail.com>
35975
35976 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35977 l_tls_firstbyte_offset non-zero. Save padding offset in
35978 l_tls_firstbyte_offset for later use.
35979 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35980 freeing static tls block.
35981
95721191
JN
359822011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35983
35984 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35985 where #ifdef was intended. The intent is to prevent ARG_MAX from
35986 being defined by the kernel headers.
35987
f87dfb1f
UD
359882011-05-07 Ulrich Drepper <drepper@gmail.com>
35989
35990 [BZ #12734]
35991 * resolv/resolv.h: Define RES_NOTLDQUERY.
35992 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35993 no-tld-query and set RES_NOTLDQUERY.
35994 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35995 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35996 modern BIND to search name as TLD unless forbidden.
35997
47c3cd7a
UD
359982011-05-07 Petr Baudis <pasky@suse.cz>
35999 Ulrich Drepper <drepper@gmail.com>
36000
36001 [BZ #12393]
36002 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36003 (is_trusted_path): ...to here.
c1e9ea35 36004 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 36005 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 36006 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 36007
8a35c912
PP
360082011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36009
36010 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36011 __BEGIN/__END_DECLS.
36012
acd41f47
UD
360132011-05-06 Ulrich Drepper <drepper@gmail.com>
36014
36015 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36016 NSS_STATUS_NOTFOUND if no record was found.
36017
597df647
AS
360182011-05-05 Andreas Schwab <schwab@redhat.com>
36019
36020 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36021 (headers-not-in-tirpc): Remove rpc/netdb.h
36022 * resolv/netdb.h: Revert last change.
36023
b9af1301
PP
360242011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36025
36026 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36027 circular dependency between libgcc.a and libc.a.
36028
4e34d5f5
AS
360292011-05-05 Andreas Schwab <schwab@redhat.com>
36030
36031 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36032 * nis/Makefile: Don't install rpcsvc/*.
36033 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36034 instead of <rpc/types.h>.
36035 (MAXHOSTNAMELEN): Define.
36036
00ee369c
AS
360372011-05-03 Andreas Schwab <schwab@redhat.com>
36038
36039 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36040
0b592a30
MB
360412011-04-28 Maciej Babinski <mbabinski@google.com>
36042
36043 [BZ #12714]
36044 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36045 gethostbyname4_r when IPv6 results are possible.
36046
6e04cbbe
UD
360472011-05-02 Ulrich Drepper <drepper@gmail.com>
36048
36049 [BZ #12723]
36050 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36051 _PC_PIPE_BUF handling.
36052
e4ecafe0
BH
360532011-04-30 Bruno Haible <bruno@clisp.org>
36054
36055 [BZ #12717]
36056 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36057 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36058 to 'int'.
36059 * inet/getnameinfo.c (getnameinfo): Likewise.
36060
125ee683
UD
360612011-04-29 Ulrich Drepper <drepper@gmail.com>
36062
36063 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36064 to groups setting in database lookup.
36065 * nss/nsswitch.conf: Add initgroups entry.
36066
b722481a
EB
360672011-04-22 Ulrich Drepper <drepper@gmail.com>
36068
36069 [BZ #12685]
36070 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36071 mode string.
36072 Patch by Eric Blake <eblake@redhat.com>.
36073
4df46dbd
L
360742011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36075
36076 * sunrpc/Makefile (need-export-routines): Add svc_run.
36077 (routines): Remove svc_run.
36078 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36079 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36080 * sunrpc/svc_run.c (svc_run): Likewise.
36081 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36082
e84142d2
UD
360832011-04-21 Ulrich Drepper <drepper@gmail.com>
36084
36085 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36086 problem in reallocation in last patch.
36087
877175d8
UD
360882011-04-20 Ulrich Drepper <drepper@gmail.com>
36089
36090 * sunrpc/Makefile: Move inclusion of Rules.
36091
ab8eed78
UD
360922011-04-19 Ulrich Drepper <drepper@gmail.com>
36093
36094 * nss/nss_files/files-initgroups.c: New file.
36095 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36096 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36097 _nss_files_initgroups_dyn.
36098
e3d8f584
RS
360992011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36100
36101 * elf/elf.h (R_ARM_IRELATIVE): Define.
36102
af190f45
UD
361032011-04-19 Ulrich Drepper <drepper@gmail.com>
36104
36105 * po/ru.po: Update from translation team.
36106
53cf59ef
UD
361072011-04-17 Ulrich Drepper <drepper@gmail.com>
36108
36109 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36110 dependencies.
36111
4c559bcd
MF
361122011-02-06 Mike Frysinger <vapier@gentoo.org>
36113
36114 [BZ #12653]
36115 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36116 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36117 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36118 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36119 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36120
4420675c
AS
361212011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36122
36123 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36124 differing bytes.
36125 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36126 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36127 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36128
75ea32ab
UD
361292011-04-17 Ulrich Drepper <drepper@gmail.com>
36130
36131 [BZ #12420]
36132 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36133 storing it.
36134 * stdlib/bug-getcontext.c: New file.
36135 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36136
27390476
AK
361372011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36138
36139 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36140 instructions into .machine "z9-109".
36141 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36142 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36143
10442705
AK
361442011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36145
36146 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36147 between environment variables and auxiliary vector.
36148
7b57bfe5
UD
361492011-04-16 Ulrich Drepper <drepper@gmail.com>
36150
36151 * Makefile: Add rules to build linkobj/libc.so.
36152 * include/libc-symbols.h: Define libc_hidden_nolink.
36153 * include/rpc/auth.h: Mark functions which are to be hidden.
36154 * include/rpc/auth_des.h: Likewise.
36155 * include/rpc/auth_unix.h: Likewise.
36156 * include/rpc/clnt.h: Likewise.
36157 * include/rpc/des_crypt.h: Likewise.
36158 * include/rpc/key_prot.h: Likewise.
36159 * include/rpc/pmap_clnt.h: Likewise.
36160 * include/rpc/pmap_prot.h: Likewise.
36161 * include/rpc/pmap_rmt.h: Likewise.
36162 * include/rpc/rpc_msg.h: Likewise.
36163 * include/rpc/svc.h: Likewise.
36164 * include/rpc/svc_auth.h: Likewise.
36165 * include/rpc/xdr.h: Likewise.
36166 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36167 * nss/Makefile: Likewise.
36168 * sunrpc/Makefile: Don't install headers. Build library with normal
36169 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36170 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36171 for the compat linking library. Remove use of INTDEF/INTUSE.
36172 * sunrpc/auth_none.c: Likewise.
36173 * sunrpc/auth_unix.c: Likewise.
36174 * sunrpc/authdes_prot.c: Likewise.
36175 * sunrpc/authuxprot.c: Likewise.
36176 * sunrpc/clnt_gen.c: Likewise.
36177 * sunrpc/clnt_perr.c: Likewise.
36178 * sunrpc/clnt_raw.c: Likewise.
36179 * sunrpc/clnt_simp.c: Likewise.
36180 * sunrpc/clnt_tcp.c: Likewise.
36181 * sunrpc/clnt_udp.c: Likewise.
36182 * sunrpc/clnt_unix.c: Likewise.
36183 * sunrpc/des_crypt.c: Likewise.
36184 * sunrpc/des_soft.c: Likewise.
36185 * sunrpc/get_myaddr.c: Likewise.
36186 * sunrpc/key_call.c: Likewise.
36187 * sunrpc/key_prot.c: Likewise.
36188 * sunrpc/netname.c: Likewise.
36189 * sunrpc/pm_getmaps.c: Likewise.
36190 * sunrpc/pm_getport.c: Likewise.
36191 * sunrpc/pmap_clnt.c: Likewise.
36192 * sunrpc/pmap_prot.c: Likewise.
36193 * sunrpc/pmap_prot2.c: Likewise.
36194 * sunrpc/pmap_rmt.c: Likewise.
36195 * sunrpc/publickey.c: Likewise.
36196 * sunrpc/rpc_cmsg.c: Likewise.
36197 * sunrpc/rpc_common.c: Likewise.
36198 * sunrpc/rpc_dtable.c: Likewise.
36199 * sunrpc/rpc_prot.c: Likewise.
36200 * sunrpc/rpc_thread.c: Likewise.
36201 * sunrpc/rtime.c: Likewise.
36202 * sunrpc/svc.c: Likewise.
36203 * sunrpc/svc_auth.c: Likewise.
36204 * sunrpc/svc_authux.c: Likewise.
36205 * sunrpc/svc_raw.c: Likewise.
36206 * sunrpc/svc_run.c: Likewise.
36207 * sunrpc/svc_simple.c: Likewise.
36208 * sunrpc/svc_tcp.c: Likewise.
36209 * sunrpc/svc_udp.c: Likewise.
36210 * sunrpc/svc_unix.c: Likewise.
36211 * sunrpc/svcauth_des.c: Likewise.
36212 * sunrpc/xcrypt.c: Likewise.
36213 * sunrpc/xdr.c: Likewise.
36214 * sunrpc/xdr_array.c: Likewise.
36215 * sunrpc/xdr_float.c: Likewise.
36216 * sunrpc/xdr_intXX_t.c: Likewise.
36217 * sunrpc/xdr_mem.c: Likewise.
36218 * sunrpc/xdr_rec.c: Likewise.
36219 * sunrpc/xdr_ref.c: Likewise.
36220 * sunrpc/xdr_sizeof.c: Likewise.
36221 * sunrpc/xdr_stdio.c: Likewise.
36222
e6c61494
UD
362232011-04-10 Ulrich Drepper <drepper@gmail.com>
36224
36225 [BZ #12650]
36226 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36227 * sysdeps/ia64/dl-tls.h: Likewise.
36228 * sysdeps/powerpc/dl-tls.h: Likewise.
36229 * sysdeps/s390/dl-tls.h: Likewise.
36230 * sysdeps/sh/dl-tls.h: Likewise.
36231 * sysdeps/sparc/dl-tls.h: Likewise.
36232 * sysdeps/x86_64/dl-tls.h: Likewise.
36233 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36234
34fe483e
AS
362352011-03-14 Andreas Schwab <schwab@redhat.com>
36236
36237 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36238 rpath element also skip the following colon.
36239 (expand_dynamic_string_token): Add is_path parameter and pass
36240 down to DL_DST_REQUIRED and _dl_dst_substitute.
36241 (decompose_rpath): Call expand_dynamic_string_token with
36242 non-zero is_path. Ignore empty rpaths.
36243 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36244 with zero is_path.
36245
f12a32e6
AS
362462011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36247
36248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36249 Make cancelable.
36250
38a7d692
UD
362512011-04-09 Ulrich Drepper <drepper@gmail.com>
36252
36253 [BZ #12655]
36254 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36255 Patch by Filipe David Manana <fdmanana@apache.org>.
36256
e451d22b
AS
362572011-04-07 Andreas Schwab <schwab@redhat.com>
36258
36259 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36260 Maintain aligned stack.
36261 (CHECK_RSP): Remove unused macro.
36262
dedc7c7b
UD
362632011-04-03 Ulrich Drepper <drepper@gmail.com>
36264
36265 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36266 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36267
94521213
UD
362682011-04-02 Ulrich Drepper <drepper@gmail.com>
36269
36270 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36271
8cb700c0 36272 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 36273
0354e355
L
362742011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36275
36276 [BZ #12518]
36277 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36278 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36279 * sysdeps/x86_64/memmove.c: New file.
36280 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36281 (memcpy): Renamed to ...
36282 (__new_memcpy): This.
36283 (memcpy): Provide GLIBC_2_14 memcpy.
36284 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36285 (memcpy): Provide GLIBC_2_2_5 memcpy.
36286
8593482f
UD
362872011-04-01 Ulrich Drepper <drepper@gmail.com>
36288
36289 [BZ #12631]
36290 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36291
81a5726b
AS
362922011-03-30 Andreas Schwab <schwab@redhat.com>
36293
36294 * misc/syncfs.c: New file.
36295 * misc/Makefile (routines): Add syncfs.
36296 * posix/unistd.h: Declare syncfs.
36297 * sysdeps/unix/syscalls.list: Add syncfs.
36298
00e5419f
AS
362992011-04-01 Andreas Schwab <schwab@redhat.com>
36300
36301 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36302 open_by_handle_at.
36303 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36304 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36305 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36306 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36307 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36308 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36309 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36310
748876bf
UD
363112011-04-01 Ulrich Drepper <drepper@gmail.com>
36312
658e451d
UD
36313 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36314 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36315 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36316 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36317 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36318 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36319 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36320
748876bf
UD
36321 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36322 sync_file_range.c with -fexceptions.
36323 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36324 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36325 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36326 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36327 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36328 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36329 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
36330 sync_file_range as cancellation point
36331 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36332 now a wrapper around __call_sync_file_range with cancellation handling.
36333 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36334 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36335 function name to __call_sync_file_range.
36336 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36337 Add call_sync_file_range.
748876bf 36338
6e63d5e1
AS
363392011-04-01 Andreas Schwab <schwab@redhat.com>
36340
36341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 36342 bits/timex.h.
6e63d5e1 36343
46998f74
UD
363442011-04-01 Ulrich Drepper <drepper@gmail.com>
36345
4c1423ed
UD
36346 * iconv/iconv.h: Fix typo in comment.
36347 * io/fcntl.h: Likewise.
36348 * libio/stdio.h: Likewise.
36349 * posix/spawn.h: Likewise.
36350 * posix/unistd.h: Likewise.
36351 * stdlib/stdlib.h: Likewise.
36352 * time/time.h: Likewise.
36353 * wcsmbs/wchar.h: Likewise.
36354
158648c0
UD
36355 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36356 open_by_handle): Add.
36357 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36358 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36359 Augment a few comments.
36360 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36361 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36362 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36363 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36364 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36365 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36366 open_by_handle.
36367
46998f74
UD
36368 * io/fcntl.h (AT_EMPTY_PATH): Define.
36369
83fe108b
UD
363702011-03-30 Ulrich Drepper <drepper@gmail.com>
36371
36372 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36373 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36374 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36375 to...
36376 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
36377 * Versions.def: Add GLIBC_2.14.
36378 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36379 Export.
83fe108b 36380
bb242059
UD
363812011-03-22 Ulrich Drepper <drepper@gmail.com>
36382
36383 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36384 round counter.
36385 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36386
c97a1282
L
363872011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36388
36389 [BZ #12597]
36390 * string/test-strncmp.c (do_page_test): New function.
36391 (check2): Likewise.
36392 (test_main): Call check2.
36393 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36394
2a115601
UD
363952011-03-20 Ulrich Drepper <drepper@gmail.com>
36396
36397 [BZ #12587]
36398 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36399 Handle cache information in CPU leaf 4.
36400 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36401
8126d904
UD
364022011-03-18 Ulrich Drepper <drepper@gmail.com>
36403
042c49c6 36404 [BZ #12583]
8126d904
UD
36405 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36406 character representation.
36407 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36408
ccfe366e
RA
364092011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36410
36411 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36412 END(__isnan) to END(__isnanf) to match function entry point/label
36413 EALIGN(__isnanf,...).
36414
c6e13027
JJ
364152011-03-10 Jakub Jelinek <jakub@redhat.com>
36416
36417 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36418
33f85a3f
UD
364192011-03-10 Ulrich Drepper <drepper@gmail.com>
36420
028478fa
UD
36421 [BZ #12510]
36422 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36423 copy from the symbol referenced in the relocation to initialize the
36424 used variable.
36425 Patch by Piotr Bury <pbury@goahead.com>.
36426 * elf/Makefile: Add rules to build and tst-unique3.
36427 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36428 * elf/tst-unique3.cc: New file.
36429 * elf/tst-unique3.h: New file.
36430 * elf/tst-unique3lib.cc: New file.
36431 * elf/tst-unique3lib2.cc: New file.
36432
33f85a3f
UD
36433 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36434
03592fc7
MF
364352011-03-10 Mike Frysinger <vapier@gentoo.org>
36436
36437 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36438 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36439 to _start.
03592fc7 36440
6a5ee102
UD
364412011-03-06 Ulrich Drepper <drepper@gmail.com>
36442
36443 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36444 to-be-loaded object along a path to loader is ld.so.
36445
7e4ba49c
HJ
364462011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36447 Ulrich Drepper <drepper@gmail.com>
36448
36449 * sysdeps/x86_64/memset.S: After aligning destination, code
36450 branches to different locations depending on the value of
36451 misalignment, when multiarch is enabled. Fix this.
36452
364532011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36454
36455 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36456 Set _x86_64_preferred_memory_instruction for AMD processsors.
36457 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36458 Set bit_Prefer_SSE_for_memop for AMD processors.
36459
13a804de
UD
364602011-03-04 Ulrich Drepper <drepper@gmail.com>
36461
36462 * libio/fmemopen.c (fmemopen): Optimize a bit.
36463
9d25c392
AS
364642011-03-03 Andreas Schwab <schwab@redhat.com>
36465
36466 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36467
a5543c6a
RM
364682011-03-03 Roland McGrath <roland@redhat.com>
36469
36470 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36471
012d35f7
DM
364722011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36473
7e4ba49c 36474 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
36475 __bzero_ultra1 instead of __memset_ultra1.
36476
4bff6e01
AS
364772011-02-23 Andreas Schwab <schwab@redhat.com>
36478 Ulrich Drepper <drepper@gmail.com>
36479
36480 [BZ #12509]
36481 * include/link.h (struct link_map): Add l_orig_initfini.
36482 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36483 returning unsuccessfully.
36484 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36485 close of a file loaded at startup, restore the original l_initfini
36486 list.
36487 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36488 list, store the pointer.
36489 * elf/Makefile ($(objpfx)noload-mem): New rule.
36490 (noload-ENV): Define.
36491 (tests): Add $(objpfx)noload-mem.
36492 * elf/noload.c: Include <memcheck.h>.
36493 (main): Call mtrace. Close all opened handles.
36494
f2092faf
AS
364952011-02-17 Andreas Schwab <schwab@redhat.com>
36496
36497 [BZ #12454]
36498 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36499 dependencies are missing.
36500
6c8a2e88
ST
365012011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36502
f2092faf 36503 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
36504 Hurd needs munmap.
36505 * sysdeps/mach/hurd/ifreq.h: New file.
36506
84a42118
PB
365072011-01-27 Petr Baudis <pasky@suse.cz>
36508 Ulrich Drepper <drepper@gmail.com>
36509
071f805e 36510 [BZ 12445]#
84a42118
PB
36511 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36512 to extend_alloca().
36513 * stdio-common/bug23.c: New file.
36514 * stdio-common/Makefile (tests): Add bug23.
36515
e23fe25b
AS
365162010-09-28 Andreas Schwab <schwab@redhat.com>
36517 Ulrich Drepper <drepper@gmail.com>
36518
36519 [BZ #12489]
36520 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36521 before performing relro protection. At old place add assertion
36522 to make sure nothing changed.
36523
d3f02e10
NS
365242011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36525 Glauber de Oliveira Costa <glommer@gmail.com>
36526
36527 * elf/elf.h: Add new ARM TLS relocs.
36528
d55fd7a5
RA
365292011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36530
36531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36532 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36533 cast from r3.
36534 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36535 'tests' variable.
36536 * sysdeps/wordsize-64/tst-writev.c: New file.
36537
2206397e
RA
365382011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36539
36540 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36541 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36542 insns in _dl_start to prevent a TOC reference before relocs are
36543 resolved.
36544
e9433893
UD
365452011-02-15 Ulrich Drepper <drepper@gmail.com>
36546
36547 [BZ #12469]
36548 * Makeconfig: Remove RANLIB definition.
36549 * Makerules: Don't use RANLIB.
36550 * aclocal.m4: Remove ranlib test.
36551 * configure.in: No need to check for ranlib.
36552 * elf/rtld-Rules: Don't use RANLIB.
36553
f75286c6
ST
365542011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36555
8e31c82d
ST
36556 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36557 protection macro.
36558 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36559 inclusion protection macro.
36560
f75286c6
ST
36561 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36562 SIGRTMIN and SIGRTMAX and print information in that case only when
36563 SIGRTMIN is defined.
36564
c1d0e639
JJ
365652011-02-11 Jakub Jelinek <jakub@redhat.com>
36566
36567 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36568 arginfo fn returning -1.
36569
36570 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36571 and thousands string is zero terminated.
36572
edf9294e
AS
365732011-02-03 Andreas Schwab <schwab@redhat.com>
36574
36575 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36576 sysdeps/unix/sysv/linux/bits/socket.h.
36577
2b7e92df
ST
365782011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36579
edf9294e
AS
36580 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36581 (__CPU_COUNT): Remove old macros.
36582 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36583 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36584 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
36585 (__sched_cpualloc, __sched_cpufree): Add declarations.
36586
a4c7ea7b
UD
365872011-02-05 Ulrich Drepper <drepper@gmail.com>
36588
36589 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36590 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36591 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36592 (readdhstai): Return value of addhstaiX call.
36593 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36594 (addgrbyX): Return value returned by cache_addgr.
36595 (readdgrbyname): Return value returned by addgrbyX.
36596 (readdgrbygid): Likewise.
36597 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36598 (addpwbyX): Return value returned by cache_addpw.
36599 (readdpwbyname): Return value returned by addhstbyX.
36600 (readdpwbyuid): Likewise.
36601 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36602 (addservbyX): Return value returned by cache_addserv.
36603 (readdservbyname): Return value returned by addservbyX:
36604 (readdservbyport): Likewise.
36605 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36606 (addhstbyX): Return value returned by cache_addhst.
36607 (readdhstbyname): Return value returned by addhstbyX.
36608 (readdhstbyaddr): Likewise.
36609 (readdhstbynamev6): Likewise.
36610 (readdhstbyaddrv6): Likewise.
36611 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36612 (readdinitgroups): Return value returned by addinitgroupsX.
36613 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36614 (prune_cache): Keep track of timeout value of re-added entries.
36615 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36616 * nscd/nscd.h: Adjust prototypes of readd* functions.
36617
a0bf67cc
RM
366182011-02-04 Roland McGrath <roland@redhat.com>
36619
36620 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36621 (nis_stats): Likewise.
36622 * nis/nis_modify.c (nis_modify): Likewise.
36623 * nis/nis_remove.c (nis_remove): Likewise.
36624 * nis/nis_add.c (nis_add): Likewise.
36625
36626 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36627
36628 * posix/fnmatch_loop.c: Add some consts.
36629
36630 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36631
435b95eb
L
366322011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36633
36634 [BZ #12460]
36635 * config.make.in (config-cflags-novzeroupper): Define.
36636 * configure.in: Substitute libc_cv_cc_novzeroupper.
36637 * elf/Makefile (AVX-CFLAGS): Define.
36638 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36639 (CFLAGS-tst-auditmod4a.c): Likewise.
36640 (CFLAGS-tst-auditmod4b.c): Likewise.
36641 (CFLAGS-tst-auditmod6b.c): Likewise.
36642 (CFLAGS-tst-auditmod6c.c): Likewise.
36643 (CFLAGS-tst-auditmod7b.c): Likewise.
36644 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36645
8517b15e
UD
366462011-02-02 Ulrich Drepper <drepper@gmail.com>
36647
36648 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36649 function to the callback.
36650 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36651
10a656fe
AS
366522011-02-02 Andreas Schwab <schwab@redhat.com>
36653
36654 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36655 of errno.
36656
968dad0a
UD
366572011-01-19 Ulrich Drepper <drepper@gmail.com>
36658
9f94d2ea 36659 [BZ #11724]
968dad0a
UD
36660 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36661 of constructors.
36662 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36663 of destructors.
36664 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36665
36666 [BZ #11724]
36667 * elf/Makefile: Add rules to build and run new test.
36668 * elf/tst-initorder.c: New file.
36669 * elf/tst-initorder.exp: New file.
36670 * elf/tst-initordera1.c: New file.
36671 * elf/tst-initordera2.c: New file.
36672 * elf/tst-initordera3.c: New file.
36673 * elf/tst-initordera4.c: New file.
36674 * elf/tst-initorderb1.c: New file.
36675 * elf/tst-initorderb2.c: New file.
36676 * elf/tst-order-a1.c: New file.
36677 * elf/tst-order-a2.c: New file.
36678 * elf/tst-order-a3.c: New file.
36679 * elf/tst-order-a4.c: New file.
36680 * elf/tst-order-b1.c: New file.
36681 * elf/tst-order-b2.c: New file.
36682 * elf/tst-order-main.c: New file.
36683 New test case by George Gensure <werkt0@gmail.com>.
36684
86e92359
UD
366852010-10-01 Andreas Schwab <schwab@redhat.com>
36686
36687 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36688 decoding ACE if AI_CANONIDN.
36689
5d5732b0
UD
366902011-01-18 Ulrich Drepper <drepper@gmail.com>
36691
36692 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36693
a77e8cbc
UD
366942011-01-17 Ulrich Drepper <drepper@gmail.com>
36695
6392473f
UD
36696 * version.h (RELEASE): Bump for 2.13 release.
36697 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36698
620a0529
UD
36699 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36700
18ba70a5
UD
36701 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36702 MADV_NOHUGEPAGE.
32465c3e
UD
36703 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36704 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36705 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36706 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36707 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36708 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36709
c0dafcf1
UD
36710 * posix/getconf.c: Update copyright year.
36711 * catgets/gencat.c: Likewise.
36712 * csu/version.c: Likewise.
36713 * debug/catchsegv.sh: Likewise.
36714 * debug/xtrace.sh: Likewise.
36715 * elf/ldconfig.c: Likewise.
36716 * elf/ldd.bash.in: Likewise.
36717 * elf/sprof.c (print_version): Likewise.
36718 * iconv/iconv_prog.c: Likewise.
36719 * iconv/iconvconfig.c: Likewise.
36720 * locale/programs/locale.c: Likewise.
36721 * locale/programs/localedef.c: Likewise.
36722 * malloc/memusage.sh: Likewise.
36723 * malloc/mtrace.pl: Likewise.
36724 * nscd/nscd.c (print_version): Likewise.
36725 * nss/getent.c: Likewise.
36726
a77e8cbc
UD
36727 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36728 PF_CAIF, and PF_ALG.
36729 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36730
77e8bddf
AS
367312011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36732
1f20b93a
AS
36733 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36734 (modules-names): Use them.
36735 (ifunc-test-modules, ifunc-pie-tests): Define.
36736 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36737 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36738 (test-extras): Likewise.
36739 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36740 $(compile-command.c).
36741 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36742 (all-built-dso): Define.
36743 (check-textrel.out, check-execstack.out): Depend on it.
36744
77e8bddf
AS
36745 * configure.in: Don't override --enable-multi-arch.
36746
bc425b33
UD
367472011-01-15 Ulrich Drepper <drepper@gmail.com>
36748
36749 [BZ #6812]
36750 * nscd/hstcache.c (tryagain): Define.
36751 (cache_addhst): Return tryagain not notfound for temporary errors.
36752 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36753 failed.
36754
794c3ad3
UD
367552011-01-14 Ulrich Drepper <drepper@gmail.com>
36756
70181fdd
UD
36757 [BZ #10563]
36758 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36759 to make the syscall.
36760 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36761
794c3ad3
UD
36762 [BZ #12378]
36763 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36764 and fall back to matching as normal character if the string ends before
36765 the matching ']' is found. This is what POSIX requires.
36766 * posix/testfnm.c: Adjust test result.
36767 * posix/globtest.sh: Adjust test result. Add new test.
36768 * posix/tst-fnmatch.input: Likewise.
36769 * posix/tst-fnmatch2.c: Add new test.
36770
68dc9497
AS
367712010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36772
36773 * elf/Makefile (check-execstack): Revert last change. Depend on
36774 check-execstack.h.
36775 (check-execstack.h): New target.
36776 (generated): Add check-execstack.h.
36777 * elf/check-execstack.c: Include "check-execstack.h".
36778 (main): Revert last change.
36779 (handle_file): Return zero if GNU_STACK is absent and
36780 DEFAULT_STACK_PERMS doesn't include PF_X.
36781
451f001b
UD
367822011-01-13 Ulrich Drepper <drepper@gmail.com>
36783
cfa28e56
UD
36784 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36785 in child fails because the descriptor is already closed.
8cf8ce17
UD
36786 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36787 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36788 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 36789
1086d70d
UD
36790 [BZ #12397]
36791 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36792 syscall.
36793
451f001b
UD
36794 [BZ #10484]
36795 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36796 temporary buffer used to handle multi lookups locally.
a85b5cb4 36797 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 36798
08769175
UD
367992011-01-12 Ulrich Drepper <drepper@gmail.com>
36800
36801 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36802 loader is ld.so.
36803
5e49c52e
UD
368042011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36805
36806 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36807 alignment for SSE2.
36808
60522a5f
UD
368092011-01-12 Ulrich Drepper <drepper@gmail.com>
36810
36811 [BZ #12394]
36812 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36813 characters. When rounding increased number of integer digits recompute
36814 number of groups.
36815 * stdio-common/tst-grouping.c: New file.
36816 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36817
f257bbd7
UD
368182011-01-09 Ulrich Drepper <drepper@gmail.com>
36819
36820 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36821 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36822
36823 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36824 void.
36825 * bits/select.h: Likewise.
36826
fa9c15cb
UD
368272011-01-08 Ulrich Drepper <drepper@gmail.com>
36828
36829 * po/ja.po: Update from translation team.
36830
16c2895f
DM
368312011-01-04 David S. Miller <davem@sunset.davemloft.net>
36832
36833 [BZ #11155]
36834 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36835 implementation just like for lxstat, fxstatat, et al.
36836
2543fef2
JM
368372010-12-27 Jim Meyering <meyering@redhat.com>
36838
36839 [BZ #12348]
36840 * posix/regexec.c (build_trtable): Return failure indication upon
36841 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36842
98727dbe
UD
368432010-12-25 Ulrich Drepper <drepper@gmail.com>
36844
5bd6dc5c
UD
36845 [BZ #12201]
36846 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36847 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36848 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36849 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36850
97983464
UD
36851 [BZ #12207]
36852 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36853
98727dbe
UD
36854 [BZ #12204]
36855 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36856 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36857
4a531bb0
L
368582010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36859
36860 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36861 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36862 script has SORT_BY_INIT_PRIORITY.
36863 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36864 NO_CTORS_DTORS_SECTIONS is defined.
36865 * elf/soinit.c: Likewise.
36866 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36867 NO_CTORS_DTORS_SECTIONS is defined.
36868 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36869 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36870 * sysdeps/sh/init-first.c: Likewise.
36871 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36872
07eb4b71
UD
368732010-12-24 Ulrich Drepper <drepper@gmail.com>
36874
36875 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36876 always use the slow path.
36877
30950a5f
RA
368782010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36879
36880 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36881 similar rule which adds the sysdep directories to the header search in
36882 order to pick up the correct platform stackinfo.h.
36883 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36884 perform test if it is, otherwise return successfully without testing.
36885 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36886 DEFAULT_STACK_PERMS define in stackinfo.h.
36887 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36888 defined in stackinfo.h.
36889 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36890 DEFAULT_STACK_PERMS defined in stackinfo.h.
36891 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36892 * sysdeps/ia64/stackinfo.h: Likewise.
36893 * sysdeps/s390/stackinfo.h: Likewise.
36894 * sysdeps/sh/stackinfo.h: Likewise.
36895 * sysdeps/sparc/stackinfo.h: Likewise.
36896 * sysdeps/x86_64/stackinfo.h: Likewise.
36897 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36898 PF_X for powerpc64. Retain PF_X for powerpc32.
36899
db753e2c
UD
369002010-12-19 Ulrich Drepper <drepper@gmail.com>
36901
14b697f7
UD
36902 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36903 accurately.
db753e2c
UD
36904 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36905 GETDENTS_64BIT_ALIGNED.
36906
28300719
UD
369072010-12-14 Ulrich Drepper <dreper@gmail.com>
36908
14b697f7 36909 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 36910
4f197237
AS
369112010-12-10 Andreas Schwab <schwab@redhat.com>
36912
dbb0472f
AS
36913 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36914 _GNU_SOURCE.
36915
4f197237
AS
36916 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36917 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36918 Remove __restrict.
36919 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36920 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36921
fb88ac72
UD
369222010-12-09 Ulrich Drepper <drepper@gmail.com>
36923
36924 [BZ #11655]
36925 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36926 are initialized.
36927
42acbb92
JJ
369282010-12-09 Jakub Jelinek <jakub@redhat.com>
36929
36930 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36931
c038d98d
UD
369322010-12-03 Ulrich Drepper <drepper@gmail.com>
36933
36934 * po/it.po: Update from translation team.
36935
3a4a2499
L
369362010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36937
36938 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36939 unused codes.
36940
1e24cf6e
UD
369412010-11-30 Ulrich Drepper <drepper@gmail.com>
36942
36943 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36944
a7690819
AS
369452010-11-24 Andreas Schwab <schwab@redhat.com>
36946
36947 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36948 specially.
36949 (gaih_getanswer_slice): Likewise.
36950
3bf8d1b1
JJ
369512010-10-20 Jakub Jelinek <jakub@redhat.com>
36952
36953 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36954
6db52fbb
PB
369552010-05-31 Petr Baudis <pasky@suse.cz>
36956
36957 [BZ #11149]
36958 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36959 silently even in the chroot mode.
36960
eaca7569
UD
369612010-11-22 Ulrich Drepper <drepper@gmail.com>
36962
36963 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36964 last patch a bit. Pretty printing
36965
3056dcdb
UD
369662010-05-31 Petr Baudis <pasky@suse.cz>
36967
36968 [BZ #10085]
36969 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36970 initialization of skip_initgroups_dyn.
36971
cf7c9078
UD
369722010-11-19 Ulrich Drepper <drepper@gmail.com>
36973
36974 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36975 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36976
a1fb5e3e
UD
369772010-11-16 Ulrich Drepper <drepper@gmail.com>
36978
36979 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36980
3540d66b
AS
369812010-11-11 Andreas Schwab <schwab@redhat.com>
36982
36983 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36984 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36985 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36986 ($(objpfx)tst-fnmatch-mem): New rule.
36987 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36988 * posix/tst-fnmatch.c (main): Call mtrace.
36989
13b69574
L
369902010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36991
36992 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36993 Support Intel processor model 6 and model 0x2c.
36994
da93d214
LM
369952010-11-10 Luis Machado <luisgpm@br.ibm.com>
36996
36997 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36998 signed comparison.
36999
8ca52c6e
L
370002010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37001
37002 [BZ #12205]
37003 * string/test-strncasecmp.c (check_result): New function.
37004 (do_one_test): Use it.
37005 (check1): New function.
37006 (test_main): Use it.
37007 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37008 Support strcasecmp and strncasecmp.
37009
69da074d
UD
370102010-11-08 Ulrich Drepper <drepper@gmail.com>
37011
37012 [BZ #12194]
37013 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37014 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37015
ff02d528
L
370162010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37017
37018 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37019 IFUNC support.
37020 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37021 memset-x86-64.
37022 * sysdeps/x86_64/multiarch/bzero.S: New file.
37023 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37024 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37025 * sysdeps/x86_64/multiarch/memset.S: New file.
37026 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37027 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37028 Set bit_Prefer_SSE_for_memop for Intel processors.
37029 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37030 Define.
37031 (index_Prefer_SSE_for_memop): Define.
37032 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37033
344d0b54
LM
370342010-11-04 Luis Machado <luisgpm@br.ibm.com>
37035
37036 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37037 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37038
c0dde15b
UD
370392010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37040
37041 [BZ #12191]
37042 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37043 (__x86_64_raw_data_cache_size_half): Likewise.
37044 (__x86_64_raw_shared_cache_size): Likewise.
37045 (__x86_64_raw_shared_cache_size_half): Likewise.
37046
37047 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37048 (__x86_64_raw_data_cache_size_half): Likewise.
37049 (__x86_64_raw_shared_cache_size): Likewise.
37050 (__x86_64_raw_shared_cache_size_half): Likewise.
37051 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37052 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37053 and __x86_64_raw_shared_cache_size_half. Round
37054 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37055 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37056 to multiple of 256 bytes.
37057
0e516e0e
MS
370582010-11-03 Ulrich Drepper <drepper@gmail.com>
37059
37060 [BZ #12167]
37061 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37062 of inacessible symlinks. Verify result of symlink before returning it.
37063 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37064 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37065
0e012e87
ER
370662010-10-28 Erich Ritz <erichritz@gmail.com>
37067
37068 * math/math.h (isinf): Fix typo in comment.
37069
de0ff7bc
UD
370702010-11-01 Ulrich Drepper <drepper@gmail.com>
37071
37072 * po/da.po: Update from translation team.
37073
fa41c84d
UD
370742010-10-26 Ulrich Drepper <drepper@gmail.com>
37075
37076 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37077 is added to the list.
37078
f0967738
AK
370792010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37080 Ulrich Drepper <drepper@gmail.com>
37081
37082 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37083 the global list here. Move code to...
37084 (_dl_add_to_namespace_list): ...here. New function.
37085 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37086 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37087 * elf/dl-load.c (lose): Don't remove the element from the list.
37088 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37089 (_dl_map_object): Likewise.
37090
370912010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
37092
37093 [BZ #12159]
37094 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37095 into all bytes of SSE register.
37096 Patch by Richard Li <richardpku@gmail.com>.
37097
f0967738 370982010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
37099
37100 [BZ #12140]
37101 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37102 perturbing.
37103
d0b9e94f
MB
371042010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37105
37106 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37107 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37108 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37109 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37111 submachine.
37112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37113
8e9f92e9
AS
371142010-10-22 Andreas Schwab <schwab@redhat.com>
37115
37116 * include/dlfcn.h (__RTLD_SECURE): Define.
37117 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37118 mode & __RTLD_SECURE instead.
37119 (open_path): Rename preloaded parameter to secure.
37120 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37121 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37122 * elf/dl-deps.c (openaux): Likewise.
37123 * elf/rtld.c (struct map_args): Remove is_preloaded.
37124 (map_doit): Don't use it.
37125 (dl_main): Likewise.
37126 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37127 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37128
bc96fbda
AS
371292010-09-09 Andreas Schwab <schwab@redhat.com>
37130
37131 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37132 (sysd-rules-targets): Remove duplicates.
37133 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37134 rtld-%.$o dependency.
37135
22cd1c9b
AS
371362010-10-18 Andreas Schwab <schwab@redhat.com>
37137
37138 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37139 _dl_map_object do it.
37140
18edac48
UD
371412010-10-19 Ulrich Drepper <drepper@gmail.com>
37142
37143 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37144 fast fma builtins, define the macros in the C99 standard.
37145 (FP_FAST_FMAF): Likewise.
37146 (FP_FAST_FMAL): Likewise.
37147 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37148
37149 * bits/mathdef.h: Update copyright year.
37150 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37151
d2050124
MM
371522010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37153
37154 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37155 builtins, define the macros in the C99 standard.
37156 (FP_FAST_FMAF): Likewise.
37157 (FP_FAST_FMAL): Likewise.
37158 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37159 multiply/add.
37160 (FP_FAST_FMAF): Likewise.
37161
475facd1
JJ
371622010-10-15 Jakub Jelinek <jakub@redhat.com>
37163
37164 [BZ #3268]
37165 * math/libm-test.inc (fma_test): Some new testcases.
37166 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37167 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37168 y and infinite z. Do multiplication by C already in long double.
37169 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37170 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37171 y and infinite z. Do bitwise or of inexact bit into u.d.
37172 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37173 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37174 * sysdeps/i386/fpu/s_fma.S: Removed.
37175 * sysdeps/i386/fpu/s_fmal.S: Removed.
37176
7c08a05c
JJ
371772010-10-16 Jakub Jelinek <jakub@redhat.com>
37178
37179 [BZ #3268]
37180 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37181 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37182 computation is not scheduled after fetestexcept. Fix value
37183 of minimum denormal long double.
37184
f3f7372d
JJ
371852010-10-14 Jakub Jelinek <jakub@redhat.com>
37186
37187 [BZ #3268]
37188 * math/libm-test.inc (fma_test): Add some more tests.
37189 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37190 correctly.
37191
14d43591
AS
371922010-10-15 Andreas Schwab <schwab@redhat.com>
37193
37194 * scripts/data/localplt-s390-linux-gnu.data: New file.
37195 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37196
5e908464
JJ
371972010-10-13 Jakub Jelinek <jakub@redhat.com>
37198
37199 [BZ #3268]
37200 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37201 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37202 instead of dbl-64.
37203 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37204 inlines.
37205 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37206 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37207 if one of x and y is very large and the other is subnormal.
37208 * sysdeps/s390/fpu/s_fmaf.c: New file.
37209 * sysdeps/s390/fpu/s_fma.c: New file.
37210 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37211 * sysdeps/powerpc/fpu/s_fma.S: New file.
37212 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37213 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37214 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37215
372162010-10-12 Jakub Jelinek <jakub@redhat.com>
37217
37218 [BZ #3268]
37219 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37220 fma tests.
37221 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37222 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37223 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37224 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37225 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37226 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37227 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37228
b833d51f
UD
372292010-10-12 Ulrich Drepper <drepper@redhat.com>
37230
37231 [BZ #12078]
37232 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37233 * posix/bug-regex31.input: Add test case.
37234
1751705d
UD
372352010-10-11 Ulrich Drepper <drepper@gmail.com>
37236
e9b9cbf5
UD
37237 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37238 * posix/bug-regex31.input: New file.
37239
37240 [BZ #12078]
37241 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37242 (parse_sub_exp): Fix last change, use postorder.
37243
ef06edbe
UD
37244 * posix/bug-regex31.c: New file.
37245 * posix/Makefile: Add rules to build and run bug-regex31.
37246
a129c80d
UD
37247 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37248
37249 [BZ #12078]
37250 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37251
b76b818e
UD
37252 [BZ #12108]
37253 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37254 to have entries in sys_siglist.
37255
1751705d
UD
37256 [BZ #12093]
37257 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37258 be NULL.
37259
9ff8d36f
JJ
372602010-10-07 Jakub Jelinek <jakub@redhat.com>
37261
37262 [BZ #3268]
37263 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37264 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37265 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37266 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37267 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37268 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37269 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37270 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37271 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37272 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37273 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37274 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37275 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37276 * math/ftestexcept.c (fetestexcept): Likewise.
37277 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37278 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37279 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37280 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37281 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37282 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37283 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37284
af325969
UD
372852010-10-11 Ulrich Drepper <drepper@gmail.com>
37286
c579b202 37287 [BZ #12107]
af325969
UD
37288 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37289 newline.
37290
67a67b95
UD
372912010-10-06 Ulrich Drepper <drepper@gmail.com>
37292
37293 * string/bug-strstr1.c: New file.
37294 * string/Makefile: Add rules to build and run bug-strstr1.
37295
5fb308bc
EB
372962010-10-05 Eric Blake <eblake@redhat.com>
37297
37298 [BZ #12092]
37299 * string/str-two-way.h (two_way_long_needle): Always clear memory
37300 when skipping input due to the shift table.
37301
45db99c7
UD
373022010-10-03 Ulrich Drepper <drepper@gmail.com>
37303
3b111893
UD
37304 [BZ #12005]
37305 * malloc/mcheck.c: Handle large requests.
37306
45db99c7
UD
37307 [BZ #12077]
37308 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37309 for strncmp and strncasecmp.
37310 * string/stratcliff.c: Add tests for strcmp and strncmp.
37311 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37312
cf7a1eb8
NI
373132010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37314
37315 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37316 __set_fpscr.
37317
6484ba5e
AJ
373182010-09-30 Andreas Jaeger <aj@suse.de>
37319
37320 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37321 (CGROUP_SUPER_MAGIC): Define.
37322 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37323 Handle btrfs and cgroup file systems.
37324 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37325 Likewise.
37326
91c42559
LM
373272010-09-27 Luis Machado <luisgpm@br.ibm.com>
37328
37329 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37330 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37331
87a97932
AK
373322010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37333
37334 [BZ #12067]
37335 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37336 trying to locate the ELF header.
37337
c21cc9bc
AS
373382010-09-27 Andreas Schwab <schwab@redhat.com>
37339
37340 [BZ #11611]
37341 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37342 Mask out sign-bit copies when constructing f_fsid.
37343
315970f6
PB
373442010-09-24 Petr Baudis <pasky@suse.cz>
37345
37346 * debug/stack_chk_fail_local.c: Add missing licence exception.
37347 * debug/warning-nop.c: Likewise.
37348
1ac7a2c7
JM
373492010-09-15 Joseph Myers <joseph@codesourcery.com>
37350
37351 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37352 implementing getdents64 using getdents syscall, set d_type if
37353 __ASSUME_GETDENTS32_D_TYPE.
37354
56801c50
AS
373552010-09-16 Andreas Schwab <schwab@redhat.com>
37356
37357 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37358 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37359
dda51327
UD
373602010-09-21 Ulrich Drepper <drepper@redhat.com>
37361
37362 [BZ #12037]
37363 * posix/unistd.h: Undo change of feature selection for ftruncate from
37364 2010-01-11.
37365
8ffcee4a
UD
373662010-09-20 Ulrich Drepper <drepper@redhat.com>
37367
a545ecd9 37368 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
37369 detection.
37370
e24f0a8b
AS
373712010-09-20 Andreas Schwab <schwab@redhat.com>
37372
37373 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37374 fanotify_mark.
37375 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37376
7291c56f
AS
373772010-09-14 Andreas Schwab <schwab@redhat.com>
37378
37379 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37380 variables after CHECK_SP call.
37381 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37382
bc5fb037
AS
373832010-09-13 Andreas Schwab <schwab@redhat.com>
37384 Ulrich Drepper <drepper@redhat.com>
37385
37386 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37387 re-relocationg ld.so.
37388 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37389 _dl_init_paths call.
37390 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37391 here anymore.
37392
e66e7419
UD
373932010-09-14 Ulrich Drepper <drepper@redhat.com>
37394
37395 * resolv/res_init.c (__res_vinit): Count the default server we added.
37396
c044aa75
CLT
373972010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37398 Ulrich Drepper <drepper@redhat.com>
37399
37400 [BZ #11968]
37401 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37402 (____longjmp_chk): Use %ebx for saving value across system call.
37403 Add unwind info.
37404
32cf4069
AS
374052010-09-06 Andreas Schwab <schwab@redhat.com>
37406
37407 * manual/Makefile: Don't mix pattern rules with normal rules.
37408
817328ee
AS
374092010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37410
37411 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37412 operation.
37413 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37414 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37415 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37416 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37417 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37418 Likewise.
37419
29fddf61
UD
374202010-09-04 Ulrich Drepper <drepper@redhat.com>
37421
37422 [BZ #11979]
37423 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37424 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37425
0959ffc9
UD
374262010-09-02 Ulrich Drepper <drepper@redhat.com>
37427
37428 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37429 * sysdeps/x86_64/addmul_1.S: Likewise.
37430 * sysdeps/x86_64/lshift.S: Likewise.
37431 * sysdeps/x86_64/mul_1.S: Likewise.
37432 * sysdeps/x86_64/rshift.S: Likewise.
37433 * sysdeps/x86_64/sub_n.S: Likewise.
37434 * sysdeps/x86_64/submul_1.S: Likewise.
37435
ece29840
ST
374362010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37437
0959ffc9
UD
37438 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37439 Define __sched_param instead of SCHED_* and sched_param when
ece29840 37440 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 37441 * bits/sched.h [__need_schedparam]
ece29840 37442 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
37443 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37444 (__defined_schedparam): Define to 1.
ece29840
ST
37445 (__sched_param): New structure, identical to sched_param.
37446 (__need_schedparam): Undefine.
37447
e53a31fe
MF
374482010-08-31 Mike Frysinger <vapier@gentoo.org>
37449
fdc0c10d
MF
37450 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37451 (epoll_create1): Declare.
37452
e53a31fe
MF
37453 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37454
a726d796
AS
374552010-08-31 Andreas Schwab <schwab@redhat.com>
37456
37457 [BZ #7066]
37458 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37459 shifting retval into place.
37460
2f3e3dc7
UD
374612010-09-01 Ulrich Drepper <drepper@redhat.com>
37462
f2933da9
UD
37463 * nis/rpcsvc/nis.h: Update copyright notice.
37464 * nis/rpcsvc/nis.x: Likewise.
37465 * nis/rpcsvc/nis_callback.h: Likewise.
37466 * nis/rpcsvc/nis_callback.x: Likewise.
37467 * nis/rpcsvc/nis_object.x: Likewise.
37468 * nis/rpcsvc/nis_tags.h: Likewise.
37469 * nis/rpcsvc/yp.h: Likewise.
37470 * nis/rpcsvc/yp.x: Likewise.
37471 * nis/rpcsvc/ypupd.h: Likewise.
37472 * nis/yp_xdr.c: Likewise.
37473 * nis/ypupdate_xdr.c: Likewise.
37474
2f3e3dc7
UD
37475 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37476 mainly the body of pmap_getport. Add parameters to specify timeouts.
37477 (pmap_getport): Use __libc_rpc_getport.
37478 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37479 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37480 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37481
f3dcc2f9
AS
374822010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37483
37484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37485 fanotify_mark.
37486
6d34eb5b
RM
374872010-08-27 Roland McGrath <roland@redhat.com>
37488
37489 * sysdeps/i386/i686/multiarch/Makefile
37490 (CFLAGS-varshift.c): New variable.
37491
9ea3de11
UD
374922010-08-27 Ulrich Drepper <drepper@redhat.com>
37493
c96d23fc
UD
37494 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37495 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37496
9ea3de11
UD
37497 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37498
37499 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37500
623aac7f
L
375012010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37502
37503 * sysdeps/x86_64/strlen.S: Unroll the loop.
37504 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37505 strlen-sse2 strlen-sse2-bsf.
37506 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37507 __strlen_no_bsf if bit_Slow_BSF is set.
37508 (__strlen_sse42): Removed.
37509 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37510 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37511
8b2b7715
RM
375122010-08-25 Roland McGrath <roland@redhat.com>
37513
37514 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37515 * sysdeps/x86_64/multiarch/varshift.c: New file.
37516 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37517 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37518 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37519 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37520
e73015f2
L
375212010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37522
37523 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37524 strlen-sse2 strlen-sse2-bsf.
37525 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37526 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37527 (__strlen_sse2): Removed.
37528 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37529 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37531 bit_Slow_BSF for Atom.
37532 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37533 (index_Slow_BSF): Define.
37534 (HAS_SLOW_BSF): Define.
37535
df24a73e
UD
375362010-08-25 Ulrich Drepper <drepper@redhat.com>
37537
37538 [BZ #10851]
37539 * resolv/res_init.c (__res_vinit): When no server address at all
37540 is given default to loopback.
37541
f2ac4868
RM
375422010-08-24 Roland McGrath <roland@redhat.com>
37543
09055553
RM
37544 * configure.in: Remove config-name.h generation.
37545 * configure: Regenerated.
37546 * config-name.in: File removed.
37547 * scripts/config-uname.sh: New file.
37548 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37549 ($(objdir)config-name.h): New target.
37550
f2ac4868
RM
37551 * sunrpc/rpc_parse.h: Avoid nested comment.
37552
73f27d5e
RH
375532010-08-24 Richard Henderson <rth@redhat.com>
37554 Ulrich Drepper <drepper@redhat.com>
37555 H.J. Lu <hongjiu.lu@intel.com>
37556
37557 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37558 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37559 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37560 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37561 _mm_alignr_epi8 with _mm_loadu_si128.
37562 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37563 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37564 (__m128i_shift_right): Removed.
37565 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37566 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37567 * sysdeps/x86_64/multiarch/varshift.h: New file.
37568 * sysdeps/x86_64/multiarch/varshift.S: New file.
37569
84b9230c
MF
375702010-08-21 Mike Frysinger <vapier@gentoo.org>
37571
37572 * configure.in: Move assembler checks to before sysdep dir checking.
37573
9bbd0ddc
PB
375742010-08-20 Petr Baudis <pasky@suse.cz>
37575
37576 * LICENSES: Sync the sunrpc license.
37577
9da4bb31
UD
375782010-08-19 Ulrich Drepper <drepper@redhat.com>
37579
a7ab6ec8
UD
37580 * sunrpc/auth_des.c: Update copyright notice once again.
37581 * sunrpc/auth_none.c: Likewise.
37582 * sunrpc/auth_unix.c: Likewise.
37583 * sunrpc/authdes_prot.c: Likewise.
37584 * sunrpc/authuxprot.c: Likewise.
37585 * sunrpc/bindrsvprt.c: Likewise.
37586 * sunrpc/clnt_gen.c: Likewise.
37587 * sunrpc/clnt_perr.c: Likewise.
37588 * sunrpc/clnt_raw.c: Likewise.
37589 * sunrpc/clnt_simp.c: Likewise.
37590 * sunrpc/clnt_tcp.c: Likewise.
37591 * sunrpc/clnt_udp.c: Likewise.
37592 * sunrpc/clnt_unix.c: Likewise.
37593 * sunrpc/des_crypt.c: Likewise.
37594 * sunrpc/des_soft.c: Likewise.
37595 * sunrpc/get_myaddr.c: Likewise.
37596 * sunrpc/getrpcport.c: Likewise.
37597 * sunrpc/key_call.c: Likewise.
37598 * sunrpc/key_prot.c: Likewise.
37599 * sunrpc/openchild.c: Likewise.
37600 * sunrpc/pm_getmaps.c: Likewise.
37601 * sunrpc/pm_getport.c: Likewise.
37602 * sunrpc/pmap_clnt.c: Likewise.
37603 * sunrpc/pmap_prot.c: Likewise.
37604 * sunrpc/pmap_prot2.c: Likewise.
37605 * sunrpc/pmap_rmt.c: Likewise.
37606 * sunrpc/rpc/auth.h: Likewise.
37607 * sunrpc/rpc/auth_unix.h: Likewise.
37608 * sunrpc/rpc/clnt.h: Likewise.
37609 * sunrpc/rpc/des_crypt.h: Likewise.
37610 * sunrpc/rpc/key_prot.h: Likewise.
37611 * sunrpc/rpc/netdb.h: Likewise.
37612 * sunrpc/rpc/pmap_clnt.h: Likewise.
37613 * sunrpc/rpc/pmap_prot.h: Likewise.
37614 * sunrpc/rpc/pmap_rmt.h: Likewise.
37615 * sunrpc/rpc/rpc.h: Likewise.
37616 * sunrpc/rpc/rpc_des.h: Likewise.
37617 * sunrpc/rpc/rpc_msg.h: Likewise.
37618 * sunrpc/rpc/svc.h: Likewise.
37619 * sunrpc/rpc/svc_auth.h: Likewise.
37620 * sunrpc/rpc/types.h: Likewise.
37621 * sunrpc/rpc/xdr.h: Likewise.
37622 * sunrpc/rpc_clntout.c: Likewise.
37623 * sunrpc/rpc_cmsg.c: Likewise.
37624 * sunrpc/rpc_common.c: Likewise.
37625 * sunrpc/rpc_cout.c: Likewise.
37626 * sunrpc/rpc_dtable.c: Likewise.
37627 * sunrpc/rpc_hout.c: Likewise.
37628 * sunrpc/rpc_main.c: Likewise.
37629 * sunrpc/rpc_parse.c: Likewise.
37630 * sunrpc/rpc_parse.h: Likewise.
37631 * sunrpc/rpc_prot.c: Likewise.
37632 * sunrpc/rpc_sample.c: Likewise.
37633 * sunrpc/rpc_scan.c: Likewise.
37634 * sunrpc/rpc_scan.h: Likewise.
37635 * sunrpc/rpc_svcout.c: Likewise.
37636 * sunrpc/rpc_tblout.c: Likewise.
37637 * sunrpc/rpc_util.c: Likewise.
37638 * sunrpc/rpc_util.h: Likewise.
37639 * sunrpc/rpcinfo.c: Likewise.
37640 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37641 * sunrpc/rpcsvc/key_prot.x: Likewise.
37642 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37643 * sunrpc/rpcsvc/mount.x: Likewise.
37644 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37645 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37646 * sunrpc/rpcsvc/rex.x: Likewise.
37647 * sunrpc/rpcsvc/rstat.x: Likewise.
37648 * sunrpc/rpcsvc/rusers.x: Likewise.
37649 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37650 * sunrpc/rpcsvc/spray.x: Likewise.
37651 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37652 * sunrpc/rtime.c: Likewise.
37653 * sunrpc/svc.c: Likewise.
37654 * sunrpc/svc_auth.c: Likewise.
37655 * sunrpc/svc_authux.c: Likewise.
37656 * sunrpc/svc_raw.c: Likewise.
37657 * sunrpc/svc_run.c: Likewise.
37658 * sunrpc/svc_simple.c: Likewise.
37659 * sunrpc/svc_tcp.c: Likewise.
37660 * sunrpc/svc_udp.c: Likewise.
37661 * sunrpc/svc_unix.c: Likewise.
37662 * sunrpc/svcauth_des.c: Likewise.
37663 * sunrpc/xcrypt.c: Likewise.
37664 * sunrpc/xdr.c: Likewise.
37665 * sunrpc/xdr_array.c: Likewise.
37666 * sunrpc/xdr_float.c: Likewise.
37667 * sunrpc/xdr_mem.c: Likewise.
37668 * sunrpc/xdr_rec.c: Likewise.
37669 * sunrpc/xdr_ref.c: Likewise.
37670 * sunrpc/xdr_sizeof.c: Likewise.
37671 * sunrpc/xdr_stdio.c: Likewise.
37672
9da4bb31
UD
37673 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37674 handling.
37675
bdaa77bc
AS
376762010-08-19 Andreas Schwab <schwab@redhat.com>
37677
37678 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37679
fe2f79db
LM
376802010-08-19 Luis Machado <luisgpm@br.ibm.com>
37681
37682 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37683 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37684 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37685 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37686 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37687 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37688 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37689 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37690 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37691 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37692 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37693 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37694 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37695 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37696
b9b42ee0
AB
376972010-07-26 Anton Blanchard <anton@samba.org>
37698
37699 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37700 * malloc/arena.c (heap_trim): Likewise.
37701
1c06ba31
UD
377022010-08-16 Ulrich Drepper <drepper@redhat.com>
37703
37704 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37705 here. Not...
37706 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37707 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37708
f8392f40
L
377092010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37710
37711 * sysdeps/i386/elf/Makefile: New file.
37712
3162f12e
AS
377132010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37714
37715 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37716 from fanotify_init.
37717 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37718 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37719
28c90b2c
UD
377202010-08-15 Ulrich Drepper <drepper@redhat.com>
37721
37722 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37723 of strncasecmp_l.
1feccb6c 37724 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 37725
ca6bb004
UD
377262010-08-14 Ulrich Drepper <drepper@redhat.com>
37727
e9f82e0d
UD
37728 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37729 strncase_l-nonascii.
37730 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37731 Add strncase_l-ssse3.
37732 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37733 * sysdeps/x86_64/strcmp.S: Likewise.
37734 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37735 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37736 * sysdeps/x86_64/strncase.S: New file.
37737 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37738 * sysdeps/x86_64/strncase_l.S: New file.
37739 * string/Makefile (strop-tests): Add strncasecmp.
37740 * string/test-strncasecmp.c: New file.
37741
37742 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37743 warning.
37744
ca6bb004
UD
37745 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37746 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37747
052fa7b3
AS
377482010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37749
37750 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37751
962dba78
UD
377522010-08-12 Ulrich Drepper <drepper@redhat.com>
37753
37754 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37755 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37756 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37757
bebff237
AM
377582010-05-01 Alan Modra <amodra@gmail.com>
37759
37760 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37761 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37762 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37763 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37764 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37765 tidying. Don't tail-call __sigjmp_save for static lib.
37766 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37767 save location.
37768 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37769 (CALL_MCOUNT): Add eh info, and nop after bl.
37770 (TAIL_CALL_SYSCALL_ERROR): New macro.
37771 (PSEUDO_RET): Use it.
37772 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37773 Correct save location of integer regs and cr.
37774 (_dl_profile_resolve): Correct cr save location. Delete nops
37775 after bl when SHARED. Reduce cfi size a little by better
37776 placement of cfi directives.
37777 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37778 make a stack frame. Instead use parm save area as a temp.
37779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37780 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37782 Don't make a stack frame for parent, use parm save area.
37783 Increase child stack frame to 112 bytes. Don't save unused reg,
37784 and adjust reg usage. Set up cfi on error recovery and
37785 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37787 (__makecontext): Add dummy nop after jump to exit.
37788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37789 Use correct parm save area and cr save, reduce stack frame.
37790 Correct cfi for possible PSEUDO_RET frame setup.
37791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37792 Branch to local label emitted by PSEUDO_RET rather than
37793 __syscall_error.
37794
02637374
AS
377952010-08-12 Andreas Schwab <schwab@redhat.com>
37796
37797 [BZ #11904]
37798 * locale/programs/locale.c (print_assignment): New function.
37799 (show_locale_vars): Use it.
37800
c3e2f19b
UD
378012010-08-11 Ulrich Drepper <drepper@redhat.com>
37802
3cdaa6ad
UD
37803 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37804 field.
37805 (struct statfs64): Likewise.
37806 (_STATFS_F_FLAGS): Define.
37807 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37808 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37809 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37810 (ST_VALID): Define locally.
37811 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37812 __statvfs_getflags, use the provided value.
37813 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37814 __ASSUME_STATFS_F_FLAGS.
37815
754f7da3
UD
37816 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37817
10b3bedc
UD
37818 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37819 Add sys/fanotify.h.
37820 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37821 fanotify_mask for GLIBC_2.13.
37822 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37823 fanotify_init and fanotify_mark.
37824 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37825 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37826
c08fb0d7
UD
37827 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37828 Add prlimit.
37829 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37830 prlimit64 for GLIBC_2.13.
37831 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37832 prlimit64.
37833 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37834 syscall.
37835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37836 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37837 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37838 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37839 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37840 add prlimit alias.
37841 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37842
15bac72b
UD
37843 [BZ #11903]
37844 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37845 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37846
c3e2f19b
UD
37847 * nss/Makefile: Add rules to build and run tst-nss-test1.
37848 * shlib-versions: Add entry for libnss_test1.
37849 * nss/nss_test1.c: New file.
37850 * nss/tst-nss-test1.c: New file.
37851
37852 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37853 (__nss_configure_lookup): Set appropriate entry in
37854 __nss_configure_lookup to true.
37855 * nss/nsswitch.h: Define enum with indeces of databases in
37856 databases and __nss_database_custom arrays. Declare
37857 __nss_database_custom.
37858 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37859 to avoid using nscd when custom rules are installed.
37860 * nss/getXXbyYY_r.c: Likewise.
37861 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37862
37863 * nss/nss_files/files-parse.c: Whitespace fixes.
37864
f15ce4d8
UD
378652010-08-09 Ulrich Drepper <drepper@redhat.com>
37866
37867 [BZ #11883]
37868 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37869 * posix/fnmatch_loop.c: Likewise.
37870
d22e4cc9
AK
378712010-07-17 Andi Kleen <ak@linux.intel.com>
37872
37873 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37874 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37875 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37876 * Versions.def [GLIBC_2.13]: Add.
37877
805bc17d
UD
378782010-08-06 Ulrich Drepper <drepper@redhat.com>
37879
37880 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37881 Also fail if tpwd after pwuid call is NULL.
37882
5a42321d
ST
378832010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37884
37885 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37886 when converting to ms.
37887
fd3ebeda
ST
378882010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37889
37890 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37891 EOPNOTSUPP errors with ENOTTY.
37892 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37893 EOPNOTSUPP errors with ENOTTY.
37894
73507d3a
UD
378952010-07-31 Ulrich Drepper <drepper@redhat.com>
37896
37897 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37898 Add strcasecmp_l-ssse3.
37899 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37900 strcasecmp.
37901 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37902 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37903 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37904
fe36dd02
UD
379052010-07-30 Ulrich Drepper <drepper@redhat.com>
37906
66f6765a
UD
37907 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37908
42e08a54
UD
37909 * string/Makefile (strop-tests): Add strcasecmp.
37910 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37911 strcasecmp_l-nonascii.
37912 (gen-as-const-headers): Add locale-defines.sym.
37913 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37914 * sysdeps/x86_64/strcasecmp.S: New file.
37915 * sysdeps/x86_64/strcasecmp_l.S: New file.
37916 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37917 * sysdeps/x86_64/locale-defines.sym: New file.
37918 * string/test-strcasecmp.c: New file.
37919
fe36dd02
UD
37920 * string/test-strcasestr.c: Test both ends of the range of characters.
37921 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37922
48cbc0d6
RM
379232010-07-29 Roland McGrath <roland@redhat.com>
37924
76e6d6bc 37925 [BZ #11856]
48cbc0d6
RM
37926 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37927
880113d9
UD
379282010-07-27 Ulrich Drepper <drepper@redhat.com>
37929
37930 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37931 for ld.so.
37932
deb9cabb
AS
379332010-07-27 Andreas Schwab <schwab@redhat.com>
37934
37935 * manual/memory.texi (Malloc Tunable Parameters): Document
37936 M_PERTURB.
37937
1c7570ff
RM
379382010-07-26 Roland McGrath <roland@redhat.com>
37939
37940 [BZ #11840]
37941 * configure.in (-fgnu89-inline check): Set and substitute
37942 gnu89_inline, not libc_cv_gnu89_inline.
37943 * configure: Regenerated.
37944 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37945
24fb0f88
UD
379462010-07-26 Ulrich Drepper <drepper@redhat.com>
37947
37948 * string/test-strnlen.c: New file.
37949 * string/Makefile (strop-tests): Add strnlen.
37950 * string/tester.c (test_strnlen): Add a few more test cases.
37951 * string/tst-strlen.c: Better error reporting.
37952
37953 * sysdeps/x86_64/strnlen.S: New file.
37954
8e96b93a
UD
379552010-07-24 Ulrich Drepper <drepper@redhat.com>
37956
37957 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37958 lower-latency instructions.
37959
dbc676d4
UD
379602010-07-23 Ulrich Drepper <drepper@redhat.com>
37961
37962 * string/test-strcasestr.c: New file.
37963 * string/test-strstr.c: New file.
37964 * string/Makefile (strop-tests): Add strstr and strcasestr.
37965 * string/str-two-way.h: Don't undefine MAX.
37966 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37967
f6a31e0e
AS
379682010-07-21 Andreas Schwab <schwab@redhat.com>
37969
37970 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37971 strcasestr-nonascii.
37972 (CFLAGS-strcasestr-nonascii.c): Define.
37973 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37974 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37975 Remove unused attribute.
37976
5dbc3b6c
RM
379772010-07-20 Roland McGrath <roland@redhat.com>
37978
37979 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37980 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37981 ld.so.cache was broken. With it, there is no way to disable dsocaps
37982 like LD_HWCAP_MASK can disable hwcaps.
37983
23d101d8
EPM
379842010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37985
37986 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37987
cc9f2e47
UD
379882010-07-16 Ulrich Drepper <drepper@redhat.com>
37989
37990 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37991 call in strcasestr.
37992 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37993 __strcasestr_sse42_nonascii.
37994 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37995 strcasestr-nonascii.c.
37996 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37997
77c1b069
LM
379982010-06-15 Luis Machado <luisgpm@br.ibm.com>
37999
38000 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38001 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38002 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38003 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38004
440566c3
UD
380052010-07-09 Ulrich Drepper <drepper@redhat.com>
38006
38007 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38008 fcntl.
38009
5be9d05d
AS
380102010-07-06 Andreas Schwab <schwab@redhat.com>
38011
c30b7ee2 38012 [BZ #11577]
5be9d05d
AS
38013 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38014 dl_signal_cerror.
38015
8a492a67
UD
380162010-07-06 Ulrich Drepper <drepper@redhat.com>
38017
38018 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38019 _PC_PIPE_BUF using F_GETPIPE_SZ.
38020
713df3d5
RM
380212010-07-05 Roland McGrath <roland@redhat.com>
38022
38023 * manual/arith.texi (Rounding Functions): Fix rint description
38024 implicit in round description.
38025
702e8f14
UD
380262010-07-02 Ulrich Drepper <drepper@redhat.com>
38027
38028 * elf/Makefile: Fix linking for a few tests to make recent linker
38029 happy.
38030
52ed8be9
AS
380312010-06-30 Andreas Schwab <schwab@redhat.com>
38032
38033 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38034 $(common-objpfx)libc_nonshared.a.
38035
f47c9a11
LM
380362010-06-21 Luis Machado <luisgpm@br.ibm.com>
38037
38038 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38039 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38040 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38041 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38042 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38043 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38044 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38045 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38060 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38061 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38062 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38063 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38064 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38065 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38066 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38067 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38068 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38069 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38070 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38071 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38086
6fb8cbcb
L
380872010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38088
38089 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38090 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38091 * string/memmove.c (memmove): Renamed to ...
38092 (MEMMOVE): ...this. Default to memmove.
38093 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38094 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38095 (END_CHK): Define.
38096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38097 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38098 mempcpy-ssse3-back memmove-ssse3-back.
38099 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38100 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38101 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38102 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38103 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38104 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38105 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38106 * sysdeps/x86_64/multiarch/memmove.c: New file.
38107 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38108 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38109 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38110 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38111 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38112 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38113 Define.
38114 (index_Fast_Copy_Backward): Define.
38115 (HAS_ARCH_FEATURE): Define.
38116 (HAS_FAST_REP_STRING): Define.
38117 (HAS_FAST_COPY_BACKWARD): Define.
38118
4e733bac 381192010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
38120
38121 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38122 Restore proper fallback handling.
38123
63c4ed22
UD
381242010-06-19 Ulrich Drepper <drepper@redhat.com>
38125
ac2b484c
UD
38126 [BZ #11701]
38127 * posix/group_member.c (__group_member): Correct checking loop.
38128
63c4ed22
UD
38129 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38130 OOM in getpwuid_r correctly. Return error number when the caller
38131 should return, otherwise -1.
38132 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38133 call returning > 0 value.
38134 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38135
765ade4b
AS
381362010-06-07 Andreas Schwab <schwab@redhat.com>
38137
38138 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38139 libc_nonshared.a from targets in modules-names.
38140
80da2e09
KS
381412010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38142
38143 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38144 requires it.
38145
158db122
LM
381462010-06-10 Luis Machado <luisgpm@br.ibm.com>
38147
38148 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38149 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38150 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38151 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38152
caa78cf8
AS
381532010-06-02 Andreas Schwab <schwab@redhat.com>
38154
38155 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38156
b2ef2c01
UD
381572010-06-14 Ulrich Drepper <drepper@redhat.com>
38158
38159 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38160 and F_GETPIPE_SZ.
38161 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38162 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38163 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38164 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38165 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38166 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38167
fbd643b6
RM
381682010-06-14 Roland McGrath <roland@redhat.com>
38169
38170 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38171
f32f2869
JJ
381722010-06-07 Jakub Jelinek <jakub@redhat.com>
38173
38174 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38175 __REDIRECT followed by __THROW.
38176 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38177 * posix/getopt.h (getopt): Likewise.
38178
2a50c078
EPM
381792010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38180
38181 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38182 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38183 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38184 in AT_FLAGS.
38185 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38186 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38187
eb5ad2eb
LM
381882010-05-28 Luis Machado <luisgpm@br.ibm.com>
38189
38190 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38191
3c88fe1e
L
381922010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38193
38194 [BZ #11640]
38195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38196 Properly check family and model.
38197
d2f73151
TY
381982010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38199
38200 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38201
ebd2e13d
LM
382022010-05-24 Luis Machado <luisgpm@br.ibm.com>
38203
38204 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38205
b32b8b45
UD
382062010-05-21 Ulrich Drepper <drepper@redhat.com>
38207
38208 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38209 symbol reference.
38210
9acbe24d
AS
382112010-05-19 Andreas Schwab <schwab@redhat.com>
38212
38213 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38214 symbol reference.
38215
f0ccf6ea
AS
382162010-05-21 Andreas Schwab <schwab@redhat.com>
38217
3d04ff3a
AS
38218 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38219 and internal_recvmmsg.
38220 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38221 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38222 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38223 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38224
f0ccf6ea
AS
38225 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38226 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38227 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38228
5b08ac57
AS
382292010-05-20 Andreas Schwab <schwab@redhat.com>
38230
38231 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38232
4828935d
LM
382332010-05-17 Luis Machado <luisgpm@br.ibm.com>
38234
38235 POWER7 optimizations.
38236 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38237 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38238
373d545e
UD
382392010-05-19 Ulrich Drepper <drepper@redhat.com>
38240
38241 * version.h: Update for 2.13 development version.
38242
21a2b1ae
AS
382432010-05-12 Andrew Stubbs <ams@codesourcery.com>
38244
38245 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38246 exceptions. Return 0.
38247
3f7dcb2b
RM
382482010-05-07 Roland McGrath <roland@redhat.com>
38249
38250 * elf/ldconfig.c (main): Add a const.
38251
5f24d53a 382522010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 38253
a160f8d8
UD
38254 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38255 (args_options): Add no-idn option.
38256 (ahosts_keys_int): Add idn_flags to ai_flags.
38257 (parse_option): Handle 'i' option to clear idn_flags.
38258
5f24d53a
UD
38259 * malloc/malloc.c (_int_free): Possible race in the most recently
38260 added check. Only act on the data if no current modification
38261 happened.
265bb1ce
UD
38262
38263See ChangeLog.17 for earlier changes.