]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix ldbl-128ibm logl inaccuracy (bug 16386).
[glibc.git] / ChangeLog
CommitLineData
396e3ecf
JM
12014-01-02 Joseph Myers <joseph@codesourcery.com>
2
819e5d50
JM
3 [BZ #16386]
4 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5 numbers with subnormal high part when calculating exponent.
6
90b6a1e5
JM
7 [BZ #16385]
8 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9 fabs.
10
396e3ecf
JM
11 [BZ #16384]
12 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13 M_LN2l.
14 (__ieee754_acoshl): Use __log1pl not __log1p.
15
6c8dbf00
OB
162013-01-02 Ondřej Bílka <neleai@seznam.cz>
17
18 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
19 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
20 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
21 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
22 Convert to GNU style.
23 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
24 mem2mem_check, mem2chunk_check, top_check, realloc_check,
25 memalign_check, __malloc_set_state): Likewise.
26 * malloc/mallocbug.c (main): Likewise.
27 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
28 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
29 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
30 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
31 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
32 * malloc/malloc.h: Likewise.
33 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
34 memalignhook, reallochook, mabort): Likewise.
35 * malloc/mcheck.h: Likewise.
36 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
37 mmap64, mremap, munmap, dest): Likewise.
38 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
39 * malloc/morecore.c (__default_morecore): Likewise.
40 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
41 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
42 _obstack_allocated_p, obstack_free, _obstack_memory_used,
43 print_and_abort): Likewise.
44 * malloc/obstack.h: Likewise.
45 * malloc/set-freeres.c (__libc_freeres): Likewise.
46 * malloc/tst-mallocstate.c (main): Likewise.
47 * malloc/tst-mtrace.c (main): Likewise.
48 * malloc/tst-realloc.c (do_test): Likewise.
49
d4124212
SP
502013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
51
9a3c6a6f
SP
52 [BZ #16366]
53 * nscd/netgroupcache.c (do_notfound): New function.
54 (addgetnetgrentX): Use it.
55
d4124212
SP
56 [BZ # 16365]
57 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
58 NSS_STATUS_NOTFOUND.
59
97b9a009
JM
602014-01-01 Joseph Myers <joseph@codesourcery.com>
61
62 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
63 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64
d4697bc9
AM
652014-01-01 Allan McRae <allan@archlinux.org>
66
ddb3687f
AM
67 * scripts/update-copyrights: Update configure input file suffix.
68
88726d48
AM
69 * NEWS: Update copyright year.
70 * catgets/gencat.c: Likewise.
71 * csu/version.c: Likewise.
72 * debug/catchsegv.sh: Likewise.
73 * debug/pcprofiledump.c: Likewise.
74 * debug/xtrace.sh: Likewise.
75 * elf/ldconfig.c: Likewise.
76 * elf/ldd.bash.in: Likewise.
77 * elf/pldd.c: Likewise.
78 * elf/sotruss.ksh: Likewise.
79 * elf/sprof.c: Likewise.
80 * iconv/iconv_prog.c: Likewise.
81 * iconv/iconvconfig.c: Likewise.
82 * locale/programs/locale.c: Likewise.
83 * locale/programs/localedef.c: Likewise.
84 * login/programs/pt_chown.c: Likewise.
85 * malloc/memusage.sh: Likewise.
86 * malloc/memusagestat.c: Likewise.
87 * malloc/mtrace.pl: Likewise.
88 * manual/libc.texinfo: Likewise.
89 * nscd/nscd.c: Likewise.
90 * nss/getent.c: Likewise.
91 * nss/makedb.c: Likewise.
92 * posix/getconf.c: Likewise.
93 * scripts/test-installation.pl: Likewise.
94
d4697bc9
AM
95 * All files with FSF copyright notices: Update copyright dates
96 using scripts/update-copyrights.
97 * intl/plural.c: Regenerated.
98 * locale/programs/charmap-kw.h: Likewise.
99 * locale/programs/locfile-kw.h: Likewise.
100
c8590f9d
MF
1012013-12-31 Mike Frysinger <vapier@gentoo.org>
102
103 * sysdeps/unix/sysv/linux/configure: Regenerated.
104 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
105 the linux/fanotify.h header.
106 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
107 HAVE_LINUX_FANOTIFY_H is defined.
108
b19221b9
SP
1092013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
110
dd1d85e5
SP
111 * benchtests/cos-inputs: New inputs.
112 * benchtests/sin-inputs: Likewise.
113
1acbb90f
SP
114 * benchtests/atan-inputs: New inputs. Fix name of multiple
115 precision fallback inputs.
116
4c012ed3
SP
117 * benchtests/atanh-inputs: New inputs.
118 * benchtests/tanh-inputs: Likewise.
119
eff98324
SP
120 * benchtests/acosh-inputs: New inputs.
121 * benchtests/asinh-inputs: Likewise.
122
ce641152
SP
123 * benchtests/cosh-inputs: New inputs.
124 * benchtests/sinh-inputs: Likewise.
125
b19221b9
SP
126 * benchtests/acos-inputs: Add more inputs.
127 * benchtests/asin-inputs: Likewise.
128
030a4976 1292013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 130
030a4976 131 [BZ #16375]
9dcc8f11
VS
132 * manual/arith.texi: Fix spelling.
133 * manual/charset.texi: Likewise.
134 * manual/errno.texi: Likewise.
135 * manual/filesys.texi: Likewise.
136 * manual/lang.texi: Likewise.
137 * manual/llio.texi: Likewise.
138 * manual/locale.texi: Likewise.
139 * manual/message.texi: Likewise.
140 * manual/resource.texi: Likewise.
141 * manual/search.texi: Likewise.
142 * manual/setjmp.texi: Likewise.
143 * manual/stdio.texi: Likewise.
144 * manual/string.texi: Likewise.
145 * manual/sysinfo.texi: Likewise.
146 * manual/time.texi: Likewise.
147
11520a57
CD
1482013-12-27 Carlos O'Donell <carlos@redhat.com>
149
150 * po/sl.po: New file.
151
471103ae
MF
1522013-12-27 Mike Frysinger <vapier@gentoo.org>
153
154 * .gitignore: Add core/.gdbinit/.gdb_history.
155
6c9642ed
AM
1562013-12-27 Allan McRae <allan@archlinux.org>
157
158 [BZ #16369]
159 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
160 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
161
3f637079
BM
1622013-12-24 Brooks Moses <bmoses@google.com>
163
164 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
165 all compilers that claim C++98 compliance, not just GCC.
166 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
167 Likewise.
168
abc26e99
MK
1692013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
170
171 * NEWS: Restore accidentally deleted bug-fix entries.
172
362b47fe
MK
1732013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
174 Ondřej Bílka <neleai@seznam.cz>
175
176 [BZ #15073]
177 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 178 have_lock.
362b47fe 179
b9bcbbcb
OB
1802013-12-23 Ondřej Bílka <neleai@seznam.cz>
181
182 [BZ #12986]
183 * manual/stdio.texi (String Input Conversions): Clarify that character
184 classes are not supported.
185
fb55fcd2
AZ
1862013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
187
188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
189
ef7344f0
JM
1902013-12-22 Joseph Myers <joseph@codesourcery.com>
191
4f40e4b3
JM
192 [BZ #16337]
193 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
194 Calculate results for small negative arguments directly rather
195 than using reflection formula with special underflow handling.
196
ef7344f0
JM
197 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
198 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
199 sysdeps/unix/bsd/bsd4.4/syscalls.list.
200 (fchflags): Likewise.
201 (revoke): Likewise.
202 (setlogin): Likewise.
203 (sigaltstack): Likewise.
204 (wait4): Likewise.
205 (sigblock): Remove.
206 (sigsetmask): Likewise.
207 (wait3): Likewise.
208 (waitpid): Likewise.
209 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
210 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
211 file.
212 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
213 * sysdeps/unix/bsd/Makefile: ... here.
214 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
215 * sysdeps/unix/bsd/Versions: ... here.
216 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
217 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
218 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
219 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
220 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
221 * sysdeps/unix/bsd/sigblock.c: ... here.
222 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
223 * sysdeps/unix/bsd/sigsetmask.c: ... here.
224 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
225 * sysdeps/unix/bsd/sigvec.c: ... here.
226 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
227 * sysdeps/unix/bsd/tcdrain.c: ... here.
228 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
229 * sysdeps/unix/bsd/tcgetattr.c: ... here.
230 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
231 * sysdeps/unix/bsd/tcsetattr.c: ... here.
232 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
233 * sysdeps/unix/bsd/wait.c: ... here.
234 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
235 * sysdeps/unix/bsd/wait3.c: ... here.
236 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
237 * sysdeps/unix/bsd/waitpid.c: ... here.
238
5b0626b9
JM
2392013-12-21 Joseph Myers <joseph@codesourcery.com>
240
241 [BZ #16356]
242 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
243 round-to-nearest for [!USE_AS_EXPM1L].
244 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
245 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
246 more tests of exp and exp10. Expect some exp10 tests to miss
247 exceptions or fail in directed rounding modes.
248 * math/auto-libm-test-out: Regenerated.
249 * math/libm-test.inc (exp10_tonearest_test_data): New array.
250 (exp10_test_tonearest): New function.
251 (exp10_towardzero_test_data): New array.
252 (exp10_test_towardzero): New function.
253 (exp10_downward_test_data): New array.
254 (exp10_test_downward): New function.
255 (exp10_upward_test_data): New array.
256 (exp10_test_upward): New function.
257 (main): Call the new functions.
258 * sysdeps/i386/fpu/libm-test-ulps: Update.
259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
260
7fda5682
JM
2612013-12-20 Joseph Myers <joseph@codesourcery.com>
262
31e3a405
JM
263 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
264 asinh, atan, atan2, atanh, cbrt, cos and cosh.
265 * math/auto-libm-test-out: Regenerated.
266 * math/libm-test.inc (acosh_test_data): Add more tests.
267 (atanh_test_data): Likewise.
268 (ceil_test_data): Likewise.
269 (copysign_test_data): Likewise.
270 * sysdeps/i386/fpu/libm-test-ulps: Update.
271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
272
85bff96a
JM
273 * timezone/checktab.awk: Update from tzcode 2013i.
274 * timezone/private.h: Likewise.
275 * timezone/scheck.c: Likewise.
276 * timezone/tzfile.h: Likewise.
277 * timezone/tzselect.ksh: Likewise.
278 * timezone/zdump.c: Likewise.
279 * timezone/zic.c: Likewise.
280
b7867a3b
JM
281 * math/auto-libm-test-in: Add tests of cpow.
282 * math/auto-libm-test-out: Regenerated.
283 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
284 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
285 mpc_cc_c.
286 (func_calc_desc): Add mpc_cc_c union field.
287 (test_functions): Add cpow.
288 (special_fill_2pi): New function.
289 (special_real_inputs): Add 2pi.
290 (calc_generic_results): Handle mpc_cc_c.
291 * sysdeps/i386/fpu/libm-test-ulps: Update.
292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
293
7fda5682
JM
294 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
295 csqrt, ctan and ctanh.
296 * math/auto-libm-test-out: Regenerated.
297 * math/libm-test.inc (TEST_COND_x86_64): New macro.
298 (TEST_COND_x86): Likewise.
299 (ccos_test_data): Use AUTO_TESTS_c_c.
300 (ccosh_test_data): Likewise.
301 (cexp_test_data): Likewise.
302 (clog_test_data): Likewise.
303 (csqrt_test_data): Likewise.
304 (ctan_test_data): Likewise.
305 (ctan_tonearest_test_data): Likewise.
306 (ctan_towardzero_test_data): Likewise.
307 (ctan_downward_test_data): Likewise.
308 (ctan_upward_test_data): Likewise.
309 (ctanh_test_data): Likewise.
310 (ctanh_tonearest_test_data): Likewise.
311 (ctanh_towardzero_test_data): Likewise.
312 (ctanh_downward_test_data): Likewise.
313 (ctanh_upward_test_data): Likewise.
314 * math/gen-auto-libm-tests.c (func_calc_method): Add value
315 mpc_c_c.
316 (func_calc_desc): Add mpc_c_c union field.
317 (FUNC_mpc_c_c): New macro.
318 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
319 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
320 ctanh.
321 (special_fill_min_subnorm_p120): New function.
322 (special_real_inputs): Add min_subnorm_p120.
323 (calc_generic_results): Handle mpc_c_c.
324 * sysdeps/i386/fpu/libm-test-ulps: Update.
325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
326
5ff8d60e
SP
3272013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
328
392dd2de
SP
329 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
330 do_sin_slow): New functions.
331 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
332 cslow2, csloww1, csloww2): Use the new functions.
333
84ba214c
SP
334 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
335 Use M to change sign of result instead of X. Assume X is
336 positive.
337 (csloww1): Likewise.
338 (__sin): Adjust.
339 (__cos): Adjust.
340
975195e4
SP
341 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
342 arguments A and DA.
343 (__sin): Adjust.
344 (__cos): Likewise.
345
5ff8d60e
SP
346 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
347 (__cos): Likewise.
348 (sloww1): Don't adjust sign of DX.
349 (csloww1): Likewise.
350 (sloww2): Use X directly and don't adjust sign of DX.
351 (csloww2): Likewise.
352
eb983568
JM
3532013-12-19 Joseph Myers <joseph@codesourcery.com>
354
64a17f1a
JM
355 * math/auto-libm-test-in: Add tests of cabs and carg.
356 * math/auto-libm-test-out: Regenerated.
357 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
358 (carg_test_data): Likewise.
359 * math/gen-auto-libm-tests.c (func_calc_method): Add value
360 mpc_c_f.
361 (func_calc_desc): Add mpc_c_f union field.
362 (test_functions): Add cabs and carg.
363 (calc_generic_results): Handle mpc_c_f.
364
eb983568
JM
365 * sysdeps/powerpc/powerpc32/libgcc-compat.S
366 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
367 as a macro and a compat symbol.
368 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
369 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
370 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
371 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
372 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
373 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
374 not use .hidden.
375 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
376 Likewise.
377 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
378 Likewise.
379 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
380 Likewise.
381 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
382 Likewise.
383 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
384 Likewise.
385 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
386 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
387 from GLIBC_2.3.2.
388
6eeb678a
AZ
3892013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
390
391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
392
063b2acb
PP
3932013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
394
395 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
396 (__signal_safe_memalign, __signal_safe_free): Use it.
397 (__signal_safe_realloc): Likewise.
398
6f6fc482
JM
3992013-12-19 Joseph Myers <joseph@codesourcery.com>
400
21fea2e2
JM
401 * manual/texinfo.tex: Update to version 2013-11-26.10 with
402 trailing whitespace removed.
403 * scripts/config.guess: Update to version 2013-11-29.
404 * scripts/config.sub: Update to version 2013-10-01.
405
6f6fc482
JM
406 * math/auto-libm-test-in: Add tests of sincos.
407 * math/auto-libm-test-out: Regenerated.
408 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
409 * math/gen-auto-libm-tests.c (func_calc_method): Add value
410 mpfr_f_11.
411 (func_calc_desc): Add mpfr_f_11 union field.
412 (test_functions): Add sincos.
413 (calc_generic_results): Handle mpfr_f_11.
414 * sysdeps/i386/fpu/libm-test-ulps: Update.
415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
416
83f5c32d
AS
4172013-12-19 Andreas Schwab <schwab@suse.de>
418
419 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
420 CALL_MCOUNT.
421 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
422 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
423 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
424
c688b419
JM
4252013-12-19 Joseph Myers <joseph@codesourcery.com>
426
335ee092
JM
427 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
428 * sysdeps/i386/fpu/libm-test-ulps: Update.
429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
430
f88acd39
JM
431 [BZ #16293]
432 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
433 round-to-nearest mode when using frndint.
434 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
435 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
436 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
437 Likewise.
438 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
439 sinh test to fail.
440 * math/auto-libm-test-out: Regenerated.
441 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
442 (TEST_COND_x86): Likewise.
443 (expm1_tonearest_test_data): New array.
444 (expm1_test_tonearest): New function.
445 (expm1_towardzero_test_data): New array.
446 (expm1_test_towardzero): New function.
447 (expm1_downward_test_data): New array.
448 (expm1_test_downward): New function.
449 (expm1_upward_test_data): New array.
450 (expm1_test_upward): New function.
451 (main): Run the new test functions.
452 * sysdeps/i386/fpu/libm-test-ulps: Update.
453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
454
c688b419
JM
455 * include/features.h: Update comment documenting feature test
456 macros. Mention _DEFAULT_SOURCE in comment.
457 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
458 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
459 _BSD_SOURCE and _SVID_SOURCE.
460 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
461 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
462 !_SVID_SOURCE]: Likewise.
463 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
464 (__USE_POSIX_IMPLICITLY): Define.
465 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
466 (_POSIX_SOURCE): Undefine and redefine.
467 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
468 (_POSIX_C_SOURCE): Likewise.
469 * manual/creature.texi (_DEFAULT_SOURCE): Document.
470 (Feature Test Macros): Update documentation of default features.
471
9f6e964c
RS
4722013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
473
474 * benchtests/Makefile: Add bench-strtok.
475 * benchtests/bench-strtok.c: New file: strtok benchtest.
476
ee0a148a
AM
4772013-12-19 Allan McRae <allan@archlinux.org>
478
479 * manual/install.texi: Suppress menu for plain text output.
480 * INSTALL: Regenerated.
481
1f33d36a
PP
4822013-12-18 Andrew Hunter <ahh@google.com>
483
484 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
485 (__signal_safe_malloc, __signal_safe_free): Likewise.
486 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
487 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
488 (__signal_safe_memalign, __signal_safe_malloc): New function.
489 (__signal_safe_free, __signal_safe_realloc): Likewise.
490 (__signal_safe_calloc): Likewise.
491 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
492 functions.
493 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
494
35e8f7ab
PP
4952013-12-18 Andrew Hunter <ahh@google.com>
496
497 * elf/Versions (ld): Add _dl_clear_dtv.
498 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
499 * elf/dl-tls.c (_dl_clear_dtv): New function.
500 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
501
69a17d9d
PP
5022013-12-18 Andrew Hunter <ahh@google.com>
503
504 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
505 (_dl_unmask_signals): Likewise.
506 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
507 (_dl_unmask_all_signals): Likewise.
508 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
509 (_dl_unmask_all_signals): Likewise.
510 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
511 (_dl_unmask_signals): Likewise.
512
b9ab448f
BM
5132013-12-18 Brooks Moses <bmoses@google.com>
514
515 [BZ #15846]
516 * misc/getauxval.c: Include errno.h.
517 (__getauxval): Set errno to ENOENT if the requested type is not
518 found.
519 * misc/sys/auxv.h (getauxval): Document that it may set errno;
520 don't declare with __attribute_const__.
521 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
522 * manual/startup.texi: Document that getauxval sets errno.
523
23776487
JM
5242013-12-18 Joseph Myers <joseph@codesourcery.com>
525
f889953b
JM
526 * math/auto-libm-test-in: Add tests of jn and yn.
527 * math/auto-libm-test-out: Regenerated.
528 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
529 (yn_test_data): Likewise.
530 * math/gen-auto-libm-tests.c (func_calc_method): Add value
531 mpfr_if_f.
532 (func_calc_desc): Add mpfr_if_f union field.
533 (FUNC_mpfr_if_f): New macro.
534 (test_functions): Add jn and yn.
535 (calc_generic_results): Assert type of second input for
536 mpfr_ff_f. Handle mpfr_if_f.
537 (output_for_one_input_case): Disable all checking for arguments
538 fitting floating-point types in case of an integer argument.
539 * sysdeps/i386/fpu/libm-test-ulps: Update.
540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
541
23776487
JM
542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
543 Don't expect fegetround reference in libm.so.
544
cb756c6d
MS
5452013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
546
547 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
548 $(config-cflags-nofma).
549
2dec468f
JM
5502013-12-18 Joseph Myers <joseph@codesourcery.com>
551
5953eb3a
JM
552 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
553 * math/auto-libm-test-out: Regenerated.
554
2dec468f
JM
555 [BZ #16338]
556 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
557 to determine exponent and adjust argument to have exponent of -1.
558 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
559 log2.
560 * math/auto-libm-test-out: Regenerated.
561 * sysdeps/i386/fpu/libm-test-ulps: Update.
562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
563
4d84e6ad
OB
5642013-12-18 Ondřej Bílka <neleai@seznam.cz>
565
566 * manual/probes.texi: Remove cases when per-thread arenas are
567 disabled.
568
1818483b
AS
5692013-12-18 Andreas Schwab <schwab@suse.de>
570
571 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
572 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
573 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
574 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
575 * sysdeps/i386/i686/multiarch/Makefile: Update.
576 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
577
25de95bf
JM
5782013-12-17 Joseph Myers <joseph@codesourcery.com>
579
580 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
581 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
582
674762d9
PE
5832013-12-17 Paul Eggert <eggert@cs.ucla.edu>
584
0748546f
PE
585 Support TZ transition times < 00:00:00.
586 This is needed for version-3 tz-format files; it supports time
587 stamps past 2037 for America/Godthab (the only entry in the tz
588 database for which this change is relevant).
589 * manual/time.texi (TZ Variable): Document transition times
590 from -167:59:59 through -00:00:01.
591 * time/tzset.c (tz_rule): Time of day is now signed.
592 (__tzset_parse_tz): Parse negative time of day.
593
4480e934
PE
594 Document TZ transition times >= 25:00:00.
595 * manual/time.texi (TZ Variable): Document transition times from
596 25:00:00 through 167:59:59. These are already supported, and this
597 support will help with version-3 tz-format files.
598
69947401
PE
599 * manual/time.texi (TZ Variable): Modernize North America example
600 to reflect current (i.e., 2007-and-later) daylight saving rules.
601
674762d9
PE
602 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
603
7011c262
JM
6042013-12-17 Joseph Myers <joseph@codesourcery.com>
605
2fc6557e
JM
606 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
607 * sysdeps/unix/bsd/bits/stat.h: Likewise.
608 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
609 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
610 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
611 * sysdeps/unix/bsd/bsdstat.h: Likewise.
612 * sysdeps/unix/bsd/clock.c: Likewise.
613 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
614 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
615 * sysdeps/unix/bsd/init-posix.c: Likewise.
616 * sysdeps/unix/bsd/poll.c: Likewise.
617 * sysdeps/unix/bsd/ptsname.c: Likewise.
618 * sysdeps/unix/bsd/seekdir.c: Likewise.
619 * sysdeps/unix/bsd/setegid.c: Likewise.
620 * sysdeps/unix/bsd/seteuid.c: Likewise.
621 * sysdeps/unix/bsd/setgid.c: Likewise.
622 * sysdeps/unix/bsd/setrgid.c: Likewise.
623 * sysdeps/unix/bsd/setruid.c: Likewise.
624 * sysdeps/unix/bsd/setsid.c: Likewise.
625 * sysdeps/unix/bsd/setuid.c: Likewise.
626 * sysdeps/unix/bsd/sigaction.c: Likewise.
627 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
628 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
629 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
630 * sysdeps/unix/bsd/telldir.c: Likewise.
631 * sysdeps/unix/bsd/times.c: Likewise.
632 * sysdeps/unix/bsd/usleep.c: Likewise.
633
029c7b25
JM
634 * misc/Makefile (install-lib): Remove libbsd-compat.a.
635 ($(objpfx)libbsd-compat.a): Remove rule.
636
7011c262
JM
637 * include/features.h (__FAVOR_BSD): Do not define.
638 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
639 features conflicting with POSIX.
640 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
641 (_BSD_SOURCE): Remove description of not being a subset of other
642 feature test macros.
643 * manual/job.texi (getpgrp): Do not document BSD version.
644 (getpgid): Do not document by reference to BSD getpgrp.
645 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
646 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
647 * signal/signal.h [__FAVOR_BSD]: Likewise.
648 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
649 instead of making contents conditional on [__FAVOR_BSD].
650 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
651
affb6f78
AZ
6522013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
653
654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
655
c88769dd
JM
6562013-12-17 Joseph Myers <joseph@codesourcery.com>
657
6432a540
JM
658 [BZ #16314]
659 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
660 values below 2**-450, not 2**-500.
661 * math/auto-libm-test-in: Don't allow spurious underflow from
662 hypot.
663 * math/auto-libm-test-out: Regenerated.
664
c88769dd
JM
665 [BZ #16316]
666 [BZ #16330]
667 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
668 values of ha and hb and sort them after adjusting subnormal
669 arguments.
670 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
671 Likewise.
672 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
673 values of ea and eb and sort them after adjusting subnormal
674 arguments.
675 * math/auto-libm-test-in: Do not expect some hypot tests of
676 subnormals to fail. Add more hypot tests.
677 * math/auto-libm-test-out: Regenerated.
678
29618f6b
KK
6792013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
680
681 [BZ #13304]
682 * sysdeps/sh/s_fma.c: New file.
683 * sysdeps/sh/s_fmaf.c: New file.
684 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
685 version.
686 * sysdeps/sh/Implies: Add sh/soft-fp.
687
eacfdfbf
RM
6882013-12-16 Roland McGrath <roland@hack.frob.com>
689
690 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
691 level of indirection to members `objname', `errstring', `malloced'.
692 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
693 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
694 it as the __longjmp argument (just pass 1 instead).
695 (_dl_catch_error): Initialize C with argument pointers and address of
696 volatile local ERRCODE rather than copying values out of C at return.
697
ff362e5b
JM
6982013-12-16 Joseph Myers <joseph@codesourcery.com>
699
700 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
701 * math/auto-libm-test-out: Regenerated.
702 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
703 (hypot_test_data): Likewise.
704 (pow_test_data): Likewise.
705 (pow_tonearest_test_data): Likewise.
706 * math/gen-auto-libm-tests.c (func_calc_method): Add value
707 mpfr_ff_f.
708 (func_calc_desc): Add mpfr_ff_f union field.
709 (FUNC_mpfr_ff_f): New macro.
710 (test_functions): Add atan2, hypot and pow.
711 (special_fill_min): New function.
712 (special_fill_minus_min): Likewise.
713 (special_fill_min_subnorm): Likewise.
714 (special_fill_minus_min_subnorm): Likewise.
715 (special_real_inputs): Add min, -min, min_subnorm and
716 -min_subnorm.
717 (calc_generic_results): Handle mpfr_ff_f.
718 * sysdeps/i386/fpu/libm-test-ulps: Update.
719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
720
5764c27f
WN
7212013-12-16 Will Newton <will.newton@linaro.org>
722
723 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
724 (Aligned Memory Blocks): Add documentation for aligned_alloc
725 and suggest it as an alternative to posix_memalign.
726 (Hooks for Malloc): Document __memalign_hook is also called
727 for aligned_alloc. (Summary of Malloc): Add summary for
728 aligned alloc. Document __memalign_hook is also called
729 for aligned_alloc.
730
0a096e44
WN
7312013-12-16 Will Newton <will.newton@linaro.org>
732
733 * manual/memory.texi (Malloc Examples): Clarify default
734 alignment documentation. Suggest posix_memalign rather
735 than memalign or valloc.
736 (Aligned Memory Blocks): Remove suggestion to use memalign
737 or valloc. Remove obsolete comment about BSD.
738 Document memalign errno values and mark the function obsolete.
739 Document posix_memalign returned error codes. Mark valloc
740 as obsolete. (Hooks for Malloc): __memalign_hook is also
741 called for posix_memalign and valloc.
742 (Summary of Malloc): Add posix_memalign to function summary.
743 __memalign_hook is also called for posix_memalign and valloc.
744
8d561986
SP
7452013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
746
747 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
748 TAYLOR_SIN.
749 (__sin): Adjust.
750 (__cos): Likewise.
751 (sloww): Use mynumber union. Expand ternary operator into
752 if-else statements.
753 (cslow): use mynumber union.
754
73616a74
AM
7552013-12-16 Allan McRae <allan@archlinux.org>
756
9e8ac24b
AM
757 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
758 * configure: Regenerated.
759
6f8e37eb
AM
760 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
761
8894bad3
AM
762 [BZ #14120]
763 * configure.ac: Added --enable-maintainer-mode. Check for
764 autoconf when enabled.
765 * configure: Regenerated.
766
73616a74
AM
767 * nscd/nscd.service: New file.
768 * nscd/nscd.tmpfiles: New file.
769
584b18eb
OB
7702013-12-14 Ondřej Bílka <neleai@seznam.cz>
771
772 [BZ #12100]
773 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
774 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
775 * sysdeps/x86_64/multiarch/strstr.c: ... here.
776 (strstr): Add __strstr_sse2_unaligned ifunc.
777 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
778 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
779 (strcasestr): Remove __strcasestr_sse42 ifunc.
780 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
781 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
782 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
783
8a5c7897
KK
7842013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
785
786 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
787 * sysdeps/sh/bits/fenv.h: ... here.
788 * sysdeps/sh/sh4/fpu/bits: Remove directory.
789
fd712ef3
AZ
7902013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
791
792 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
793
42fcb46c
AZ
7942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
795
796 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
797 hypotf multiarch implementations.
798 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
799 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
800 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
801 multiarch hypot for PPC64.
802 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
803 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
804 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
805 multiarch hypotf for PPC64.
806
83efded4
AZ
8072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
808
809 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
810 modff multiarch implementations.
811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
814 multiarch modf for PPC64.
815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
818 multiarch modff for PPC64.
819
43e246d2
AZ
8202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
821
822 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
823 and logl multiarch implementations.
824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
827 multiarch logb for PPC64.
828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
831 multiarch logb for PPC64.
832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
835 multiarch logb for PPC64.
836
8fdad123
AZ
8372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
838
839 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
840 isinff multiarch implementation.
841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
842 file.
843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
845 multiarch isinf for PPC64.
846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
847 file.
848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
849 multiarch isinff for PPC64.
850
1481d706
AZ
8512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
852
853 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
854 finitef multiarch implementation.
855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
856 file.
857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
859 multiarch finite for PPC64.
860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
861 file.
862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
863 multiarch finitef for PPC64.
864
5ccd5fc8
AZ
8652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
866
867 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
868 lrint multiarch implementation.
869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
870 file.
871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
873 multiarch llrint for PPC64.
874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
875 multiarch lrint for PPC64.
876
2568f3fa
AZ
8772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
878
879 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
880 copysignf multiarch implementation.
881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
882 file.
883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
884 file.
885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
886 multiarch copysign for PPC64.
887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
888 multiarch copysignf for PPC64.
889
1cb341fd
AZ
8902013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
891
892 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
893 multiarch implementation.
894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
895 file.
896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
897 file.
898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
899 file.
900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
901 file.
902 multiarch llround for PPC64.
903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
904 multiarch trunc for PPC64.
905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
906 multiarch truncf for PPC64.
907
59a3e194
AZ
9082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
909
910 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
911 multiarch implementation.
912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
913 file.
914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
915 file.
916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
917 file.
918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
919 file.
920 multiarch llround for PPC64.
921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
922 multiarch round for PPC64.
923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
924 multiarch roundf for PPC64.
925
357fd3b4
AZ
9262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
927
928 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
929 multiarch implementation.
930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
931 file.
932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
933 file.
934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
935 file.
936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
937 file.
938 multiarch llround for PPC64.
939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
940 multiarch floor for PPC64.
941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
942 multiarch floorf for PPC64.
943
96770f12
AZ
9442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
945
946 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
947 multiarch implementation.
948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
949 file.
950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
951 file.
952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
953 file.
954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
955 file.
956 multiarch llround for PPC64.
957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
958 multiarch ceil for PPC64.
959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
960 multiarch ceilf for PPC64.
961
c3627f6e
AZ
9622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
963
964 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
965 multiarch implementation.
966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
967 file.
968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
969 file.
970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
971 file.
972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
973 multiarch llround for PPC64.
974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
975 multiarch lround for PPC64.
976
b2284ad7
AZ
9772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
978
979 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
980 multiarch implementation.
981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
984 file.
985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
988 multiarch isnan for PPC64.
989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
990 multiarch isnanf for PPC64.
991
69bbc63d
AZ
9922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
993
994 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
995 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
996 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
997 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
998 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1000
c24517c9
AZ
10012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1002
1003 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1004 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1005 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1006 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1007
a52374e8
AZ
10082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1009
1010 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1011 multiarch implementations.
1012 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1013 (__libc_ifunc_impl_list): Likewise.
1014 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1015 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1016 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1017 multiarch stpcpy for PPC64.
1018
7f5ec113
AZ
10192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1020
1021 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1022 multiarch implementations.
1023 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1024 (__libc_ifunc_impl_list): Likewise.
1025 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1026 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1027 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1028 multiarch strcpy for PPC64.
1029
e28bcd42
AZ
10302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1031
1032 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1033 redefine function name.
1034 (_wordcopy_fwd_dest_aligned): Likewise.
1035 (_wordcopy_bwd_aligned): Likewise.
1036 (_wordcopy_bwd_dest_aligned): Likewise.
1037 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1038 multiarch implementations.
1039 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1040 (__libc_ifunc_impl_list): Likewise.
1041 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1042 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1043 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1044 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1045 multiarch wcscpy for PPC64.
1046
92cacfce
AZ
10472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1048
1049 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1050 multiarch implementations.
1051 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1052 (__libc_ifunc_impl_list): Likewise.
1053 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1054 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1055 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1056 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1057 multiarch wcscpy for PPC64.
1058
7b714620
AZ
10592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1060
1061 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1062 multiarch implementations.
1063 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1064 (__libc_ifunc_impl_list): Likewise.
1065 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1066 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1067 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1068 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1069 multiarch wcsrchr for PPC64.
1070
16fd2ae3
AZ
10712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1072
1073 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1074 multiarch implementations.
1075 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1076 (__libc_ifunc_impl_list): Likewise.
1077 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1078 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1079 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1080 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1081 multiarch wcschr for PPC64.
1082
9ee2969b
AZ
10832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1084
1085 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1086 multiarch implementations.
1087 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1088 (__libc_ifunc_impl_list): Likewise.
1089 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1090 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1091 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1092 multiarch strchrnul for PPC64.
1093
372dc060
AZ
10942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1095
1096 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1097 implementations.
1098 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1099 (__libc_ifunc_impl_list): Likewise.
1100 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1101 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1102 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1103 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1104 strchr for PPC64.
1105
24c2c3b9
AZ
11062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1107
1108 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1109 implementations.
1110 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1111 (__libc_ifunc_impl_list): Likewise.
1112 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1113 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1114 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1115 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1116 strncmp for PPC64.
1117
1c92d9a0
AZ
11182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1119
1120 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1121 multiarch implementations.
1122 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1123 (__libc_ifunc_impl_list): Likewise.
1124 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1125 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1126 strncasecmp for PPC64.
1127 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1128 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1129 multiarch strncasecmp_l for PPC64.
1130
17de3ee3
AZ
11312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1132
1133 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1134 multiarch implementations.
1135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1136 (__libc_ifunc_impl_list): Likewise.
1137 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1138 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1139 multiarch strcasecmp for PPC64.
1140 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1141 file.
1142 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1143 multiarch strcasecmp_l for PPC64.
1144
62982bf9
AZ
11452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1146
1147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1148 implementations.
1149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1150 (__libc_ifunc_impl_list): Likewise.
1151 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1152 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1153 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1154 strnlen for PPC64.
1155
a65f4904
AZ
11562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1157
1158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1159 implementations.
1160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1161 (__libc_ifunc_impl_list): Likewise.
1162 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1163 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1164 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1165 strlen for PPC64.
1166
1fd005ad
AZ
11672013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1168
1169 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1170 implementations.
1171 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1172 (__libc_ifunc_impl_list): Likewise.
1173 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1174 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1175 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1176 rawmemrchr for PPC64.
1177
cd05ba91
AZ
11782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1179
1180 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1181 implementation.
1182 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1183 (__libc_ifunc_impl_list): Likewise.
1184 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1185 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1186 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1187 memrchr for PPC64.
1188
870f8676
AZ
11892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1190
1191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1192 implementation.
1193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1194 (__libc_ifunc_impl_list): Likewise.
1195 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1196 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1197 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1198 memchr for PPC64.
1199
f00be62b
AZ
12002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1201
1202 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1203 implementation.
1204 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1205 (__libc_ifunc_impl_list): Likewise.
1206 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1207 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1208 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1209 mempcpy for PPC64.
1210
8a29a3d0
AZ
12112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1212
1213 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1214 avoid cretion of __bzero symbol.
1215 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1216 Likewise.
1217 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1218 Likewise.
1219 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1220 Likewise.
1221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1222 multiarch implementations.
1223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1224 (__libc_ifunc_impl_list): Likewise.
1225 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1226 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1227 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1228 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1229 bzero for PPC32.
1230 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1231 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1232 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1233 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1234 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1235 memset for PPC64.
1236 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1237
07253fcf
AZ
12382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1239
1240 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1241 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1242 implementations.
1243 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1244 (__libc_ifunc_impl_list): Likewise.
1245 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1246 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1247 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1248 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1249 memcmp for PPC64.
1250
b5beafbc
AZ
12512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1252
1253 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1254 multiarch for POWER/PPC64.
1255 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1256 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1257 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1258 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1259 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1260 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1261 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1262 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1263 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1264 memcpy for PPC64.
1265
5e6a4d4b
AZ
12662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1267
1268 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1269 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1270 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1271 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1272 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1273 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1274 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1275 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1276 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1277 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1278 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1279 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1280 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1281 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1282 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1290
ddfab6dc
KK
12912013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1292
1293 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1294
19b5525e
SP
12952013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1296
1297 * benchtests/Makefile (bench): Add exp2 and log2.
1298 (LDLIBS-bench-exp2): Add -lm.
1299 (LDLIBS-bench-log2): Likewise.
1300 * benchtests/exp2-inputs: New inputs file.
1301 * benchtests/log2-inputs: New inputs file.
1302 * benchtests/log-inputs: Add new inputs.
1303 * benchtests/tan-inputs: Likewise.
1304
196f7f5d
SP
13052013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1306
7a74607f
SP
1307 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1308 definition...
1309 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1310 csloww1, csloww2): ... from here.
1311
196f7f5d
SP
1312 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1313 instead of structures.
1314 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1315 (POLYNOMIAL): Likewise.
1316 (TAYLOR_SLOW): Likewise.
1317 (__sin): Likewise.
1318 (__cos): Likewise.
1319 (slow1): Likewise.
1320 (slow2): Likewise.
1321 (sloww): Likewise.
1322 (sloww1); Likewise.
1323 (sloww2): Likewise.
1324 (bsloww1): Likewise.
1325 (bsloww2): Likewise.
1326 (cslow2): Likewise.
1327 (csloww): Likewise.
1328 (csloww1): Likewise.
1329 (csloww2): Likewise.
1330
0dfa665c
OB
13312013-12-10 Ondřej Bílka <neleai@seznam.cz>
1332
1333 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1334 (__malloc_assert, __libc_realloc, __libc_calloc,
1335 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1336 memcpy and memset.
1337 * malloc/hooks.c (realloc_check): Likewise.
1338
5782a80f
OB
13392013-12-10 Ondřej Bílka <neleai@seznam.cz>
1340
1341 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1342 * malloc/arena.c: Remove PER_THREAD conditional.
1343 [!PER_THREAD]: Remove code.
1344 (ptmalloc_unlock_all2): Likewise.
1345 (ptmalloc_init): Likewise.
1346 (_int_new_arena): Likewise.
1347 (arena_get2): Likewise.
1348 * malloc/hooks.c (__malloc_get_state): Likewise.
1349 (__malloc_set_state): Likewise.
1350 * malloc/malloc.c: Likewise.
1351 (struct malloc_state): Likewise.
1352 (struct malloc_par): Likewise.
1353 (__libc_realloc): Likewise.
1354 (__libc_mallopt): Likewise.
1355
aeb95445
AZ
13562013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1357
1358 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1359
e8349efd
OB
13602013-12-09 Ondřej Bílka <neleai@seznam.cz>
1361
1362 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1363 macro to a function. Check for zero perturb_byte.
1364 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1365
f3eeb3fc
OB
13662013-12-09 Ondřej Bílka <neleai@seznam.cz>
1367
1368 * malloc/malloc.c: (force_reg): Remove.
1369 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1370 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1371 force_reg by atomic_forced_read.
1372 * malloc/arena.c (ptmalloc_init): Likewise.
1373 * malloc/hooks.c (top_check): Likewise.
1374
be2f9009
AZ
13752013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1376
1377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1378
e7b914bd
MT
13792013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1380
1381 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1382
9f0be4f8
JM
13832013-12-08 Joseph Myers <joseph@codesourcery.com>
1384
1385 * math/auto-libm-test-in: Add tests of lgamma.
1386 * math/auto-libm-test-out: Regenerated.
1387 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1388 (M_LOG_2_SQRT_PIl): Likewise.
1389 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1390 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1391 mpfr_f_f1.
1392 (func_calc_desc): Add mpfr_f_f1 union field.
1393 (ARGS1): New macro.
1394 (ARGS2): Likewise.
1395 (ARGS3): Likewise.
1396 (ARGS4): Likewise.
1397 (RET1): Likewise.
1398 (RET2): Likewise.
1399 (CALC): Likewise.
1400 (FUNC): Likewise.
1401 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1402 (test_functions): Add lgamma.
1403 (calc_generic_results): Handle mpfr_f_f1.
1404 * sysdeps/i386/fpu/libm-test-ulps: Update.
1405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1406
24eeafdb
AZ
14072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1408
1409 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1410 __mpn_add_n for PowerPC64/POWER7.
1411 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1412 __mpn_sub_n for PowerPC64/POWER7.
1413
4a2c0fd4
AZ
14142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1415
1416 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1417 __mpn_addmul_1 for PowerPC64.
1418 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1419 __mpn_submul_1 for PowerPC64.
1420 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1421 for PowerPC64.
1422 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1423 for PowerPC64.
1424
4b5b548c
FS
14252013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1426
1427 [BZ #15089]
1428 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1429
0a3ac0aa
AZ
14302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1431
1432 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1433
ccdc8438
AZ
14342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1435
1436 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1437 add multiarch folders.
1438 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1439 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1440 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1441 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1442 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1443 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1444 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1445 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1446 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1447 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1448 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1455
2e973d99
AZ
14562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1457
1458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1459 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1461 New file.
1462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1463 New file.
1464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1465 multiarch __ieee754_hypot for PowerPC32.
1466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1467 New file.
1468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1469 New file.
1470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1471 multiarch __ieee754_hypotf for PowerPC32.
1472
2d9470b2
AZ
14732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1474
1475 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1476 long_double_symbol only if __logbl is defined.
1477 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1478 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1479 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1480 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1481 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1482 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1483 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1484 path for implementation.
1485 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1486 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1488 logb, and logbl multiarch implementations for PowerPC32.
1489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1490 file.
1491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1492 file.
1493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1494 multiarch logb for PowerPC32.
1495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1496 file.
1497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1498 file.
1499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1500 multiarch logbf for PowerPC32.
1501 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1503 file.
1504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1505 multiarch logbl implementation for PowerPC32.
1506
5212ffce
AZ
15072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1508
1509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1510 and modff multiarch implementations.
1511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1512 New file.
1513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1514 New file.
1515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1516 multiarch modf for PowerPC32.
1517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1518 New file.
1519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1520 New file.
1521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1522 multiarch modff for PowerPC32.
1523
79dccf31
AZ
15242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1525
1526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1527 and lrintf multiarch implementations.
1528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1529 New file.
1530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1531 New file.
1532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1533 multiarch lrint for PowerPC32.
1534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1535 file: multiarch lrintf for PowerPC32.
1536
deb66480
AZ
15372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1538
1539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1540 and lroundf multiarch implementations.
1541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1542 New file.
1543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1544 New file.
1545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1546 New file.
1547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1548 multiarch lround for PowerPC32.
1549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1550 file: multiarch lroundf for PowerPC32.
1551
264b036b
AZ
15522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1553
1554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1555 copysign and copysignf multiarch implementations.
1556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1557 New file.
1558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1559 New file.
1560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1561 file: multiarch copysign for PowerPC32.
1562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1563 file: multiarch copysignf for PowerPC32.
1564
d47db6c9
AZ
15652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1566
1567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1568 and truncf multiarch implementations.
1569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1570 New file.
1571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1572 file.
1573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1574 multiarch trunc for PowerPC32.
1575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1576 New file.
1577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1578 New file.
1579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1580 multiarch truncf for PowerPC32.
1581
ddb60b5a
AZ
15822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1583
1584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1585 and roundf multiarch implementations.
1586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1587 New file.
1588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1589 file.
1590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1591 multiarch round for PowerPC32.
1592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1593 New file.
1594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1595 New file.
1596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1597 multiarch roundf for PowerPC32.
1598
bedcf49b
AZ
15992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1600
1601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1602 and floorf multiarch implementations.
1603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1604 New file.
1605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1606 file.
1607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1608 multiarch floor for PowerPC32.
1609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1610 New file.
1611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1612 New file.
1613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1614 multiarch floorf for PowerPC32.
1615
35ae5b40
AZ
16162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1617
1618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1619 and ceilf multiarch implementations.
1620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1621 New file.
1622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1623 file.
1624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1625 multiarch ceil for PowerPC32.
1626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1627 New file.
1628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1629 file.
1630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1631 multiarch ceilf for PowerPC32.
1632
ae1a4cd9
AZ
16332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1634
1635 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1636 is defined.
1637 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1638 FINITEF is defined.
1639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1640 and finitef multiarch implementations.
1641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1642 New file.
1643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1644 file.
1645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1646 multiarch finite for PowerPC32.
1647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1648 New file.
1649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1650 file: multiarch finitef for PowerPC32.
1651
64fffd65
AZ
16522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1653
1654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1655 and isinff multiarch implementations.
1656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1657 file.
1658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1659 file.
1660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1661 multiarch isinf for PowerPC32.
1662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1663 New file.
1664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1665 multiarch isinff for PowerPC32.
1666
8e4e7ba2
AZ
16672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1668
1669 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1670 alias when __isnan is defined.
1671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1672 and isnanf multiarch implementations.
1673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1674 file.
1675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1676 file.
1677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1678 file.
1679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1680 file.
1681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1682 multiarch isnan for PowerPC32.
1683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1684 New file.
1685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1686 New file.
1687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1688 multiarch isnanf for PowerPC32.
1689
ddba588e
AZ
16902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1691
1692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1693 and sqrtf multiarch implementations.
1694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1695 file.
1696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1697 file.
1698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1699 multiarch sqrt for PowerPC32.
1700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1701 file.
1702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1703 file.
1704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1705 multiarch sqrtf for PowerPC32.
1706
0f96a2f0
AZ
17072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1708
1709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1710 and llroundf multiarch implementations.
1711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1712 New file.
1713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1714 New file.
1715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1716 New file.
1717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1718 file: multiarch llround for PowerPC32.
1719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1720 file: multiarch llroundf for PowerPC32.
1721
c9b5d79e
AZ
17222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1723
1724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1725 multiarch PowerPC32 fpu implementations.
1726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1727 New file.
1728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1729 New file.
1730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1731 multiarch llrint for PowerPC32.
1732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1733 New file.
1734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1735 New file.
1736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1737 file.
1738
9cbb3aab
AZ
17392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1740
1741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1742
ea5a72f8
AZ
17432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1744
1745 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1746 file.
1747 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1748 file.
1749 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1750 file.
1751 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1752 multiarch wordcopy for PPC32.
1753 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1754 wordcopy objects.
1755 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1756 (__libc_ifunc_impl_list): Likewise.
1757 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1758 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1759 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1760 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1761 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1762 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1763
93be09e7
AZ
17642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1765
1766 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1767 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1768 file.
1769 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1770 file.
1771 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1772 file.
1773 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1774 multiarch wcscpy for PPC32.
1775 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1776 multiarch objects.
1777 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1778 (__libc_ifunc_impl_list): Likewise.
1779 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1780 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1781 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1782 sysdeps/powerpc/power6/wcscpy.c.
1783
bb04e529
AZ
17842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1785
1786 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1787 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1788 file.
1789 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1790 file.
1791 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1792 file.
1793 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1794 multiarch wcsrchr for PPC32.
1795 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1796 multiarch objects.
1797 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1798 (__libc_ifunc_impl_list): Likewise.
1799 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1800 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1801 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1802 sysdeps/powerpc/power6/wcsrchr.c.
1803
05b5cd1c
AZ
18042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1805
1806 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1807 file.
1808 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1809 file.
1810 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1811 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1812 multiarch wcschr for PPc32.
1813 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1814 multiarch objects.
1815 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1816 (__libc_ifunc_impl_list): Likewise.
1817 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1818 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1819 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1820 sysdeps/powerpc/power6/wcschr.c.
1821
ba964147
AZ
18222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1823
1824 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1825 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1826 file.
1827 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1828 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1829 file: multiarch strchr for PPC32.
1830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1831 multiarch objects.
1832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1833 (__libc_ifunc_impl_list): Likewise.
1834
31c81aaa
AZ
18352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1836
1837 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1838 name.
1839 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1840 file.
1841 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1842 file.
1843 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1844 multiarch strchrnul for PPC32.
1845 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1846 multiarch objects.
1847 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1848 (__libc_ifunc_impl_list): Likewise.
1849
0d0607d9
AZ
18502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1851
1852 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1853 file.
1854 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1855 multiarch strncasecmp for PPC32.
1856 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1857 file.
1858 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1859 multiarch strncasecmp_l for PPC32.
1860 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1861 strncasecmp multiarch objects.
1862 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1863 (__libc_ifunc_impl_list): Likewise.
1864
4dfd5c86
AZ
18652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1866
1867 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1868 file.
1869 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1870 multiarch strncasecmp for PPC32.
1871 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1872 New file.
1873 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1874 multiarch strcasecmp_l for PPC32.
1875 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1876 multiarch objects.
1877 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1878 (__libc_ifunc_impl_list): Likewise.
1879
a19e01a3
AZ
18802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1881
1882 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1883 file.
1884 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1885 file.
1886 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1887 multiarch strncmp for PPC32.
1888 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1889 multiarch objects.
1890 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1891 (__libc_ifunc_impl_list): Likewise.
1892
ae9cf7a2
AZ
18932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1894
1895 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1896 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1897 file.
1898 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1899 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1900 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1901 multiarch objects.
1902 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1903 (__libc_ifunc_impl_list): Likewise.
1904
3148bb7d
AZ
19052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1906
1907 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1908 file.
1909 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1910 file.
1911 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1912 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1913 multiarch objects.
1914 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1915 (__libc_ifunc_impl_list): Likewise.
1916
7af8b946
AZ
19172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1918
1919 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1920 file.
1921 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1922 file.
1923 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1924 multiarch rawmemchr for PPC32.
1925 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1926 multiarch objects.
1927 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1928 (__libc_ifunc_impl_list): Likewise.
1929
03a6aa6a
AZ
19302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1931
1932 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1933 file.
1934 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1935 file.
1936 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1937 file: memrchr multiarch for PPC32.
1938 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1939 multiarch objects.
1940 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1941 (__libc_ifunc_impl_list): Likewise.
1942
1c62e6d9
AZ
19432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1944
1945 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1946 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1947 file.
1948 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1949 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1950 multiarch memchr for PPC32.
1951 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1952 multiarch objects.
1953 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1954 (__libc_ifunc_impl_list): Likewise.
1955
87da8bdb
AZ
19562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1957
1958 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1959 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1960 file.
1961 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1962 file.
1963 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1964 file: multiarch mempcpy for PPC32.
1965 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1966 multiarch objects.
1967 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1968 (__libc_ifunc_impl_list): Likewise.
1969
20ed4714
AZ
19702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1971
1972 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1973 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1974 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1975 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1976 multiarch bzero for PPC32.
1977 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1978 file.
1979 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1980 file.
1981 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1982 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1983 file: multiarch memset for PPC32.
1984 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1985 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1986 memset multiarch objects.
1987 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1988 (__libc_ifunc_impl_list): Likewise.
1989
ab3e3a46
AZ
19902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1991
1992 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1993 file.
1994 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1995 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1996 memcmp for PPC32.
1997 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1998 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1999 multiarch objects.
2000 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2001 (__libc_ifunc_impl_list): Likewise.
2002
930de6f0
AZ
20032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2004
2005 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2006 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2007 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2008 file.
2009 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2010 file.
2011 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2012 file.
2013 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2014 multiarch memcpy for PPC32.
2015 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2016 multiarch objects.
2017 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2018 (__libc_ifunc_impl_list): Likewise.
2019
4c628e00
AZ
20202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2021
2022 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2023 support multiarch for POWER/PPC32.
2024 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2025 Likewise.
2026 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2028 Implies file to make multiarch folder appers before the fpu and
2029 default folder for power4 configuration.
2030
f4479220
SP
20312013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2032
2033 * scripts/bench.pl: Append volatile keyword to type.
2034
8517800f
KK
20352013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2036
2037 * sysdeps/sh/sotruss-lib.c: New file.
2038 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2039
180138f1
AZ
20402013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2041
2042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2043
bbf37bdc
JM
20442013-12-05 Joseph Myers <joseph@codesourcery.com>
2045
e47cc4e0
JM
2046 [BZ #6810]
2047 * math/w_tgamma.c: Include <errno.h>.
2048 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2049 * math/w_tgammaf.c: Include <errno.h>.
2050 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2051 * math/w_tgammal.c: Include <errno.h>.
2052 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2053 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2054 underflow. Add more tgamma tests.
2055 * math/auto-libm-test-out: Regenerated.
2056 * sysdeps/i386/fpu/libm-test-ulps: Update.
2057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2058
bbf37bdc
JM
2059 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2060 sin, sinh, tan, tanh, tgamma, y0 and y1.
2061 * math/auto-libm-test-out: Regenerated.
2062 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2063 (TEST_COND_x86): Likewise.
2064 (M_E2l): Remove macro.
2065 (M_E3l): Likewise.
2066 (M_2_SQRT_PIl): Likewise.
2067 (M_SQRT_PIl): Likewise.
2068 (M_1_DIV_El): Likewise.
2069 (log_test_data): Use AUTO_TESTS_f_f.
2070 (log10_test_data): Likewise.
2071 (log1p_test_data): Likewise.
2072 (log2_test_data): Likewise.
2073 (sin_test_data): Likewise.
2074 (sin_tonearest_test_data): Likewise.
2075 (sin_towardzero_test_data): Likewise.
2076 (sin_downward_test_data): Likewise.
2077 (sin_upward_test_data): Likewise.
2078 (sinh_test_data): Likewise.
2079 (sinh_tonearest_test_data): Likewise.
2080 (sinh_towardzero_test_data): Likewise.
2081 (sinh_downward_test_data): Likewise.
2082 (sinh_upward_test_data): Likewise.
2083 (tan_test_data): Likewise.
2084 (tan_tonearest_test_data): Likewise.
2085 (tan_towardzero_test_data): Likewise.
2086 (tan_downward_test_data): Likewise.
2087 (tan_upward_test_data): Likewise.
2088 (tanh_test_data): Likewise.
2089 (tgamma_test_data): Likewise.
2090 (y0_test_data): Likewise.
2091 (y1_test_data): Likewise.
2092 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2093 (special_real_inputs): Add pi/4.
2094 * sysdeps/i386/fpu/libm-test-ulps: Update.
2095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2096
eb5ad6b9
AZ
20972013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2098
2099 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2100 "longjmp_target" static probes.
2101 (__longjmp): Rename to __longjmp_symbol.
2102 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2103 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2104 on which longjmp to generate.
2105 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2106 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2107 probe.
2108 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2109 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2110 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2111 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2112 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2113 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2115 __longjmp_symbol based on which __longjmp to generate.
2116 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2117 probe.
2118 (setjmp): Rename to setjmp_symbol.
2119 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2120 (_setjmp): Rename to _setjmp_symbol.
2121 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2122 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2123 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2124 which setjmp to generate.
2125 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2126 "longjmp_target" static probes.
2127
d136c6dc
SP
21282013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2129
9298ecba
SP
2130 * benchtests/README: Add note about output arguments.
2131 * benchtests/bench-sincos.c: Remove file.
2132 * benchtests/sincos-inputs: New file.
2133 * scripts/bench.pl: Identify output arguments and define
2134 static variables for them.
2135
232983e9
SP
2136 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2137
d136c6dc
SP
2138 [BZ #15941]
2139 * Makefile (INSTALL): Add install-plain.texi as the primary
2140 dependency.
2141 * manual/install-plain.texi: New file.
2142 * manual/install.texi: Include node directive only for
2143 non-plaintext output.
2144
699ff837
JM
21452013-12-04 Joseph Myers <joseph@codesourcery.com>
2146
ab07cea8
JM
2147 * stdlib/longlong.h: Update from GCC.
2148
699ff837
JM
2149 [BZ #6807]
2150 [BZ #15901]
2151 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2152 * math/w_j0f.c (y0f): Likewise.
2153 * math/w_j0l.c (__y0l): Likewise.
2154 * math/w_j1.c (y1): Likewise.
2155 * math/w_j1f.c (y1f): Likewise.
2156 * math/w_j1l.c (__y1l): Likewise
2157 * math/w_jn.c (yn): Likewise.
2158 * math/w_jnf.c (ynf): Likewise.
2159 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2160 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2161 value for Bessel function domain errors outside _SVID_ mode.
2162 Adjust sign of return value for yn (negative integer, 0).
2163 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2164 by zero in return for negative x and set sign appropriately for
2165 negative n.
2166 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2167 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2168 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2169 expectations in error cases.
2170 (y1_test_data): Likewise.
2171 (yn_test_data): Likewise.
2172 * sysdeps/i386/fpu/libm-test-ulps: Update.
2173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2174
5b118558
UW
21752013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2176
2177 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2178 "64" to "64-v1". Add "64-v2".
2179 (abi-64-options): Rename to ...
2180 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2181 (abi-64-condition): Rename to ...
2182 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2183 (abi-64-ld-soname): Rename to ...
2184 (abi-64-v1-ld-soname): ... this.
2185 (abi-64-v2-options): Define.
2186 (abi-64-v2-condition): Likewise.
2187 (abi-64-v2-ld-soname): Likewise.
2188 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2189 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2193
61cd8fe4
UW
21942013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2195 Alan Modra <amodra@gmail.com>
2196
2197 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2198 New versions for use with the ELFv2 ABI.
2199 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2200 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2201 declaration.
2202 (struct La_ppc64v2_retval): Likewise.
2203 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2204 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2205 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2206 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2207 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2208 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2209 Do not save or restore CR.
2210 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2211 (_dl_profile_resolve): Do no save or restore CR. Support extended
2212 return values for ELFv2 ABI. Fix location of FPR return registers.
2213 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2214 updated values for _CALL_ELF == 2.
2215 (La_regs, La_retval, int_retval): Likewise.
2216
8b8a692c
UW
22172013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2218
2219 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2220 (FRAME_MIN_SIZE_PARM): Likewise.
2221 (FRAME_BACKCHAIN): Likewise.
2222 (FRAME_CR_SAVE): Likewise.
2223 (FRAME_LR_SAVE): Likewise.
2224 (FRAME_TOC_SAVE): Likewise.
2225 (FRAME_PARM_SAVE): Likewise.
2226 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2227 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2228 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2229 (call_mcount_parm_offset): New macro.
2230 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2231 (PROF): Use symbolic stack frame offsets.
2232 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2233 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2234 Redefine in terms of FRAME_MIN_SIZE.
2235 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2236 (_dl_profile_resolve): Likewise. Update comment.
2237 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2238 symbols stack frame offsets.
2239 (__sigsetjmp): Likewise.
2240 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2241 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2242 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2243 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2244
2245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2246 (FRAME_BACKCHAIN): Remove.
2247 (FRAME_CR_SAVE): Likewise.
2248 (FRAME_LR_SAVE): Likewise.
2249 (FRAME_COMPILER_DW): Likewise.
2250 (FRAME_LINKER_DW): Likewise.
2251 (FRAME_TOC_SAVE): Likewise.
2252 (FRAME_PARM_SAVE): Likewise.
2253 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2254 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2255 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2257 (CHECK_SP): Use symbolic stack frame offsets.
2258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2259 zone" instead of caller's parameter save area for temp storage.
2260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2261 Likewise. Also, use symbolic stack frame offsets.
2262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2263 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2264 our own stack frame instead of the caller's.
2265 (__socket): Use symbolic stack frame offsets.
2266
122b66de
UW
22672013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2268 Alan Modra <amodra@gmail.com>
2269
2270 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2271 Define.
2272 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2273 PPC64_LOCAL_ENTRY_OFFSET): Define.
2274 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2275 New function.
2276 (elf_machine_fixup_plt): Call it.
2277 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2278 reloc arguments.
2279 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
2280 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2281 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
2282 r2 before calling target.
2283
696caf1d
UW
22842013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2285 Alan Modra <amodra@gmail.com>
2286
2287 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2288 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2289 versions of macros to support ELFv2 ABI.
2290 (LOCALENTRY): New macro.
2291 (ENTRY, EALIGN): Use it.
2292 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2293 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2294 fall through into ENTRY entry point.
2295 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2296 Only define if _CALL_ELF != 2.
2297
2298 (elf_machine_matches_host): Verify ABI version matches.
2299 (RTLD_START): Use LOCALENTRY.
2300 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2301 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2302 (PLT_ENTRY_WORDS): New macro.
2303 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2304 (elf_machine_runtime_setup): Support ELFv2 ABI.
2305 (elf_machine_fixup_plt): Likewise.
2306 (elf_machine_plt_conflict): Likewise.
2307 (resolve_ifunc): Likewise.
2308 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2309 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2310 Likewise.
2311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2312 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2314 (makecontext): Support ELFv2 ABI.
2315 * elf/elf.h (EF_PPC64_ABI): Define.
2316
d31beafa
UW
23172013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2318
2319 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2320 New assembler macro.
2321 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2322 [ASSEMBLER] (ENTRY): ... but instead here ...
2323 [ASSEMBLER] (EALIGN): ... and here.
2324 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2325 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2326 [!ASSEMBLER] (ENTRY_2): Use it.
2327 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2328 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2329 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2330 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2331 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2333 Use PPC64_LOAD_FUNCPTR.
2334
b525166b
UW
23352013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2336
2337 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2338
7ec07d9a
AM
23392013-12-04 Alan Modra <amodra@gmail.com>
2340
2341 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2342 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2343 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2344 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2345
2346 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2347 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2348 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2349 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2350 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2351 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2352
5162e7dd
UW
23532013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2354
2355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2356 (__makecontext): Fix incorrect CFI when backtracing out of
2357 context created via makecontext.
2358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2359 (__setcontext): Fix incorrect CFI during switch to new context.
2360 (__novec_setcontext): Likewise.
2361
19e3372b
OB
23622013-12-04 Ondřej Bílka <neleai@seznam.cz>
2363
2364 [BZ #4772]
2365 * time/strptime_l.c (__strptime_internal): Allow modifiers
2366 in strptime.
2367 * time/tst-strptime.c (day_tests): Add testcase.
2368
2369
ecaf142d
SP
23702013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2371
2372 * scripts/bench.pl: Skip over blank lines.
2373
fbf964ae
PE
23742013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2375
2376 [BZ #926]
2377 * manual/time.texi (Calendar Time): Clarify what timezone functions
2378 use.
2379
fa60a674
AZ
23802013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2381
2382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2383
d674f0ef
OB
23842013-12-04 Ondřej Bílka <neleai@seznam.cz>
2385
2386 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2387 implementation.
2388 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2389 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2390 * debug/memset_chk.c (__memset_chk): Likewise.
2391 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2392 * debug/strncpy_chk.c: Likewise.
2393
17dea188
JM
23942013-12-03 Joseph Myers <joseph@codesourcery.com>
2395
749008ff
JM
2396 [BZ #15268]
2397 [BZ #15425]
2398 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2399 (__ieee754_exp): For possibly underflowing results, check size of
2400 result and force underflow exception if required.
2401 * math/auto-libm-test-in: Add more tests of exp.
2402 * math/auto-libm-test-out: Regenerated.
2403 * sysdeps/i386/fpu/libm-test-ulps: Update.
2404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2405
17dea188
JM
2406 [BZ #16283]
2407 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2408 * math/w_exp2f.c (__exp2f): Likewise.
2409 * math/w_exp2l.c (__exp2l): Likewise.
2410 * math/auto-libm-test-in: Do not allow missing errno on exp2
2411 underflow.
2412 * math/auto-libm-test-out: Regenerated.
2413
b20de2c3
OB
24142013-12-03 Ondřej Bílka <neleai@seznam.cz>
2415
2416 [BZ #16274]
2417 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2418 handle filename validation.
2419 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2420 (do_open): Delete.
2421
d8e2dbe3
JM
24222013-12-03 Joseph Myers <joseph@codesourcery.com>
2423
34e16df5
JM
2424 [BZ #6786]
2425 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2426 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2427 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2428 <float.h>.
2429 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2430 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2431 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2432 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2433 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2434 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2435 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2436 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2437 Add more erfc tests.
2438 * math/auto-libm-test-out: Regenerated.
2439 * sysdeps/i386/fpu/libm-test-ulps: Update.
2440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2441
d8e2dbe3
JM
2442 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2443 exp2, expm1, j0 and j1.
2444 * math/auto-libm-test-out: Regenerated.
2445 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2446 (erfc_test_data): Likewise.
2447 (exp_test_data): Likewise.
2448 (exp_tonearest_test_data): Likewise.
2449 (exp_towardzero_test_data): Likewise.
2450 (exp_downward_test_data): Likewise.
2451 (exp_upward_test_data): Likewise.
2452 (exp10_test_data): Likewise.
2453 (exp2_test_data): Likewise.
2454 (expm1_test_data): Likewise.
2455 (j0_test_data): Likewise.
2456 (j1_test_data): Likewise.
2457 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2458 (input_flag_type): Add flag_xfail_rounding.
2459 (input_flags): Add xfail-rounding.
2460 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2461 (output_for_one_input_case): Handle flag_xfail_rounding.
2462 * sysdeps/i386/fpu/libm-test-ulps: Update.
2463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2464
18d14251
AJ
24652013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2466
3d2e6075 2467 [BZ #16289]
18d14251
AJ
2468 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2469 division by 0.
2470
520d437b
SP
24712013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2472
2473 [BZ #16195]
2474 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2475 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2476 (STAP_PROBE0): New macro.
2477 (STAP_PROBE1): Likewise.
2478 (STAP_PROBE2): Likewise.
2479 (STAP_PROBE3): Likewise.
2480 (STAP_PROBE4): Likewise.
2481
416e0145
OB
24822013-12-02 Ondřej Bílka <neleai@seznam.cz>
2483
2484 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2485
9d17796a
SE
24862013-12-02 Steve Ellcey <sellcey@mips.com>
2487
2488 * benchtests/Makefile (bench): Add sqrt.
2489 (LDLIBS-bench-sqrt): New.
2490 * benchtests/sqrt-input: New.
2491
f524d6a8
PS
24922013-12-02 Pavel Simerda <psimerda@redhat.com>
2493
639a0ef8
PS
2494 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2495 (GAIH_EAI): Likewise.
2496 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2497 (gaih_inet): Likewise.
2498 (getaddrinfo): Don't use GAIH_EAI.
2499
f524d6a8
PS
2500 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2501 (struct gaih): Remove definition.
2502
df3aedaf
SP
25032013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2504
2505 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2506 Use HERRNOP directly.
2507
1ab19dec
AZ
25082013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2509
b42ad38d 2510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 2511
176b0c79
JM
25122013-11-30 Joseph Myers <joseph@codesourcery.com>
2513
2514 * math/gen-auto-libm-tests.c (test_functions): Add more
2515 single-argument functions.
2516 (special_fill_pi_2): New function.
2517 (special_fill_minus_pi_2): Likewise.
2518 (special_fill_pi_6): Likewise.
2519 (special_fill_minus_pi_6): Likewise.
2520 (special_fill_pi_3): Likewise.
2521 (special_fill_2pi_3): Likewise.
2522 (special_fill_e): Likewise.
2523 (special_fill_1_e): Likewise.
2524 (special_fill_e_minus_1): Likewise.
2525 (special_real_inputs): Add more special inputs.
2526 (output_for_one_input_case): Do not require ERANGE on underflow to
2527 zero if round-to-nearest result does not underflow to zero, unless
2528 exact results required.
2529 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2530 atan, atanh, cbrt, cos and cosh.
2531 * math/auto-libm-test-out: Regenerated.
2532 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2533 (acos_tonearest_test_data): Likewise.
2534 (acos_towardzero_test_data): Likewise.
2535 (acos_downward_test_data): Likewise.
2536 (acos_upward_test_data): Likewise.
2537 (acosh_test_data): Likewise.
2538 (asin_test_data): Likewise.
2539 (asin_tonearest_test_data): Likewise.
2540 (asin_towardzero_test_data): Likewise.
2541 (asin_upward_test_data): Likewise.
2542 (asinh_test_data): Likewise.
2543 (atan_test_data): Likewise.
2544 (atanh_test_data): Likewise.
2545 (cbrt_test_data): Likewise.
2546 (cos_test_data): Likewise.
2547 (cos_tonearest_test_data): Likewise.
2548 (cos_towardzero_test_data): Likewise.
2549 (cos_downward_test_data): Likewise.
2550 (cos_upward_test_data): Likewise.
2551 (cosh_test_data): Likewise.
2552 (cosh_tonearest_test_data): Likewise.
2553 (cosh_towardzero_test_data): Likewise.
2554 (cosh_downward_test_data): Likewise.
2555 (cosh_upward_test_data): Likewise.
2556 * sysdeps/i386/fpu/libm-test-ulps: Update.
2557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2558
ffb536d0
JM
25592013-11-29 Joseph Myers <joseph@codesourcery.com>
2560
2a77a467
JM
2561 [BZ #6787]
2562 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2563 * math/w_exp10f.c (__exp10f): Likewise.
2564 * math/w_exp10l.c (__exp10l): Likewise.
2565 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2566 errno settings in existing tests.
2567
ea3bc4e8
JM
2568 [BZ #14032]
2569 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2570 precision control set to double precision.
2571 * sysdeps/i386/fpu/w_sqrt.c: New file.
2572 * math/auto-libm-test-in: Add more tests.
2573 * math/auto-libm-test-out: Update.
2574
0712c9d8
JM
2575 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2576 (sqrt_test_tonearest): New function.
2577 (sqrt_towardzero_test_data): New variable.
2578 (sqrt_test_towardzero): New function.
2579 (sqrt_downward_test_data): New variable.
2580 (sqrt_test_downward): New function.
2581 (sqrt_upward_test_data): New variable.
2582 (sqrt_test_upward): New function.
2583 (main): Call the new functions.
2584
ffb536d0
JM
2585 * math/gen-auto-libm-tests.c: New file.
2586 * math/auto-libm-test-in: Likewise.
2587 * math/auto-libm-test-out: New generated file.
2588 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2589 variables.
2590 (%beautify): Add generated representations of zero.
2591 (top level): Set $auto_input and call parse_auto_input.
2592 (beautify): Remove trailing "f" from hex float constants.
2593 (parse_args): Handle XFAIL_TEST.
2594 (convert_condition): New function.
2595 (or_value): Likewise.
2596 (or_cond_value): Likewise.
2597 (generate_testfile): Handle AUTO_TESTS_* lines.
2598 (parse_auto_input): New function.
2599 * math/libm-test.inc (XFAIL_TEST): New macro.
2600 (ERRNO_UNCHANGED): Update value.
2601 (ERRNO_EDOM): Likewise.
2602 (ERRNO_ERANGE): Likewise.
2603 (IGNORE_RESULT): Likewise.
2604 (TEST_COND_flt_32): New macro.
2605 (TEST_COND_dbl_64): Likewise.
2606 (TEST_COND_ldbl_96_intel): Likewise.
2607 (TEST_COND_ldbl_96_m68k): Likewise.
2608 (TEST_COND_ldbl_128): Likewise.
2609 (TEST_COND_ldbl_128ibm): Likewise.
2610 (TEST_COND_long32): Likewise.
2611 (TEST_COND_long64): Likewise.
2612 (TEST_COND_before_rounding): Likewise.
2613 (TEST_COND_after_rounding): Likewise.
2614 (enable_test): Handle XFAIL_TEST flag.
2615 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2616 with finite results.
2617 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2618 auto-libm-test-out.
2619
acd98a8e
AK
26202013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2621 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2622
2623 [BZ #16214]
2624 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2625 __tls_get_addr_internal instead of __tls_get_offset in order to
2626 avoid GOT pointer dependency. Make rtld export
2627 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2628 __tls_get_addr since we are a __tls_get_offset platform.
2629 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2630 GOT pointer being set up before.
2631 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2632
3c1c46a6
JM
26332013-11-28 Joseph Myers <joseph@codesourcery.com>
2634
7475aef5
JM
2635 * manual/math.texi (Errors in Math Functions): Document accuracy
2636 goals.
2637
8bca7cd8
JM
2638 [BZ #15004]
2639 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2640 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2641 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2642 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2643 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2644 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2645 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2646 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2647 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2648 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2649 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2650 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2651 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2652 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2653 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2654 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2655
91a1f3fe
JM
2656 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2657 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2658 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2659 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2660 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2661 Likewise.
2662 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2663 Likewise.
2664 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2665 Likewise.
2666 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2667 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2668 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2669 atomic-feupdateenv and flt-rounds.
2670 * sysdeps/powerpc/nofpu/Versions (libc): Add
2671 __atomic_feholdexcept, __atomic_feclearexcept,
2672 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2673 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2674 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2675 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2676 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2677 here.
2678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2679 Update.
2680
c5df7609
JM
2681 * manual/arith.texi (FP Exceptions): Document that exceptions may
2682 not be raised when matherr is used.
2683 (Math Error Reporting): Document overflow in directed rounding
2684 modes. Document that errno may not be set when finite values are
2685 returned on overflow. Document intent to set errno on underflow
2686 only for underflow to zero.
2687
3c1c46a6
JM
2688 [BZ #16271]
2689 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2690 round-to-nearest then adjust result for other rounding modes.
2691 * include/fenv.h (fegetround): Use libm_hidden_proto.
2692 * math/fegetround.c (fegetround): Use libm_hidden_def.
2693 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2694 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2695 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2696 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2697 Likewise.
2698 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2699 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2700 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2701 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2702
5a4c6d53
SP
27032013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2704
2705 [BZ #16077]
2706 * nss/Versions (libnss_files): Add
2707 _nss_files_gethostbyname3_r.
2708 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2709 New function.
2710 (HOST_DB_LOOKUP): Remove macro.
2711 (_nss_files_gethostbyname_r): Implement function without the
2712 HOST_DB_LOOKUP macro.
2713 (_nss_files_gethostbyname2_r): Likewise.
2714
897b98ba
OB
27152013-11-28 Ondřej Bílka <neleai@seznam.cz>
2716
2717 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2718
6f476861
UB
27192013-11-26 Uros Bizjak <ubizjak@gmail.com>
2720
2721 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2722 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2723 warning.
2724
bd12ab55
AZ
27252013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2726
2727 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2728 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2729 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2730 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2731 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2732 __fe_nomask_env_priv and attribute_hidden.
2733 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2734 (libc_feupdateenv_test_ppc): Likewise.
2735 (libc_feresetround_ppc): Likewise.
2736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2737 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2738 compat_symbol macro.
2739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2740 (__fe_nomask_env): Likewise.
2741 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2742
52bb6543
OB
27432013-11-26 Ondřej Bílka <neleai@seznam.cz>
2744
2745 * string/Makefile: Remove ifunc tests.
2746 * string/test-string.h: Define TEST_IFUNC.
2747 * string/test-bcopy-ifunc.c: Remove.
2748 * string/test-bzero-ifunc.c: Likewise.
2749 * string/test-memccpy-ifunc.c: Likewise.
2750 * string/test-memchr-ifunc.c: Likewise.
2751 * string/test-memcmp-ifunc.c: Likewise.
2752 * string/test-memcpy-ifunc.c: Likewise.
2753 * string/test-memmem-ifunc.c: Likewise.
2754 * string/test-memmove-ifunc.c: Likewise.
2755 * string/test-mempcpy-ifunc.c: Likewise.
2756 * string/test-memrchr-ifunc.c: Likewise.
2757 * string/test-memset-ifunc.c: Likewise.
2758 * string/test-rawmemchr-ifunc.c: Likewise.
2759 * string/test-stpcpy-ifunc.c: Likewise.
2760 * string/test-stpncpy-ifunc.c: Likewise.
2761 * string/test-strcasecmp-ifunc.c: Likewise.
2762 * string/test-strcasestr-ifunc.c: Likewise.
2763 * string/test-strcat-ifunc.c: Likewise.
2764 * string/test-strchr-ifunc.c: Likewise.
2765 * string/test-strchrnul-ifunc.c: Likewise.
2766 * string/test-strcmp-ifunc.c: Likewise.
2767 * string/test-strcpy-ifunc.c: Likewise.
2768 * string/test-strcspn-ifunc.c: Likewise.
2769 * string/test-strlen-ifunc.c: Likewise.
2770 * string/test-strncasecmp-ifunc.c: Likewise.
2771 * string/test-strncat-ifunc.c: Likewise.
2772 * string/test-strncmp-ifunc.c: Likewise.
2773 * string/test-strncpy-ifunc.c: Likewise.
2774 * string/test-strnlen-ifunc.c: Likewise.
2775 * string/test-strpbrk-ifunc.c: Likewise.
2776 * string/test-strrchr-ifunc.c: Likewise.
2777 * string/test-strspn-ifunc.c: Likewise.
2778 * string/test-strstr-ifunc.c: Likewise.
2779
ab260039 27802013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
2781
2782 * benchtests/Makefile: Remove ifunc tests.
2783 * benchtests/bench-string.h: Define TEST_IFUNC.
2784 * benchtests/bench-bcopy-ifunc.c: Remove.
2785 * benchtests/bench-bzero-ifunc.c: Likewise.
2786 * benchtests/bench-memccpy-ifunc.c: Likewise.
2787 * benchtests/bench-memchr-ifunc.c: Likewise.
2788 * benchtests/bench-memcmp-ifunc.c: Likewise.
2789 * benchtests/bench-memcpy-ifunc.c: Likewise.
2790 * benchtests/bench-memmem-ifunc.c: Likewise.
2791 * benchtests/bench-memmove-ifunc.c: Likewise.
2792 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2793 * benchtests/bench-memrchr-ifunc.c: Likewise.
2794 * benchtests/bench-memset-ifunc.c: Likewise.
2795 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2796 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2797 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2798 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2799 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2800 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2801 * benchtests/bench-strcat-ifunc.c: Likewise.
2802 * benchtests/bench-strchr-ifunc.c: Likewise.
2803 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2804 * benchtests/bench-strcmp-ifunc.c: Likewise.
2805 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2806 * benchtests/bench-strcpy-ifunc.c: Likewise.
2807 * benchtests/bench-strcspn-ifunc.c: Likewise.
2808 * benchtests/bench-strlen-ifunc.c: Likewise.
2809 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2810 * benchtests/bench-strncat-ifunc.c: Likewise.
2811 * benchtests/bench-strncmp-ifunc.c: Likewise.
2812 * benchtests/bench-strncpy-ifunc.c: Likewise.
2813 * benchtests/bench-strnlen-ifunc.c: Likewise.
2814 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2815 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 2816 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
2817 * benchtests/bench-strspn-ifunc.c: Likewise.
2818 * benchtests/bench-strstr-ifunc.c: Likewise.
2819
28202013-11-26 Ondřej Bílka <neleai@seznam.cz>
2821
ab260039
OB
2822 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2823
d1d9eaf4 28242013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 2825
d1d9eaf4
OB
2826 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2827 * rt/aio.h: Likewise.
2828 * sysdeps/gnu/bits/utmp.h: Likewise.
2829 * sysdeps/gnu/bits/utmpx.h: Likewise.
2830 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2831 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2832 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2833 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2834 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2835 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2836 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2837 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2838 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2839 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2840 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2841 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2842 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2844 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2845 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2846 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2847 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2848 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2849 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2850 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2851 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2852 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2853 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2854 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2855 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2856 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2857 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2858 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2859 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2860 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2861 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2862 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2863 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2864 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2865 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2866 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2867 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2868 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2869 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2870 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2871 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2872
a7624ed9
CD
28732013-11-25 Carlos O'Donell <carlos@redhat.com>
2874
2875 [BZ #16245]
2876 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2877 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2878
63cfe52b
JM
28792013-11-25 Joseph Myers <joseph@codesourcery.com>
2880
2881 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2882 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2883 Likewise.
2884
41e8926a
AZ
28852013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2886
2887 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2888 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2889 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2890 (__fesetround): Remove define.
2891 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2892 rounding and exceptions handling.
2893 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2894 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2895 (__fe_nomask_env): Likewise.
2896 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2897 __fegetround instead of fegetround.
2898 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2899 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2900
6851bd4d
RM
29012013-11-21 Roland McGrath <roland@hack.frob.com>
2902
070906ff
RM
2903 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2904 it's there.
2905
6851bd4d
RM
2906 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2907
84ae135d
MI
29082013-11-21 Meador Inge <meadori@codesourcery.com>
2909
2910 [BZ #11157]
2911 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2912 (encrypt_r): Likewise.
2913 * malloc/obstack.h (obstack_free): Likewise.
2914 * posix/unistd.h (encrypt): Likewise.
2915
daf75146
GM
29162013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2917
2918 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2919 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2920 DL_CALL_DT_FINI() that call the functions directly.
2921 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2922 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2923 * elf/dl-fini.c: Likewise.
2924
10ad46bc
OB
29252013-11-20 Ondřej Bílka <neleai@seznam.cz>
2926
2927 * malloc/hooks.c (memalign_check): Add alignment rounding.
2928 * malloc/malloc.c (_mid_memalign): New function.
2929 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2930 Implement by calling _mid_memalign.
2931 * manual/probes.texi (Memory Allocation Probes): Remove
2932 memory_valloc_retry and memory_pvalloc_retry.
2933
f3fd2628
SP
29342013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2935
4712799f
SP
2936 * locale/programs/locarchive.c (open_archive): Add const
2937 qualifier to ARCHIVEFNAME and copy default fname to
2938 DEFAULT_FNAME.
2939
0417b20f
SP
2940 [BZ #15601]
2941 * libio/tst-widetext.input: Rename Oriya to Odia.
2942 * locale/iso-639.def: Likewise.
2943
f3fd2628
SP
2944 * manual/probes.texi (Mathematical Function Probes): Add
2945 documentation for sin, cos, asin and acos probes.
2946 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2947 (__sin32): Add slowasin probe.
2948 (__cos32): Add slowacos probe.
2949 (__mpsin): Add slowsin probe.
2950 (__mpcos): Add slowcos probe.
2951
73c1ce4f
JM
29522013-11-19 Joseph Myers <joseph@codesourcery.com>
2953
2954 [BZ #15483]
2955 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2956 thread-local __sim_exceptions_thread and global
2957 __sim_exceptions_global.
2958 (__sim_disabled_exceptions): Change to thread-local
2959 __sim_disabled_exceptions_thread and global
2960 __sim_disabled_exceptions_global.
2961 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2962 and global __sim_round_mode_global.
2963 (__simulate_exceptions): Use thread-local floating-point state and
2964 set global state from it as needed.
2965 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2966 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2967 __sim_round_mode_thread.
2968 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2969 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2970 and global __sim_exceptions_global.
2971 (__sim_disabled_exceptions): Change to thread-local
2972 __sim_disabled_exceptions_thread and global
2973 __sim_disabled_exceptions_global.
2974 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2975 and global __sim_round_mode_global.
2976 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2977 (SIM_SET_GLOBAL): Likewise.
2978 * sysdeps/powerpc/soft-fp/sfp-machine.h
2979 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2980 __sim_round_mode_thread.
2981 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2982 __sim_disabled_exceptions_thread.
2983 (__sim_exceptions): Change to __sim_exceptions_thread.
2984 (__sim_disabled_exceptions): Change to
2985 __sim_disabled_exceptions_thread.
2986 (__sim_round_mode): Change to __sim_round_mode_thread.
2987 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2988 thread-local floating-point state and set global state from it as
2989 needed.
2990 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2991 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2992 (__sim_disabled_exceptions): Remove extern declaration.
2993 (feenableexcept): Use thread-local floating-point state and set
2994 global state from it as needed.
2995 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2996 extern declaration.
2997 (__sim_disabled_exceptions): Likewise.
2998 (__sim_round_mode): Likewise.
2999 (__fegetenv): Use thread-local floating-point state.
3000 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3001 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3002 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3003 floating-point state and set global state from it as needed.
3004 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3005 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3006 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3007 Likewise.
3008 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3009 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3010 Likewise.
3011 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3012 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3013 Use __sim_round_mode_thread.
3014 * math/test-fenv-tls.c: New file.
3015 * math/Makefile (tests): Add test-fenv-tls.
3016 ($(objpfx)test-fenv-tls): Depend on
3017 $(common-objpfx)nptl/libpthread.so.
3018
b5449b12
AS
30192013-11-19 Andreas Schwab <schwab@suse.de>
3020
3021 * locale/programs/locale.c (show_info): Decode wordarray elements.
3022 * locale/categories.def (LC_MONETARY): Add element for
3023 _NL_MONETARY_CRNCYSTR.
3024 * locale/C-monetary.c (conversion_rate): New variable.
3025 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3026 element.
3027
e186536b
CM
30282013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3029
3030 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3031 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3032
5c349950
PP
30332013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3034
3035 * elf/Makefile (tst-auxv): New test.
3036 * elf/tst-auxv.c: New
3037 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3038
699df45b
JM
30392013-11-18 Joseph Myers <joseph@codesourcery.com>
3040
3041 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3042 (hidden_proto): Caller changed.
3043 (hidden_tls_proto): New macro.
3044 (libc_hidden_tls_proto): Likewise.
3045 (rtld_hidden_tls_proto): Likewise.
3046 (libm_hidden_tls_proto): Likewise.
3047 (libresolv_hidden_tls_proto): Likewise.
3048 (librt_hidden_tls_proto): Likewise.
3049 (libdl_hidden_tls_proto): Likewise.
3050 (libnss_files_hidden_tls_proto): Likewise.
3051 (libnsl_hidden_tls_proto): Likewise.
3052 (libnss_nisplus_hidden_tls_proto): Likewise.
3053 (libutil_hidden_tls_proto): Likewise.
3054
b7589107
OB
30552013-11-18 Ondřej Bílka <neleai@seznam.cz>
3056
3057 [BZ #10253]
3058 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3059 (decompose_rpath): Defer expansion to fillin_rpath.
3060 (_dl_init_paths): Pass linkmap to fillin_rpath.
3061
250c23bd
RS
30622013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3063
3064 * benchtests/Makefile: Add strsep.
3065 * benchtests/bench-strsep.c: New file: strsep benchtest.
3066 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3067
a7931fcf
AS
30682013-11-18 Andreas Schwab <schwab@suse.de>
3069
3070 * locale/programs/locale.c (show_info) [case byte]: Check for
3071 '\377' instead of '\177'.
3072 * locale/C-monetary.c (not_available): Always use "\377".
3073 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3074 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3075 detect unavailable sign_posn locale elements.
3076 * locale/localeconv.c (__localeconv): For grouping and
3077 mon_grouping handle "\177" and "\377" like no grouping.
3078 (INT_ELEM): New macro. Use it to set all numeric members.
3079 * locale/programs/ld-monetary.c (monetary_read)
3080 <tok_mon_grouping>: Normalize single -1 to the empty string.
3081 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3082 Likewise.
3083
728dab0e
OB
30842013-11-07 Ondřej Bílka <neleai@seznam.cz>
3085
3086 [BZ #16055]
3087 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3088 when we match (nil).
3089 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3090
66294491
JM
30912013-11-16 Joseph Myers <joseph@codesourcery.com>
3092
ce665817
JM
3093 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3094 (NO_TEST_INLINE): Update value.
3095 (ERRNO_UNCHANGED): Likewise.
3096 (ERRNO_EDOM): Likewise.
3097 (ERRNO_ERANGE): Likewise.
3098 (IGNORE_RESULT): Likewise.
3099 (check_float_internal): Check signs of NaN results if
3100 TEST_NAN_SIGN used.
3101 (check_complex): Pass TEST_NAN_SIGN flag through to second
3102 check_float_internal call.
3103 (copysign_test_data): Add tests with quiet NaNs as second
3104 argument. Use TEST_NAN_SIGN.
3105 (fabs_test_data): Add test of negative quiet NaN argument. Use
3106 TEST_NAN_SIGN.
3107 (signbit_test_data): Add tests of quiet NaN argument.
3108 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3109
ee1466a9
JM
3110 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3111 $ignore_result.
3112 (parse_args): Handle function results specified as IGNORE.
3113 * math/libm-test.inc (IGNORE_RESULT): New macro.
3114 (check_float_internal): Do not check numerical result if flag
3115 IGNORE_RESULT set.
3116 (check_complex): Pass through IGNORE_RESULT to second
3117 check_float_internal call.
3118 (check_int): Do not check numerical result if flag IGNORE_RESULT
3119 set.
3120 (check_long): Likewise.
3121 (check_bool): Likewise.
3122 (check_longlong): Likewise.
3123 (lrint_test_data): Add tests of infinite and NaN arguments.
3124 (lrint_tonearest_test_data): Likewise.
3125 (lrint_towardzero_test_data): Likewise.
3126 (lrint_downward_test_data): Likewise.
3127 (lrint_upward_test_data): Likewise.
3128 (llrint_test_data): Likewise.
3129 (llrint_tonearest_test_data): Likewise.
3130 (llrint_towardzero_test_data): Likewise.
3131 (llrint_downward_test_data): Likewise.
3132 (llrint_upward_test_data): Likewise.
3133 (lround_test_data): Likewise.
3134 (llround_test_data): Likewise.
3135
14407b7e
JM
3136 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3137 (ERRNO_UNCHANGED): Update value.
3138 (ERRNO_EDOM): Likewise.
3139 (ERRNO_ERANGE): Likewise.
3140 (NO_TEST_INLINE_FLOAT): New macro.
3141 (NO_TEST_INLINE_DOUBLE): Likewise.
3142 (enable_test): New function.
3143 (RUN_TEST_f_f): Check enable_test before running test.
3144 (RUN_TEST_2_f): Likewise.
3145 (RUN_TEST_fff_f): Likewise.
3146 (RUN_TEST_c_f): Likewise.
3147 (RUN_TEST_f_f1): Likewise.
3148 (RUN_TEST_fF_f1): Likewise.
3149 (RUN_TEST_fI_f1): Likewise.
3150 (RUN_TEST_ffI_f1): Likewise.
3151 (RUN_TEST_c_c): Likewise.
3152 (RUN_TEST_cc_c): Likewise.
3153 (RUN_TEST_f_i): Likewise.
3154 (RUN_TEST_f_i_tg): Likewise.
3155 (RUN_TEST_ff_i_tg): Likewise.
3156 (RUN_TEST_f_b): Likewise.
3157 (RUN_TEST_f_b_tg): Likewise.
3158 (RUN_TEST_f_l): Likewise.
3159 (RUN_TEST_f_L): Likewise.
3160 (RUN_TEST_fFF_11): Likewise.
3161 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3162 conditionals.
3163 (cosh_test_data): Likewise.
3164 (exp_test_data): Likewise.
3165 (expm1_test_data): Likewise.
3166 (hypot_test_data): Likewise.
3167 (pow_test_data): Likewise.
3168 (sinh_test_data): Likewise.
3169 (tanh_test_data): Likewise.
3170 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3171 flags argument.
3172
ca07f197
JM
3173 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3174 tests with quiet NaN input and output.
3175 (acosh_test_data): Likewise.
3176 (asin_test_data): Likewise.
3177 (asinh_test_data): Likewise.
3178 (atan_test_data): Likewise.
3179 (atanh_test_data): Likewise.
3180 (atan2_test_data): Likewise.
3181 (cbrt_test_data): Likewise.
3182 (cos_test_data): Likewise.
3183 (cosh_test_data): Likewise.
3184 (erf_test_data): Likewise.
3185 (erfc_test_data): Likewise.
3186 (exp_test_data): Likewise.
3187 (exp10_test_data): Likewise.
3188 (exp2_test_data): Likewise.
3189 (expm1_test_data): Likewise.
3190 (hypot_test_data): Likewise.
3191 (j0_test_data): Likewise.
3192 (j1_test_data): Likewise.
3193 (jn_test_data): Likewise.
3194 (lgamma_test_data): Likewise.
3195 (log_test_data): Likewise.
3196 (log10_test_data): Likewise.
3197 (log1p_test_data): Likewise.
3198 (log2_test_data): Likewise.
3199 (pow_test_data): Likewise.
3200 (scalb_test_data): Likewise.
3201 (sin_test_data): Likewise.
3202 (sincos_test_data): Likewise.
3203 (sinh_test_data): Likewise.
3204 (tan_test_data): Likewise.
3205 (tanh_test_data): Likewise.
3206 (tgamma_test_data): Likewise.
3207 (y0_test_data): Likewise.
3208 (y1_test_data): Likewise.
3209 (yn_test_data): Likewise.
3210
66294491
JM
3211 [BZ #16167]
3212 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3213 argument being NaN and avoid computations with second argument in
3214 that case.
3215 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3216 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3217 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3218
1820b143
CL
32192013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3220
3221 * locale/iso-639.def: Add Chitwani Tharu (the).
3222
714bd261
AS
32232013-11-14 Andreas Schwab <schwab@suse.de>
3224
3225 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3226 word instead of empty string.
3227
7ab44563
AZ
32282013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3229
3230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3231 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3233 (__fe_nomask_env): Likewise.
3234
e8470ea2
SE
32352013-11-13 Steve Ellcey <sellcey@mips.com>
3236
3237 * benchtests/bench-timing.h: Include time.h.
3238
17c1d9f0
L
32392013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3240
3241 [BZ #15997]
3242 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3243 to 3.4.0 for x32.
3244 * sysdeps/unix/sysv/linux/configure: Regenerated.
3245
9310c284
JM
32462013-11-13 Joseph Myers <joseph@codesourcery.com>
3247
3248 [BZ #16151]
3249 * stdlib/strtod_l.c (round_and_return): Do not consider
3250 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3251 exponent one less than half the least subnormal exponent.
3252 * stdlib/test-strtod-round-data: Add more tests.
3253 * stdlib/tst-strtod-round.c (tests): Regenerated.
3254
7a2ad8cf
AZ
32552013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3256
3257 [BZ #14143]
3258 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3259 (__fe_mask_env): Likewise.
3260 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3261 libm_hidden_proto and add function prototype.
3262 (__fe_mask_env): Add function prototype.
3263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3264 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3266 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3268 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3269
50727aa7
MS
32702013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3271
b2f386c1 3272 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
3273 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3274
a615be46
MS
32752013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3276
3277 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3278 of htab_find_slot().
3279
7ddace62
DM
32802013-11-11 David S. Miller <davem@davemloft.net>
3281
3282 [BZ #16150]
3283 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3284 symbol in the non-vis3 case in static builds.
3285 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3286 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3287 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3288 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3289
9182aa67
JK
32902013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3291
3292 [BZ #387]
3293 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3294 it is empty.
3295
450a2e2d
AZ
32962013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3297
b2f386c1
SP
3298 * benchtests/Makefile: Add bench-strtod.
3299 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 3300
8ec3f656
AS
33012013-11-11 Andreas Schwab <schwab@suse.de>
3302
3303 [BZ #16153]
3304 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3305 terminating NUL in key length.
3306
76a9b998
AZ
33072013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3308
3309 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3310 Add artificial ODP entry for vDSO symbol for PPC64.
3311 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3312 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3313
e4368156
OB
33142013-11-07 Ondřej Bílka <neleai@seznam.cz>
3315
3316 [BZ #15374]
3317 * nss/getent.c (services_keys): Recognize services starting with digit.
3318
8d6bb57c
DM
33192013-11-06 David S. Miller <davem@davemloft.net>
3320
3321 [BZ #15985]
3322 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3323 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3324
e256c421
WN
33252013-11-06 Will Newton <will.newton@linaro.org>
3326
3327 * manual/memory.texi (Malloc Examples): Remove register
3328 keyword from examples.
3329
f6e12daa 33302013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 3331
f6e12daa 3332 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 3333
9d880655
AS
33342013-11-04 Joseph Myers <joseph@codesourcery.com>
3335
3336 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3337 depending on [__GCC_IEC_559 > 0].
3338 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3339 depending on [__GCC_IEC_559_COMPLEX > 0].
3340
ae129d3c
CL
33412013-11-03 Chris Leonard <cjl@sugarlabs.org>
3342
3343 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3344 to iso-639.def.
3345
4a15c2a4 33462013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
3347
3348 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3349
8b35e35d
OB
33502013-11-01 Ondřej Bílka <neleai@seznam.cz>
3351
3352 [BZ #16112]
3353 * malloc/malloc (malloc_info): Do not handle first bin as
3354 special case.
3355
1d70fd6c
CL
33562013-11-01 Chris Leonard <cjl@sugarlabs.org>
3357
3358 * locale/iso-639.def: Add Central Nahuatl (nhn).
3359
8c5c2600
BH
33602013-11-01 Bruno Haible <bruno@clisp.org>
3361
3362 [BZ #7003]
3363 * manual/math.texi (BSD Random): Specify range upper bound as
3364 in POSIX.
3365
da5579c2
CL
33662013-10-31 Chris Leonard <cjl@sugarlabs.org>
3367
3368 * locale/iso-639.def: Add Meadow Mari (mhr).
3369
5d30d853
OB
33702013-10-31 Ondřej Bílka <neleai@seznam.cz>
3371
3372 [BZ #14752], [BZ #15763]
3373 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3374 Validate name.
3375 * rt/tst_shm.c: Add test for escaping directory.
3376
a4966c61
AS
33772013-10-31 Andreas Schwab <schwab@suse.de>
3378
8a43e768 3379 [BZ #15917]
a4966c61
AS
3380 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3381 followed by 'x' as part of digit sequence.
3382 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3383
28d708c4
MAP
33842013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3385
3386 [BZ #16037]
3387 * configure.ac: allow GNU Make 4.0 and greater.
3388 * configure: Regenerated.
3389
a56ee40b
WN
33902013-10-30 Will Newton <will.newton@linaro.org>
3391
3392 [BZ #16038]
3393 * malloc/hooks.c (memalign_check): Limit alignment to the
3394 maximum representable power of two.
3395 * malloc/malloc.c (__libc_memalign): Likewise.
3396 * malloc/tst-memalign.c (do_test): Add test for very
3397 large alignment values.
3398 * malloc/tst-posix_memalign.c (do_test): Likewise.
3399
c6e4925d
OB
34002013-10-30 Ondřej Bílka <neleai@seznam.cz>
3401
3402 [BZ #11087]
3403 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3404 (munmap_chunk): Likewise.
3405 (mremap_chunk): Likewise.
3406
34072013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 3408
8a43e768 3409 [BZ #15799]
bbea82f7
OB
3410 * stdlib/div.c (div): Remove obsolete code.
3411 * stdlib/ldiv.c (ldiv): Likewise.
3412 * stdlib/lldiv.c (lldiv): Likewise.
3413
977f4b31
SP
34142013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3415
3416 [BZ #16071]
3417 * nss/nss_files/files-XXX.c (get_contents_ret): New
3418 enumerator.
3419 (get_contents): New function.
3420 (internal_getent): Use it. Expand size of LINEBUFLEN.
3421
cb8a6dbd
MF
34222013-10-30 Mike Frysinger <vapier@gentoo.org>
3423
3424 * configure.in: Moved to ...
3425 * configure.ac: ... here. Change reference to configure.in
3426 to configure.ac.
3427 * sysdeps/arm/preconfigure.ac: ... here.
3428 configure.in to configure.ac.
3429 * sysdeps/gnu/configure.in: Moved to ...
3430 * sysdeps/gnu/configure.ac: ... here.
3431 * sysdeps/i386/configure.in: Moved to ...
3432 * sysdeps/i386/configure.ac: ... here.
3433 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3434 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3435 * sysdeps/mach/configure.in: Moved to ...
3436 * sysdeps/mach/configure.ac: ... here.
3437 * sysdeps/mach/hurd/configure.in: Moved to ...
3438 * sysdeps/mach/hurd/configure.ac: ... here.
3439 * sysdeps/powerpc/configure.in: Moved to ...
3440 * sysdeps/powerpc/configure.ac: ... here.
3441 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3442 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3443 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3444 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3445 * sysdeps/s390/s390-32/configure.in: Moved to ...
3446 * sysdeps/s390/s390-32/configure.ac: ... here.
3447 * sysdeps/s390/s390-64/configure.in: Moved to ...
3448 * sysdeps/s390/s390-64/configure.ac: ... here.
3449 * sysdeps/sh/configure.in: Moved to ...
3450 * sysdeps/sh/configure.ac: ... here.
3451 * sysdeps/sparc/configure.in: Moved to ...
3452 * sysdeps/sparc/configure.ac: ... here.
3453 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3454 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3455 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3456 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3457 * sysdeps/x86_64/configure.in: Moved to ...
3458 * sysdeps/x86_64/configure.ac: ... here.
3459 * sysdeps/x86_64/preconfigure.in: Moved to ...
3460 * sysdeps/x86_64/preconfigure.ac: ... here.
3461 * aclocal.m4: Change reference to configure.in to configure.ac.
3462 * config.h.in: Likewise.
3463 * manual/install.texi: Likewise.
3464 * manual/maint.texi: Likewise.
3465 * Makefile: Likewise.
3466 * malloc/Makefile: Likewise.
3467 * nscd/Makefile: Likewise.
3468 * Makeconfig: Change reference to configure.in and
3469 preconfigure.in to configure.ac and preconfigure.ac
3470 respectively.
3471 * INSTALL: Regenerated.
3472 * configure: Likewise.
3473 * sysdeps/gnu/configure: Likewise.
3474 * sysdeps/i386/configure: Likewise.
3475 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3476 * sysdeps/mach/configure: Likewise.
3477 * sysdeps/mach/hurd/configure: Likewise.
3478 * sysdeps/powerpc/configure: Likewise.
3479 * sysdeps/powerpc/powerpc32/configure: Likewise.
3480 * sysdeps/powerpc/powerpc64/configure: Likewise.
3481 * sysdeps/s390/s390-32/configure: Likewise.
3482 * sysdeps/s390/s390-64/configure: Likewise.
3483 * sysdeps/sh/configure: Likewise.
3484 * sysdeps/sparc/configure: Likewise.
3485 * sysdeps/unix/sysv/linux/configure: Likewise.
3486 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3487 * sysdeps/x86_64/configure: Likewise.
3488 * sysdeps/x86_64/preconfigure: Likewise.
3489
36a4953a
AS
34902013-10-29 Andreas Schwab <schwab@suse.de>
3491
3492 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3493
c79a1204
SP
34942013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3495
dfa1b402
SP
3496 * benchtests/pow-inputs: Add new inputs.
3497
54f73d9c
SP
3498 * benchtests/exp-inputs: Add new inputs.
3499
c79a1204
SP
3500 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3501 conditional check for return value.
3502 (__cos32): Likewise.
3503
67beb545 35042013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
3505
3506 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3507 to provide a boost for large inputs with word alignment.
3508 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3509 implementation based on optimized PPC64 strcpy.
3510 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3511 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3512 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3513 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3514
151659f6
OB
35152013-10-25 Ondřej Bílka <neleai@seznam.cz>
3516
482a077e 3517 [BZ #2801]
151659f6
OB
3518 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3519
10b0f26b
OB
35202013-10-25 Ondřej Bílka <neleai@seznam.cz>
3521
3522 [BZ #14876]
3523 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3524 * time/tst-strptime.c (day_tests): Add testcase.
3525
ca42d35e
OB
35262013-10-25 Ondřej Bílka <neleai@seznam.cz>
3527
482a077e 3528 [BZ #14029]
ca42d35e
OB
3529 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3530
52e6d801
FB
35312013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3532
3533 [BZ #16074]
3534 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3535 MAP_FAILED on error.
3536
7cbcdb36
SP
35372013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3538
3539 [BZ #16072]
3540 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3541 heap for large requests.
3542
894f3f10
AM
35432013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3544
3545 [BZ #9954]
3546 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3547 result if the result has no associated interface.
3548 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3549 interface for all 127.X.Y.Z addresses.
3550
b85545a6
CL
35512013-10-24 Chris Leonard <cjl@sugarlabs.org>
3552
3553 * locale/iso-639.def: Add Ligurian (lij)
3554
d1f23d46
OB
35552013-10-21 Ondřej Bílka <neleai@seznam.cz>
3556
3557 [BZ #15825]
3558 * sunrpc/rpc_main.c: Document rpcgen -5.
3559
4db5b08f
MS
35602013-10-19 Michael Stahl <mstahl@redhat.com>
3561
3562 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3563
a471e96a
OB
35642013-10-19 Ondřej Bílka <neleai@seznam.cz>
3565
d1f23d46 3566 [BZ #10278]
a471e96a
OB
3567 * posix/glob.c: Match only directories when trailing slash is present.
3568 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3569 (main): Add testcase.
3570
45c30c61
OB
35712013-10-19 Ondřej Bílka <neleai@seznam.cz>
3572
3573 [BZ #15670]
3574 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3575
484c12fb
CD
35762013-10-18 Carlos O'Donell <carlos@redhat.com>
3577
3d7dc513
CD
3578 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3579 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3580 AUTH_DES and cindex for FIPS 140-2.
3581 (DES Encryption): Add cindex FIPS 46-3.
3582
484c12fb
CD
3583 * locale/locarchive.h (struct locarhandle): Add fname.
3584 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3585 if an optional argument was specified to --list-archive,
3586 otherwise NULL.
3587 * locale/programs/locarchive.c (show_archive_content): Take new
3588 argument fname and pass it via ah.fname to open_archive.
3589 * locale/programs/localedef.h: Update decl.
3590 (open_archive): If AH->fname is non-null, open that file
3591 rather than the default file name, and don't ignore ENOENT.
3592 (create_archive): Set AH.fname to NULL.
3593 (delete_locales_from_archive): Likewise.
3594 (add_locales_to_archive): Likewise.
3595 * locale/programs/locfile.c (write_all_categories): Likewise.
3596
3c8325fb
JM
35972013-10-18 Joseph Myers <joseph@codesourcery.com>
3598 Aldy Hernandez <aldyh@redhat.com>
3599
3600 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3601 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3602 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3603 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3604 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3605 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3606 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3607 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3608 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3609 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3610 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3611 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3612 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3613 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3614 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3615 Likewise.
3616 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3617 Likewise.
3618 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3619 Likewise.
3620 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3621 Likewise.
3622 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3623 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3624 Likewise.
3625 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3626 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3627 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3628 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3629 Likewise.
3630 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3631 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3632 * sysdeps/powerpc/preconfigure: Likewise.
3633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3634 Likewise.
3635 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3636 Replace contents of file by #include of <fenv_libc.h>.
3637 * sysdeps/powerpc/soft-fp/sfp-machine.h
3638 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3639 and <sys/prctl.h>.
3640 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3641 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3642 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3643 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3644 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3645 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3646 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3647 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3648 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3649 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3650 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3651 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3653 Allow copysignl PLT reference to be missing.
3654
5abe0682
RS
36552013-10-18 Richard Sandiford <richard@codesourcery.com>
3656 Joseph Myers <joseph@codesourcery.com
3657
3658 [BZ #15948]
3659 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3660 single character.
3661 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3662
c7738d08
SP
36632013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3664
3665 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3666 * elf/tst-tls1.c: Likewise.
3667 * elf/tst-tls10.h: Likewise.
3668 * elf/tst-tls14.c: Likewise.
3669 * elf/tst-tls2.c: Likewise.
3670 * elf/tst-tls3.c: Likewise.
3671 * elf/tst-tls4.c: Likewise.
3672 * elf/tst-tls5.c: Likewise.
3673 * elf/tst-tls6.c: Likewise.
3674 * elf/tst-tls7.c: Likewise.
3675 * elf/tst-tls8.c: Likewise.
3676 * elf/tst-tls9.c: Likewise.
3677 * elf/tst-tlsmod1.c: Likewise.
3678 * elf/tst-tlsmod13.c: Likewise.
3679 * elf/tst-tlsmod13a.c: Likewise.
3680 * elf/tst-tlsmod14a.c: Likewise.
3681 * elf/tst-tlsmod16a.c: Likewise.
3682 * elf/tst-tlsmod16b.c: Likewise.
3683 * elf/tst-tlsmod2.c: Likewise.
3684 * elf/tst-tlsmod3.c: Likewise.
3685 * elf/tst-tlsmod4.c: Likewise.
3686 * elf/tst-tlsmod5.c: Likewise.
3687 * elf/tst-tlsmod6.c: Likewise.
3688
0bfcf2c7
OB
36892013-10-18 Ondřej Bílka <neleai@seznam.cz>
3690
3691 [BZ #12486]
3692 * malloc/malloc.c: remove checks for statistics.
3693
264aad1e
OB
36942013-10-17 Ondřej Bílka <neleai@seznam.cz>
3695
3696 [BZ #15277]
3697 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3698 * inet/tst-network.c: Add testcase.
3699
b957ced8
AS
37002013-10-17 Andreas Schwab <schwab@suse.de>
3701
3702 [BZ #15218]
3703 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3704 to determine canonical name.
3705
c5d5d574
OB
37062013-10-17 Ondřej Bílka <neleai@seznam.cz>
3707
3708 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3709 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3710 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3711 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3712 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3713 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3714 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3715 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3716 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3717 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3718 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3719 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3720 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3721 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3722 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3723 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3724 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3725 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3726 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3727 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3728 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3729 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3730 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3731 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3732 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3733 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3734 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3735 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3736 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3737 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3738 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3739 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3740 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3741 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3742 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3743 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3744 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3745 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3746 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3747 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3748 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3749 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3750 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3751 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3752 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3753 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3754 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3755 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3756 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3757 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3758 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3759 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3760 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3761 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3762 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3763 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3764 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3765 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3766
e5c2c2d0
JM
37672013-10-17 Joseph Myers <joseph@codesourcery.com>
3768
3769 [BZ #16041]
3770 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3771 make result into a quiet NaN.
3772
51ca9e29
JM
37732013-10-16 Joseph Myers <joseph@codesourcery.com>
3774
3775 * soft-fp/adddf3.c: Fix horizontal whitespace.
3776 * soft-fp/addsf3.c: Likewise.
3777 * soft-fp/addtf3.c: Likewise.
3778 * soft-fp/divdf3.c: Likewise.
3779 * soft-fp/divsf3.c: Likewise.
3780 * soft-fp/divtf3.c: Likewise.
3781 * soft-fp/double.h: Likewise.
3782 * soft-fp/eqdf2.c: Likewise.
3783 * soft-fp/eqsf2.c: Likewise.
3784 * soft-fp/eqtf2.c: Likewise.
3785 * soft-fp/extenddftf2.c: Likewise.
3786 * soft-fp/extended.h: Likewise.
3787 * soft-fp/extendsfdf2.c: Likewise.
3788 * soft-fp/extendsftf2.c: Likewise.
3789 * soft-fp/extendxftf2.c: Likewise.
3790 * soft-fp/fixdfdi.c: Likewise.
3791 * soft-fp/fixdfsi.c: Likewise.
3792 * soft-fp/fixdfti.c: Likewise.
3793 * soft-fp/fixsfdi.c: Likewise.
3794 * soft-fp/fixsfsi.c: Likewise.
3795 * soft-fp/fixsfti.c: Likewise.
3796 * soft-fp/fixtfdi.c: Likewise.
3797 * soft-fp/fixtfsi.c: Likewise.
3798 * soft-fp/fixtfti.c: Likewise.
3799 * soft-fp/fixunsdfdi.c: Likewise.
3800 * soft-fp/fixunsdfsi.c: Likewise.
3801 * soft-fp/fixunsdfti.c: Likewise.
3802 * soft-fp/fixunssfdi.c: Likewise.
3803 * soft-fp/fixunssfsi.c: Likewise.
3804 * soft-fp/fixunssfti.c: Likewise.
3805 * soft-fp/fixunstfdi.c: Likewise.
3806 * soft-fp/fixunstfsi.c: Likewise.
3807 * soft-fp/fixunstfti.c: Likewise.
3808 * soft-fp/floatdidf.c: Likewise.
3809 * soft-fp/floatdisf.c: Likewise.
3810 * soft-fp/floatditf.c: Likewise.
3811 * soft-fp/floatsidf.c: Likewise.
3812 * soft-fp/floatsisf.c: Likewise.
3813 * soft-fp/floatsitf.c: Likewise.
3814 * soft-fp/floattidf.c: Likewise.
3815 * soft-fp/floattisf.c: Likewise.
3816 * soft-fp/floattitf.c: Likewise.
3817 * soft-fp/floatundidf.c: Likewise.
3818 * soft-fp/floatundisf.c: Likewise.
3819 * soft-fp/floatunditf.c: Likewise.
3820 * soft-fp/floatunsidf.c: Likewise.
3821 * soft-fp/floatunsisf.c: Likewise.
3822 * soft-fp/floatunsitf.c: Likewise.
3823 * soft-fp/floatuntidf.c: Likewise.
3824 * soft-fp/floatuntisf.c: Likewise.
3825 * soft-fp/floatuntitf.c: Likewise.
3826 * soft-fp/fmadf4.c: Likewise.
3827 * soft-fp/fmasf4.c: Likewise.
3828 * soft-fp/fmatf4.c: Likewise.
3829 * soft-fp/gedf2.c: Likewise.
3830 * soft-fp/gesf2.c: Likewise.
3831 * soft-fp/getf2.c: Likewise.
3832 * soft-fp/ledf2.c: Likewise.
3833 * soft-fp/lesf2.c: Likewise.
3834 * soft-fp/letf2.c: Likewise.
3835 * soft-fp/muldf3.c: Likewise.
3836 * soft-fp/mulsf3.c: Likewise.
3837 * soft-fp/multf3.c: Likewise.
3838 * soft-fp/negdf2.c: Likewise.
3839 * soft-fp/negsf2.c: Likewise.
3840 * soft-fp/negtf2.c: Likewise.
3841 * soft-fp/op-1.h: Likewise.
3842 * soft-fp/op-2.h: Likewise.
3843 * soft-fp/op-4.h: Likewise.
3844 * soft-fp/op-8.h: Likewise.
3845 * soft-fp/op-common.h: Likewise.
3846 * soft-fp/quad.h: Likewise.
3847 * soft-fp/single.h: Likewise.
3848 * soft-fp/soft-fp.h: Likewise.
3849 * soft-fp/sqrtdf2.c: Likewise.
3850 * soft-fp/sqrtsf2.c: Likewise.
3851 * soft-fp/sqrttf2.c: Likewise.
3852 * soft-fp/subdf3.c: Likewise.
3853 * soft-fp/subsf3.c: Likewise.
3854 * soft-fp/subtf3.c: Likewise.
3855 * soft-fp/truncdfsf2.c: Likewise.
3856 * soft-fp/trunctfdf2.c: Likewise.
3857 * soft-fp/trunctfsf2.c: Likewise.
3858 * soft-fp/trunctfxf2.c: Likewise.
3859 * soft-fp/unorddf2.c: Likewise.
3860 * soft-fp/unordsf2.c: Likewise.
3861 * soft-fp/unordtf2.c: Likewise.
3862
9ebb0332
JM
38632013-10-15 Joseph Myers <joseph@codesourcery.com>
3864
3865 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3866 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3867
4b1a6d8b
OB
38682013-10-15 Ondřej Bílka <neleai@seznam.cz>
3869
3870 * elf/dl-libc.c: Clear initfini list after freeing.
3871
1e145589
JM
38722013-10-14 Joseph Myers <joseph@codesourcery.com>
3873
3874 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3875 * soft-fp/addsf3.c: Likewise.
3876 * soft-fp/addtf3.c: Likewise.
3877 * soft-fp/divdf3.c: Likewise.
3878 * soft-fp/divsf3.c: Likewise.
3879 * soft-fp/divtf3.c: Likewise.
3880 * soft-fp/double.h: Likewise.
3881 * soft-fp/eqdf2.c: Likewise.
3882 * soft-fp/eqsf2.c: Likewise.
3883 * soft-fp/eqtf2.c: Likewise.
3884 * soft-fp/extenddftf2.c: Likewise.
3885 * soft-fp/extended.h: Likewise.
3886 * soft-fp/extendsfdf2.c: Likewise.
3887 * soft-fp/extendsftf2.c: Likewise.
3888 * soft-fp/extendxftf2.c: Likewise.
3889 * soft-fp/fixdfdi.c: Likewise.
3890 * soft-fp/fixdfsi.c: Likewise.
3891 * soft-fp/fixdfti.c: Likewise.
3892 * soft-fp/fixsfdi.c: Likewise.
3893 * soft-fp/fixsfsi.c: Likewise.
3894 * soft-fp/fixsfti.c: Likewise.
3895 * soft-fp/fixtfdi.c: Likewise.
3896 * soft-fp/fixtfsi.c: Likewise.
3897 * soft-fp/fixtfti.c: Likewise.
3898 * soft-fp/fixunsdfdi.c: Likewise.
3899 * soft-fp/fixunsdfsi.c: Likewise.
3900 * soft-fp/fixunsdfti.c: Likewise.
3901 * soft-fp/fixunssfdi.c: Likewise.
3902 * soft-fp/fixunssfsi.c: Likewise.
3903 * soft-fp/fixunssfti.c: Likewise.
3904 * soft-fp/fixunstfdi.c: Likewise.
3905 * soft-fp/fixunstfsi.c: Likewise.
3906 * soft-fp/fixunstfti.c: Likewise.
3907 * soft-fp/floatdidf.c: Likewise.
3908 * soft-fp/floatdisf.c: Likewise.
3909 * soft-fp/floatditf.c: Likewise.
3910 * soft-fp/floatsidf.c: Likewise.
3911 * soft-fp/floatsisf.c: Likewise.
3912 * soft-fp/floatsitf.c: Likewise.
3913 * soft-fp/floattidf.c: Likewise.
3914 * soft-fp/floattisf.c: Likewise.
3915 * soft-fp/floattitf.c: Likewise.
3916 * soft-fp/floatundidf.c: Likewise.
3917 * soft-fp/floatundisf.c: Likewise.
3918 * soft-fp/floatunsidf.c: Likewise.
3919 * soft-fp/floatunsisf.c: Likewise.
3920 * soft-fp/floatuntidf.c: Likewise.
3921 * soft-fp/floatuntisf.c: Likewise.
3922 * soft-fp/floatuntitf.c: Likewise.
3923 * soft-fp/fmadf4.c: Likewise.
3924 * soft-fp/fmasf4.c: Likewise.
3925 * soft-fp/fmatf4.c: Likewise.
3926 * soft-fp/gedf2.c: Likewise.
3927 * soft-fp/gesf2.c: Likewise.
3928 * soft-fp/getf2.c: Likewise.
3929 * soft-fp/ledf2.c: Likewise.
3930 * soft-fp/lesf2.c: Likewise.
3931 * soft-fp/letf2.c: Likewise.
3932 * soft-fp/muldf3.c: Likewise.
3933 * soft-fp/mulsf3.c: Likewise.
3934 * soft-fp/multf3.c: Likewise.
3935 * soft-fp/negdf2.c: Likewise.
3936 * soft-fp/negsf2.c: Likewise.
3937 * soft-fp/negtf2.c: Likewise.
3938 * soft-fp/op-1.h: Likewise.
3939 * soft-fp/op-2.h: Likewise.
3940 * soft-fp/op-4.h: Likewise.
3941 * soft-fp/op-8.h: Likewise.
3942 * soft-fp/op-common.h: Likewise.
3943 * soft-fp/quad.h: Likewise.
3944 * soft-fp/single.h: Likewise.
3945 * soft-fp/soft-fp.h: Likewise.
3946 * soft-fp/sqrtdf2.c: Likewise.
3947 * soft-fp/sqrtsf2.c: Likewise.
3948 * soft-fp/sqrttf2.c: Likewise.
3949 * soft-fp/subdf3.c: Likewise.
3950 * soft-fp/subsf3.c: Likewise.
3951 * soft-fp/subtf3.c: Likewise.
3952 * soft-fp/truncdfsf2.c: Likewise.
3953 * soft-fp/trunctfdf2.c: Likewise.
3954 * soft-fp/trunctfsf2.c: Likewise.
3955 * soft-fp/trunctfxf2.c: Likewise.
3956 * soft-fp/unorddf2.c: Likewise.
3957 * soft-fp/unordsf2.c: Likewise.
3958 * soft-fp/unordtf2.c: Likewise.
3959
17c48a60
OB
39602013-10-14 Ondřej Bílka <neleai@seznam.cz>
3961
3962 [BZ #15672]
3963 * misc/error.c (error_tail): Fix possible buffer overflow.
3964
cabba934
OB
39652013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3966
3967 [BZ #13028]
3968 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3969 address.
3970
94bf958a
PM
39712013-10-14 P. J. McDermott <pj@pehjota.net>
3972
3973 [BZ #832]
3974 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3975 testing pipefail option.
3976
71b4dea7
JM
39772013-10-12 Joseph Myers <joseph@codesourcery.com>
3978
3979 * soft-fp/double.h: Indent preprocessor directives inside #if.
3980 * soft-fp/extended.h: Likewise.
3981 * soft-fp/op-2.h: Likewise.
3982 * soft-fp/op-4.h: Likewise.
3983 * soft-fp/op-common.h: Likewise.
3984 * soft-fp/quad.h: Likewise.
3985 * soft-fp/single.h: Likewise.
3986 * soft-fp/soft-fp.h: Likewise.
3987
55602758
YC
39882013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3989
3990 * iconv/iconv_prog.c: Fix typos.
3991 * stdio-common/psiginfo-data.h: Likewise.
3992
9cd83302
RT
39932013-10-12 Reuben Thomas <rrt@sc3d.org>
3994
3995 [BZ #15764]
3996 * locale/setlocale.c: Fix typo.
3997
99fd9f47
JM
39982013-10-12 Joseph Myers <joseph@codesourcery.com>
3999
b7ea74f0
JM
4000 [BZ #16036]
4001 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4002 signaling NaN arguments.
4003 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4004 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4005
8a509447
JM
4006 [BZ #14910]
4007 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4008 unordered operands.
4009 * soft-fp/gesf2.c (__gesf2): Likewise.
4010 * soft-fp/getf2.c (__getf2): Likewise.
4011 * soft-fp/ledf2.c (__ledf2): Likewise.
4012 * soft-fp/lesf2.c (__lesf2): Likewise.
4013 * soft-fp/letf2.c (__letf2): Likewise.
4014
98998e9f
JM
4015 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4016 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4017 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4018 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4019 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4020 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4021 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4022 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4023 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4024 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4025 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4026 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4027 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4028 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4029 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4030 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4031 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4032 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4033 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4034 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4035 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4036 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4037 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4038 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4039 * soft-fp/floattidf.c (__floattidf): Likewise.
4040 * soft-fp/floattisf.c (__floattisf): Likewise.
4041 * soft-fp/floattitf.c (__floattitf): Likewise.
4042 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4043 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4044 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4045 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4046 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4047 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4048 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4049 * soft-fp/gesf2.c (__gesf2): Likewise.
4050 * soft-fp/getf2.c (__getf2): Likewise.
4051 * soft-fp/ledf2.c (__ledf2): Likewise.
4052 * soft-fp/lesf2.c (__lesf2): Likewise.
4053 * soft-fp/letf2.c (__letf2): Likewise.
4054
8edc4a11
JM
4055 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4056 Undefine and redefine.
4057 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4058 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4059 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4060 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4061 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4062 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4063 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4064 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4065 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4066 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4067 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4068 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4069 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4070 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4071 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4072
8399acaf
JM
4073 [BZ #16032]
4074 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4075 without decrementing exponent if mantissa >= that for the
4076 denominator, not >.
4077 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4078 denominator, not >. Decrement exponent in < case instead of
4079 incrementing in >= case.
4080 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4081 without decrementing exponent if mantissa >= that for the
4082 denominator, not >.
4083
99fd9f47
JM
4084 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4085 computing saturated result for unsigned overflow.
4086
10e1cf6b
SP
40872013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4088 Jeff Law <law@redhat.com>
4089
4090 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4091 (atan2Mp): Add systemtap probe marker.
4092 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4093 (__ieee754_log): Add systemtap probe marker.
4094 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4095 (atanMp): Add systemtap probe marker.
4096 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4097 (tanMp): Add systemtap probe marker.
4098 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4099 (__slowexp): Add systemtap probe marker.
4100 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4101 (__slowpow): Add systemtap probe marker.
4102 * manual/probes.texi: Document probes.
4103
3d110c7c
EB
41042013-10-11 Eric Biggers <ebiggers3@gmail.com>
4105
4106 [BZ #15362]
4107 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4108 written.
4109 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4110 written.
4111 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4112 written to buffer but not flushed.
4113 * libio/iofwrite_u.c: Likewise.
4114 * libio/iopadn.c: Return bytes returned even if EOF was
4115 encountered.
4116 * libio/iowpadn.c: Likewise.
4117 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4118 if _IO_padn does not write the whole buffer.
4119 [!COMPILE_WPRINTF] (PAD): Likewise.
4120
75b4202a
DM
41212013-10-10 David S. Miller <davem@davemloft.net>
4122
4123 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4124 directory block.
4125
6c6352e6
JM
41262013-10-10 Joseph Myers <joseph@codesourcery.com>
4127
33b853c3
JM
4128 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4129 instead of FSF address.
4130 * soft-fp/fixdfti.c: Likewise.
4131 * soft-fp/fixsfti.c: Likewise.
4132 * soft-fp/fixtfti.c: Likewise.
4133 * soft-fp/fixunsdfti.c: Likewise.
4134 * soft-fp/fixunssfti.c: Likewise.
4135 * soft-fp/fixunstfti.c: Likewise.
4136 * soft-fp/floattidf.c: Likewise.
4137 * soft-fp/floattisf.c: Likewise.
4138 * soft-fp/floattitf.c: Likewise.
4139 * soft-fp/floatuntidf.c: Likewise.
4140 * soft-fp/floatuntisf.c: Likewise.
4141 * soft-fp/floatuntitf.c: Likewise.
4142 * soft-fp/trunctfxf2.c: Likewise.
4143
6c6352e6
JM
4144 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4145 * soft-fp/fixdfti.c: Likewise.
4146 * soft-fp/fixsfti.c: Likewise.
4147 * soft-fp/fixtfti.c: Likewise.
4148 * soft-fp/fixunsdfti.c: Likewise.
4149 * soft-fp/fixunssfti.c: Likewise.
4150 * soft-fp/fixunstfti.c: Likewise.
4151 * soft-fp/floattidf.c: Likewise.
4152 * soft-fp/floattisf.c: Likewise.
4153 * soft-fp/floattitf.c: Likewise.
4154 * soft-fp/floatuntidf.c: Likewise.
4155 * soft-fp/floatuntisf.c: Likewise.
4156 * soft-fp/floatuntitf.c: Likewise.
4157 * soft-fp/trunctfxf2.c: Likewise.
4158
3bf78b71
DM
41592013-10-10 David S. Miller <davem@davemloft.net>
4160
4161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4162
6f10289e
JM
41632013-10-10 Joseph Myers <joseph@codsourcery.com>
4164
bd878fc0
JM
4165 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4166 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4167 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4168 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4169 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4170 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4171 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4172
6f10289e
JM
4173 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4174 for NaNs before doing comparisons on argument.
4175 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4176 Likewise.
4177
321e2684
WN
41782013-10-10 Will Newton <will.newton@linaro.org>
4179
4180 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4181 passed to _int_memalign does not overflow.
4182
40fefba1
TR
41832013-10-10 Torvald Riegel <triegel@redhat.com>
4184
4185 * scripts/bench.pl: Add include-sources directive.
4186 * benchtests/README: Update documentation.
4187
2ae21ed2
JM
41882013-10-10 Joseph Myers <joseph@codesourcery.com>
4189
dcc2dd3f
JM
4190 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4191 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4192 instead of FP_INIT_ROUNDMODE.
4193 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4194 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4195
2ae21ed2
JM
4196 [BZ #16034]
4197 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4198 copy class of input value.
4199 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4200 not handle exceptions.
4201 * soft-fp/negsf2.c (__negsf2): Likewise.
4202 * soft-fp/negtf2.c (__negtf2): Likewise.
4203 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4204
cb8f9562
JM
42052013-10-09 Joseph Myers <joseph@codesourcery.com>
4206
4207 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4208 semicolon. From Linux kernel.
4209
5b60c59d
AB
42102013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4211
4212 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4213
b86835ca
YC
42142013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4215
4216 [BZ #156]
4217 * manual/socket.texi: Added statement about buffer
4218 for gethostbyname2_r.
4219
e7044ea7
OB
42202013-10-08 Ondřej Bílka <neleai@seznam.cz>
4221
4222 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4223 Use .p2align directive instead, throughout.
4224 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4225 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4226 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4227 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4228 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4229 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4230 * sysdeps/x86_64/strchr.S: Likewise.
4231 * sysdeps/x86_64/strrchr.S: Likewise.
4232
09544cbc
SP
42332013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4234
88576635
SP
4235 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4236
e7b2d1dd
SP
4237 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4238
09544cbc
SP
4239 * sysdeps/generic/math_private.h (__mpsin1): Remove
4240 declaration.
4241 (__mpcos1): Likewise.
4242 (__mpsin): New argument __range_reduce.
4243 (__mpcos): Likewise.
4244 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4245 (slow): Use __mpsin and __mpcos.
4246 (slow1): Likewise.
4247 (slow2): Likewise.
4248 (sloww): Likewise.
4249 (sloww1): Likewise.
4250 (sloww2): Likewise.
4251 (bsloww): Likewise.
4252 (bsloww1): Likewise.
4253 (bsloww2): Likewise.
4254 (cslow2): Likewise.
4255 (csloww): Likewise.
4256 (csloww1): Likewise.
4257 (csloww2): Likewise.
4258 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4259 range_reduce. Merge in __mpsin1.
4260 (__mpcos): Likewise.
4261 (__mpsin1): Remove.
4262 (__mpcos1): Likewise.
4263
7602d070
JM
42642013-10-07 Joseph Myers <joseph@codesourcery.com>
4265
4266 * locale/loadlocale.c (_nl_intern_locale_data): Use
4267 LOCFILE_ALIGNED_P.
4268 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4269 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4270 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4271 obstack data is appropriately aligned.
4272 (obstack_int32_grow_fast): Likewise.
4273 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4274 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4275 (add_locale_uint32_array): Likewise.
4276
a357259b
SP
42772013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4278
4279 * benchtests/Makefile: Remove ARGLIST and RET variables.
4280 ($(objpfx)bench-%.c): Pass only function name to the script.
4281 * benchtests/README: Update documentation.
4282 * benchtests/acos-inputs: Add new directives.
4283 * benchtests/acosh-inputs: Likewise.
4284 * benchtests/asin-inputs: Likewise.
4285 * benchtests/asinh-inputs: Likewise.
4286 * benchtests/atan-inputs: Likewise.
4287 * benchtests/atanh-inputs: Likewise.
4288 * benchtests/cos-inputs: Likewise.
4289 * benchtests/cosh-inputs: Likewise.
4290 * benchtests/exp-inputs: Likewise.
4291 * benchtests/log-inputs: Likewise.
4292 * benchtests/pow-inputs: Likewise.
4293 * benchtests/rint-inputs: Likewise.
4294 * benchtests/sin-inputs: Likewise.
4295 * benchtests/sinh-inputs: Likewise.
4296 * benchtests/tan-inputs: Likewise.
4297 * benchtests/tanh-inputs: Likewise.
4298 * scripts/bench.pl: Add support for new directives.
4299
9ec1b13d
AM
43002013-10-07 Alan Modra <amodra@gmail.com>
4301
4302 * README: Fix careless merge.
4303
8b7d57cd
AM
43042013-10-05 Alan Modra <amodra@gmail.com>
4305
4306 * NEWS: Mention powerpc64le support and bugs fixed.
4307 * README: Both big-endian and little-endian powerpc64 supported.
4308
7b7bab13
ST
43092013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4310
4311 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4312 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4313 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4314 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4315
d39baad1
RA
43162013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4317
4318 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4319 match prototype.
4320
cd78f7e7
JM
43212013-10-04 Joseph Myers <joseph@codesourcery.com>
4322
29d73d86
JM
4323 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4324 Move -mhard-float appending from
4325 ports/sysdeps/powerpc/powerpc32/Makefile.
4326 [$(with-fp) = yes] (ASFLAGS): Likewise.
4327 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4328 * sysdeps/powerpc/nofpu: Move directory from
4329 ports/sysdeps/powerpc/nofpu.
4330 * sysdeps/powerpc/soft-fp: Move directory from
4331 ports/sysdeps/powerpc/soft-fp.
4332 * sysdeps/powerpc/powerpc32/405: Move directory from
4333 ports/sysdeps/powerpc/powerpc32/405.
4334 * sysdeps/powerpc/powerpc32/440: Move directory from
4335 ports/sysdeps/powerpc/powerpc32/440.
4336 * sysdeps/powerpc/powerpc32/464: Move directory from
4337 ports/sysdeps/powerpc/powerpc32/464.
4338 * sysdeps/powerpc/powerpc32/476: Move directory from
4339 ports/sysdeps/powerpc/powerpc32/476.
4340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4341 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4343 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4345 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4347 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4349 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4350 * README: Update for powerpc-*-linux-gnu software floating point
4351 support in libc.
4352
e246b347
JM
4353 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4354 case to powerpc/powerpc32*.
4355 * sysdeps/unix/sysv/linux/configure: Regenerated.
4356
89c2003e
JM
4357 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4358 (_FPU_MASK_OM): Define as 0x04.
4359 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4360 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4361 0x00c10080.
4362 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4363 0x0000003c.
4364 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4365
cd78f7e7
JM
4366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4367 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4368 getcontext_e500.
4369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4370 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4371 setcontext_e500.
4372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4373 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4374 and setcontext_e500.
4375
c755294d
CL
43762013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4377
4378 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4379
e16d221c
SP
43802013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4381
4382 * manual/threads.texi (Default Thread Attributes): Fix typo.
4383
215c7d43
WN
43842013-10-04 Will Newton <will.newton@linaro.org>
4385
4386 * malloc/Makefile: Add tst-memalign.
4387 * malloc/tst-memalign.c: New file.
4388
27d0461b
WN
4389 * malloc/tst-posix_memalign.c: Add comments.
4390 (do_test): Add comments and call free on all potentially
4391 allocated pointers. Add space after cast.
4392
1bc92709
WN
4393 * malloc/tst-pvalloc.c: Add comments.
4394 (do_test): Add comments and call free on all potentially
4395 allocated pointers. Remove duplicate check for NULL pointer.
4396 Add space after cast.
4397
66a9be9d
WN
4398 * malloc/tst-valloc.c: Add comments.
4399 (do_test): Add comments and call free on all potentially
4400 allocated pointers. Remove duplicate check for NULL pointer.
4401 Add space after cast.
4402
4cb81307
AM
44032013-10-04 Alan Modra <amodra@gmail.com>
4404
4405 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4406 Use stdint types in rather than __attribute__((mode())).
4407 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4408
f8e3e9f3
AM
44092013-10-04 Alan Modra <amodra@gmail.com>
4410
4411 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4412 Correct handling of unaligned relocs for little-endian.
4413 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4414
8f9ebb08
AM
44152013-10-04 Alan Modra <amodra@gmail.com>
4416
4417 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4418 * configure: Regenerate.
4419 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4420 * shlib-versions: Likewise.
4421
0edf96c2
AM
44222013-10-04 Alan Modra <amodra@gmail.com>
4423
4424 * string/tester.c (test_memrchr): Increment reported test cycle.
4425
e0f7a380
AM
44262013-10-04 Alan Modra <amodra@gmail.com>
4427
4428 * string/test-memcpy.c (do_one_test): When reporting errors, print
4429 string address and don't overrun end of string.
4430
466b0393
AM
44312013-10-04 Alan Modra <amodra@gmail.com>
4432
4433 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4434 insrdi. Make better use of reg selection to speed exit slightly.
4435 Schedule entry path a little better. Remove useless "are we done"
4436 checks on entry to main loop. Handle wrapping around zero address.
4437 Correct main loop count. Handle single left-over word from main
4438 loop inline rather than by using loop_small. Remove extra word
4439 case in loop_small caused by wrong loop count. Add little-endian
4440 support.
4441 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4442 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4443 cache hint.
4444 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4445 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4446 support. Avoid rlwimi.
4447 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4448
3be87c77
AM
44492013-10-04 Alan Modra <amodra@gmail.com>
4450
4451 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 4452 insrdi. Formatting.
3be87c77
AM
4453 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4454 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4455 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4456 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4457 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4458 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4459
759cfef3
AM
44602013-10-04 Alan Modra <amodra@gmail.com>
4461
4462 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4463 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4464 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4465 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4466 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4467 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4468 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4469 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4470 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4471 use of regs. Use power7 mtocrf. Tidy function tails.
4472
fe6e95d7
AM
44732013-10-04 Alan Modra <amodra@gmail.com>
4474
4475 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4476 Formatting. Consistently use rXXX register defines or rN defines.
4477 Use early exit labels that avoid restoring unused non-volatile regs.
4478 Make cr field use more consistent with rWORDn compares. Rename
4479 regs used as shift registers for unaligned loop, using rN defines
4480 for short lifetime/multiple use regs.
4481 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4482 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4483 addi 1,1,64 to pop stack frame. Simplify return value code.
4484 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4485
664318c3
AM
44862013-10-04 Alan Modra <amodra@gmail.com>
4487
4488 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4489 support. Correct typos, formatting. Optimize tail. Use insrdi
4490 rather than rlwimi.
4491 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4492 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4493 little-endian support. Correct typos.
4494 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4495 rather than rlwimi.
4496 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4497 in loop and entry code to keep "and." results.
4498 (strchr): Add little-endian support. Comment. Move cntlzd
4499 earlier in tail.
4500 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4501
43b84013
AM
45022013-10-04 Alan Modra <amodra@gmail.com>
4503
4504 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4505 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4506 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4507 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4508
8a7413f9
AM
45092013-10-04 Alan Modra <amodra@gmail.com>
4510
4511 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4512 (rTMP): Define as r11.
4513 (strcmp): Add little-endian support. Optimise tail.
4514 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4515 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4516 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4517 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4518 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4519 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4520 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4521
33ee81de
AM
45222013-10-04 Alan Modra <amodra@gmail.com>
4523
4524 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4525 little-endian support. Remove unnecessary "are we done" tests.
4526 Handle "s" wrapping around zero and extremely large "size".
4527 Correct main loop count. Handle single left-over word from main
4528 loop inline rather than by using small_loop. Correct comments.
4529 Delete "zero" tail, use "end_max" instead.
4530 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4531
db9b4570
AM
45322013-10-04 Alan Modra <amodra@gmail.com>
4533
4534 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4535 support. Don't branch over align.
4536 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4537 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4538 support. Rearrange tmp reg use to suit. Comment.
4539 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4540
f7c399cf
AM
45412013-10-04 Alan Modra <amodra@gmail.com>
4542
4543 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4544
0b2c2ace
AM
45452013-10-04 Alan Modra <amodra@gmail.com>
4546
4547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4548 conditional form of branch and link when obtaining pc.
4549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4550
02f04a6c
AM
45512013-10-04 Alan Modra <amodra@gmail.com>
4552
4553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4554 HIWORD/LOWORD.
4555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4557
9b874b2f
AM
45582013-10-04 Alan Modra <amodra@gmail.com>
4559
4560 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4561 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4562 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4563 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4564 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4565 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4566 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4567 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4568 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4569 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4570
be1e5d31
AB
45712013-10-04 Anton Blanchard <anton@au1.ibm.com>
4572 Alistair Popple <alistair@ozlabs.au.ibm.com>
4573 Alan Modra <amodra@gmail.com>
4574
4575 [BZ #15723]
4576 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4577 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4578 _dl_hwcap access for little-endian.
4579 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4580 destroy vmx regs when saving unaligned.
4581 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4582 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4583 destroy vmx regs when saving unaligned.
4584
fef13a78
AM
45852013-10-04 Alan Modra <amodra@gmail.com>
4586
4587 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4588 Don't use a union to pack hi/low value.
4589
76a66d51
AB
45902013-10-04 Anton Blanchard <anton@au1.ibm.com>
4591
4592 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4593 for little-endian.
4594 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4595 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4596 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4597 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4598 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4599
6a31fe7f
AM
46002013-10-04 Alan Modra <amodra@gmail.com>
4601
4602 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4603 constants to usual value for .cst8 section, and remove redundant
4604 high address load.
4605 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4606 constant for 0x1p52. Load little-endian words of double from
4607 correct stack offsets.
4608
7b88401f
AM
46092013-10-04 Alan Modra <amodra@gmail.com>
4610
4611 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4612 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4613 words of double from correct stack offsets.
4614 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4615 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4616 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4617 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4618 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4619 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4620 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4621 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4622 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4623 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4624 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4625 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4626 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4627 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4628 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4629 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4630 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4631
9c008155
AM
46322013-10-04 Alan Modra <amodra@gmail.com>
4633
4634 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4635 64-bit int/double union.
4636 (_FPU_SETCW): Likewise.
4637 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4638 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4639
da13146d
AM
46402013-10-04 Alan Modra <amodra@gmail.com>
4641
4642 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4643 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4644
603e8410
AM
46452013-10-04 Alan Modra <amodra@gmail.com>
4646
4647 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4648 use vector int constants.
4649 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4650
4a28b3ca
AB
46512013-10-04 Anton Blanchard <anton@au1.ibm.com>
4652
4653 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4654 array with long long.
4655 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4656 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4657 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4658 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4659 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4660 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4661 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4662 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4663 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4664 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4665 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4666 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4667 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4668
2ca85d2b
AB
46692013-10-04 Anton Blanchard <anton@au1.ibm.com>
4670
4671 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4672 (__signbit): Likewise. Correct for little-endian.
4673 (__signbitl): Call __signbit.
4674 (lrint): Correct for little-endian.
4675 (lrintf): Call lrint.
4676
62a728ae
AM
46772013-10-04 Alan Modra <amodra@gmail.com>
4678
4679 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4680 union 32-bit int array member with 64-bit int array.
4681 (t515, tm256): Double rather than long double.
4682 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4683
32c301df
AM
46842013-10-04 Alan Modra <amodra@gmail.com>
4685
4686 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4687 Delete.
4688 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4689 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4690 version of math_ldbl.h.
4691
650ef4bd
AM
46922013-10-04 Alan Modra <amodra@gmail.com>
4693
4694 [BZ #15734], [BZ #15735]
4695 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4696 all uses of ieee875 long double macros and unions. Simplify test
4697 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4698 ldbl_extract_mantissa value for ix,iy exponents. Properly
4699 normalize after ldbl_extract_mantissa, and don't add hidden bit
4700 already handled. Don't treat low word of ieee854 mantissa like
4701 low word of IBM long double and mask off bit when testing for
4702 zero.
4703 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4704 all uses of ieee875 long double macros and unions. Simplify tests
4705 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4706 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4707 two1022, instead use their values. Recognise that tests for large
4708 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4709 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4710 Rewrite all uses of ieee875 long double macros and unions. Simplify
4711 test for 0.0L and nan. Correct negation.
4712 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4713 ieee875 long double macros and unions. Correct output for large
4714 magnitude x. Correct absolute value calculation.
4715 (__erfcl): Likewise.
4716 * math/libm-test.inc: Add tests for errors discovered in IBM long
4717 double versions of fmodl, remainderl, erfl and erfcl.
4718
765714ca
AM
47192013-10-04 Alan Modra <amodra@gmail.com>
4720
4721 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4722 all uses of ieee854 long double macros and unions. Simplify tests
4723 for long doubles that are fully specified by the high double.
4724 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4725 Likewise.
4726 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4727 Remove dead code too.
4728 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4729 (__ieee754_ynl): Likewise.
4730 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4731 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4732 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4733 Remove dead code too.
4734 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4735 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4736 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4737 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4738 Simplify.
4739 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4740 Simplify.
4741 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4742 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4743 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4744 Comment on variable precision.
4745 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4746 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4747 Likewise.
4748 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4749 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4750 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4751 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4752 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4753
4ebd120c
AM
47542013-10-04 Alan Modra <amodra@gmail.com>
4755
4756 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4757 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4758 all uses of ieee854 long double macros and unions.
4759 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4760 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4761 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4762 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4763 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4764 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4765 Likewise.
4766 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4767 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4768 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4769 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4770 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4771 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4772 Simplify sign and nan test too.
4773 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4774 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4775 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4776 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4777 Likewise.
4778 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4779 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4780 Likewise.
4781 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4782 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4783 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4784 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4785 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4786 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4787
1b6adf88
AM
47882013-10-04 Alan Modra <amodra@gmail.com>
4789
4790 * stdio-common/printf_size.c (__printf_size): Don't use
4791 union ieee854_long_double in fpnum union.
4792 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4793 signbit macro to retrieve sign from long double.
4794 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4795 retrieve sign from long double.
4796 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4797 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4798 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4799 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4800 * math/test-misc.c (main): Don't use union ieee854_long_double.
4801
4cf69995
AM
48022013-10-04 Alan Modra <amodra@gmail.com>
4803
4804 [BZ #15680]
4805 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4806 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4807 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4808 calculation. Remove unnecessary test for denormal exponent.
4809 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4810 Correct handling of denormals. Avoid undefined shift behaviour.
4811 Correct normalisation of low mantissa when low double is denormal.
4812 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4813 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4814 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4815 Correct normalisation of low mantissa. Test for overflow of high
4816 mantissa and normalise.
4817 (ldbl_nearbyint): Use more readable constant for two52.
4818 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4819 (__mpn_construct_long_double): Fix test for overflow of high
4820 mantissa and correct normalisation. Avoid undefined shift.
4821
9605ca6c
AM
48222013-10-04 Alan Modra <amodra@gmail.com>
4823
4824 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4825 (union ibm_extended_long_double): Define as an array of ieee754_double.
4826 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4827 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4828 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4829 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4830 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4831 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4832 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4833 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4834 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4835 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4836 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4837
975569d0
JM
48382013-10-03 Joseph Myers <joseph@codesourcery.com>
4839
d3d23756
JM
4840 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4841 page size instead of calling getpagesize.
4842
975569d0
JM
4843 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4844 (LOCFILE_ALIGN_MASK): Likewise.
4845 (LOCFILE_ALIGN_UP): Likewise.
4846 (LOCFILE_ALIGNED_P): Likewise.
4847 * locale/programs/ld-collate.c (collate_output): Use the new
4848 macros instead of __alignof__ (int32_t).
4849 * locale/weight.h (findidx): Likewise.
4850
b1fe1f2b
OB
48512013-10-03 Ondřej Bílka <neleai@seznam.cz>
4852
4853 [BZ #431]
4854 * manual/string.texi: Fix strncat and wcsncat.
4855
5f855e35
BM
48562013-10-03 Brooks Moses <bmoses@google.com>
4857
4858 [BZ #15915]
4859 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4860 * Makerules: ...here, and adjust associated comments.
4861
3cef6009
WN
48622013-10-02 Will Newton <will.newton@linaro.org>
4863
4864 * malloc/Makefile: Add tst-pvalloc.
4865 * malloc/tst-pvalloc.c: New file.
4866
7815420b
WN
48672013-10-02 Will Newton <will.newton@linaro.org>
4868
4869 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4870 improve test coverage.
4871
4868b204
WN
48722013-10-02 Will Newton <will.newton@linaro.org>
4873
4874 * malloc/Makefile: Add tst-posix_memalign.
4875 * malloc/tst-posix_memalign.c: New file.
4876
29c793b3
EB
48772013-10-01 Eric Blake <eblake@redhat.com>
4878
4879 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4880 Use __THROWNL rather than __THROW on static functions.
4881
fd967522
PM
48822013-09-30 Petr Machata <pmachata@redhat.com>
4883
4884 * elf/elf.h (R_AARCH64_ABS16): New macro.
4885 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4886 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4887 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4888 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4889 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4890 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4891 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4892 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4893 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4894 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4895 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4896 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4897 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4898 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4899 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4900 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4901 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4902 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4903 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4904 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4905 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4906 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4907 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4908 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4909 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4910 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4911 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4912 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4913 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4914 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4915 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4916 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4917 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4918 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4919 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4920 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4921 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4922 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4923 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4924 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4925 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4926 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4927 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4928 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4929 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4930 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4931 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4932 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4933 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4934 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4935 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4936 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4937 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4938 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4939 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4940 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4941 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4942 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4943 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4944 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4945 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4946 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4947 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4948 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4949 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4950 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4951 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4952 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4953 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4954 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4955 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4956 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4957 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4958 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4959 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4960 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4961 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4962 (R_AARCH64_TLSDESC_LDR): Likewise.
4963 (R_AARCH64_TLSDESC_ADD): Likewise.
4964 (R_AARCH64_TLSDESC_CALL): Likewise.
4965
b2179107
AS
49662013-09-30 Andreas Schwab <schwab@suse.de>
4967
4968 [BZ #15048]
4969 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4970 the nss database lookup.
4971 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4973
47f28d0a
MF
49742013-09-28 Mike Frysinger <vapier@gentoo.org>
4975
4976 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4977
49782013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
4979
4980 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4981 ${Bash-specific parameter/pattern/string} parameter expansion.
4982 * sysdeps/unix/make-syscalls.sh: Likewise.
4983
f4518a17
KK
49842013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4985
4986 * sysdeps/sh/stackguard-macros.h: New file.
4987
dc1a95c7
OB
49882013-09-26 Ondřej Bílka <neleai@seznam.cz>
4989
4990 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4991 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4992 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4993 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4994 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4995 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4996
5ebbff8f
AZ
49972013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4998
4999 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5000 Fix thread ID register.
5001
4fd2cf9f
JM
50022013-09-25 Joseph Myers <joseph@codesourcery.com>
5003
5004 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5005 [POSIX || UNIX98]: Require rather than permitting all symbols from
5006 <time.h>.
5007 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5008 element of struct sched_param.
5009 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5010 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5011 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5012 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5013 constant.
5014
12c22bc4
OL
50152013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5016
5017 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5018 argument calculation.
5019
a03d8ea7
JM
50202013-09-24 Joseph Myers <joseph@codesourcery.com>
5021
5022 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5023 Expect macro.
5024 [POSIX] (pthread_attr_t): Do not require type.
5025 [POSIX] (pthread_cond_t): Likewise.
5026 [POSIX] (pthread_condattr_t): Likewise.
5027 [POSIX] (pthread_key_t): Likewise.
5028 [POSIX] (pthread_mutex_t): Likewise.
5029 [POSIX] (pthread_mutexattr_t): Likewise.
5030 [POSIX] (pthread_once_t): Likewise.
5031 [POSIX] (pthread_t): Likewise.
5032 [POSIX-based standards] (pthread_atfork): Expect function.
5033
6055173a
JM
50342013-09-24 Joseph Myers <joseph@codesourcery.com>
5035 Richard Sandiford <richard@codesourcery.com>
5036
5037 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5038 (swap_endianness_p): New extern variable.
5039 (set_big_endian): New inline function.
5040 (maybe_swap_uint32): Likewise.
5041 (maybe_swap_uint32_array): Likewise.
5042 (maybe_swap_uint32_obstack): Likewise.
5043 * locale/programs/locfile.c: Include <stdbool.h>.
5044 (swap_endianness_p): New variable.
5045 (add_locale_uint32): Call maybe_swap_uint32.
5046 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5047 (write_locale_data): Call maybe_swap_uint32_array.
5048 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5049 maybe_swap_uint32.
5050 (obstack_int32_grow_fast): Likewise.
5051 (output_weightwc): Call maybe_swap_uint32_obstack.
5052 (collate_output): Likewise.
5053 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5054 (OPT_LITTLE_ENDIAN): Likewise.
5055 (options): Add --little-endian and --big-endian options.
5056 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5057 * locale/programs/locarchive.c: Include "locfile.h".
5058 (GET): New macro.
5059 (SET): Likewise.
5060 (INC): Likewise.
5061 (create_archive): Use the new macros to access fields of
5062 structures directly mapped from or written to locale archives.
5063 (oldlocrecentcmp): Likewise.
5064 (enlarge_archive): Likewise.
5065 (insert_name): Likewise.
5066 (add_alias): Likewise.
5067 (add_locale): Likewise.
5068 (delete_locales_from_archive): Likewise.
5069 (show_archive_content): Likewise.
5070 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5071 locale data.
5072
39bf0bb4
RM
50732013-09-24 Roland McGrath <roland@hack.frob.com>
5074
5075 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5076 http://www.gnu.org/doc/freemanuals.texi.
5077 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5078
f02eed10
WN
50792013-09-24 Will Newton <will.newton@linaro.org>
5080
5081 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5082 macro.
5083
a3a6c312
JM
50842013-09-23 Joseph Myers <joseph@codesourcery.com>
5085
5086 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5087 unsigned char.
5088
107375ac
MR
50892013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5090
5091 * manual/threads.texi (POSIX Threads): Fix a typo.
5092
141f3a77
SP
50932013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5094
303e567a
SP
5095 [BZ #14547]
5096 * string/tst-strcoll-overflow.c: New test case.
5097 * string/Makefile (xtests): Add tst-strcoll-overflow.
5098 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5099 cache if string sizes may cause integer overflow.
5100
141f3a77
SP
5101 [BZ #14547]
5102 * string/strcoll_l.c (coll_seq): New members rule, idx,
5103 save_idx and back_us.
5104 (get_next_seq_nocache): New function.
5105 (do_compare_nocache): New function.
5106 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5107 when malloc fails.
5108
c61b4d41
CD
51092013-09-23 Carlos O'Donell <carlos@redhat.com>
5110
0b1f8e35
CD
5111 [BZ #15754]
5112 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5113 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5114 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5115
c61b4d41
CD
5116 [BZ #15754]
5117 * elf/Makefile (tests): Add tst-ptrguard1.
5118 (tests-static): Add tst-ptrguard1-static.
5119 (tst-ptrguard1-ARGS): Define.
5120 (tst-ptrguard1-static-ARGS): Define.
5121 * elf/tst-ptrguard1.c: New file.
5122 * elf/tst-ptrguard1-static.c: New file.
5123 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5124 * sysdeps/i386/stackguard-macros.h: Likewise.
5125 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5126 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5127 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5128 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5129 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5130 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5131
51322013-09-23 Hector Marco <hecmargi@upv.es>
5133 Ismael Ripoll <iripoll@disca.upv.es>
5134 Carlos O'Donell <carlos@redhat.com>
5135
5136 [BZ #15754]
5137 * sysdeps/generic/stackguard-macros.h: Define
5138 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5139 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5140 Define __pointer_chk_guard_local.
5141 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5142 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5143
f5f4e7b4
VV
51442013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5145
5146 [BZ #15859]
5147 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5148
5bb43a43
AS
51492013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5150
5151 * include/string.h (__ffs): Declare as hidden.
5152 * string/ffs.c (__ffs): Define as hidden.
5153 * sysdeps/i386/ffs.c (__ffs): Likewise.
5154 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5155 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5156 * sysdeps/s390/ffs.c (__ffs): Likewise.
5157 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5158
3ea5be54
AO
51592013-09-20 Alexandre Oliva <aoliva@redhat.com>
5160
ffb89e53
AO
5161 * NEWS: Mention malloc probes.
5162
322dea08
AO
5163 * malloc/arena.c (new_heap): New memory_heap_new probe.
5164 (grow_heap): New memory_heap_more probe.
5165 (shrink_heap): New memory_heap_less probe.
5166 (heap_trim): New memory_heap_free probe.
5167 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5168 (systrim): New memory_sbrk_less probe.
5169 * manual/probes.texi: Document them.
5170
655673f3
AO
5171 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5172 * manual/probes.texi: Document it.
5173
35fed6f1
AO
5174 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5175 (__libc_realloc): Add memory_realloc_retry probe.
5176 (__libc_memalign): Add memory_memalign_retry probe.
5177 (__libc_valloc): Add memory_valloc_retry probe.
5178 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5179 (__libc_calloc): Add memory_calloc_retry probe.
5180 * manual/probes.texi: Document them.
5181
6999d38c
AO
5182 * malloc/arena.c (get_free_list): Add probe
5183 memory_arena_reuse_free_list.
5184 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5185 and memory_arena_reuse.
5186 (arena_get2) [!PER_THREAD]: Likewise.
5187 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5188 memory_arena_reuse_realloc.
5189 * manual/probes.texi: Document them.
5190
0653427f
AO
5191 * malloc/malloc.c (__libc_free): Add
5192 memory_mallopt_free_dyn_thresholds probe.
5193 (__libc_mallopt): Add multiple memory_mallopt probes.
5194 * manual/probes.texi: Document them.
5195
3ea5be54
AO
5196 * malloc/malloc.c: Include stap-probe.h.
5197 (__libc_mallopt): Add memory_mallopt probe.
5198 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5199 * manual/probes.texi: New.
5200 * manual/Makefile (chapters): Add probes.
5201 * manual/threads.texi: Set next node.
5202
e35696c3 52032013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 5204
e35696c3
CL
5205 [BZ #15963, #13985]
5206 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5207 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5208 Add `Chinese' to `nan' entry name.
5209
4aafb73c
SP
52102013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5211
5212 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5213 (POLYNOMIAL): Likewise.
5214 (TAYLOR_SINCOS): Likewise.
5215 (TAYLOR_SLOW): Likewise.
5216 (__sin): Use TAYLOR_SINCOS.
5217 (__cos): Likewise.
5218 (slow): Use TAYLOR_SLOW.
5219 (sloww): Likewise.
5220 (bsloww): Likewise.
5221 (csloww): Likewise.
5222
d84f25c7
LD
52232013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5224
5225 * stdlib/strtod_l.c: Fix buffer overrun.
5226
5eea0404
SP
52272013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5228
7849ff93
SP
5229 * benchtests/Makefile (bench): Add sincos.
5230 * benchtests/bench-sincos.c: New file.
5231
cfa3c886
SP
5232 * math/libm-test.inc (cos_test_data): New test inputs.
5233 (sin_test_data): Likewise.
5234
b348e1e3
SP
5235 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5236 macro.
5237 (__sin): Use it.
5238 (__cos): Likewise.
5239 (slow1): Likewise.
5240 (slow2): Likewise.
5241 (sloww1): Likewise.
5242 (sloww2): Likewise.
5243 (bsloww1): Likewise.
5244 (bsloww2): Likewise.
5245 (cslow2): Likewise.
5246 (csloww1): Likewise.
5247 (csloww2): Likewise.
5248
6cce25f8
SP
5249 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5250 function.
5251 (__sin): Use it.
5252 (__cos): Likewise.
5253
5eea0404
SP
5254 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5255 gotos.
5256 (__cos): Likewise.
5257
9c21573c
MR
52582013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5259
5260 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5261 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5262 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5263 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5264 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5265 * elf/cache.c (print_entry): Handle the new cache flags.
5266
24d22e65
JM
52672013-09-18 Joseph Myers <joseph@codesourcery.com>
5268 Aldy Hernandez <aldyh@redhat.com>
5269
5270 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5271 Change condition to [_SOFT_FLOAT].
5272 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5273 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5274 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5275 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5276 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5277 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5278 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5279 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5280 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5281 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5282 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5283 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5284 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5285 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5286 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5287 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5288 declaration.
5289
d13ef066
JM
52902013-09-18 Joseph Myers <joseph@codesourcery.com>
5291
2e071de0
JM
5292 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5293 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5294 (__longjmp): Use LOAD_GP to load saved GPRs.
5295 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5296 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5297 (__sigsetjmp): Use SAVE_GP to save GPRs.
5298
d13ef066
JM
5299 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5300 Do not append -msoft-float.
5301 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5302
97a0650b
SP
53032013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5304
5305 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5306
11ca09e9
JM
53072013-09-17 Joseph Myers <joseph@codesourcery.com>
5308
5309 [BZ #15966]
5310 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5311 (_FPU_GETCW): Use initial "__" on variable and field names but not
5312 on macro parameter name.
5313 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5314 parentheses around reference to macro parameter.
5315
08ffcf34
RS
53162013-09-13 Richard Sandiford <richard@codesourcery.com>
5317
5318 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5319 prototype.
5320 (ctype_startup): Use uint32_t in cast and sizeof for
5321 ctype->charnames.
5322
ae7080d3
JL
53232013-09-11 Jia Liu <proljc@gmail.com>
5324
5325 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5326 __daddr_t_defined.
5327 [__FreeBSD__]: Likewise.
5328
5905e7b3
OB
53292013-09-11 Ondřej Bílka <neleai@seznam.cz>
5330
5331 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5332 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5333 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5334 (strchr): Remove __strchr_sse42 ifunc selection.
5335 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5336 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5337
b987c776
WN
53382013-09-11 Will Newton <will.newton@linaro.org>
5339
5340 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5341 parameter to RES. Remove hardcoded 1000 value.
5342 * benchtests/bench-skeleton.c (main): Pass RES parameter
5343 to TIMING_INIT and multiply result by 1000.
5344
ddf985af
AZ
53452013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5346
5347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5348
ffdd3181
AS
53492013-09-11 Andreas Schwab <schwab@suse.de>
5350
5351 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5352 if not defined.
5353 (O_TMPFILE) [__USE_GNU]: Define.
5354 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5355 Define.
5356
b73ed247
WN
53572013-09-11 Will Newton <will.newton@linaro.org>
5358
5359 [BZ #15857]
5360 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5361 does not overflow.
5362
55e17aad
WN
53632013-09-11 Will Newton <will.newton@linaro.org>
5364
5365 [BZ #15856]
5366 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5367 does not overflow.
5368
1159a193
WN
53692013-09-11 Will Newton <will.newton@linaro.org>
5370
5371 [BZ #15855]
5372 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5373 does not overflow.
5374
5905e7b3 53752013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
5376
5377 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5378 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5379 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5380 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5381 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5382
cdfc721b
AM
53832013-09-10 Allan McRae <allan@archlinux.org>
5384
aa04af00
AM
5385 [BZ #15748]
5386 * manual/arith.texi (Parsing of Floats): Clarify
5387 cross-reference.
5388
cdfc721b
AM
5389 [BZ #15849]
5390 * manual/install.texi (Running make install): Mention
5391 --enable-pt-chown.
5392 * INSTALL: Regenerated.
5393
95e7cf29
MR
53942013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5395
5396 * csu/init-first.c (_init): Remove the !SHARED condition around
5397 FPU control word initialization.
5398 * elf/dl-support.c (_dl_fpu_control): New variable.
5399 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5400 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5401 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5402 * math/test-fpucw-static.c: New file.
5403 * math/test-fpucw-ieee.c: New file.
5404 * math/test-fpucw-ieee-static.c: New file.
5405 * math/Makefile (tests): Add `test-fpucw-ieee' and
5406 `$(tests-static)'.
5407 (tests-static): New variable.
5408 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5409 dependency to...
5410 [($(build-shared),yes)]
5411 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5412 ... this.
5413 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5414 New dependency.
5415
83e43bf0
AM
54162013-09-09 Allan McRae <allan@archlinux.org>
5417
a9f5ce09
AM
5418 [BZ #15939]
5419 * manual/string.texi (Collation Functions): Fix typo in
5420 strcoll example.
5421 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5422
34829bc2
AM
5423 [BZ #15893]
5424 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5425
3932737d
AM
5426 [BZ #15892]
5427 * libio/memstream.c (open_memstream): Fix memory leak.
5428 * libio/wmemstream.c (open_wmemstream): Likewise.
5429
83e43bf0
AM
5430 [BZ #15895]
5431 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5432
0c66b8e9
WN
54332013-09-09 Will Newton <will.newton@linaro.org>
5434
5435 * malloc/Makefile: Add tst-realloc to tests.
5436 * malloc/tst-realloc.c: New file.
5437
f6b00fd1
AM
54382013-09-09 Allan McRae <allan@archlinux.org>
5439
5440 [BZ #15844]
5441 * COPYING: Update from GNU website to fix FSF address.
5442 * COPYING.LIB: Likewise.
5443
eec55e16
DM
54442013-09-06 David S. Miller <davem@davemloft.net>
5445
5446 * po/zh_TW.po: Update Chinese (traditional) translation from
5447 translation project.
5448
1ecbb381
RS
54492013-09-06 Richard Sandiford <richard@codesourcery.com>
5450 Joseph Myers <joseph@codesourcery.com>
5451
5452 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5453 "localeinfo.h".
5454 (obstack_chunk_alloc): New macro.
5455 (obstack_chunk_free): Likewise.
5456 (record_offset): New function.
5457 (init_locale_data): Likewise.
5458 (align_locale_data): Likewise.
5459 (add_locale_empty): Likewise.
5460 (add_locale_raw_data): Likewise.
5461 (add_locale_raw_obstack): Likewise.
5462 (add_locale_string): Likewise.
5463 (add_locale_wstring): Likewise.
5464 (add_locale_uint32): Likewise.
5465 (add_locale_uint32_array): Likewise.
5466 (add_locale_char): Likewise.
5467 (start_locale_structure): Likewise.
5468 (end_locale_structure): Likewise.
5469 (start_locale_prelude): Likewise.
5470 (end_locale_prelude): Likewise.
5471 (write_locale_data): Take locale_file structure rather than an
5472 iovec.
5473 * locale/programs/locfile.h: Include "obstack.h".
5474 (struct locale_file): Change to store locale file contents instead
5475 of header.
5476 (init_locale_data): New prototype.
5477 (align_locale_data): Likewise.
5478 (add_locale_empty): Likewise.
5479 (add_locale_raw_data): Likewise.
5480 (add_locale_raw_obstack): Likewise.
5481 (add_locale_string): Likewise.
5482 (add_locale_wstring): Likewise.
5483 (add_locale_uint32): Likewise.
5484 (add_locale_uint32_array): Likewise.
5485 (add_locale_char): Likewise.
5486 (start_locale_structure): Likewise.
5487 (end_locale_structure): Likewise.
5488 (start_locale_prelude): Likewise.
5489 (end_locale_prelude): Likewise.
5490 (write_locale_data): Update prototype.
5491 * locale/programs/3level.h (struct TABLE): Remove result field.
5492 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5493 Use new locale_file interface.
5494 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5495 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5496 * locale/programs/ld-address.c (address_output): Use new
5497 locale_file interface.
5498 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5499 NO_ADD_LOCALE.
5500 (collate_finish): Don't call collseq_table_finalize.
5501 (collate_output): Use new locale_file interface.
5502 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5503 in file.
5504 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5505 (TABLE): Move defines earlier in file.
5506 (ELEMENT): Likewise.
5507 (DEFAULT): Likewise.
5508 (wctrans_table_add): Move macro and inline function earlier in
5509 file.
5510 (struct wctype_table): Move type earlier in file.
5511 (add_locale_wctype_table): New static prototype.
5512 (struct locale_ctype_t): Use logical types instead of struct iovec
5513 pointers for members.
5514 (ctype_output): Use new locale_file interface.
5515 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5516 new locale_file interface.
5517 (allocate_arrays): Update for use of new locale_file interface.
5518 * locale/programs/ld-identification.c (identification_output): Use
5519 new locale_file interface.
5520 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5521 * locale/programs/ld-messages.c (messages_output): Likewise.
5522 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5523 * locale/programs/ld-name.c (name_output): Likewise.
5524 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5525 * locale/programs/ld-paper.c (paper_output): Likewise.
5526 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5527 * locale/programs/ld-time.c (time_output): Likewise.
5528
e029e2e5
AZ
55292013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5530
5531 * benchtests/Makefile: Add memrchr benchmark.
5532 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5533 benchmark as memrchr.
5534 * benchtests/bench-memrchr-ifunc.c: New file.
5535 * benchtests/bench-memrchr.c: New file.
5536
bbf6e8e4
WN
55372013-09-06 Will Newton <will.newton@linaro.org>
5538
5539 * benchtests/Makefile (string-bench): Add memcpy.
5540
6c82a2f8
CD
55412013-09-05 Carlos O'Donell <carlos@redhat.com>
5542 Cong Wang <amwang@redhat.com>
5543
5544 * sysdeps/unix/sysv/linux/bits/in.h
5545 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5546 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5547 before __USE_KERNEL_IPV6_DEFS uses.
5548 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5549 IPPROTO_BEETPH.
5550 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5551 sockaddr_in6, or ipv6_mreq.
5552
5430fc65
AZ
55532013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5554
5555 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5556 memory access for final bytes in some large inputs.
5557 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5558
4660856c
AZ
55592013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5560
5561 * string/test-memrchr.c: New file.
5562 * string/test-memrchr-ifunc.c: New file.
5563 * string/Makefile: Add new memrchr testcase.
5564
bb8ea713
MF
55652013-09-05 Mike Frysinger <vapier@gentoo.org>
5566
5567 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5568 fanotify_init returns EPERM.
5569
b92a20b5
JM
55702013-09-04 Joseph Myers <joseph@codesourcery.com>
5571
5572 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5573 errors.
5574 (top level): Treat second token from macro or constant entries for
5575 allowed headers as allowed.
5576 * include/complex.h: Condition internal declarations on
5577 [!_ISOMAC].
5578 * include/fenv.h: Condition include of <stdbool.h> and internal
5579 declarations on [!_ISOMAC].
7447ccd9
CL
5580
55812013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5582
3e181dda 5583 [BZ #15923]
7447ccd9
CL
5584 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5585
3f2e46a4
JM
55862013-09-04 Joseph Myers <joseph@codesourcery.com>
5587
5588 * configure.in (--enable-versioning): Remove configure option.
5589 (libc_cv_asm_symver_directive): Remove configure test.
5590 (libc_cv_ld_version_script_option): Likewise.
5591 (VERSIONING): Remove variable and AC_SUBST.
5592 (DO_VERSIONING): Remove AC_DEFINE.
5593 * configure: Regenerated.
5594 * config.h.in (DO_VERSIONING): Remove macro.
5595 * Makerules [$(versioning) = yes]: Change conditionals to
5596 [$(build-shared) = yes].
5597 * config.make.in (versioning): Remove variable.
5598 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5599 [$(build-shared) = yes].
5600 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5601 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5602 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5603 [$(build-shared) = yes].
5604 * extra-lib.mk [$(versioning) = yes]: Likewise.
5605 * hurd/Makefile [$(versioning) = yes]: Likewise.
5606 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5607 [SHARED].
5608 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5609 [SHARED].
5610 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5611 [SHARED && !NO_HIDDEN].
5612 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5613 [SHARED].
5614 [SHARED && DO_VERSIONING]: Likewise..
5615 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5616 [$(build-shared) = yes].
5617 * manual/install.texi (--disable-versioning): Remove
5618 documentation.
5619 * INSTALL: Regenerated.
5620 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5621 to [SHARED].
5622 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5623 [$(build-shared) = yes].
5624 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5625 * sysdeps/i386/i686/multiarch/strstr-c.c
5626 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5627 [SHARED && !NO_HIDDEN].
5628 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5629 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5630 * sysdeps/powerpc/powerpc32/dl-machine.c
5631 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5632 * sysdeps/powerpc/powerpc32/sysdep.h
5633 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5634 to [SHARED && PIC && !NO_HIDDEN].
5635 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5636 conditional to [SHARED].
5637
44558701
WN
56382013-09-04 Will Newton <will.newton@linaro.org>
5639
5640 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5641 * benchtests/bench-string.h: Include bench-timing.h instead
5642 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5643 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5644 call to HP_TIMING_DIFF_INIT.
5645 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5646 instead of hp-timing.h macros.
5647 * benchtests/bench-memchr.c: Likewise.
5648 * benchtests/bench-memcmp.c: Likewise.
5649 * benchtests/bench-memcpy.c: Likewise.
5650 * benchtests/bench-memmem.c: Likewise.
5651 * benchtests/bench-memmove.c: Likewise.
5652 * benchtests/bench-memset.c: Likewise.
5653 * benchtests/bench-rawmemchr.c: Likewise.
5654 * benchtests/bench-strcasecmp.c: Likewise.
5655 * benchtests/bench-strcasestr.c: Likewise.
5656 * benchtests/bench-strcat.c: Likewise.
5657 * benchtests/bench-strchr.c: Likewise.
5658 * benchtests/bench-strcmp.c: Likewise.
5659 * benchtests/bench-strcpy.c: Likewise.
5660 * benchtests/bench-strcpy_chk.c: Likewise.
5661 * benchtests/bench-strlen.c: Likewise.
5662 * benchtests/bench-strncasecmp.c: Likewise.
5663 * benchtests/bench-strncat.c: Likewise.
5664 * benchtests/bench-strncmp.c: Likewise.
5665 * benchtests/bench-strncpy.c: Likewise.
5666 * benchtests/bench-strnlen.c: Likewise.
5667 * benchtests/bench-strpbrk.c: Likewise.
5668 * benchtests/bench-strrchr.c: Likewise.
5669 * benchtests/bench-strspn.c: Likewise.
5670 * benchtests/bench-strstr.c: Likewise.
5671
cae16d66
WN
56722013-09-04 Will Newton <will.newton@linaro.org>
5673
5674 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5675
ffa3cd7f
JM
56762013-09-03 Joseph Myers <joseph@codesourcery.com>
5677
5678 [BZ #15427]
5679 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5680 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5681 * math/libm-test.inc (lgamma_test_data): Add more tests.
5682 * sysdeps/i386/fpu/libm-test-ulps: Update.
5683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5684
8f02859f
OB
56852013-09-03 Ondřej Bílka <neleai@seznam.cz>
5686
5687 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5688 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5689 Add ifunc.
5690 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5691 Add strcmp-sse2-unaligned
5692 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5693
18d43716
MF
56942013-09-02 Mike Frysinger <vapier@gentoo.org>
5695
5696 * Versions.def (libc): Add GLIBC_2.19.
5697
ac444012
MF
56982013-09-02 Mike Frysinger <vapier@gentoo.org>
5699
5700 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5701 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5702
b7835e32
JM
57032013-09-02 Joseph Myers <joseph@codesourcery.com>
5704
5705 [BZ #14155]
5706 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5707 intermediate calculations in recurrence.
5708 (__ieee754_ynf): Likewise.
5709 * math/libm-test.inc (jn_test_data): Do not allow spurious
5710 underflow exception. Add more tests.
5711 (yn_test_data): Add more tests.
5712 * sysdeps/i386/fpu/libm-test-ulps: Update.
5713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5714
8220f4f0
OB
57152013-09-02 Ondřej Bílka <neleai@seznam.cz>
5716
5717 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5718
f24a6d08
OB
57192013-08-30 Ondřej Bílka <neleai@seznam.cz>
5720
5721 * csu/init-first.c: Fix then/than typos.
5722 * locale/programs/ld-collate.c: Likewise.
5723 * locale/programs/linereader.h: Likewise.
5724 * manual/charset.texi: Likewise.
5725 * manual/filesys.texi: Likewise.
5726 * manual/stdio.texi: Likewise.
5727 * manual/string.texi: Likewise.
5728 * stdlib/fmtmsg.c: Likewise.
5729 * sysdeps/i386/stpncpy.S: Likewise.
5730 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5731 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5732 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5733 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5734
382466e0
OB
57352013-08-30 Ondřej Bílka <neleai@seznam.cz>
5736
5737 * elf/dl-open.c: Fix typos.
5738 * iconvdata/gbbig5.c: Likewise.
5739 * iconvdata/iso-2022-jp.c: Likewise.
5740 * iconv/gconv_int.h: Likewise.
5741 * iconv/loop.c: Likewise.
5742 * nis/rpcsvc/nis.h: Likewise.
5743 * resolv/ns_name.c: Likewise.
5744 * stdio-common/vfscanf.c: Likewise.
5745 * streams/stropts.h: Likewise.
5746 * sunrpc/rpc_thread.c: Likewise.
5747 * sysdeps/i386/strpbrk.S: Likewise.
5748 * sysdeps/ieee754/k_standard.c: Likewise.
5749 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5750 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5751 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5752 * sysdeps/mach/hurd/profil.c: Likewise.
5753 * sysdeps/s390/dl-procinfo.h: Likewise.
5754 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5755 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5756 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5757 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5758 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5759
0186c6e9
OB
57602013-08-30 Ondřej Bílka <neleai@seznam.cz>
5761
5762 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5763 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5764
d4e16af1
OB
57652013-08-29 Ondřej Bílka <neleai@seznam.cz>
5766
5767 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5768 aix specific files.
5769 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5770 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5771 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5772 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5773 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5774 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5775 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5776 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5777
88335980
TS
57782013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5779 Roland McGrath <roland@hack.frob.com>
5780
5781 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5782 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5783
ed479b02
ST
57842013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5785
5786 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5787 __executable_start symbol instead of _start.
5788
f1cc4c86
TS
57892013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5790
d821f07c
TS
5791 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5792 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5793 Move macros to...
5794 * sysdeps/gnu/ldsodefs.h: ... this new file.
5795
c54290cf
TS
5796 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5797 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5798 instead of ELFOSABI_LINUX.
5799
0007fc9b 5800 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
5801 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5802 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5803 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5804 Likewise.
5805 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5806 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5807 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5808 Likewise.
5809 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5810 (ibm_extended_long_double): Add ieee_nan member.
5811 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5812 (do_test): New function.
5813
f1cc4c86
TS
5814 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5815 TEST_TRUNC.
5816 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5817 functions, renamed from truncdfsf_test, trunctfsf_test,
5818 trunctfdf_test.
5819 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5820 functions.
5821 (do_test): Run all these.
5822
6f65e668
OB
58232013-08-29 Ondřej Bílka <neleai@seznam.cz>
5824
5825 * argp/argp-help.c: Fix typos.
5826 * argp/argp-parse.c: Likewise.
5827 * debug/backtracesyms.c: Likewise.
5828 * elf/elf.h: Likewise.
5829 * malloc/malloc.c: Likewise.
5830 * nis/nis_print.c: Likewise.
5831 * resolv/res_comp.c: Likewise.
5832 * stdlib/stdlib.h: Likewise.
5833 * sunrpc/clnt_tcp.c: Likewise.
5834 * sunrpc/clnt_udp.c: Likewise.
5835 * sunrpc/clnt_unix.c: Likewise.
5836 * sysdeps/unix/bsd/ptsname.c: Likewise.
5837 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5838 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
5839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5840 Likewise.
5841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5842 Likewise.
5843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5844 Likewise.
6f65e668
OB
5845 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5846
3a309239
SP
58472013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5848
5849 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5850 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5851
3b813b29
MF
58522013-08-27 Mike Frysinger <vapier@gentoo.org>
5853
5854 [BZ #15897]
5855 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5856 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5857 ($(objpfx)bug-dl-leaf): New rule.
5858 ($(objpfx)bug-dl-leaf.so): Likewise.
5859 ($(objpfx)bug-dl-leaf.out): Likewise.
5860 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5861 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5862 * dlfcn/bug-dl-leaf.c: New test.
5863 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5864 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5865 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5866 (dlclose): Likewise.
5867 (dlmopen): Likewise.
5868
8cc3269f
RM
58692013-08-27 Roland McGrath <roland@hack.frob.com>
5870
7f9d0034
RM
5871 * include/netdb.h [!_ISOMAC]:
5872 Don't include <tls.h>.
5873 (h_errno, __libc_h_errno): Move declaration and macros out of
5874 [_LIBC_REENTRANT].
5875
fb431262
RM
5876 * include/resolv.h [_RESOLV_H_]:
5877 Don't include <tls.h>.
5878 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5879 * resolv/res_libc.c: Don't include <tls.h>.
5880 (_res): Use __attribute__ ((nocommon)) in place of
5881 __attribute__ ((section (".bss"))).
5882
bd81123a
RM
5883 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5884 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5885
c4e42566
RM
5886 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5887
f890a59b
RM
5888 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5889 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5890
5891 * resolv/res_mkquery.c: Include <sys/time.h>.
5892
5d1f0a09
RM
5893 * inet/ifreq.c: Moved to ...
5894 * sysdeps/unix/ifreq.c: ... here.
5895 * inet/ifreq.c: New file, true stub version.
5896
6fcf28b3
RM
5897 * socket/sa_len.c: New file.
5898 * socket/Makefile (aux): Add it.
5899 * sysdeps/unix/sysv/linux/Makefile
5900 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5901 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5902 and #include <socket/sa_len.c>.
5903 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5904 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5905
e041fb8b
RM
5906 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5907 * bits/socket.h: ... here.
5908
8cc3269f
RM
5909 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5910 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5911 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5912
5d228a43
AS
59132013-08-27 Andreas Schwab <schwab@suse.de>
5914
45b8accc
AS
5915 [BZ #15736]
5916 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5917 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5918 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5919 * string/test-strcasecmp.c (test_main): Run tests in several
5920 locales.
5921 * string/test-strncasecmp.c (test_main): Likewise.
5922
5d228a43
AS
5923 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5924 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5925 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5926 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5927 (__strncasecmp_ssse3) [PIC]: Likewise.
5928
59d112a4
RM
59292013-08-26 Roland McGrath <roland@hack.frob.com>
5930
53234cc3
RM
5931 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5932
59d112a4
RM
5933 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5934 instead of explicitly declaring xdecrypt.
5935 * nis/nss_nis/nis-publickey.c: Likewise.
5936
595aba70
SP
59372013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5938
5939 [BZ #15890]
5940 * nscd/aicache.c: Include res_hconf.h.
5941 (addhstaiX): Initialize res_hconf.
5942
ffabd393
AS
59432013-08-26 Andreas Schwab <schwab@suse.de>
5944
5945 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5946 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5947
e0a69f5c
SP
59482013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5949
5950 * nscd/aicache.c (addhstaiX): Fix indentation.
5951
8c12f01d
MF
59522013-08-25 Mike Frysinger <vapier@gentoo.org>
5953
5954 * configure.ac: Quote $build_pt_chown test.
5955 * configure: Regenerated.
5956
8fe89494
JM
59572013-08-23 Joseph Myers <joseph@codesourcery.com>
5958
5959 [BZ #15532]
5960 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5961 * math/s_cexpf.c (__cexpf): Likewise.
5962 * math/s_cexpl.c (__cexpl): Likewise.
5963 * math/libm-test.inc (cexp_test_data): Correct expected return
5964 value for NaN + i0. Add another test.
5965
75b181d6
DM
59662013-08-22 David S. Miller <davem@davemloft.net>
5967
5968 * po/ca.po: Update Catalan translation from translation project.
936241e4 5969 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 5970
acd06bb1
JM
59712013-08-21 Joseph Myers <joseph@codesourcery.com>
5972
5973 [BZ #15797]
5974 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5975 is infinite, not alongside NaN test.
5976 * math/s_fdimf.c (__fdimf): Likewise.
5977 * math/s_fdiml.c (__fdiml): Likewise.
5978 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5979 errno is unchanged.
5980
c0c3f78a
OB
59812013-08-21 Ondřej Bílka <neleai@seznam.cz>
5982
5983 * argp/argp-help.c: Fix typos.
5984 * crypt/speeds.c: Likewise.
5985 * csu/check_fds.c: Likewise.
5986 * elf/dl-load.c: Likewise.
5987 * elf/dl-open.c: Likewise.
5988 * elf/reldep3.c: Likewise.
5989 * elf/reldep.c: Likewise.
5990 * elf/sprof.c: Likewise.
5991 * iconv/iconv_charmap.c: Likewise.
5992 * iconv/skeleton.c: Likewise.
5993 * iconv/strtab.c: Likewise.
5994 * io/lockf64.c: Likewise.
5995 * libio/libioP.h: Likewise.
5996 * resolv/gai_notify.c: Likewise.
5997 * resolv/ns_name.c: Likewise.
5998 * resolv/ns_samedomain.c: Likewise.
5999 * resolv/res_send.c: Likewise.
6000 * stdlib/random.c: Likewise.
6001 * sunrpc/rpc/xdr.h: Likewise.
6002 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6003 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6004 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6005 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6006 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6007 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6008 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6009 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6010 * sysdeps/mach/hurd/check_fds.c: Likewise.
6011 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6012 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6013 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6014 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6015 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6016 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6017 * sysdeps/pthread/aio_notify.c: Likewise.
6018 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6019 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6020 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6021 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6022 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6023
46ed1038
LD
60242013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6025
6026 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6027 version if bit_Slow_SSE4_2 is set.
6028 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6029 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6030
d400dcac
AZ
60312013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6032
6033 [BZ #15867]
6034 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6035 trampoline stack frame information.
6036 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6037 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6038 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6039 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6040 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6041 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6042 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6043 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6044 sa_flags value.
6045 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6046 interrupting a syscall and set with option SA_SIGINFO.
6047
42c8fdd8
JM
60482013-08-20 Joseph Myers <joseph@codesourcery.com>
6049
c980f2f4
JM
6050 [BZ #15531]
6051 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6052 argument is infinite.
6053 * math/s_cprojf.c (__cprojf): Likewise.
6054 * math/s_cprojl.c (__cprojl): Likewise.
6055 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6056 * math/libm-test.inc (cproj_test_data): Add more tests.
6057
0716c4fc
JM
6058 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6059
42c8fdd8
JM
6060 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6061 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6062 size. Use __ffs to determine corresponding shift.
6063
b31469d0
JM
60642013-08-20 Joseph Myers <joseph@codesourcery.com>
6065 Roland McGrath <roland@hack.frob.com>
6066
6067 * Makefile (INSTALL): Remove trailing blank lines from output of
6068 makeinfo.
6069
4e39af6e
AK
60702013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6071
6072 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6073 Align 32 bit compat elf_greg to 8 bytes.
6074
f315524e
AA
60752013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6076
6077 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6078
1326ba1a
SP
60792013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6080
6081 * string/strcoll_l.c (coll_seq): New structure.
6082 (get_next_seq_cached): New function.
6083 (get_next_seq): New function.
6084 (do_compare): New function.
6085 (STRCOLL): Use GNU style definition. Simplify implementation
6086 by using get_next_seq, get_next_seq_cached and do_compare.
6087
91ce4085
FW
60882013-08-16 Florian Weimer <fweimer@redhat.com>
6089
6090 [BZ #14699]
6091 CVE-2013-4237
6092 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6093 member.
6094 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6095 member.
6096 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6097 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6098 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6099 conditional.
6100 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6101 GETDENTS_64BIT_ALIGNED.
6102 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6103 * manual/filesys.texi (Reading/Closing Directory): Document
6104 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6105 strongly.
6106 * manual/conf.texi (Limits for Files): Add portability note to
6107 NAME_MAX, PATH_MAX.
6108 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6109
ca0a6bc4
AS
61102013-08-13 Andreas Schwab <schwab@suse.de>
6111
6112 [BZ #15749]
6113 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6114 of fabs.
6115 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6116 LDBL_MAX_EXP >= 16384]: Add tests for it.
6117
6c1fd795
DM
61182013-08-12 David S. Miller <davem@davemloft.net>
6119
6120 * version.h (RELEASE): Set to "development".
6121 (VERSION): Set to "2.18.90".
6122 * NEWS: Add 2.19 section.
6123
31ad488d
DM
61242013-08-03 David S. Miller <davem@davemloft.net>
6125
6126 * po/ko.po: Update Korean translation from translation project.
6127
db24e684
DM
61282013-08-01 David S. Miller <davem@davemloft.net>
6129
6130 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6131 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6132 Bilka.
6133
f723285b
DM
61342013-07-30 David S. Miller <davem@davemloft.net>
6135
6136 * po/fr.po: Update French translation from translation project.
6137
3cbc52db
DM
61382013-07-28 David S. Miller <davem@davemloft.net>
6139
30bbc0cc
DM
6140 * po/cs.po: Update Czech translation from translation project.
6141
3cbc52db
DM
6142 * po/sv.po: Update Swedish translation from translation project.
6143
d492e6d0
DM
61442013-07-27 David S. Miller <davem@davemloft.net>
6145
f1a7f492
DM
6146 * po/eo.po: Update Esperanto translation from translation project.
6147
90e62a4a
DM
6148 * po/vi.po: Update Vietnamese translation from translation project.
6149
d492e6d0
DM
6150 * po/de.po: Update German translation from translation project.
6151
d4baa62d
DM
61522013-07-26 David S. Miller <davem@davemloft.net>
6153
641aa7b4
DM
6154 * po/bg.po: Update Bulgarian translation from translation project.
6155
d4baa62d
DM
6156 * po/nl.po: Update Dutch translation from translation project.
6157 * po/pl.po: Update Polish translation from translation project.
6158 * po/ru.po: Update Russian translation from translation project.
6159
61a9dcb9
DM
61602013-07-24 David S. Miller <davem@davemloft.net>
6161
6162 * po/libc.pot: Update.
6163
7b1f8b58
AZ
61642013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6165
6166 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6167 variable page size.
6168 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6169 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6170 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6171
a8fc7a03
AK
61722013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6173
6174 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6175
e4608715
CD
61762013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6177 Andreas Schwab <schwab@suse.de>
6178 Roland McGrath <roland@hack.frob.com>
6179 Joseph Myers <joseph@codesourcery.com>
6180 Carlos O'Donell <carlos@redhat.com>
6181
6182 [BZ #15755]
6183 * config.h.in: Define HAVE_PT_CHOWN.
6184 * config.make.in (build-pt-chown): New variable.
6185 * configure.in (--enable-pt_chown): New configure option.
6186 * configure: Regenerate.
6187 * login/Makefile: Include Makeconfig. Build pt_chown only if
6188 build-pt-chown is enabled.
6189 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6190 pt_chown to fix pty ownership.
6191 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6192 CLOSE_ALL_FDS.
6193 * manual/install.texi (Configuring and compiling): Mention
6194 --enable-pt_chown. Add @findex for grantpt.
6195 * INSTALL: Regenerate.
6196
da2d62df
DM
61972013-07-20 David S. Miller <davem@davemloft.net>
6198
6199 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6200 difference between 32-bit and 64-bit.
6201
d7e06450
CD
62022013-07-15 Carlos O'Donell <carlos@redhat.com>
6203
6204 [BZ #15711]
6205 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6206 Avoid system header dependency with -ffreestanding.
6207 ($(objpfx)bits/syscall%d): Likewise.
6208
f959cfd7
DM
62092013-07-13 David S. Miller <davem@davemloft.net>
6210
6211 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6212 underflows from atanl/atan2l due to bug 15319.
6213 (casinh_test_data): Likewise.
6214
c61f8513
DM
62152013-07-07 David S. Miller <davem@davemloft.net>
6216
6217 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6218
72c90ed0
JA
62192013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6220
6221 * sysdeps/i386/fpu/libm-test-ulps: Update.
6222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6223
52dfbe13
SP
62242013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6225
6226 * configure.in (--enable-lock-elision): Fix message text.
6227 * INSTALL: Regenerate.
6228 * configure: Regenerate.
6229
3f169543
AZ
62302013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6231
6232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6233
521c6785
AJ
62342013-07-03 Andreas Jaeger <aj@suse.de>
6235
6236 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6237 define.
6238 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6239 (ptrace_peeksiginfo_args): Add.
6240 (__ptrace_peeksiginfo_flags): Add.
6241 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6242 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6243 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6244
d2cc15cb
AM
62452013-07-03 Allan McRae <allan@archlinux.org>
6246
6247 * sysdeps/i386/fpu/libm-test-ulps: Update.
6248
3aaeeca7
DM
62492013-07-02 David S. Miller <davem@davemloft.net>
6250
6251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6252
5314ed1a
MT
62532013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6254
6255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6256
67338156
JM
62572013-07-02 Joseph Myers <joseph@codesourcery.com>
6258
6259 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6261
1717da59
AK
62622013-07-02 Andi Kleen <ak@linux.intel.com>
6263
6264 * config.h.in (ENABLE_LOCK_ELISION): Add.
6265 * configure.in (--enable-lock-elision): Add option.
6266 * manual/install.texi: Document --enable lock elision.
6267 * configure: Regenerate
6268 * INSTALL: Regenerate.
6269
1c81621c
L
62702013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6271
6272 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6273 SSE4.2 strcasecmp for libc.a.
6274 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6275
77f01ab5
JM
62762013-07-02 Joseph Myers <joseph@codesourcery.com>
6277
6278 [BZ #13304]
6279 * soft-fp/op-common.h (_FP_FMA): New macro.
6280 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6281 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6282 (_FP_MUL_MEAT_1_imm): ... here.
6283 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6284 (_FP_MUL_MEAT_1_wide): ... here.
6285 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6286 (_FP_MUL_MEAT_1_hard): ... here.
6287 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6288 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6289 (_FP_MUL_MEAT_2_wide): ... here.
6290 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6291 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6292 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6293 (_FP_MUL_MEAT_2_gmp): ... here.
6294 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6295 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6296 (_FP_MUL_MEAT_4_wide): ... here.
6297 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6298 (_FP_MUL_MEAT_4_gmp): ... here.
6299 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6300 (_FP_WFRACBITS_DW_S): Likewise.
6301 (_FP_WFRACXBITS_DW_S): Likewise.
6302 (_FP_HIGHBIT_DW_S): Likewise.
6303 (FP_FMA_S): Likewise.
6304 (_FP_FRAC_HIGH_DW_S): Likewise.
6305 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6306 (_FP_WFRACBITS_DW_D): Likewise.
6307 (_FP_WFRACXBITS_DW_D): Likewise.
6308 (_FP_HIGHBIT_DW_D): Likewise.
6309 (FP_FMA_D): Likewise.
6310 (_FP_FRAC_HIGH_DW_D): Likewise.
6311 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6312 (_FP_WFRACBITS_DW_E): Likewise.
6313 (_FP_WFRACXBITS_DW_E): Likewise.
6314 (_FP_HIGHBIT_DW_E): Likewise.
6315 (FP_FMA_E): Likewise.
6316 (_FP_FRAC_HIGH_DW_E): Likewise.
6317 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6318 (_FP_WFRACBITS_DW_Q): Likewise.
6319 (_FP_WFRACXBITS_DW_Q): Likewise.
6320 (_FP_HIGHBIT_DW_Q): Likewise.
6321 (FP_FMA_Q): Likewise.
6322 (_FP_FRAC_HIGH_DW_Q): Likewise.
6323 * soft-fp/fmasf4.c: New file.
6324 * soft-fp/fmadf4.c: Likewise.
6325 * soft-fp/fmatf4.c: Likewise.
6326
6308fd9a
LD
63272013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6328
6329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6330 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6331 Silvermont.
6332 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6333 macro.
6334 (index_Slow_SSE4_2): Likewise.
6335 (index_Prefer_PMINUB_for_stringop): Likewise.
6336 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6337 bit_Slow_SSE4_2 is set.
6338 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6339 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6340
89cd9569
RA
63412013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6342
6343 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6344 rtld_global._dl_hwcap2.
6345 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6346 POWER8.
6347 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6348 POWER8 feature descriptions defined in _dl_hwcap2.
6349 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6350 string handling for POWER8 feature bits.
6351 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6352 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6353 _dl_powerpc_cap_flags.
6354 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6355 * sysdeps/powerpc/rtld-global-offsets.sym
6356 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6357 _dl_hwcap2 in the rtld_global_ro structure.
6358
1ae8bfe0
RA
63592013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6360
6361 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6362 hardware capabilities in support of AT_HWCAP2.
6363 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6364 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6365 GLRO(dl_hwcap2).
6366 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6367 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6368 explicitly the unknown a_type display mechanism is used.
6369 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6370 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6371 struct member.
6372 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6373 to macro prototype for AT_HWCAP2 support.
6374 * sysdeps/i386/dl-procinfo.h: Likewise.
6375 * sysdeps/s390/dl-procinfo.h: Likewise.
6376 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6377 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6378 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6379 return -1 for unknown a_type display fallback.
6380 * sysdeps/sparc/dl-procinfo.h: Likewise.
6381 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6382 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6383
8fbec010
JM
63842013-06-28 Joseph Myers <joseph@codesourcery.com>
6385
6386 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6387 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6388
0432680e
PY
63892013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6390
6391 [BZ #12492]
6392 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6393 mprotect making __stack_prot writable.
6394
ce61a2ad
NF
63952013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6396 Joseph Myers <joseph@codesourcery.com>
6397
6398 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6399 as being properly aligned.
6400
f91f1c0f
MR
64012013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6402
3d0f5d0c
MR
6403 * dlfcn/modstatic5.c: New file.
6404 * dlfcn/tststatic5.c: New file.
6405 * dlfcn/Makefile (tests): Add tststatic5.
6406 (tests-static): Likewise.
6407 (modules-names): Add modstatic5.
6408 (tststatic5-ENV): New variable.
6409 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6410
f91f1c0f
MR
6411 [BZ #15022]
6412 * elf/dl-support.c (_dl_main_map): New variable.
6413 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6414 (_dl_nns, _dl_load_adds): Set to 1.
6415 (_dl_initial_searchlist): Refer to _dl_main_map.
6416 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6417 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6418 call to _dl_get_origin.
6419 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6420 around call_map.
6421 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6422 * dlfcn/modstatic3.c: New file.
6423 * dlfcn/tststatic3.c: New file.
6424 * dlfcn/tststatic4.c: New file.
6425 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6426 (tests-static): Likewise.
6427 (modules-names): Add modstatic3.
6428 (tststatic3-ENV, tststatic4-ENV): New variables.
6429 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6430 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6431
cbe7d24b
JM
64322013-06-26 Joseph Myers <joseph@codesourcery.com>
6433
6434 * configure.in (CC): Require GCC version 4.4 or later.
6435 * configure: Regenerated.
6436 * manual/install.texi (Tools for Compilation): Update GCC version
6437 requirement.
6438 * INSTALL: Regenerated.
6439
11b8a0e1
LD
64402013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6441
6442 [BZ #15674]
bb5bb87c
L
6443 * string/test-memcmp.c (check2): New.
6444 (main): Call check2.
6445
11b8a0e1
LD
6446 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6447
b0037103
MR
64482013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6449
6450 [BZ #15022]
6451 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6452 over to...
6453 (dl_open_worker) [!SHARED]: ... here.
6454
c18c701d
RA
64552013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6456
6457 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6458
1d17fa5f
RH
64592013-06-25 Richard Henderson <rth@redhat.com>
6460
6461 * locale/programs/locarchive.c: Include <libc-internal.h>
6462
8fcb833a
JM
64632013-06-25 Joseph Myers <joseph@codesourcery.com>
6464
6465 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6466 trailing whitespace removed.
6467
17db6e8d
MF
64682013-06-24 Mike Frysinger <vapier@gentoo.org>
6469
6470 [BZ #10283]
17db6e8d
MF
6471 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6472 * locale/programs/locarchive.c: Include libc-mmap.h.
6473 (prepare_address_space): Take two new outputs (the mmap base and len).
6474 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6475 values.
6476 (create_archive): Declare new mmap base and len values for
6477 prepare_address_space, and store the result in ah.
6478 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6479 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6480 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6481 Declare new mmap base and len values for
6482 prepare_address_space, and store the result in new_ah.
6483 (open_archive): Declare new mmap base and len values for
6484 prepare_address_space, and store the result in ah.
6485 (close_archive): If ah->mmap_base is not NULL, use that and
6486 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6487 * sysdeps/generic/libc-mmap.h: New file.
6488
d605071e
MF
64892013-06-24 Mike Frysinger <vapier@gentoo.org>
6490
6491 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6492 (ALIGN_UP): Likewise.
6493 (PTR_ALIGN_DOWN): Likewise.
6494 (PTR_ALIGN_UP): Likewise.
6495
2f063a6e
RA
64962013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6497
6498 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6499 entry mapped to PPC_PLATFORM_POWER8.
6500 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6501 POWER8.
6502 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6503 (_dl_string_platform): Add case for exporting platform position for
6504 POWER8.
6505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6506 search path to sysdeps/powerpc/powerpc32/power8 directory.
6507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6508 search path to sysdeps/powerpc/powerpc64/power8 directory.
6509 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6510 power7 directories.
6511 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6512 power7 directories.
6513
a31ee4b3
SP
65142013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6515
a74ca98f
SP
6516 * INSTALL: Regenerate.
6517
a31ee4b3
SP
6518 * nscd/connections.c (nscd_init): Fix comment.
6519
695c378f
JM
65202013-06-22 Joseph Myers <joseph@codesourcery.com>
6521
d8412221
JM
6522 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6523
695c378f
JM
6524 [BZ #15667]
6525 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6526 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6527
d1d54715
MR
65282013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6529
6530 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6531 DL_DST_REQ_STATIC.
6532 (DL_DST_REQ_STATIC): Remove macro.
6533
8fdda7af
JM
65342013-06-21 Joseph Myers <joseph@codesourcery.com>
6535
6536 [BZ #7006]
6537 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6538 with a shift of 0 bits.
6539
f3bc5e5a
MR
65402013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6541
6542 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6543 $(tststatic-ENV).
6544
be09e8c9
KK
65452013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6546
6547 [BZ #15655]
6548 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6549
85c2e611
AZ
65502013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6551
6552 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6553 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6554 accepts -fno-tree-loop-distribute-patterns.
6555 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6556 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6557 recursive call.
6558 * string/memset.c (memset): Likewise.
6559 * string/test-memmove.c (simple_memmove): Disable loop transformation
6560 to library calls.
6561 * string/test-memset.c (simple_memset): Likewise.
6562 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6563 * benchtests/bench-memset.c (simple_memset): Likewise.
6564 * configure: Regenerated.
6565
c91e0825
JM
65662013-06-20 Joseph Myers <joseph@codesourcery.com>
6567
b8c792af
JM
6568 * math/test-misc.c (main): Ignore fesetround failure when failures
6569 of subsequent rounding tests would be ignored.
6570
c91e0825
JM
6571 [BZ #15654]
6572 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6573 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6574 * math/fegetenv.c (__fegetenv): Return 0.
6575 * math/fegetexcept.c (fegetexcept): Return 0.
6576 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6577 FE_TONEAREST.
6578 * math/feholdexcpt.c (feholdexcept): Return 0.
6579 * math/fesetenv.c (__fesetenv): Return 0.
6580 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6581 argument FE_TONEAREST.
6582 * math/feupdateenv.c (__feupdateenv): Return 0.
6583 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6584
bfcacbde
RM
65852013-06-18 Roland McGrath <roland@hack.frob.com>
6586
6587 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6588 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6589 ($(objpfx)rtld-%.os rules): Use them.
6590
e55a9b25
AZ
65912013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6592
6593 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6594 fields.
6595
346d65b3
RM
65962013-06-17 Roland McGrath <roland@hack.frob.com>
6597
12086fb4
RM
6598 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6599 length of target pattern, then descending length of dependency pattern.
6600 * configure.in (AWK): Require gawk 3.1.2 or newer.
6601 * manual/install.texi (Tools for Compilation): Say that we do.
6602 * configure: Regenerated.
6603
346d65b3
RM
6604 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6605 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6606 * scripts/sysd-rules.awk: ... this new script.
6607 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6608 than a glob-style pattern.
6609
1a846317
JM
66102013-06-17 Joseph Myers <joseph@codesourcery.com>
6611
6612 * math/test-misc.c (main): Do not treat incorrectly rounded
6613 conversions as failure unless ROUNDING_TESTS passes.
6614
8fc75e6f
JM
66152013-06-15 Joseph Myers <joseph@codesourcery.com>
6616
3711a167
JM
6617 [BZ #15631]
6618 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6619 restore exception state around main square root computation, then
6620 check for inexactness explicitly.
6621
8fc75e6f
JM
6622 * math/libm-test.inc (fma_test_data): Add another test.
6623
61dd6208
SP
66242013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6625
adf23d2c
SP
6626 * manual/threads.texi (Non-POSIX Extensions): New document
6627 node. Document pthread_getattr_default_np and
6628 pthread_setattr_default_np.
6629
61dd6208
SP
6630 * Versions.def (libpthread): Add GLIBC_2.18.
6631 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6633 Likewise.
6634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6635 Likewise.
6636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6637 Likewise.
6638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6639 Likewise.
6640 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6641 Likewise.
6642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6643 Likewise.
6644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6645 Likewise.
6646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6647 Likewise.
6648 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6649 Likewise.
6650
d086fc7b
LD
66512013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6652
6653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6654 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6655
747ef469
SP
66562013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6657 H.J. Lu <hjl.tools@gmail.com>
6658
6659 [BZ #15627]
6660 * sysdeps/x86_64/rtld-memset.c: Remove file.
6661 * sysdeps/x86_64/rtld-memset.S: New file.
6662
1b2feed2
JM
66632013-06-14 Joseph Myers <joseph@codesourcery.com>
6664
6665 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6666 (test_in_one_mode): Take arguments for whether the rounding mode
6667 is supported for each floating-point type.
6668 (do_test): Pass new arguments to test_in_one_mode using
6669 ROUNDING_TESTS.
6670
a58ad3f8
RM
66712013-06-13 Roland McGrath <roland@hack.frob.com>
6672
6673 * posix/tst-waitid.c (do_test): Distinguish different instances of
6674 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6675 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6676 before entering the kernel for waitpid.
6677
c204ab28
SP
66782013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6679
6680 * NEWS: Fix note on clock function precision. Text by Roland
6681 McGrath.
6682
f4a29fba
RM
66832013-06-13 Roland McGrath <roland@hack.frob.com>
6684
6685 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6686 it into place only when and if the sanity check passes.
6687
1f24b9ad
JM
66882013-06-13 Joseph Myers <joseph@codesourcery.com>
6689
6690 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6691 output for whether conversion result is exact. Take argument
6692 indicating whether type is IBM long double.
6693 (round_for_all): Change need_exact field to ibm_ld.
6694 * stdlib/tst-strtod-round.c (struct exactness): New type.
6695 (struct test): Change bool ld_ok field to struct exactness exact.
6696 (TEST): Update all definitions for change to field.
6697 (tests): Regenerate array contents.
6698 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6699 field value. Check for IBM long double here.
6700 (do_test): Update calls to test_in_one_mode.
6701
58206c68
SP
67022013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6703
6704 [BZ #12515]
6705 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6706 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6707
2d6f4c5b 67082013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
6709
6710 [BZ #15605]
6711 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6712 generated by the compiler on loop optimizations.
6713 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6714 general definitions.
6715
94f2c076
JM
67162013-06-12 Joseph Myers <joseph@codesourcery.com>
6717
6718 * math/bug-nextafter.c: Include <math-tests.h>.
6719 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6720 the relevant type.
6721 * math/bug-nexttoward.c: Include <math-tests.h>.
6722 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6723 the relevant type.
6724 * math/test-misc.c: Include <math-tests.h>.
6725 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6726 the relevant type.
6727
e0e50a0a
AJ
67282013-06-12 Andreas Jaeger <aj@suse.de>
6729
6730 * po/ia.po: Update Interlingua translation from translation
6731 project.
6732
25061094
SP
67332013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6734
6735 * include/fenv.h: Include stdbool.h.
6736 (struct rm_ctx): New structure.
6737 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6738 Define macro.
6739 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6740 (SET_RESTORE_ROUNDF): Likewise.
6741 (SET_RESTORE_ROUNDL): Likewise.
6742 (SET_RESTORE_ROUND_NOEX): Likewise.
6743 (SET_RESTORE_ROUND_NOEXF): Likewise.
6744 (SET_RESTORE_ROUND_NOEXL): Likewise.
6745 (SET_RESTORE_ROUND_53BIT): Likewise.
6746 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6747 (libc_feresetround_noexf_ctx): Likewise.
6748 (libc_feresetround_noexl_ctx): Likewise.
6749 (libc_feholdsetround_53bit_ctx): Likewise.
6750 (libc_feresetround_53bit_ctx): Likewise.
6751 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6752 (libc_feholdexcept_setround_sse_ctx): New function.
6753 (libc_fesetenv_sse_ctx): Likewise.
6754 (libc_feupdateenv_sse_ctx): Likewise.
6755 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6756 (libc_feholdexcept_setround_387_ctx): Likewise.
6757 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6758 (libc_feholdsetround_387_prec_ctx): Likewise.
6759 (libc_feholdsetround_387_ctx): Likewise.
6760 (libc_feholdsetround_387_53bit_ctx): Likewise.
6761 (libc_feholdsetround_sse_ctx): Likewise.
6762 (libc_feresetround_sse_ctx): Likewise.
6763 (libc_feresetround_387_ctx): Likewise.
6764 (libc_feupdateenv_387_ctx): Likewise.
6765 (libc_feholdexcept_setroundf_ctx): Define macro.
6766 (libc_fesetenvf_ctx): Likewise.
6767 (libc_feupdateenvf_ctx): Likewise.
6768 (libc_feholdsetroundf_ctx): Likewise.
6769 (libc_feresetroundf_ctx): Likewise.
6770 (libc_feholdexcept_setround_ctx): Likewise.
6771 (libc_fesetenv_ctx): Likewise.
6772 (libc_feupdateenv_ctx): Likewise.
6773 (libc_feholdsetround_ctx): Likewise.
6774 (libc_feresetround_ctx): Likewise.
6775 (libc_feholdexcept_setroundl_ctx): Likewise.
6776 (libc_feupdateenvl_ctx): Likewise.
6777 (libc_feholdsetroundl_ctx): Likewise.
6778 (libc_feresetroundl_ctx): Likewise.
6779 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6780 (libc_feresetround_53bit_ctx): Likewise.
6781
59b30555
SP
67822013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6783
6784 * locale/iso-639.def: Convert to UTF-8.
6785
f1d73d30
JM
67862013-06-11 Joseph Myers <joseph@codesourcery.com>
6787
6788 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6789 (EXCEPTION_TESTS_double): Likewise.
6790 (EXCEPTION_TESTS_long_double): Likewise.
6791 (EXCEPTION_TESTS): Likewise.
6792 * math/libm-test.inc (test_exceptions): Only test exceptions if
6793 EXCEPTION_TESTS (FLOAT).
6794
94aca5e7
SP
67952013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6796
6797 * benchtests/Makefile (string-bench): Add strcpy_chk and
6798 stpcpy_chk.
6799 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6800 * benchtests/bench-stpcpy_chk.c: New file.
6801 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6802 * benchtests/bench-strcpy_chk.c: New file.
6803 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6804 code.
6805 (do_test): Likewise.
6806
fac0c5f2
RA
68072013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6808
6809 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6810 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6811 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6812 with tabs where appropriate.
6813 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6814 dl-procinfo.h.
6815 [PPC_PLATFORM_PPC440]: Likewise.
6816 [PPC_PLATFORM_PPC464]: Likewise.
6817 [PPC_PLATFORM_PPC476]: Likewise.
6818 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6819 ppc464, and ppc476 platform strings merging from ports/
6820 dl-procinfo.h.
6821
f22bc486
AS
68222013-06-11 Andreas Schwab <schwab@suse.de>
6823
6824 [BZ #14991]
6825 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6826 (from_ucs4_idx): Regenerate.
6827 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6828 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6829 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6830 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6831 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6832 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6833 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6834 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6835 from FROM_LOOP and TO_LOOP specific macros.
6836 (BODY): Handle combining characters.
6837 * iconvdata/BIG5HKSCS.irreversible: Update.
6838 * iconvdata/BIG5HKSCS.precomposed: New file.
6839 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6840 characters.
6841 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6842
c1f75dc3
SP
68432013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6844
4eacded2
SP
6845 * include/sys/time.h: Fix indentation and add copyright header.
6846
fec799f8
SP
6847 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6848 (do_test): Likewise.
6849 * string/test-memchr.c (do_one_test): Likewise.
6850 (do_test): Likewise.
6851 * string/test-memcmp.c (do_one_test): Likewise.
6852 (do_test): Likewise.
6853 * string/test-memcpy.c (do_one_test): Likewise.
6854 (do_test): Likewise.
6855 * string/test-memmem.c (do_one_test): Likewise.
6856 (do_test): Likewise.
6857 (do_random_tests): Likewise.
6858 * string/test-memmove.c (do_one_test): Likewise.
6859 (do_test): Likewise.
6860 * string/test-memset.c (do_one_test): Likewise.
6861 (do_test): Likewise.
6862 * string/test-rawmemchr.c (do_one_test): Likewise.
6863 (do_test): Likewise.
6864 * string/test-strcasecmp.c (do_one_test): Likewise.
6865 (do_test): Likewise.
6866 * string/test-strcasestr.c (do_one_test): Likewise.
6867 (do_test): Likewise.
6868 * string/test-strcat.c (do_one_test): Likewise.
6869 (do_test): Likewise.
6870 * string/test-strchr.c (do_one_test): Likewise.
6871 (do_test): Likewise.
6872 * string/test-strcmp.c (do_one_test): Likewise.
6873 (do_test): Likewise.
6874 * string/test-strcpy.c (do_one_test): Likewise.
6875 (do_test): Likewise.
6876 * string/test-string.h: Likewise.
6877 (test_init): Likewise.
6878 * string/test-strlen.c (do_one_test): Likewise.
6879 (do_test): Likewise.
6880 * string/test-strncasecmp.c (do_one_test): Likewise.
6881 (do_test): Likewise.
6882 * string/test-strncat.c (do_one_test): Likewise.
6883 (do_test): Likewise.
6884 * string/test-strncmp.c (do_one_test): Likewise.
6885 (do_test_limit): Likewise.
6886 (do_test): Likewise.
6887 * string/test-strncpy.c (do_one_test): Likewise.
6888 (do_test): Likewise.
6889 * string/test-strnlen.c (do_one_test): Likewise.
6890 (do_test): Likewise.
6891 * string/test-strpbrk.c (do_one_test): Likewise.
6892 (do_test): Likewise.
6893 * string/test-strrchr.c (do_one_test): Likewise.
6894 (do_test): Likewise.
6895 * string/test-strspn.c (do_one_test): Likewise.
6896 (do_test): Likewise.
6897 * string/test-strstr.c (do_one_test): Likewise.
6898 (do_test): Likewise.
6899
97020474
SP
6900 * benchtests/Makefile (string-bench): Add string benchmarks.
6901 * benchtests/bench-bcopy-ifunc.c: New file.
6902 * benchtests/bench-bcopy.c: New file.
6903 * benchtests/bench-bzero-ifunc.c: New file.
6904 * benchtests/bench-bzero.c: New file.
6905 * benchtests/bench-memccpy-ifunc.c: New file.
6906 * benchtests/bench-memccpy.c: New file.
6907 * benchtests/bench-memchr-ifunc.c: New file.
6908 * benchtests/bench-memchr.c: New file.
6909 * benchtests/bench-memcmp-ifunc.c: New file.
6910 * benchtests/bench-memcmp.c: New file.
6911 * benchtests/bench-memmem-ifunc.c: New file.
6912 * benchtests/bench-memmem.c: New file.
6913 * benchtests/bench-memmove-ifunc.c: New file.
6914 * benchtests/bench-memmove.c: New file.
6915 * benchtests/bench-mempcpy-ifunc.c: New file.
6916 * benchtests/bench-mempcpy.c: New file.
6917 * benchtests/bench-memset-ifunc.c: New file.
6918 * benchtests/bench-memset.c: New file.
6919 * benchtests/bench-rawmemchr-ifunc.c: New file.
6920 * benchtests/bench-rawmemchr.c: New file.
6921 * benchtests/bench-stpcpy-ifunc.c: New file.
6922 * benchtests/bench-stpcpy.c: New file.
6923 * benchtests/bench-stpncpy-ifunc.c: New file.
6924 * benchtests/bench-stpncpy.c: New file.
6925 * benchtests/bench-strcasecmp-ifunc.c: New file.
6926 * benchtests/bench-strcasecmp.c: New file.
6927 * benchtests/bench-strcasestr-ifunc.c: New file.
6928 * benchtests/bench-strcasestr.c: New file.
6929 * benchtests/bench-strcat-ifunc.c: New file.
6930 * benchtests/bench-strcat.c: New file.
6931 * benchtests/bench-strchr-ifunc.c: New file.
6932 * benchtests/bench-strchr.c: New file.
6933 * benchtests/bench-strchrnul-ifunc.c: New file.
6934 * benchtests/bench-strchrnul.c: New file.
6935 * benchtests/bench-strcmp-ifunc.c: New file.
6936 * benchtests/bench-strcmp.c: New file.
6937 * benchtests/bench-strcpy-ifunc.c: New file.
6938 * benchtests/bench-strcpy.c: New file.
6939 * benchtests/bench-strcspn-ifunc.c: New file.
6940 * benchtests/bench-strcspn.c: New file.
6941 * benchtests/bench-strlen-ifunc.c: New file.
6942 * benchtests/bench-strlen.c: New file.
6943 * benchtests/bench-strncasecmp-ifunc.c: New file.
6944 * benchtests/bench-strncasecmp.c: New file.
6945 * benchtests/bench-strncat-ifunc.c: New file.
6946 * benchtests/bench-strncat.c: New file.
6947 * benchtests/bench-strncmp-ifunc.c: New file.
6948 * benchtests/bench-strncmp.c: New file.
6949 * benchtests/bench-strncpy-ifunc.c: New file.
6950 * benchtests/bench-strncpy.c: New file.
6951 * benchtests/bench-strnlen-ifunc.c: New file.
6952 * benchtests/bench-strnlen.c: New file.
6953 * benchtests/bench-strpbrk-ifunc.c: New file.
6954 * benchtests/bench-strpbrk.c: New file.
6955 * benchtests/bench-strrchr-ifunc.c: New file.
6956 * benchtests/bench-strrchr.c: New file.
6957 * benchtests/bench-strspn-ifunc.c: New file.
6958 * benchtests/bench-strspn.c: New file.
6959 * benchtests/bench-strstr-ifunc.c: New file.
6960 * benchtests/bench-strstr.c: New file.
6961
c1f75dc3
SP
6962 * benchtests/Makefile: Disable parallel execution of targets.
6963 (string-bench): Add memcpy.
6964 (benchset): New variable to store a list of benchmark sets.
6965 (bench-func): Renamed from bench.
6966 (bench-set): New target.
6967 (bench): Depend on bench-func and bench-set.
6968 * benchtests/README: Add section on benchmark sets.
6969 * benchtests/bench-memcpy-ifunc.c: New file.
6970 * benchtests/bench-memcpy.c: New file.
6971 * benchtests/bench-string.h: New file.
6972
50fd745b
AS
69732013-06-11 Andreas Schwab <schwab@suse.de>
6974
6975 [BZ #15577]
6976 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6977 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6978 values in the triple.
6979 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6980 terminator in the group key.
6981
3ee7e9fe
AJ
69822013-06-11 Andreas Jaeger <aj@suse.de>
6983
6984 * po/zh_TW.po: Update Chinese (traditional) translation from
6985 translation project.
6986
89fb6835
SP
69872013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6988
6989 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6990 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6991 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6992 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6993 (clock_getcpuclockid): Likewise.
6994 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6995 Add weak_alias and libc_hidden_def.
6996 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6997 * rt/clock_gettime.c (clock_gettime): Rename to
6998 __clock_gettime. Add weak_alias and libc_hidden_def.
6999 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7000 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7001 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7002 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7003 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7004 Likewise.
7005 * rt/clock_settime.c (clock_settime): Rename to
7006 __clock_settime. Add weak_alias and libc_hidden_def.
7007 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7008
0efa6f8b
JM
70092013-06-10 Joseph Myers <joseph@codesourcery.com>
7010
b8c61b4b
JM
7011 * mach/err_boot.sub: Remove trailing whitespace.
7012 * mach/err_ipc.sub: Likewise.
7013 * mach/err_mach.sub: Likewise.
7014
0efa6f8b
JM
7015 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7016 (ROUNDING_TESTS_double): Likewise.
7017 (ROUNDING_TESTS_long_double): Likewise.
7018 (ROUNDING_TESTS): Likewise.
7019 * math/libm-test.inc: Include <math-tests.h>.
7020 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7021 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7022 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7023 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7024
50b818bf
SP
70252013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7026
7027 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7028 of assigning.
7029
60d2f8f3
JM
70302013-06-08 Joseph Myers <joseph@codesourcery.com>
7031
4902d2c3
JM
7032 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7033 otherwise empty TRANS lines.
7034 * sysdeps/gnu/errlist.c: Regenerated.
7035
60d2f8f3
JM
7036 * catgets/gencat.c (error_print): Use (void) in function
7037 definition.
7038 * crypt/crypt_util.c (__init_des): Likewise.
7039 * crypt/speeds.c (Stop): Likewise.
7040 (main): Likewise.
7041 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7042 * inet/ruserpass.c (token): Likewise.
7043 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7044 * intl/localealias.c (extend_alias_table): Likewise.
7045 * intl/plural-exp.c (init_germanic_plural): Likewise.
7046 * libio/fcloseall.c (__fcloseall): Likewise.
7047 * libio/genops.c (_IO_flush_all): Likewise.
7048 (_IO_flush_all_linebuffered): Likewise.
7049 (_IO_cleanup): Likewise.
7050 (_IO_iter_begin): Likewise.
7051 (_IO_iter_end): Likewise.
7052 (_IO_list_lock): Likewise.
7053 (_IO_list_unlock): Likewise.
7054 (_IO_list_resetlock): Likewise.
7055 * libio/getchar.c (getchar): Likewise.
7056 * libio/getchar_u.c (getchar_unlocked): Likewise.
7057 * libio/getwchar.c (getwchar): Likewise.
7058 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7059 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7060 * login/getpt.c (__getpt): Likewise.
7061 * login/tst-utmp.c (main): Likewise.
7062 * malloc/hooks.c (__malloc_check_init): Likewise.
7063 * malloc/malloc.c (__malloc_stats): Likewise.
7064 * malloc/mtrace.c (tr_break): Likewise.
7065 (mtrace): Likewise.
7066 (muntrace): Likewise.
7067 * misc/fstab.c (endfsent): Likewise.
7068 * misc/getclktck.c (__getclktck): Likewise.
7069 * misc/getdtsz.c (__getdtablesize): Likewise.
7070 * misc/gethostid.c (gethostid): Likewise.
7071 * misc/getpagesize.c (__getpagesize): Likewise.
7072 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7073 (__get_nprocs): Likewise.
7074 (__get_phys_pages): Likewise.
7075 (__get_avphys_pages): Likewise.
7076 * misc/getttyent.c (getttyent): Likewise.
7077 (setttyent): Likewise.
7078 (endttyent): Likewise.
7079 * misc/getusershell.c (getusershell): Likewise.
7080 (endusershell): Likewise.
7081 (setusershell): Likewise.
7082 (initshells): Likewise.
7083 * misc/hsearch.c (__hdestroy): Likewise.
7084 * misc/sync.c (sync): Likewise.
7085 * misc/syslog.c (closelog_internal): Likewise.
7086 (closelog): Likewise.
7087 * misc/ttyslot.c (ttyslot): Likewise.
7088 * misc/vhangup.c (vhangup): Likewise.
7089 * posix/fork.c (__fork): Likewise.
7090 * posix/getegid.c (__getegid): Likewise.
7091 * posix/geteuid.c (__geteuid): Likewise.
7092 * posix/getgid.c (__getgid): Likewise.
7093 * posix/getpid.c (__getpid): Likewise.
7094 * posix/getppid.c (__getppid): Likewise.
7095 * posix/getuid.c (__getuid): Likewise.
7096 * posix/pause.c (pause): Likewise.
7097 * posix/setpgrp.c (setpgrp): Likewise.
7098 * posix/setsid.c (__setsid): Likewise.
7099 * posix/test-vfork.c (noop): Likewise.
7100 * resolv/gethnamaddr.c (_endhtent): Likewise.
7101 (_gethtent): Likewise.
7102 (ht_endhostent): Likewise.
7103 (gethostent): Likewise.
7104 (dns_service): Likewise.
7105 * stdlib/drand48.c (drand48): Likewise.
7106 * stdlib/lrand48.c (lrand48): Likewise.
7107 * stdlib/mrand48.c (mrand48): Likewise.
7108 * stdlib/rand.c (rand): Likewise.
7109 * stdlib/random.c (__random): Likewise.
7110 * stdlib/setenv.c (clearenv): Likewise.
7111 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7112 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7113 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7114 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7115 (__get_nprocs): Likewise.
7116 (__get_phys_pages): Likewise.
7117 (__get_avphys_pages): Likewise.
7118 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7119 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7120 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7121 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7122 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7123 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7124 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7125 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7126 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7127 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7128 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7129 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7130 * sysdeps/posix/clock.c (clock): Likewise.
7131 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7132 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7133 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7134 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7135 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7136 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7137 (__get_nprocs_conf): Likewise.
7138 (__get_phys_pages): Likewise.
7139 (__get_avphys_pages): Likewise.
7140 * time/clock.c (clock): Likewise.
7141 * time/tzset.c (__tzname_max): Likewise.
7142
2e09a79a
JM
71432013-06-07 Joseph Myers <joseph@codesourcery.com>
7144
7145 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7146 (__bswap_32): Do not use "register".
7147 * crypt/crypt.c (_ufc_doit_r): Likewise.
7148 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7149 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7150 * gmon/gmon.c (__monstartup): Likewise.
7151 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7152 * hurd/hurdmalloc.c (more_memory): Likewise.
7153 (malloc): Likewise.
7154 (free): Likewise.
7155 (realloc): Likewise.
7156 (malloc_fork_prepare): Likewise.
7157 (malloc_fork_parent): Likewise.
7158 (malloc_fork_child): Likewise.
7159 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7160 (_svcauth_des): Likewise.
7161 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7162 * inet/inet_net.c (inet_network): Likewise.
7163 * inet/inet_netof.c (inet_netof): Likewise.
7164 * inet/rcmd.c (__validuser2_sa): Likewise.
7165 * io/fts.c (fts_open): Likewise.
7166 (fts_load): Likewise.
7167 (fts_close): Likewise.
7168 (fts_read): Likewise.
7169 (fts_children): Likewise.
7170 (fts_build): Likewise.
7171 (fts_stat): Likewise.
7172 (fts_sort): Likewise.
7173 (fts_alloc): Likewise.
7174 (fts_lfree): Likewise.
7175 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7176 (_IO_file_xsgetn): Likewise.
7177 (_IO_file_xsgetn_mmap): Likewise.
7178 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7179 (_IO_cookie_write): Likewise.
7180 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7181 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7182 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7183 * malloc/obstack.c (_obstack_begin): Likewise.
7184 (_obstack_begin_1): Likewise.
7185 (_obstack_newchunk): Likewise.
7186 (_obstack_allocated_p): Likewise.
7187 (obstack_free): Likewise.
7188 (_obstack_memory_used): Likewise.
7189 * misc/getttyent.c (getttynam): Likewise.
7190 (getttyent): Likewise.
7191 (skip): Likewise.
7192 (value): Likewise.
7193 * misc/getusershell.c (initshells): Likewise.
7194 * misc/syslog.c (__vsyslog_chk): Likewise.
7195 * misc/ttyslot.c (ttyslot): Likewise.
7196 * nis/nis_hash.c (__nis_hash): Likewise.
7197 * posix/fnmatch_loop.c (FCT): Likewise.
7198 * posix/getconf.c (print_all): Likewise.
7199 (main): Likewise.
7200 * posix/getopt.c (exchange): Likewise.
7201 * posix/glob.c (globfree): Likewise.
7202 (prefix_array): Likewise.
7203 (__glob_pattern_type): Likewise.
7204 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7205 (NS_GET32): Likewise.
7206 (NS_PUT16): Likewise.
7207 (NS_PUT32): Likewise.
7208 * resolv/gethnamaddr.c (getanswer): Likewise.
7209 (gethostbyname2): Likewise.
7210 (gethostbyaddr): Likewise.
7211 (_gethtent): Likewise.
7212 (_gethtbyname2): Likewise.
7213 (_gethtbyaddr): Likewise.
7214 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7215 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7216 * resolv/res_init.c (__res_vinit): Likewise.
7217 (net_mask): Likewise.
7218 * resolv/res_mkquery.c (outchar): Likewise.
7219 (PRINT): Likewise.
7220 * stdio-common/printf_fp.c (outchar): Likewise.
7221 (PRINT): Likewise.
7222 * stdio-common/printf_fphex.c (outchar): Likewise.
7223 (PRINT): Likewise.
7224 * stdio-common/printf_size.c (outchar): Likewise.
7225 (PRINT): Likewise.
7226 * stdio-common/test_rdwr.c (main): Likewise.
7227 * stdio-common/tfformat.c (matches): Likewise.
7228 * stdio-common/vfprintf.c (outchar): Likewise.
7229 (printf_unknown): Likewise.
7230 (buffered_vfprintf): Likewise.
7231 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7232 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7233 (ReadFile): Likewise.
7234 * stdlib/qsort.c (SWAP): Likewise.
7235 (_quicksort): Likewise.
7236 * stdlib/setenv.c (__add_to_environ): Likewise.
7237 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7238 * stdlib/strtol_l.c (__strtol_l): Likewise.
7239 * stdlib/tst-strtod.c (main): Likewise.
7240 * stdlib/tst-strtol.c (main): Likewise.
7241 * stdlib/tst-strtoll.c (main): Likewise.
7242 * string/bits/string2.h (__strcmp_cc): Likewise.
7243 (__strcmp_cg): Likewise.
7244 (__strcspn_c1): Likewise.
7245 (__strcspn_c2): Likewise.
7246 (__strcspn_c3): Likewise.
7247 (__strspn_c1): Likewise.
7248 (__strspn_c2): Likewise.
7249 (__strspn_c3): Likewise.
7250 (__strsep_1c): Likewise.
7251 (__strsep_2c): Likewise.
7252 (__strsep_3c): Likewise.
7253 * string/memccpy.c (__memccpy): Likewise.
7254 * string/stpcpy.c (__stpcpy): Likewise.
7255 * string/strcmp.c (strcmp): Likewise.
7256 * string/strrchr.c (strrchr): Likewise.
7257 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7258 Likewise.
7259 * sysdeps/mach/hurd/getcwd.c
7260 (_hurd_canonicalize_directory_name_internal): Likewise.
7261 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7262 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7263 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7264 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7265 Likewise, in both definitions.
7266 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7267 definitions.
7268 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7269 64] (__bswap_64): Likewise.
7270 * time/test_time.c (main): Likewise.
7271 * time/tzfile.c (__tzfile_read): Likewise.
7272 (__tzfile_compute): Likewise.
7273 * time/tzset.c (__tzset_parse_tz): Likewise.
7274 (tzset_internal): Likewise.
7275 (compute_change): Likewise.
7276 * wcsmbs/wcscat.c (__wcscat): Likewise.
7277 * wcsmbs/wcschr.c (wcschr): Likewise.
7278 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7279 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7280 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7281 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7282 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7283 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7284 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7285 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7286 * wcsmbs/wmemset.c (wmemset): Likewise.
7287
9e54314b
JM
72882013-06-06 Joseph Myers <joseph@codesourcery.com>
7289
7290 * scripts/config.guess: Update to version 2013-05-16.
7291 * scripts/config.sub: Update to version 2013-04-24.
7292 * scripts/install-sh: Update to version 2011-11-20.07.
7293 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7294 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7295
350635a5
OB
72962013-06-06 Ondřej Bílka <neleai@seznam.cz>
7297
7298 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7299 * elf/sln.c: Likewise.
7300 * hurd/hurd/ioctl.h: Likewise.
7301 * hurd/hurdmalloc.c: Likewise.
7302 * hurd/xattr.c: Likewise.
7303 * include/shlib-compat.h: Likewise.
7304 * inet/ruserpass.c: Likewise.
7305 * libio/iofgets_u.c: Likewise.
7306 * libio/iofgetws_u.c: Likewise.
7307 * locale/programs/ld-identification.c: Likewise.
7308 * locale/programs/ld-time.c: Likewise.
7309 * mach/msg-destroy.c: Likewise.
7310 * nss/nss_files/files-netgrp.c: Likewise.
7311 * resolv/res_data.c: Likewise.
7312 * soft-fp/op-1.h: Likewise.
7313 * soft-fp/op-2.h: Likewise.
7314 * soft-fp/op-4.h: Likewise.
7315 * soft-fp/op-common.h: Likewise.
7316 * stdio-common/printf_fphex.c: Likewise.
7317 * stdlib/strtod_l.c: Likewise.
7318 * sunrpc/rpc/clnt.h: Likewise.
7319 * sysdeps/generic/framestate.c: Likewise.
7320 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7321 * sysdeps/i386/bsd-setjmp.S: Likewise.
7322 * sysdeps/i386/__longjmp.S: Likewise.
7323 * sysdeps/i386/setjmp.S: Likewise.
7324 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7325 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7326 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7327 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7328 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7329 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7330 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7331 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7332 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7333 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7334 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7335 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7336 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7337 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7338 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7339 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7340 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7341 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7342 * sysdeps/ieee754/support.c: Likewise.
7343 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7344 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7345 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7346 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7347 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7348 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7349 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7350 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7351 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7352 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7353 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7354 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7355 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7356 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7357 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7358 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7359 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7361
44a988af
OB
73622013-06-05 Ondřej Bílka <neleai@seznam.cz>
7363
25506f09 7364 * posix/transbug.c: Remove executable mode.
44a988af 7365
9c84384c
JM
73662013-06-05 Joseph Myers <joseph@codesourcery.com>
7367
7368 * crypt/speeds.c: Remove trailing whitespace.
7369 * dlfcn/default.c: Likewise.
7370 * elf/ifuncdep2.c: Likewise.
7371 * elf/ifuncmain1.c: Likewise.
7372 * elf/ifuncmain1vis.c: Likewise.
7373 * elf/testobj.h: Likewise.
7374 * elf/tst-stackguard1.c: Likewise.
7375 * gmon/sys/gmon.h: Likewise.
7376 * hurd/hurdmsg.c: Likewise.
7377 * hurd/new-fd.c: Likewise.
7378 * hurd/ports-get.c: Likewise.
7379 * iconvdata/ibm1008_420.c: Likewise.
7380 * inet/tst-getni1.c: Likewise.
7381 * inet/tst-getni2.c: Likewise.
7382 * libio/ioungetc.c: Likewise.
7383 * libio/wfiledoalloc.c: Likewise.
7384 * manual/libm-err-tab.pl: Likewise.
7385 * math/w_dremf.c: Likewise.
7386 * misc/ftruncate.c: Likewise.
7387 * posix/bug-glob2.c: Likewise.
7388 * posix/tst-pcre.c: Likewise.
7389 * posix/wait4.c: Likewise.
7390 * resolv/README: Likewise.
7391 * resolv/res_debug.h: Likewise.
7392 * resolv/tst-inet_ntop.c: Likewise.
7393 * setjmp/bug269-setjmp.c: Likewise.
7394 * soft-fp/extended.h: Likewise.
7395 * soft-fp/op-1.h: Likewise.
7396 * soft-fp/op-2.h: Likewise.
7397 * soft-fp/op-4.h: Likewise.
7398 * soft-fp/op-8.h: Likewise.
7399 * soft-fp/testit.c: Likewise.
7400 * stdio-common/bug16.c: Likewise.
7401 * stdlib/random.c: Likewise.
7402 * sunrpc/rpcsvc/rquota.x: Likewise.
7403 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7404 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7405 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7406 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7407 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7408 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7409 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7410 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7411 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7412 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7413 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7414 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7415 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7416 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7417 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7418 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7419 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7420 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7421 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7422 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7423 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7424 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7425 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7426 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7427 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7428 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7429 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7430 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7431 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7432 * sysdeps/ieee754/s_lib_version.c: Likewise.
7433 * sysdeps/mach/hurd/check_fds.c: Likewise.
7434 * sysdeps/mach/hurd/getsockname.c: Likewise.
7435 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7436 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7437 * sysdeps/powerpc/bits/link.h: Likewise.
7438 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7439 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7440 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7441 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7442 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7443 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7444 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7445 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7446 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7447 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7448 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7449 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7450 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7451 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7452 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7453 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7454 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7455 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7456 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7457 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7458 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7459 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7460 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7461 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7462 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7463 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7464 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7465 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7466 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7467 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7468 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7469 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7470 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7471 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7472 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7473 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7474 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7475 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7476 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7477 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7478 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7479 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7480 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7481 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7482 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7483 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7484 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7485 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7486 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7487 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7488 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7489 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7490 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7491 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7492 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7493 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7494 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7495 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7496 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7497 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7498 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7499 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7500 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7501 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7502 * sysdeps/powerpc/sysdep.h: Likewise.
7503 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7504 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7505 * sysdeps/sh/dl-trampoline.S: Likewise.
7506 * sysdeps/sh/memset.S: Likewise.
7507 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7508 * sysdeps/sh/strlen.S: Likewise.
7509 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7510 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7511 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7512 * sysdeps/sparc/sparc32/rem.S: Likewise.
7513 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7514 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7515 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7516 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7517 * sysdeps/sparc/sparc32/urem.S: Likewise.
7518 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7519 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7520 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7521 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7522 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7523 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7524 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7525 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7526 * sysdeps/unix/bsd/times.c: Likewise.
7527 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7528 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7532 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7533 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7534 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7535 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7536 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7537 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7538 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7539 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7540 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7541 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7542 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7543 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7544 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7545 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7546 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7547 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7548 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7549 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7550 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7551 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7552 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7553 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7554 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7555 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7556 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7557 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7558 * sysdeps/x86_64/strcspn.S: Likewise.
7559
869378a5
RA
75602013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7561
7562 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7563 generated file. Regenerate properly from gen-translit.pl.
7564 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7565 locale/C-translit.h.
7566
840e2943
AS
75672013-06-05 Andreas Schwab <schwab@suse.de>
7568
7569 [BZ #15100]
7570 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7571 week as 6 instead of -1.
7572 * time/tst-strptime.c (day_tests): Add test case.
7573
4c60cb0c
SP
75742013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7575
7576 * sysdeps/generic/math_private.h
7577 (libc_feholdexcept_setround_53bit): Replace with
7578 libc_feholdsetround_53bit.
7579 (libc_feupdateenv_53bit): Replace with
7580 libc_feresetround_53bit.
7581 (SET_RESTORE_ROUND_53BIT): Adjust.
7582
d180203e
SP
75832013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7584
96df079a
SP
7585 * string/test-strchrnul.c: Add copyright header.
7586
d180203e
SP
7587 * posix/tst-getaddrinfo4.c: Increase test timeout.
7588
8b0ccb2d
CD
75892013-06-03 Carlos O'Donell <carlos@redhat.com>
7590
7591 [BZ #15536]
7592 * math/libm-test.inc (MAX_EXP): Remove
7593 (MIN_EXP): Define.
7594 (ulp): Use MIN_EXP - MANT_DIG.
7595 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7596
3b3c4d40
CD
75972013-05-31 Carlos O'Donell <carlos@redhat.com>
7598
7599 * po/be.po: Revert last change.
7600 * po/zh_CN.po: Likewise.
7601 * po/header.pot: Likewise.
7602
fab7ce3f
JM
76032013-05-31 Joseph Myers <joseph@codesourcery.com>
7604
7605 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7606 link-libc-deps to empty as target-specific variable.
7607 * Makerules (link-libc-args): New variable.
7608 (libc-for-link): Likewise.
7609 (link-libc-deps): Likewise.
7610 (lib%.so): Depend on $(link-libc-deps). Link with
7611 $(link-libc-args).
7612 (build-module): Link with $(link-libc-args).
7613 (build-module-asneeded): Likewise.
7614 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7615 list of objects.
7616 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7617 target-specific variable.
7618 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7619 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7620 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7621 libc.
7622 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7623 libc and ld.so.
7624 ($(objpfx)libpcprofile.so): Likewise.
7625 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7626 libc_nonshared.a.
7627 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7628 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7629 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7630 $(link-libc-deps).
7631 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7632 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7633 * login/Makefile ($(objpfx)libutil.so): Likewise.
7634 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7635 * math/Makefile ($(objpfx)libm.so): Likewise.
7636 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7637 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7638 variable instead of depending directly on libc.
7639 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7640 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7641 $(link-libc-deps).
7642 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7643 libc.
7644 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7645 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7646 ($(objpfx)libanl.so): Likewise.
7647 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7648 ld.so.
7649 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7650 $(link-libc-deps).
7651 * sysdeps/i386/fpu/Makefile: Remove file.
7652 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7653 ($(objpfx)libm.so): Remove dependency on ld.so.
7654
eca5920c
PF
76552013-05-30 Patsy Franklin <pfrankli@redhat.com>
7656
7657 [BZ # 15553]
7658 * nis/yp_xdr.c (XDRMAXNAME): Define.
7659 (XDRMAXRECORD): Define.
7660 (xdr_domainname): Use XDRMAXNAME.
7661 (xdr_mapname): Likewise.
7662 (xdr_peername): Likewise.
7663 (xdr_keydat): Use XDRMAXRECORD.
7664 (xdr_valdat): Likewise.
7665
76662013-05-30 Jeff Law <law@redhat.com>
96945714
JL
7667
7668 [BZ #14256]
7669 * manual/errno.texi (ESTALE): Update to account for more than
7670 just NFS file systems.
7671 * sysdeps/gnu/errlist.c: Regenerated.
7672
b9375348
SP
76732013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7674
7675 [BZ #15465]
7676 * elf/Makefile (tests): Add tst-null-argv.
7677 (modules-names): Add tst-null-argv-lib.
7678 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7679 (tst-null-argv-ENV): Set environment for tst-null-argv.
7680 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7681 (RTLD_PROGNAME): New macro.
7682 * elf/tst-null-argv.c: New test case.
7683 * elf/tst-null-argv-lib.c: Library for test case.
7684 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7685 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7686 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7687 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7688 * elf/dl-init.c (call_init): Likewise.
7689 (_dl_init): Likewise.
7690 * elf/dl-load.c (print_search_path): Likewise.
7691 (_dl_map_object): Likewise.
7692 * elf/dl-lookup.c (do_lookup_x): Likewise.
7693 (add_dependency): Likewise.
7694 (_dl_lookup_symbol_x): Likewise.
7695 (_dl_debug_bindings): Likewise.
7696 * elf/dl-open.c (_dl_show_scope): Likewise.
7697 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7698 * elf/dl-version.c (match_symbol): Likewise.
7699 (_dl_check_map_versions): Likewise.
7700 * elf/rtld.c (dl_main): Likewise.
7701 (print_unresolved): Use RTLD_PROGNAME.
7702 (print_missing_version): Likewise.
7703 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7704 (elf_machine_rela): Likewise.
7705 * sysdeps/powerpc/powerpc32/dl-machine.c
7706 (__process_machine_rela): Likewise.
7707 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7708 Likewise.
7709 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7710 Likewise.
7711 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7712 Likewise.
7713 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7714 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7715 Likewise.
7716 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7717 Likewise.
7718 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7719
8a9f20c8
CD
77202013-05-28 Carlos O'Donell <carlos@redhat.com>
7721
7722 * po/be.po: Add descriptive title.
7723 * po/zh_CN.po: Likewise.
7724 * po/header.pot: Likewise.
7725
0e60d68e
MF
77262013-05-28 Mike Frysinger <vapier@gentoo.org>
7727
7728 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7729 error message.
7730 (enlarge_archive): Likewise.
7731
56b672e9
BN
77322013-05-28 Ben North <ben@redfrontdoor.org>
7733
7734 * manual/arith.texi (frexp): It is the magnitude of the return
7735 value which lies in [0.5, 1), not the return value itself.
7736
5e056687
AZ
77372013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7738
7739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7740
2b66ef5d
TS
77412013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7742
528c2405
TS
7743 * stdio-common/bug26.c (main): Correct fscanf template.
7744
07b4c13d
TS
7745 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7746 declare _dl_skip_args.
7747
ec9dd97c
TS
7748 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7749 Don't declare.
7750
2b66ef5d
TS
7751 * manual/platform.texi: Add missing @end deftypefun.
7752
4f8dfe27
JM
77532013-05-24 Joseph Myers <joseph@codesourcery.com>
7754
0323d086
JM
7755 [BZ #15529]
7756 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7757 bit of mantissa of 2^16382.
7758 * math/libm-test.inc (hypot_test_data): Add more tests.
7759
dd4259b9
JM
7760 * math/libm-test.inc: Add drem and pow10 to list of tested
7761 functions.
7762 (pow10_test): New function.
7763 (drem_test): Likewise.
7764 (drem_test_tonearest): Likewise.
7765 (drem_test_towardzero): Likewise.
7766 (drem_test_downward): Likewise.
7767 (drem_test_upward): Likewise.
7768 (main): Call the new functions.
7769
4f8dfe27
JM
7770 * math/libm-test.inc (finite_test_data): Remove.
7771 (finite_test): Run tests from isfinite_test_data.
7772 (gamma_test_data): Remove.
7773 (gamma_test): Run tests from lgamma_test_data.
7774 * sysdeps/i386/fpu/libm-test-ulps: Update.
7775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7776
d116b7c4
AZ
77772013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7778
7779 * manual/platform.texi: Add PowerPC PPR function set documentation.
7780 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7781 implementation.
7782
e96e3767
CD
77832013-05-24 Carlos O'Donell <carlos@redhat.com>
7784
7785 * math/libm-test.inc (MAX_EXP): Define.
7786 (ULPDIFF): Define.
7787 (ulp): New function.
7788 (check_float_internal): Use ULPDIFF.
7789 (cpow_test): Disable failing test.
7790 (check_ulp): Test ulp() implemetnation.
7791 (main): Call check_ulp before starting tests.
7792
b679a606
JM
77932013-05-24 Joseph Myers <joseph@codesourcery.com>
7794
e8bdba36
JM
7795 * math/gen-libm-test.pl (generate_testfile): Do not handle
7796 START_DATA and END_DATA.
7797 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7798 END_DATA.
7799 (acos_tonearest_test_data): Likewise.
7800 (acos_towardzero_test_data): Likewise.
7801 (acos_downward_test_data): Likewise.
7802 (acos_upward_test_data): Likewise.
7803 (acosh_test_data): Likewise.
7804 (asin_test_data): Likewise.
7805 (asin_tonearest_test_data): Likewise.
7806 (asin_towardzero_test_data): Likewise.
7807 (asin_downward_test_data): Likewise.
7808 (asin_upward_test_data): Likewise.
7809 (asinh_test_data): Likewise.
7810 (atan_test_data): Likewise.
7811 (atanh_test_data): Likewise.
7812 (atan2_test_data): Likewise.
7813 (cabs_test_data): Likewise.
7814 (cacos_test_data): Likewise.
7815 (cacosh_test_data): Likewise.
7816 (carg_test_data): Likewise.
7817 (casin_test_data): Likewise.
7818 (casinh_test_data): Likewise.
7819 (catan_test_data): Likewise.
7820 (catanh_test_data): Likewise.
7821 (cbrt_test_data): Likewise.
7822 (ccos_test_data): Likewise.
7823 (ccosh_test_data): Likewise.
7824 (ceil_test_data): Likewise.
7825 (cexp_test_data): Likewise.
7826 (cimag_test_data): Likewise.
7827 (clog_test_data): Likewise.
7828 (clog10_test_data): Likewise.
7829 (conj_test_data): Likewise.
7830 (copysign_test_data): Likewise.
7831 (cos_test_data): Likewise.
7832 (cos_tonearest_test_data): Likewise.
7833 (cos_towardzero_test_data): Likewise.
7834 (cos_downward_test_data): Likewise.
7835 (cos_upward_test_data): Likewise.
7836 (cosh_test_data): Likewise.
7837 (cosh_tonearest_test_data): Likewise.
7838 (cosh_towardzero_test_data): Likewise.
7839 (cosh_downward_test_data): Likewise.
7840 (cosh_upward_test_data): Likewise.
7841 (cpow_test_data): Likewise.
7842 (cproj_test_data): Likewise.
7843 (creal_test_data): Likewise.
7844 (csin_test_data): Likewise.
7845 (csinh_test_data): Likewise.
7846 (csqrt_test_data): Likewise.
7847 (ctan_test_data): Likewise.
7848 (ctan_tonearest_test_data): Likewise.
7849 (ctan_towardzero_test_data): Likewise.
7850 (ctan_downward_test_data): Likewise.
7851 (ctan_upward_test_data): Likewise.
7852 (ctanh_test_data): Likewise.
7853 (ctanh_tonearest_test_data): Likewise.
7854 (ctanh_towardzero_test_data): Likewise.
7855 (ctanh_downward_test_data): Likewise.
7856 (ctanh_upward_test_data): Likewise.
7857 (erf_test_data): Likewise.
7858 (erfc_test_data): Likewise.
7859 (exp_test_data): Likewise.
7860 (exp_tonearest_test_data): Likewise.
7861 (exp_towardzero_test_data): Likewise.
7862 (exp_downward_test_data): Likewise.
7863 (exp_upward_test_data): Likewise.
7864 (exp10_test_data): Likewise.
7865 (exp2_test_data): Likewise.
7866 (expm1_test_data): Likewise.
7867 (fabs_test_data): Likewise.
7868 (fdim_test_data): Likewise.
7869 (finite_test_data): Likewise.
7870 (floor_test_data): Likewise.
7871 (fma_test_data): Likewise.
7872 (fma_towardzero_test_data): Likewise.
7873 (fma_downward_test_data): Likewise.
7874 (fma_upward_test_data): Likewise.
7875 (fmax_test_data): Likewise.
7876 (fmin_test_data): Likewise.
7877 (fmod_test_data): Likewise.
7878 (fpclassify_test_data): Likewise.
7879 (frexp_test_data): Likewise.
7880 (gamma_test_data): Likewise.
7881 (hypot_test_data): Likewise.
7882 (ilogb_test_data): Likewise.
7883 (isfinite_test_data): Likewise.
7884 (isgreater_test_data): Likewise.
7885 (isgreaterequal_test_data): Likewise.
7886 (isinf_test_data): Likewise.
7887 (isless_test_data): Likewise.
7888 (islessequal_test_data): Likewise.
7889 (islessgreater_test_data): Likewise.
7890 (isnan_test_data): Likewise.
7891 (isnormal_test_data): Likewise.
7892 (issignaling_test_data): Likewise.
7893 (isunordered_test_data): Likewise.
7894 (j0_test_data): Likewise.
7895 (j1_test_data): Likewise.
7896 (jn_test_data): Likewise.
7897 (ldexp_test_data): Likewise.
7898 (lgamma_test_data): Likewise.
7899 (lrint_test_data): Likewise.
7900 (lrint_tonearest_test_data): Likewise.
7901 (lrint_towardzero_test_data): Likewise.
7902 (lrint_downward_test_data): Likewise.
7903 (lrint_upward_test_data): Likewise.
7904 (llrint_test_data): Likewise.
7905 (llrint_tonearest_test_data): Likewise.
7906 (llrint_towardzero_test_data): Likewise.
7907 (llrint_downward_test_data): Likewise.
7908 (llrint_upward_test_data): Likewise.
7909 (log_test_data): Likewise.
7910 (log10_test_data): Likewise.
7911 (log1p_test_data): Likewise.
7912 (log2_test_data): Likewise.
7913 (logb_test_data): Likewise.
7914 (logb_downward_test_data): Likewise.
7915 (lround_test_data): Likewise.
7916 (llround_test_data): Likewise.
7917 (modf_test_data): Likewise.
7918 (nearbyint_test_data): Likewise.
7919 (nextafter_test_data): Likewise.
7920 (nexttoward_test_data): Likewise.
7921 (pow_test_data): Likewise.
7922 (pow_tonearest_test_data): Likewise.
7923 (pow_towardzero_test_data): Likewise.
7924 (pow_downward_test_data): Likewise.
7925 (pow_upward_test_data): Likewise.
7926 (remainder_test_data): Likewise.
7927 (remainder_tonearest_test_data): Likewise.
7928 (remainder_towardzero_test_data): Likewise.
7929 (remainder_downward_test_data): Likewise.
7930 (remainder_upward_test_data): Likewise.
7931 (remquo_test_data): Likewise.
7932 (rint_test_data): Likewise.
7933 (rint_tonearest_test_data): Likewise.
7934 (rint_towardzero_test_data): Likewise.
7935 (rint_downward_test_data): Likewise.
7936 (rint_upward_test_data): Likewise.
7937 (round_test_data): Likewise.
7938 (scalb_test_data): Likewise.
7939 (scalbn_test_data): Likewise.
7940 (scalbln_test_data): Likewise.
7941 (signbit_test_data): Likewise.
7942 (sin_test_data): Likewise.
7943 (sin_tonearest_test_data): Likewise.
7944 (sin_towardzero_test_data): Likewise.
7945 (sin_downward_test_data): Likewise.
7946 (sin_upward_test_data): Likewise.
7947 (sincos_test_data): Likewise.
7948 (sinh_test_data): Likewise.
7949 (sinh_tonearest_test_data): Likewise.
7950 (sinh_towardzero_test_data): Likewise.
7951 (sinh_downward_test_data): Likewise.
7952 (sinh_upward_test_data): Likewise.
7953 (sqrt_test_data): Likewise.
7954 (tan_test_data): Likewise.
7955 (tan_tonearest_test_data): Likewise.
7956 (tan_towardzero_test_data): Likewise.
7957 (tan_downward_test_data): Likewise.
7958 (tan_upward_test_data): Likewise.
7959 (tanh_test_data): Likewise.
7960 (tgamma_test_data): Likewise.
7961 (trunc_test_data): Likewise.
7962 (y0_test_data): Likewise.
7963 (y1_test_data): Likewise.
7964 (yn_test_data): Likewise.
7965 (significand_test_data): Likewise.
7966
b679a606
JM
7967 * math/gen-libm-test.pl (@functions): Remove variable.
7968 (generate_testfile): Don't handle START and END lines.
7969 * math/libm-test.inc (START): New macro.
7970 (END): Likewise.
7971 (END_COMPLEX): Likewise.
7972 (acos_test): Use END macro without arguments.
7973 (acos_test_tonearest): Likewise.
7974 (acos_test_towardzero): Likewise.
7975 (acos_test_downward): Likewise.
7976 (acos_test_upward): Likewise.
7977 (acosh_test): Likewise.
7978 (asin_test): Likewise.
7979 (asin_test_tonearest): Likewise.
7980 (asin_test_towardzero): Likewise.
7981 (asin_test_downward): Likewise.
7982 (asin_test_upward): Likewise.
7983 (asinh_test): Likewise.
7984 (atan_test): Likewise.
7985 (atanh_test): Likewise.
7986 (atan2_test): Likewise.
7987 (cabs_test): Likewise.
7988 (cacos_test): Use END_COMPLEX macro without arguments.
7989 (cacosh_test): Likewise.
7990 (carg_test): Use END macro without arguments.
7991 (casin_test): Use END_COMPLEX macro without arguments.
7992 (casinh_test): Likewise.
7993 (catan_test): Likewise.
7994 (catanh_test): Likewise.
7995 (cbrt_test): Use END macro without arguments.
7996 (ccos_test): Use END_COMPLEX macro without arguments.
7997 (ccosh_test): Likewise.
7998 (ceil_test): Use END macro without arguments.
7999 (cexp_test): Use END_COMPLEX macro without arguments.
8000 (cimag_test): Use END macro without arguments.
8001 (clog_test): Use END_COMPLEX macro without arguments.
8002 (clog10_test): Likewise.
8003 (conj_test): Likewise.
8004 (copysign_test): Use END macro without arguments.
8005 (cos_test): Likewise.
8006 (cos_test_tonearest): Likewise.
8007 (cos_test_towardzero): Likewise.
8008 (cos_test_downward): Likewise.
8009 (cos_test_upward): Likewise.
8010 (cosh_test): Likewise.
8011 (cosh_test_tonearest): Likewise.
8012 (cosh_test_towardzero): Likewise.
8013 (cosh_test_downward): Likewise.
8014 (cosh_test_upward): Likewise.
8015 (cpow_test): Use END_COMPLEX macro without arguments.
8016 (cproj_test): Likewise.
8017 (creal_test): Use END macro without arguments.
8018 (csin_test): Use END_COMPLEX macro without arguments.
8019 (csinh_test): Likewise.
8020 (csqrt_test): Likewise.
8021 (ctan_test): Likewise.
8022 (ctan_test_tonearest): Likewise.
8023 (ctan_test_towardzero): Likewise.
8024 (ctan_test_downward): Likewise.
8025 (ctan_test_upward): Likewise.
8026 (ctanh_test): Likewise.
8027 (ctanh_test_tonearest): Likewise.
8028 (ctanh_test_towardzero): Likewise.
8029 (ctanh_test_downward): Likewise.
8030 (ctanh_test_upward): Likewise.
8031 (erf_test): Use END macro without arguments.
8032 (erfc_test): Likewise.
8033 (exp_test): Likewise.
8034 (exp_test_tonearest): Likewise.
8035 (exp_test_towardzero): Likewise.
8036 (exp_test_downward): Likewise.
8037 (exp_test_upward): Likewise.
8038 (exp10_test): Likewise.
8039 (exp2_test): Likewise.
8040 (expm1_test): Likewise.
8041 (fabs_test): Likewise.
8042 (fdim_test): Likewise.
8043 (finite_test): Likewise.
8044 (floor_test): Likewise.
8045 (fma_test): Likewise.
8046 (fma_test_towardzero): Likewise.
8047 (fma_test_downward): Likewise.
8048 (fma_test_upward): Likewise.
8049 (fmax_test): Likewise.
8050 (fmin_test): Likewise.
8051 (fmod_test): Likewise.
8052 (fpclassify_test): Likewise.
8053 (frexp_test): Likewise.
8054 (gamma_test): Likewise.
8055 (hypot_test): Likewise.
8056 (ilogb_test): Likewise.
8057 (isfinite_test): Likewise.
8058 (isgreater_test): Likewise.
8059 (isgreaterequal_test): Likewise.
8060 (isinf_test): Likewise.
8061 (isless_test): Likewise.
8062 (islessequal_test): Likewise.
8063 (islessgreater_test): Likewise.
8064 (isnan_test): Likewise.
8065 (isnormal_test): Likewise.
8066 (issignaling_test): Likewise.
8067 (isunordered_test): Likewise.
8068 (j0_test): Likewise.
8069 (j1_test): Likewise.
8070 (jn_test): Likewise.
8071 (ldexp_test): Likewise.
8072 (lgamma_test): Likewise.
8073 (lrint_test): Likewise.
8074 (lrint_test_tonearest): Likewise.
8075 (lrint_test_towardzero): Likewise.
8076 (lrint_test_downward): Likewise.
8077 (lrint_test_upward): Likewise.
8078 (llrint_test): Likewise.
8079 (llrint_test_tonearest): Likewise.
8080 (llrint_test_towardzero): Likewise.
8081 (llrint_test_downward): Likewise.
8082 (llrint_test_upward): Likewise.
8083 (log_test): Likewise.
8084 (log10_test): Likewise.
8085 (log1p_test): Likewise.
8086 (log2_test): Likewise.
8087 (logb_test): Likewise.
8088 (logb_test_downward): Likewise.
8089 (lround_test): Likewise.
8090 (llround_test): Likewise.
8091 (modf_test): Likewise.
8092 (nearbyint_test): Likewise.
8093 (nextafter_test): Likewise.
8094 (nexttoward_test): Likewise.
8095 (pow_test): Likewise.
8096 (pow_test_tonearest): Likewise.
8097 (pow_test_towardzero): Likewise.
8098 (pow_test_downward): Likewise.
8099 (pow_test_upward): Likewise.
8100 (remainder_test): Likewise.
8101 (remainder_test_tonearest): Likewise.
8102 (remainder_test_towardzero): Likewise.
8103 (remainder_test_downward): Likewise.
8104 (remainder_test_upward): Likewise.
8105 (remquo_test): Likewise.
8106 (rint_test): Likewise.
8107 (rint_test_tonearest): Likewise.
8108 (rint_test_towardzero): Likewise.
8109 (rint_test_downward): Likewise.
8110 (rint_test_upward): Likewise.
8111 (round_test): Likewise.
8112 (scalb_test): Likewise.
8113 (scalbn_test): Likewise.
8114 (scalbln_test): Likewise.
8115 (signbit_test): Likewise.
8116 (sin_test): Likewise.
8117 (sin_test_tonearest): Likewise.
8118 (sin_test_towardzero): Likewise.
8119 (sin_test_downward): Likewise.
8120 (sin_test_upward): Likewise.
8121 (sincos_test): Likewise.
8122 (sinh_test): Likewise.
8123 (sinh_test_tonearest): Likewise.
8124 (sinh_test_towardzero): Likewise.
8125 (sinh_test_downward): Likewise.
8126 (sinh_test_upward): Likewise.
8127 (sqrt_test): Likewise.
8128 (tan_test): Likewise.
8129 (tan_test_tonearest): Likewise.
8130 (tan_test_towardzero): Likewise.
8131 (tan_test_downward): Likewise.
8132 (tan_test_upward): Likewise.
8133 (tanh_test): Likewise.
8134 (tgamma_test): Likewise.
8135 (trunc_test): Likewise.
8136 (y0_test): Likewise.
8137 (y1_test): Likewise.
8138 (yn_test): Likewise.
8139 (significand_test): Likewise.
8140
bae143d2
OB
81412013-05-24 Ondřej Bílka <neleai@seznam.cz>
8142
8143 [BZ #15381]
8144 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8145
9323d39b
EM
81462013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8147
d4ea44a0 8148 [BZ #14894]
9323d39b
EM
8149 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8150 __ppc_mdoio and __ppc_mdoom.
8151 * manual/platform.texi: Document new functions __ppc_yield,
8152 __ppc_mdoio and __ppc_mdoom.
8153
13e23af7
CD
81542013-05-22 Carlos O'Donell <carlos@redhat.com>
8155
8156 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8157 (main): Mention "tls" pseudo-hwcap is legacy.
8158 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8159
351fe550
JM
81602013-05-22 Joseph Myers <joseph@codesourcery.com>
8161
8162 * math/gen-libm-test.pl (parse_args): Output only string of
8163 arguments as text for test name, not full call or descriptions of
8164 tests for extra outputs.
8165 (generate_testfile): Do not pass function name to parse_args.
8166 Generate this_func variable from START.
8167 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8168 field to arg_str.
8169 (struct test_ff_f_data): Likewise.
8170 (test_ff_f_data_nexttoward): Likewise.
8171 (struct test_fi_f_data): Likewise.
8172 (struct test_fl_f_data): Likewise.
8173 (struct test_if_f_data): Likewise.
8174 (struct test_fff_f_data): Likewise.
8175 (struct test_c_f_data): Likewise.
8176 (struct test_f_f1_data): Likewise. Remove field extra_name.
8177 (struct test_fF_f1_data): Likewise.
8178 (struct test_ffI_f1_data): Likewise.
8179 (struct test_c_c_data): Rename test_name field to arg_str.
8180 (struct test_cc_c_data): Likewise.
8181 (struct test_f_i_data): Likewise.
8182 (struct test_ff_i_data): Likewise.
8183 (struct test_f_l_data): Likewise.
8184 (struct test_f_L_data): Likewise.
8185 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8186 and extra2_name.
8187 (COMMON_TEST_SETUP): New macro.
8188 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8189 (COMMON_TEST_CLEANUP): Likewise.
8190 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8191 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8192 macros.
8193 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8194 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8195 macros.
8196 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8197 (RUN_TEST_fff_f): Take argument string. Call new setup and
8198 cleanup macros.
8199 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8200 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8201 macros.
8202 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8203 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8204 macros.
8205 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8206 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8207 cleanup macros.
8208 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8209 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8210 cleanup macros.
8211 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8212 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8213 cleanup macros.
8214 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8215 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8216 macros.
8217 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8218 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8219 macros.
8220 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8221 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8222 macros.
8223 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8224 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8225 cleanup macros.
8226 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8227 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8228 cleanup macros.
8229 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8230 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8231 macros.
8232 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8233 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8234 cleanup macros.
8235 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8236 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8237 macros.
8238 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8239 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8240 macros.
8241 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8242 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8243 cleanup macros.
8244 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8245
85118d4d
EBM
82462013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8247
8248 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8249 to _sifields.sigfault.
8250 (si_addr_lsb): Define new macro.
8251 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8252 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8253 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8254
7a44c18f
CD
82552013-05-03 Carlos O'Donell <carlos at redhat.com>
8256
8257 [BZ #15441]
8258 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8259 returns -1.
8260 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8261 null return -1.
8262 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8263 loading the domain.
8264
b50a7181
JM
82652013-05-22 Joseph Myers <joseph@codesourcery.com>
8266
8267 * math/gen-libm-test.pl (parse_args): Do not include expected
8268 result in test name.
8269 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8270 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8271 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8272 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8273 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8275
051063c8
SP
82762013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8277
3ce9e010
SP
8278 * benchtests/Makefile: Sort function entries.
8279
051063c8
SP
8280 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8281 tanh, asinh, acosh, atanh.
8282 * benchtests/acos-inputs: New file.
8283 * benchtests/acosh-inputs: New file.
8284 * benchtests/asin-inputs: New file.
8285 * benchtests/asinh-inputs: New file.
8286 * benchtests/atanh-inputs: New file.
8287 * benchtests/cosh-inputs: New file.
8288 * benchtests/log-inputs: New file.
8289 * benchtests/sinh-inputs: New file.
8290 * benchtests/tanh-inputs: New file.
8291
47c22455
DL
82922013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8293
8294 [BZ #15339]
8295 * posix/tst-getaddrinfo4.c: New test.
8296 * posix/Makefile (tests): Add it.
8297
3d04f5db
SP
82982013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8299
8300 [BZ #15339]
8301 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8302 when no services were used.
8303 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8304 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8305
d5dd6189
AS
83062013-05-21 Andreas Schwab <schwab@suse.de>
8307
8308 [BZ #15014]
8309 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8310 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8311 successful.
8312 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8313 redundant variable declarations and reallocation of buffer when
8314 parsing as IPv6 address. Always set NSS status when called from
8315 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8316 buffer too small. Correct computation of needed size.
8317 * nss/Makefile (tests): Add test-digits-dots.
8318 * nss/test-digits-dots.c: New test.
8319
fef94eab
SP
83202013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8321
8322 * benchtests/Makefile: Remove instructions for adding
8323 benchmark tests.
8324 * benchtests/README: New file to explain how to execute and
8325 enhance the benchmark tests.
8326
e39adf43
AS
83272013-05-21 Andreas Schwab <schwab@suse.de>
8328
8329 [BZ #15493]
8330 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8331 * setjmp/tst-sigsetjmp.c: New test.
8332
b2b671b6
OB
83332013-05-20 Ondřej Bílka <neleai@seznam.cz>
8334
8335 * sysdeps/x86_64/memset.S (memset): New implementation.
8336 (__bzero): Likewise.
8337 (__memset_tail): New function.
8338
2d48b41c
OB
83392013-05-20 Ondřej Bílka <neleai@seznam.cz>
8340
8341 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8342 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8343 __memcpy_sse2_unaligned ifunc selection.
8344 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8345 Add memcpy-sse2-unaligned.S.
8346 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8347 Add: __memcpy_sse2_unaligned.
8348
f16cc3eb
JM
83492013-05-19 Joseph Myers <joseph@codesourcery.com>
8350
3e694268
JM
8351 [BZ #15490]
8352 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8353 math_force_eval before restoring floating-point envrionment.
8354 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8355 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8356 Likewise.
8357 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8358 <math_private.h>.
8359 (__nearbyintl): Use math_force_eval before restoring
8360 floating-point environment.
8361 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8362
db62a907
JM
8363 * math/gen-libm-test.pl (special_functions): Remove.
8364 (parse_args): Don't handle TEST_extra. Handle functions with no
8365 return value.
8366 * math/libm-test.inc (struct test_sincos_data): Replace with
8367 struct test_fFF_11_data.
8368 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8369 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8370 (sincos_test_data): Change element type to struct
8371 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8372 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8373 RUN_TEST_LOOP_sincos.
8374 * math/README.libm-test: Don't mention special handling of
8375 individual functions.
8376 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8377 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8378 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8379 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8380 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8382
f16cc3eb
JM
8383 * math/gen-libm-test.pl (get_variable): Remove function.
8384 (parse_args): Don't show pointer parameters to call in test
8385 names. Use "extra output N" in test names for extra outputs
8386 rather than naming variables.
8387
3779b5b6
JM
83882013-05-18 Joseph Myers <joseph@codesourcery.com>
8389
2ee094ff
JM
8390 [BZ #15488]
8391 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8392 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8393 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8394 double tests.
8395 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8396 disable.
8397 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8398 check_long_double.
8399
3779b5b6
JM
8400 * math/gen-libm-test.pl (@tests): Remove variable.
8401 ($count): Likewise.
8402 (new_test): Remove function.
8403 (show_exceptions): New function.
8404 (special_functions): Use show_exceptions instead of new_test.
8405 (parse_args): Likewise.
8406 (generate_testfile): Pass only function name in generated call to
8407 print_max_error or print_complex_max_error.
8408 (get_ulps): Do not handle complex tests specially.
8409 (output_test): Rename to ...
8410 (get_all_ulps_for_test): ... this. Return a string rather than
8411 printing to a file. Require ulps to be present.
8412 (output_ulps): Generate arrays rather than #defines.
8413 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8414 (struct ulp_data): New type.
8415 (BUILD_COMPLEX_ULP): Remove macro.
8416 (compare_ulp_data): New function.
8417 (find_ulps): Likewise.
8418 (find_test_ulps): Likewise.
8419 (find_function_ulps): Likewise.
8420 (find_complex_function_ulps): Likewise.
8421 (print_max_error): Determine allowed ulps using
8422 find_function_ulps.
8423 (print_complex_max_error): Determine allowed ulps using
8424 find_complex_function_ulps.
8425 (check_float_internal): Determine max ulps using find_test_ulps.
8426 (check_float): Do not take max_ulp parameter. Update call to
8427 check_float_internal.
8428 (check_complex): Likewise.
8429 (check_int): Do not take max_ulp parameter.
8430 (check_long): Likewise.
8431 (check_bool): Likewise.
8432 (check_longlong): Likewise.
8433 (struct test_f_f_data): Remove max_ulp field.
8434 (struct test_ff_f_data): Likewise.
8435 (struct test_ff_f_data_nexttoward): Likewise.
8436 (struct test_fi_f_data): Likewise.
8437 (struct test_fl_f_data): Likewise.
8438 (struct test_if_f_data): Likewise.
8439 (struct test_fff_f_data): Likewise.
8440 (struct test_c_f_data): Likewise.
8441 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8442 (struct test_fF_f1_data): Likewise.
8443 (struct test_ffI_f1_data): Likewise.
8444 (struct test_c_c_data): Remove max_ulp field.
8445 (struct test_cc_c_data): Likewise.
8446 (struct test_f_i_data): Likewise.
8447 (struct test_ff_i_data): Likewise.
8448 (struct test_f_l_data): Likewise.
8449 (struct test_f_L_data): Likewise.
8450 (struct test_sincos_data): Likewise.
8451 (RUN_TEST_f_f): Do not handle ulps.
8452 (RUN_TEST_LOOP_f_f): Likewise.
8453 (RUN_TEST_2_f): Likewise.
8454 (RUN_TEST_LOOP_2_f): Likewise.
8455 (RUN_TEST_fff_f): Likewise.
8456 (RUN_TEST_LOOP_fff_f): Likewise.
8457 (RUN_TEST_c_f): Likewise.
8458 (RUN_TEST_LOOP_c_f): Likewise.
8459 (RUN_TEST_f_f1): Likewise.
8460 (RUN_TEST_LOOP_f_f1): Likewise.
8461 (RUN_TEST_fF_f1): Likewise.
8462 (RUN_TEST_LOOP_fF_f1): Likewise.
8463 (RUN_TEST_fI_f1): Likewise.
8464 (RUN_TEST_LOOP_fI_f1): Likewise.
8465 (RUN_TEST_ffI_f1): Likewise.
8466 (RUN_TEST_LOOP_ffI_f1): Likewise.
8467 (RUN_TEST_c_c): Likewise.
8468 (RUN_TEST_LOOP_c_c): Likewise.
8469 (RUN_TEST_cc_c): Likewise.
8470 (RUN_TEST_LOOP_cc_c): Likewise.
8471 (RUN_TEST_f_i): Likewise.
8472 (RUN_TEST_LOOP_f_i): Likewise.
8473 (RUN_TEST_f_i_tg): Likewise.
8474 (RUN_TEST_LOOP_f_i_tg): Likewise.
8475 (RUN_TEST_ff_i_tg): Likewise.
8476 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8477 (RUN_TEST_f_b): Likewise.
8478 (RUN_TEST_LOOP_f_b): Likewise.
8479 (RUN_TEST_f_b_tg): Likewise.
8480 (RUN_TEST_LOOP_f_b_tg): Likewise.
8481 (RUN_TEST_f_l): Likewise.
8482 (RUN_TEST_LOOP_f_l): Likewise.
8483 (RUN_TEST_f_L): Likewise.
8484 (RUN_TEST_LOOP_f_L): Likewise.
8485 (RUN_TEST_sincos): Likewise.
8486 (RUN_TEST_LOOP_sincos): Likewise.
8487
8269107f
JM
84882013-05-17 Joseph Myers <joseph@codesourcery.com>
8489
bb38759d
JM
8490 [BZ #15480]
8491 [BZ #15485]
8492 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8493 main case of finite arguments, set rounding mode to FE_TONEAREST
8494 and discard exceptions.
8495 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8496 exceptions.
8497 (remainder_tonearest_test_data): New variable.
8498 (remainder_test_tonearest): New function.
8499 (remainder_towardzero_test_data): New variable.
8500 (remainder_test_towardzero): New function.
8501 (remainder_downward_test_data): New variable.
8502 (remainder_test_downward): New function.
8503 (remainder_upward_test_data): New variable.
8504 (remainder_test_upward): New function.
8505 (main): Call the new test functions.
8506
a00bdcf0
JM
8507 * math/libm-test.inc (struct test_f_f1_data): Remove field
8508 extra_init.
8509 (struct test_fF_f1_data): Likewise.
8510 (struct test_ffI_f1_data): Likewise.
8511 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8512 based on value of EXTRA_EXPECTED.
8513 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8514 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8515 EXTRA_VAR based on value of EXTRA_EXPECTED.
8516 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8517 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8518 EXTRA_VAR based on value of EXTRA_EXPECTED.
8519 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8520 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8521 EXTRA_VAR based on value of EXTRA_EXPECTED.
8522 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8523 * math/gen-libm-test.pl (parse_args): Don't output initializers
8524 for extra output values.
8525
de407f79
JM
8526 * math/libm-test.inc (check_int): Expect result to be exactly
8527 equal to expected value and do not handle ulps.
8528 (check_long): Likewise.
8529 (check_longlong): Likewise.
8530
8269107f
JM
8531 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8532 exceptions.
8533 (cimag_test_data): Likewise.
8534 (conj_test_data): Likewise.
8535 (copysign_test_data): Likewise.
8536 (cproj_test_data): Likewise.
8537 (creal_test_data): Likewise.
8538 (fabs_test_data): Likewise.
8539 (fdim_test_data): Likewise.
8540 (finite_test_data): Likewise.
8541 (floor_test_data): Likewise.
8542 (fmax_test_data): Likewise.
8543 (fmin_test_data): Likewise.
8544 (fmod_test_data): Likewise.
8545 (fpclassify_test_data): Likewise.
8546 (frexp_test_data): Likewise.
8547 (ilogb_test_data): Likewise.
8548 (isfinite_test_data): Likewise.
8549 (isgreater_test_data): Likewise.
8550 (isgreaterequal_test_data): Likewise.
8551 (isinf_test_data): Likewise.
8552 (isless_test_data): Likewise.
8553 (islessequal_test_data): Likewise.
8554 (islessgreater_test_data): Likewise.
8555 (isnan_test_data): Likewise.
8556 (isnormal_test_data): Likewise.
8557 (issignaling_test_data): Likewise.
8558 (isunordered_test_data): Likewise.
8559 (ldexp_test_data): Likewise.
8560 (lrint_test_data): Likewise.
8561 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8562 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8563 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8564 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8565 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8566 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8567 test input.
8568 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8569 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8570 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8571 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8572 that test input.
8573 (lrint_downward_test_data): Test for "inexact" exceptions.
8574 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8575 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8576 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8577 test input.
8578 (lrint_upward_test_data): Test for "inexact" exceptions.
8579 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8580 test input.
8581 (llrint_test_data): Test for "inexact" exceptions.
8582 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8583 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8584 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8585 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8586 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8587 (llrint_downward_test_data): Test for "inexact" exceptions.
8588 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8589 (llrint_upward_test_data): Test for "inexact" exceptions.
8590 (logb_test_data): Likewise.
8591 (logb_downward_test_data): Likewise.
8592 (nextafter_test_data): Likewise.
8593 (nexttoward_test_data): Likewise.
8594 (remainder_test_data): Likewise.
8595 (remquo_test_data): Likewise.
8596 (scalbn_test_data): Likewise.
8597 (scalbln_test_data): Likewise.
8598 (signbit_test_data): Likewise.
8599 (sqrt_test_data): Likewise.
8600 (significand_test_data): Likewise.
8601
48a18de1
SP
86022013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8603
8604 [BZ #15424]
8605 * benchtests/bench-modf.c (struct args): Mark arg0 as
8606 volatile.
8607 * scripts/bench.pl: Mark members of struct args as volatile.
8608
13d3b41a
AZ
86092013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8610
68191c1d 8611 [BZ # 15497]
13d3b41a
AZ
8612 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8613 negative infinity on POWER6 or lower.
8614 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8615
2848b105
MR
86162013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8617
8618 [BZ #15442]
8619 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8620 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8621 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8622 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8623 (_FP_SETQNAN): New macro.
8624 (_FP_SETQNAN_SEMIRAW): Likewise.
8625 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8626 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8627 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8628 (FP_EXTEND): Use _FP_FRAC_SNANP.
8629 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8630 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8631 into account.
8632 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8633 New macro.
8634 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8635 Likewise.
8636
323e5cb7
JM
86372013-05-16 Joseph Myers <joseph@codesourcery.com>
8638
c58b274f
JM
8639 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8640 with DIVIDE_BY_ZERO_EXCEPTION.
8641 (gamma_test_data): Likewise.
8642 (lgamma_test_data): Likewise.
8643 (log_test_data): Likewise.
8644 (log10_test_data): Likewise.
8645 (log2_test_data): Likewise.
8646 (tgamma_test_data): Likewise.
8647
0ab34904
JM
8648 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8649 (acos_test_tonearest): Likewise.
8650 (acos_test_towardzero): Likewise.
8651 (acos_test_downward): Likewise.
8652 (acos_test_upward): Likewise.
8653 (acosh_test): Likewise.
8654 (asin_test): Likewise.
8655 (asin_test_tonearest): Likewise.
8656 (asin_test_towardzero): Likewise.
8657 (asin_test_downward): Likewise.
8658 (asin_test_upward): Likewise.
8659 (asinh_test): Likewise.
8660 (atan_test): Likewise.
8661 (atanh_test): Likewise.
8662 (atan2_test): Likewise.
8663 (cabs_test): Likewise.
8664 (cacos_test): Likewise.
8665 (cacosh_test): Likewise.
8666 (casin_test): Likewise.
8667 (casinh_test): Likewise.
8668 (catan_test): Likewise.
8669 (catanh_test): Likewise.
8670 (cbrt_test): Likewise.
8671 (ccos_test): Likewise.
8672 (ccosh_test): Likewise.
8673 (cexp_test): Likewise.
8674 (clog_test): Likewise.
8675 (clog10_test): Likewise.
8676 (cos_test): Likewise.
8677 (cos_test_tonearest): Likewise.
8678 (cos_test_towardzero): Likewise.
8679 (cos_test_downward): Likewise.
8680 (cos_test_upward): Likewise.
8681 (cosh_test): Likewise.
8682 (cosh_test_tonearest): Likewise.
8683 (cosh_test_towardzero): Likewise.
8684 (cosh_test_downward): Likewise.
8685 (cosh_test_upward): Likewise.
8686 (cpow_test): Likewise.
8687 (csin_test): Likewise.
8688 (csinh_test): Likewise.
8689 (csqrt_test): Likewise.
8690 (ctan_test): Likewise.
8691 (ctan_test_tonearest): Likewise.
8692 (ctan_test_towardzero): Likewise.
8693 (ctan_test_downward): Likewise.
8694 (ctan_test_upward): Likewise.
8695 (ctanh_test): Likewise.
8696 (ctanh_test_tonearest): Likewise.
8697 (ctanh_test_towardzero): Likewise.
8698 (ctanh_test_downward): Likewise.
8699 (ctanh_test_upward): Likewise.
8700 (erf_test): Likewise.
8701 (erfc_test): Likewise.
8702 (exp_test): Likewise.
8703 (exp_test_tonearest): Likewise.
8704 (exp_test_towardzero): Likewise.
8705 (exp_test_downward): Likewise.
8706 (exp_test_upward): Likewise.
8707 (exp10_test): Likewise.
8708 (exp2_test): Likewise.
8709 (expm1_test): Likewise.
8710 (fmod_test): Likewise.
8711 (gamma_test): Likewise.
8712 (hypot_test): Likewise.
8713 (j0_test): Likewise.
8714 (j1_test): Likewise.
8715 (jn_test): Likewise.
8716 (lgamma_test): Likewise.
8717 (log_test): Likewise.
8718 (log10_test): Likewise.
8719 (log1p_test): Likewise.
8720 (log2_test): Likewise.
8721 (logb_test_downward): Likewise.
8722 (pow_test): Likewise.
8723 (pow_test_tonearest): Likewise.
8724 (pow_test_towardzero): Likewise.
8725 (pow_test_downward): Likewise.
8726 (pow_test_upward): Likewise.
8727 (remainder_test): Likewise.
8728 (remquo_test): Likewise.
8729 (sin_test): Likewise.
8730 (sin_test_tonearest): Likewise.
8731 (sin_test_towardzero): Likewise.
8732 (sin_test_downward): Likewise.
8733 (sin_test_upward): Likewise.
8734 (sincos_test): Likewise.
8735 (sinh_test): Likewise.
8736 (sinh_test_tonearest): Likewise.
8737 (sinh_test_towardzero): Likewise.
8738 (sinh_test_downward): Likewise.
8739 (sinh_test_upward): Likewise.
8740 (sqrt_test): Likewise.
8741 (tan_test): Likewise.
8742 (tan_test_tonearest): Likewise.
8743 (tan_test_towardzero): Likewise.
8744 (tan_test_downward): Likewise.
8745 (tan_test_upward): Likewise.
8746 (tanh_test): Likewise.
8747 (tgamma_test): Likewise.
8748 (y0_test): Likewise.
8749 (y1_test): Likewise.
8750 (yn_test): Likewise.
8751
323e5cb7
JM
8752 * math/gen-libm-test.pl (adjust_arg): Remove function.
8753 (special_function): Remove argument $in_func. Only handle
8754 generating output for tables of tests, not inside functions.
8755 (parse_args): Likewise.
8756 (generate_testfile): Remove variable $in_func. Update call to
8757 parse_args.
8758 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8759 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8760 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8761 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8762 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8763 (MAX_VALUE_INIT): Rename macro to max_value.
8764 (MIN_VALUE_INIT): Rename macro to min_value.
8765 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8766 (plus_zero): Remove variable.
8767 (minus_zero): Likewise.
8768 (plus_infty): Likewise.
8769 (minus_infty): Likewise.
8770 (qnan_value): Likewise.
8771 (max_value): Likewise.
8772 (min_value): Likewise.
8773 (min_subnorm_value): Likewise.
8774
e054f494
RA
87752013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8776
8777 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8778 uint64_t or uint32_t usage.
8779 * crypt/sha256-block.c: Likewise.
8780 * crypt/sha256-crypt.c: Likewise.
8781 * crypt/sha256.c: Likewise.
8782 * crypt/sha512-block.c: Likewise.
8783 * crypt/sha512-crypt.c: Likewise.
8784 * crypt/sha512.c: Likewise.
8785 * debug/backtrace-tst.c: Likewise.
8786 * debug/pcprofiledump.c: Likewise.
8787 * elf/cache.c: Likewise.
8788 * elf/dl-cache.c: Likewise.
8789 * elf/dl-misc.c: Likewise.
8790 * elf/dl-profile.c: Likewise.
8791 * elf/dl-support.c: Likewise.
8792 * elf/ldconfig.c: Likewise.
8793 * elf/sprof.c: Likewise.
8794 * iconv/dummy-repertoire.c: Likewise.
8795 * iconv/iconv_charmap.c: Likewise.
8796 * iconv/skeleton.c: Likewise.
8797 * iconvdata/8bit-generic.c: Likewise.
8798 * iconvdata/cp737.h: Likewise.
8799 * iconvdata/cp775.h: Likewise.
8800 * iconvdata/ibm1008.h: Likewise.
8801 * iconvdata/ibm1025.h: Likewise.
8802 * iconvdata/ibm1046.h: Likewise.
8803 * iconvdata/ibm1097.h: Likewise.
8804 * iconvdata/ibm1112.h: Likewise.
8805 * iconvdata/ibm1122.h: Likewise.
8806 * iconvdata/ibm1123.h: Likewise.
8807 * iconvdata/ibm1124.h: Likewise.
8808 * iconvdata/ibm1129.h: Likewise.
8809 * iconvdata/ibm1130.h: Likewise.
8810 * iconvdata/ibm1132.h: Likewise.
8811 * iconvdata/ibm1133.h: Likewise.
8812 * iconvdata/ibm1137.h: Likewise.
8813 * iconvdata/ibm1140.h: Likewise.
8814 * iconvdata/ibm1141.h: Likewise.
8815 * iconvdata/ibm1142.h: Likewise.
8816 * iconvdata/ibm1143.h: Likewise.
8817 * iconvdata/ibm1144.h: Likewise.
8818 * iconvdata/ibm1145.h: Likewise.
8819 * iconvdata/ibm1146.h: Likewise.
8820 * iconvdata/ibm1147.h: Likewise.
8821 * iconvdata/ibm1148.h: Likewise.
8822 * iconvdata/ibm1149.h: Likewise.
8823 * iconvdata/ibm1153.h: Likewise.
8824 * iconvdata/ibm1154.h: Likewise.
8825 * iconvdata/ibm1155.h: Likewise.
8826 * iconvdata/ibm1156.h: Likewise.
8827 * iconvdata/ibm1157.h: Likewise.
8828 * iconvdata/ibm1158.h: Likewise.
8829 * iconvdata/ibm1160.h: Likewise.
8830 * iconvdata/ibm1161.h: Likewise.
8831 * iconvdata/ibm1162.h: Likewise.
8832 * iconvdata/ibm1163.h: Likewise.
8833 * iconvdata/ibm1164.h: Likewise.
8834 * iconvdata/ibm1166.h: Likewise.
8835 * iconvdata/ibm1167.h: Likewise.
8836 * iconvdata/ibm12712.h: Likewise.
8837 * iconvdata/ibm1390.h: Likewise.
8838 * iconvdata/ibm1399.h: Likewise.
8839 * iconvdata/ibm16804.h: Likewise.
8840 * iconvdata/ibm4517.h: Likewise.
8841 * iconvdata/ibm4899.h: Likewise.
8842 * iconvdata/ibm4909.h: Likewise.
8843 * iconvdata/ibm4971.h: Likewise.
8844 * iconvdata/ibm5347.h: Likewise.
8845 * iconvdata/ibm803.h: Likewise.
8846 * iconvdata/ibm856.h: Likewise.
8847 * iconvdata/ibm901.h: Likewise.
8848 * iconvdata/ibm902.h: Likewise.
8849 * iconvdata/ibm9030.h: Likewise.
8850 * iconvdata/ibm9066.h: Likewise.
8851 * iconvdata/ibm921.h: Likewise.
8852 * iconvdata/ibm922.h: Likewise.
8853 * iconvdata/ibm9448.h: Likewise.
8854 * iconvdata/isiri-3342.h: Likewise.
8855 * iconvdata/jis0201.h: Likewise.
8856 * include/link.h: Likewise.
8857 * include/netdb.h: Likewise.
8858 * inet/check_native.c: Likewise.
8859 * inet/check_pf.c: Likewise.
8860 * inet/getipv4sourcefilter.c: Likewise.
8861 * inet/getnameinfo.c: Likewise.
8862 * inet/getsourcefilter.c: Likewise.
8863 * inet/htonl.c: Likewise.
8864 * inet/setipv4sourcefilter.c: Likewise.
8865 * inet/setsourcefilter.c: Likewise.
8866 * inet/test-inet6_opt.c: Likewise.
8867 * inet/tst-network.c: Likewise.
8868 * locale/C-collate.c: Likewise.
8869 * locale/C-ctype.c: Likewise.
8870 * locale/C-time.c: Likewise.
8871 * locale/C-translit.h: Likewise.
8872 * locale/loadarchive.c: Likewise.
8873 * locale/programs/3level.h: Likewise.
8874 * locale/programs/charmap.c: Likewise.
8875 * locale/programs/charmap.h: Likewise.
8876 * locale/programs/ld-address.c: Likewise.
8877 * locale/programs/ld-collate.c: Likewise.
8878 * locale/programs/ld-ctype.c: Likewise.
8879 * locale/programs/ld-identification.c: Likewise.
8880 * locale/programs/ld-measurement.c: Likewise.
8881 * locale/programs/ld-messages.c: Likewise.
8882 * locale/programs/ld-monetary.c: Likewise.
8883 * locale/programs/ld-name.c: Likewise.
8884 * locale/programs/ld-numeric.c: Likewise.
8885 * locale/programs/ld-paper.c: Likewise.
8886 * locale/programs/ld-telephone.c: Likewise.
8887 * locale/programs/ld-time.c: Likewise.
8888 * locale/programs/linereader.c: Likewise.
8889 * locale/programs/locale.c: Likewise.
8890 * locale/programs/locarchive.c: Likewise.
8891 * locale/programs/locfile.h: Likewise.
8892 * locale/programs/repertoire.c: Likewise.
8893 * locale/programs/simple-hash.c: Likewise.
8894 * locale/programs/simple-hash.h: Likewise.
8895 * malloc/memusage.c: Likewise.
8896 * malloc/memusagestat.c: Likewise.
8897 * nis/nis_defaults.c: Likewise.
8898 * nis/nis_hash.c: Likewise.
8899 * nis/nis_print.c: Likewise.
8900 * nis/nis_xdr.c: Likewise.
8901 * nscd/connections.c: Likewise.
8902 * nscd/hstcache.c: Likewise.
8903 * nscd/nscd_gethst_r.c: Likewise.
8904 * nscd/nscd_getserv_r.c: Likewise.
8905 * nscd/nscd_helper.c: Likewise.
8906 * nscd/servicescache.c: Likewise.
8907 * nss/makedb.c: Likewise.
8908 * nss/nss_db/db-XXX.c: Likewise.
8909 * nss/nss_db/db-initgroups.c: Likewise.
8910 * nss/nss_db/db-netgrp.c: Likewise.
8911 * nss/nss_files/files-network.c: Likewise.
8912 * nss/nss_files/files-parse.c: Likewise.
8913 * posix/bug-regex5.c: Likewise.
8914 * posix/fnmatch_loop.c: Likewise.
8915 * posix/regcomp.c: Likewise.
8916 * posix/regexec.c: Likewise.
8917 * posix/tst-rfc3484-2.c: Likewise.
8918 * posix/tst-rfc3484-3.c: Likewise.
8919 * posix/tst-rfc3484.c: Likewise.
8920 * resolv/nss_dns/dns-canon.c: Likewise.
8921 * resolv/nss_dns/dns-network.c: Likewise.
8922 * resolv/res_init.c: Likewise.
8923 * resolv/res_mkquery.c: Likewise.
8924 * resolv/tst-aton.c: Likewise.
8925 * stdlib/cxa_atexit.c: Likewise.
8926 * stdlib/cxa_finalize.c: Likewise.
8927 * stdlib/gen-fpioconst.c: Likewise.
8928 * stdlib/strtol_l.c: Likewise.
8929 * string/tst-endian.c: Likewise.
8930 * sunrpc/auth_des.c: Likewise.
8931 * sunrpc/clnt_udp.c: Likewise.
8932 * sunrpc/rtime.c: Likewise.
8933 * sunrpc/svcauth_des.c: Likewise.
8934 * sunrpc/xdr.c: Likewise.
8935 * sunrpc/xdr_intXX_t.c: Likewise.
8936 * sunrpc/xdr_rec.c: Likewise.
8937 * sysdeps/generic/ldconfig.h: Likewise.
8938 * sysdeps/generic/ldsodefs.h: Likewise.
8939 * sysdeps/generic/memusage.h: Likewise.
8940 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8941 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8942 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8943 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8944 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8945 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8946 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8947 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8948 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8949 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8950 * sysdeps/posix/getaddrinfo.c: Likewise.
8951 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8952 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8953 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8954 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8955 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8956 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8957 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8958 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8959 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8960 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8961 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8962 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8963 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8964 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8965 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8966 * sysdeps/x86_64/dl-tls.h: Likewise.
8967 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8968 * time/alt_digit.c: Likewise.
8969 * time/era.c: Likewise.
8970 * wcsmbs/tst-c16c32-1.c: Likewise.
8971
8c75f674
JM
89722013-05-16 Joseph Myers <joseph@codesourcery.com>
8973
8974 * math/libm-test.inc (struct test_sincos_data): New type.
8975 (RUN_TEST_LOOP_sincos): New macro.
8976 (sincos_test_data): New variable.
8977 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8978
e6e49e59
RH
89792013-05-16 Richard Henderson <rth@redhat.com>
8980
8981 * math/atest-exp2.c (LIMB64): New macro.
8982 (CONSTSZ): New macro.
8983 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8984 (hexdig): Move ...
8985 (print_mpn_fp): ... to function scope.
8986 (read_mpn_hex): Remove.
8987 (get_log2): Remove.
8988 (exp2_mpn): Use mp_log2.
8989 (main): Use mp_exp1.
8990
15c7c18d
JM
89912013-05-16 Joseph Myers <joseph@codesourcery.com>
8992
105a07df
JM
8993 * math/libm-test.inc: Remove comment about not testing "inexact"
8994 exceptions.
8995 (INEXACT_EXCEPTION): New macro.
8996 (NO_INEXACT_EXCEPTION): Likewise.
8997 (INVALID_EXCEPTION_OK): Update value.
8998 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8999 (OVERFLOW_EXCEPTION_OK): Likewise.
9000 (UNDERFLOW_EXCEPTION_OK): Likewise.
9001 (IGNORE_ZERO_INF_SIGN): Likewise.
9002 (ERRNO_UNCHANGED): Likewise.
9003 (ERRNO_EDOM): Likewise.
9004 (ERRNO_ERANGE): Likewise.
9005 (test_exceptions): Handle testing "inexact" exceptions.
9006 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9007 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9008 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9009 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9010 INEXACT_EXCEPTION.
9011 (rint_towardzero_test_data): Likewise.
9012 (rint_downward_test_data): Likewise.
9013 (rint_upward_test_data): Likewise.
9014
e9eee333
JM
9015 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9016 with OVERFLOW_EXCEPTION.
9017 (exp10_test_data): Likewise.
9018 (exp2_test_data): Likewise.
9019 (expm1_test_data): Likewise.
9020 (lgamma_test_data): Likewise.
9021 (pow_test_data): Likewise.
9022 (tgamma_test_data): Likewise.
9023 (yn_test_data): Remove duplicate test of overflow.
9024
1c38ff73
JM
9025 * math/libm-test.inc (struct test_cc_c_data): New type.
9026 (RUN_TEST_LOOP_cc_c): New macro.
9027 (cpow_test_data): New variable.
9028 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9029
15c7c18d
JM
9030 * math/libm-test.inc (struct test_f_L_data): New type.
9031 (RUN_TEST_LOOP_f_L): New macro.
9032 (llrint_test_data): New variable.
9033 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9034 (llrint_tonearest_test_data): New variable.
9035 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9036 (llrint_towardzero_test_data): New variable.
9037 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9038 (llrint_downward_test_data): New variable.
9039 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9040 (llrint_upward_test_data): New variable.
9041 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9042 (llround_test_data): New variable.
9043 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9044
f137ff13
PC
90452013-05-13 Peter Collingbourne <pcc@google.com>
9046
9047 * math/atest-exp2.c (get_log2): Remove const attribute.
9048
3608cb24
JM
90492013-05-15 Joseph Myers <joseph@codesourcery.com>
9050
9051 * math/libm-test.inc (struct test_f_l_data): New type.
9052 (RUN_TEST_LOOP_f_l): New macro.
9053 (lrint_test_data): New variable.
9054 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9055 (lrint_tonearest_test_data): New variable.
9056 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9057 (lrint_towardzero_test_data): New variable.
9058 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9059 (lrint_downward_test_data): New variable.
9060 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9061 (lrint_upward_test_data): New variable.
9062 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9063 (lround_test_data): New variable.
9064 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9065
39b1f617
PC
90662013-05-15 Peter Collingbourne <pcc@google.com>
9067
1deff3dc
PC
9068 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9069 (EXTRACT_WORDS64) Use where appropriate.
9070 (INSERT_WORDS64) Likewise.
9071
791f3ba0
PC
9072 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9073 constraints with x constraints.
9074 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9075
39b1f617
PC
9076 * malloc/obstack.c (_obstack_compat): Add initializer.
9077
12fba011
EM
90782013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9079
9080 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9081 si_trapno and add si_addr_lsb to _sifields.sigfault.
9082 (si_trapno): Remove macro.
9083 (si_addr_lsb): Define new macro.
9084 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9085
d369f531
JM
90862013-05-15 Joseph Myers <joseph@codesourcery.com>
9087
b861c6c4
JM
9088 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9089 instead of TEST_f_l.
9090 (llrint_test_tonearest): Likewise.
9091 (llrint_test_towardzero): Likewise.
9092 (llrint_test_downward): Likewise.
9093 (llrint_test_upward): Likewise.
9094 (llround_test): Likewise.
9095
7abeee12
JM
9096 * math/libm-test.inc (struct test_f_i_data): Add comment.
9097 (RUN_TEST_LOOP_f_b): New macro.
9098 (RUN_TEST_LOOP_f_b_tg): Likewise.
9099 (finite_test_data): New variable.
9100 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9101 (isfinite_test_data): New variable.
9102 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9103 (isinf_test_data): New variable.
9104 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9105 (isnan_test_data): New variable.
9106 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9107 (isnormal_test_data): New variable.
9108 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9109 (issignaling_test_data): New variable.
9110 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9111 (signbit_test_data): New variable.
9112 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9113
cbe8c4d3
JM
9114 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9115 with INVALID_EXCEPTION.
9116 (acosh_test_data): Likewise.
9117 (asin_test_data): Likewise.
9118 (atanh_test_data): Likewise.
9119 (fmod_test_data): Likewise.
9120 (log_test_data): Likewise.
9121 (log10_test_data): Likewise.
9122 (log2_test_data): Likewise.
9123 (pow_test_data): Likewise.
9124 (sqrt_test_data): Likewise.
9125 (y0_test_data): Likewise.
9126 (y1_test_data): Likewise.
9127 (yn_test_data): Likewise.
9128
5575c0e5
JM
9129 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9130 function contents.
9131
d369f531
JM
9132 * math/libm-test.inc (struct test_ff_i_data): New type.
9133 (RUN_TEST_LOOP_ff_i_tg): New macro.
9134 (isgreater_test_data): New variable.
9135 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9136 (isgreaterequal_test_data): New variable.
9137 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9138 (isless_test_data): New variable.
9139 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9140 (islessequal_test_data): New variable.
9141 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9142 (islessgreater_test_data): New variable.
9143 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9144 (isunordered_test_data): New variable.
9145 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9146
781fd748
DM
91472013-05-14 David S. Miller <davem@davemloft.net>
9148
9149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9150
87aa21df
JM
91512013-05-14 Joseph Myers <joseph@codesourcery.com>
9152
5e908270
JM
9153 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9154
f71172e5
JM
9155 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9156 extra_test to int.
9157 (struct test_f_i_data): Change type of max_ulp to int.
9158
8cfa635a
JM
9159 * math/libm-test.inc (test_ffI_f1_data): New type.
9160 (RUN_TEST_LOOP_ffI_f1): New macro.
9161 (remquo_test_data): New variable.
9162 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9163
2bcb36b2
JM
9164 * setjmp/tst-setjmp-fp.c: New file.
9165 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9166 (link-libm): New variable.
9167 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9168
acbd839a
JM
9169 * math/libm-test.inc (struct test_f_i_data): New type.
9170 (RUN_TEST_LOOP_f_i): New macro.
9171 (RUN_TEST_LOOP_f_i_tg): Likewise.
9172 (fpclassify_test_data): New variable.
9173 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9174 (ilogb_test_data): New variable.
9175 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9176
e414d745
JM
9177 * math/libm-test.inc (scalbln_test): Correct function name in END
9178 call.
9179
d9c2a0fd
JM
9180 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9181 (RUN_TEST_LOOP_fI_f1): New macro.
9182 (frexp_test_data): New variable.
9183 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9184
9dc9095d
JM
9185 * math/libm-test.inc (struct test_fF_f1_data): New type.
9186 (RUN_TEST_LOOP_fF_f1): New macro.
9187 (modf_test_data): New variable.
9188 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9189
87aa21df
JM
9190 * math/libm-test.inc (struct test_f_f1_data): New type.
9191 (RUN_TEST_LOOP_f_f1): New macro.
9192 (gamma_test_data): New variable.
9193 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9194 (lgamma_test_data): New variable.
9195 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9196
141af660
CD
91972013-05-13 Carlos O'Donell <carlos@redhat.com>
9198
9199 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9200 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9201 (main): Comment "tls" pseudo-hwcap.
9202
6d33265c
JM
92032013-05-13 Joseph Myers <joseph@codesourcery.com>
9204
68fc074c
JM
9205 * math/libm-test.inc (struct test_fl_f_data): New type.
9206 (RUN_TEST_LOOP_fl_f): New variable.
9207 (scalbln_test_data): New variable.
9208 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9209
243216e1
JM
9210 * math/libm-test.inc (struct test_fi_f_data): New type.
9211 (RUN_TEST_LOOP_fi_f): New macro.
9212 (ldexp_test_data): New variable.
9213 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9214 (scalbn_test_data): New variable.
9215 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9216
6a1992e2
JM
9217 * math/libm-test.inc (struct test_c_f_data): New type.
9218 (RUN_TEST_LOOP_c_f): New macro.
9219 (cabs_test_data): New variable.
9220 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9221 (carg_test_data): New variable.
9222 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9223 (cimag_test_data): New variable.
9224 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9225 (creal_test_data): New variable.
9226 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9227
0e400df5
JM
9228 * math/libm-test.inc (struct test_if_f_data): New type.
9229 (RUN_TEST_LOOP_if_f): New macro.
9230 (jn_test_data): New variable.
9231 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9232 (yn_test_data): New variable.
9233 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9234
6d33265c
JM
9235 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9236
f98ece5f
AZ
92372013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9238
9239 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9240 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9241
0f7d347b
SP
92422013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9243
43fe811b
SP
9244 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9245 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9246 (bench-deps): Add bench-timing.h.
9247 * benchtests-bench-skeleton.c: Include bench-timing.h.
9248 (main): Use TIMING_* macros instead of clock_gettime.
9249 * benchtests/bench-timing.h: New file.
9250
0f7d347b
SP
9251 [BZ #14582]
9252 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9253 Renamed from _LIB_VERSION.
9254 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9255
601a3a5f
JM
92562013-05-12 Joseph Myers <joseph@codesourcery.com>
9257
4f184d30
JM
9258 * math/libm-test.inc (struct test_fff_f_data): New type.
9259 (RUN_TEST_LOOP_fff_f): New macro.
9260 (fma_test_data): New variable.
9261 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9262 (fma_towardzero_test_data): New variable.
9263 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9264 (fma_downward_test_data): New variable.
9265 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9266 (fma_upward_test_data): New variable.
9267 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9268
08198877
JM
9269 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9270 (struct test_c_c_data): New type.
9271 (RUN_TEST_LOOP_c_c): New macro.
9272 (cacos_test_data): New variable.
9273 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9274 (cacosh_test_data): New variable.
9275 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9276 (casin_test_data): New variable.
9277 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9278 (casinh_test_data): New variable.
9279 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9280 (catan_test_data): New variable.
9281 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9282 (catanh_test_data): New variable.
9283 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9284 (ccos_test_data): New variable.
9285 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9286 (ccosh_test_data): New variable.
9287 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9288 (cexp_test_data): New variable.
9289 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9290 (clog_test_data): New variable.
9291 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9292 (clog10_test_data): New variable.
9293 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9294 (conj_test_data): New variable.
9295 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9296 (cproj_test_data): New variable.
9297 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9298 (csin_test_data): New variable.
9299 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9300 (csinh_test_data): New variable.
9301 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9302 (csqrt_test_data): New variable.
9303 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9304 (ctan_test_data): New variable.
9305 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9306 (ctan_tonearest_test_data): New variable.
9307 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9308 (ctan_towardzero_test_data): New variable.
9309 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9310 (ctan_downward_test_data): New variable.
9311 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9312 (ctan_upward_test_data): New variable.
9313 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9314 (ctanh_test_data): New variable.
9315 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9316 (ctanh_tonearest_test_data): New variable.
9317 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9318 (ctanh_towardzero_test_data): New variable.
9319 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9320 (ctanh_downward_test_data): New variable.
9321 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9322 (ctanh_upward_test_data): New variable.
9323 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9324 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9325 of BUILD_COMPLEX.
9326
601a3a5f
JM
9327 * math/libm-test.inc (struct test_ff_f_data): New type.
9328 (struct test_ff_f_data_nexttoward): Likewise.
9329 (RUN_TEST_LOOP_2_f): New macro.
9330 (RUN_TEST_LOOP_ff_f): Likewise.
9331 (atan2_test_data): New variable.
9332 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9333 (copysign_test_data): New variable.
9334 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9335 (fdim_test_data): New variable.
9336 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9337 (fmax_test_data): New variable.
9338 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9339 (fmin_test_data): New variable.
9340 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9341 (fmod_test_data): New variable.
9342 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9343 (hypot_test_data): New variable.
9344 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9345 (nextafter_test_data): New variable.
9346 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9347 (nexttoward_test_data): New variable.
9348 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9349 (pow_test_data): New variable.
9350 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9351 (pow_tonearest_test_data): New variable.
9352 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9353 (pow_towardzero_test_data): New variable.
9354 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9355 (pow_downward_test_data): New variable.
9356 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9357 (pow_upward_test_data): New variable.
9358 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9359 (remainder_test_data): New variable.
9360 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9361 (scalb_test_data): New variable.
9362 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9363 * sysdeps/i386/fpu/libm-test-ulps: Update.
9364
74c57478
JM
93652013-05-11 Joseph Myers <joseph@codesourcery.com>
9366
8329e4da
JM
9367 * math/libm-test.inc (fma_test): Use max_value instead of local
9368 variable fltmax.
9369 (nextafter_test): Likewise.
9370
74c57478
JM
9371 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9372 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9373 (acos_downward_test_data): New variable.
9374 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9375 (acos_upward_test_data): New variable.
9376 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9377 (acosh_test_data): New variable.
9378 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9379 (asin_test_data): New variable.
9380 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9381 (asin_tonearest_test_data): New variable.
9382 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9383 (asin_towardzero_test_data): New variable.
9384 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9385 (asin_downward_test_data): New variable.
9386 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9387 (asin_upward_test_data): New variable.
9388 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9389 (asinh_test_data): New variable.
9390 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9391 (atan_test_data): New variable.
9392 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9393 (atanh_test_data): New variable.
9394 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9395 (cbrt_test_data): New variable.
9396 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9397 (ceil_test_data): New variable.
9398 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9399 (cos_test_data): New variable.
9400 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9401 (cos_tonearest_test_data): New variable.
9402 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9403 (cos_towardzero_test_data): New variable.
9404 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9405 (cos_downward_test_data): New variable.
9406 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9407 (cos_upward_test_data): New variable.
9408 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9409 (cosh_test_data): New variable.
9410 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9411 (cosh_tonearest_test_data): New variable.
9412 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9413 (cosh_towardzero_test_data): New variable.
9414 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9415 (cosh_downward_test_data): New variable.
9416 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9417 (cosh_upward_test_data): New variable.
9418 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9419 (erf_test_data): New variable.
9420 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9421 (erfc_test_data): New variable.
9422 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9423 (exp_test_data): New variable.
9424 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9425 (exp_tonearest_test_data): New variable.
9426 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9427 (exp_towardzero_test_data): New variable.
9428 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9429 (exp_downward_test_data): New variable.
9430 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9431 (exp_upward_test_data): New variable.
9432 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9433 (exp10_test_data): New variable.
9434 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9435 (exp2_test_data): New variable.
9436 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9437 (expm1_test_data): New variable.
9438 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9439 (fabs_test_data): New variable.
9440 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9441 (floor_test_data): New variable.
9442 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9443 (j0_test_data): New variable.
9444 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9445 (j1_test_data): New variable.
9446 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9447 (log_test_data): New variable.
9448 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9449 (log10_test_data): New variable.
9450 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9451 (log1p_test_data): New variable.
9452 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9453 (log2_test_data): New variable.
9454 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9455 (logb_test_data): New variable.
9456 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9457 (logb_downward_test_data): New variable.
9458 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9459 (nearbyint_test_data): New variable.
9460 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9461 (rint_test_data): New variable.
9462 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9463 (rint_tonearest_test_data): New variable.
9464 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9465 (rint_towardzero_test_data): New variable.
9466 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9467 (rint_downward_test_data): New variable.
9468 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9469 (rint_upward_test_data): New variable.
9470 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9471 (round_test_data): New variable.
9472 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9473 (sin_test_data): New variable.
9474 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9475 (sin_tonearest_test_data): New variable.
9476 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9477 (sin_towardzero_test_data): New variable.
9478 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9479 (sin_downward_test_data): New variable.
9480 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9481 (sin_upward_test_data): New variable.
9482 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9483 (sinh_test_data): New variable.
9484 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9485 (sinh_tonearest_test_data): New variable.
9486 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9487 (sinh_towardzero_test_data): New variable.
9488 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9489 (sinh_downward_test_data): New variable.
9490 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9491 (sinh_upward_test_data): New variable.
9492 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9493 (sqrt_test_data): New variable.
9494 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9495 (tan_test_data): New variable.
9496 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9497 (tan_tonearest_test_data): New variable.
9498 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9499 (tan_towardzero_test_data): New variable.
9500 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9501 (tan_downward_test_data): New variable.
9502 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9503 (tan_upward_test_data): New variable.
9504 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9505 (tanh_test_data): New variable.
9506 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9507 (tgamma_test_data): New variable.
9508 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9509 (trunc_test_data): New variable.
9510 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9511 (y0_test_data): New variable.
9512 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9513 (y1_test_data): New variable.
9514 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9515 (significand_test_data): New variable.
9516 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9517
7187d844
CG
95182013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9519
9520 [BZ #12387]
9521 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9522
f63fae73
PT
95232013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9524
9525 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9526
8a67a4b3
AJ
95272013-05-10 Andreas Jaeger <aj@suse.de>
9528
9529 [BZ #15448]
9530 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9531 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9532
51df539d
JM
95332013-05-10 Joseph Myers <joseph@codesourcery.com>
9534
9535 * math/gen-libm-test.pl (adjust_arg): New function.
9536 (special_functions): Handle generating output in both functions
9537 and arrays.
9538 (parse_args): Likewise.
9539 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9540 $in_func argument to parse_args.
9541 * math/libm-test.inc (struct test_f_f_data): New type.
9542 (IF_ROUND_INIT_): New macro.
9543 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9544 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9545 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9546 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9547 (ROUND_RESTORE_): Likewise.
9548 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9549 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9550 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9551 (ROUND_RESTORE_FE_UPWARD): Likewise.
9552 (RUN_TEST_LOOP_f_f): New macro.
9553 (acos_test_data): New variable.
9554 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9555 (acos_tonearest_test_data): New variable.
9556 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9557
5c637fe5
SP
95582013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9559
9560 * benchtests/bench-skeleton.c (startup): Fix coding style.
9561
ab2b9461
JM
95622013-05-10 Joseph Myers <joseph@codesourcery.com>
9563
9564 [BZ #6809]
9565 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9566 negative infinity argument.
9567 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9568 negative infinity argument.
9569 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9570 negative infinity argument.
9571 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9572 domain errors.
9573
4c0fe6fe
FW
95742013-05-10 Florian Weimer <fweimer@redhat.com>
9575
9576 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9577 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9578 * iconv/iconv_prog.c (main): Likewise.
9579 * locale/programs/charmap-dir.c (charmap_readdir)
9580 (fopen_uncompressed): Likewise.
9581 * locale/programs/locfile.c (siblings_uncached)
9582 (write_locale_data): Use lstat64 instead of lstat.
9583 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9584 stat.
9585
a3375d29
AJ
95862013-05-10 Andreas Jaeger <aj@suse.de>
9587
9588 [BZ #15395]
9589 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9590 localization.
9591 Include <locale.h>.
9592
36129722
CD
95932013-05-09 Carlos O'Donell <carlos@redhat.com>
9594
9595 * elf/dl-close.c (_dl_close_worker): Add comments.
9596
faa7f811
JM
95972013-05-09 Joseph Myers <joseph@codesourcery.com>
9598
ed41ffef
JM
9599 [BZ #15359]
9600 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9601 high part of pi/2.
9602 (__ieee754_rem_pio2l): Update comments.
9603
d0213cd0
JM
9604 [BZ #15429]
9605 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9606 high part of pi/2.
9607 (__ieee754_rem_pio2l): Update comments.
9608
0d3e777a
JM
9609 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9610 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9611
24f56066
JM
9612 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9613 M_PI_4l.
9614
faa7f811
JM
9615 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9616 (M_PI_34_LOG10El): Likewise.
9617 (M_PI2_LOG10El): Likewise.
9618 (M_PI4_LOG10El): Likewise.
9619 (M_PI_LOG10El): Likewise.
9620
e9a5e0fd
AZ
96212013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9622
9623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9624
d8cd06db
JM
96252013-05-08 Joseph Myers <joseph@codesourcery.com>
9626
a0d9f9d7
JM
9627 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9628 (MINUS_ZERO_INIT): Likewise.
9629 (PLUS_INFTY_INIT): Likewise.
9630 (MINUS_INFTY_INIT): Likewise.
9631 (QNAN_VALUE_INIT): Likewise.
9632 (MAX_VALUE_INIT): Likewise.
9633 (MIN_VALUE_INIT): Likewise.
9634 (MIN_SUBNORM_VALUE_INIT): Likewise.
9635 (plus_zero): Initialize with PLUS_ZERO_INIT.
9636 (minus_zero): Initialize with MINUS_ZERO_INIT.
9637 (plus_infty): Initialize with PLUS_INFTY_INIT.
9638 (minus_infty): Initialize with MINUS_INFTY_INIT.
9639 (qnan_value): Initialize with QNAN_VALUE_INIT.
9640 (max_value): Initialize with MAX_VALUE_INIT.
9641 (min_value): Initialize with MIN_VALUE_INIT.
9642 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9643
ae08db3b
JM
9644 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9645 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9646 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9647 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9648
f44bf14a
JM
9649 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9650 (RUN_TEST_2_f): Likewise.
9651 (RUN_TEST_ff_f): Likewise.
9652 (RUN_TEST_fi_f): Likewise.
9653 (RUN_TEST_fl_f): Likewise.
9654 (RUN_TEST_fff_f): Likewise.
9655 (RUN_TEST_c_f): Likewise.
9656 (RUN_TEST_f_f1): Likewise.
9657 (RUN_TEST_fF_f1): Likewise.
9658 (RUN_TEST_fI_f1): Likewise.
9659 (RUN_TEST_ffI_f1): Likewise.
9660 (RUN_TEST_c_c): Likewise.
9661 (RUN_TEST_cc_c): Likewise.
9662 (RUN_TEST_f_i): Likewise.
9663 (RUN_TEST_f_i_tg): Likewise.
9664 (RUN_TEST_ff_i_tg): Likewise.
9665 (RUN_TEST_f_b): Likewise.
9666 (RUN_TEST_f_b_tg): Likewise.
9667 (RUN_TEST_f_l): Likewise.
9668 (RUN_TEST_f_L): Likewise.
9669 (RUN_TEST_sincos): Likewise.
9670 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9671 whether to show exceptions. Do not include ");\n" in return
9672 value.
9673 (special_functions): Output call to RUN_TEST_sincos instead of
9674 check_float calls. Update calls to new_test.
9675 (parse_args): Output call to single RUN_TEST_* macro instead of
9676 check_* calls and other assignments. Update calls to new_test.
9677
d8cd06db
JM
9678 [BZ #2546]
9679 [BZ #2560]
9680 [BZ #5159]
9681 [BZ #15426]
9682 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9683 input to result for tgamma overflow.
9684 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9685 (gamma_coeff): New variable.
9686 (NCOEFF): New macro.
9687 (gamma_positive): New function.
9688 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9689 underflow here. Use gamma_positive instead of exp (lgamma) for
9690 other arguments.
9691 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9692 (gamma_coeff): New variable.
9693 (NCOEFF): New macro.
9694 (gammaf_positive): New function.
9695 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9696 underflow here. Use gamma_positive instead of exp (lgamma) for
9697 other arguments.
9698 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9699 (gamma_coeff): New variable.
9700 (NCOEFF): New macro.
9701 (gammal_positive): New function.
9702 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9703 underflow here. Use gamma_positive instead of exp (lgamma) for
9704 other arguments.
9705 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9706 (gamma_coeff): New variable.
9707 (NCOEFF): New macro.
9708 (gammal_positive): New function.
9709 (__ieee754_gammal_r): Handle positive infinity, overflow and
9710 underflow here. Handle NaN the same as positive infinity. Remove
9711 check x < 0xffffffff for negative integers. Use gamma_positive
9712 instead of exp (lgamma) for other arguments.
9713 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9714 (gamma_coeff): New variable.
9715 (NCOEFF): New macro.
9716 (gammal_positive): New function.
9717 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9718 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9719 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9720 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9721 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9722 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9723 * sysdeps/generic/math_private.h (__gamma_productf): New
9724 prototype.
9725 (__gamma_product): Likewise.
9726 (__gamma_productl): Likewise.
9727 * math/Makefile (libm-calls): Add gamma_product.
9728 * math/libm-test.inc (tgamma_test): Add more tests.
9729 * sysdeps/i386/fpu/libm-test-ulps: Update.
9730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9731
bb7cf681
OB
97322013-05-08 Ondřej Bílka <neleai@seznam.cz>
9733
9734 * benchtests/bench-skeleton.c (main): Preheat CPU.
9735
ba853947
AJ
97362013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9737
9738 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9739
8347c74c
RM
97402013-05-07 Roland McGrath <roland@hack.frob.com>
9741
9742 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9743 and _dl_skip_args_internal.
9744
e8dd4791
CD
97452013-05-07 Carlos O'Donell <carlos@redhat.com>
9746
9747 * manual/message.texi (Message Translation): Talk about users.
9748 Message to key mapping impacts design.
9749
c7405830
RM
97502013-05-06 Roland McGrath <roland@hack.frob.com>
9751
a9173057
RM
9752 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9753
976e2f03
RM
9754 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9755
9723ffc5
RM
9756 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9757 * sysdeps/wordsize-64/glob64.c: ... here.
9758
962e6658
RM
9759 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9760 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9761 New macros.
9762
ee586a6d
RM
9763 * debug/getlogin_r_chk.c: Moved to ...
9764 * login/getlogin_r_chk.c: ... here.
9765 * debug/Makefile (routines): Move getlogin_r_chk to ...
9766 * login/Makefile (routines): ... here.
9767 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9768 * login/Versions (libc: GLIBC_2.4): ... here.
9769
355f9165
RM
9770 * io/poll.c (__poll): Renamed from poll.
9771 Add libc_hidden_def.
9772 (poll): Define as weak alias.
9773
bd9ffde6
RM
9774 * debug/ptsname_r_chk.c: Moved to ...
9775 * login/ptsname_r_chk.c: ... here.
9776 * debug/Makefile (routines): Move ptsname_r_chk to ...
9777 * login/Makefile (routines): ... here.
9778 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9779 * login/Versions (libc: GLIBC_2.4): ... here.
9780
8fb16a04
RM
9781 * posix/getlogin.c: Moved to ...
9782 * login/getlogin.c: ... here.
9783 * posix/getlogin_r.c: Moved to ...
9784 * login/getlogin_r.c: ... here.
9785 * posix/getlogin_r.c: Moved to ...
9786 * login/getlogin_r.c: ... here.
9787 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9788 * login/Makefile (routines): ... here.
9789 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9790 * login/Versions (libc: GLIBC_2.0): ... here.
9791
b99b892f
RM
9792 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9793 (setrlimit): Define as weak alias.
9794
c7405830
RM
9795 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9796 Call __ names for open, ftruncate, and close.
9797 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9798 (truncate): Define as weak alias.
9799
5bf96de5
JM
98002013-05-06 Joseph Myers <joseph@codesourcery.com>
9801
9ea3513c
JM
9802 * math/gen-libm-test.pl (parse_args): Initialize x before each
9803 test of frexp, modf and remquo.
9804
5bf96de5
JM
9805 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9806 test signgam value.
9807
16e616a7
AZ
98082013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9809
9810 [BZ #15418]
9811 [BZ #15419]
9812 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9813 internal tests.
9814 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9815
d5e82754
RM
98162013-05-06 Roland McGrath <roland@hack.frob.com>
9817
9818 * elf/dl-writev.h: New file.
9819 * elf/dl-misc.c: Include it.
9820 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9821 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9822
a7548d41
JM
98232013-05-04 Joseph Myers <joseph@codesourcery.com>
9824
b7dab1e4
JM
9825 * math/libm-test.inc (noXFails): Remove variable.
9826 (noXPasses): Likewise.
9827 (BUILD_COMPLEX_INT): Remove macro.
9828 (print_screen): Remove xfail argument.
9829 (print_screen_max_error): Likewise.
9830 (update_stats): Likewise.
9831 (print_max_error): Likewise. Update calls to other affected
9832 functions.
9833 (print_complex_max_error): Likewise.
9834 (test_single_exception): Update calls to print_screen.
9835 (test_single_errno): Likewise.
9836 (check_float_internal): Remove xfail argument. Update calls to
9837 other affected functions.
9838 (check_float): Likewise.
9839 (check_complex): Likewise.
9840 (check_int): Likewise.
9841 (check_long): Likewise.
9842 (check_bool): Likewise.
9843 (check_longlong): Likewise.
9844 (main): Don't print noXFails and noXPasses.
9845 * math/gen-libm-test.pl (top level): Don't mention expected
9846 failure handling in comment.
9847 (new_test): Don't handle expected failures.
9848 (parse_args): Don't mention expected failure handling in comment.
9849 (generate_testfile): Don't handle expected failures.
9850 (parse_ulps): Likewise.
9851 (print_ulps_file): Likewise.
9852 (get_failure): Remove function.
9853 (output_test): Don't handle expected failures.
9854 * make/README.libm-test: Don't mention expected failure handling.
9855
a7548d41
JM
9856 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9857 (minus_zero): Likewise.
9858 (plus_infty): Likewise.
9859 (minus_infty): Likewise.
9860 (qnan_value): Likewise.
9861 (max_value): Likewise.
9862 (min_value): Likewise.
9863 (min_subnorm_value): Likewise.
9864 (initialize): Do not initialize those variables dynamically.
9865
60bfd54c
RM
98662013-05-03 Roland McGrath <roland@hack.frob.com>
9867
cc0e6ed8
RM
9868 * io/open.c (__open_2): Moved to ...
9869 * io/open_2.c: ... this new file.
9870 * io/open64.c (__open64_2): Moved to ...
9871 * io/open64_2.c: ... this new file.
9872 * io/openat.c (__openat_2): Moved to ...
9873 * io/openat_2.c: ... this new file.
9874 * io/openat64.c (__openat64_2): Moved to ...
9875 * io/openat64_2.c: ... this new file.
9876 * io/Makefile (routines): Add them.
9877 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9878 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9879 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9880 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9881 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9882 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9883 (__openat64): Add hidden_ver.
9884 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9885 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9886
60bfd54c
RM
9887 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9888 Separately conditionalize setting of GLRO(dl_sysinfo) so
9889 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9890 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9891
83e7640f
AZ
98922013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9893
9894 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9895 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9896 definition.
9897 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9898 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9899 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9900 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9901 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9902
d5dc2af3
JM
99032013-05-03 Joseph Myers <joseph@codesourcery.com>
9904
c31a5b1e
JM
9905 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9906 test signgam value.
9907
d5dc2af3
JM
9908 * math/libm-test.inc (hypot_test): Do not use
9909 IGNORE_ZERO_INF_SIGN.
9910
164fd39d
AJ
99112013-05-03 Andreas Jaeger <aj@suse.de>
9912
9913 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9914 Linux 3.9.
9915 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9916 (PF_MAX): Adjust for VSOCK change.
9917
8237f48c
AZ
99182013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9919
9920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9921
9df02941
CD
99222013-05-02 Carlos O'Donell <carlos@redhat.com>
9923
9924 [BZ #15264]
9925 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9926 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9927 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9928
d422395e
DM
99292013-05-02 David S. Miller <davem@davemloft.net>
9930
9931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9932
a07c5731
OB
99332013-05-01 Ondřej Bílka <neleai@seznam.cz>
9934
9935 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9936
1324e37f
RM
99372013-05-01 Roland McGrath <roland@hack.frob.com>
9938
9939 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9940
0695940b
RS
99412013-05-01 Richard Smith <richard@metafoo.co.uk>
9942
bb5f27ad 9943 [BZ #14952]
0695940b
RS
9944 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9945 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9946 Use __attribute__ ((__gnu_inline__)).
9947 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9948 Don't use __attribute__ ((__gnu_inline__)).
9949
10de07f5
JM
99502013-05-01 Joseph Myers <joseph@codesourcery.com>
9951
9952 [BZ #15423]
9953 * math/s_catan.c (__catan): Handle small real or imaginary part of
9954 input specially to avoid spurious underflow.
9955 * math/s_catanf.c (__catanf): Likewise.
9956 * math/s_catanh.c (__catanh): Likewise.
9957 * math/s_catanhf.c (__catanhf): Likewise.
9958 * math/s_catanhl.c (__catanhl): Likewise.
9959 * math/s_catanl.c (__catanl): Likewise.
9960 * math/libm-test.inc (catan_test): Add more tests.
9961 (catanh_test): Likewise.
9962 * sysdeps/i386/fpu/libm-test-ulps: Update.
9963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9964
cb4d5414
AZ
99652013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9966
9967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9968
caf84319
JM
99692013-04-30 Joseph Myers <joseph@codesourcery.com>
9970
9971 [BZ #15416]
9972 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9973 accurately for denominator in atan2.
9974 * math/s_catanf.c (__catanf): Likewise.
9975 * math/s_catanh.c (__catanh): Likewise.
9976 * math/s_catanhf.c (__catanhf): Likewise.
9977 * math/s_catanhl.c (__catanhl): Likewise.
9978 * math/s_catanl.c (__catanl): Likewise.
9979 * math/libm-test.inc (catan_test): Add more tests.
9980 (catanh_test): Likewise.
9981 * sysdeps/i386/fpu/libm-test-ulps: Update.
9982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9983
d569c6ee
SP
99842013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9985
6dbe713d
SP
9986 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9987
f0ee064b
SP
9988 * benchtests/Makefile (bench): Remove slow benchmarks.
9989 * benchtests/atan-inputs: Add slow benchmark inputs.
9990 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9991 (BENCH_FUNC): Accept variant offset.
9992 (VARIANT): Define.
9993 * benchtests/bench-skeleton.c (main): Run benchmark for each
9994 variant.
9995 * benchtests/cos-inputs: Add slow benchmark inputs.
9996 * benchtests/exp-inputs: Likewise.
9997 * benchtests/pow-inputs: Likewise.
9998 * benchtests/sin-inputs: Likewise.
9999 * benchtests/slowatan-inputs: Remove.
10000 * benchtests/slowatan.c: Remove.
10001 * benchtests/slowcos-inputs: Remove.
10002 * benchtests/slowcos.c: Remove.
10003 * benchtests/slowexp-inputs: Remove.
10004 * benchtests/slowexp.c: Remove.
10005 * benchtests/slowpow-inputs: Remove.
10006 * benchtests/slowpow.c: Remove.
10007 * benchtests/slowsin-inputs: Remove.
10008 * benchtests/slowsin.c: Remove.
10009 * benchtests/slowtan-inputs: Remove.
10010 * benchtests/slowtan.c: Remove.
10011 * benchtests/tan-inputs: Add slow benchmark inputs.
10012 * scripts/bench.pl: Parse comments and directives.
10013
d569c6ee
SP
10014 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10015 in CPPFLAGS.
10016 ($(objpfx)bench-%.c): Remove *-ITER.
10017 * benchtests/bench-modf.c: Remove definition of ITER.
10018 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10019 (main): Loop for DURATION seconds instead of fixed number of
10020 iterations.
10021 * scripts/bench.pl: Don't expect iterations in parameters.
10022
a6a242fe
RM
100232013-04-29 Roland McGrath <roland@hack.frob.com>
10024
10025 * io/fchdir.c (__fchdir): Renamed from fchdir.
10026 (fchdir): Define as weak alias.
10027
f2da7793
JM
100282013-04-29 Joseph Myers <joseph@codesourcery.com>
10029
10030 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10031 (ERRNO_EDOM): Likewise.
10032 (ERRNO_ERANGE): Likewise.
10033 (noErrnoTests): New variable.
10034 (init_max_error): Set errno to 0.
10035 (test_single_errno): New function.
10036 (test_errno): Likewise.
10037 (check_float_internal): Call test_errno. Set errno to 0.
10038 (check_complex): Refer to errno tests in comment.
10039 (check_int): Call test_errno. Set errno to 0.
10040 (check_long): Likewise.
10041 (check_bool): Likewise.
10042 (check_longlong): Likewise.
10043 (cos_test): Use ERRNO_* flags for errno tests instead of
10044 check_int.
10045 (expm1_test): Likewise.
10046 (fmod_test): Likewise.
10047 (ilogb_test): Likewise.
10048 (lgamma_test): Likewise.
10049 (pow_test): Likewise.
10050 (remainder_test): Likewise.
10051 (sin_test): Likewise.
10052 (tan_test): Likewise.
10053 (yn_test): Likewise.
10054 (initialize): Set errno to 0.
10055 (main): Print number of errno tests.
10056 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10057
b1a36ceb
AJ
100582013-04-29 Andreas Jaeger <aj@suse.de>
10059
c3ed8088
AJ
10060 [BZ #15084]
10061 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10062 and RES_USEVC.
10063
f1a24198
AJ
10064 [BZ #15085]
10065 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10066 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10067 unimplemented.
10068
9ce3b2cb
AJ
10069 [BZ #15380]
10070 * stdlib/random.c (__initstate): Return NULL if
10071 __initstate fails.
10072
f1a24198 10073 [BZ #15086]
b1a36ceb
AJ
10074 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10075 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10076 RES_SNGLKUPREOP.
10077
7e7b6f36
AZ
100782013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10079
10080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10081
4d14f449
JM
100822013-04-29 Joseph Myers <joseph@codesourcery.com>
10083
10084 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10085 of individual tests.
10086 (casin_test): Likewise.
10087 (casinh_test): Likewise.
10088
5b4217d7
JM
100892013-04-27 Joseph Myers <joseph@codesourcery.com>
10090
10091 [BZ #15409]
10092 * math/s_catan.c (__catan): Handle arguments with large real or
10093 imaginary part separately without squaring.
10094 * math/s_catanf.c (__catanf): Likewise.
10095 * math/s_catanh.c (__catanh): Likewise.
10096 * math/s_catanhf.c (__catanhf): Likewise.
10097 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10098 and redefine.
10099 (__catanhl): Handle arguments with large real or imaginary part
10100 separately without squaring.
10101 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10102 and redefine.
10103 (__catanl): Handle arguments with large real or imaginary part
10104 separately without squaring.
10105 * math/libm-test.inc (catan_test): Add more tests.
10106 (catanh_test): Likewise.
10107 * sysdeps/i386/fpu/libm-test-ulps: Update.
10108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10109
4220c3ef
AJ
101102013-04-27 Andreas Jaeger <aj@suse.de>
10111
10112 [BZ #15007]
10113 * stdlib/stdlib.h: Update guards for qecvt.
10114 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10115 <stdlib.h>.
10116
4721b2d1
AM
101172013-04-27 Allan McRae <allan@archlinux.org>
10118
10119 * sysdeps/i386/fpu/libm-test-ulps: Update.
10120
f0302940
JM
101212013-04-26 Joseph Myers <joseph@codesourcery.com>
10122
9457fd95
JM
10123 [BZ #15406]
10124 * math/s_catan.c: Include <float.h>.
10125 (__catan): Ensure underflow exception occurs for underflowed
10126 result.
10127 * math/s_catanf.c: Include <float.h>.
10128 (__catanf): Ensure underflow exception occurs for underflowed
10129 result.
10130 * math/s_catanh.c: Include <float.h>.
10131 (__catanh): Ensure underflow exception occurs for underflowed
10132 result.
10133 * math/s_catanhf.c: Include <float.h>.
10134 (__catanhf): Ensure underflow exception occurs for underflowed
10135 result.
10136 * math/s_catanhl.c: Include <float.h>.
10137 (__catanhl): Ensure underflow exception occurs for underflowed
10138 result.
10139 * math/s_catanl.c: Include <float.h>.
10140 (__catanl): Ensure underflow exception occurs for underflowed
10141 result.
10142 * math/libm-test.inc (catan_test): Add more tests.
10143 (catanh_test): Likewise.
10144
f0302940
JM
10145 [BZ #15405]
10146 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10147 underflowed result.
10148 * math/s_ccoshf.c (__ccoshf): Likewise.
10149 * math/s_ccoshl.c (__ccoshl): Likewise.
10150 * math/s_csin.c (__csin): Likewise.
10151 * math/s_csinf.c (__csinf): Likewise.
10152 * math/s_csinh.c (__csinh): Likewise.
10153 * math/s_csinhf.c (__csinhf): Likewise.
10154 * math/s_csinhl.c (__csinhl): Likewise.
10155 * math/s_csinl.c (__csinl): Likewise.
10156 * math/libm-test.inc (ccos_test): Add more tests.
10157 (ccosh_test): Likewise.
10158 (csin_test): Likewise.
10159 (csinh_test): Likewise.
10160
aa630f59
AZ
101612013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10162
10163 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10164 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10165 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10166 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10167 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10168 powerpc/power5+/fpu folders.
10169 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10170
10171
1b835983
MT
101722013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10173
10174 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10175
73709b26
JM
101762013-04-25 Joseph Myers <joseph@codesourcery.com>
10177
10178 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10179 additions to variable.
10180 [$(config-machine) = x86_64] (modules-names): Likewise.
10181 ($(objpfx)tst-audit3): Remove dependency.
10182 ($(objpfx)tst-audit3.out): Likewise.
10183 ($(objpfx)tst-audit4): Likewise.
10184 ($(objpfx)tst-audit4.out): Likewise.
10185 ($(objpfx)tst-audit5): Likewise.
10186 ($(objpfx)tst-audit5.out): Likewise.
10187 ($(objpfx)tst-audit6): Likewise.
10188 ($(objpfx)tst-audit6.out): Likewise.
10189 ($(objpfx)tst-audit7): Likewise.
10190 ($(objpfx)tst-audit7.out): Likewise.
10191 (tst-audit3-ENV): Remove variable.
10192 (tst-audit4-ENV): Likewise.
10193 (tst-audit5-ENV): Likewise.
10194 (tst-audit6-ENV): Likewise.
10195 (tst-audit7-ENV): Likewise.
10196 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10197 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10198 addition to variable.
10199 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10200 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10201 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10202 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10203 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10204 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10205 tst-audit3, tst-audit4 and tst-audit5.
10206 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10207 tst-audit6 and tst-audit7.
10208 [$(subdir) = elf] (modules-names): Add audit modules for those
10209 tests.
10210 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10211 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10212 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10213 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10214 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10215 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10216 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10217 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10218 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10219 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10220 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10221 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10222 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10223 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10224 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10225 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10226 Likewise.
10227 [$(subdir) = elf && $(config-cflags-avx) = yes]
10228 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10229 [$(subdir) = elf && $(config-cflags-avx) = yes]
10230 (CFLAGS-tst-auditmod4a.c): Likewise.
10231 [$(subdir) = elf && $(config-cflags-avx) = yes]
10232 (CFLAGS-tst-auditmod4b.c): Likewise.
10233 [$(subdir) = elf && $(config-cflags-avx) = yes]
10234 (CFLAGS-tst-auditmod6b.c): Likewise.
10235 [$(subdir) = elf && $(config-cflags-avx) = yes]
10236 (CFLAGS-tst-auditmod6c.c): Likewise.
10237 [$(subdir) = elf && $(config-cflags-avx) = yes]
10238 (CFLAGS-tst-auditmod7b.c): Likewise.
10239 * elf/tst-audit3.c: Move to ...
10240 * sysdeps/x86_64/tst-audit3.c: ... here.
10241 * elf/tst-audit4.c: Move to ...
10242 * sysdeps/x86_64/tst-audit4.c: ... here.
10243 * elf/tst-audit5.c: Move to ...
10244 * sysdeps/x86_64/tst-audit5.c: ... here.
10245 * elf/tst-audit6.c: Move to ...
10246 * sysdeps/x86_64/tst-audit6.c: ... here.
10247 * elf/tst-audit7.c: Move to ...
10248 * sysdeps/x86_64/tst-audit7.c: ... here.
10249 * elf/tst-auditmod3a.c: Move to ...
10250 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10251 * elf/tst-auditmod3b.c: Move to ...
10252 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10253 * elf/tst-auditmod4a.c: Move to ...
10254 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10255 * elf/tst-auditmod4b.c: Move to ...
10256 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10257 * elf/tst-auditmod5a.c: Move to ...
10258 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10259 * elf/tst-auditmod5b.c: Move to ...
10260 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10261 * elf/tst-auditmod6a.c: Move to ...
10262 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10263 * elf/tst-auditmod6b.c: Move to ...
10264 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10265 * elf/tst-auditmod6c.c: Move to ...
10266 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10267 * elf/tst-auditmod7a.c: Move to ...
10268 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10269 * elf/tst-auditmod7b.c: Move to ...
10270 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10271
1ef74943
PP
102722013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10273
10274 [BZ #15366]
10275 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10276 define unconditionally.
10277 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10278 define unconditionally.
10279 (INT8_C, INT16_C, etc.): Likewise.
10280
93fd48c5
MR
102812013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10282
ae9552cf
MR
10283 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10284 __ehdr_start with hidden visibility.
10285
93fd48c5
MR
10286 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10287
418601aa
CD
102882013-04-24 Carlos O'Donell <carlos@redhat.com>
10289
10290 * math/libm-test.inc (cos_test): Use accurate hex constants.
10291 (sincost_test): Likewise.
10292
2f38fbfe
JM
102932013-04-24 Joseph Myers <joseph@codesourcery.com>
10294
5e221800
JM
10295 * math/libm-test.inc (catan_test): Add more tests.
10296 (catanh_test): Likewise.
10297
77f143fd
JM
10298 * math/s_catanf.c (__catanf): Use suffixed floating-point
10299 constants.
10300 * math/s_catanhf.c (__catanhf): Likewise.
10301 * math/s_catanhl.c (__catanhl): Likewise.
10302 * math/s_catanl.c (__catanl): Likewise.
10303
2f38fbfe
JM
10304 [BZ #15394]
10305 * math/s_catan.c (__catan): Calculate imaginary part of result
10306 with log1p not log unless computing log of number close to 0.
10307 * math/s_catanf.c (__catanf): Likewise.
10308 * math/s_catanl.c (__catanl): Likewise.
10309 * math/s_catanh.c (__catanh): Calculate real part of result with
10310 log1p not log unless computing log of number close to 0.
10311 * math/s_catanhf.c (__catanhf): Likewise.
10312 * math/s_catanhl.c (__catanhl): Likewise.
10313 * math/libm-test.inc (catan_test): Add more tests.
10314 (catanh_test): Likewise.
10315 * sysdeps/i386/fpu/libm-test-ulps: Update.
10316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10317
45d69176
SP
103182013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10319
10320 * benchtests/Makefile: Mention files in which fast and slow
10321 paths of math functions are implemented.
10322
87f51853
RM
103232013-04-23 Roland McGrath <roland@hack.frob.com>
10324
10325 * sysdeps/posix/timespec_get.c: New file.
10326
3c026539
AZ
103272013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10328
10329 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10330 POWER.
10331 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10332 for POWER.
10333 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10334 powerpc/power5/fpu folders.
10335 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10336 * benchtests/Makefile: Add modf testcase.
10337 * benchtests/bench-modf.c: New file: Benchmark test for mo
10338
ff491d14
SP
103392013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10340
10341 [BZ #14888]
10342 * time/Makefile (tests): Add tst-strptime-whitespace.
10343 * time/strptime_l.c (get_number): Use ISSPACE.
10344 (__strptime_internal): Likewise.
10345 * time/tst-strptime-whitespace.c: New test case.
10346
7ed3f4e8
AS
103472013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10348
10349 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10350 member.
10351 (_nss_files_init): Set it here.
10352
5c95f7b6
HC
103532013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10354
10355 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10356 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10357 unsigned.
10358
d34c9158
JBG
103592013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10360
10361 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10362
2169712d
SP
103632013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10364
10365 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10366 size just once.
10367
29c5de99
DM
103682013-04-21 David S. Miller <davem@davemloft.net>
10369
10370 * po/ru.po: Update Russion translation from translation project.
10371
ccdad15d
AC
103722013-04-17 Adam Conrad <adconrad@0c3.net>
10373
10374 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10375 and setfsgid.
10376
0f122b8d
CD
103772013-04-17 Carlos O'Donell <carlos@redhat.com>
10378
5c5b07da 10379 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 10380 * configure: Regenerate.
5c5b07da 10381 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
10382 Add example to error message.
10383 * sysdeps/i386/configure: Regenerate.
10384
037714dd
SP
103852013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10386
10387 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10388 slowtan.
10389 * benchtests/cos-inputs: New file.
10390 * benchtests/slowcos-inputs: New file.
10391 * benchtests/slowcos.c: New file.
10392 * benchtests/slowtan-inputs: New file.
10393 * benchtests/slowtan.c: New file.
10394 * benchtests/tan-inputs: New file.
10395
e913141d
RM
103962013-04-16 Roland McGrath <roland@hack.frob.com>
10397
10398 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10399 considered kosher.
10400
a2964074
SP
104012013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10402
4856bcd2
SP
10403 * benchtests/Makefile: Include cppflags-iterator.mk to add
10404 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10405
a2964074
SP
10406 * Makefile.in (bench-clean): New target.
10407 * benchtests/Makefile (bench-clean): Likewise.
10408
9fbf9aca
DH
104092013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10410
10411 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10412
207d1e2a
TS
104132013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10414
10415 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10416
306dfba9
AS
104172013-04-15 Andreas Schwab <schwab@suse.de>
10418
10419 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10420 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10421 * nscd/pwdcache.c (cache_addpw): Likewise.
10422 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10423 more than recsize.
10424
206a6699
SP
104252013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10426
10427 * benchtests/Makefile (bench): Write all output to
10428 bench-out.tmp together.
10429
0582f6b3
AS
104302013-04-15 Andreas Schwab <schwab@suse.de>
10431
10432 * nscd/nscd.c (main): Don't fork again after closing files.
10433
acb4325f
SP
104342013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10435
5cb26d0a
SP
10436 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10437
acb4325f
SP
10438 * benchtests/Rules (bench-deps): Collect dependencies into a
10439 single variable. Add Makefile to dependencies.
10440 ($(objpfx)bench-%.c): Depend on bench-deps.
10441
47792506
RM
104422013-04-12 Roland McGrath <roland@hack.frob.com>
10443 Xavier Roche <roche+kml2@exalead.com>
10444
10445 [BZ #15361]
10446 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10447 just that it's a file descriptor.
10448 * manual/llio.texi (Synchronizing AIO Operations): Update description
10449 for EBADF error from aio_fsync.
10450
8fc1bee5
SP
104512013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10452
10453 * Rules (bench): Move target definition...
10454 * benchtests/Makefile: ... here.
10455
aba5e333
CD
104562013-04-11 Carlos O'Donell <carlos@redhat.com>
10457
10458 * math/libm-test.inc (cos_test): Fix PI/2 test.
10459 (sincos_test): Likewise.
10460 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10461 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10462
273cdee8
AS
104632013-04-11 Andreas Schwab <schwab@suse.de>
10464
6ecec3b6
AS
10465 [BZ #13988]
10466 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10467 accept exponent character only when digits were seen.
10468 * stdio-common/Makefile (tests): Add bug26.
10469 * stdio-common/bug26.c: New file.
10470
273cdee8
AS
10471 [BZ #14293]
10472 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10473 non-freeable.
10474
8da491f5
SP
104752013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10476
01dc6df9
SP
10477 * Makeconfig (rtld-prefix): Define built linker prefix.
10478 * Rules (run-bench): Use it.
10479 * math/Makefile (run-regen-ulps): Likewise.
10480
8da491f5
SP
10481 * Rules (bench): Remove eval.
10482
abe7f530
SP
104832013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10484 Roland McGrath <roland@hack.frob.com>
10485 Ondrej Bilka <neleai@seznam.cz>
10486
10487 [BZ #15346]
10488 * time/getdate.c: Include ctype.h and alloca.h.
10489 (__getdate_r): Trim leading and trailing spaces of input.
10490 * time/tst-getdate.c (tests): Add tests with leading and
10491 trailing spaces.
10492
61c23e62
RM
104932013-04-08 Roland McGrath <roland@hack.frob.com>
10494
10495 [BZ #14280]
10496 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10497 when computing value.
10498
7208a313
CD
104992013-04-06 Carlos O'Donell <carlos@redhat.com>
10500
085b2d41
CD
10501 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10502 Use testrun.sh to run libm tests.
10503
7208a313
CD
10504 [BZ #15309]
10505 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10506
872c0acd
MM
105072013-04-06 Marko Myllynen <myllynen@redhat.com>
10508
10509 [BZ #15264]
10510 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10511
26510bdd
CD
105122013-04-06 Carlos O'Donell <carlos@redhat.com>
10513
10514 * Makefile.in (regen-ulps): New target.
10515 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10516 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10517 [ifneq (no,$(PERL)] (regen-ulps): New target.
10518 [ifeq (no,$(PERL)] (regen-ulps): New target.
10519 * math/libm-test.inc (ulps_file_name): Define.
10520 (output_dir): New variable.
10521 (options): Add "output-dir" option.
10522 (parse_opt): Handle 'o' case.
10523 (main): If output_dir is non-NULL use it as a prefix
10524 otherwise use "".
10525 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10526
a01f19c8
CD
105272013-04-06 Carlos O'Donell <carlos@redhat.com>
10528
10529 [BZ #10060, #10062]
10530 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10531 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10532 fail configure if __sync_val_compare_and_swap is not inlined.
10533 * sysdeps/i386/configure: Regenerate.
10534 * configure.in: Build for i686 when configured for i386.
10535 * configure: Regenerate.
10536 * README: Remove i386 reference.
10537
b7a329a5
CD
105382013-04-06 Carlos O'Donell <carlos@redhat.com>
10539
10540 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10541 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10542
bf0f50df
TS
105432013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10544
ee091edf
TS
10545 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10546 (lmsnanval): New variables.
10547 (F): Add conversion tests.
10548 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10549 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10550
a8b792d6
TS
10551 * stdio-common/tstdiomisc.c (F): Properly collect individual
10552 tests' results.
10553
a1cbf437
TS
10554 [BZ #14686, #15336]
10555 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10556 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10557 Instead, use input NaN values or generate a qNaN by arithmetic
10558 operation. Also fix bugs to comply with the standard.
10559 * math/libm-test.inc (remainder_test): Add more tests.
10560
8b43a0c9
TS
10561 [BZ #15335, #15342]
10562 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10563 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10564 input NaN values or generate a qNaN by arithmetic operation.
10565
d91da4ce
TS
10566 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10567 unreachable code.
10568
bf0f50df
TS
10569 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10570 definitions.
10571
05e166c8
JM
105722013-04-03 Joseph Myers <joseph@codesourcery.com>
10573
10574 [BZ #14478]
10575 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10576 underflowed result.
10577 * math/s_cexpf.c (__cexpf): Likewise.
10578 * math/s_cexpl.c (__cexpl): Likewise.
10579 * math/libm-test.inc (cexp_test): Add more tests.
10580
1cef1b19
AS
105812013-04-03 Andreas Schwab <schwab@suse.de>
10582
10583 [BZ #15330]
10584 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10585 order arrays from heap if bigger than alloca cutoff.
10586
74d87055
TS
105872013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10588
10589 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10590 (SNAN_TESTS_double): Refer to GCC PR56831.
10591 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10592 GCC PR56828.
10593
d755bba4
SP
105942013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10595
90d5d5bb
SP
10596 * Rules (bench): Move bench.out after the run is complete.
10597
73e0cd5d
SP
10598 * Rules (bench): Echo currently running benchmark.
10599
64aabd4b
SP
10600 * benchtests/Makefile (bench): Add atan and slowatan.
10601 * benchtests/atan-inputs: New file.
10602 * benchtests/slowatan-inputs: New file.
10603 * benchtests/slowatan.c: New file.
10604
c871eccd
SP
10605 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10606 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10607 its value.
10608
d755bba4
SP
10609 [BZ #15305]
10610 * sysdeps/unix/sysv/linux/kernel-features.h
10611 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10612 __ASSUME_XFS_RESTRICTED_CHOWN.
10613 * sysdeps/unix/sysv/linux/pathconf.c
10614 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10615 Save and restore errno.
10616
52ce4860
JM
106172013-04-02 Joseph Myers <joseph@codesourcery.com>
10618
10619 [BZ #15327]
10620 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10621 arguments using __kernel_casinh.
10622 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10623 arguments using __kernel_casinhf.
10624 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10625 arguments using __kernel_casinhl.
10626 * math/libm-test.inc (cacosh_test): Add more tests.
10627 * sysdeps/i386/fpu/libm-test-ulps: Update.
10628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10629
81f311c2
SP
106302013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10631
e7906a47
SP
10632 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10633 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10634
92e3664b
SP
10635 * bench/Makefile (bench): Add sin and slowsin.
10636 * benchtests/sin-inputs: New file.
10637 * benchtests/slowsin-inputs: New file.
10638 * benchtests/slowsin.c: New file.
10639
81f311c2
SP
10640 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10641 (bench): Add slowexp and slowpow.
10642 (exp-ITER): Increase iterations.
10643 (pow-ITER): Likewise.
10644 * benchtests/exp-inputs: Change input.
10645 * benchtests/pow-inputs: Likewise.
10646 * benchtests/slowexp-inputs: New file.
10647 * benchtests/slowexp.c: New file.
10648 * benchtests/slowpow-inputs: New file.
10649 * benchtests/slowpow.c: New file.
10650
ab0f1aa9
AZ
106512013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10652
10653 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10654 instructions.
10655 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10656 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10657 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10658 * benchtests/Makefile: Add rint benchtest.
10659 * benchtests/rint-inputs: Input for rint benchtest.
10660
57267616
TS
106612013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10662
10663 * Versions.def (libm): Add GLIBC_2.18.
10664 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10665 hidden libm prototypes.
10666 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10667 * math/Makefile (libm-calls): Add s_issignaling.
10668 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10669 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10670 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10671 declaration.
10672 * math/math.h [__USE_GNU] (issignaling): New macro.
10673 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10674 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10675 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10676 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10677 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10678 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10679 * manual/arith.texi (issignaling): New section.
10680 * manual/libm-err-tab.pl (@all_functions): Update comment.
10681 * math/gen-libm-test.pl (parse_args): Apply special handling for
10682 issignaling.
10683 * math/libm-test.inc (print_float, issignaling_test): New
10684 functions.
10685 (check_float_internal): Add issignaling checks.
10686 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10687 default definition.
10688 * sysdeps/powerpc/math-tests.h: New file.
10689 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10690 tests.
10691 * math/test-snan.c (TEST_FUNC): Likewise.
10692
6142896d
DM
106932013-03-30 David S. Miller <davem@davemloft.net>
10694
10695 * po/de.po: Update from translation team.
10696
ccc8cadf
JM
106972013-03-30 Joseph Myers <joseph@codesourcery.com>
10698
10699 [BZ #10357]
10700 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10701 imaginary part less than 1.0 and real part less than 0.5
10702 specially.
10703 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10704 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10705 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10706 (cacos_test): Add more tests.
10707 (casin_test): Likewise.
10708 (casinh_test): Likewise.
10709 * sysdeps/i386/fpu/libm-test-ulps: Update.
10710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10711
0f6a8d4b
SP
107122013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10713
0d1029de
SP
10714 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10715 ONE with its value.
10716
c2d94018
SP
10717 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10718 (__pow_mp): Replace ONE and MONE with their values.
10719 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10720 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10721 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10722 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10723 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10724 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10725
27ec37f1
SP
10726 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10727
a64d7e0e
SP
10728 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10729 (__pow_mp): Replace ZERO and MZERO with their values.
10730 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10731 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10732 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10733 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10734 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10735 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10736 (__sqr): Likewise.
10737
d26dd3eb
SP
10738 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10739
0f6a8d4b
SP
10740 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10741
e57b0c61
RM
107422013-03-28 Roland McGrath <roland@hack.frob.com>
10743
10744 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10745 Declare with __attribute__ ((weak)).
10746 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10747 Call __call_tls_dtors only if it's not NULL.
10748
356b3480
RM
107492013-03-28 Roland McGrath <roland@hack.frob.com>
10750
288f7d79
RM
10751 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10752 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10753 magic __ehdr_start linker symbol if it's defined.
10754 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10755 them up here if it was already done.
10756
dc0a0263
RM
10757 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10758 (_dl_aux_init): Use const in cast when setting it.
10759 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10760 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10761 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10762
3d3436ae
RM
10763 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10764 Declare them here.
10765 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10766 * csu/libc-tls.c: Nor here.
10767 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10768
356b3480
RM
10769 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10770 (__libc_message): Never call vsyslog.
10771
b0f1246a
AM
107722013-03-28 Alan Modra <amodra@gmail.com>
10773
10774 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10775 Define as empty.
10776 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10777 Likewise.
10778
fbbe2b9a
AZ
107792013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10780
10781 [BZ #15214]
10782 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10783 underflow.
10784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10785
1728ab37
SP
107862013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10787
7a86be6e
SP
10788 [BZ #15304]
10789 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10790 Don't add gid passed as argument.
10791
1728ab37
SP
10792 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10793
3a7182a1
JM
107942013-03-27 Joseph Myers <joseph@codesourcery.com>
10795
10796 [BZ #15307]
10797 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10798 imaginary part between 1.0 and 1.5 and real part less than 0.5
10799 specially.
10800 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10801 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10802 * math/libm-test.inc (cacos_test): Add more tests.
10803 (casin_test): Likewise.
10804 (casinh_test): Likewise.
10805 * sysdeps/i386/fpu/libm-test-ulps: Update.
10806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10807
6f2e90e7
SP
108082013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10809
5739f705
SP
10810 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10811 constants.
10812 (norm): Likewise.
10813 (denorm): Likewise.
10814 (__dbl_mp): Likewise.
10815 (add_magnitudes): Likewise.
10816 (sub_magnitudes): Likewise.
10817 (__add): Likewise.
10818 (__sub): Likewise.
10819 (__mul): Likewise.
10820 (__sqr): Likewise.
10821 (__inv): Likewise.
10822 (__dvd): Likewise.
10823
e375e83d
SP
10824 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10825 commented code.
10826 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10827 (__dubcos): Likewise.
10828 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10829 (__ieee754_acos): Likewise.
10830 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10831 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10832 (__exp1): Likewise.
10833 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10834 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10835 (log1): Likewise.
10836 (my_log2): Likewise.
10837 (checkint): Likewise.
10838 * sysdeps/ieee754/dbl-64/e_remainder.c
10839 (__ieee754_remainder): Likewise.
10840 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10841 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10842 (bsloww): Likewise.
10843 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10844
6f2e90e7
SP
10845 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10846 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10847 MANTISSA_STORE_T to store computations on mantissa. Use
10848 macros for rounding and division.
10849 (denorm): Likewise.
10850 (__dbl_mp): Likewise.
10851 (add_magnitudes): Likewise.
10852 (sub_magnitudes): Likewise.
10853 (__mul): Likewise.
10854 (__sqr): Likewise.
10855 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10856 powers of two in terms of TWOPOW macro.
10857 (mp_no): Make type of mantissa as MANTISSA_T.
10858 [!RADIXI]: Define RADIXI.
10859 [!TWO52]: Define TWO52.
10860 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10861
fce14d4e
AZ
108622013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10863
10864 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10865 llroundl symbol when building for PPC32.
10866
9ad027fb
MW
108672013-03-24 Mark H Weaver <mhw@netris.org>
10868
10869 * manual/arith.texi (Normalization Functions): Fix prototypes for
10870 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10871
e42a38dd
AZ
108722013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10873
10874 [BZ #13889]
10875 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10876 high value to check if expl overflow.
10877 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10878 to check for underflow and overflow.
10879 * math/libm-test.inc: Add exp test.
10880
2e0fb521
DL
108812013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10882
10883 [BZ #11120]
10884 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10885 with NOT_IN_libc.
10886
b5784d95
AZ
108872013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10888
10889 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10890 symbol.
10891
5aa4a1a1
TS
108922013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10893
bdef0be7
TS
10894 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10895 wrap blocks consisting of several statements.
10896
5aa4a1a1
TS
10897 * sysdeps/generic/math-tests.h: New file.
10898 * sysdeps/i386/fpu/math-tests.h: Likewise.
10899 * math/test-snan.c: Include it.
10900 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10901
98c48fe5
JM
109022013-03-21 Joseph Myers <joseph@codesourcery.com>
10903
10904 [BZ #15285]
10905 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10906 (__ieee754_j0l): Do not improve calculations using cos of twice
10907 input for inputs above LDBL_MAX / 2.0L.
10908 (__ieee754_y0l): Likewise.
10909 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10910 (__ieee754_j1l): Do not improve calculations using cos of twice
10911 input for inputs above LDBL_MAX / 2.0L.
10912 (__ieee754_y1l): Likewise.
10913 * math/libm-test.inc (j0_test): Add another test.
10914 (j1_test): Likewise.
10915 (y0_test): Likewise.
10916 (y1_test): Likewise.
10917 * sysdeps/i386/fpu/libm-test-ulps: Update.
10918
3775a8bc
SP
109192013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10920
10921 * Rules ($(objpfx)bench-%.c): Include code from a C source
10922 file.
10923
0a1b2ae6
JM
109242013-03-21 Joseph Myers <joseph@codesourcery.com>
10925
10926 [BZ #15287]
10927 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10928 imaginary part 1.0 and real part less than 0.5 specially.
10929 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10930 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10931 * math/libm-test.inc (cacos_test): Add more tests.
10932 (casin_test): Likewise.
10933 (casinh_test): Likewise.
10934 * sysdeps/i386/fpu/libm-test-ulps: Update.
10935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10936
b33d4ce4
SP
109372013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10938
10939 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10940 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10941
bef0b507
JM
109422013-03-20 Joseph Myers <joseph@codesourcery.com>
10943
10944 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10945 * config.make.in (config-cflags-sse4): Remove variable.
10946 (config-cflags-avx): Likewise.
10947 (config-cflags-sse2avx): Likewise.
10948 (config-cflags-novzeroupper): Likewise.
10949 (config-asflags-i686): Likewise.
10950 (have-mfma4): Likewise.
10951 (have-as-vis3): Likewise.
10952 (MIG): Likewise.
10953 * configure.in (MIG): Do not AC_SUBST.
10954 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10955 (libc_cv_cc_sse4): Do not AC_SUBST.
10956 (libc_cv_cc_avx): Likewise.
10957 (libc_cv_cc_sse2avx): Likewise.
10958 (libc_cv_cc_novzeroupper): Likewise.
10959 (libc_cv_cc_fma4): Likewise.
10960 (libc_cv_as_i686): Likewise.
10961 (libc_cv_sparc_as_vis3): Likewise.
10962 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10963 LIBC_CONFIG_VAR.
10964 (config-asflags-i686): Likewise.
10965 (config-cflags-avx): Likewise.
10966 (config-cflags-sse2avx): Likewise.
10967 (have-mfma4): Likewise.
10968 (config-cflags-novzeroupper): Likewise.
10969 * sysdeps/mach/configure.in (MIG): Likewise.
10970 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10971 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10972 LIBC_CONFIG_VAR.
10973 (config-cflags-avx): Likewise.
10974 (config-cflags-sse2avx): Likewise.
10975 (have-mfma4): Likewise.
10976 (config-cflags-novzeroupper): Likewise.
10977 * configure: Regenerated.
10978 * sysdeps/i386/configure: Likewise.
10979 * sysdeps/mach/configure: Likewise.
10980 * sysdeps/sparc/configure: Likewise.
10981 * sysdeps/x86_64/configure: Likewise.
10982
912cc4b3
RM
109832013-03-20 Roland McGrath <roland@hack.frob.com>
10984
10985 [BZ #14812]
10986 * locale/programs/localedef.c (options): Put N_ translation marker
10987 on argument names, not just descriptions.
10988
04eed2b0
MS
109892013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10990
10991 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10992
a065ceff
OB
109932013-03-20 Ondřej Bílka <neleai@seznam.cz>
10994
9bb2a810 10995 [BZ #14176]
a065ceff
OB
10996 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10997
a600e5ce
RM
109982013-03-19 Roland McGrath <roland@hack.frob.com>
10999
11000 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11001 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11002 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11003 [!BEFORE_ABORT] (before_abort): New function.
11004 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11005 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11006 (writev_for_fatal): New function.
11007 (WRITEV_FOR_FATAL): New macro; call that.
11008 (backtrace_and_maps): New function.
11009 (BEFORE_ABORT): New macro; call that.
11010 (struct str_list): Type removed.
11011 (__libc_message, __libc_fatal): Functions removed.
11012 Include <sysdeps/posix/libc_fatal.c> instead.
11013
6b18bea6
JM
110142013-03-19 Joseph Myers <joseph@codesourcery.com>
11015
11016 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11017 constants.
11018 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11019 double constants.
11020
aaa8cb4b
AS
110212013-03-19 Andreas Schwab <schwab@suse.de>
11022
44673770
AS
11023 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11024 * sysdeps/gnu/configure: Regenerate.
11025
aaa8cb4b
AS
11026 * configure.in: Substitute libc_cv_rtlddir.
11027 * configure: Regenerate.
11028 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11029 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11030 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11031 * elf/Makefile (install-others, CFLAGS-interp.c)
11032 (ldso_install, common-ldd-rewrite): Likewise.
11033 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11034 $(inst_slibdir)/$(rtld-installed-name).
11035 * scripts/rellns-sh: Add -p option.
11036 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11037 for source.
11038
d3cfc668
SP
110392013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11040
11041 * manual/nptl.texi: Renamed to ...
11042 * manual/threads.texi: ... this.
11043 * manual/Makefile (chapters): Update.
11044
0e2b9cdd
RM
110452013-03-18 Roland McGrath <roland@hack.frob.com>
11046
11047 [BZ #14812]
11048 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11049 on argument names, not just descriptions.
0e2b9cdd
RM
11050 * malloc/memusagestat.c (options): Likewise.
11051 * nss/getent.c (options): Likewise.
63270c24
RM
11052
110532013-03-18 Benno Schulenberg <bensberg@justemail.net>
11054
11055 [BZ #14812]
11056 * iconv/iconv_prog.c (options): Put N_ translation marker
11057 on argument names, not just descriptions.
11058 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 11059
b2e1393c
OB
110602013-03-18 Ondrej Bilka <neleai@seznam.cz>
11061
11062 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11063 implementation which is faster on all x86_64 architectures.
11064 Tested on AMD, Intel Nehalem, SNB, IVB.
11065 * sysdeps/x86_64/strnlen.S: Likewise.
11066
11067 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11068 Remove all multiarch strlen and strnlen versions.
11069 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11070 Remove strlen and strnlen related parts.
11071
11072 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11073 Inline strlen part.
11074 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11075
11076 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11077 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11078 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11079 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11080 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11081 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11082
ec4ff04d
CD
110832013-03-17 Carlos O'Donell <carlos@redhat.com>
11084
11085 * manual/memory.texi (Malloc Tunable Parameters):
11086 Sort parameters alphabetically. Add comments for missing entries.
11087
cd18e90a
DM
110882013-03-17 David S. Miller <davem@davemloft.net>
11089
11090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11091
2a185d32
JM
110922013-03-16 Joseph Myers <joseph@codesourcery.com>
11093
d2f9799e
JM
11094 [BZ #15283]
11095 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11096 for arguments at most half maximum finite value.
11097 * math/libm-test.inc (j0_test): Add more tests.
11098 (j1_test): Likewise.
11099 (y0_test): Likewise.
11100 (y1_test): Likewise.
11101 * sysdeps/i386/fpu/libm-test-ulps: Update.
11102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11103
2a185d32
JM
11104 [BZ #14155]
11105 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11106 1 / x and functions P and Q for arguments above 0x1p256L.
11107 (__ieee754_y0l): Likewise.
11108 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11109 (__ieee754_y1l): Likewise.
11110 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11111 (j1_test): Likewise.
11112 (y0_test): Likewise.
11113 (y1_test): Likewise.
11114
6cbec759
TS
111152013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11116
11117 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11118 variable.
11119
bc16e260
RM
111202013-03-15 Roland McGrath <roland@hack.frob.com>
11121
aefc9b8c
RM
11122 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11123 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11124 zero since it's initialized to EXEC_PAGESIZE.
11125
bc16e260
RM
11126 * sysdeps/unix/sysv/linux/ldsodefs.h
11127 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11128 * sysdeps/generic/ldsodefs.h: ... here.
11129
a57da955
TS
111302013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11131
af00a34d
TS
11132 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11133
495ded2c
TS
11134 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11135 math/test-snan.c.
11136 * math/test-snan.c: Renamed from
11137 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11138 * math/Makefile (tests): Add test-snan.
11139 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11140 test-powerpc-snan.
11141
777b0332
TS
11142 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11143 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11144 functions.
11145 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11146 __builtin_nan family of functions.
11147 * math/libm-test.inc (initialize): Initialize qnan_value with
11148 __builtin_nan family of functions.
11149 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11150 Remove variables.
11151 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11152 Remove functions.
11153 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11154 storage class. Initialize qNaN_var and sNaN_var with
11155 __builtin_nan and __builtin_nans families of functions,
11156 respectively.
11157
64d063b8
TS
11158 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11159 (sqrt_test): Remove duplicate test with qNaN input.
11160 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11161 (round_test, signbit_test, significand_test): Note missing +/-Inf
11162 as well as qNaN tests.
11163
67e971f1
TS
11164 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11165 qNaN_var. Fix a few strings, too.
11166 * math/libm-test.inc (nan_value): Rename to qnan_value.
11167 * math/gen-libm-test.pl (%beautify): Adjust to that.
11168 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11169 * math/test-misc.c (main): Likewise.
11170 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11171 to __qnan_bytes, and __qnan_union, respectively.
11172 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11173 Likewise.
11174 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11175 and lqnanval, respectively.
11176 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11177 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11178 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11179 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11180
64487e12
TS
11181 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11182 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11183 doubles.
11184
e015e27b
TS
11185 * math/test-misc.c (main): Fix copy'n'pastos.
11186 * misc/tst-efgcvt.c (special): Likewise.
11187
a57da955
TS
11188 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11189 Remove declarations.
11190
1e380345
SP
111912013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11192
11193 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11194 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11195 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11196 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11197
ef26eece
AZ
111982013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11199
11200 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11201 macro to return vdso values correctly in IFUNC implementations.
11202 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11203 Optimization by using IFUNC.
11204
8cfdb7e0
SP
112052013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11206 Richard Henderson <rth@redhat.com>
11207 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11208
11209 * Makefile.in (bench): New target.
11210 * NEWS: Mention the benchmark framework.
11211 * Rules (bench): Likewise.
11212 (binaries-bench): Generate binaries for functions to
11213 benchmark.
11214 * benchtests/Makefile: New makefile for benchmark tests.
11215 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11216 programs.
11217 * benchtests/exp-inputs: New input file for EXP function.
11218 * benchtests/pow-inputs: New input file for POW function.
11219 * scripts/bench.pl: New script to generate source files for
11220 benchmark programs.
11221
bcda9880
SP
112222013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11223
d22ca8cd
SP
11224 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11225 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11226 computations on mantissa. Use macros for rounding and
11227 division.
11228 (denorm): Likewise.
11229 (__dbl_mp): Likewise.
11230 (add_magnitudes): Likewise.
11231 (sub_magnitudes): Likewise.
11232 (__mul): Likewise.
11233 (__sqr): Likewise.
11234 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11235 powers of two in terms of TWOPOW macro.
11236 (mp_no): Make type of mantissa as MANTISSA_T.
11237 [!RADIXI]: Define RADIXI.
11238 [!TWO52]: Define TWO52.
11239 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11240
bcda9880
SP
11241 * manual/nptl.texi (cindex): Modify threads to pthreads.
11242
06d5adfb
JM
112432013-03-15 Joseph Myers <joseph@codesourcery.com>
11244
11245 * sysdeps/x86_64/preconfigure: Regenerated.
11246
41c7328e
JM
112472013-03-14 Joseph Myers <joseph@codesourcery.com>
11248
11249 [BZ #14155]
11250 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11251 0x1p28 and above.
11252 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11253 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11254 0x1p28 and above.
11255 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11256 * math/libm-test.inc (j0_test): Do not allow one spurious
11257 underflow exception.
11258 (y1_test): Likewise.
11259
e25cfa60
SP
112602013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11261
0409959c
SP
11262 * manual/Makefile (chapters): Add nptl.
11263 * manual/debug.texi (Debugging Support): Add link to Threads
11264 chapter.
11265 * manual/nptl.texi: New file.
11266
e25cfa60
SP
11267 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11268
58a1335e
PB
112692013-03-14 Petr Baudis <pasky@ucw.cz>
11270
11271 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11272 for non-NULL pointer before the memory validity test. Pointed
11273 out by Holger Brunck <holger.brunck@keymile.com>.
11274
9dc7c64f
AS
112752013-03-13 Andreas Schwab <schwab@suse.de>
11276
11277 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11278 instead of .os.
11279
54206aa6
JM
112802013-03-13 Joseph Myers <joseph@codesourcery.com>
11281
11282 * timezone/zic.c: Update from tzcode 2013b.
11283
e98cdb38
CD
112842013-03-12 Carlos O'Donell <carlos@redhat.com>
11285
11286 * manual/install.texi (Configuring and compiling):
11287 Mention i686 and i586.
11288 * INSTALL: Regenerate.
11289
9967e003
RM
112902013-03-12 Roland McGrath <roland@hack.frob.com>
11291
11292 * sysdeps/init_array/elf-init.c: New file.
11293 * csu/elf-init.c
11294 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11295 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11296
11297 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11298 __gmon_start__ as global, but as static with a .preinit_array pointer.
11299 * sysdeps/init_array/gmon-start.c: New file. Use that.
11300 * sysdeps/init_array/crti.S: New file, empty except for comments.
11301 * sysdeps/init_array/crtn.S: Likewise.
11302
e6b5a293 113032013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
11304
11305 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11306 definining bcopy.
80f844c9
OB
11307 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11308 Remove Prefer_SSE_for_memop.
11309 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11310 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11311 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
11312 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11313 memset-x86-64.
80f844c9 11314 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 11315 Remove bzero, memset ifunc support.
80f844c9
OB
11316 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11317 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11318 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11319 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11320
fb6b0fcb
AS
113212013-03-11 Andreas Schwab <schwab@suse.de>
11322
11323 [BZ #15234]
11324 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11325 by SHLIB_COMPAT.
11326 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11327 (GLIBC_2.16): Remove pthread_atfork.
11328
3e6bd4b1
PP
113292013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11330
11331 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11332 (ptestcases.h): Likewise.
11333
222d7f00
RM
113342013-03-08 Roland McGrath <roland@hack.frob.com>
11335
11336 * Makeconfig ($(common-objpfx)config.status): Depend on
11337 sysdeps/*/preconfigure{,.in} too.
11338
1ba4f030
JM
113392013-03-08 Joseph Myers <joseph@codesourcery.com>
11340
a222d91a
JM
11341 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11342 (__free_hook): Use void * instead of __malloc_ptr_t.
11343 (__malloc_hook): Likewise.
11344 (__realloc_hook): Likewise.
11345 (__memalign_hook): Likewise.
11346 (__after_morecore_hook): Likewise.
11347 * malloc/arena.c (save_malloc_hook): Likewise.
11348 (save_free_hook): Likewise.
11349 * malloc/hooks.c (malloc_hook_ini): Likewise.
11350 (realloc_hook_ini): Likewise.
11351 (memalign_hook_ini): Likewise.
11352 * malloc/malloc.c (malloc_hook_ini): Likewise.
11353 (realloc_hook_ini): Likewise.
11354 (memalign_hook_ini): Likewise.
11355 (__free_hook): Likewise.
11356 (__malloc_hook): Likewise.
11357 (__realloc_hook): Likewise.
11358 (__memalign_hook): Likewise.
11359 (__libc_malloc): Likewise.
11360 (__libc_free): Likewise.
11361 (__libc_realloc): Likewise.
11362 (__libc_memalign): Likewise.
11363 (__libc_valloc): Likewise.
11364 (__libc_pvalloc): Likewise.
11365 (__libc_calloc): Likewise.
11366 (__posix_memalign): Likewise.
11367 * malloc/morecore.c (__sbrk): Likewise.
11368 (__default_morecore): Likewise.
11369
5cc45e10
JM
11370 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11371
dd54b864
JM
11372 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11373 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11374 __malloc_ptrdiff_t.
11375
1ba4f030
JM
11376 * malloc/malloc.h (__malloc_size_t): Remove macro.
11377 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11378 __malloc_size_t.
11379 (old_memalign_hook): Likewise.
11380 (old_realloc_hook): Likewise.
11381 (struct hdr): Likewise.
11382 (flood): Likewise.
11383 (mallochook): Likewise.
11384 (memalignhook): Likewise.
11385 (reallochook): Likewise.
11386 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11387 (tr_old_realloc_hook): Likewise.
11388 (tr_old_memalign_hook): Likewise.
11389 (tr_mallochook): Likewise.
11390 (tr_reallochook): Likewise.
11391 (tr_memalignhook): Likewise.
11392
edf66e57
AZ
113932013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11394
11395 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11396 default_ldbl_pack and using as default implementation.
11397 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11398 implementation.
11399 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11400 redundant definition.
11401 (ldbl_insert_mantissa): Likewise.
11402 (ldbl_canonicalize): Likewise.
11403 (ldbl_nearbyint): Likewise.
11404 (ldbl_pack): Rename to ldbl_pack_ppc.
11405 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11406 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11407 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11408
6d9145d8
SP
114092013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11410
11411 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11412 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11413 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11414 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11415 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11416 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11417 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11418 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11419
4dd4e157
AJ
114202013-03-07 Andreas Jaeger <aj@suse.de>
11421
11422 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11423 bits/mman-linux.h.
11424
adbb8027
SP
114252013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11426
ce544b5b
SP
11427 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11428 Include mpa.h and declare __MPEXP.
11429 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11430 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11431 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11432 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11433 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11434 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11435 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11436
4cc149fd
SP
11437 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11438 (__slowpow): Use long double EXPL and LOGL functions to
11439 compute POW.
11440 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11441 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11442 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11443 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11444 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11445 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11446
e6ebd4a7
SP
11447 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11448 intermediate variable to calculate exponent.
11449 (__sqr): Likewise.
11450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11451 Likewise.
11452 (__sqr): Likewise.
11453
82a9811d
SP
11454 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11455 [!NO__SQR]: Define __sqr.
11456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11457 and NO__SQR. Remove all code except __mul and __sqr. Include
11458 sysdeps/ieee754/dbl-64/mpa.c.
11459 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11460
adbb8027
SP
11461 [BZ #12723]
11462 * posix/Makefile (tests): Add tst-pathconf.
11463 * posix/tst-pathconf.c: New test case.
11464 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11465 _PC_PIPE_BUF.
11466 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11467
39120df9
PF
114682013-03-06 Patsy Franklin <pfrankli@redhat.com>
11469
11470 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11471
67525cb8
AJ
114722013-03-06 Andreas Jaeger <aj@suse.de>
11473
664a9ce4
AJ
11474 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11475 definition via __MAP_ANONYMOUS.
11476
8e39047d
AJ
11477 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11478 it's not part of Linux headers.
11479
67525cb8
AJ
11480 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11481 (MAP_HUGE_MASK): Define.
11482
11483 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11484 Define.
11485 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11486 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11487 Define.
11488 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11489 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11490 Define.
11491 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11492 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11493 Define.
11494 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11495
11496 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11497 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11498 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11499 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11500 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11501 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11502
11503 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11504 Handle f2fs.
11505
11506 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11507 Handle f2fs and efivarfs.
11508
11509 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11510 f2fs.
11511
11512 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11513 (EFIVARFS_MAGIC): Add.
11514 (F2FS_LINK_MAX): Add.
11515
e1b42695
PP
115162013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11517
11518 * stdio-common/vfprintf.c: Replace __builtin_expect with
11519 __glibc_unlikely.
11520
2d67d91a
JM
115212013-03-06 Joseph Myers <joseph@codesourcery.com>
11522
11523 [BZ #13550]
11524 * sysdeps/generic/bp-sym.h: Remove file.
11525 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11526 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11527 <bp-sym.h> and <bp-asm.h>.
11528 (__longjmp): Don't use BP_SYM.
11529 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11530 and <bp-asm.h>.
11531 (memcpy): Don't use BP_SYM.
11532 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11533 <bp-sym.h> and <bp-asm.h>.
11534 (memcpy): Don't use BP_SYM.
11535 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11536 <bp-asm.h>.
11537 (memcpy): Don't use BP_SYM.
11538 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11539 <bp-asm.h>.
11540 (memset): Don't use BP_SYM.
11541 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11542 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11543 (__bzero): Don't use BP_SYM.
11544 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11545 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11546 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11547 <bp-sym.h> and <bp-asm.h>.
11548 (memcmp): Don't use BP_SYM. Remove comment about bounded
11549 pointers.
11550 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11551 <bp-sym.h> and <bp-asm.h>.
11552 (memcpy): Don't use BP_SYM.
11553 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11554 <bp-sym.h> and <bp-asm.h>.
11555 (memset): Don't use BP_SYM.
11556 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11557 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11558 (__bzero): Don't use BP_SYM.
11559 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11560 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11561 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11562 <bp-sym.h> and <bp-asm.h>.
11563 (strncmp): Don't use BP_SYM. Remove comment about bounded
11564 pointers.
11565 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11566 <bp-sym.h> and <bp-asm.h>.
11567 (memcpy): Don't use BP_SYM.
11568 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11569 <bp-sym.h> and <bp-asm.h>.
11570 (memset): Don't use BP_SYM.
11571 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11572 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11573 (__bzero): Don't use BP_SYM.
11574 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11575 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11576 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11577 <bp-sym.h> and <bp-asm.h>.
11578 (__memchr): Don't use BP_SYM.
11579 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11580 <bp-sym.h> and <bp-asm.h>.
11581 (memcmp): Don't use BP_SYM. Remove comment about bounded
11582 pointers.
11583 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11584 <bp-sym.h> and <bp-asm.h>.
11585 (memcpy): Don't use BP_SYM.
11586 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11587 <bp-sym.h> and <bp-asm.h>.
11588 (__mempcpy): Don't use BP_SYM.
11589 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11590 <bp-sym.h> and <bp-asm.h>.
11591 (__memrchr): Don't use BP_SYM.
11592 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11593 <bp-sym.h> and <bp-asm.h>.
11594 (memset): Don't use BP_SYM.
11595 (__bzero): Likewise.
11596 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11597 <bp-sym.h> and <bp-asm.h>.
11598 (__rawmemchr): Don't use BP_SYM.
11599 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11600 <bp-sym.h> and <bp-asm.h>.
11601 (__STRCMP): Don't use BP_SYM.
11602 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11603 <bp-sym.h> and <bp-asm.h>.
11604 (strchr): Don't use BP_SYM.
11605 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11606 <bp-sym.h> and <bp-asm.h>.
11607 (__strchrnul): Don't use BP_SYM.
11608 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11609 <bp-sym.h> and <bp-asm.h>.
11610 (strlen): Don't use BP_SYM.
11611 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11612 <bp-sym.h> and <bp-asm.h>.
11613 (strncmp): Don't use BP_SYM. Remove comment about bounded
11614 pointers.
11615 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11616 <bp-sym.h> and <bp-asm.h>.
11617 (__strnlen): Don't use BP_SYM.
11618 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11619 <bp-sym.h> and <bp-asm.h>.
11620 (__GI__setjmp): Don't use BP_SYM.
11621 (_setjmp): Likewise.
11622 (__sigsetjmp): Likewise.
11623 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11624 (L(start_addresses)): Don't use BP_SYM.
11625 (_start): Likewise.
11626 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11627 <bp-asm.h>.
11628 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11629 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11630 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11631 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11632 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11633 <bp-asm.h>.
11634 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11635 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11636 about bounded pointers.
11637 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11638 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11639 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11640 <bp-asm.h>.
11641 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11642 about bounded pointers. Remove GKM FIXME comments.
11643 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11644 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11645 <bp-asm.h>.
11646 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11647 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11648 Remove GKM FIXME comments.
11649 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11650 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11651 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11652 <bp-asm.h>.
11653 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11654 about bounded pointers. Remove GKM FIXME comment.
11655 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11656 and <bp-asm.h>.
11657 (strncmp): Don't use BP_SYM. Remove comment about bounded
11658 pointers.
11659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11660 <bp-sym.h> and <bp-asm.h>.
11661 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11663 <bp-sym.h> and <bp-asm.h>.
11664 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11665 comment.
11666
cdcf361f
PP
116672013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11668
11669 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11670 call free(NULL).
11671
3c4a2b15
DM
116722013-03-05 David S. Miller <davem@davemloft.net>
11673
11674 * po/es.po: Update from translation team.
11675
cdcf361f 116762013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
11677
11678 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11679 <bits/mman-linux.h>.
11680 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11681 is fine.
11682 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11683 <bits/mman-linux.h> to end of file.
11684 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11685 is fine.
11686 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11687 <bits/mman-linux.h> to end of file.
11688 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11689 is fine.
11690 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11691 <bits/mman-linux.h> to end of file.
11692
11693 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11694 (MCL_CURRENT, MCL_FUTURE): Define here.
11695
5f67c04f
AK
116962013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11697
8a4473cc 11698 [BZ #15232]
5f67c04f
AK
11699 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11700 attribute_hidden.
11701 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11702
c3e94a95
AK
117032013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11704
11705 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11706 fourth parameter needed for rt_sigprocmask syscall.
11707 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11708 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11709 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11710 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11711 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11712 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11713
cfb6382a
JM
117142013-03-04 Joseph Myers <joseph@codesourcery.com>
11715
11716 [BZ #13550]
11717 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11718 comment about bounded pointers.
11719 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11720 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11721
539d8e01
AJ
117222013-03-04 Andreas Jaeger <aj@suse.de>
11723
11724 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11725 common definitions.
11726
11727 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11728 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11729 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11730 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11731 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
11732 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11733
2e167a70 117342013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
11735
11736 [BZ #15055]
11737 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11738 __ieee754_sqrl instead of __sqrl.
11739
68508633
JM
117402013-03-01 Joseph Myers <joseph@codesourcery.com>
11741
11742 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11743 * sysdeps/powerpc/fpu_control.h: ... here.
11744 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11745 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11746 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11747 * sysdeps/powerpc/bits/mathinline.h: ... here.
11748
7775448e
RM
117492013-03-01 Roland McGrath <roland@hack.frob.com>
11750
11751 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11752 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11753 to just [NEED_DL_SYSINFO_DSO].
11754 * elf/dl-support.c: Likewise.
11755 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11756 * elf/rtld.c (dl_main): Likewise.
11757 * elf/setup-vdso.h (setup_vdso): Likewise.
11758 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11759 * sysdeps/unix/sysv/linux/dl-sysdep.c
11760 (_dl_discover_osversion): Likewise.
11761
4e9b5995
CD
117622013-03-01 Carlos O'Donell <carlos@redhat.com>
11763
11764 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11765 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11766
e23872c8
SP
117672013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11768
e5c74c63
SP
11769 * NEWS: Mention libm performance improvements and non-x86 PI
11770 futex support.
11771
e23872c8
SP
11772 * csu/libc-start.c (__pthread_initialize_minimal): Change
11773 function arguments.
11774 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11775
b5510883
JM
117762013-02-28 Joseph Myers <joseph@codesourcery.com>
11777
11778 [BZ #13550]
11779 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11780 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11781 <bp-sym.h> and <bp-asm.h>.
11782 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11783 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11784 and <bp-asm.h>.
11785 (memcpy): Don't use BP_SYM.
11786 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11787 <bp-asm.h>.
11788 (__mpn_add_n): Don't use BP_SYM.
11789 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11790 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11791 and <bp-asm.h>.
11792 (__mpn_addmul_1): Don't use BP_SYM.
11793 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11794 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11795 <bp-sym.h>.
11796 (_setjmp): Don't use BP_SYM.
11797 (__novmx_setjmp): Likewise.
11798 (__GI__setjmp): Likewise.
11799 (__vmx_setjmp): Likewise.
11800 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11801 <bp-sym.h>.
11802 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11803 (__bzero): Don't use BP_SYM.
11804 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11805 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11806 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11807 <bp-sym.h> and <bp-asm.h>.
11808 (memcpy): Don't use BP_SYM.
11809 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11810 <bp-sym.h> and <bp-asm.h>.
11811 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11812 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11813 <bp-sym.h> and <bp-asm.h>.
11814 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11815 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11816 <bp-asm.h>.
11817 (__mpn_lshift): Don't use BP_SYM.
11818 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11819 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11820 <bp-asm.h>.
11821 (memset): Don't use BP_SYM.
11822 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11823 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11824 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11825 <bp-asm.h>.
11826 (__mpn_mul_1): Don't use BP_SYM.
11827 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11828 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11829 <bp-sym.h> and <bp-asm.h>.
11830 (memcmp): Don't use BP_SYM.
11831 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11832 <bp-sym.h> and <bp-asm.h>.
11833 (memcpy): Don't use BP_SYM.
11834 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11835 <bp-sym.h> and <bp-asm.h>.
11836 (memset): Don't use BP_SYM.
11837 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11838 <bp-sym.h> and <bp-asm.h>.
11839 (strncmp): Don't use BP_SYM.
11840 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11841 <bp-sym.h> and <bp-asm.h>.
11842 (memcpy): Don't use BP_SYM.
11843 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11844 <bp-sym.h> and <bp-asm.h>.
11845 (memset): Don't use BP_SYM.
11846 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11847 <bp-sym.h> and <bp-asm.h>.
11848 (__memchr): Don't use BP_SYM.
11849 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11850 <bp-sym.h> and <bp-asm.h>.
11851 (memcmp): Don't use BP_SYM.
11852 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11853 <bp-sym.h> and <bp-asm.h>.
11854 (memcpy): Don't use BP_SYM.
11855 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11856 <bp-sym.h> and <bp-asm.h>.
11857 (__mempcpy): Don't use BP_SYM.
11858 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11859 <bp-sym.h> and <bp-asm.h>.
11860 (__memrchr): Don't use BP_SYM.
11861 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11862 <bp-sym.h> and <bp-asm.h>.
11863 (memset): Don't use BP_SYM.
11864 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11865 <bp-sym.h> and <bp-asm.h>.
11866 (__rawmemchr): Don't use BP_SYM.
11867 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11868 <bp-sym.h> and <bp-asm.h>.
11869 (__STRCMP): Don't use BP_SYM.
11870 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11871 <bp-sym.h> and <bp-asm.h>.
11872 (strchr): Don't use BP_SYM.
11873 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11874 <bp-sym.h> and <bp-asm.h>.
11875 (__strchrnul): Don't use BP_SYM.
11876 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11877 <bp-sym.h> and <bp-asm.h>.
11878 (strlen): Don't use BP_SYM.
11879 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11880 <bp-sym.h> and <bp-asm.h>.
11881 (strncmp): Don't use BP_SYM.
11882 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11883 <bp-sym.h> and <bp-asm.h>.
11884 (__strnlen): Don't use BP_SYM.
11885 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11886 <bp-asm.h>.
11887 (__mpn_rshift): Don't use BP_SYM.
11888 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11889 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11890 <bp-sym.h> and <bp-asm.h>.
11891 (__sigsetjmp): Don't use BP_SYM.
11892 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11893 (L(start_addresses)): Don't use BP_SYM.
11894 (_start): Likewise.
11895 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11896 <bp-asm.h>.
11897 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11898 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11899 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11900 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11901 <bp-asm.h>.
11902 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11903 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11904 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11905 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11906 <bp-asm.h>.
11907 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11908 comments.
11909 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11910 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11911 <bp-asm.h>.
11912 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11913 FIXME comments.
11914 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11915 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11916 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11917 <bp-asm.h>.
11918 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11919 comment.
11920 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11921 and <bp-asm.h>.
11922 (strncmp): Don't use BP_SYM,
11923 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11924 <bp-asm.h>.
11925 (__mpn_sub_n): Don't use BP_SYM.
11926 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11927 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11928 and <bp-asm.h>.
11929 (__mpn_submul_1): Don't use BP_SYM.
11930 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11932 <bp-sym.h> and <bp-asm.h>.
11933 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11935 <bp-sym.h> and <bp-asm.h>.
11936 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11937 comment.
11938
8d19fe64
SP
119392013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11940
11941 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11942 Use ZK to minimize writes to Z.
11943 (sub_magnitudes): Simplify code a bit.
11944 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11945 Use ZK to minimize writes to Z.
11946 (sub_magnitudes): Simplify code a bit.
11947
85bd816a
RM
119482013-02-27 Roland McGrath <roland@hack.frob.com>
11949
11950 * csu/gmon-start.c: Add special exception to license text.
11951
b5977bf2
RH
119522013-02-27 Richard Henderson <rth@redhat.com>
11953
11954 * scripts/config.guess: Update from config.git.
11955 * scripts/config.sub: Likewise.
11956
11d6e2f2
SP
119572013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11958
09c14ed2
SP
11959 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11960
a688864e
SP
11961 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11962
6295157a
SP
11963 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11964
b8de2202
SP
11965 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11966
11d6e2f2
SP
11967 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11968
7e80ddb8
RM
119692013-02-26 Roland McGrath <roland@hack.frob.com>
11970
11971 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11972 [$(build-shared = yes].
7e80ddb8 11973
7da6d9ed
SP
119742013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11975
45f05884
SP
11976 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11977 (__mul): Reduce iterations for calculating mantissa.
11978
2236d359
SP
11979 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11980 MPTWO.
11981 (__mpranred): Likewise.
11982
7da6d9ed
SP
11983 [BZ #15160]
11984 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11985 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11986
b7688c42
PE
119872013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11988
11989 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11990 Define __attribute__.
11991
53a5c423
SP
119922013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11993
11994 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11995 unused.
11996 * posix/regex_internal.h (__attribute): Remove.
11997 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11998 (re_string_context_at): Likewise.
11999 (bitset_not): Use __attribute__ and mark function as possibly
12000 unused.
12001 (bitset_merge): Likewise.
12002 (bitset_mask): Likewise.
12003 (re_string_char_size_at): Likewise.
12004 (re_string_wchar_at): Likewise.
12005 (re_string_elem_size_at): Likewise.
12006
60f5a8b5
SP
120072013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12008
2a983a2e
SP
12009 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12010 code.
12011 (cc32): Likewise.
12012
e69804d1
SP
12013 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12014 (__acr): Likewise.
12015 (__cpy): Likewise.
12016 (norm): Likewise.
12017 (denorm): Likewise.
12018 (__dbl_mp): Likewise.
12019 (add_magnitudes): Likewise.
12020 (sub_magnitudes): Likewise.
12021 (__mul): Likewise.
12022 (__inv): Likewise.
12023
2f22a1e8
SP
12024 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12025 style.
12026
8930ddc7
SP
12027 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12028 style.
12029
dc60cb11
SP
12030 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12031 code.
12032
60f5a8b5
SP
12033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12034 up changes with default code.
12035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12036 Likewise.
12037
b4d1fd33
AM
120382013-02-24 Allan McRae <allan@archlinux.org>
12039
faf6f8bc
AM
12040 * manual/socket.texi (The Internet Namespace): Order menu items
12041 to match that in the file.
12042
b4d1fd33
AM
12043 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12044 node listing of the info page menu.
12045
2366713d
JM
120462013-02-21 Joseph Myers <joseph@codesourcery.com>
12047
12048 [BZ #13550]
12049 * sysdeps/i386/bp-asm.h: Remove file.
12050 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12051 (PARMS): Do not use macros from bp-asm.h.
12052 (S1): Likewise.
12053 (S2): Likewise.
12054 (SIZE): Likewise.
12055 (__mpn_add_n): Do not use BP_SYM
12056 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12057 "bp-asm.h".
12058 (PARMS): Do not use macros from bp-asm.h.
12059 (S1): Likewise.
12060 (SIZE): Likewise.
12061 (__mpn_addmul_1): Do not use BP_SYM
12062 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12063 "bp-asm.h".
12064 (PARMS): Do not use macros from bp-asm.h.
12065 (SIGMSK): Likewise.
12066 (_setjmp): Likewise. Do not use BP_SYM.
12067 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12068 "bp-asm.h".
12069 (PARMS): Do not use macros from bp-asm.h.
12070 (SIGMSK): Likewise.
12071 (setjmp): Likewise. Do not use BP_SYM.
12072 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12073 "bp-asm.h".
12074 (PARMS): Do not use macros from bp-asm.h.
12075 (__frexp): Do not use BP_SYM.
12076 (frexp): Likewise.
12077 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12078 "bp-asm.h".
12079 (PARMS): Do not use macros from bp-asm.h.
12080 (__frexpf): Do not use BP_SYM.
12081 (frexpf): Likewise.
12082 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12083 "bp-asm.h".
12084 (PARMS): Do not use macros from bp-asm.h.
12085 (__frexpl): Do not use BP_SYM.
12086 (frexpl): Likewise.
12087 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12088 "bp-asm.h".
12089 (PARMS): Do not use macros from bp-asm.h.
12090 (__remquo): Do not use BP_SYM.
12091 (remquo): Likewise.
12092 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12093 "bp-asm.h".
12094 (PARMS): Do not use macros from bp-asm.h.
12095 (__remquof): Do not use BP_SYM.
12096 (remquof): Likewise.
12097 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12098 "bp-asm.h".
12099 (PARMS): Do not use macros from bp-asm.h.
12100 (__remquol): Do not use BP_SYM.
12101 (remquol): Likewise.
12102 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12103 "bp-asm.h".
12104 (PARMS): Do not use macros from bp-asm.h.
12105 (DEST): Likewise.
12106 (SRC): Likewise.
12107 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12108 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12109 "bp-asm.h".
12110 (PARMS): Do not use macros from bp-asm.h.
12111 (strlen): Do not use BP_SYM.
12112 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12113 "bp-asm.h".
12114 (PARMS): Do not use macros from bp-asm.h.
12115 (S1): Likewise.
12116 (S2): Likewise.
12117 (SIZE): Likewise.
12118 (__mpn_add_n): Do not use BP_SYM.
12119 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12120 "bp-asm.h".
12121 (PARMS): Do not use macros from bp-asm.h.
12122 (S1): Likewise.
12123 (SIZE): Likewise.
12124 (__mpn_addmul_1): Do not use BP_SYM.
12125 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12126 weak_alias.
12127 (bzero): Likewise.
12128 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12129 "bp-asm.h".
12130 (PARMS): Do not use macros from bp-asm.h.
12131 (S): Likewise.
12132 (SIZE): Likewise.
12133 (__mpn_lshift): Do not use BP_SYM.
12134 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12135 "bp-asm.h".
12136 (PARMS): Do not use macros from bp-asm.h.
12137 (DEST): Likewise.
12138 (SRC): Likewise.
12139 (LEN): Likewise.
12140 (memcpy): Likewise. Do not use BP_SYM.
12141 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12142 libc_hidden_def and weak_alias.
12143 (mempcpy): Do not use BP_SYM in weak_alias.
12144 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12145 "bp-asm.h".
12146 (PARMS): Do not use macros from bp-asm.h.
12147 (DEST): Likewise.
12148 (LEN): Likewise.
12149 [!BZERO_P] (CHR): Likewise.
12150 (memset): Likewise. Do not use BP_SYM.
12151 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12152 "bp-asm.h".
12153 (PARMS): Do not use macros from bp-asm.h.
12154 (S1): Likewise.
12155 (SIZE): Likewise.
12156 (__mpn_mul_1): Do not use BP_SYM.
12157 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12158 "bp-asm.h".
12159 (PARMS): Do not use macros from bp-asm.h.
12160 (S): Likewise.
12161 (SIZE): Likewise.
12162 (__mpn_rshift): Do not use BP_SYM.
12163 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12164 "bp-asm.h".
12165 (PARMS): Do not use macros from bp-asm.h.
12166 (STR): Likewise.
12167 (CHR): Likewise.
12168 (strchr): Likewise. Do not use BP_SYM.
12169 (index): Do not use BP_SYM in weak_alias.
12170 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12171 "bp-asm.h".
12172 (PARMS): Do not use macros from bp-asm.h.
12173 (DEST): Likewise.
12174 (SRC): Likewise.
12175 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12176 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12177 "bp-asm.h".
12178 (PARMS): Do not use macros from bp-asm.h.
12179 (strlen): Do not use BP_SYM.
12180 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12181 "bp-asm.h".
12182 (PARMS): Do not use macros from bp-asm.h.
12183 (S1): Likewise.
12184 (S2): Likewise.
12185 (SIZE): Likewise.
12186 (__mpn_sub_n): Do not use BP_SYM.
12187 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12188 "bp-asm.h".
12189 (PARMS): Do not use macros from bp-asm.h.
12190 (S1): Likewise.
12191 (SIZE): Likewise.
12192 (__mpn_submul_1): Do not use BP_SYM.
12193 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12194 "bp-asm.h".
12195 (PARMS): Do not use macros from bp-asm.h.
12196 (S1): Likewise.
12197 (S2): Likewise.
12198 (SIZE): Likewise.
12199 (__mpn_add_n): Do not use BP_SYM.
12200 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12201 weak_alias.
12202 (bzero): Likewise.
12203 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12204 "bp-asm.h".
12205 (PARMS): Do not use macros from bp-asm.h.
12206 (BLK2): Likewise.
12207 (LEN): Likewise.
12208 (memcmp): Do not use BP_SYM.
12209 (bcmp): Do not use BP_SYM in weak_alias.
12210 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12211 "bp-asm.h".
12212 (PARMS): Do not use macros from bp-asm.h.
12213 (DEST): Likewise.
12214 (SRC): Likewise.
12215 (LEN): Likewise.
12216 (memcpy): Likewise. Do not use BP_SYM.
12217 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12218 "bp-asm.h".
12219 (PARMS): Do not use macros from bp-asm.h.
12220 (DEST): Likewise.
12221 (SRC): Likewise.
12222 (LEN): Likewise.
12223 (memmove): Likewise. Do not use BP_SYM.
12224 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12225 "bp-asm.h".
12226 (PARMS): Do not use macros from bp-asm.h.
12227 (DEST): Likewise.
12228 (SRC): Likewise.
12229 (LEN): Likewise.
12230 (__mempcpy): Likewise. Do not use BP_SYM.
12231 (mempcpy): Do not use BP_SYM in weak_alias.
12232 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12233 "bp-asm.h".
12234 (PARMS): Do not use macros from bp-asm.h.
12235 (DEST): Likewise.
12236 (LEN): Likewise.
12237 [!BZERO_P] (CHR): Likewise.
12238 (memset): Likewise. Do not use BP_SYM.
12239 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12240 "bp-asm.h".
12241 (PARMS): Do not use macros from bp-asm.h.
12242 (STR2): Likewise.
12243 (strcmp): Do not use BP_SYM.
12244 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12245 "bp-asm.h".
12246 (PARMS): Do not use macros from bp-asm.h.
12247 (STR): Likewise.
12248 (DELIM): Likewise.
12249 [USE_AS_STRTOK_R] (SAVE): Likewise.
12250 (FUNCTION): Likewise. Do not use BP_SYM.
12251 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12252 aliases.
12253 (strtok_r): Likewise.
12254 (__GI___strtok_r): Likewise.
12255 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12256 (PARMS): Do not use macros from bp-asm.h.
12257 (S): Likewise.
12258 (SIZE): Likewise.
12259 (__mpn_lshift): Do not use BP_SYM.
12260 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12261 (PARMS): Do not use macros from bp-asm.h.
12262 (STR): Likewise.
12263 (CHR): Likewise.
12264 (__memchr): Do not use BP_SYM.
12265 (memchr): Do not use BP_SYM in weak_alias.
12266 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12267 (PARMS): Do not use macros from bp-asm.h.
12268 (BLK2): Likewise.
12269 (LEN): Likewise.
12270 (memcmp): Do not use BP_SYM.
12271 (bcmp): Do not use BP_SYM in weak_alias.
12272 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12273 (PARMS): Do not use macros from bp-asm.h.
12274 (S1): Likewise.
12275 (SIZE): Likewise.
12276 (__mpn_mul_1): Do not use BP_SYM.
12277 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12278 "bp-asm.h".
12279 (PARMS): Do not use macros from bp-asm.h.
12280 (STR): Likewise.
12281 (CHR): Likewise.
12282 (__rawmemchr): Do not use BP_SYM.
12283 (rawmemchr): Do not use BP_SYM in weak_alias.
12284 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12285 (PARMS): Do not use macros from bp-asm.h.
12286 (S): Likewise.
12287 (SIZE): Likewise.
12288 (__mpn_rshift): Do not use BP_SYM.
12289 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12290 (PARMS): Do not use macros from bp-asm.h.
12291 (SIGMSK): Likewise.
12292 (__sigsetjmp): Likewise. Do not use BP_SYM.
12293 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12294 (_start): Do not use BP_SYM.
12295 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12296 (PARMS): Do not use macros from bp-asm.h.
12297 (DEST): Likewise.
12298 (SRC): Likewise.
12299 (__stpcpy): Likewise. Do not use BP_SYM.
12300 (stpcpy): Do not use BP_SYM in weak_alias.
12301 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12302 "bp-asm.h".
12303 (PARMS): Do not use macros from bp-asm.h.
12304 (DEST): Likewise.
12305 (SRC): Likewise.
12306 (LEN): Likewise.
12307 (__stpncpy): Likewise. Do not use BP_SYM.
12308 (stpncpy): Do not use BP_SYM in weak_alias.
12309 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12310 (PARMS): Do not use macros from bp-asm.h.
12311 (STR): Likewise.
12312 (CHR): Likewise.
12313 (strchr): Likewise. Do not use BP_SYM.
12314 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12315 "bp-asm.h".
12316 (PARMS): Do not use macros from bp-asm.h.
12317 (STR): Likewise.
12318 (CHR): Likewise.
12319 (__strchrnul): Likewise. Do not use BP_SYM.
12320 (strchrnul): Do not use BP_SYM in weak_alias.
12321 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12322 "bp-asm.h".
12323 (PARMS): Do not use macros from bp-asm.h.
12324 (STOP): Likewise.
12325 (strcspn): Do not use BP_SYM.
12326 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12327 "bp-asm.h".
12328 (PARMS): Do not use macros from bp-asm.h.
12329 (STR): Likewise.
12330 (STOP): Likewise.
12331 (strpbrk): Likewise. Do not use BP_SYM.
12332 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12333 "bp-asm.h".
12334 (PARMS): Do not use macros from bp-asm.h.
12335 (STR): Likewise.
12336 (CHR): Likewise.
12337 (strrchr): Likewise. Do not use BP_SYM.
12338 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12339 (PARMS): Do not use macros from bp-asm.h.
12340 (SKIP): Likewise.
12341 (strspn): Do not use BP_SYM.
12342 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12343 (PARMS): Do not use macros from bp-asm.h.
12344 (STR): Likewise.
12345 (DELIM): Likewise.
12346 (SAVE): Likewise.
12347 (FUNCTION): Likewise. Do not use BP_SYM.
12348 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12349 aliases.
12350 (strtok_r): Likewise.
12351 (__GI___strtok_r): Likewise.
12352 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12353 (PARMS): Do not use macros from bp-asm.h.
12354 (S1): Likewise.
12355 (S2): Likewise.
12356 (SIZE): Likewise.
12357 (__mpn_sub_n): Do not use BP_SYM.
12358 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12359 "bp-asm.h".
12360 (PARMS): Do not use macros from bp-asm.h.
12361 (S1): Likewise.
12362 (SIZE): Likewise.
12363 (__mpn_submul_1): Do not use BP_SYM.
12364 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12365 <bp-sym.h>.
12366 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12367 and <bp-asm.h>.
12368 (PARMS): Do not use macros from bp-asm.h.
12369 (FLAGS): Likewise.
12370 (PTID): Likewise.
12371 (TLS): Likewise.
12372 (CTID): Likewise.
12373 (__clone): Do not use BP_SYM.
12374 (clone): Do not use BP_SYM in weak_alias.
12375 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12376 and <bp-asm.h>.
12377 (PARMS): Do not use macros from bp-asm.h.
12378 (LEN): Likewise.
12379 (__mmap64): Do not use BP_SYM.
12380 (mmap64): Do not use BP_SYM in weak_alias.
12381 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12382 <bp-sym.h> and <bp-asm.h>.
12383 (PARMS): Do not use macros from bp-asm.h.
12384 (__posix_fadvise64_l64): Do not use BP_SYM.
12385 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12386 (PARMS): Do not use macros from bp-asm.h.
12387 (NSOPS): Likewise.
12388 (semtimedop): Do not use BP_SYM.
12389 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12390 and <bp-asm.h>.
12391
582a3cff
AM
123922013-02-21 Allan McRae <allan@archlinux.org>
12393
12394 * manual/message.texi (Charset conversion in gettext):
12395 Move @end statement to beginning of line.
12396
bab8a695
SP
123972013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12398
80945231
SP
12399 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12400 static.
12401 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12402 Likewise.
12403
bab8a695
SP
12404 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12405 (denorm): Likewise.
12406 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12407 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12408
e21d7aa7
AK
124092013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12410
12411 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12412 tail-call to the resolved function if pltexit isn't needed.
12413
4c7a4263
SP
124142013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12415
12416 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12417 or Y being zero as being unlikely.
12418 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12419 Likewise.
12420
41f49342
CD
124212013-02-20 Carlos O'Donell <carlos@redhat.com>
12422
12423 * manual/nss.texi (System Databases and Name Service Switch):
12424 Remove frobnicate @pxref.
12425
50022a93
TS
124262013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12427
12428 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12429 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12430
08cbd996
PM
124312013-02-20 Petr Machata <pmachata@redhat.com>
12432
12433 * elf/elf.h (R_ARM_TARGET1): New macro.
12434 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12435 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12436 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12437 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12438 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12439 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12440 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12441 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12442 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12443 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12444 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12445 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12446 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12447 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12448 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12449 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12450 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12451 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12452 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12453 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12454 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12455 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12456 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12457 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12458 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12459 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12460 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12461 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12462 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12463 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12464 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12465 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12466 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12467 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12468 (R_ARM_THM_GOT_BREL12): Likewise.
12469 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12470 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12471 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12472 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12473 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12474 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12475 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12476 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12477 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12478
c7b275d6
TS
124792013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12480
12481 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12482 __attribute_used__ to __attribute__ ((unused)).
12483
20cd7fb3
SP
124842013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12485
12486 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12487 powerpc mpa.c.
12488 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12489 comment formatting.
12490 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12491
92945b52
JM
124922013-02-19 Joseph Myers <joseph@codesourcery.com>
12493
12494 [BZ #13550]
12495 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12496 Remove macro.
12497 (ENTER): Remove both macro definitions.
12498 (LEAVE): Likewise.
12499 (CHECK_BOUNDS_LOW): Likewise.
12500 (CHECK_BOUNDS_HIGH): Likewise.
12501 (CHECK_BOUNDS_BOTH): Likewise.
12502 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12503 (RETURN_BOUNDED_POINTER): Likewise.
12504 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12505 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12506 (POP_ERRNO_LOCATION_RETURN): Likewise.
12507 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12508 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12509 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12510 macros.
12511 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12512 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12513 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12514 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12515 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12516 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12517 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12518 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12519 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12520 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12521 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12522 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12523 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12524 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12525 removed macros.
12526 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12527 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12528 macros.
12529 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12530 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12531 * sysdeps/i386/i586/memset.S (memset): Likewise.
12532 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12533 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12534 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12535 macros.
12536 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12537 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12538 Change uses of L(2) to L(out).
12539 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12540 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12541 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12542 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12543 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12544 removed macros.
12545 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12546 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12547 macros.
12548 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12549 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12550 (RETURN): Do not use macro LEAVE.
12551 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12552 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12553 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12554 * sysdeps/i386/i686/memset.S (memset): Likewise.
12555 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12556 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12557 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12558 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12559 Likewise.
12560 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12561 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12562 L(1_2) and L(1_3) into L(1).
12563 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12564 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12565 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12566 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12567 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12568 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12569 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12570 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12571 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12572 macros.
12573 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12574 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12575 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12576 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12577 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12578 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12579 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12580 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12581 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12582 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12583 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12584 * sysdeps/i386/strspn.S (strspn): Likewise.
12585 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12586 conditional code.
12587 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12588 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12589 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12590 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12591 L(1_3) into L(1_1).
12592 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12593 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12594 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12595 macros.
12596 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12597
2389741a
JJ
125982013-02-19 Jakub Jelinek <jakub@redhat.com>
12599
12600 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12601 macro.
12602
2016b3cd
SP
126032013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12604
e4f22324
SP
12605 * math/atest-exp.c (exp_mpn): Remove ROUND.
12606 * math/atest-exp2.c (exp_mpn): Likewise.
12607 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12608
2016b3cd
SP
12609 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12610 * stdlib/tst-tls-atexit-lib.c: Likewise.
12611 * stdlib/tst-tls-atexit.c: Likewise.
12612
4be9b544
MF
126132013-02-18 Mike Frysinger <vapier@gentoo.org>
12614
12615 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12616 and __attribute_alloc_size__.
12617
2f62b9ee
MF
126182013-02-18 Mike Frysinger <vapier@gentoo.org>
12619
12620 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12621 __attribute_alloc_size__.
12622 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12623 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12624
6ff444c4
MF
126252013-02-18 Mike Frysinger <vapier@gentoo.org>
12626
12627 * include/programs/xmalloc.h: New file.
12628 * catgets/gencat.c: Include it.
12629 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12630 * elf/pldd.c: Likewise.
12631 * iconv/iconv_charmap.c: Likewise.
12632 * iconv/iconvconfig.c: Likewise.
12633 * iconv/strtab.c: Likewise.
12634 * locale/programs/locale.c: Likewise.
12635 * locale/programs/localedef.h: Likewise.
12636 * locale/programs/simple-hash.c: Likewise.
12637 * nscd/nscd.h: Likewise.
12638 * nss/makedb.c: Likewise.
12639 * sysdeps/generic/ldconfig.h: Likewise.
12640
be179c8a
SP
126412013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12642
ba384f6e
SP
12643 * Versions.def: Add GLIBC_2.18.
12644 * include/link.h (struct link_map): New member l_tls_dtor_count.
12645 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12646 (__call_tls_dtors): Likewise.
12647 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12648 __cxa_thread_atexit_impl.
12649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12650 Likewise.
12651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12652 Likewise.
12653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12654 Likewise.
12655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12656 Likewise.
12657 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12659 Likewise.
12660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12661 Likewise.
12662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12664 Likewise.
12665 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12666 (tests): Add test case tst-tls-atexit.
12667 (modules-names): Add shared library for tst-tls-atexit.
85891aca 12668 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
12669 (GLIBC_PRIVATE): Add __call_tls_dtors.
12670 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12671 for libstdc++.
12672 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12673 * stdlib/tst-tls-atexit.c: New test case.
12674 * stdlib/tst-tls-atexit-lib.c: New test case.
12675
ffaa74cf 12676 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 12677
be179c8a
SP
12678 * elf/Versions (ld): Add _dl_find_dso_for_object.
12679 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12680 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12681 (dl_open_worker): Use _dl_find_dso_for_object.
12682 * elf/dl-sym.c (do_sym): Likewise.
12683 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12684
f78b5caa
AK
126852013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12686
12687 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12688 Syntactic changes only.
12689 (_dl_runtime_profile): Do a tail-call to the resolved function.
12690
29691210
JM
126912013-02-17 Joseph Myers <joseph@codesourcery.com>
12692
12693 [BZ #13550]
12694 * sysdeps/x86_64/bp-asm.h: Remove file.
12695 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12696 <bp-sym.h> and <bp-asm.h>.
12697 (__clone): Do not use BP_SYM.
12698 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12699 <bp-sym.h> and <bp-asm.h>.
12700 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12701 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12702 "bp-asm.h".
12703 (_setjmp): Do not use BP_SYM.
12704 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12705 "bp-asm.h".
12706 (setjmp): Do not use BP_SYM.
12707 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12708 libc_hidden_def.
12709 (mempcpy): Do not use BP_SYM in weak_alias.
12710 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12711 "bp-asm.h".
12712 (strchr): Do not use BP_SYM.
12713 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12714 "bp-asm.h".
12715 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12716 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12717 (_start): Do not use BP_SYM.
12718 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12719 "bp-asm.h".
12720 (strcat): Do not use BP_SYM.
12721 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12722 "bp-asm.h".
12723 (STRCMP): Do not use BP_SYM.
12724 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12725 "bp-asm.h".
12726 (STRCPY): Do not use BP_SYM.
12727 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12728 "bp-asm.h".
12729 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12730 "bp-asm.h".
12731 (FUNCTION): Do not use BP_SYM.
12732 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12733 weak_alias.
12734 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12735
f238fd19
AJ
127362013-02-17 Andreas Jaeger <aj@suse.de>
12737
12738 * time/Versions: Sort entries.
12739 * string/Versions: Likewise.
12740 * resolv/Versions: Likewise.
12741 * posix/Versions: Likewise.
12742 * iconv/Versions: Likewise.
12743 * elf/Versions: Likewise.
12744 * wcsmbs/Versions: Likewise.
12745
bd07f23c 127462013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 12747
22af19f9
SP
12748 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12749 loop termination condition.
12750
4709fe76
SP
12751 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12752 variable to calculate EZ.
12753 (__sqr): Likewise.
2d0e0f29
SP
12754
12755 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12756 the lower precision input.
12757
daaa7713
JM
127582013-02-15 Joseph Myers <joseph@codesourcery.com>
12759
12760 [BZ #13550]
12761 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12762 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12763 (run-via-rtld-prefix): Do not handle %-bp tests.
12764 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12765 (all-object-suffixes): Remove .ob.
12766 (bppfx): Remove variable.
12767 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12768 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12769 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12770 [$(build-bounded) = yes] (libtype.ob): Likewise.
12771 * Makerules (elide-routines.ob): Remove variable.
12772 (do-tests-clean): Do not handle *-bp.out.
12773 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12774 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12775 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12776 (tests): Do not include $(tests-bp.out).
12777 (xtests): Do not include $(xtests-bp.out).
12778 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12779 [$(build-bounded) = yes] ($(addprefix
12780 $(objpfx),$(binaries-bounded))): Remove rule.
12781 ($(objpfx)%-bp.out): Remove rule.
12782 * config.make.in (build-bounded): Remove variable.
12783 * crypt/Makefile [$(build-bounded) = yes]
12784 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12785 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12786 append to variable.
12787 [$(build-bounded) = yes] (install-lib): Likewise.
12788 [$(build-bounded) = yes] (generated): Likewise.
12789 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12790 Remove rule.
12791 * intl/Makefile [$(build-bounded) = yes]
12792 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12793 * math/Makefile [$(build-bounded) = yes]
12794 ($(tests:%=$(objpfx)%-bp): Likewise.
12795 * misc/Makefile [$(build-bounded) = yes]
12796 ($(objpfx)tst-tsearch-bp): Likewise.
12797 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12798 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12799 Remove dependency.
12800 * string/Makefile (o-objects.ob): Remove variable.
12801 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12802 (CFLAGS-.ob): Remove variable.
12803 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12804 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12805 both definitions of variable.
12806 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12807 (ASFLAGS-.ob): Remove variable.
12808
e97ed6dd
JM
128092013-02-14 Joseph Myers <joseph@codesourcery.com>
12810
2bdd4ca6
JM
12811 [BZ #13550]
12812 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12813 Remove __BOUNDED_POINTERS__ from condition.
12814 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12815 * string/bits/string2.h [!__NO_STRING_INLINES &&
12816 !__BOUNDED_POINTERS__]: Likewise.
12817 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12818 Likewise.
12819 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12820 Remove conditional code.
12821 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12822 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12823 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12824 condition.
12825
e97ed6dd
JM
12826 [BZ #13550]
12827 * csu/libc-start.c: Do not include <bp-sym.h>.
12828 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12829 * elf/dl-open.c: Do not include <bp-sym.h>.
12830 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12831 * math/fegetenv.c: Do not include <bp-sym.h>.
12832 (fegetenv): Do not use BP_SYM in versioned symbols.
12833 * nptl/sysdeps/pthread/bits/libc-lockP.h
12834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12835 <bp-sym.h>.
12836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12837 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12839 (__pthread_mutex_destroy): Likewise.
12840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12841 (__pthread_mutex_lock): Likewise.
12842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12843 (__pthread_mutex_trylock): Likewise.
12844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12845 (__pthread_mutex_unlock): Likewise.
12846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12847 (__pthread_mutexattr_init): Likewise.
12848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12849 (__pthread_mutexattr_destroy): Likewise.
12850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12851 (__pthread_mutexattr_settype): Likewise.
12852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12853 (__pthread_rwlock_init): Likewise.
12854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12855 (__pthread_rwlock_destroy): Likewise.
12856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12857 (__pthread_rwlock_rdlock): Likewise.
12858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12859 (__pthread_rwlock_tryrdlock): Likewise.
12860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12861 (__pthread_rwlock_wrlock): Likewise.
12862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12863 (__pthread_rwlock_trywrlock): Likewise.
12864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12865 (__pthread_rwlock_unlock): Likewise.
12866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12867 (__pthread_key_create): Likewise.
12868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12869 (__pthread_setspecific): Likewise.
12870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12871 (__pthread_getspecific): Likewise.
12872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12873 Likewise.
12874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12875 (_pthread_cleanup_push_defer): Likewise.
12876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12877 (_pthread_cleanup_pop_restore): Likewise.
12878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12879 (pthread_setcancelstate): Likewise.
12880 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12881 <bp-sym.h>.
12882 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12883 (memchr): Do not use BP_SYM in weak_alias.
12884 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12885 (fegetenv): Do not use BP_SYM in versioned symbols.
12886 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12887 (fesetenv): Do not use BP_SYM in versioned symbols.
12888 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12889 (feupdateenv): Do not use BP_SYM in versioned symbols.
12890 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12891 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12892 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12893 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12894 (open64): Do not use BP_SYM in weak_alias.
12895 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12896 (fegetenv): Do not use BP_SYM in versioned symbols.
12897 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12898 (fesetenv): Do not use BP_SYM in versioned symbols.
12899 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12900 (feupdateenv): Do not use BP_SYM in versioned symbols.
12901 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12902 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12903 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12904 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12905 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12906 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12907 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12908 <bp-sym.h>.
12909 (__libc_start_main): Do not use BP_SYM.
12910
d6752ccd
SP
129112013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12912
cb57ce60
SP
12913 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12914 redundant return line.
12915 (norm): Likewise.
12916 (denorm): Likewise.
12917 (dbl_mp): Likewise.
12918 (sub_magnitudes): Likewise.
12919 (__add): Likewise.
12920 (__sub): Likewise.
12921 (__mul): Likewise.
12922 (__inv): Likewise.
12923 (__dvd): Likewise.
12924 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12925 (norm): Likewise.
12926 (denorm): Likewise.
12927 (dbl_mp): Likewise.
12928 (sub_magnitudes): Likewise.
12929 (__add): Likewise.
12930 (__sub): Likewise.
12931 (__mul): Likewise.
12932 (__inv): Likewise.
12933 (__dvd): Likewise.
12934
f414520d
SP
12935 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12936 instead of __mul.
12937 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12938 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12939 (cc32): Likewise.
12940
d6752ccd
SP
12941 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12942 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12943 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12944 of __mul for squares.
12945 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12946 function
12947 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12948 Likewise.
12949 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12950 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12951
70d9946a
JM
129522013-02-13 Joseph Myers <joseph@codesourcery.com>
12953
12954 [BZ #13550]
12955 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12956 code.
12957 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12958 prototype or function definition. Rename ubp_* variables and
12959 parameters. Remove argv definitions conditional on
12960 [__BOUNDED_POINTERS__].
12961 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12962 * elf/dl-runtime.c (_dl_fixup): Likewise.
12963 * include/set-hooks.h (RUN_HOOK): Likewise.
12964 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12965 definition.
12966 * string/strcpy.c (strcpy): Do not use __unbounded.
12967 * sysdeps/generic/frame.h (struct layout): Likewise.
12968 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12969 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12970 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12971 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12972 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12973 (__backtrace): Likewise.
12974 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12975 use __ptrvalue.
12976 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12977 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12978 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12979 Likewise.
12980 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12981 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12982 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12983 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12984 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12985 Do not use __unbounded.
12986 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12987 Rename __unboundedrlimits parameter to rlimits in prototype.
12988 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12989 Do not use __unbounded.
12990 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12991 not use __ptrvalue.
12992 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12993 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12994 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12995 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12996 __ptrvalue or __unbounded.
12997 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12998 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12999 use __unbounded.
13000 (__new_msgctl): Do not use __ptrvalue.
13001 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13002 __unbounded.
13003 (__libc_msgrcv): Do not use __ptrvalue.
13004 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13005 startup_info): Do not use __unbounded.
13006 (__libc_start_main): Likewise. Rename ubp_* variables and
13007 parameters. Remove argv definitions conditional on
13008 [__BOUNDED_POINTERS__].
13009 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13010 __ptrvalue.
13011 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13012 use __unbounded.
13013 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13014 or __ptrvalue.
13015 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13016 use __unbounded.
13017 (__new_shmctl): Do not use __ptrvalue.
13018 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13019 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13020 Likewise.
13021 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13022 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13023 (__libc_sigaction): Likewise.
13024 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13025 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13026 Likewise.
13027 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13028
cc7834d6
OB
130292013-02-13 Ondřej Bílka <neleai@seznam.cz>
13030
ffb1ec7b 13031 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
13032
13033 * string/mempcpy.c: Implement by calling memcpy.
13034
bdf02814
SP
130352013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13036
c2af38aa
SP
13037 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13038
4e92d59e
SP
13039 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13040 evaluation.
13041
909279a5
SP
13042 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13043 values in the mantissa.
13044
bdf02814
SP
13045 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13046 minimize writes to Z.
13047 (sub_magnitudes): Simplify code a bit.
13048
cd525923
RM
130492013-02-12 Roland McGrath <roland@hack.frob.com>
13050
13051 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13052 from the message. The linker prefixes all warnings with that already.
13053
7e2f0d2d
AS
130542013-02-12 Andreas Schwab <schwab@suse.de>
13055
a445af0b
AS
13056 [BZ #15078]
13057 * posix/regexec.c (extend_buffers): Add parameter min_len.
13058 (check_matching): Pass minimum needed length.
13059 (clean_state_log_if_needed): Likewise.
13060 (get_subexp): Likewise.
13061 * posix/Makefile (tests): Add bug-regex34.
13062 (bug-regex34-ENV): Define.
13063 * posix/bug-regex34.c: New file.
13064
7e2f0d2d
AS
13065 [BZ #11561]
13066 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13067 elements compare against the byte sequence of it, not its name.
13068 * posix/Makefile (tests): Add bug-regex35.
13069 (bug-regex35-ENV): Define.
13070 * posix/bug-regex35.c: New file.
13071
a175b684
TV
130722013-02-11 Tom de Vries <tom@codesourcery.com>
13073
13074 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13075 comment.
13076 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13077 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13078 (CHECK_EOL): Add undef.
13079
310998fe 130802013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
13081
13082 * bits/stdlib-bsearch.h: New file.
13083 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 13084 * stdlib/stdlib.h: Likewise.
41eda41d 13085
8ded91fb
RM
130862013-02-11 Roland McGrath <roland@hack.frob.com>
13087
13088 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13089 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13090 declaration.
13091 * manual/search.texi (Array Search Function): Add missing const in
13092 lfind prototype.
13093 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13094 declaration to use rlim_t.
13095 (Basic Scheduling Functions): Remove erroneous const from
13096 sched_getparam prototype. Remove erroneous * from
13097 sched_get_priority_max and sched_get_priority_min prototypes.
13098 (Resource Usage): Fix summary @comment on vtimes to refer to
13099 sys/vtimes.h rather than vtimes.h.
13100 Add missing *s in vtimes prototype.
13101 (Limits on Resources): Fix ulimit prototype to return long int.
13102 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13103 prototypes to use long int rather than double.
13104 (BSD Random): Fix initstate and setstate to use char *, not void *.
13105 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13106 prototype to make second argument 'struct aiocb64 *const[]'.
13107 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13108 (Status of AIO Operations): Remove erroneous const in aio_return and
13109 aio_return64 prototypes.
13110 (Synchronizing I/O): Fix sync prototype to return void.
13111 * manual/startup.texi (Suboptions): Remove an erroneous const in
13112 getsubopt prototype.
13113 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13114 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13115 use size_t rather than int.
13116 (Scanning All Users): Likewise for getpwent_r.
13117 (Setting Groups): Add missing const to setgroups prototype.
13118 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13119 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13120 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13121 'const void *' rather than 'const char *'.
13122 (Host Address Functions): Likewise for inet_ntop.
13123 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13124 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13125 ssize_t for return value.
13126 (Sending Data): Likewise for send, sendto, sendmsg.
13127 (Socket Option Functions): Add a missing const in setsockopt prototype.
13128 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13129 use wchar_t for the argument.
13130 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13131 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13132 take no arguments.
13133 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13134 double/float/long double for second argument.
13135 Fix return types of significand, significandf, significandl.
13136 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13137 argument in fchmod prototype.
13138 (File Owner): Use uid_t and gid_t in fchown prototype.
13139 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13140 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13141 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13142 use 'const struct dirent **' as argument types to CMP function pointer
13143 argument.
13144 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13145 (File Times): Fix summary magic @comment for struct utimbuf and utime
13146 to refer to utime.h, not time.h.
13147 * manual/string.texi (Argz Functions): Add missing const in
13148 argz_extract and argz_next prototypes.
13149 (Finding Tokens in a String): Likewise for basename.
13150 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13151 (Copying and Concatenation): Fix typo in wmemmove prototype.
13152 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13153 (Signal Stack): Remove erroneous const in sigstack prototype.
13154 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13155 prototype.
13156 (Simple Calendar Time): Likewise for stime.
13157 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13158 prototype.
13159 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13160 say sys/sysctl.h instead.
13161 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13162 and vsyslog prototypes.
13163
fe77fe6d
TV
131642013-02-11 Tom de Vries <tom@codesourcery.com>
13165
13166 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13167 Remove.
13168
3a09b620
RM
131692013-02-11 Roland McGrath <roland@hack.frob.com>
13170
13171 * misc/sys/mman.h: Fix typo in mremap comment.
13172
550a0b89
RM
131732013-02-08 Roland McGrath <roland@hack.frob.com>
13174
13175 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13176 the '\0' terminator.
13177
a2da1673
JM
131782013-02-08 Joseph Myers <joseph@codesourcery.com>
13179
13180 [BZ #13550]
13181 * debug/segfault.c: Don't include <bp-checks.h>.
13182 * sysdeps/generic/bp-checks.h: Remove file.
13183 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13184 (__GETDENTS): Don't use CHECK_N.
13185 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13186 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13187 (__getgroups): Don't use CHECK_N.
13188 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13189 (setgroups): Don't use CHECK_N.
13190 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13191 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13192 (__libc_msgrcv): Don't use CHECK_N.
13193 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13194 (__libc_msgsnd): Don't use CHECK_N.
13195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13196 <bp-checks.h>.
13197 (__libc_pread): Don't use CHECK_N.
13198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13199 include <bp-checks.h>.
13200 (__libc_pread64): Don't use CHECK_N.
13201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13202 include <bp-checks.h>.
13203 (__libc_pwrite): Don't use CHECK_N.
13204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13205 include <bp-checks.h>.
13206 (__libc_pwrite64): Don't use CHECK_N.
13207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13208 <bp-checks.h>.
13209 (__libc_pread): Don't use CHECK_N.
13210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13211 include <bp-checks.h>.
13212 (__libc_pread64): Don't use CHECK_N.
13213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13214 include <bp-checks.h>.
13215 (__libc_pwrite): Don't use CHECK_N.
13216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13217 include <bp-checks.h>.
13218 (__libc_pwrite64): Don't use CHECK_N.
13219 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13220 (do_pread): Don't use CHECK_N.
13221 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13222 (do_pread64): Don't use CHECK_N.
13223 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13224 (do_pwrite): Don't use CHECK_N.
13225 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13226 (do_pwrite64): Don't use CHECK_N.
13227 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13228 (__libc_readv): Don't use CHECK_N.
13229 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13230 (semop): Don't use CHECK_N.
13231 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13232 <bp-checks.h>.
13233 (semtimedop): Don't use CHECK_N.
13234 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13235 (__libc_pread): Don't use CHECK_N.
13236 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13237 <bp-checks.h>.
13238 (__libc_pread64): Don't use CHECK_N.
13239 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13240 <bp-checks.h>.
13241 (__libc_pwrite): Don't use CHECK_N.
13242 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13243 <bp-checks.h>.
13244 (__libc_pwrite64): Don't use CHECK_N.
13245 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13246 <bp-checks.h>.
13247 (__libc_msgrcv): Don't use CHECK_N.
13248 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13249 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13250 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13251 (__libc_writev): Don't use CHECK_N.
13252
b84660a8
RM
132532013-02-08 Roland McGrath <roland@hack.frob.com>
13254
7f3e75f8
RM
13255 * string/strcpy.c: Removed unused variable.
13256
b84660a8
RM
13257 * Makeconfig (+sysdep-includes): Define with := rather than =.
13258 Use an existing include/ subdir of each sysdeps dir before it.
13259
471514d3
CD
132602013-02-08 Carlos O'Donell <carlos@redhat.com>
13261
13262 * nscd/connection.c (register_traced_file): Comment function.
13263 [HAVE_INOTIFY] (union __inev): Define.
13264 [HAVE_INOTIFY] (inotify_check_files): New function.
13265 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13266 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13267 clear_db_cache.
13268 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13269
b2d3c3be
CD
132702013-02-08 Carlos O'Donell <carlos@redhat.com>
13271
13272 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13273 loaded if not already and that a failure is permanent.
13274
b39949d2
CD
132752013-02-08 Carlos O'Donell <carlos@redhat.com>
13276
ddacd1db 13277 [BZ #15006]
b39949d2
CD
13278 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13279 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13280
b2c9eff4
JM
132812013-02-08 Joseph Myers <joseph@codesourcery.com>
13282
f3aae3f3
JM
13283 [BZ #13550]
13284 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13285 (CHECK_1_NULL_OK): Likewise.
13286 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13287 (__fxstat): Do not use CHECK_1.
13288 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13289 <bp-checks.h>.
13290 (___fxstat64): Do not use CHECK_1.
13291 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13292 <bp-checks.h>.
13293 (__fxstatat): Do not use CHECK_1.
13294 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13295 <bp-checks.h>.
13296 (__fxstatat64): Do not use CHECK_1.
13297 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13298 <bp-checks.h>.
13299 (__fxstat): Do not use CHECK_1.
13300 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13301 <bp-checks.h>.
13302 (__fxstatat): Do not use CHECK_1.
13303 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13304 <bp-checks.h>.
13305 (__getresgid): Do not use CHECK_1.
13306 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13307 <bp-checks.h>.
13308 (__getresuid): Do not use CHECK_1.
13309 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13310 <bp-checks.h>.
13311 (__lxstat): Do not use CHECK_1.
13312 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13313 <bp-checks.h>.
13314 (__old_msgctl): Do not use CHECK_1.
13315 (__new_msgctl): Likewise.
13316 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13317 <bp-checks.h>.
13318 (__new_setrlimit): Do not use CHECK_1.
13319 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13320 <bp-checks.h>.
13321 (__old_shmctl): Do not use CHECK_1.
13322 (__new_shmctl): Likewise.
13323 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13324 <bp-checks.h>.
13325 (__xstat): Do not use CHECK_1.
13326 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13327 (__lxstat): Do not use CHECK_1.
13328 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13329 <bp-checks.h>.
13330 (___lxstat64): Do not use CHECK_1.
13331 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13332 (__old_msgctl): Do not use CHECK_1.
13333 (__new_msgctl): Likewise.
13334 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13335 <bp-checks.h>.
13336 (__gettimeofday): Do not use CHECK_1.
13337 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13338 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13339 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13340 <bp-checks.h>.
13341 (__gettimeofday): Do not use CHECK_1.
13342 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13343 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13344 (__new_shmctl): Do not use CHECK_1.
13345 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13346 <bp-checks.h>.
13347 (do_sigtimedwait): Do not use CHECK_1.
13348 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13349 <bp-checks.h>.
13350 (do_sigwaitinfo): Do not use CHECK_1.
13351 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13352 <bp-checks.h>.
13353 (msgctl): Do not use CHECK_1.
13354 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13355 <bp-checks.h>.
13356 (shmctl): Do not use CHECK_1.
13357 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13358 (ustat): Do not use CHECK_1.
13359 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13360 <bp-checks.h>.
13361 (__fxstat): Do not use CHECK_1.
13362 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13363 <bp-checks.h>.
13364 (__fxstatat): Do not use CHECK_1.
13365 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13366 <bp-checks.h>.
13367 (__lxstat): Do not use CHECK_1.
13368 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13369 <bp-checks.h>.
13370 (__xstat): Do not use CHECK_1.
13371 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13372 (__xstat): Do not use CHECK_1.
13373 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13374 (___xstat64): Do not use CHECK_1.
13375
b2c9eff4
JM
13376 [BZ #13550]
13377 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13378 definitions.
13379 (CHECK_BOUNDS_HIGH): Likewise.
13380 * string/strcpy.c: Do not include <bp-checks.h>.
13381 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13382
f1d70dad
RM
133832013-02-07 Roland McGrath <roland@hack.frob.com>
13384
13385 * nscd/nscd-client.h (__nscd_drop_map_ref):
13386 Add __attribute__ ((unused)).
13387 * nis/nss-nisplus.h (niserr2nss): Likewise.
13388
13389 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13390 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13391
13392 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13393 Remove inline keyword.
13394 * include/rounding-mode.h (round_away): Likewise.
13395 * libio/wfileops.c (adjust_wide_data): Likewise.
13396 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13397 (__m128i_strloadu_tolower): Likewise.
13398 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13399 (__m128i_strloadu_tolower): Likewise.
13400 * time/mktime.c (ydhms_diff): Likewise.
13401 * locale/elem-hash.h (elem_hash): Likewise.
13402 * locale/setlocale.c (setdata): Likewise.
13403 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13404 (re_string_wchar_at): Likewise.
13405 (bitset_not, bitset_merge, bitset_mask): Likewise.
13406 [!(__GNUC__ > 3)] (inline): Remove macro.
13407 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13408 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13409 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13410 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13411 * string/memcmp.c (memcmp_bytes): Likewise.
13412 * locale/programs/locarchive.c (compute_hashval): Likewise.
13413 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13414 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13415 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13416 * nss/getent.c (print_rpc, print_protocols): Likewise.
13417 (print_passwd, print_group, print_aliases): Likewise.
13418 * nis/nss-nisplus.h (niserr2nss): Likewise.
13419 * nscd/connections.c (restart_p): Likewise.
13420 Change return type to bool.
13421
eab55bfb
RM
134222013-02-05 Roland McGrath <roland@hack.frob.com>
13423
7bd642f5
RM
13424 * Makeconfig (all-Depend-files): Add existing
13425 $(sorted-subdirs:=/Depend) files.
13426 (all-subdirs): Remove nss.
13427 * sysdeps/unix/inet/Subdirs: Add it here instead.
13428 * hesiod/Depend: New file.
13429
573c29b2
RM
13430 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13431 instead of calling alloca.
13432
b2e25af0
RM
13433 * io/lseek.c (__lseek): Rename to __libc_lseek.
13434 Define __lseek as an alias.
13435
eab55bfb
RM
13436 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13437
9a0d1941
CD
134382013-02-04 Carlos O'Donell <carlos@redhat.com>
13439
13440 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13441 else clause and remove check for non-standard endianness.
13442
b83bbec4
DM
134432013-02-04 David S. Miller <davem@davemloft.net>
13444
13445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13446
6277fdab
JM
134472013-02-04 Joseph Myers <joseph@codesourcery.com>
13448
13449 [BZ #13550]
13450 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13451 (__ubp_memchr): Remove prototype.
13452 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13453 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13454 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13455 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13456 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13457 Remove alias.
13458 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13459 (__ubp_memchr): Likewise.
13460 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13461 (__ubp_memchr): Likewise.
13462 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13463 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13464 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13465 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13466 CHECK_STRING.
13467 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13468 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13469 (__getcwd): Do not use CHECK_STRING.
13470 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13471 <bp-checks.h>.
13472 (__real_chown): Do not use CHECK_STRING.
13473 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13474 <bp-checks.h>.
13475 (fchownat): Do not use CHECK_STRING.
13476 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13477 CHECK_STRING.
13478 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13479 <bp-checks.h>.
13480 (__lchown): Do not use CHECK_STRING.
13481 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13482 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13483 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13484 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13486 include <bp-checks.h>.
13487 (truncate64): Do not use CHECK_STRING.
13488 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13489 <bp-checks.h>.
13490 (__real_chown): Do not use CHECK_STRING.
13491 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13492 <bp-checks.h>.
13493 (__lchown): Do not use CHECK_STRING.
13494 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13495 <bp-checks.h>.
13496 (__chown): Do not use CHECK_STRING.
13497 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13498 <bp-checks.h>.
13499 (truncate64): Do not use CHECK_STRING.
13500 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13501 Likewise.
13502 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13503 (__xmknod): Do not use CHECK_STRING.
13504 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13505 <bp-checks.h>.
13506 (__xmknodat): Do not use CHECK_STRING.
13507 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13508 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13509
903ae060
AS
135102013-02-04 Andreas Schwab <schwab@suse.de>
13511
13512 [BZ #14142]
13513 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13514 * include/netdb.h: Likewise for h_errno.
13515 * elf/tst-stackguard1.c: Include <tls.h>.
13516
542f9466
JK
135172013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13518
13519 * elf/link.h (struct link_map): Extend the l_addr comment.
13520 * include/link.h (struct link_map): Likewise.
13521
e782a927
JM
135222013-02-01 Joseph Myers <joseph@codesourcery.com>
13523
13524 [BZ #13550]
13525 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13526 (BOUNDED_1): Remove macro.
13527 * debug/backtrace.c: Don't include <bp-checks.h>.
13528 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13529 (__backtrace): Likewise.
13530 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13531 <bp-checks.h>.
13532 (__backtrace): Don't use BOUNDED_1.
13533 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13534 <bp-checks.h>.
13535 (__backtrace): Don't use BOUNDED_1.
13536 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13537 (__backtrace): Don't use BOUNDED_1.
13538 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13539 (shmat): Don't use BOUNDED_N.
13540
8cf28c5e
JM
135412013-01-31 Joseph Myers <joseph@codesourcery.com>
13542
3a7ac8a0
JM
13543 [BZ #13550]
13544 * sysdeps/generic/bp-start.h: Remove file.
13545 * csu/libc-start.c: Don't include <bp-start.h>.
13546 (LIBC_START_MAIN): Set up __environ directly instead of using
13547 INIT_ARGV_and_ENVIRON.
13548 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13549 <bp-start.h>.
13550
f3499f95
JM
13551 [BZ #13550]
13552 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13553 definitions.
13554 (CHECK_FCNTL): Likewise.
13555 (CHECK_N_PAGES): Likewise.
13556
32a45bea
JM
13557 [BZ #13550]
13558 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13559 definitions.
13560 (CHECK_SIGSET_NULL_OK): Likewise.
13561 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13562 <bp-checks.h>.
13563 (sigpending): Don't use CHECK_SIGSET.
13564 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13565 <bp-checks.h>.
13566 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13567 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13568 <bp-checks.h>.
13569 (do_sigsuspend): Don't use CHECK_SIGSET.
13570 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13571 use CHECK_SIGSET.
13572 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13573 (do_sigwait): Don't use CHECK_SIGSET.
13574 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13575 use CHECK_SIGSET.
13576 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13577 include <bp-checks.h>.
13578 (sigpending): Don't use CHECK_SIGSET.
13579 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13580 include <bp-checks.h>.
13581 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13582 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13583 <bp-checks.h>.
13584 (sigpending): Don't use CHECK_SIGSET.
13585 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13586 <bp-checks.h>.
13587 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13588
2e8a5c8c
JM
13589 [BZ #13550]
13590 * sysdeps/generic/bp-semctl.h: Remove file.
13591 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13592 <bp-checks.h> and <bp-semctl.h>.
13593 (__old_semctl): Don't use CHECK_SEMCTL.
13594 (__new_semctl): Likewise.
13595 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13596 and <bp-semctl.h>.
13597 (__old_semctl): Don't use CHECK_SEMCTL.
13598 (__new_semctl): Likewise.
13599 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13600 <bp-checks.h> and <bp-semctl.h>.
13601 (__old_semctl): Don't use CHECK_SEMCTL.
13602 (__new_semctl): Likewise.
13603 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13604 <bp-checks.h> and <bp-semctl.h>.
13605 (semctl): Don't use CHECK_SEMCTL.
13606
c2d54929
JM
13607 [BZ #13550]
13608 * Makerules (elide-bp-thunks): Remove variable.
13609 (elide-routines.oS): Don't use $(elide-bp-thunks).
13610 (elide-routines.os): Likewise.
13611 (elide-routines.o): Likewise.
13612 (elide-routines.op): Likewise.
13613 (elide-routines.og): Likewise.
13614 (objects): Don't use $(bp-thunks).
13615 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13616 include.
13617 (common-generated): Do not add s-proto-bp.d.
13618 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13619 (int): Likewise.
13620 (typ): Likewise.
13621 Do not generate makefile rules for bounded-pointer thunks.
13622 * sysdeps/generic/bp-thunks.h: Remove file.
13623 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13624 * sysdeps/unix/s-proto-bp.S: Likewise.
13625
8cf28c5e
JM
13626 [BZ #15062]
13627 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13628 parts of result separately when argument is not close to line from
13629 -i to i and one part of argument is small.
13630 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13631 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13632 * math/libm-test.inc (cacos_test): Add more tests.
13633 (casin_test): Likewise.
13634 (casinh_test): Likewise.
13635 * sysdeps/i386/fpu/libm-test-ulps: Update.
13636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13637
c4e33b8d
DM
136382013-01-31 David S. Miller <davem@davemloft.net>
13639
13640 * po/de.po: Update from translation team.
13641
3b60b421
MK
136422013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13643
13644 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13645
bb931195
TS
136462013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13647
b5a5da23
TS
13648 * configure.in (_AC_PROG_CC_C89): New definition.
13649 * configure: Regenerate.
13650
bb931195
TS
13651 * configure.in (AC_PROG_CPP): New definition.
13652 * configure: Regenerate.
13653
8c53a12c
JM
136542013-01-23 Joseph Myers <joseph@codesourcery.com>
13655
13656 * debug/tst-backtrace.h: New file.
13657 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13658 (ret): Remove variable.
13659 (x): Likewise.
13660 (FAIL): Remove macro.
13661 (NO_INLINE): Likewise.
13662 (fn1): Use match function instead of strstr.
13663 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13664 (ret): Remove variable.
13665 (x): Likewise.
13666 (FAIL): Remove macro.
13667 (NO_INLINE): Likewise.
13668 (fn): Use match function instead of strstr.
13669 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13670 (ret): Remove variable.
13671 (x): Likewise.
13672 (FAIL): Remove macro.
13673 (NO_INLINE): Likewise.
13674 (handle_signal): Use match function instead of strstr.
13675 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13676 (ret): Remove variable.
13677 (x): Likewise.
13678 (FAIL): Remove macro.
13679 (NO_INLINE): Likewise.
13680 (handle_signal): Use match function instead of strstr.
13681
4858fa2a
RM
136822013-01-23 Roland McGrath <roland@hack.frob.com>
13683
13684 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13685
bae8e7f5
DM
136862013-01-23 David S. Miller <davem@davemloft.net>
13687
13688 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13689 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13690 argument of CAS if possible.
13691 * sysdeps/sparc/sparc64/bits/atomic.h
13692 (__arch_compare_and_exchange_val_32_acq): Likewise.
13693 (__arch_compare_and_exchange_val_64_acq): Likewise.
13694
9cbbc4ae
PT
136952013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13696
13697 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13698 * sysdeps/posix/ulimit.c: ... this.
92a601b8 13699 Include <limits.h>.
67b3f58c 13700 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 13701
5655a0b5
AC
137022013-01-23 Adam Conrad <adconrad@0c3.net>
13703
13704 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13705 (LDFLAGS-tst-array5): Likewise.
13706
052aff95
JM
137072013-01-23 Joseph Myers <joseph@codesourcery.com>
13708
13709 [BZ #15036]
13710 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13711 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13712 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13713 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13714
7c1e01aa
DM
137152013-01-21 David S. Miller <davem@davemloft.net>
13716
13717 * sysdeps/sparc/backtrace.c: New file.
13718 * sysdeps/sparc/sparc32/backtrace.h: New file.
13719 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13720 * sysdeps/sparc/sparc64/backtrace.h: New file.
13721 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13722 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13723 -funwind-tables.
13724
ab087e0a
AS
137252013-01-21 Andreas Schwab <schwab@suse.de>
13726
13727 [BZ #15020]
13728 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13729 closed its stdout.
13730
ed689c2f
AS
137312013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13732
13733 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13734 "mpa2.h".
13735 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13736
31d470ac
JM
137372013-01-18 Joseph Myers <joseph@codesourcery.com>
13738 Mark Mitchell <mark@codesourcery.com>
13739 Tom de Vries <tom@codesourcery.com>
13740 Paul Pluzhnikov <ppluzhnikov@google.com>
13741
13742 * debug/tst-backtrace2.c: New file.
13743 * debug/tst-backtrace3.c: Likewise.
13744 * debug/tst-backtrace4.c: Likewise.
13745 * debug/tst-backtrace5.c: Likewise.
13746 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13747 (CFLAGS-tst-backtrace3.c): Likewise.
13748 (CFLAGS-tst-backtrace4.c): Likewise.
13749 (CFLAGS-tst-backtrace5.c): Likewise.
13750 (LDFLAGS-tst-backtrace2): Likewise.
13751 (LDFLAGS-tst-backtrace3): Likewise.
13752 (LDFLAGS-tst-backtrace4): Likewise.
13753 (LDFLAGS-tst-backtrace5): Likewise.
13754 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13755 tst-backtrace4 and tst-backtrace5.
13756
90567f30 137572013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
13758 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13759
13760 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13761 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13762 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13763 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13765 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13766 "+r" and remove output regs list as redundant. Add explicit inline
13767 asm to specify register of return val to work around compiler codegen
13768 bug. Remove (int) cast on return value. Add return type parameter to
13769 use in macro so that this macro does not truncate return value for
13770 64-bit values.
13771 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13772 pass to INTERNAL_VSYSCALL_NCS.
13773 (INLINE_VSYSCALL): Add 'long int' as return type to
13774 INTERNAL_VSYSCALL_NCS macro invocation.
13775 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13776 INTERNAL_VSYSCALL_NCS macro invocation.
13777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13778
d3b9ea61
SP
137792013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13780
0b57daeb
SP
13781 [BZ #14496]
13782 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13783 Fix application of SIMD FP exception mask.
13784
caa99d06
SP
13785 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13786 mp_no from a power of two.
13787 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13788 __mpexp_twomm1. Use __pow_mp.
13789
d3b9ea61
SP
13790 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13791 multiplication.
13792
1dbaee3c
DM
137932013-01-17 David S. Miller <davem@davemloft.net>
13794
13795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13796
728d7b43
JM
137972013-01-17 Joseph Myers <joseph@codesourcery.com>
13798
13799 [BZ #15023]
13800 * include/complex.h: Condition contents on [!_COMPLEX_H].
13801 (__kernel_casinhf): New prototype.
13802 (__kernel_casinh): Likewise.
13803 (__kernel_casinhl): Likewise.
13804 * math/Makefile (libm_calls): Add k_casinh.
13805 * math/k_casinh.c: New file.
13806 * math/k_casinhf.c: Likewise.
13807 * math/k_casinhl.c: Likewise.
13808 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13809 finite nonzero arguments.
13810 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13811 finite nonzero arguments.
13812 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13813 finite nonzero arguments.
13814 * math/s_casinh.c: Do not include <float.h>.
13815 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13816 * math/s_casinhf.c: Do not include <float.h>.
13817 (__casinhf): Move code for finite nonzero arguments to
13818 k_casinhf.c.
13819 * math/s_casinhl.c: Do not include <float.h>.
13820 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13821 redefine.
13822 (__casinhl): Move code for finite nonzero arguments to
13823 k_casinhl.c.
13824 * math/libm-test.inc (cacos_test): Add more tests.
13825 * sysdeps/i386/fpu/libm-test-ulps: Update.
13826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13827
2a26ef3a
PT
138282013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13829
13830 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13831 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13832 [!HAVE_MREMAP]: Remove [defined linux] case.
13833 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13834
a897655d
SP
138352013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13836
13837 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13838
881ebe89 138392013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
13840
13841 * elf/elf.h (R_386_SIZE32): New relocation.
13842 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13843 R_386_SIZE32.
13844 (elf_machine_rela): Likewise.
13845 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13846 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13847
59981e9b
JM
138482013-01-17 Joseph Myers <joseph@codesourcery.com>
13849
13850 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13851 (FP_FAST_FMA): Do not define.
13852 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13853 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13854 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13855 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13856 !_SOFT_FLOAT]: Likewise.
13857 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13858 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13859 value.
13860 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13861 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13862 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13863 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13864 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13865 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13866 file.
13867
cfa8054f
AS
138682013-01-16 Andreas Schwab <schwab@suse.de>
13869
13870 [BZ #14327]
13871 * include/stdlib.h (__mktemp): Add declaration.
13872 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13873 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13874
dd930cc5
SP
138752013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13876
881ebe89
SP
13877 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13878 definitions.
13879 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13880 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13881 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13882 definitions here.
13883 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13884 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13885 definitions.
13886 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13887 and ONE.
13888 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13889 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13890 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13891 definitions.
13892 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13893 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13894 definitions.
13895 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 13896
dd930cc5
SP
13897 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13898
c19a9f89
DM
138992013-01-15 David S. Miller <davem@davemloft.net>
13900
1aa61767
DM
13901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13902 trunc{,f} to libm-sysdep_routes.
13903 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13905 file.
13906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13908 file.
13909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13910 file.
13911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13913 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13914 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13915 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13916 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13917 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13918 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13919
c42d5e98
DM
13920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13921 nearbyint{,f} to libm-sysdep_routes.
13922 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13924 New file.
13925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13926 file.
13927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13928 New file.
13929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13930 file.
13931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13933 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13934 file.
13935 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13936 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13937 file.
13938 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13939 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13940 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13941
c19a9f89
DM
13942 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13943 libc_feholdexcept and libc_fesetenv.
13944
357679d2
MF
139452013-01-15 Mike Frysinger <vapier@gentoo.org>
13946
13947 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13948
65a82e3d
DM
139492013-01-14 David S. Miller <davem@davemloft.net>
13950
8b954ab9
DM
13951 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13952 (SPARC_ASM_VIS2_IFUNC): Likewise.
13953 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13955 use of 'siam' instruction.
13956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13957 Likewise.
13958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13959 Likewise.
13960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13961 Likewise.
13962 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13963 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13964 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13965 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13967 file.
13968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13969 file.
13970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13971 file.
13972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13973 file.
13974 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13975 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13976 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13977 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13979 new VIS2 routines.
13980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13983 Likewise.
13984 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13985 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13986 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13987 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13989 routines to libm-sysdep_routines.
13990 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13991
65a82e3d
DM
13992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13993 fdim/fdimf to libm-sysdep_routines.
13994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13995 file.
13996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13998 file.
13999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14002 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14003 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14004 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14005 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14006
e34ab705
SP
140072013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14008
2a91b573
SP
14009 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14010 to optimize copies.
14011
1066a534
SP
14012 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14013 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14015
e34ab705
SP
14016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14017 local variable MPTWO.
14018 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14019 Likewise.
14020
aba5e596
MF
140212013-01-13 Mike Frysinger <vapier@gentoo.org>
14022
14023 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14024 GLOB_NOESCAPE.
14025
e557e9e5
MF
140262013-01-13 Mike Frysinger <vapier@gentoo.org>
14027
14028 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14029
0428cec9
MF
140302013-01-13 Mike Frysinger <vapier@gentoo.org>
14031
14032 * manual/pattern.texi (glob_t): Document gl_flags.
14033 (glob64_t): Likewise.
14034
8794a964
DM
140352013-01-11 David S. Miller <davem@davemloft.net>
14036
66438c3f
RM
14037 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14038 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14039 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
14040 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14041 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14042 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14043 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14044 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14045 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14046 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14047 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14048 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14049 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14050
4ae4244d
DM
14051 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14052 sparc V9 rather than using V8 code.
14053 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14054 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14055
8794a964
DM
14056 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14057 Move to...
14058 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14059 Here.
14060
6270516e
RM
140612013-01-11 Roland McGrath <roland@hack.frob.com>
14062
14063 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14064 not in the main loop.
14065 * configure: Regenerated.
14066
6a57d931
JM
140672013-01-11 Joseph Myers <joseph@codesourcery.com>
14068
14069 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14070 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14071 to just #else.
14072 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14073 [!__GLIBC_HAVE_LONG_LONG] case.
14074 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14075 condition to just #else.
14076 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14077 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14078 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14079 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14080 unconditional.
14081 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14082 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14083 #elif condition to just #else.
14084 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14085 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14086 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14087 #elif condition to just #else.
14088
0e8529e9
SE
140892013-01-11 Steve Ellcey <sellcey@mips.com>
14090
14091 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14092 (EF_MIPS_ARCH_64): Fix value.
14093 (EF_MIPS_ARCH_32R2): New.
14094 (EF_MIPS_ARCH_64R2): New.
14095
740b3dbe
L
140962013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14097
14098 * Makeconfig (+link-pie-before-libc): New.
14099 (+link-pie-after-libc): Likewise.
14100 (+link-pie-tests): Likewise.
14101 (+link-pie): Rewritten.
14102 (link-before-libc): Remove $(config-LDFLAGS).
14103 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14104 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14105 (config-LDFLAGS): Renamed to ...
14106 (rtld-LDFLAGS): This.
14107 (rtld-tests-LDFLAGS): New macro.
14108 (link-libc-rpath-link): Likewise.
14109 (link-libc-tests-rpath-link): Likewise.
14110 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14111 (link-libc): Prepand $(link-libc-rpath-link).
14112 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14113 (test-program-prefix): New macro.
14114 (test-via-rtld-prefix): Likewise.
14115 (test-program-cmd): Likewise.
14116 (host-test-program-cmd): Likewise.
14117 * Makefile ($(common-objpfx)testrun.sh): Replace
14118 $(run-program-prefix) with $(test-program-prefix).
14119 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14120 $(rtld-LDFLAGS).
14121 ($(common-objpfx)shlib.lds): Likewise.
14122 (build-module-helper): Likewise.
14123 ($(common-objpfx)format.lds): Likewise.
14124 * Rules (binaries-pie-tests): New.
14125 (binaries-pie-notests): Likewise.
14126 (binaries-pie): Rewritten.
14127 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14128 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14129 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14130 (make-test-out): Replace $(host-built-program-cmd) with
14131 $(host-test-program-cmd).
14132 * config.make.in (build-hardcoded-path-in-tests): New variable.
14133 * configure.in (--enable-hardcoded-path-in-tests): New configure
14134 option.
14135 (hardcoded_path_in_tests): New AC_SUBST.
14136 * configure: Regenerated.
14137 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14138 $(built-program-cmd) with $(test-program-cmd).
14139 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14140 (test_program_cmd): This.
14141 * elf/Makefile ($(objpfx)order.out): Run test with
14142 $(test-program-prefix).
14143 ($(objpfx)order2.out): Likewise.
14144 ($(objpfx)tst-initorder.out): Likewise.
14145 ($(objpfx)tst-initorder2.out): Likewise.
14146 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14147 $(test-program-cmd).
14148 ($(objpfx)tst-array1-static.out): Likewise.
14149 ($(objpfx)tst-array2.out): Likewise.
14150 ($(objpfx)tst-array3.out): Likewise.
14151 ($(objpfx)tst-array4.out): Likewise.
14152 ($(objpfx)tst-array5.out): Likewise.
14153 ($(objpfx)tst-array5-static.out): Likewise.
14154 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14155 $(test-program-cmd).
14156 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14157 $(run-program-prefix) with $(test-program-prefix).
14158 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14159 (test_program_prefix): This.
14160 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14161 $(run-program-prefix) with $(test-program-prefix).
14162 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14163 (test_program_prefix): This.
14164 * iconvdata/tst-tables.sh: Likewise.
14165 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14166 $(run-program-prefix) with $(test-program-prefix).
14167 ($(objpfx)tst-translit.out): Likewise.
14168 ($(objpfx)tst-gettext2.out): Likewise.
14169 ($(objpfx)tst-gettext4.out): Likewise.
14170 ($(objpfx)tst-gettext6.out): Likewise.
14171 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14172 (test_program_prefix): This.
14173 * intl/tst-gettext2.sh: Likewise.
14174 * intl/tst-gettext4.sh Likewise.
14175 * intl/tst-gettext6.sh: Likewise.
14176 * intl/tst-translit.sh: Likewise.
14177 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14178 with $(test-program-cmd).
14179 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14180 $(run-program-prefix) with $(test-program-prefix).
14181 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14182 (test_program_prefix): This.
14183 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14184 $(run-program-prefix) with $(test-program-prefix).
14185 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14186 (test_program_prefix): This.
14187 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14188 * posix/Makefile ($(objpfx)globtest.out): Replace
14189 $(run-via-rtld-prefix) and $(test-wrapper) with
14190 $(test-program-prefix) and $(test-via-rtld-prefix).
14191 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14192 $(test-program-prefix).
14193 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14194 $(host-test-program-cmd).
14195 (tst-spawn-ARGS): Likewise.
14196 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14197 $(test-program-prefix).
14198 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14199 (test_via_rtld_prefix): This.
14200 (test_wrapper): Renamed to ...
14201 (test_program_prefix): This.
14202 (run_program_prefix): Replaced by test_program_prefix.
14203 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14204 (test_program_prefix): This.
14205 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14206 with $(host-test-program-cmd).
14207 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14208 $(run-program-prefix) with $(test-program-prefix).
14209 ($(objpfx)tst-printf.out): Likewise.
14210 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14211 $(test-program-cmd).
14212 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14213 (test_program_prefix): This.
14214 * stdio-common/tst-unbputc.sh: Likewise.
14215 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14216 $(run-program-prefix) with $(test-program-prefix).
14217 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14218 (test_program_prefix): This.
14219 * string/Makefile ($(objpfx)tst-svc.out): Replace
14220 $(built-program-cmd) with $(test-program-cmd).
14221
c6fe55cf
AJ
142222013-01-11 Andreas Jaeger <aj@suse.de>
14223
14224 [BZ #15003]
14225 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14226 value. Sync with Linux 3.7.
14227
9e6919c8
DM
142282013-01-10 David S. Miller <davem@davemloft.net>
14229
14230 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14231 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14232 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14233
1c9f1a02
RM
142342013-01-10 Roland McGrath <roland@hack.frob.com>
14235
14236 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14237 never set.
14238 * configure: Regenerated.
14239
b9de2dde
DM
142402013-01-10 David S. Miller <davem@davemloft.net>
14241
14242 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14243 sparc V9 rather than using V8 code.
14244 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14245 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14246
e7f68ef4
RM
142472013-01-10 Roland McGrath <roland@hack.frob.com>
14248
14249 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14250 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14251 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14252 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14253 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14254 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14255 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14256 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14257 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14258 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14259 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14260 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14261 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14262 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14263 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14264 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14265 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14266 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14267 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14268 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14269 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14270 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14271 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14272 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14273 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14274 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14275 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14276
5a47cc9c
DM
142772013-01-10 David S. Miller <davem@davemloft.net>
14278
14279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14280
4cf8f209
L
142812013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14282
14283 * posix/Makefile (tests-static): New variable.
14284 (tests): Add $(tests-static).
14285 (tst-exec-static-ARGS): New variable.
14286 (tst-spawn-static-ARGS): Likewise.
14287 * posix/tst-exec-static.c: New file.
14288 * posix/tst-spawn-static.c: Likewise.
14289 * posix/tst-exec.c: Support run directly.
14290 * posix/tst-spawn.c: Likewise.
14291
fed0faa1
JM
142922013-01-10 Joseph Myers <joseph@codesourcery.com>
14293
828beb13
JM
14294 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14295 long.
14296 * math/bits/mathcalls.h (llrint): Likewise.
14297 (llround): Likewise.
14298 * stdlib/stdlib.h (struct drand48_data): Likewise.
14299 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14300 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14301 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14302 Likewise.
14303 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14304 Likewise.
14305 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14306 (elf_greg_t): Likewise.
14307 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14308 (__jmp_buf): Likewise.
14309 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14310 definitions.
14311 (llrint): Likewise, for all definitions.
14312 (llrintl): Likewise.
14313
fed0faa1
JM
14314 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14315 Remove [__GNUC__] condition.
14316 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14317 condition to just [__USE_ISOC99].
14318 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14319
1a20cb20
L
143202013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14321
14322 [BZ #14200]
14323 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14324 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14325 defined.
14326 (_POSIX_V6_ILP32_OFF32): Likewise.
14327 (_XBS5_ILP32_OFF32): Likewise.
14328 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14329 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14330
751b85f7
SP
143312013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14332
7490eb81
SP
14333 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14334
751b85f7
SP
14335 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14336 doubles __mpexp_twomm1. Adjust usage.
14337 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14338 Remove.
14339
988197f0
AS
143402013-01-10 Andreas Schwab <schwab@suse.de>
14341
14342 [BZ #14964]
14343 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14344 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14345
e83d7298
DM
143462013-01-09 David S. Miller <davem@davemloft.net>
14347
034ed64b 14348 [BZ #15003]
e83d7298
DM
14349 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14350 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14351 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14352 TCP_FASTOPEN): Define.
14353 (tcp_repair_opt): New structure.
14354 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14355 enum values.
14356 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14357 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14358 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14359 (tcp_cookie_transactions): New structure.
14360
d5e0b9bd
AB
143612013-01-09 Anton Blanchard <anton@samba.org>
14362
14363 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14364 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14365 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14366 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14367
0c07e3ea
JM
143682013-01-09 Joseph Myers <joseph@codesourcery.com>
14369
14370 * include/features.h (__USE_ANSI): Remove.
14371
232f7002
RM
143722013-01-09 Roland McGrath <roland@hack.frob.com>
14373
ad98e30c
RM
14374 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14375
232f7002
RM
14376 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14377
950c99ca
SP
143782013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14379
b5792741
SP
14380 * sysdeps/s390/fpu/libm-test-ulps: Update.
14381
47cf2278
SP
14382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14383
950c99ca
SP
14384 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14385 (__acr): Likewise.
14386 (__cpy): Likewise.
14387 (norm): Likewise.
14388 (denorm): Likewise.
14389 (__mp_dbl): Likewise.
14390 (__dbl_mp): Likewise.
14391 (add_magnitudes): Likewise.
14392 (sub_magnitudes): Likewise.
14393 (__add): Likewise.
14394 (__sub): Likewise.
14395 (__mul): Likewise.
14396 (__inv): Likewise.
14397 (__dvd): Likewise.
14398 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14399 (__acr): Likewise.
14400 (__cpy): Likewise.
14401 (norm): Likewise.
14402 (denorm): Likewise.
14403 (__mp_dbl): Likewise.
14404 (__dbl_mp): Likewise.
14405 (add_magnitudes): Likewise.
14406 (sub_magnitudes): Likewise.
14407 (__add): Likewise.
14408 (__sub): Likewise.
14409 (__mul): Likewise.
14410 (__inv): Likewise.
14411 (__dvd): Likewise.
14412 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14413 (__acr): Likewise.
14414 (__cpy): Likewise.
14415 (norm): Likewise.
14416 (denorm): Likewise.
14417 (__mp_dbl): Likewise.
14418 (__dbl_mp): Likewise.
14419 (add_magnitudes): Likewise.
14420 (sub_magnitudes): Likewise.
14421 (__add): Likewise.
14422 (__sub): Likewise.
14423 (__mul): Likewise.
14424 (__inv): Likewise.
14425 (__dvd): Likewise.
14426
eede9df9
JM
144272013-01-08 Joseph Myers <joseph@codesourcery.com>
14428
14429 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14430 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14431 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14432 2 && __USE_EXTERN_INLINES]: Likewise.
14433
c40ea3d9
AJ
144342013-01-08 Andreas Jaeger <aj@suse.de>
14435
14436 [BZ# 14985]
14437 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14438 Remove.
14439 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14440 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14441
2ccdea26
AB
144422013-01-07 Anton Blanchard <anton@samba.org>
14443
14444 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14445 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14446 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14447 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14448 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14449 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14450 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14451 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14452 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14453 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14454 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14455 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14456 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14457 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14458 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14459 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14460 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14461 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14462 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14463 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14464 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14465 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14466 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14467 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14468 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14469 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14470 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14471 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14472 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14473 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14474 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14475 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14476 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14477 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14478 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14479 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14480 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14481 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14482 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14483 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14484 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14485 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14486 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14487
a9708fed
JM
144882013-01-07 Joseph Myers <joseph@codesourcery.com>
14489
375607b9
JM
14490 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14491 (__MALLOC_PMT): Likewise.
14492 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14493 [__GNUC__], only on [_LIBC].
14494 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14495 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14496 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14497 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14498 forward declaration.
14499 (realloc_hook_ini): Likewise.
14500 (memalign_hook_ini): Likewise.
14501 (__libc_memalign): Do not use __MALLOC_PMT in variable
14502 declaration.
14503 (__libc_valloc): Likewise.
14504 (__libc_pvalloc): Likewise.
14505 (__libc_calloc): Likewise.
14506 (__posix_memalign): Likewise.
14507
a9708fed
JM
14508 [BZ #14996]
14509 * math/s_casinh.c: Include <float.h>.
14510 (__casinh): Do not do computation with squaring and square root
14511 for large arguments.
14512 * math/s_casinhf.c: Include <float.h>.
14513 (__casinhf): Do not do computation with squaring and square root
14514 for large arguments.
14515 * math/s_casinhl.c: Include <float.h>.
14516 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14517 (__casinhl): Do not do computation with squaring and square root
14518 for large arguments.
14519 * math/libm-test.inc (casin_test): Add more tests.
14520 (casinh_test): Likewise.
14521 * sysdeps/i386/fpu/libm-test-ulps: Update.
14522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14523
afec409a
L
145242013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14525
14526 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14527 (__x86_64_raw_data_cache_size): Likewise.
14528 (__x86_64_data_cache_size_half): Likewise.
14529 (__x86_64_raw_data_cache_size_half): Likewise.
14530 (__x86_64_shared_cache_size): Likewise.
14531 (__x86_64_raw_shared_cache_size): Likewise.
14532 (__x86_64_shared_cache_size_half): Likewise.
14533 (__x86_64_raw_shared_cache_size_half): Likewise.
14534 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14535 to ...
14536 (__x86_data_cache_size): This.
14537 (__x86_64_raw_data_cache_size): Renamed to ...
14538 (__x86_raw_data_cache_size): This.
14539 (__x86_64_data_cache_size_half): Renamed to ...
14540 (__x86_data_cache_size_half): This.
14541 (__x86_64_raw_data_cache_size_half): Renamed to ...
14542 (__x86_raw_data_cache_size_half): This.
14543 (__x86_64_shared_cache_size): Renamed to ...
14544 (__x86_shared_cache_size): This.
14545 (__x86_64_raw_shared_cache_size): Renamed to ...
14546 (__x86_raw_shared_cache_size): This.
14547 (__x86_64_shared_cache_size_half): Renamed to ...
14548 (__x86_shared_cache_size_half): This.
14549 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14550 (__x86_raw_shared_cache_size_half): This.
14551 * sysdeps/x86_64/memcpy.S: Updated.
14552 * sysdeps/x86_64/memset.S: Likewise.
14553 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14554 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14555 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14556
0b3986d0
DM
145572013-01-04 David S. Miller <davem@davemloft.net>
14558
14559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14560
e47686e9
AS
145612013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14562
d643bac1
AS
14563 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14564 1 to avoid redefinition warning.
14565 (__USE_GNU): Don't define.
14566 (init_signaling_nan): Protoize.
14567
e47686e9
AS
14568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14569
b18decba
SP
145702013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14571
fffb407f
SP
14572 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14573 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14574 (__cpymn): Likewise.
14575 (norm): Remove commented code.
14576 (denorm): Likewise.
14577 (__mp_dbl): Likewise.
14578 (__inv): Likewise.
14579 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14580 (__cpymn): Likewise.
14581 (norm): Remove commented code.
14582 (denorm): Likewise.
14583 (__mp_dbl): Likewise.
14584 (__inv): Likewise.
14585
b18decba
SP
14586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14587 mp_no value for 1.0 and 2.0.
14588 (norm): Use RADIXI instead of radixi.d.
14589 (denorm): Likewise.
14590 (__mul): Use 0.0 instead of zero.d.
14591 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14592 mp_no value for 1.0 and 2.0.
14593 (norm): Use RADIXI instead of radixi.d.
14594 (denorm): Likewise.
14595 (__mul): Use 0.0 instead of zero.d.
14596
cdc1c96f
JM
145972013-01-04 Joseph Myers <joseph@codesourcery.com>
14598
14599 [BZ #14994]
14600 * math/s_casinh.c (__casinh): Reduce finite argument to first
14601 quadrant then set signs of results at the end.
14602 * math/s_casinhf.c (__casinhf): Likewise.
14603 * math/s_casinhl.c (__casinhl): Likewise.
14604 * math/libm-test.inc (casin_test): Add more tests.
14605 (casinh_test): Likewise.
14606 * sysdeps/i386/fpu/libm-test-ulps: Update.
14607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14608
302913e1
SP
146092013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14610
6420d207
SP
14611 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14612
a9e48ab4
SP
14613 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14614
b7837264
SP
14615 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14616 declarations.
14617 (denorm): Likewise.
14618 (__mp_dbl): Likewise.
14619 (__inv): Likewise.
14620
f8af25d2
SP
14621 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14622 and adjust the header comment.
14623
302913e1
SP
14624 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14625 variable name from declaration.
14626
5d7dd1ca
L
146272013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14628
14629 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14630 Initialize COMMON_CPUID_INDEX_7 element.
14631 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14632 (CPUID_RTM): Likewise.
14633 (HAS_RTM): Likewise.
14634 (COMMON_CPUID_INDEX_7): New enum.
14635
2f5f40f4
AS
146362013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14637
14638 [BZ #14981]
14639 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14640 size is zero, record memory as freed.
14641
4056f4a0
AJ
146422013-01-03 Andreas Jaeger <aj@suse.de>
14643
14644 * po/ia.po: Add new Interlingua translation.
14645
ab15736f 146462012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
14647
14648 * locale/programs/localedef.c: Fix description of '--posix' flag.
14649
568035b7
JM
146502013-01-02 Joseph Myers <joseph@codesourcery.com>
14651
e6898b8d
JM
14652 * NEWS: Update dates in second copyright notice.
14653 * README: Update copyright dates in example.
14654 * manual/libc.texinfo: Update copyright dates.
14655 * scripts/test-installation.pl: Update copyright date in --version
14656 output.
14657
0e2f9562
JM
14658 * hurd/ctty-input.c: Fix copyright notice formatting.
14659 * hurd/ctty-output.c: Likewise.
14660 * hurd/dtable.c: Likewise.
14661 * hurd/hurd-raise.c: Likewise.
14662 * hurd/hurdprio.c: Likewise.
14663 * hurd/msgportdemux.c: Likewise.
14664 * misc/sys/file.h: Likewise.
14665 * misc/sys/ioctl.h: Likewise.
14666 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14667 * sysdeps/mach/hurd/chdir.c: Likewise.
14668 * sysdeps/mach/hurd/fchdir.c: Likewise.
14669 * sysdeps/mach/hurd/rename.c: Likewise.
14670 * sysdeps/mach/hurd/rmdir.c: Likewise.
14671 * sysdeps/mach/hurd/seekdir.c: Likewise.
14672 * sysdeps/mach/hurd/setsid.c: Likewise.
14673 * sysdeps/posix/wait3.c: Likewise.
14674
568035b7
JM
14675 * All files with FSF copyright notices: Update copyright dates
14676 using scripts/update-copyrights.
14677 * intl/plural.c: Regenerated.
14678 * locale/programs/charmap-kw.h: Likewise.
14679 * locale/programs/locfile-kw.h: Likewise.
14680
da08f647
SP
146812013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14682
0f5477af
SP
14683 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14684 four values.
14685
44e0d4c2
SP
14686 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14687 calculation loop and add branch prediction.
14688
4d55b4e5
SP
14689 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14690 check access beyond bounds of m1np.
14691
da08f647
SP
14692 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14693 MPTWO.
14694 (__inv): Remove local variable MPTWO to use the global
14695 constant.
14696 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14697 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14698 variable MPTWO.
14699 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14700 MP3HALFS static const.
14701
8e051029
DM
147022013-01-01 David S. Miller <davem@davemloft.net>
14703
14704 * po/ca.po: Update from translation team.
14705
f4cf5f2d
JM
147062013-01-01 Joseph Myers <joseph@codesourcery.com>
14707
14708 * scripts/update-copyrights: New file.
14709 * Makeconfig: Reformat copyright notice.
14710 * ctype/ctype.h: Likewise.
14711 * debug/swprintf_chk.c: Likewise.
14712 * elf/dl-cache.c: Likewise.
14713 * elf/dl-debug.c: Likewise.
14714 * elf/dl-object.c: Likewise.
14715 * grp/initgroups.c: Likewise.
14716 * hurd/Makefile: Likewise.
14717 * hurd/hurd/signal.h: Likewise.
14718 * hurd/hurdfault.c: Likewise.
14719 * hurd/hurdioctl.c: Likewise.
14720 * hurd/hurdlookup.c: Likewise.
14721 * hurd/intr-msg.c: Likewise.
14722 * iconv/gconv_open.c: Likewise.
14723 * libio/swprintf.c: Likewise.
14724 * locale/lc-ctype.c: Likewise.
14725 * locale/nl_langinfo.c: Likewise.
14726 * mach/Machrules: Likewise.
14727 * mach/Makefile: Likewise.
14728 * malloc/obstack.h: Likewise.
14729 * manual/Makefile: Likewise.
14730 * manual/tsort.awk: Likewise.
14731 * misc/bits/stab.def: Likewise.
14732 * nis/nis_print_group_entry.c: Likewise.
14733 * nis/nis_table.c: Likewise.
14734 * nis/nss_compat/compat-pwd.c: Likewise.
14735 * nis/nss_compat/compat-spwd.c: Likewise.
14736 * po/Makefile: Likewise.
14737 * posix/fnmatch.c: Likewise.
14738 * posix/regex.h: Likewise.
14739 * resolv/Makefile: Likewise.
14740 * resolv/nss_dns/dns-network.c: Likewise.
14741 * resolv/res_hconf.c: Likewise.
14742 * scripts/gen-sorted.awk: Likewise.
14743 * soft-fp/soft-fp.h: Likewise.
14744 * stdio-common/printf.h: Likewise.
14745 * stdlib/monetary.h: Likewise.
14746 * stdlib/random.c: Likewise.
14747 * stdlib/random_r.c: Likewise.
14748 * sysdeps/generic/Makefile: Likewise.
14749 * sysdeps/gnu/Makefile: Likewise.
14750 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14751 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14752 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14753 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14754 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14755 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14756 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14757 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14758 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14759 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14760 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14761 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14762 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14763 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14764 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14765 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14766 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14767 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14768 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14769 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14770 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14771 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14772 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14773 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14774 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14775 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14776 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14777 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14778 * sysdeps/mach/hurd/errnos.awk: Likewise.
14779 * sysdeps/mach/hurd/fork.c: Likewise.
14780 * sysdeps/mach/hurd/getcwd.c: Likewise.
14781 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14782 * sysdeps/mach/hurd/mmap.c: Likewise.
14783 * sysdeps/mach/hurd/utimes.c: Likewise.
14784 * sysdeps/mach/hurd/xmknod.c: Likewise.
14785 * sysdeps/posix/profil.c: Likewise.
14786 * sysdeps/posix/readdir_r.c: Likewise.
14787 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14788 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14789 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14790 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14791 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14792 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14793 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14794 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14795 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14796 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14797 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14798 * sysdeps/pthread/lio_listio.c: Likewise.
14799 * sysdeps/sparc/dl-procinfo.h: Likewise.
14800 * sysdeps/unix/i386/sysdep.S: Likewise.
14801 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14802 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14803 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14804 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14806 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14807 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14808 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14809 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14810 * sysdeps/wordsize-32/divdi3.c: Likewise.
14811 * time/sys/time.h: Likewise.
14812 * wcsmbs/Makefile: Likewise.
14813
0549fbba
DM
148142013-01-01 David S. Miller <davem@davemloft.net>
14815
a141f1a7
DM
14816 * po/fr.po: Update from translation team.
14817
0549fbba
DM
14818 * catgets/gencat.c: Update copyright year.
14819 * csu/version.c: Likewise.
14820 * debug/catchsegv.sh: Likewise.
14821 * debug/pcprofiledump.c: Likewise.
14822 * debug/xtrace.sh: Likewise.
14823 * elf/ldconfig.c: Likewise.
14824 * elf/ldd.bash.in: Likewise.
14825 * elf/pldd.c: Likewise.
14826 * elf/sotruss.ksh: Likewise.
14827 * elf/sprof.c: Likewise.
14828 * iconv/iconv_prog.c: Likewise.
14829 * iconv/iconvconfig.c: Likewise.
14830 * locale/programs/locale.c: Likewise.
14831 * locale/programs/localedef.c: Likewise.
14832 * login/programs/pt_chown.c: Likewise.
14833 * malloc/memusage.sh: Likewise.
14834 * malloc/memusagestat.c: Likewise.
14835 * malloc/mtrace.pl: Likewise.
14836 * nscd/nscd.c: Likewise.
14837 * nss/getent.c: Likewise.
14838 * nss/makedb.c: Likewise.
14839 * posix/getconf.c: Likewise.
14840
18ea052c
SP
148412012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14842
14843 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14844 numbers.
14845
9c89fca6
MF
148462012-12-30 Mike Frysinger <vapier@gentoo.org>
14847
14848 * math/bits/mathcalls.h (modf): Use __nonnull.
14849
085ec079
SP
148502012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14851
14852 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14853 (split): Use macro CN instead of the bare value.
14854 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14855 could be used.
14856 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14857 instead of the bare value.
14858 (power1): Likewise.
14859
6d9f97e1
SP
148602012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14861
d63f73be
SP
14862 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14863 __ATAN_TWOM.
14864 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14865
6d9f97e1
SP
14866 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14867 their values.
14868 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14869 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14870 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14871 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14872
4c4febf5
AJ
148732012-12-28 Andreas Jaeger <aj@suse.de>
14874
af5843ef
AJ
14875 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14876 values are from Linux 3.7.
14877
4c4febf5
AJ
14878 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14879 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14880
99136f82
SP
148812012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14882
2f216c3c 14883 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
14884 TRUE case.
14885
99136f82
SP
14886 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14887 (norm): Likewise.
14888 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14889 variables with preprocessor constants.
14890 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14891 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14892 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14893
7fffbdff
BH
148942012-12-27 Bruno Haible <bruno@clisp.org>
14895
14896 [BZ #14317]
14897 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14898 only if needed.
14899
b76eb5f0
SP
149002012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14901
31a7fe5c
SP
14902 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14903 and use variable directly.
14904 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14905
b76eb5f0
SP
14906 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14907 MPONE.
14908 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14909 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14910 variable MPONE.
14911 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14912 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14913 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14914 include directive. Remove local variable MPONE.
14915 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14916 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14917 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14918
2c8bfe7d
DM
149192012-12-25 David S. Miller <davem@davemloft.net>
14920
14921 * version.h (RELEASE): Set to "development".
14922 (VERSION): Set to "2.17.90".
14923 * NEWS: Add 2.18 section.
14924
147d03b0
DM
149252012-12-21 David S. Miller <davem@davemloft.net>
14926
14927 * po/hr.po: Update from translation team.
14928
a8ebb2b9
AK
149292012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14930
14931 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14932
95b4f1b6
SE
149332012-12-19 Steve Ellcey <sellcey@mips.com>
14934
b2d94007 14935 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 14936
cedb2a90
MS
149372012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14938
14939 * manual/contrib.texi (Contributors): Spelling correction.
14940
bbf527d6
DM
149412012-12-15 David S. Miller <davem@davemloft.net>
14942
14943 * po/ru.po: Update from translation team.
14944
bc38c906
DM
149452012-12-13 David S. Miller <davem@davemloft.net>
14946
85429b1a
DM
14947 * NEWS: Mention IFUNC testsuite enhancements.
14948
d283e353
DM
14949 * po/pl.po: Update from translation team.
14950 * po/bg.po: Likewise.
14951
bc38c906
DM
14952 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14953 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14954
a181b0d7
DM
149552012-12-11 David S. Miller <davem@davemloft.net>
14956
4641d57e
DM
14957 * po/sv.po: Update from translation team.
14958
f7bc6495
DM
14959 * po/vi.po: Update from translation team.
14960
6fc9048f
DM
14961 * po/cs.po: Update from translation team.
14962
a181b0d7
DM
14963 * po/de.po: Update from translation team.
14964 * po/eo.po: Likewise.
14965 * po/nl.po: Likewise.
14966
f70bfe80
SP
149672012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14968
3c8b4190
SP
14969 [BZ #14246]
14970 * manual/argp.texi (Argp Helper Functions): Move node to follow
14971 Argp Parsing State.
14972
f70bfe80
SP
14973 [BZ #14872]
14974 * manual/conf.texi (Limits on File System Capacity): Mention if
14975 terminating null is included in the max size.
14976
188f0adf
AJ
149772012-12-10 Andreas Jaeger <aj@suse.de>
14978
14979 * po/cs.po: Update from translation team.
14980
56e7d3ad
SP
149812012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14982
14983 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14984 void pointer and cast to uintptr_t.
14985 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14986 path.
14987 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14988 * sysdeps/s390/s390-64/memset.S: Likewise.
14989
76f2d2ea 149902012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
14991
14992 [BZ #14833]
14993 * menual/message.texi (Message Translation): Fix typos.
14994 (Helper programs for gettext): Likewise.
14995
67cbf9a2
AS
149962012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14997
14998 [BZ #14898]
14999 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15000 Change to -1.
15001
682d0e9a
DM
150022012-12-07 David S. Miller <davem@davemloft.net>
15003
15004 * po/libc.pot: Update.
15005
573cd484
RH
150062012-12-07 Richard Henderson <rth@redhat.com>
15007
7e9da188 15008 [BZ #10114]
573cd484
RH
15009 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15010 normal/normal case to before the switch.
15011 (_FP_DIV): Likewise.
15012
e933a943
MF
150132012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15014 Mike Frysinger <vapier@gentoo.org>
15015
15016 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15017 check for __NR_fadvise64_64.
15018
82123268
CM
150192012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15020
15021 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15022 0, not just to plain "0" as a statement.
15023 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15024 with cw.
15025
d9814526
JM
150262012-12-06 Joseph Myers <joseph@codesourcery.com>
15027
15028 * NEWS: Use sourceware.org in Bugzilla URL.
15029
7728c574
SP
150302012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15031
f16946dd
SP
15032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15033 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15034
5704bbcb
SP
15035 * stdio-common/tst-put-error.c (do_test): Add newline to the
15036 padded test to ensure flush.
15037
17aa0516
JL
150382012-12-05 Jeff Law <law@redhat.com>
15039
15040 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15041
363313b5
JM
150422012-12-05 Joseph Myers <joseph@codesourcery.com>
15043
effbd42a
JM
15044 * README: Don't refer to ports add-on as distributed separately.
15045 Mention AArch64 in list of systems supported in the ports add-on.
15046
87600365
JM
15047 * LICENSES: Add more non-FSF copyright and license notices.
15048
a0d7066a
JM
15049 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15050 ((unused)).
15051
66ca5a5b
JM
15052 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15053
363313b5
JM
15054 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15055 10000 as width of padded output.
15056
b37984ad
JM
150572012-12-04 Joseph Myers <joseph@codesourcery.com>
15058
9003570a
JM
15059 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15060
b37984ad
JM
15061 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15062 variable LX with __attribute__ ((unused)).
15063 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15064 Likewise.
15065 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15066 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15067 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15068 with __attribute__ ((unused)).
15069
c8df52ec
DM
150702012-12-04 David S. Miller <davem@abraco.davemloft.net>
15071
15072 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15073
b3b099af
JM
150742012-12-04 Joseph Myers <joseph@codesourcery.com>
15075
c33aa6e3
JM
15076 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15077 (CFLAGS-nldbl-acos.c): New variable.
15078 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15079 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15080 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15081 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15082 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15083 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15084 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15085 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15086 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15087 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15088 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15089 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15090 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15091 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15092 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15093 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15094 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15095 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15096 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15097 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15098 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15099 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15100 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15101 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15102 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15103 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15104 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15105 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15106 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15107 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15108 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15109 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15110 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15111 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15112 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15113 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15114 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15115 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15116 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15117 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15118 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15119 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15120 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15121 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15122 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15123 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15124 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15125 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15126 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15127 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15128 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15129 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15130 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15131 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15132 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15133 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15134 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15135 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15136 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15137 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15138 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15139 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15140 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15141 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15142 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15143 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15144 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15145 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15146 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15147 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15148 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15149 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15150 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15151 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15152 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15153 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15154 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15155 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15156 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15157 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15158 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15159 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15160 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15161 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15162 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15163 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15164 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15165 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15166 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15167 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15168 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15169 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15170 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15171 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15172 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15173 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15174 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15175
20f0018d
JM
15176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15177 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15178
b3b099af
JM
15179 [BZ #14914]
15180 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15181 whole low double instead of just low 47 bits when splitting values
15182 into two parts.
15183
029264d1
AM
151842012-12-03 Allan McRae <allan@archlinux.org>
15185
15186 * manual/stdio.texi (Predefined Printf Handlers): Remove
15187 @hsep and @vsep usage.
15188
c9d6789e
MF
151892012-12-03 Mike Frysinger <vapier@gentoo.org>
15190
15191 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15192 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15193
4b7634a5
JL
151942012-12-03 Jeff Law <law@redhat.com>
15195
15196 * time/sys/time.h (settimeofday): Do not mark TV argument
15197 as __nonnull.
15198
eb6cbd24
MF
151992012-12-01 Mike Frysinger <vapier@gentoo.org>
15200
15201 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15202 when currently writing and seek to current position when not.
15203 * libio/Makefile (tests): Remove bug-fclose1.
15204 * libio/bug-fclose1.c: Delete.
15205
f638872a
JM
152062012-12-01 Joseph Myers <joseph@codesourcery.com>
15207
15208 * manual/arith.texi (feenableexcept): Fix typo.
15209 (fedisableexcept): Likewise.
15210
48085d14
RM
152112012-11-30 Roland McGrath <roland@hack.frob.com>
15212
15213 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15214 second, differently-typed declaration, rather than a cast.
15215
1a538b9f
SP
152162012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15217
15218 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15219 * include/rpc/svc.h: ... here.
15220
d07f2ff1 152212012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
15222
15223 [BZ #13013]
15224 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15225 depending n and resplen2 to catch cases where answer
15226 equals answerp2.
15227
c93ec1f0
CD
152282012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15229
15230 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15231 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15232
37db69de
MF
152332012-11-29 Mike Frysinger <vapier@gentoo.org>
15234
15235 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15236
e10c4e4f
RM
152372012-11-29 Roland McGrath <roland@hack.frob.com>
15238
15239 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15240
2af1b328
JL
152412012-11-28 Jeff Law <law@redhat.com>
15242
15243 [BZ #13761]
15244 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15245 dataset_temporary. Track alloca usage into alloca_used.
15246 If dataset is large allocate and release it via malloc/free.
15247
111db5b1
FW
152482012-06-04 Florian Weimer <fweimer@redhat.com>
15249
f06cc227 15250 [BZ #14197]
111db5b1
FW
15251 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15252
dd694abd
DM
152532012-11-28 David S. Miller <davem@davemloft.net>
15254
15255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15256
9984dd01
JM
152572012-11-28 Joseph Myers <joseph@codesourcery.com>
15258
15259 [BZ #14803]
15260 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15261 of pi/2 rounded to nearest to 64 bits.
15262 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15263 nearest to 64 bits.
15264 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15265 bits.
15266
14bc93a9
JL
152672012-11-28 Jeff Law <law@redhat.com>
15268 Martin Osvald <mosvald@redhat.com>
15269
15270 [BZ #14889]
15271 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15272 * sunrpc/svc.c: Include time.h.
15273 (__svc_accept_failed): New function.
15274 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15275 any reason other than EINTR, call __svc_accept_failed.
15276 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15277 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15278
e3c6aa3a
AS
152792012-11-28 Andreas Schwab <schwab@suse.de>
15280
15281 * scripts/abilist.awk: Also handle indirect functions in .opd
15282 section.
15283
1bead169
JM
152842012-11-28 Joseph Myers <joseph@codesourcery.com>
15285
15286 [BZ #13881]
15287 * sysdeps/x86/fpu/powl_helper.c: New file.
15288 * sysdeps/x86/fpu/Makefile: Likewise.
15289 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15290 (p3): New object.
15291 (__ieee754_powl): Use __powl_helper for finite arguments except
15292 integer exponents below 8.
15293 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15294 (p3): New object.
15295 (__ieee754_powl): Use __powl_helper for finite arguments except
15296 integer exponents below 8.
15297 * math/libm-test.inc (pow_test): Add more tests and enable some
15298 previously disabled tests.
15299 * sysdeps/i386/fpu/libm-test-ulps: Update.
15300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15301
0817d63d
SP
153022012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15303 Carlos O'Donell <carlos_odonell@mentor.com>
15304
15305 * nss/makedb.c (is_prime): Assert that input is odd and greater
15306 than 4. Note that fact in a comment too.
15307 (next_prime): Add 4 to input.
15308
de2fd463
SP
153092012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15310
15311 [BZ #11741]
15312 * libio/Makefile (tests): Add test case tst-fwrite-error.
15313 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15314 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15315 * libio/tst-fwrite-error.c: New test case.
15316
c515fb51
L
153172012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15318
15319 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15320 before casting to void *.
15321 * include/libc-internal.h (__pointer_type): New macro.
15322 (__integer_if_pointer_type_sub): Likewise.
15323 (__integer_if_pointer_type): Likewise.
15324 (cast_to_integer): Likewise.
15325 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15326 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15327 before casting to atomic64_t.
15328 (atomic_exchange_acq): Likewise.
15329 (__arch_exchange_and_add_body): Likewise.
15330 (__arch_add_body): Likewise.
15331 (atomic_add_negative): Likewise.
15332 (atomic_add_zero): Likewise.
15333
4cf77aa9
JM
153342012-11-26 Joseph Myers <joseph@codesourcery.com>
15335
15336 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15337 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15338 (add_fdes): Likewise.
15339 (linear_search_fdes): Likewise.
15340 (binary_search_unencoded_fdes): Likewise.
15341
d260b3b4
AS
153422012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15343
15344 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15345
67060746
AC
153462012-11-24 Adam Conrad <adconrad@0c3.net>
15347
15348 * configure.in: Autodetect C++ header directories.
15349 * configure: Regenerated.
15350
800938a1
MF
153512012-11-23 Mike Frysinger <vapier@gentoo.org>
15352
15353 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15354
4e6e34e6
AS
153552012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15356
15357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15358
7c7feb47
JM
153592012-11-22 Joseph Myers <joseph@codesourcery.com>
15360
7184dcdf
JM
15361 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15362 LDBL_MANT_DIG == 106]: Disable some tests.
15363 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15364 Likewise.
15365 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15366 Likewise.
15367
0a42601f
JM
15368 [BZ #14871]
15369 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15370 input for small inputs. Return +/- pi/2 for large inputs.
15371 * math/libm-test.inc (atan_test): Add more tests.
15372
79c9b9fe
JM
15373 * sysdeps/generic/unwind-dw2-fde-glibc.c
15374 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15375 __attribute__ ((unused)).
15376
c60d3bf2
JM
15377 [BZ #14645]
15378 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15379 x * y if x and y are nonzero and z is zero.
15380
ef1e0867
JM
15381 [BZ #14811]
15382 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15383 nonzero exponents with absolute value below 0x1p-117 to +/-
15384 0x1p-117.
15385
1468ded3
JM
15386 [BZ #14869]
15387 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15388 up arguments below 2**-450, not just those below 2**-500.
15389 * math/libm-test.inc (hypot_test): Add another test.
15390
8e27e3cc
JM
15391 [BZ #14868]
15392 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15393 Return a+b for ratio over 2**120, not 2**60.
15394 * math/libm-test.inc (hypot_test): Add another test.
15395
c9c0279b
JM
15396 * math/libm-test.inc (clog_test): Use
15397 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15398 (clog10_test): Likewise.
15399
7c7feb47
JM
15400 [BZ #6778]
15401 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15402
fff1530e
AS
154032012-11-22 Andreas Schwab <schwab@suse.de>
15404
15405 * sysdeps/i386/fpu/libm-test-ulps: Update.
15406
94558d30
PT
154072012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15408
15409 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15410 printf output with newline.
15411
7e1be741
L
154122012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15413
6bfea974
L
15414 [BZ #14865]
15415 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15416 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15417 -z nodlopen, -z initfirst and -z execstack support.
15418 * configure: Regenerated.
15419
7e1be741
L
15420 * elf/elf.h (DF_1_NODIRECT): New macro.
15421 (DF_1_IGNMULDEF): Likewise.
15422 (DF_1_NOKSYMS): Likewise.
15423 (DF_1_NOHDR): Likewise.
15424 (DF_1_EDITED): Likewise.
15425 (DF_1_NORELOC): Likewise.
15426 (DF_1_SYMINTPOSE): Likewise.
15427 (DF_1_GLOBAUDIT): Likewise.
15428 (DF_1_SINGLETON): Likewise.
15429 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15430 DT_1_SUPPORTED_MASK bits.
15431 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15432
105ce2ce
CD
154332012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15434
15435 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15436
123be9de
TS
154372012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15438
d072f3f7
TS
15439 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15440 macro.
15441
123be9de
TS
15442 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15443 (sendmmsg): Move declarations...
15444 * socket/sys/socket.h: ... here.
15445 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15446 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15447 include it from...
15448 * socket/recvmmsg.c: ... this new file.
15449 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15450 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15451 definition of __sendmmsg hidden.
15452 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15453 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15454 Move ENOSYS stub into and include it from...
15455 * socket/sendmmsg.c: ... this new file.
15456 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15457 (sysdep_routines): Move recvmmsg and sendmmsg...
15458 * socket/Makefile (routines): ... here.
15459 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15460 (GLIBC_PRIVATE): Add __sendmmsg.
15461 * include/sys/socket.h (__sendmmsg): Add declarations.
15462 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15463 sendmmsg.
15464
cf9a5d18
JM
154652012-11-20 Joseph Myers <joseph@codesourcery.com>
15466
15467 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15468 variable I1 with __attribute__ ((unused)).
15469 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15470
ecd4caf9
JM
154712012-11-19 Joseph Myers <joseph@codesourcery.com>
15472
be14d48f
JM
15473 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15474 DUMMY variables with __attribute__ ((unused)).
15475
ecd4caf9
JM
15476 * bits/byteswap.h: Include <bits/types.h>.
15477 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15478
986cab95
PT
154792012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15480
15481 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15482 string_t. Do not manually set errno.
15483 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15484 length with __strnlen. Make sure to both set errno and return it on
15485 failure.
15486
6d33cc9d
DM
154872012-11-19 David S. Miller <davem@davemloft.net>
15488
15489 With help from Joseph Myers.
15490 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15491 very large arguments properly.
15492 * math/libm-test.inc (atan_test): New tests.
15493 (atan2_test): New tests.
15494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15495 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15496
ee663277
JM
154972012-11-19 Joseph Myers <joseph@codesourcery.com>
15498
877f2d8e
JM
15499 [BZ #14856]
15500 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15501 Define to 3.
15502
116fc08a
JM
15503 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15504 [POSIX] (EADDRNOTAVAIL): Likewise.
15505 [POSIX] (EAFNOSUPPORT): Likewise.
15506 [POSIX] (EALREADY): Likewise.
15507 [POSIX] (ECONNABORTED): Likewise.
15508 [POSIX] (ECONNREFUSED): Likewise.
15509 [POSIX] (ECONNRESET): Likewise.
15510 [POSIX] (EDESTADDRREQ): Likewise.
15511 [POSIX] (EDQUOT): Likewise.
15512 [POSIX] (EHOSTUNREACH): Likewise.
15513 [POSIX] (EIDRM): Likewise.
15514 [POSIX] (EISCONN): Likewise.
15515 [POSIX] (ELOOP): Likewise.
15516 [POSIX] (EMULTIHOP): Likewise.
15517 [POSIX] (ENETDOWN): Likewise.
15518 [POSIX] (ENETUNREACH): Likewise.
15519 [POSIX] (ENOBUFS): Likewise.
15520 [POSIX] (ENODATA): Likewise.
15521 [POSIX] (ENOLINK): Likewise.
15522 [POSIX] (ENOMSG): Likewise.
15523 [POSIX] (ENOPROTOOPT): Likewise.
15524 [POSIX] (ENOSR): Likewise.
15525 [POSIX] (ENOSTR): Likewise.
15526 [POSIX] (ENOTCONN): Likewise.
15527 [POSIX] (ENOTSOCK): Likewise.
15528 [POSIX] (EOPNOTSUPP): Likewise.
15529 [POSIX] (EOVERFLOW): Likewise.
15530 [POSIX] (EPROTO): Likewise.
15531 [POSIX] (EPROTONOSUPPORT): Likewise.
15532 [POSIX] (EPROTOTYPE): Likewise.
15533 [POSIX] (ESTALE): Likewise.
15534 [POSIX] (ETIME): Likewise.
15535 [POSIX] (ETXTBSY): Likewise.
15536 [POSIX] (EWOULDBLOCK): Likewise.
15537 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15538 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15539 [POSIX] (SEEK_CUR): Likewise.
15540 [POSIX] (SEEK_END): Likewise.
15541 [POSIX || UNIX98] (mode_t): Do not require.
15542 [POSIX] (off_t): Likewise.
15543 [POSIX] (pid_t): Likewise.
15544 [POSIX] (sys/stat.h): Do not allow header.
15545 [POSIX] (unistd.h): Likewise.
15546 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15547 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15548 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15549 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15550 require.
15551 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15552 sigevent): Specify elements.
15553 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15554 entry.
15555 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15556 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15557
a483863f
JM
15558 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15559 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15560 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15561 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15562 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15563 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15564 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15565 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15566 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15567 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15568 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15569 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15570 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15571 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15572 Likewise.
15573 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15574 Likewise.
15575 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15576 Likewise.
15577 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15578 Likewise.
15579 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15580 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15581 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15582 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15583 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15584 Specify lower bound on value.
15585 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15586 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15587 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15588 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15589 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15590 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15591 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15592 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15593 value.
15594 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15595 as optional.
15596 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15597 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15598 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15599 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15600 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15601 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15602 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15603 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15604 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15605 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15606 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15607 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15608 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15609 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15610 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15611 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15612 entry.
15613 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15614 optional.
15615 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15616 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15617 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15618 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15619 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15620 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15621 Likewise.
15622 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15623 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15624 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15625 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15626 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15627 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15628 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15629 as optional.
15630 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15631 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15632 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15633 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15634 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15635 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15636 specify as optional.
15637 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15638 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15639 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15640 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15641 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15642 [XPG3] (NL_LANGMAX): Likewise.
15643 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15644 [POSIX || XPG3] (NL_NMAX): Likewise.
15645 [POSIX || XPG3] (NL_SETMAX): Likewise.
15646 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15647 [XPG3] (NZERO): Likewise.
15648 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15649 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15650 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15651 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15652 (REG_ERANGE): Expect.
15653 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15654 optional-constant.
15655 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15656 Use (void) in prototype.
15657 [POSIX] (*_t): Allow.
15658 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15659 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15660 (WRDE_BADVAL): Expect.
15661
5ba924e3
JM
15662 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15663 expect.
15664 [XPG3 || XPG4] (O_RSYNC): Likewise.
15665 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15666 Likewise.
15667 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15668 [XPG3 || XPG4] (sigqueue): Likewise.
15669 [XPG3 || XPG4] (sigtimedwait): Likewise.
15670 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15671 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15672 [XPG3 || XPG4] (vsnprintf): Likewise.
15673 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15674 Likewise.
15675 [XPG3 || XPG4] (blksize_t): Likewise.
15676 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15677 Likewise.
15678 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15679 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15680 [XPG3 || XPG4] (struct itimerspec): Likewise.
15681 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15682 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15683 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15684 [XPG3 || XPG4] (clockid_t): Likewise.
15685 [XPG3 || XPG4] (timer_t): Likewise.
15686 [XPG3 || XPG4] (clock_getres): Likewise.
15687 [XPG3 || XPG4] (clock_gettime): Likewise.
15688 [XPG3 || XPG4] (clock_settime): Likewise.
15689 [XPG3 || XPG4] (nanosleep): Likewise.
15690 [XPG3 || XPG4] (timer_create): Likewise.
15691 [XPG3 || XPG4] (timer_delete): Likewise.
15692 [XPG3 || XPG4] (timer_gettime): Likewise.
15693 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15694 [XPG3 || XPG4] (timer_settime): Likewise.
15695 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15696 [XPG3 || XPG4] (getlogin_r): Likewise.
15697 [XPG3 || XPG4] (pread): Likewise.
15698 [XPG3 || XPG4] (pthread_atfork): Likewise.
15699 [XPG3 || XPG4] (pwrite): Likewise.
15700
ee663277
JM
15701 [BZ #14835]
15702 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15703 <bits/siginfo.h>.
15704
942caa16
PT
157052012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15706
e19af380
PT
15707 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15708 finalizing MALLSTREAM.
15709
942caa16
PT
15710 * sysdeps/mach/hurd/syncfs.c: New file.
15711
cfde9b46
SP
157122012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15713
15714 [BZ #14719]
15715 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15716 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15717 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15718 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15719 (_nss_dns_gethostbyname4_r): Likewise.
15720 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15721 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15722
f6da27e5
PH
157232012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15724
15725 [BZ #13763]
15726 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15727
6665d4a2
SM
157282012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15729
1f51ee92
SM
15730 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15731 * elf/cache.c (print_entry): Print ",AArch64" for
15732 FLAG_AARCH64_LIB64
15733
6665d4a2
SM
15734 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15735 * elf/cache.c (print_entry): Print ",hard-float" for
15736 FLAG_ARM_LIBHF.
15737
05b227bd
DM
157382012-11-18 David S. Miller <davem@davemloft.net>
15739
15740 With help from Joseph Myers.
15741 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15742 cutoff to 2**-13.
15743 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15744 cutoff to 2**-25.
15745 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15746 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15747 small.
15748 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15749 * math/libm-test.inc (y0_test): New tests.
15750 (y1_test): New tests.
15751 * sysdeps/i386/fpu/libm-test-ulps: Update.
15752 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15754
786b0b67
AS
157552012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15756
15757 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15758 64-bit targets.
15759 * configure: Regenerated.
15760
8e18b86d
DM
157612012-11-17 David S. Miller <davem@davemloft.net>
15762
15763 [BZ #14811]
15764 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15765 nonzero exponents with absolute value below 0x1p-128 to +/-
15766 0x1p-128.
15767
531f1ae0
JM
157682012-11-17 Joseph Myers <joseph@codesourcery.com>
15769
12df29e2
JM
15770 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15771
150dc1a0
JM
15772 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15773
531f1ae0
JM
15774 * posix/getconf-speclist.c: New file.
15775 * posix/posix-envs.def: Likewise.
15776 * posix/confstr.c (START_ENV_GROUP): New macro.
15777 (END_ENV_GROUP): Likewise.
15778 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15779 (KNOWN_PRESENT_ENV_STRING): Likewise.
15780 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15781 (UNKNOWN_ENVIRONMENT): Likewise.
15782 (confstr): Include posix-envs.def instead of handling
15783 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15784 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15785 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15786 (END_ENV_GROUP): Likewise.
15787 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15788 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15789 (UNKNOWN_ENVIRONMENT): Likewise.
15790 (__sysconf): Include posix-envs.def instead of handling associated
15791 cases directly here.
15792 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15793 preprocessing getconf-speclist.c rather than running getconf or
15794 generating empty file.
15795
a93f9cbc
PT
157962012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15797
15798 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15799
d64d9f87
AL
158002012-11-16 Andrej Lajovic <natrij@gmail.com>
15801
15802 [BZ #14672]
15803 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15804
447885eb
DM
158052012-11-16 David S. Miller <davem@davemloft.net>
15806
15807 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15808 smaller than LDBL_EPSILON/2.0L, just return xm1.
15809
bcbf9830
L
158102012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15811
15812 * elf/tst-array1.c (init): Set constructor priority to 1000.
15813 (fini): Set destructor priority to 1000.
15814 * elf/tst-array2dep.c: Likewise.
15815
2b766585
SP
158162012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15817
15818 [BZ #11741]
15819 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15820 (_IO_new_file_xsputn): Also return EOF if none of the input
15821 data was written when overflow failed.
15822 * libio/iopadn.c (_IO_padn): Likewise.
15823 * libio/iowpadn.c (_IO_wpadn): Likewise.
15824 * stdio-common/tst-put-error.c: Add copyright notice.
15825 (do_test): Add case for printing padded string.
15826 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15827 _IO_padn returned error.
15828 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15829 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15830 return EOF.
15831
b1848fde
SP
158322012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15833
15834 * libio/libioP.h: Add comment note that the references to C++
15835 bits are now obsolete.
15836
2fd89785
MS
158372012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15838
15839 * math/libm-test.inc (check_complex): Use asprintf.
15840
e3ea5409
JM
158412012-11-14 Joseph Myers <joseph@codesourcery.com>
15842
15843 * debug/pcprofiledump.c (print_version): Update copyright year.
15844 * malloc/memusagestat.c (print_version): Likewise.
15845
2e64d265
L
158462012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15847
15848 [BZ #14831]
15849 * elf/Makefile (tests): Add tst-audit8.
15850 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15851 ($(objpfx)tst-audit8.out): New target.
15852 (tst-audit8-ENV): New variable.
15853 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15854 audit if l_reloc_result is NULL.
15855 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15856 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15857 * elf/tst-audit8.c: New file.
15858
c485e4d2
MS
158592012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15860
15861 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15862 * misc/Makefile (CFLAGS-select.c): Define.
15863 * posix/Makefile (CFLAGS-pause.c): Define.
15864
3a0d900a
DM
158652012-11-13 David S. Miller <davem@davemloft.net>
15866
15867 * crypt/Makefile: Move test targets after toplevel Rules
15868 inclusion. Grab any necessary sysdep routines when linking.
15869 * crypt/md5.c (md5_process_block): Remove define, we will always
15870 name it __md5_process_block.
15871 (md5_finish_ctx): Update md5_process_block call.
15872 (md5_stream): Likewise.
15873 (md5_process_bytes): Likewise.
15874 (md5_process_block): Rename to __md5_process_block and move to ...
15875 * crypt/md5-block.c: ... here.
15876 * crypt/sha256.c (sha256_process_block): Move to ...
15877 * crypt/sha256-block.c: ... here.
15878 * crypt/sha512.c (sha512_process_block): Move to ...
15879 * crypt/sha512-block.c: ... here.
15880 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15881 path.
15882 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15883 * sysdeps/sparc/sparc64/multiarch/Makefile
15884 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15885 crypt subdir.
15886 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15887 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15888 multiarch changes.
15889 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15890 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15891 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15892 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15893 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15894 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15895 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15896 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15897 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15898 file.
15899 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15900 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15901 file.
15902 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15903
8ca89318
JM
159042012-11-13 Joseph Myers <joseph@codesourcery.com>
15905
e27d476a
JM
15906 * timezone/tzselect.ksh: Update from tzcode git revision
15907 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15908 * timezone/zdump.c: Likewise.
15909 * timezone/zic.c: Likewise.
15910 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15911 in TZVERSION setting, not $(PKGVERSION).
15912 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15913 REPORT_BUGS_TO settings.
15914
8ca89318
JM
15915 [BZ #14838]
15916 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15917 macro.
15918
47594329
MS
159192012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15920
15921 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15922 detection to immediately after _FP_ROUND().
15923 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15924 bits are 0.
15925
640ac3f1
DM
159262012-11-11 David S. Miller <davem@davemloft.net>
15927
15928 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15929 inttypes.h
15930 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15931 __close rather than their public counterparts.
15932
3d2577bb
JM
159332012-11-10 Joseph Myers <joseph@codesourcery.com>
15934
15935 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15936 file.
15937 [UNIX98] (sem_timedwait): Do not expect.
15938 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15939 [XPG4 || UNIX98] (sockatmark): Do not expect.
15940 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15941 (clock_getcpuclockid): Do not expect.
15942 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15943 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15944 Do not expect.
15945 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15946 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15947 [UNIX98] (vwscanf): Likewise.
15948 [UNIX98] (vswscanf): Likewise.
15949
fb1ae1ee
JM
159502012-11-09 Joseph Myers <joseph@codesourcery.com>
15951
9ec6f8bd
JM
15952 * timezone/version.h: Remove file.
15953 * timezone/README: Do not refer to version.h.
15954 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15955 $(objpfx)version.h.
15956 ($(objpfx)zdump.o): Likewise.
c3f81911 15957 ($(objpfx)version.h): New target.
9ec6f8bd 15958
0aa8f8a1
JM
15959 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15960 2012i.
15961 * timezone/README: Don't mention modification to tzselect.ksh.
15962 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15963 work on unmodified tzselect.ksh. Substitute version numbers in
15964 tzselect.ksh.
15965
4e87147f
JM
15966 * Makefile (format-me): Remove.
15967 (INSTALL): Adjust indentation. Use commands directly instead of
15968 using $(format-me).
15969
8b748aed
JM
15970 * aclocal.m4 (ACX_PKGVERSION): New macro.
15971 (ACX_BUGURL): Likewise.
15972 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15973 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15974 (REPORT_BUGS_TO): Likewise.
15975 * configure: Regenerated.
15976 * config.h.in (PKGVERSION): New macro.
15977 (REPORT_BUGS_TO): Likewise.
15978 * config.make.in (PKGVERSION): New variable.
15979 (PKGVERSION_TEXI): Likewise.
15980 (REPORT_BUGS_TO): Likewise.
15981 (REPORT_BUGS_TEXI): Likewise.
15982 * Makefile (format-me): Use -I$(common-objpfx)manual.
15983 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15984 ($(common-objpfx)manual/%): New target.
15985 (manual/%): Remove target.
15986 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15987 (print_version): Use PKGVERSION.
15988 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15989 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15990 and REPORT_BUGS_TO.
15991 ($(objpfx)xtrace): Likewise.
15992 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15993 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15994 (print_version): Use PKGVERSION.
15995 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15996 (do_version): Use PKGVERSION.
15997 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15998 REPORT_BUGS_TO.
15999 (common-ldd-rewrite): Likewise.
16000 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16001 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16002 (print_version): Use PKGVERSION.
16003 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16004 * elf/pldd.c (argp_program_bug_address): Remove variable.
16005 (more_help): New function.
16006 (argp): Use more_help.
16007 (print_version): Use PKGVERSION.
16008 * elf/sln.c (main): Use PKGVERSION.
16009 (usage): Use REPORT_BUGS_TO.
16010 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16011 (top level): Use PKGVERSION.
16012 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16013 (print_version): Use PKGVERSION.
16014 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16015 (print_version): Use PKGVERSION.
16016 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16017 (print_version): Use PKGVERSION.
16018 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16019 (print_version): Use PKGVERSION.
16020 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16021 (print_version): Use PKGVERSION.
16022 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16023 (print_version): Use PKGVERSION.
16024 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16025 and BUGURL.
16026 ($(objpfx)memusage): Likewise.
16027 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16028 (do_version): Use PKGVERSION.
16029 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16030 (print_version): Use PKGVERSION.
16031 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16032 ($PKGVERSION): New variable.
16033 ($REPORT_BUGS_TO): Likewise.
16034 (usage): Use $REPORT_BUGS_TO.
16035 (top level): Use $PKGVERSION.
16036 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16037 ($(objpfx)pkgvers.texi): New rule.
16038 ($(objpfx)stamp-pkgvers): Likewise.
16039 * manual/install.texi: Include pkgvers.texi.
16040 (--with-pkgversion): Document new configure option.
16041 (--with-bugurl): Likewise.
16042 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16043 than necessarily for this particular distribution. Use
16044 REPORT_BUGS_TO for where to report bugs.
16045 * INSTALL: Regenerated.
16046 * manual/libc.texinfo: Include pkgvers.texi.
16047 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16048 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16049 (print_version): Use PKGVERSION.
16050 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16051 (print_version): Use PKGVERSION.
16052 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16053 (print_version): Use PKGVERSION.
16054 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16055 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16056 macro.
16057 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16058 (print_version): Use PKGVERSION.
16059 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16060 (print_version): Use PKGVERSION.
16061 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16062 and PKGVERSION.
16063
92e4b6a9
JM
16064 * timezone/checktab.awk: Update from tzcode 2012i.
16065 * timezone/ialloc.c: Likewise.
16066 * timezone/private.h: Likewise.
16067 * timezone/scheck.c: Likewise.
16068 * timezone/tzfile.h: Likewise.
16069 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16070 (TZVERSION): Hardcode tzcode version number.
16071 * timezone/zdump.c: Update from tzcode 2012i.
16072 * timezone/zic.c: Likewise.
16073 * timezone/version.h: New file.
16074 * timezone/README: Describe version.h. Update upstream location.
16075
9bde902c
JM
16076 [BZ #14824]
16077 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16078 (mktemp): Enable declaration.
16079 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16080 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16081 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16082 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16083 Likewise.
16084 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16085 Likewise.
16086 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16087 Likewise.
16088 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16089 Likewise.
16090 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16091 Likewise.
16092 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16093 Likewise.
16094
fb1ae1ee
JM
16095 [BZ #14821]
16096 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16097 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16098 for copies of such integer values.
16099 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16100 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16101
2c1adbcb
AJ
161022012-11-09 Andreas Jaeger <aj@suse.de>
16103
16104 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16105 definitions and declarations that are provided by
16106 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16107
d0f8457e
AK
161082012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16109
3a235abb 16110 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
16111 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16112 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16113 definition.
16114
57241e26
MS
161152012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16116
16117 * elf/elf.h: Update comment before AArch64 relocations.
16118
60e8270d
DM
161192012-11-07 David S. Miller <davem@davemloft.net>
16120
16121 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16122 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16123 (__start_context): Declare.
16124 (__makecontext_ret): Delete.
16125 (__makecontext): Hook up __start_context instead of
16126 __makecontext_ret.
16127 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16128 (sysdep_routines): Add __start_context when in stdlib.
16129
0fbb0fbc
JM
161302012-11-07 Joseph Myers <joseph@codesourcery.com>
16131
16132 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16133 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16134 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16135 hardcoded "nm".
16136 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16137 (READELF): New variable. Use it instead of hardcoded "readelf".
16138
eb48db7e
L
161392012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16140
16141 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16142 * sysdeps/x86/Makefile: Here.
16143 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16144 * sysdeps/x86/tst-xmmymm.sh: This.
16145
05bcf62a
JM
161462012-11-07 Joseph Myers <joseph@codesourcery.com>
16147
c4b6cf53
JM
16148 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16149 expectations.
16150 [UNIX98] (pthread_barrier_t): Do not expect.
16151 [UNIX98] (pthread_barrierattr_t): Likewise.
16152 [UNIX98] (pthread_spinlock_t): Likewise.
16153 [UNIX98] (pthread_barrier_destroy): Likewise.
16154 [UNIX98] (pthread_barrier_init): Likewise.
16155 [UNIX98] (pthread_barrier_wait): Likewise.
16156 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16157 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16158 [UNIX98] (pthread_barrierattr_init): Likewise.
16159 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16160 [UNIX98] (pthread_getcpuclockid): Likewise.
16161 [UNIX98] (pthread_mutex_timedlock): Likewise.
16162 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16163 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16164 [UNIX98] (pthread_sigmask): Likewise.
16165 [UNIX98] (pthread_spin_destroy): Likewise.
16166 [UNIX98] (pthread_spin_init): Likewise.
16167 [UNIX98] (pthread_spin_lock): Likewise.
16168 [UNIX98] (pthread_spin_trylock): Likewise.
16169 [UNIX98] (pthread_spin_unlock): Likewise.
16170 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16171 Do not expect.
16172 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16173 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16174 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16175 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16176 [XPG3 || XPG4] (pthread_key_t): Likewise.
16177 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16178 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16179 [XPG3 || XPG4] (pthread_once_t): Likewise.
16180 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16181 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16182 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16183 [XPG3 || XPG4] (pthread_t): Likewise.
16184
cbe6e120
JM
16185 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16186 not expect.
16187 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16188
1b126443
JM
16189 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16190 Change function return type to int.
16191
b961a573
JM
16192 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16193 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16194 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16195 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16196 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16197 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16198 [!POSIX] (posix_madvise): Likewise.
16199 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16200 && !UNIX98].
16201 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16202 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16203 (mode_t): Likewise.
16204 (posix_mem_offset): Likewise.
16205 (posix_typed_mem_get_info): Likewise.
16206 (posix_typed_mem_open): Likewise.
16207
9e188909
JM
16208 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16209 Change condition to [XOPEN2K8].
16210
05bcf62a
JM
16211 * conform/conformtest.pl: Preprocess allow-header data with -x c
16212 instead of from stdin.
16213 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16214 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16215 [C99-based standards] (cerfc): Likewise.
16216 [C99-based standards] (cexp2): Likewise.
16217 [C99-based standards] (cexpm1): Likewise.
16218 [C99-based standards] (clog10): Likewise.
16219 [C99-based standards] (clog1p): Likewise.
16220 [C99-based standards] (clog2): Likewise.
16221 [C99-based standards] (clgamma): Likewise.
16222 [C99-based standards] (ctgamma): Likewise.
16223 [C99-based standards] (cerff): Likewise.
16224 [C99-based standards] (cerfcf): Likewise.
16225 [C99-based standards] (cexp2f): Likewise.
16226 [C99-based standards] (cexpm1f): Likewise.
16227 [C99-based standards] (clog10f): Likewise.
16228 [C99-based standards] (clog1pf): Likewise.
16229 [C99-based standards] (clog2f): Likewise.
16230 [C99-based standards] (clgammaf): Likewise.
16231 [C99-based standards] (ctgammaf): Likewise.
16232 [C99-based standards] (cerfl): Likewise.
16233 [C99-based standards] (cerfcl): Likewise.
16234 [C99-based standards] (cexp2l): Likewise.
16235 [C99-based standards] (cexpm1l): Likewise.
16236 [C99-based standards] (clog10l): Likewise.
16237 [C99-based standards] (clog1pl): Likewise.
16238 [C99-based standards] (clog2l): Likewise.
16239 [C99-based standards] (clgammal): Likewise.
16240 [C99-based standards] (ctgammal): Likewise.
16241 * conform/data/inttypes.h-data [C99-based standards]: Include
16242 stdint.h-data. Remove all expectations for stdint.h contents.
16243 [C99-based standards] (PRI*): Do not allow.
16244 [C99-based standards] (SCN*): Likewise.
16245 [C99-based standards] (*_t): Likewise.
16246 [C99-based-standards] (PRId8): Expect macro.
16247 [C99-based-standards] (PRIi8): Likewise.
16248 [C99-based-standards] (PRIo8): Likewise.
16249 [C99-based-standards] (PRIu8): Likewise.
16250 [C99-based-standards] (PRIx8): Likewise.
16251 [C99-based-standards] (PRIX8): Likewise.
16252 [C99-based-standards] (SCNd8): Likewise.
16253 [C99-based-standards] (SCNi8): Likewise.
16254 [C99-based-standards] (SCNo8): Likewise.
16255 [C99-based-standards] (SCNu8): Likewise.
16256 [C99-based-standards] (SCNx8): Likewise.
16257 [C99-based-standards] (PRIdLEAST8): Likewise.
16258 [C99-based-standards] (PRIiLEAST8): Likewise.
16259 [C99-based-standards] (PRIoLEAST8): Likewise.
16260 [C99-based-standards] (PRIuLEAST8): Likewise.
16261 [C99-based-standards] (PRIxLEAST8): Likewise.
16262 [C99-based-standards] (PRIXLEAST8): Likewise.
16263 [C99-based-standards] (SCNdLEAST8): Likewise.
16264 [C99-based-standards] (SCNiLEAST8): Likewise.
16265 [C99-based-standards] (SCNoLEAST8): Likewise.
16266 [C99-based-standards] (SCNuLEAST8): Likewise.
16267 [C99-based-standards] (SCNxLEAST8): Likewise.
16268 [C99-based-standards] (PRIdFAST8): Likewise.
16269 [C99-based-standards] (PRIiFAST8): Likewise.
16270 [C99-based-standards] (PRIoFAST8): Likewise.
16271 [C99-based-standards] (PRIuFAST8): Likewise.
16272 [C99-based-standards] (PRIxFAST8): Likewise.
16273 [C99-based-standards] (PRIXFAST8): Likewise.
16274 [C99-based-standards] (SCNdFAST8): Likewise.
16275 [C99-based-standards] (SCNiFAST8): Likewise.
16276 [C99-based-standards] (SCNoFAST8): Likewise.
16277 [C99-based-standards] (SCNuFAST8): Likewise.
16278 [C99-based-standards] (SCNxFAST8): Likewise.
16279 [C99-based-standards] (PRId16): Likewise.
16280 [C99-based-standards] (PRIi16): Likewise.
16281 [C99-based-standards] (PRIo16): Likewise.
16282 [C99-based-standards] (PRIu16): Likewise.
16283 [C99-based-standards] (PRIx16): Likewise.
16284 [C99-based-standards] (PRIX16): Likewise.
16285 [C99-based-standards] (SCNd16): Likewise.
16286 [C99-based-standards] (SCNi16): Likewise.
16287 [C99-based-standards] (SCNo16): Likewise.
16288 [C99-based-standards] (SCNu16): Likewise.
16289 [C99-based-standards] (SCNx16): Likewise.
16290 [C99-based-standards] (PRIdLEAST16): Likewise.
16291 [C99-based-standards] (PRIiLEAST16): Likewise.
16292 [C99-based-standards] (PRIoLEAST16): Likewise.
16293 [C99-based-standards] (PRIuLEAST16): Likewise.
16294 [C99-based-standards] (PRIxLEAST16): Likewise.
16295 [C99-based-standards] (PRIXLEAST16): Likewise.
16296 [C99-based-standards] (SCNdLEAST16): Likewise.
16297 [C99-based-standards] (SCNiLEAST16): Likewise.
16298 [C99-based-standards] (SCNoLEAST16): Likewise.
16299 [C99-based-standards] (SCNuLEAST16): Likewise.
16300 [C99-based-standards] (SCNxLEAST16): Likewise.
16301 [C99-based-standards] (PRIdFAST16): Likewise.
16302 [C99-based-standards] (PRIiFAST16): Likewise.
16303 [C99-based-standards] (PRIoFAST16): Likewise.
16304 [C99-based-standards] (PRIuFAST16): Likewise.
16305 [C99-based-standards] (PRIxFAST16): Likewise.
16306 [C99-based-standards] (PRIXFAST16): Likewise.
16307 [C99-based-standards] (SCNdFAST16): Likewise.
16308 [C99-based-standards] (SCNiFAST16): Likewise.
16309 [C99-based-standards] (SCNoFAST16): Likewise.
16310 [C99-based-standards] (SCNuFAST16): Likewise.
16311 [C99-based-standards] (SCNxFAST16): Likewise.
16312 [C99-based-standards] (PRId32): Likewise.
16313 [C99-based-standards] (PRIi32): Likewise.
16314 [C99-based-standards] (PRIo32): Likewise.
16315 [C99-based-standards] (PRIu32): Likewise.
16316 [C99-based-standards] (PRIx32): Likewise.
16317 [C99-based-standards] (PRIX32): Likewise.
16318 [C99-based-standards] (SCNd32): Likewise.
16319 [C99-based-standards] (SCNi32): Likewise.
16320 [C99-based-standards] (SCNo32): Likewise.
16321 [C99-based-standards] (SCNu32): Likewise.
16322 [C99-based-standards] (SCNx32): Likewise.
16323 [C99-based-standards] (PRIdLEAST32): Likewise.
16324 [C99-based-standards] (PRIiLEAST32): Likewise.
16325 [C99-based-standards] (PRIoLEAST32): Likewise.
16326 [C99-based-standards] (PRIuLEAST32): Likewise.
16327 [C99-based-standards] (PRIxLEAST32): Likewise.
16328 [C99-based-standards] (PRIXLEAST32): Likewise.
16329 [C99-based-standards] (SCNdLEAST32): Likewise.
16330 [C99-based-standards] (SCNiLEAST32): Likewise.
16331 [C99-based-standards] (SCNoLEAST32): Likewise.
16332 [C99-based-standards] (SCNuLEAST32): Likewise.
16333 [C99-based-standards] (SCNxLEAST32): Likewise.
16334 [C99-based-standards] (PRIdFAST32): Likewise.
16335 [C99-based-standards] (PRIiFAST32): Likewise.
16336 [C99-based-standards] (PRIoFAST32): Likewise.
16337 [C99-based-standards] (PRIuFAST32): Likewise.
16338 [C99-based-standards] (PRIxFAST32): Likewise.
16339 [C99-based-standards] (PRIXFAST32): Likewise.
16340 [C99-based-standards] (SCNdFAST32): Likewise.
16341 [C99-based-standards] (SCNiFAST32): Likewise.
16342 [C99-based-standards] (SCNoFAST32): Likewise.
16343 [C99-based-standards] (SCNuFAST32): Likewise.
16344 [C99-based-standards] (SCNxFAST32): Likewise.
16345 [C99-based-standards] (PRId64): Likewise.
16346 [C99-based-standards] (PRIi64): Likewise.
16347 [C99-based-standards] (PRIo64): Likewise.
16348 [C99-based-standards] (PRIu64): Likewise.
16349 [C99-based-standards] (PRIx64): Likewise.
16350 [C99-based-standards] (PRIX64): Likewise.
16351 [C99-based-standards] (SCNd64): Likewise.
16352 [C99-based-standards] (SCNi64): Likewise.
16353 [C99-based-standards] (SCNo64): Likewise.
16354 [C99-based-standards] (SCNu64): Likewise.
16355 [C99-based-standards] (SCNx64): Likewise.
16356 [C99-based-standards] (PRIdLEAST64): Likewise.
16357 [C99-based-standards] (PRIiLEAST64): Likewise.
16358 [C99-based-standards] (PRIoLEAST64): Likewise.
16359 [C99-based-standards] (PRIuLEAST64): Likewise.
16360 [C99-based-standards] (PRIxLEAST64): Likewise.
16361 [C99-based-standards] (PRIXLEAST64): Likewise.
16362 [C99-based-standards] (SCNdLEAST64): Likewise.
16363 [C99-based-standards] (SCNiLEAST64): Likewise.
16364 [C99-based-standards] (SCNoLEAST64): Likewise.
16365 [C99-based-standards] (SCNuLEAST64): Likewise.
16366 [C99-based-standards] (SCNxLEAST64): Likewise.
16367 [C99-based-standards] (PRIdFAST64): Likewise.
16368 [C99-based-standards] (PRIiFAST64): Likewise.
16369 [C99-based-standards] (PRIoFAST64): Likewise.
16370 [C99-based-standards] (PRIuFAST64): Likewise.
16371 [C99-based-standards] (PRIxFAST64): Likewise.
16372 [C99-based-standards] (PRIXFAST64): Likewise.
16373 [C99-based-standards] (SCNdFAST64): Likewise.
16374 [C99-based-standards] (SCNiFAST64): Likewise.
16375 [C99-based-standards] (SCNoFAST64): Likewise.
16376 [C99-based-standards] (SCNuFAST64): Likewise.
16377 [C99-based-standards] (SCNxFAST64): Likewise.
16378 [C99-based-standards] (PRIdMAX): Likewise.
16379 [C99-based-standards] (PRIiMAX): Likewise.
16380 [C99-based-standards] (PRIoMAX): Likewise.
16381 [C99-based-standards] (PRIuMAX): Likewise.
16382 [C99-based-standards] (PRIxMAX): Likewise.
16383 [C99-based-standards] (PRIXMAX): Likewise.
16384 [C99-based-standards] (SCNdMAX): Likewise.
16385 [C99-based-standards] (SCNiMAX): Likewise.
16386 [C99-based-standards] (SCNoMAX): Likewise.
16387 [C99-based-standards] (SCNuMAX): Likewise.
16388 [C99-based-standards] (SCNxMAX): Likewise.
16389 [C99-based-standards] (PRIdPTR): Likewise.
16390 [C99-based-standards] (PRIiPTR): Likewise.
16391 [C99-based-standards] (PRIoPTR): Likewise.
16392 [C99-based-standards] (PRIuPTR): Likewise.
16393 [C99-based-standards] (PRIxPTR): Likewise.
16394 [C99-based-standards] (PRIXPTR): Likewise.
16395 [C99-based-standards] (SCNdPTR): Likewise.
16396 [C99-based-standards] (SCNiPTR): Likewise.
16397 [C99-based-standards] (SCNoPTR): Likewise.
16398 [C99-based-standards] (SCNuPTR): Likewise.
16399 [C99-based-standards] (SCNxPTR): Likewise.
16400 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16401 allow.
16402 * conform/data/stdint.h-data: Update comments to clarify
16403 requirements.
16404 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16405 type.
16406 [C99-based standards] (INT8_MAX): Likewise.
16407 [C99-based standards] (INT16_MIN): Likewise.
16408 [C99-based standards] (INT16_MAX): Likewise.
16409 [C99-based standards] (INT32_MIN): Likewise.
16410 [C99-based standards] (INT32_MAX): Likewise.
16411 [C99-based standards] (INT64_MIN): Likewise.
16412 [C99-based standards] (INT64_MAX): Likewise.
16413 [C99-based standards] (UINT8_MAX): Likewise.
16414 [C99-based standards] (UINT16_MAX): Likewise.
16415 [C99-based standards] (UINT32_MAX): Likewise.
16416 [C99-based standards] (UINT64_MAX): Likewise.
16417 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16418 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16419 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16420 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16421 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16422 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16423 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16424 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16425 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16426 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16427 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16428 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16429 [C99-based standards] (INT_FAST8_MIN): Likewise.
16430 [C99-based standards] (INT_FAST8_MAX): Likewise.
16431 [C99-based standards] (INT_FAST16_MIN): Likewise.
16432 [C99-based standards] (INT_FAST16_MAX): Likewise.
16433 [C99-based standards] (INT_FAST32_MIN): Likewise.
16434 [C99-based standards] (INT_FAST32_MAX): Likewise.
16435 [C99-based standards] (INT_FAST64_MIN): Likewise.
16436 [C99-based standards] (INT_FAST64_MAX): Likewise.
16437 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16438 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16439 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16440 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16441 [C99-based standards] (INTPTR_MIN): Likewise.
16442 [C99-based standards] (INTPTR_MAX): Likewise.
16443 [C99-based standards] (UINTPTR_MAX): Likewise.
16444 [C99-based standards] (INTMAX_MIN): Likewise.
16445 [C99-based standards] (INTMAX_MAX): Likewise.
16446 [C99-based standards] (UINTMAX_MAX): Likewise.
16447 [C99-based standards] (PTRDIFF_MIN): Likewise.
16448 [C99-based standards] (PTRDIFF_MAX): Likewise.
16449 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16450 [C99-based standards] (SIZE_MAX): Likewise.
16451 [C99-based standards] (WCHAR_MAX): Likewise.
16452 [C99-based standards] (WINT_MAX): Likewise.
16453 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16454 constraint on value.
16455 [C99-based standards] (WCHAR_MIN): Likewise.
16456 [C99-based standards] (WINT_MIN): Likewise.
16457 [C99-based standards] (*_t): Allow.
16458 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16459 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16460 Include math.h-data and complex.h-data. Remove all expectations
16461 of math.h and complex.h contents.
16462 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16463 at end of line.
16464 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16465 (struct tm): Expect tag.
16466 [C99-based-standards] (wcstof): Expect function.
16467 [C99-based-standards] (wcstold): Likewise.
16468 [C99-based-standards] (wcstoll): Likewise.
16469 [C99-based-standards] (wcstoull): Likewise.
16470 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16471 macro-int-constant. Specify type.
16472 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16473 constraint on value.
16474 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16475 Specify type.
16476 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16477 Specify value.
16478 [ISO C standards]: Do not allow headers.
16479 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16480 wcs[abcdefghijklmnopqrstuvwxyz]*.
16481 [ISO C standards] (*_t): Do not allow.
16482 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16483 Expect function.
16484 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16485 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16486 Specify type.
16487 [ISO C standards]: Do not allow headers.
16488 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16489 is[abcdefghijklmnopqrstuvwxyz]*.
16490 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16491 to[abcdefghijklmnopqrstuvwxyz]*.
16492 [ISO C standards] (*_t): Do not allow.
16493 * conform/data/stdalign.h-data: New file.
16494 * conform/data/stdbool.h-data: Likewise.
16495 * conform/data/stdnoreturn.h-data: Likewise.
16496
7514feb8
RM
164972012-11-07 Roland McGrath <roland@hack.frob.com>
16498
16499 [BZ #14815]
16500 * manual/filesys.texi (Directory Entries): Typo fix.
16501 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16502
19b2ecfc
MS
165032012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16504
16505 * elf/elf.h (EM_AARCH64): New macro.
16506 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16507 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16508 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16509 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16510 (R_AARCH64_TLSDESC): Likewise.
16511 (NT_ARM_TLS): Likewise.
16512 (NT_ARM_HW_BREAK): Likewise.
16513 (NT_ARM_HW_WATCH): Likewise.
16514
60e235ee
JM
165152012-11-07 Joseph Myers <joseph@codesourcery.com>
16516
16517 [BZ #14811]
16518 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16519 (__ieee754_powl): Saturate nonzero exponents with absolute value
16520 below 0x1p-79 to +/- 0x1p-79.
16521 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16522 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16523 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16524 nonzero exponents with absolute value below 0x1p-32 to +/-
16525 0x1p-32.
16526 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16527 (__ieee754_powl): Saturate nonzero exponents with absolute value
16528 below 0x1p-79 to +/- 0x1p-79.
16529 * math/libm-test.inc (pow_test): Add more tests.
16530
0ab234b7
AK
165312012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16532
16533 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16534 _dl_s390_cap_flags with kernel. Increase string length.
16535 (_dl_s390_platforms): Add z196 and zEC12.
16536
45832f74
JM
165372012-11-07 Joseph Myers <joseph@codesourcery.com>
16538
16539 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16540 Change XOPEN21K to XOPEN2K.
16541
19218757
MK
165422012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16543
16544 * string/memmove.c: Use memcpy when possible.
16545
c5f45721
AJ
165462012-11-06 Andreas Jaeger <aj@suse.de>
16547
16548 * po/eo.po: Update from translation team.
16549
82477c28
JM
165502012-11-06 Joseph Myers <joseph@codesourcery.com>
16551
16552 [BZ #14793]
16553 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16554 exponent and small x and y exponents, scale x or y up. Increase
16555 by 2 the exponent used in scaling up.
16556 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16557 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16558 * math/libm-test.inc (fma_test): Add more tests.
16559 (fma_test_towardzero): Likewise.
16560 (fma_test_downward): Likewise.
16561 (fma_test_upward): Likewise.
16562
99252c8c
JM
165632012-11-05 Joseph Myers <joseph@codesourcery.com>
16564
acfa885f
JM
16565 [BZ #14805]
16566 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16567 fenv_t *.
16568
99252c8c
JM
16569 [BZ #14801]
16570 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16571 namespace for names of struct fields.
16572 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16573 fenv_t fields.
16574 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16575 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16576
d6d98dea
ST
165772012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16578
16579 [BZ #3665]
16580 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16581
e10bb107
TS
165822012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16583
16584 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16585 PTR_DEMANGLE.
16586
16587 [BZ #5246]
16588 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16589 PTR_DEMANGLE.
16590
a0c2940d
JM
165912012-11-04 Joseph Myers <joseph@codesourcery.com>
16592
16593 [BZ #14797]
16594 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16595 definitely overflow as x * y not x * y + z.
16596 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16597 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16598 * math/libm-test.inc (fma_test): Add more tests.
16599 (fma_test_towardzero): Likewise.
16600 (fma_test_downward): Likewise.
16601 (fma_test_upward): Likewise.
16602
b830319d
TS
166032012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16604
16605 [BZ #157]
16606
16607 * include/stub-tag.h: Remove file.
16608 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16609 '#include' of it.
16610 * manual/maint.texi (Porting): Don't reference it.
16611 * Makerules ($(objpfx)stubs): Likewise.
16612 * dirent/closedir.c: Don't include <stub-tag.h>.
16613 * dirent/dirfd.c: Likewise.
16614 * dirent/fdopendir.c: Likewise.
16615 * dirent/getdents.c: Likewise.
16616 * dirent/getdents64.c: Likewise.
16617 * dirent/opendir.c: Likewise.
16618 * dirent/readdir.c: Likewise.
16619 * dirent/readdir64.c: Likewise.
16620 * dirent/readdir64_r.c: Likewise.
16621 * dirent/readdir_r.c: Likewise.
16622 * dirent/rewinddir.c: Likewise.
16623 * dirent/seekdir.c: Likewise.
16624 * dirent/telldir.c: Likewise.
16625 * gmon/profil.c: Likewise.
16626 * grp/setgroups.c: Likewise.
16627 * inet/if_index.c: Likewise.
16628 * io/access.c: Likewise.
16629 * io/chdir.c: Likewise.
16630 * io/chmod.c: Likewise.
16631 * io/chown.c: Likewise.
16632 * io/close.c: Likewise.
16633 * io/dup.c: Likewise.
16634 * io/dup2.c: Likewise.
16635 * io/dup3.c: Likewise.
16636 * io/euidaccess.c: Likewise.
16637 * io/faccessat.c: Likewise.
16638 * io/fchdir.c: Likewise.
16639 * io/fchmod.c: Likewise.
16640 * io/fchmodat.c: Likewise.
16641 * io/fchown.c: Likewise.
16642 * io/fchownat.c: Likewise.
16643 * io/fcntl.c: Likewise.
16644 * io/flock.c: Likewise.
16645 * io/fstatfs.c: Likewise.
16646 * io/fstatfs64.c: Likewise.
16647 * io/fstatvfs.c: Likewise.
16648 * io/fstatvfs64.c: Likewise.
16649 * io/futimens.c: Likewise.
16650 * io/fxstat.c: Likewise.
16651 * io/fxstat64.c: Likewise.
16652 * io/fxstatat.c: Likewise.
16653 * io/fxstatat64.c: Likewise.
16654 * io/getcwd.c: Likewise.
16655 * io/isatty.c: Likewise.
16656 * io/lchmod.c: Likewise.
16657 * io/lchown.c: Likewise.
16658 * io/link.c: Likewise.
16659 * io/linkat.c: Likewise.
16660 * io/lseek.c: Likewise.
16661 * io/lseek64.c: Likewise.
16662 * io/lxstat64.c: Likewise.
16663 * io/mkdir.c: Likewise.
16664 * io/mkdirat.c: Likewise.
16665 * io/mkfifo.c: Likewise.
16666 * io/mkfifoat.c: Likewise.
16667 * io/open.c: Likewise.
16668 * io/open64.c: Likewise.
16669 * io/openat.c: Likewise.
16670 * io/openat64.c: Likewise.
16671 * io/pipe.c: Likewise.
16672 * io/pipe2.c: Likewise.
16673 * io/poll.c: Likewise.
16674 * io/posix_fadvise.c: Likewise.
16675 * io/posix_fadvise64.c: Likewise.
16676 * io/posix_fallocate.c: Likewise.
16677 * io/posix_fallocate64.c: Likewise.
16678 * io/read.c: Likewise.
16679 * io/readlink.c: Likewise.
16680 * io/readlinkat.c: Likewise.
16681 * io/rmdir.c: Likewise.
16682 * io/sendfile.c: Likewise.
16683 * io/sendfile64.c: Likewise.
16684 * io/statfs.c: Likewise.
16685 * io/statfs64.c: Likewise.
16686 * io/statvfs.c: Likewise.
16687 * io/statvfs64.c: Likewise.
16688 * io/symlink.c: Likewise.
16689 * io/symlinkat.c: Likewise.
16690 * io/ttyname.c: Likewise.
16691 * io/ttyname_r.c: Likewise.
16692 * io/umask.c: Likewise.
16693 * io/unlink.c: Likewise.
16694 * io/unlinkat.c: Likewise.
16695 * io/utime.c: Likewise.
16696 * io/utimensat.c: Likewise.
16697 * io/write.c: Likewise.
16698 * io/xmknod.c: Likewise.
16699 * io/xmknodat.c: Likewise.
16700 * io/xstat.c: Likewise.
16701 * io/xstat64.c: Likewise.
16702 * login/getpt.c: Likewise.
16703 * login/grantpt.c: Likewise.
16704 * login/unlockpt.c: Likewise.
16705 * math/e_acoshl.c: Likewise.
16706 * math/e_acosl.c: Likewise.
16707 * math/e_asinl.c: Likewise.
16708 * math/e_atan2l.c: Likewise.
16709 * math/e_atanhl.c: Likewise.
16710 * math/e_coshl.c: Likewise.
16711 * math/e_expl.c: Likewise.
16712 * math/e_fmodl.c: Likewise.
16713 * math/e_gammal_r.c: Likewise.
16714 * math/e_hypotl.c: Likewise.
16715 * math/e_j0l.c: Likewise.
16716 * math/e_j1l.c: Likewise.
16717 * math/e_jnl.c: Likewise.
16718 * math/e_lgammal_r.c: Likewise.
16719 * math/e_log10l.c: Likewise.
16720 * math/e_log2l.c: Likewise.
16721 * math/e_logl.c: Likewise.
16722 * math/e_powl.c: Likewise.
16723 * math/e_rem_pio2l.c: Likewise.
16724 * math/e_sinhl.c: Likewise.
16725 * math/e_sqrtl.c: Likewise.
16726 * math/fclrexcpt.c: Likewise.
16727 * math/fedisblxcpt.c: Likewise.
16728 * math/feenablxcpt.c: Likewise.
16729 * math/fegetenv.c: Likewise.
16730 * math/fegetexcept.c: Likewise.
16731 * math/fegetround.c: Likewise.
16732 * math/feholdexcpt.c: Likewise.
16733 * math/fesetenv.c: Likewise.
16734 * math/fesetround.c: Likewise.
16735 * math/feupdateenv.c: Likewise.
16736 * math/fgetexcptflg.c: Likewise.
16737 * math/fraiseexcpt.c: Likewise.
16738 * math/fsetexcptflg.c: Likewise.
16739 * math/ftestexcept.c: Likewise.
16740 * math/k_cosl.c: Likewise.
16741 * math/k_rem_pio2l.c: Likewise.
16742 * math/k_sinl.c: Likewise.
16743 * math/k_tanl.c: Likewise.
16744 * math/s_asinhl.c: Likewise.
16745 * math/s_atanl.c: Likewise.
16746 * math/s_cbrtl.c: Likewise.
16747 * math/s_erfl.c: Likewise.
16748 * math/s_expm1l.c: Likewise.
16749 * math/s_log1pl.c: Likewise.
16750 * math/s_tanhl.c: Likewise.
16751 * misc/acct.c: Likewise.
16752 * misc/brk.c: Likewise.
16753 * misc/chflags.c: Likewise.
16754 * misc/chroot.c: Likewise.
16755 * misc/fchflags.c: Likewise.
16756 * misc/fgetxattr.c: Likewise.
16757 * misc/flistxattr.c: Likewise.
16758 * misc/fremovexattr.c: Likewise.
16759 * misc/fsetxattr.c: Likewise.
16760 * misc/fsync.c: Likewise.
16761 * misc/ftruncate.c: Likewise.
16762 * misc/futimes.c: Likewise.
16763 * misc/futimesat.c: Likewise.
16764 * misc/getdomain.c: Likewise.
16765 * misc/getdtsz.c: Likewise.
16766 * misc/gethostid.c: Likewise.
16767 * misc/gethostname.c: Likewise.
16768 * misc/getloadavg.c: Likewise.
16769 * misc/getpagesize.c: Likewise.
16770 * misc/getsysstats.c: Likewise.
16771 * misc/getxattr.c: Likewise.
16772 * misc/gtty.c: Likewise.
16773 * misc/ioctl.c: Likewise.
16774 * misc/lgetxattr.c: Likewise.
16775 * misc/listxattr.c: Likewise.
16776 * misc/llistxattr.c: Likewise.
16777 * misc/lremovexattr.c: Likewise.
16778 * misc/lsetxattr.c: Likewise.
16779 * misc/lutimes.c: Likewise.
16780 * misc/madvise.c: Likewise.
16781 * misc/mincore.c: Likewise.
16782 * misc/mlock.c: Likewise.
16783 * misc/mlockall.c: Likewise.
16784 * misc/mmap.c: Likewise.
16785 * misc/mprotect.c: Likewise.
16786 * misc/msync.c: Likewise.
16787 * misc/munlock.c: Likewise.
16788 * misc/munlockall.c: Likewise.
16789 * misc/munmap.c: Likewise.
16790 * misc/preadv.c: Likewise.
16791 * misc/preadv64.c: Likewise.
16792 * misc/ptrace.c: Likewise.
16793 * misc/pwritev.c: Likewise.
16794 * misc/pwritev64.c: Likewise.
16795 * misc/readv.c: Likewise.
16796 * misc/reboot.c: Likewise.
16797 * misc/remap_file_pages.c: Likewise.
16798 * misc/removexattr.c: Likewise.
16799 * misc/revoke.c: Likewise.
16800 * misc/select.c: Likewise.
16801 * misc/setdomain.c: Likewise.
16802 * misc/setegid.c: Likewise.
16803 * misc/seteuid.c: Likewise.
16804 * misc/sethostid.c: Likewise.
16805 * misc/sethostname.c: Likewise.
16806 * misc/setregid.c: Likewise.
16807 * misc/setreuid.c: Likewise.
16808 * misc/setxattr.c: Likewise.
16809 * misc/sstk.c: Likewise.
16810 * misc/stty.c: Likewise.
16811 * misc/swapoff.c: Likewise.
16812 * misc/swapon.c: Likewise.
16813 * misc/sync.c: Likewise.
16814 * misc/syncfs.c: Likewise.
16815 * misc/syscall.c: Likewise.
16816 * misc/truncate.c: Likewise.
16817 * misc/ualarm.c: Likewise.
16818 * misc/usleep.c: Likewise.
16819 * misc/ustat.c: Likewise.
16820 * misc/utimes.c: Likewise.
16821 * misc/vhangup.c: Likewise.
16822 * misc/writev.c: Likewise.
16823 * posix/_exit.c: Likewise.
16824 * posix/alarm.c: Likewise.
16825 * posix/execve.c: Likewise.
16826 * posix/fexecve.c: Likewise.
16827 * posix/fork.c: Likewise.
16828 * posix/fpathconf.c: Likewise.
16829 * posix/getaddrinfo.c: Likewise.
16830 * posix/getegid.c: Likewise.
16831 * posix/geteuid.c: Likewise.
16832 * posix/getgid.c: Likewise.
16833 * posix/getgroups.c: Likewise.
16834 * posix/getlogin.c: Likewise.
16835 * posix/getlogin_r.c: Likewise.
16836 * posix/getpgid.c: Likewise.
16837 * posix/getpid.c: Likewise.
16838 * posix/getppid.c: Likewise.
16839 * posix/getresgid.c: Likewise.
16840 * posix/getresuid.c: Likewise.
16841 * posix/getsid.c: Likewise.
16842 * posix/getuid.c: Likewise.
16843 * posix/glob64.c: Likewise.
16844 * posix/nanosleep.c: Likewise.
16845 * posix/pathconf.c: Likewise.
16846 * posix/pause.c: Likewise.
16847 * posix/posix_madvise.c: Likewise.
16848 * posix/pread.c: Likewise.
16849 * posix/pread64.c: Likewise.
16850 * posix/pwrite.c: Likewise.
16851 * posix/pwrite64.c: Likewise.
16852 * posix/sched_getaffinity.c: Likewise.
16853 * posix/sched_getp.c: Likewise.
16854 * posix/sched_gets.c: Likewise.
16855 * posix/sched_primax.c: Likewise.
16856 * posix/sched_primin.c: Likewise.
16857 * posix/sched_rr_gi.c: Likewise.
16858 * posix/sched_setaffinity.c: Likewise.
16859 * posix/sched_setp.c: Likewise.
16860 * posix/sched_sets.c: Likewise.
16861 * posix/sched_yield.c: Likewise.
16862 * posix/setgid.c: Likewise.
16863 * posix/setlogin.c: Likewise.
16864 * posix/setpgid.c: Likewise.
16865 * posix/setresgid.c: Likewise.
16866 * posix/setresuid.c: Likewise.
16867 * posix/setsid.c: Likewise.
16868 * posix/setuid.c: Likewise.
16869 * posix/sleep.c: Likewise.
16870 * posix/spawni.c: Likewise.
16871 * posix/sysconf.c: Likewise.
16872 * posix/times.c: Likewise.
16873 * posix/wait.c: Likewise.
16874 * posix/wait3.c: Likewise.
16875 * posix/wait4.c: Likewise.
16876 * posix/waitpid.c: Likewise.
16877 * resolv/gai_sigqueue.c: Likewise.
16878 * resource/getpriority.c: Likewise.
16879 * resource/getrlimit.c: Likewise.
16880 * resource/getrusage.c: Likewise.
16881 * resource/nice.c: Likewise.
16882 * resource/setpriority.c: Likewise.
16883 * resource/setrlimit.c: Likewise.
16884 * resource/ulimit.c: Likewise.
16885 * rt/aio_cancel.c: Likewise.
16886 * rt/aio_fsync.c: Likewise.
16887 * rt/aio_read.c: Likewise.
16888 * rt/aio_sigqueue.c: Likewise.
16889 * rt/aio_suspend.c: Likewise.
16890 * rt/aio_write.c: Likewise.
16891 * rt/clock_getres.c: Likewise.
16892 * rt/clock_gettime.c: Likewise.
16893 * rt/clock_nanosleep.c: Likewise.
16894 * rt/clock_settime.c: Likewise.
16895 * rt/lio_listio.c: Likewise.
16896 * rt/mq_close.c: Likewise.
16897 * rt/mq_getattr.c: Likewise.
16898 * rt/mq_notify.c: Likewise.
16899 * rt/mq_open.c: Likewise.
16900 * rt/mq_receive.c: Likewise.
16901 * rt/mq_send.c: Likewise.
16902 * rt/mq_setattr.c: Likewise.
16903 * rt/mq_timedreceive.c: Likewise.
16904 * rt/mq_timedsend.c: Likewise.
16905 * rt/mq_unlink.c: Likewise.
16906 * rt/shm_open.c: Likewise.
16907 * rt/shm_unlink.c: Likewise.
16908 * rt/timer_create.c: Likewise.
16909 * rt/timer_delete.c: Likewise.
16910 * rt/timer_getoverr.c: Likewise.
16911 * rt/timer_gettime.c: Likewise.
16912 * rt/timer_settime.c: Likewise.
16913 * setjmp/__longjmp.c: Likewise.
16914 * setjmp/setjmp.c: Likewise.
16915 * signal/kill.c: Likewise.
16916 * signal/killpg.c: Likewise.
16917 * signal/raise.c: Likewise.
16918 * signal/sigaction.c: Likewise.
16919 * signal/sigaltstack.c: Likewise.
16920 * signal/sigblock.c: Likewise.
16921 * signal/sigignore.c: Likewise.
16922 * signal/sigintr.c: Likewise.
16923 * signal/signal.c: Likewise.
16924 * signal/sigpause.c: Likewise.
16925 * signal/sigpending.c: Likewise.
16926 * signal/sigqueue.c: Likewise.
16927 * signal/sigreturn.c: Likewise.
16928 * signal/sigset.c: Likewise.
16929 * signal/sigsetmask.c: Likewise.
16930 * signal/sigstack.c: Likewise.
16931 * signal/sigsuspend.c: Likewise.
16932 * signal/sigtimedwait.c: Likewise.
16933 * signal/sigvec.c: Likewise.
16934 * signal/sigwait.c: Likewise.
16935 * signal/sigwaitinfo.c: Likewise.
16936 * signal/sysv_signal.c: Likewise.
16937 * socket/accept.c: Likewise.
16938 * socket/accept4.c: Likewise.
16939 * socket/bind.c: Likewise.
16940 * socket/connect.c: Likewise.
16941 * socket/getpeername.c: Likewise.
16942 * socket/getsockname.c: Likewise.
16943 * socket/getsockopt.c: Likewise.
16944 * socket/isfdtype.c: Likewise.
16945 * socket/listen.c: Likewise.
16946 * socket/recv.c: Likewise.
16947 * socket/recvfrom.c: Likewise.
16948 * socket/recvmsg.c: Likewise.
16949 * socket/send.c: Likewise.
16950 * socket/sendmsg.c: Likewise.
16951 * socket/sendto.c: Likewise.
16952 * socket/setsockopt.c: Likewise.
16953 * socket/shutdown.c: Likewise.
16954 * socket/sockatmark.c: Likewise.
16955 * socket/socket.c: Likewise.
16956 * socket/socketpair.c: Likewise.
16957 * stdio-common/ctermid.c: Likewise.
16958 * stdio-common/cuserid.c: Likewise.
16959 * stdio-common/remove.c: Likewise.
16960 * stdio-common/rename.c: Likewise.
16961 * stdio-common/renameat.c: Likewise.
16962 * stdio-common/tempname.c: Likewise.
16963 * stdlib/getcontext.c: Likewise.
16964 * stdlib/makecontext.c: Likewise.
16965 * stdlib/setcontext.c: Likewise.
16966 * stdlib/swapcontext.c: Likewise.
16967 * stdlib/system.c: Likewise.
16968 * streams/fattach.c: Likewise.
16969 * streams/fdetach.c: Likewise.
16970 * streams/getmsg.c: Likewise.
16971 * streams/getpmsg.c: Likewise.
16972 * streams/putmsg.c: Likewise.
16973 * streams/putpmsg.c: Likewise.
16974 * sysdeps/unix/bsd/getpt.c: Likewise.
16975 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16976 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16977 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16979 Likewise.
16980 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16981 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16982 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16983 * sysvipc/msgctl.c: Likewise.
16984 * sysvipc/msgget.c: Likewise.
16985 * sysvipc/msgrcv.c: Likewise.
16986 * sysvipc/msgsnd.c: Likewise.
16987 * sysvipc/semctl.c: Likewise.
16988 * sysvipc/semget.c: Likewise.
16989 * sysvipc/semop.c: Likewise.
16990 * sysvipc/semtimedop.c: Likewise.
16991 * sysvipc/shmat.c: Likewise.
16992 * sysvipc/shmctl.c: Likewise.
16993 * sysvipc/shmdt.c: Likewise.
16994 * sysvipc/shmget.c: Likewise.
16995 * termios/tcdrain.c: Likewise.
16996 * termios/tcflow.c: Likewise.
16997 * termios/tcflush.c: Likewise.
16998 * termios/tcgetattr.c: Likewise.
16999 * termios/tcgetpgrp.c: Likewise.
17000 * termios/tcsendbrk.c: Likewise.
17001 * termios/tcsetattr.c: Likewise.
17002 * termios/tcsetpgrp.c: Likewise.
17003 * time/adjtime.c: Likewise.
17004 * time/clock.c: Likewise.
17005 * time/getitimer.c: Likewise.
17006 * time/gettimeofday.c: Likewise.
17007 * time/setitimer.c: Likewise.
17008 * time/settimeofday.c: Likewise.
17009 * time/stime.c: Likewise.
17010 * time/time.c: Likewise.
17011
170122012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 17013
a20492cf
PT
17014 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17015 /usr/old/bin.
17016
72e182e3
PT
17017 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17018 instead of spaces.
17019 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17020
fbeafede
JM
170212012-11-03 Joseph Myers <joseph@codesourcery.com>
17022
5b5b04d6
JM
17023 [BZ #14796]
17024 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17025 FE_TONEAREST before applying Dekker multiplication and Knuth
17026 addition. Clear inexact exceptions and check for exact zero
17027 results afterwards.
17028 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17029 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17030 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17031 * math/libm-test.inc (fma_test): Add more tests.
17032 (fma_test_towardzero): Likewise.
17033 (fma_test_downward): Likewise.
17034 (fma_test_upward): Likewise.
17035 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17036 function.
17037 (libc_fesetround): New macro.
17038 (libc_fesetroundf): Likewise.
17039 (libc_fesetroundl): Likewise.
17040 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17041 function.
17042 (libc_fesetround_387): Likewise.
17043 (libc_fesetroundf): New macro.
17044 (libc_fesetround): Likewise.
17045 (libc_fesetroundl): Likewise.
17046 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17047 function.
17048 (libc_fesetroundf): New macro.
17049 (libc_fesetround): Likewise.
17050 (libc_fesetroundl): Likewise.
17051 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17052 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17053 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17054 libm_hidden_ver.
17055 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17056 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17057 libm_hidden_def.
17058 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17059 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17060 libm_hidden_ver.
17061 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17062 libm_hidden_def.
17063
fbeafede
JM
17064 [BZ #3439]
17065 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17066 integer constant usable in #if and use that to give value to enum
17067 constant.
17068 (FE_DIVBYZERO): Likewise.
17069 (FE_UNDERFLOW): Likewise.
17070 (FE_OVERFLOW): Likewise.
17071 (FE_INVALID): Likewise.
17072 (FE_INVALID_SNAN): Likewise.
17073 (FE_INVALID_ISI): Likewise.
17074 (FE_INVALID_IDI): Likewise.
17075 (FE_INVALID_ZDZ): Likewise.
17076 (FE_INVALID_IMZ): Likewise.
17077 (FE_INVALID_COMPARE): Likewise.
17078 (FE_INVALID_SOFTWARE): Likewise.
17079 (FE_INVALID_SQRT): Likewise.
17080 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17081 (FE_TONEAREST): Likewise.
17082 (FE_TOWARDZERO): Likewise.
17083 (FE_UPWARD): Likewise.
17084 (FE_DOWNWARD): Likewise.
17085 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17086 (FE_DIVBYZERO): Likewise.
17087 (FE_OVERFLOW): Likewise.
17088 (FE_UNDERFLOW): Likewise.
17089 (FE_INEXACT): Likewise.
17090 (FE_TONEAREST): Likewise.
17091 (FE_DOWNWARD): Likewise.
17092 (FE_UPWARD): Likewise.
17093 (FE_TOWARDZERO): Likewise.
17094 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17095 (FE_UNDERFLOW): Likewise.
17096 (FE_OVERFLOW): Likewise.
17097 (FE_DIVBYZERO): Likewise.
17098 (FE_INVALID): Likewise.
17099 (FE_TONEAREST): Likewise.
17100 (FE_TOWARDZERO): Likewise.
17101 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17102 (FE_OVERFLOW): Likewise.
17103 (FE_UNDERFLOW): Likewise.
17104 (FE_DIVBYZERO): Likewise.
17105 (FE_INEXACT): Likewise.
17106 (FE_TONEAREST): Likewise.
17107 (FE_TOWARDZERO): Likewise.
17108 (FE_UPWARD): Likewise.
17109 (FE_DOWNWARD): Likewise.
17110 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17111 (FE_DIVBYZERO): Likewise.
17112 (FE_OVERFLOW): Likewise.
17113 (FE_UNDERFLOW): Likewise.
17114 (FE_INEXACT): Likewise.
17115 (FE_TONEAREST): Likewise.
17116 (FE_DOWNWARD): Likewise.
17117 (FE_UPWARD): Likewise.
17118 (FE_TOWARDZERO): Likewise.
17119
105ca950
CM
171202012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17121
17122 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17123
a542b389
AS
171242012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17125
17126 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17127 commands. Quote $PWD.
17128 (blacklist_exports): Don't use remove_newlines. Replace "declare
17129 -x" by "export".
17130 (remove_newlines): Remove.
17131
f62c8abc
L
171322012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17133
17134 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17135 * stdlib/stdlib.h (atof): Moved to ...
17136 * include/bits/stdlib-float.h: Here. New file.
17137 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17138 * stdlib/bits/stdlib-float.h: New file.
17139 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17140 -mno-sse -mno-mmx.
17141 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17142 <xmmintrin.h>.
17143
0155d5b2
JM
171442012-11-02 Joseph Myers <joseph@codesourcery.com>
17145
a68d0680
JM
17146 * conform/conformtest.pl (@headers): Add fenv.h.
17147 * conform/data/fenv.h-data: New file.
17148 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17149 include of <math/fenv.h>.
17150
caf7f573
JM
17151 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17152 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17153 && !UNIX98]. Enables tests for XOPEN2K8.
17154 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17155 POSIX2008]: Likewise.
17156
6c073ad6
JM
17157 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17158 (struct rusage): Do not expect type or its members.
17159
0155d5b2
JM
17160 [BZ #3439]
17161 * math/math.h (FP_NAN): Define macro to integer constant usable in
17162 #if and use that to give value to enum constant.
17163 (FP_INFINITE): Likewise.
17164 (FP_ZERO): Likewise.
17165 (FP_SUBNORMAL): Likewise.
17166 (FP_NORMAL): Likewise.
17167
b5dcacb4
AS
171682012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17169
17170 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17171 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17172 arguments.
17173
f7934be8
RM
171742012-11-02 Roland McGrath <roland@hack.frob.com>
17175
17176 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17177 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17178 autoconf-time if not.
17179 * configure.in: Remove AC_PREREQ.
17180
d7d08bde
TMQMF
171812012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17182
17183 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17184 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17185 of the internal implementation.
17186
dcdae19a
JM
171872012-11-02 Joseph Myers <joseph@codesourcery.com>
17188
17189 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17190 except include of <misc/sys/syslog.h>.
17191
d6cffd3e
AS
171922012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17193
17194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17195 function returns with a NULL context exit with zero.
17196
b3563932
TMQMF
171972012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17198
17199 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17200
b288a93d
L
172012012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17202
17203 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17204 (run_program_cmd): This.
17205 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17206 (tst_langinfo): New variable. Use it.
17207
a2421a68
SAS
172082012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17209
17210 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17211 floating point opcodes.
17212
6f796e1b
TS
172132012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17214
7402596b
TS
17215 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17216 variable.
17217
d0d4f868
TS
17218 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17219
6f796e1b
TS
17220 * sysdeps/mach/hurd/powerpc: Remove directory.
17221 * sysdeps/mach/powerpc: Likewise.
17222
4da224a2
AS
172232012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17224
17225 * scripts/check-local-headers.sh: Ignore c++ headers.
17226
341dd673
TS
172272012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17228
17229 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17230 __libc_cleanup_region_start argument.
17231
473611b2
JM
172322012-11-01 Joseph Myers <joseph@codesourcery.com>
17233
17234 [BZ #14784]
17235 [BZ #14785]
17236 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17237 x * y using scaling, not as x * y + z.
17238 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17239 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17240 * math/libm-test.inc (fma_test): Add more tests.
17241 (fma_test_towardzero): Likewise.
17242 (fma_test_downward): Likewise.
17243 (fma_test_upward): Likewise.
17244
4078da3d
TS
172452012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17246
17247 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17248
903252aa
JM
172492012-10-31 Joseph Myers <joseph@codesourcery.com>
17250
17251 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17252 New variable.
17253
cbc818d0
TS
172542012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17255
17256 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17257
5a03cb1e
AS
172582012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17259
17260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17261 Fix sort order.
17262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17263 Likewise.
17264
90aff2ff
TMQMF
172652012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17266
17267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17268 Fix the order of the list for glibc 2.17.
17269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17270 Likewise.
17271
1818fcb7
AS
172722012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17273
17274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17275
ef82f4da
JM
172762012-10-31 Joseph Myers <joseph@codesourcery.com>
17277
16a0e2ec
JM
17278 [BZ #14610]
17279 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17280 for low part of x being zero before using __atanl (y).
17281 * math/libm-test.inc (atan2_test): Add another test.
17282
0eb69512
JM
17283 * manual/install.texi (Configuring and compiling): Document
17284 general use of test-wrapper and test-wrapper-env.
17285 * INSTALL: Regenerated.
17286
ef82f4da
JM
17287 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17288 (__fma): Do not extract and scale down low bits on after-rounding
17289 systems when result rounded to normal precision would have normal
17290 exponent.
17291 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17292 (__fmal): Do not extract and scale down low bits on after-rounding
17293 systems when result rounded to normal precision would have normal
17294 exponent.
17295 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17296 (__fmal): Do not extract and scale down low bits on after-rounding
17297 systems when result rounded to normal precision would have normal
17298 exponent.
17299 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17300 macro.
17301 (fma_test): Add more tests.
17302 (fma_test_towardzero): Likewise.
17303 (fma_test_downward): Likewise.
17304 (fma_test_upward): Likewise.
17305
954ef0d9
L
173062012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17307
17308 * sysdeps/i386/tininess.h: Renamed to ...
17309 * sysdeps/x86/tininess.h: This.
17310 * sysdeps/x86_64/tininess.h: Removed.
17311
df61ffb2
JM
173122012-10-30 Joseph Myers <joseph@codesourcery.com>
17313
17314 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17315 input. Use $(build-program-cmd).
17316 ($(objpfx)tst-array1-static.out): Likewise.
17317 ($(objpfx)tst-array2.out): Likewise.
17318 ($(objpfx)tst-array3.out): Likewise.
17319 ($(objpfx)tst-array4.out): Likewise.
17320 ($(objpfx)tst-array5.out): Likewise.
17321 ($(objpfx)tst-array5-static.out): Likewise.
17322
01767843
CM
173232012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17324
47cc1490
CM
17325 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17326 if defined.
17327
01767843
CM
17328 * nss/nsswitch.h (nss_interface_function): Provide new
17329 macro for use with NSS functions.
17330 * grp/initgroups.c: Use new macro.
17331 * nss/getXXbyYY.c: Likewise.
17332 * nss/getXXbyYY_r.c: Likewise.
17333 * nss/getXXent.c: Likewise.
17334 * nss/getXXent_r.c: Likewise.
17335 * sysdeps/posix/getaddrinfo.c: Likewise.
17336
8321aa97
AJ
173372012-10-30 Andreas Jaeger <aj@suse.de>
17338
17339 * po/ru.po: Update Russion translation from translation project.
17340
2a27fd6d
JM
173412012-10-30 Joseph Myers <joseph@codesourcery.com>
17342
8627a232
JM
17343 [BZ #14152]
17344 [BZ #14783]
17345 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17346 result and shift together with sticky bit instead of replicating
17347 round-to-nearest rounding.
17348 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17349 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17350 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17351 missing underflow exceptions.
17352 (fma_test_towardzero): Add more tests.
17353 (fma_test_downward): Likewise.
17354 (fma_test_upward): Likewise.
17355
2a27fd6d
JM
17356 [BZ #14047]
17357 * sysdeps/generic/tininess.h: New file.
17358 * sysdeps/i386/tininess.h: Likewise.
17359 * sysdeps/sh/tininess.h: Likewise.
17360 * sysdeps/x86_64/tininess.h: Likewise.
17361 * stdlib/tst-strtod-underflow.c: Likewise.
17362 * stdlib/tst-tininess.c: Likewise.
17363 * stdlib/strtod_l.c: Include <tininess.h>.
17364 (round_and_return): Do not set errno for exact underflow cases.
17365 Force an underflow exception when setting errno for underflow.
17366 Determine underflow based on rounding to normal precision if
17367 TININESS_AFTER_ROUNDING.
17368 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17369 ERANGE for exact underflow cases.
17370 * stdlib/Makefile (tests): Add tst-tininess and
17371 tst-strtod-underflow.
17372 ($(objpfx)tst-tininess): Use $(link-libm).
17373 ($(objpfx)tst-strtod-underflow): Likewise.
17374
e7170363
AJ
173752012-10-30 Andreas Jaeger <aj@suse.de>
17376
e5088dc6
AJ
17377 [BZ#14767]
17378 * elf/Makefile (tests): Remove conditional for have-initfini-array
17379 since this is now always required and the variable does not exist
17380 anymore.
17381 (tests-static): Likewise.
17382 (modules-names): Likewise.
17383
e7170363 17384 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
17385
17386 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17387 merged with constructor/destructor.
17388 (init_array): Likewise.
17389 * elf/tst-array2dep.c (fini_array): Likewise.
17390 (init_array): Likewise.
17391
60457d8a
MF
173922012-10-29 Mike Frysinger <vapier@gentoo.org>
17393
17394 * manual/message.texi: Delete @cartouche tags.
17395
8bece752
PT
173962012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17397
94ce799f
PT
17398 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17399 EOPNOTSUPP.
17400 * sysdeps/mach/hurd/fsync.c: Likewise.
17401
8bece752
PT
17402 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17403 [_POSIX_REALTIME_SIGNALS]: Change condition to
17404 [_POSIX_REALTIME_SIGNALS > 0].
17405
86ebe6b1
AJ
174062012-10-27 Andreas Jaeger <aj@suse.de>
17407
17408 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17409 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17410 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17411 [__WORDSIZE != 64]: Likewise.
17412
54399c08
L
174132012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17414
17415 * iconvdata/tst-table.sh: Remove ${SHELL}.
17416 * iconvdata/tst-tables.sh: Likewise.
17417
e2211bed
DM
174182012-10-25 David S. Miller <davem@davemloft.net>
17419
17420 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17421 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17422 of strtoull.
17423
f303f97c
DM
17424 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17425 ifunc-impl-list.c
17426 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17427 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17428 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17429 file.
17430
1e9d84cd
RM
174312012-10-25 Roland McGrath <roland@hack.frob.com>
17432
17433 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17434 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17435 __getdirentries.
17436
df381762
JM
174372012-10-25 Joseph Myers <joseph@codesourcery.com>
17438 Jim Blandy <jimb@codesourcery.com>
17439
17440 * scripts/cross-test-ssh.sh: New file.
17441 * manual/install.texi (Configuring and compiling): Document use of
17442 cross-test-ssh.sh.
17443 * INSTALL: Regenerated.
17444
bff64913
PT
174452012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17446
17447 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17448 EOPNOTSUPP.
17449
25fe8932
JM
174502012-10-25 Joseph Myers <joseph@codesourcery.com>
17451
17452 * Makeconfig (run-program-prefix): Fix comment.
17453
cc1290d0
JM
174542012-10-24 Joseph Myers <joseph@codesourcery.com>
17455 Jim Blandy <jimb@codesourcery.com>
17456
17457 * Makeconfig (test-wrapper): New variable,
17458 (test-wrapper-env): Likewise.
17459 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17460 (run-built-tests): Define to yes.
17461 (run-program-prefix): Use $(test-wrapper).
17462 (built-program-cmd): Likewise.
17463 * Rules (make-test-out): Use $(test-wrapper-env) and
17464 $(host-built-program-cmd).
17465 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17466 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17467 tst-pathopt.sh.
17468 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17469 $(test-wrapper-env) to tst-rtld-load-self.sh.
17470 ($(objpfx)order2.out): Use $(test-wrapper).
17471 ($(objpfx)tst-initorder.out): Likewise.
17472 ($(objpfx)tst-initorder2.out): Likewise.
17473 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17474 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17475 (test_wrapper_env): New variable. Use it to run ld.so.
17476 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17477 Use it to run ld.so.
17478 (test_wrapper_env): Likewise.
17479 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17480 $(test-wrapper) to run-iconv-test.sh.
17481 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17482 (ICONV): Use $test_wrapper.
17483 * posix/Makefile ($(objpfx)globtest.out): Pass
17484 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17485 globtest.sh, not $(run-program-prefix).
17486 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17487 (test_wrapper): Likewise.
17488 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17489 set together with run_via_rtld_prefix.
17490 (run_program_prefix): Define in terms of test_wrapper and
17491 run_via_rtld_prefix.
17492
6e6249d0
RM
174932012-10-24 Roland McGrath <roland@hack.frob.com>
17494
17495 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17496 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17497 Targets removed.
17498
17499 [BZ #14743]
17500 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17501 Declare __clock_getres, __clock_gettime, __clock_settime,
17502 __clock_nanosleep, and __clock_getcpuclockid.
17503 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17504 Remove librt_hidden_def (clock_gettime).
17505 * sysdeps/unix/clock_gettime.c: Likewise.
17506 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17507 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17508 * rt/clock_getres.c: Define __clock_getres as an alias.
17509 * sysdeps/posix/clock_getres.c: Likewise.
17510 * rt/clock_settime.c: Define __clock_settime as an alias.
17511 * sysdeps/unix/clock_settime.c: Likewise.
17512 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17513 * sysdeps/unix/clock_nanosleep.c: Likewise.
17514 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17515 * rt/clock-compat.c: New file.
17516 * rt/Makefile (librt-routines): Add clock-compat and move
17517 $(clock-routines) to ...
17518 (routines): ... here, new variable.
17519 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17520 Don't add get_clockfreq here.
17521 * rt/Versions (libc: GLIBC_2.17): New version set.
17522 Add clock_* symbols here.
17523 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17524 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17525 (GLIBC_2.17): Add clock_* symbols.
17526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17528 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17530 Likewise.
17531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17532 Likewise.
17533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17537 * NEWS: Mention the move.
17538
17539 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17540 Use __open, __read, __close rather than their public counterparts.
17541 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17542 (__get_clockfreq_via_cpuinfo): Likewise.
17543 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17544 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17545
17546 * config.h.in (HAVE_IFUNC): New #undef.
17547 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17548 was successful.
17549 * configure: Regenerated.
17550
0cae3f4b
MF
175512012-10-24 Mike Frysinger <vapier@gentoo.org>
17552
17553 * configure.in: Move READELF check to start of file.
17554 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17555 libc_cv_asm_gnu_indirect_function in the process.
17556 * configure: Regenerated.
17557
8175a253
MF
175582012-10-24 Mike Frysinger <vapier@gentoo.org>
17559
17560 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17561 send the output to /dev/null.
17562 (libc_cv_cc_with_libunwind): Likewise.
17563 (libc_cv_as_noexecstack): Likewise.
17564 * configure: Regenerate.
17565
0708a7d1
JM
175662012-10-24 Joseph Myers <joseph@codesourcery.com>
17567
10b40d85
JM
17568 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17569
0708a7d1
JM
17570 * posix/globtest.sh (TMPDIR): Do not set.
17571 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17572 (testout): Likewise.
17573
9fddec1a
AJ
175742012-10-24 Andreas Jaeger <aj@suse.de>
17575
3a8db22f
AJ
17576 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17577 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17578 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17579 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17580 posix_fadvise64, posix_fallocate64.
17581
9fddec1a
AJ
17582 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17583 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17584 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17585 Likewise.
17586 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17587 Likewise.
17588 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17589
17590 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17591 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17592 <bits/fcntl-linux.h>.
17593 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17594
17595 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17596 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17597 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17598 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17599 [__WORDSIZE != 64]: Likewise.
17600
ebfd1bbd
JM
176012012-10-23 Joseph Myers <joseph@codesourcery.com>
17602
03ac099f
JM
17603 * Makeconfig (run-built-tests): New variable.
17604 * Rules [$(cross-compiling) = yes]: Change condition to
17605 [$(run-built-tests) = no].
17606 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17607 to [$(run-built-tests) = yes].
17608 * elf/Makefile [$(cross-compiling) = no]: Likewise
17609 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17610 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17611 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17612 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17613 * io/Makefile [$(cross-compiling) = no]: Likewise.
17614 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17615 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17616 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17617 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17618 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17619 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17620 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17621 * string/Makefile [$(cross-compiling) = no]: Likewise.
17622
ebfd1bbd
JM
17623 * posix/Makefile ($(objpfx)globtest.out): Pass
17624 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17625 $(rtld-installed-name).
17626 * posix/globtest.sh (elf_objpfx): Remove variable.
17627 (rtld_installed_name): Likewise.
17628 (library_path): Likewise.
17629 (run_program_prefix): New variable. Use for running globtest
17630 binary.
17631
166bca24
JB
176322012-10-23 Jim Blandy <jimb@codesourcery.com>
17633 Joseph Myers <joseph@codesourcery.com>
17634
17635 * Makeconfig (host-built-program-cmd): New variable.
17636 * elf/Makefile (tst-stackguard1-ARGS): Use
17637 $(host-built-program-cmd).
17638 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17639 (tst-spawn-ARGS): Likewise.
17640 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17641
88866099
JM
176422012-10-23 Joseph Myers <joseph@codesourcery.com>
17643 Jim Blandy <jimb@codesourcery.com>
17644
17645 * Makeconfig (run-via-rtld-prefix): New variable.
17646 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17647 (built-program-cmd): Likewise.
17648
b4b4c296
AJ
176492012-10-22 Andreas Jaeger <aj@suse.de>
17650
17651 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17652 __O_RSYNC if it exists, otherwise to O_SYNC.
17653
6fb54a22
JB
176542012-10-22 Jim Blandy <jimb@codesourcery.com>
17655 Joseph Myers <joseph@codesourcery.com>
17656
17657 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17658 /dev/null.
17659 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17660 from /dev/null
17661 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17662 /dev/null.
17663
481b90b9
AJ
176642012-10-22 Andreas Jaeger <aj@suse.de>
17665
2a0e2669
AJ
17666 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17667 Define always.
17668 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17669
76e38f9a
AJ
17670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17671 bits/fcntl-linux.h.
17672
7cd37b43
AJ
17673 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17674 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17675
481b90b9
AJ
17676 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17677 to __O_LARGEFILE.
17678 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17679 to __O_LARGEFILE.
17680
aba75984
JB
176812012-10-21 Jim Blandy <jimb@codesourcery.com>
17682 Joseph Myers <joseph@codesourcery.com>
17683
17684 * config.make.in (NM): New variable.
17685
88d4247f
AJ
176862012-10-21 Andreas Jaeger <aj@suse.de>
17687
17688 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17689 definitions and declarations that are provided by
17690 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17691
f2eed205
L
176922012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17693
17694 [BZ #14683]
17695 * elf/Makefile (tests-static): Add tst-leaks1-static.
17696 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17697 ($(objpfx)tst-leaks1-static): New rule.
17698 ($(objpfx)tst-leaks1-static-mem): Likewise.
17699 (tst-leaks1-static-ENV): New macro.
17700 * elf/dl-open.c (dl_open_worker): Check the main application
17701 only if SHARED is defined.
17702 * elf/tst-leaks1-static.c: New file.
17703
335e6931
AJ
177042012-10-20 Andreas Jaeger <aj@suse.de>
17705
17706 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17707 generic values for Linux.
17708 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17709 and declarations that are provided by <bits/fcntl-linux.h> and
17710 include <bits/fcntl-linux.h>.
17711 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17712 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17713
ac5c94d3
RM
177142012-10-20 Roland McGrath <roland@hack.frob.com>
17715
17716 * io/fcntl.h: Move include of <bits/types.h> to the top and
17717 include it unconditionally.
17718
de54b33a
L
177192012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17720
228cfb01
L
17721 * wcsmbs/Makefile (tests-ifunc): New variable.
17722 (tests): Add $(tests-ifunc).
17723 * wcsmbs/test-wcschr-ifunc.c: New file.
17724 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17725 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17726 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17727 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17728 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17729
69f07e5f
L
17730 * string/Makefile (tests-ifunc): New variable.
17731 (tests): Add $(tests-ifunc).
17732 * string/test-memccpy.c (TEST_NAME): New macro.
17733 * string/test-memchr.c (TEST_NAME): Likewise.
17734 * string/test-memcmp.c (TEST_NAME): Likewise.
17735 * string/test-memcpy.c (TEST_NAME): Likewise.
17736 * string/test-memmem.c (TEST_NAME): Likewise.
17737 * string/test-memmove.c (TEST_NAME): Likewise.
17738 * string/test-memset.c (TEST_NAME): Likewise.
17739 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17740 * string/test-stpcpy.c (TEST_NAME): Likewise.
17741 * string/test-stpncpy.c (TEST_NAME): Likewise.
17742 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17743 * string/test-strcasestr.c (TEST_NAME): Likewise.
17744 * string/test-strcat.c (TEST_NAME): Likewise.
17745 * string/test-strchr.c (TEST_NAME): Likewise.
17746 * string/test-strcmp.c(TEST_NAME): Likewise.
17747 * string/test-strcpy.c (TEST_NAME): Likewise.
17748 * string/test-strcspn.c (TEST_NAME): Likewise.
17749 * string/test-strlen.c (TEST_NAME): Likewise.
17750 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17751 * string/test-strncmp.c (TEST_NAME): Likewise.
17752 * string/test-strncpy.c (TEST_NAME): Likewise.
17753 * string/test-strnlen.c (TEST_NAME): Likewise.
17754 * string/test-strpbrk.c (TEST_NAME): Likewise.
17755 * string/test-strrchr.c (TEST_NAME): Likewise.
17756 * string/test-strspn.c (TEST_NAME): Likewise.
17757 * string/test-strstr.c (TEST_NAME): Likewise.
17758 * string/test-bcopy-ifunc.c: New file.
17759 * string/test-bzero-ifunc.c: Likewise.
17760 * string/test-memccpy-ifunc.c: Likewise.
17761 * string/test-memchr-ifunc.c: Likewise.
17762 * string/test-memcmp-ifunc.c: Likewise.
17763 * string/test-memcpy-ifunc.c: Likewise.
17764 * string/test-memmem-ifunc.c: Likewise.
17765 * string/test-memmove-ifunc.c: Likewise.
17766 * string/test-mempcpy-ifunc.c: Likewise.
17767 * string/test-memset-ifunc.c: Likewise.
17768 * string/test-rawmemchr-ifunc.c: Likewise.
17769 * string/test-stpcpy-ifunc.c: Likewise.
17770 * string/test-stpncpy-ifunc.c: Likewise.
17771 * string/test-strcasecmp-ifunc.c: Likewise.
17772 * string/test-strcasestr-ifunc.c: Likewise.
17773 * string/test-strcat-ifunc.c: Likewise.
17774 * string/test-strchr-ifunc.c: Likewise.
17775 * string/test-strchrnul-ifunc.c: Likewise.
17776 * string/test-strcmp-ifunc.c: Likewise.
17777 * string/test-strcpy-ifunc.c: Likewise.
17778 * string/test-strcspn-ifunc.c: Likewise.
17779 * string/test-strlen-ifunc.c: Likewise.
17780 * string/test-strncasecmp-ifunc.c: Likewise.
17781 * string/test-strncat-ifunc.c: Likewise.
17782 * string/test-strncmp-ifunc.c: Likewise.
17783 * string/test-strncpy-ifunc.c: Likewise.
17784 * string/test-strnlen-ifunc.c: Likewise.
17785 * string/test-strpbrk-ifunc.c: Likewise.
17786 * string/test-strrchr-ifunc.c: Likewise.
17787 * string/test-strspn-ifunc.c: Likewise.
17788 * string/test-strstr-ifunc.c: Likewise.
17789
de54b33a
L
17790 * debug/Makefile (tests-ifunc): New variable.
17791 (tests): Add $(tests-ifunc).
17792 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17793 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17794 * debug/test-stpcpy_chk-ifunc.c: New file.
17795 * debug/test-strcpy_chk-ifunc.c: Likewise.
17796
88481c16
SP
177972012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17798
17799 [BZ #13601]
17800 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17801 header is not read in.
17802
135948bd
JM
178032012-10-19 Joseph Myers <joseph@codesourcery.com>
17804
89f1c388
JM
17805 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17806 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17807 directly. Pass built executable to script as
17808 $(built-program-cmd).
17809 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17810 $testprogram without using LD_LIBRARY_PATH and $ldso.
17811
e40a0d21
JM
17812 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17813 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17814 $(rtld-installed-name).
17815 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17816 (rtld_installed_name): Likewise.
17817 (library_path): Likewise.
17818 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17819 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17820 $(run-program-prefix) to tst-tables.sh.
17821 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17822 it to run tst-table-from and tst-table-to.
17823 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17824 Pass it to tst-table.sh.
17825 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17826 $(run-program-prefix) to tst-gettext.sh.
17827 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17828 tst-translit.sh.
17829 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17830 tst-gettext2.sh.
17831 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17832 to run tst-gettext.
17833 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17834 to run tst-gettext2.
17835 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17836 to run tst-translit.
17837 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17838 $(run-program-prefix) to tst-mtrace.sh.
17839 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17840 to run tst-mtrace.
17841 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17842 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17843 $(rtld-installed-name).
17844 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17845 (rtld_installed_name): Likewise.
17846 (run_program_prefix): New variable. Use it to run wordexp-test.
17847
728e272a
JM
17848 * Makeconfig (ARCH): Remove all definitions.
17849 (machine): Likewise.
17850 [ARCH]: Remove conditional code.
17851 [!objdir]: Give error.
17852 [!objdir] (objpfx): Remove.
17853 [!objdir] (common-objpfx): Likewise.
17854 [!objdir] (common-objdir): Likewise.
17855 * configure.in (config_makefile): Remove. Hardcode Makefile in
17856 AC_CONFIG_FILES call.
17857 * configure: Regenerated.
17858
d528cdcf
JM
17859 [BZ #13888]
17860 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17861 or TMPDIR.
17862 (testout): Likewise.
17863
135948bd
JM
17864 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17865 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17866 $(rtld-installed-name).
17867 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17868 (rtld_installed_name): Likwise.
17869 (runit): Remove function.
17870 (run_getconf): New variable, Use it for running getconf binary.
17871
38c78296
L
178722012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17873
17874 [BZ #14716]
17875 * string/test-memmem.c (check_result): New function.
17876 (do_one_test): Use it.
17877 (check1): New function.
17878 (test_main): Use it.
17879
d077f65f
MT
178802012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17881
17882 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17883
ced52c71
JM
178842012-10-18 Joseph Myers <joseph@codesourcery.com>
17885
17886 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17887 (_G_LSEEK64): Likewise.
17888 (_G_MMAP64): Likewise.
17889 (_G_FSTAT64): Likewise.
17890 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17891 (_G_LSEEK64): Likewise.
17892 (_G_MMAP64): Likewise.
17893 (_G_FSTAT64): Likewise.
17894 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17895 unconditional. Call __mmap64 directly.
17896 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17897 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17898 __lseek64 directly.
17899 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17900 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17901 __mmap64 directly.
17902 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17903 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17904 __lseek64 directly.
17905 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17906 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17907 __lseek64 directly.
17908 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17909 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17910 __lseek64 directly.
17911 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17912 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17913 __fxstat64 directly.
17914 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17915 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17916 unconditional.
17917 (freopen64) [!_G_OPEN64]: Remove conditional code.
17918 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17919 unconditional.
17920 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17921 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17922 unconditional.
17923 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17924 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17925 unconditional.
17926 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17927 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17928 unconditional.
17929 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17930 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17931 unconditional.
17932 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17933 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17934 unconditional.
17935 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17936 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17937 unconditional.
17938 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17939
b741de23
SP
179402012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17941
17942 [BZ #12140]
17943 * manual/memory.texi (Malloc Tunable Parameters): Add note
17944 about free list pointers overwriting some perturb bytes.
17945 Wording suggested by Roland McGrath.
17946
f9b9d9c9
JM
179472012-10-17 Joseph Myers <joseph@codesourcery.com>
17948
17949 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17950 (lgamma_test): Likewise.
17951 (tgamma_test): Likewise.
17952
172a631a
FW
179532012-10-16 Florian Weimer <fweimer@redhat.com>
17954
17955 [BZ #14700]
17956 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17957 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17958
e9f37252
MK
179592012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17960
17961 * NEWS: Mention BZ #14716.
17962 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17963 when removing AVAILABLE1_USES_J macro.
17964
d394eb74
L
179652012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17966
17967 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17968 (__bswap_64): __uint64_t for unsigned 64-bit int.
17969
ca38dc17
AS
179702012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17971
17972 * include/string.h (memmem): Declare libc hidden alias.
17973 * string/memmem.c (memmem): Define libc hidden alias.
17974 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17975 __read, __close instead of open, read, close.
17976
9a387d1f
L
179772012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17978
ac49ecaf
L
17979 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17980 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17981 global and hidden.
17982 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17983 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17984 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17985 Likewise.
17986 (__rawmemchr_sse2): Likewise.
17987 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17988 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17989 (__strchr_sse2): Likewise.
17990 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17991 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17992 (__strcasecmp_sse2): Likewise.
17993 (__strncasecmp_sse2): Likewise.
17994 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17995 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17996 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17997 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17998 (__strrchr_sse2): Likewise.
17999 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18000 ifunc-impl-list.c.
18001 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18002 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18003 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18004 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18005 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18006 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18007 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18008 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18009 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18010 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18011 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18012 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18013 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18014 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18015 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18016 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18017 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18018 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18019 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18020 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18021 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18022 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18023 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18024 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18025 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18026 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18027 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18028 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18029 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18030 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18031
b090e8ea
L
18032 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18033 global and hidden.
18034 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18035 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18036 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18037 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18038 Likewise.
18039 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18040 Likewise.
18041 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18042 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18043 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18044 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18045 ifunc-impl-list.c.
18046 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18047 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18048 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18049 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18050 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18051 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18052 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18053 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18054 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18055 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18056 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18057 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18058 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18059 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18060 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18061 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18062 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18063 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18064 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18065 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18066 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18067 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18068 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18069 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18070 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18071 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18072 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18073 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18074 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18075 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18076 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18077 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18078 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18079 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18080 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18081 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18082 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18083 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18084 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18085 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18086 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18087
11dd4af6
L
18088 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18089 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18090 * include/ifunc-impl-list.h: New file.
18091 * misc/ifunc-impl-list.c: Likewise.
18092 * misc/Makefile (routines): Add ifunc-impl-list.
18093 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18094 * string/test-string.h: Include <ifunc-impl-list.h>.
18095 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18096 impl_array): New variables.
18097 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18098 are defined.
18099 (test_init): Call __libc_ifunc_impl_list to initialize
18100 func_list if TEST_IFUNC and TEST_NAME are defined.
18101
9a387d1f
L
18102 * string/Makefile (strop-tests): Add bcopy and bzero.
18103 * string/test-bcopy.c: New file.
18104 * string/test-bzero.c: Likewise.
18105 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18106 defined.
18107 * string/test-memset.c: Support bzero test if TEST_BZERO is
18108 defined.
18109 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18110 __libc_memmove.
18111 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18112 __libc_memset.
18113 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18114 of memset.
18115
472371b9
JM
181162012-10-10 Joseph Myers <joseph@codesourcery.com>
18117
1e4a9536
JM
18118 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18119 * configure: Regenerated.
18120
d173d12e
JM
18121 * Makeconfig (+link-static-before-libc): Don't include
18122 $(link-static-libc).
18123
472371b9
JM
18124 * libio/libio.h (_IO_pos_t): Remove.
18125
89a3ad0b
AO
181262012-10-10 Alexandre Oliva <aoliva@redhat.com>
18127
18128 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18129 McGrath.
18130
e7451425
AO
181312012-10-10 Alexandre Oliva <aoliva@redhat.com>
18132
18133 * crypt/crypt-entry.c: Include fips-private.h.
18134 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18135 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18136 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18137 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18138
4ba74a35
AO
181392012-10-10 Alexandre Oliva <aoliva@redhat.com>
18140
18141 * crypt/crypt-private.h: Include stdbool.h.
18142 (_ufc_setup_salt_r): Return bool.
18143 * crypt/crypt-entry.c: Include errno.h.
18144 (__crypt_r): Return NULL with EINVAL for bad salt.
18145 * crypt/crypt_util.c (bad_for_salt): New.
18146 (_ufc_setup_salt_r): Check that salt is long enough and within
18147 the specified alphabet.
18148 * crypt/badsalttest.c: New file.
18149 * crypt/Makefile (tests): Add it.
18150 ($(objpfx)badsalttest): New.
18151
f96f1242
MK
181522012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18153
18154 * NEWS: Add entry for BZ #14602.
18155
0e8e0c1c
JM
181562012-10-09 Joseph Myers <joseph@codesourcery.com>
18157
18158 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18159 type-generic.
18160 * math/libm-test.inc: Update comment listing what functions and
18161 macros are tested.
18162 (isgreater_test): New function.
18163 (isgreaterequal_test): Likewise.
18164 (isless_test): Likewise.
18165 (islessequal_test): Likewise.
18166 (islessgreater_test): Likewise.
18167 (isunordered_test): Likewise.
18168 (main): Call the new functions.
18169
273edc5e
RM
181702012-10-09 Roland McGrath <roland@hack.frob.com>
18171
b8493de0
RM
18172 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18173 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18174 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18175 * sysdeps/i386/configure: Regenerated.
18176 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18177 * sysdeps/mach/configure: Regenerated.
18178 * sysdeps/mach/hurd/configure: Regenerated.
18179 * sysdeps/powerpc/configure: Regenerated.
18180 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18181 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18182 * sysdeps/s390/s390-32/configure: Regenerated.
18183 * sysdeps/s390/s390-64/configure: Regenerated.
18184 * sysdeps/sh/configure: Regenerated.
18185 * sysdeps/sparc/configure: Regenerated.
18186 * sysdeps/unix/sysv/linux/configure: Regenerated.
18187 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18188 * sysdeps/x86_64/configure: Regenerated.
18189
273edc5e
RM
18190 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18191 defined. Don't check if MAP is NULL.
18192
c8450f70
JM
181932012-10-09 Joseph Myers <joseph@codesourcery.com>
18194
18195 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18196 (_G_stat64): Likewise.
18197 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18198 (_G_stat64): Likewise.
18199 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18200 instead of struct _G_stat64.
18201 * libio/fileops.c (mmap_remap_check): Likewise.
18202 (decide_maybe_mmap): Likewise.
18203 (_IO_new_file_seekoff): Likewise.
18204 (_IO_file_stat): Likewise.
18205 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18206 _G_off64_t.
18207 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18208 instead of struct _G_stat64.
18209 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18210
57e605ba
MK
182112012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18212
18213 [BZ #14602]
18214 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18215 Replace with ...
18216 (CHECK_EOL): New macro.
18217 (two_way_short_needle): Check beginning of haystack for EOL. Use
18218 CHECK_EOL.
18219 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18220 Replace with CHECK_EOL.
18221 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18222 Replace with CHECK_EOL.
18223
ef1bb361
JM
182242012-10-08 Joseph Myers <joseph@codesourcery.com>
18225
18226 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18227 type-generic.
18228 * math/libm-test.inc: Update comment listing what functions and
18229 macros are tested.
18230 (finite_test): New function.
18231 (isinf_test): Likewise.
18232 (isnan_test): Likewise.
18233 (fpclassify_test): Test subnormal input.
18234 (isfinite_test): Likewise.
18235 (isnormal_test): Likewise.
18236 (main): Call the new functions.
18237
55f11534
JN
182382012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18239
18240 [BZ #14660]
18241 * Makerules (%.dynsym): Force C locale when running
18242 $(OBJDUMP) --dynamic-syms.
18243
1ab29350
AS
182442012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18245
18246 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18247 <stdint.h>.
18248
f1ecb7ef
DM
182492012-10-06 David S. Miller <davem@davemloft.net>
18250
18251 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18252 upper 32-bits of the length value in %o2 since we use branch-on-register
18253 tests which consider the entire 64-bit register.
18254
5d41d91a
L
182552012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18256
18257 * string/test-strstr.c (check2): Add a test for page boundary.
18258
3baddb72
DM
182592012-10-05 David S. Miller <davem@davemloft.net>
18260
18261 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18262 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18263 file.
18264 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18265 sysdep_routines.
18266 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18267 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18268 and bzero when HWCAP_SPARC_CRYPTO is present.
18269
9cee5585
L
182702012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18271
d7e0dab9
L
18272 [BZ #14602]
18273 * string/test-strstr.c (check2): New function.
18274 (test_main): Call check2.
18275
03759f47
L
18276 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18277 and bug-strchr1.
18278 * string/bug-strcasestr1.c (do_test): Moved to ...
18279 * string/test-strcasestr.c (check1): Here. New function.
18280 (do_one_test): Break out result checking code into ...
18281 (check_result): This. New function.
18282 (do_one_test): Call check_result.
18283 (test_main): Call check1.
18284 * string/bug-strchr1.c (do_test): Moved to ...
18285 * string/test-strchr.c (check1): Here. New function.
18286 (do_one_test): Break out result checking code into ...
18287 (check_result): This. New function.
18288 (do_one_test): Call check_result.
18289 (test_main): Call check1.
18290 * string/bug-strstr1.c (main): Moved to ...
046f153e 18291 * string/test-strstr.c (check1): Here. New function.
03759f47
L
18292 (do_one_test): Break out result checking code into ...
18293 (check_result): This. New function.
18294 (do_one_test): Call check_result.
18295 (test_main): Call check1.
18296 * string/bug-strcasestr1.c: Removed.
18297 * string/bug-strchr1.c: Likewise.
18298 * string/bug-strstr1.c: Likewise.
18299
53cea63e
L
18300 * elf/Makefile (dl-routines): Add hwcaps.
18301 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18302 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18303 (_dl_important_hwcaps): Moved to ...
18304 * elf/dl-hwcaps.c: Here. New file.
18305 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18306
9cee5585 18307 [BZ #14557]
bb859b06
L
18308 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18309 if IS_IN_rtld isn't defined.
18310
9cee5585
L
18311 * elf/dl-support.c (_dl_sysinfo_map): New.
18312 Include "get-dynamic-info.h" and "setup-vdso.h".
18313 (_dl_non_dynamic_init): Call setup_vdso.
18314 * elf/dynamic-link.h: Don't include <assert.h>.
18315 (elf_get_dynamic_info): Moved to ...
18316 * elf/get-dynamic-info.h: Here. New file.
18317 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18318 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18319 * elf/setup-vdso.h: Here. New file.
18320 * elf/rtld.c: Include "setup-vdso.h".
18321 (dl_main): Call setup_vdso.
18322
23c31b76
JM
183232012-10-05 Joseph Myers <joseph@codesourcery.com>
18324
28234b07
JM
18325 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18326 creal in comment listing functions tested. List finite, isinf,
18327 isnan, isless, islessequal, isgreater, isgreaterequal,
18328 islessgreater, isunordered, lgamma_r and pow10 as functions and
18329 macros not tested. Mention which functions not tested are aliases
18330 for other functions. Fix typo. Note that signs of NaNs are not
18331 tested.
18332
23c31b76
JM
18333 * scripts/config.guess: Update from config.git.
18334 * scripts/config.sub: Likewise.
18335
9043e228
RM
183362012-10-04 Roland McGrath <roland@hack.frob.com>
18337
18338 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18339 * misc/madvise.c (madvise): Renamed to __madvise.
18340 Make madvise a weak alias.
18341 * include/sys/mman.h: Declare __madvise.
18342 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18343 * sysdeps/unix/syscalls.list
18344 (madvise): Make __madvise the strong name, and madvise a weak alias.
18345 * sysdeps/unix/sysv/linux/syscalls.list
18346 (madvise, mmap): Remove redundant entries.
18347 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18348 * malloc/malloc.c (mtrim): Likewise.
18349 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18350
f57f8055
RM
183512012-10-03 Roland McGrath <roland@hack.frob.com>
18352
18353 * sysdeps/mach/hurd/dl-cache.c: File removed.
18354 * config.h.in (USE_LDCONFIG): New #undef.
18355 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18356 * configure: Regenerated.
18357 * elf/Makefile (dl-routines): Add dl-cache only under
18358 [$(use-ldconfig) = yes].
18359 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18360 cache on [USE_LDCONFIG].
18361 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18362 [USE_LDCONFIG].
18363 * elf/rtld.c (dl_main): Likewise.
18364
5bb0c10a
PT
183652012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18366
18367 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18368 _SC_LEVEL4_CACHE_LINESIZE.
18369
010188c6
RM
183702012-10-03 Roland McGrath <roland@hack.frob.com>
18371
18372 * sysdeps/unix/bsd/confstr.h: File removed.
18373
b6c5ec07
AO
183742012-10-02 Alexandre Oliva <aoliva@redhat.com>
18375
18376 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18377 sys/sdt-config.h.
18378
408223d4
RM
183792012-10-02 Roland McGrath <roland@hack.frob.com>
18380
18381 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18382 Make 'mapoff' field ElfW(Off) rather than off_t.
18383
bb9510dc
DL
183842012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18385
fc997c6e
DL
18386 * nscd/Makefile: Remove nscd-cflags and all its users.
18387 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18388 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18389
bb9510dc
DL
18390 [BZ #10631]
18391 * malloc.c (malloc_printerr): Clarify error message.
18392
05699367
L
183932012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18394
18395 [BZ #14648]
18396 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18397 Set bit_FMA_Usable if FMA is supported.
18398 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18399 macro.
18400 (bit_FMA4_Usable): Updated.
18401 (index_FMA_Usable): New macro.
18402 (CPUID_FMA): Likewise
18403 (HAS_FMA): Defined with bit_FMA_Usable.
18404
51367701
RM
184052012-10-01 Roland McGrath <roland@hack.frob.com>
18406
18407 * bits/types.h (__swblk_t): Type removed.
18408 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18409 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18410 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18411 (__SWBLK_T_TYPE): Likewise.
18412 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18413 (__SWBLK_T_TYPE): Likewise.
18414 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18415 (__SWBLK_T_TYPE): Likewise.
18416 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18417 (__SWBLK_T_TYPE): Likewise.
18418
4d57bf63 184192012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 18420 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
18421
18422 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18423 (xdr_mapname): Use YPMAXMAP as maxsize.
18424 (xdr_peername): Use YPMAXPEER as maxsize.
18425 (xdr_keydat): Use YPAXRECORD as maxsize.
18426 (xdr_valdat): Use YPMAXRECORD as maxsize.
18427
93c65d43
RM
184282012-10-01 Roland McGrath <roland@hack.frob.com>
18429
497a03d6
RM
18430 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18431
93c65d43
RM
18432 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18433 * csu/init-first.c: ... here.
18434 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18435 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18436 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18437 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18438 * sysdeps/i386/init-first.c: File removed.
18439 * sysdeps/sh/init-first.c: File removed.
18440
bec749fd
JM
184412012-10-01 Joseph Myers <joseph@codesourcery.com>
18442
18443 [BZ #14645]
18444 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18445 if x * y might underflow to zero and z is zero.
18446 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18447 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18448 * math/libm-test.inc (min_subnorm_value): New variable.
18449 (fma_test): Add more tests.
18450 (fma_test_towardzero): Likewise.
18451 (fma_test_downward): Likewise
18452 (fma_test_upward): Likewise.
18453 (initialize): Set min_subnorm_value.
18454
8ec5b013
JM
184552012-09-29 Joseph Myers <joseph@codesourcery.com>
18456
18457 [BZ #14638]
18458 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18459 0 + 0.
18460 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18461 mode for addition resulting in exact zero.
18462 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18463 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18464 exact 0 + 0.
18465 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18466 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18467 * math/libm-test.inc (fma_test): Add more tests.
18468 (fma_test_towardzero): New function.
18469 (fma_test_downward): Likewise.
18470 (fma_test_upward): Likewise.
18471 (main): Call the new functions.
18472
b1fa802e
DM
184732012-09-28 David S. Miller <davem@davemloft.net>
18474
18475 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18476
d3b9fd9e
RM
184772012-09-28 Roland McGrath <roland@hack.frob.com>
18478
ea4d37b3
RM
18479 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18480 instead of SIGALRM.
18481
ac51c949
RM
18482 * sysdeps/gnu/_G_config.h: Moved to ...
18483 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18484 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18485 * sysdeps/generic/_G_config.h: ... here.
18486
28c195f7
RM
18487 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18488
848917f9
RM
18489 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18490
6bacf05b
RM
18491 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18492 Conditionalize target on [libnss_test1.so-version].
18493
91363dbb
RM
18494 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18495
cc87f7d8
RM
18496 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18497 (elfobjdir): Move out of conditionals.
18498
b1c608fe
RM
18499 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18500 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18501 (__nss_lookup_function): Conditionalize label remove_from_tree on
18502 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 18503
1d9a6d96
DM
185042012-09-28 David S. Miller <davem@davemloft.net>
18505
18506 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18507 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18508 file.
18509 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18510 sysdep_routines.
18511 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18512 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18513 when HWCAP_SPARC_CRYPTO is present.
18514
72581615
PT
185152012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18516
18517 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18518
715a900c
JL
185192012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18520
18521 [BZ #6530]
18522 * stdio-common/vfprintf.c (process_string_arg): Revert
18523 2000-07-22 change.
18524
185252011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18526
18527 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18528 for testcase.
18529 * stdio-common/tst-sprintf.c: Include <locale.h>
18530 (main): Test sprintf's handling of incomplete multibyte
18531 characters.
18532
9bac1d86
L
185332012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18534
18535 * elf/dl-runtime.c (VERSYMIDX): Removed.
18536 * elf/dl-version.c (VERSYMIDX): Likewise.
18537 * elf/do-rel.h (VERSYMIDX): Likewise.
18538 (VALIDX): Likewise.
18539 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18540 * elf/rtld.c (VALIDX): Likewise.
18541 (ADDRIDX): Likewise.
9bac1d86
L
18542 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18543 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18544 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
18545 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18546 (VALIDX): Likewise.
18547 (ADDRIDX): Likewise.
9bac1d86 18548
b31606c0
PT
185492012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18550
18551 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18552
11541177
JL
185532012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18554
18555 [BZ #11438]
18556 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18557 to global scope.
18558 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18559 addresses are in the same scope as 192.0.2/24.
18560 * posix/gai.conf: Document new scope table defaults.
18561
adb26fae
SP
185622012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18563
18564 [BZ #5298]
18565 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18566 for ftell. Compute offsets from write pointers instead.
18567 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18568
4573c6b0
SP
185692012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18570
18571 [BZ #14543]
18572 * libio/Makefile (tests): New test case tst-fseek.
18573 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18574 combination works in wide mode.
18575 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18576 state when the external buffer state changes.
18577
aa9bbfe6
DM
185782012-09-27 David S. Miller <davem@davemloft.net>
18579
18580 [BZ #14376]
18581 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18582 pass reloc->r_addend in as the 'high' argument to
18583 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18584
784421e7
DM
18585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18586
c39bc8b8
PT
185872012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18588
18589 * rt/tst-aio2.c: Include <pthread.h>.
18590 * rt/tst-aio3.c: Likewise.
18591
1ccc2399
SE
185922012-09-27 Steve Ellcey <sellcey@mips.com>
18593
18594 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18595
31ed4153
L
185962012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18597
25f5f885
L
18598 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18599 contents on [SHARED].
31ed4153 18600
b7bfe116
MP
186012012-09-26 Marek Polacek <polacek@redhat.com>
18602
18603 [BZ #14530]
18604 [BZ #13741]
18605 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18606 for C++ and GCC <4.3 as well as for non GCC compilers.
18607
43c4edba
MT
186082012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18609
18610 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18611
6a1bf82f
RM
186122012-09-25 Roland McGrath <roland@hack.frob.com>
18613
18614 * Makefile.in (all, install): Declare with .PHONY.
18615 Reported by Michael Hope <michael.hope@linaro.org>.
18616
8ad11b9a
TMQMF
186172012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18618
18619 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18620 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18621 system header.
18622 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18623 Likewise.
18624 (sydep_routines): Add the new and the internal functions.
18625 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18626 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18628 (GLIBC_2.17): Add the new function.
18629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18630 (GLIBC_2.17): Likewise.
18631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18632 (GLIBC_2.17): Likewise.
18633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18634 (GLIBC_2.17): Likewise.
18635 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18636
7e2fca8d
AM
186372012-09-25 Alan Modra <amodra@gmail.com>
18638
18639 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18640 Add release barrier before setting once_control to say
18641 initialisation is done. Add hints on lwarx. Use macro in
18642 place of isync.
18643 (clear_once_control): Add release barrier.
18644
b87c4b24
JM
186452012-09-25 Joseph Myers <joseph@codesourcery.com>
18646
d032e0d2
JM
18647 [BZ #13629]
18648 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18649 specially.
18650 * math/s_clog10.c (__clog10): Likewise.
18651 * math/s_clog10f.c (__clog10f): Likewise.
18652 * math/s_clog10l.c (__clog10l): Likewise.
18653 * math/s_clogf.c (__clogf): Likewise.
18654 * math/s_clogl.c (__clogl): Likewise.
18655 * math/Makefile (libm-calls): Add x2y2m1.
18656 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18657 (__x2y2m1): Likewise.
18658 (__x2y2m1l): Likewise.
18659 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18660 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18661 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18662 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18663 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18664 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18665 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18666 * sysdeps/i386/fpu/libm-test-ulps: Update.
18667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18668
b87c4b24
JM
18669 [BZ #14621]
18670 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18671 int as type of variable DEPTH.
18672 (glob): Use size_t instead of int as type of variables NEWCOUNT
18673 and OLD_PATHC.
18674
6d3bf199
LD
186752012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18676
22bf5c17
LD
18677 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18678 Add s_sincosf-sse2.
18679 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18680 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18681 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18682 macros for using routine as __sincosf_ia32.
18683 Use macro for function declaration and weak_alias.
18684 * sysdeps/i386/fpu/libm-test-ulps: Update.
18685
18686 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18687 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18688
18689 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
18690 subnormal argument.
18691 * math/s_cexpf.c (__cexpf): Likewise.
18692 * math/s_csinf.c (__csinf): Likewise.
18693 * math/s_csinhf.c (__csinhf): Likewise.
18694 * math/s_ctanf.c (__ctanf): Likewise.
18695 * math/s_ctanhf.c (__ctanhf): Likewise.
18696 * math/s_ccosh.c (__ccoshf): Likewise.
18697 * math/s_cexp.c (__cexpl): Likewise.
18698 * math/s_csin.c (__csin): Likewise.
18699 * math/s_csinh.c (__csinh): Likewise.
18700 * math/s_ctan.c (__ctan): Likewise.
18701 * math/s_ctanh.c (ctanh): Likewise.
18702 * math/s_ccoshl.c (__ccoshl): Likewise.
18703 * math/s_cexpl.c (__cexpl): Likewise.
18704 * math/s_csinl.c (__csinl): Likewise.
18705 * math/s_csinhl.c (__csinhl): Likewise.
18706 * math/s_ctanl.c (__ctanl): Likewise.
18707 * math/s_ctanhl.c (__ctanhl): Likewise.
18708
203e5603
JM
187092012-09-25 Joseph Myers <joseph@codesourcery.com>
18710
18711 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18712 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18713 (_IO_off_t): Define to __off_t, not _G_off_t.
18714 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18715 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18716 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18717 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18718 type of __dummy and __dummy2 fields.
18719 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18720 (_G_ssize_t): Likewise.
18721 (_G_off_t): Likewise.
18722 (_G_pid_t): Likewise.
18723 (_G_uid_t): Likewise.
18724 (_G_wchar_t): Likewise.
18725 (_G_wint_t): Likewise.
18726 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18727 (_G_ssize_t): Likewise.
18728 (_G_off_t): Likewise.
18729 (_G_pid_t): Likewise.
18730 (_G_uid_t): Likewise.
18731 (_G_wchar_t): Likewise.
18732 (_G_wint_t): Likewise.
18733 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18734 (_G_ssize_t): Likewise.
18735 (_G_off_t): Likewise.
18736 (_G_pid_t): Likewise.
18737 (_G_uid_t): Likewise.
18738 (_G_wchar_t): Likewise.
18739 (_G_wint_t): Likewise.
18740
9fab36eb
SP
187412012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18742
18743 * malloc/arena.c: Include malloc-sysdep.h.
18744 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18745 is sufficient to shrink the heap or an unmap is needed.
18746 * sysdeps/generic/malloc-sysdep.h: New file. Define
18747 new function check_may_shrink_heap.
18748 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18749 new function check_may_shrink_heap.
18750
2b4f00d1
SP
187512012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18752
18753 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18754 comments.
18755
9a9028b1
DL
187562012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18757
57c69bef
DL
18758 * catgets/test-gencat.sh: Add "set -e".
18759 * elf/tst-pathopt.sh: Likewise.
18760 * grp/tst_fgetgrent.sh: Likewise.
18761 * iconvdata/run-iconv-test.sh: Likewise.
18762 * intl/tst-gettext.sh: Likewise.
18763 * intl/tst-gettext2.sh: Likewise.
18764 * intl/tst-gettext4.sh: Likewise.
18765 * intl/tst-gettext6.sh: Likewise.
18766 * intl/tst-translit.sh: Likewise.
18767 * io/ftwtest-sh: Likewise.
18768 * libio/test-freopen.sh: Likewise.
18769 * malloc/tst-mtrace.sh: Likewise.
18770 * posix/globtest.sh: Likewise.
18771 * posix/tst-getconf.sh: Likewise.
18772 * posix/wordexp-tst.sh: Likewise.
18773 * stdio-common/tst-printf.sh: Likewise.
18774 * stdio-common/tst-unbputc.sh: Likewise.
18775 * stdlib/tst-fmtmsg.sh: Likewise.
18776 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18777 * catgets/Makefile: Do not specify -e option when running
18778 testsuite shell scripts.
18779 * elf/Makefile: Likewise.
18780 * grp/Makefile: Likewise.
18781 * iconvdata/Makefile: Likewise.
18782 * intl/Makefile: Likewise.
18783 * io/Makefile: Likewise.
18784 * libio/Makefile: Likewise.
18785 * malloc/Makefile: Likewise.
18786 * posix/Makefile: Likewise.
18787 * stdio-common/Makefile: Likewise.
18788 * stdlib/Makefile: Likewise.
18789 * sysdeps/x86_64/Makefile: Likewise.
18790
9a9028b1
DL
18791 * io/ftwtest-sh: Add copyright header.
18792 * posix/globtest.sh: Likewise.
18793 * posix/tst-getconf.sh: Likewise.
18794 * posix/wordexp-tst.sh: Likewise.
18795 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18796
ced6f16e
L
187972012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18798
94b32c39
L
18799 [BZ #13679]
18800 * Makeconfig (+link): Defined as $(+link-static) if
18801 $(build-shared) isn't yes.
18802 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18803 isn't yes.
18804 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18805
189e935b
L
18806 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18807
ced6f16e
L
18808 [BZ #14562]
18809 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18810 new chunk size with MALLOC_ALIGN_MASK.
18811
a9f8e53a
JM
188122012-09-24 Joseph Myers <joseph@codesourcery.com>
18813
18814 [BZ #5044]
18815 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18816 <rounding-mode.h>.
18817 (__printf_fphex): Determine rounding using get_rounding_mode and
18818 round_away.
18819 * stdio-common/tst-printf-round.c (struct hex_test): New
18820 structure.
18821 (hex_tests): New variable.
18822 (test_hex_in_one_mode): New function.
18823 (do_test): Also run tests for hex float output.
18824
43153109
JM
188252012-09-21 Joseph Myers <joseph@codesourcery.com>
18826
18827 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18828 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18829 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18830 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18831 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18832 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18833 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18834 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18835
8a26625d
JM
188362012-09-20 Joseph Myers <joseph@codesourcery.com>
18837
18838 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18839 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18840 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18841 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18842
f3fd569c
DL
188432012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18844
18845 [BZ #14579]
18846 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18847 mode only.
18848 * elf/tst-rtld-load-self.sh: New test.
18849 * elf/Makefile: Run it.
18850
63bbedd4
JM
188512012-09-18 Joseph Myers <joseph@codesourcery.com>
18852
18853 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18854 (tst-writev-ENV): Remove.
18855 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18856
626f8b6a
CM
188572012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18858
18859 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18860
b7aaa4d6
JM
188612012-09-17 Joseph Myers <joseph@codesourcery.com>
18862
18863 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18864 unconditional.
18865 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18866 Likewise.
18867 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18868 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18869 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18870 Likewise.
18871
65513990
L
188722012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18873
18874 [BZ #14587]
18875 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18876 * config.make.in (have-cpp-asm-debuginfo): Removed.
18877 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18878 * configure: Regenerated.
18879
784761be
JM
188802012-09-14 Joseph Myers <joseph@codesourcery.com>
18881
18882 [BZ #5044]
18883 * stdio-common/printf_fp.c: Include <stdbool.h> and
18884 <rounding-mode.h>.
18885 (___printf_fp): Determine rounding using get_rounding_mode and
18886 round_away.
18887 * stdio-common/tst-printf-round.c: New file.
18888 * stdio-common/Makefile (tests): Add tst-printf-round.
18889 (link-libm): New variable.
18890 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18891
9503345f
L
188922012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18893
18894 [BZ #14576]
18895 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18896 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18897 Likewise.
18898 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18899 Likewise.
18900
ad35fc00
JM
189012012-09-13 Joseph Myers <joseph@codesourcery.com>
18902
18903 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18904 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18905 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18906 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18907
6c9b0f68
JM
189082012-09-12 Joseph Myers <joseph@codesourcery.com>
18909
18910 [BZ #14518]
18911 * include/rounding-mode.h: New file.
18912 * sysdeps/generic/get-rounding-mode.h: Likewise.
18913 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18914 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18915 (MAX_VALUE): New macro.
18916 (MIN_VALUE): Likewise.
18917 (overflow_value): New function.
18918 (underflow_value): Likewise.
18919 (round_and_return): Use overflow_value and underflow_value to
18920 determine return values in overflow and underflow cases. Use
18921 round_away to determine rounding depending on rounding mode.
18922 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18923 determine return values in overflow and underflow cases.
18924 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18925 (struct test_results): New structure.
18926 (struct test): Use struct test_results to store expected results
18927 for all rounding modes.
18928 (TEST): Include expected results for all rounding modes.
18929 (test_in_one_mode): New function.
18930 (do_test): Use test_in_one_mode to compute and check results.
18931 Check results for all rounding modes.
18932 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18933 $(link-libm).
18934
19fcedd5
AM
189352012-12-09 Allan McRae <allan@archlinux.org>
18936
1e9d84cd 18937 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 18938
8bbfd2f1
JM
189392012-09-11 Joseph Myers <joseph@codesourcery.com>
18940
18941 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18942 (_G_int32_t): Likewise.
18943 (_G_uint16_t): Likewise.
18944 (_G_uint32_t): Likewise.
18945 (_G_HAVE_BOOL): Likewise.
18946 (_G_HAVE_ATEXIT): Likewise.
18947 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18948 (_G_HAVE_IO_FILE_OPEN): Likewise.
18949 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18950 (_G_int32_t): Likewise.
18951 (_G_uint16_t): Likewise.
18952 (_G_uint32_t): Likewise.
18953 (_G_HAVE_BOOL): Likewise.
18954 (_G_HAVE_ATEXIT): Likewise.
18955 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18956 (_G_HAVE_IO_FILE_OPEN): Likewise.
18957 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18958 (_G_int32_t): Likewise.
18959 (_G_uint16_t): Likewise.
18960 (_G_uint32_t): Likewise.
18961 (_G_HAVE_BOOL): Likewise.
18962 (_G_HAVE_ATEXIT): Likewise.
18963 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18964 (_G_HAVE_IO_FILE_OPEN): Likewise.
18965
b1dc5912
L
189662012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18967
18968 * csu/libc-tls.c: Update copyright years.
18969
0e886ef9
JM
189702012-09-10 Joseph Myers <joseph@codesourcery.com>
18971
28361c5e
JM
18972 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18973 [!_G_USING_THUNKS]: Remove conditional code.
18974 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18975 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18976
0e886ef9
JM
18977 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18978 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18979 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18980 (_G_VTABLE_LABEL_PREFIX): Likewise.
18981 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18982 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18983 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18984 (_G_VTABLE_LABEL_PREFIX): Likewise.
18985 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18986 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18987 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18988 (_G_VTABLE_LABEL_PREFIX): Likewise.
18989 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18990
bcba7aa2
L
189912012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18992
18993 * libio/Makefile: Include ../Makeconfig before tests.
18994 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18995 only if $(build-shared) is yes.
18996
06585ee8
L
18997 * iconv/gconv_db.c: Update copyright years.
18998
80ccd52c
LD
189992012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19000
19001 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19002 unwind info if defined PIC. Fix special cases description.
19003 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19004
19005 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19006 DP_HI_MASK entry.
19007 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19008
691bc9c1
L
190092012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19010
3d9b46b3
L
19011 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19012
de2139a9
L
19013 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19014 is NULL.
19015
5ca78dd0
L
19016 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19017 (LDLIBS-tst-chk4): This.
19018 (LDFLAGS-tst-chk5): Renamed to ...
19019 (LDLIBS-tst-chk5): This.
19020 (LDFLAGS-tst-chk6): Renamed to ...
19021 (LDLIBS-tst-chk6): This.
19022 (LDFLAGS-tst-lfschk4): Renamed to ...
19023 (LDLIBS-tst-lfschk4): This.
19024 (LDFLAGS-tst-lfschk5): Renamed to ...
19025 (LDLIBS-tst-lfschk5): This.
19026 (LDFLAGS-tst-lfschk6): Renamed to ...
19027 (LDLIBS-tst-lfschk6): This.
19028
691bc9c1
L
19029 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19030 on $(common-objpfx)soversions.mk.
19031
65cafb1c
JM
190322012-09-07 Joseph Myers <joseph@codesourcery.com>
19033
19034 [BZ #10014]
19035 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19036 example host name.
19037
c78ab094
SP
190382012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19039
19040 * malloc/arena.c (arena_get_retry): New function that gets
19041 another arena for the caller to try its request on.
19042 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19043 current arena cannot fulfill the request.
19044 (__libc_memalign): Likewise.
19045 (__libc_memalign): Likewise.
19046 (__libc_pvalloc): Likewise.
19047 (__libc_calloc): Likewise.
19048
01f49f59
JT
190492012-09-05 John Tobey <john.tobey@gmail.com>
19050
19051 [BZ #13542]
19052 * manual/arith.texi (Operations on Complex): Fix description
19053 of carg branch cut.
19054
4c23fed5
JM
190552012-09-06 Joseph Myers <joseph@codesourcery.com>
19056
1d3c8572
JM
19057 [BZ #10014]
19058 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19059 host name.
19060
4c23fed5
JM
19061 [BZ #10038]
19062 * manual/memory.texi (Memory): Make order of menu items match
19063 order of sections.
19064
04570aaa
L
190652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19066
19067 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19068 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19069 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19070
b80af2f4
L
190712012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19072
19073 * csu/libc-tls.c (static_dtv): Renamed to ...
19074 (_dl_static_dtv): This. Make it global.
19075 (_dl_initial_dtv): Removed.
19076 (__libc_setup_tls): Updated.
19077 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19078 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19079 DL_INITIAL_DTV.
19080
2abe9f15
PM
190812012-09-06 Petr Machata <pmachata@redhat.com>
19082
19083 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19084 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19085 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19086 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19087
0948c3af
L
190882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19089
19090 [BZ #14545]
19091 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19092 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19093 freeing dtv[-1].
19094
a5055ad1
L
190952012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19096
19097 [BZ #14544]
19098 * Makeconfig (link-static-before-libc): Replace $(+prector)
19099 with $(+prectorT).
19100 (link-static-after-libc): Replace $(+postctor) with
19101 $(+postctorT).
19102 (link-bounded): Replace $(+prector)/$(+postctor) with
19103 $(+prectorT)/$(+postctorT).
19104 (+prectorT): New macro.
19105 (+postctorT): Likewise.
19106
ed8c2ecd
JM
191072012-09-06 Joseph Myers <joseph@codesourcery.com>
19108
19109 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19110 (round_str): Handle values above the maximum for IBM long double
19111 as inexact.
19112 * stdlib/tst-strtod-round.c (tests): Regenerated.
19113
14c996c8
AK
191142012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19115
19116 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19117 assembler flag.
19118 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19119 zarch_nohighgprs around the zarch optimized routines.
19120 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19121 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19122 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19123 for zarch.
19124
430d6ce6
DM
191252012-09-05 David S. Miller <davem@davemloft.net>
19126
19127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19128
ff04dda4
DM
19129 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19130 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19131 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19132 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19133 entries.
19134
24d4e01b
AO
191352012-09-05 Alexandre Oliva <aoliva@redhat.com>
19136
19137 * malloc/arena.c: Fold copyright years.
19138 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19139
61d58174
AO
191402012-09-05 Alexandre Oliva <aoliva@redhat.com>
19141
19142 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19143
20196a5e
AO
191442012-09-05 Alexandre Oliva <aoliva@redhat.com>
19145
19146 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19147
5c447383
AO
191482012-09-05 Alexandre Oliva <aoliva@redhat.com>
19149
19150 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19151 change internal state upon failure.
19152
fad64255
AO
191532012-09-05 Alexandre Oliva <aoliva@redhat.com>
19154
19155 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19156 * malloc/memusage.c (mmap): Likewise.
19157 (mmap64, mremap): Likewise. Adjust name in comment.
19158
1ffb8c90
SP
191592012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19160
19161 * libio/fileops.c: Fix typos in comments.
19162 * libio/oldfileops.c: Likewise.
19163 * libio/wfileops.c: Likewise.
19164
6ef9cc37
SP
191652012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19166
19167 [BZ #1349]
19168 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19169 (tst-malloc-usable-ENV): Set environment for test case.
19170 * malloc/hooks.c (malloc_check_get_size): New function to get
19171 requested size.
19172 * malloc/malloc.c (musable): Use malloc_check_get_size.
19173 * malloc/tst-malloc-usable.c: New test case.
19174
4d038ae3
AS
191752012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19176
19177 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19178
c4e85184
AM
191792012-09-05 Allan McRae <allan@archlinux.org>
19180
b9dafc56 19181 [BZ #13966]
c4e85184
AM
19182 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19183 determine header location.
19184 * configure: Regenerated.
19185
e1343020
AS
191862012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19187
19188 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19189 float format.
19190 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
19191 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19192 format.
e1343020
AS
19193 (test): Regenerate.
19194
0a9f1987
DM
191952012-09-04 David S. Miller <davem@davemloft.net>
19196
19197 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19198 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19199 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19200
29237804
FW
192012012-09-04 Florian Weimer <fweimer@redhat.com>
19202
19203 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19204 failures.
19205
edb3cb88
FW
19206 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19207
60160d83
JM
192082012-09-04 Joseph Myers <joseph@codesourcery.com>
19209
19210 [BZ #9914]
19211 * libio/iogetdelim.c: Include <limits.h>.
19212 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19213 + len + 1 would overflow.
19214
bcd6c8dc
AJ
192152012-09-03 Andreas Jaeger <aj@suse.de>
19216
19217 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19218 * sysdeps/i386/fpu/libm-test-ulps: Update.
19219
4ffffbd2
LD
192202012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19221
19222 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19223 Add s_sinf-sse2, s_conf-sse2.
19224
19225 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19226 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19227 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19228 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19229
19230 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19231 for using routine as __sinf_ia32.
19232 Use macro for function declaration and weak_alias.
19233 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19234 for using routine as __cosf_ia32.
19235 Use macro for function declaration and weak_alias.
19236
19237 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19238 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19239
19240 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19241 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19242 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19243
19244 * math/libm-test.inc (cos_test): Add more test cases.
19245 (sin_test): Likewise.
19246 (sincos_test): Likewise.
19247
511fa286
AK
192482012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19249
19250 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19251 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19252 hidden.
19253 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19254
5f30cfec
L
192552012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19256
19257 [BZ #14538]
19258 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19259 first element of the GOT.
19260 (elf_machine_load_address): Return the difference between
19261 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19262
0786794f
AM
192632012-09-01 Allan McRae <allan@archlinux.org>
19264
5f30cfec
L
19265 [BZ #13412]
19266 * configure.in (AWK): Require gawk version 3.0 or later.
19267 * configure: Regenerated.
0786794f 19268
26889eac
JM
192692012-09-01 Joseph Myers <joseph@codesourcery.com>
19270
19271 * sysdeps/unix/sysv/linux/kernel-features.h
19272 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19273 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19274 [__NR_clock_getres]: Make code unconditional.
19275 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19276 (clock_getcpuclockid): Remove code left unreachable by removal of
19277 conditionals.
19278 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19279 code unconditional.
19280 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19281 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19282 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19283 Make code unconditional.
19284 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19285 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19286 * sysdeps/unix/sysv/linux/clock_settime.c
19287 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19288 conditional code.
19289 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19290 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19291
d22e28b0
L
192922012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19293
19294 [BZ #14476]
19295 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19296 scripts/test-installation.pl.
19297
19298 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19299 and $ld_so_version if it is set.
19300
050af9c4
SP
193012012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19302
19303 [BZ #14516]
19304 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19305 failure if reading from procfs failed.
19306 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19307
ad845c0b
JM
193082012-08-27 Joseph Myers <joseph@codesourcery.com>
19309
19310 * sysdeps/unix/sysv/linux/kernel-features.h
19311 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19312 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19313 Remove conditional code.
19314 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19315 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19316 Remove conditional code.
19317 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19318 * sysdeps/unix/sysv/linux/i386/fxstat.c
19319 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19320 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19321 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19322 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19323 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19324 * sysdeps/unix/sysv/linux/i386/lxstat.c
19325 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19326 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19327 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19328 Remove conditional code.
19329 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19330 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19331 Remove conditional code.
19332 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19333 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19334 <kernel-features.h>.
19335 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19336 Remove.
19337 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19338 Remove conditional code.
19339 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19340 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19341 Remove conditional.
19342
5dbf56af
MF
193432012-08-27 Mike Frysinger <vapier@gentoo.org>
19344
19345 [BZ #5400]
19346 * NEWS: Add fixed bug number.
19347
d6e70f43
JM
193482012-08-27 Joseph Myers <joseph@codesourcery.com>
19349
7efb4737
JM
19350 [BZ #14519]
19351 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19352 underflowing exponent in case of negative sign.
19353 * stdlib/tst-strtod-round-data: Add more tests.
19354 * stdlib/tst-strtod-round.c (tests): Regenerated.
19355
af92131a
JM
19356 [BZ #3479]
19357 * stdlib/strtod_l.c (NDIG): Remove.
19358 (HEXNDIG): Likewise.
19359 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19360 smallest representable value.
19361 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19362 lie within an exact representation of 1/2 ulp of the result.
19363 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19364 unconditionally.
19365 (TENS_P9_IDX): Define unconditionally.
19366 (TENS_P9_SIZE): Likewise.
19367 (TENS_P10_IDX): Likewise.
19368 (TENS_P10_SIZE): Likewise.
19369 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19370 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19371 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19372 entries for 10^2^13 and 10^2^14.
19373 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19374 (TENS_P13_IDX): Define.
19375 (TENS_P13_SIZE): Likewise.
19376 (TENS_P14_IDX): Likewise.
19377 (TENS_P14_SIZE): Likewise.
19378 (_fpioconst_pow10): Change array size to
19379 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19380 unconditional.
19381 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19382 1024]: Add entries for 10^2^13 and 10^2^14.
19383 [LAST_POW10 > _LAST_POW10]: Remove #error.
19384 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19385 (_fpioconst_pow10): Change array size to
19386 FPIOCONST_POW10_ARRAY_SIZE.
19387 * stdlib/gen-fpioconst.c: New file.
19388 * stdlib/gen-tst-strtod-round.c: Likewise.
19389 * stdlib/tst-strtod-round-data: Likewise.
19390 * stdlib/tst-strtod-round.c: Likewise.
19391 * stdlib/Makefile (tests): Add tst-strtod-round.
19392
d6e70f43
JM
19393 [BZ #14459]
19394 * stdlib/strtod_l.c: Include <stdint.h>.
19395 (NDEBUG): Do not define.
19396 (round_and_return): Change EXPONENT parameter to type intmax_t.
19397 Rearrange calculations to avoid internal overflow possibilities.
19398 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19399 Rearrange calculations to avoid internal overflow possibilities.
19400 Assert that number fits inside MPNSIZE limbs.
19401 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19402 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19403 calculations and add assertions to avoid internal overflow
19404 possibilities. Add casts to avoid signed/unsigned operations.
19405 * stdlib/tst-strtod-overflow.c: New file.
19406 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19407
1f529f7d
MP
194082012-08-25 Marek Polacek <polacek@redhat.com>
19409
19410 * time/time.h: Fix some typos in comments.
19411
59a629f1
RM
194122012-08-23 Roland McGrath <roland@hack.frob.com>
19413
19414 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19415 * posix/tst-rfc3484-2.c: Likewise.
19416 * posix/tst-rfc3484-3.c: Likewise.
19417
d3bafbc9
SM
194182012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19419
19420 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19421 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19422
4efcc022
JM
194232012-08-23 Joseph Myers <joseph@codesourcery.com>
19424
19425 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19426 #include of fxstatat64.c.
19427
3cc3ef96
RM
194282012-08-22 Roland McGrath <roland@hack.frob.com>
19429
f04e2132
RM
19430 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19431 * shadow/getspent_r.c: Likewise.
19432 * shadow/getspnam.c: Likewise.
19433 * shadow/getspnam_r.c: Likewise.
19434 * gshadow/getsgent.c: Likewise.
19435 * gshadow/getsgent_r.c: Likewise.
19436 * gshadow/getsgnam.c: Likewise.
19437 * gshadow/getsgnam_r.c: Likewise.
19438 * inet/getnetbyad.c: Likewise.
19439 * inet/getnetbyad_r.c: Likewise.
19440 * inet/getnetbynm.c: Likewise.
19441 * inet/getnetbynm_r.c: Likewise.
19442 * inet/getnetent.c: Likewise.
19443 * inet/getnetent_r.c: Likewise.
19444 * inet/getproto.c: Likewise.
19445 * inet/getproto_r.c: Likewise.
19446 * inet/getprtent.c: Likewise.
19447 * inet/getprtent_r.c: Likewise.
19448 * inet/getprtname.c: Likewise.
19449 * inet/getprtname_r.c: Likewise.
19450 * inet/getrpcbyname.c: Likewise.
19451 * inet/getrpcbyname_r.c: Likewise.
19452 * inet/getrpcbynumber.c: Likewise.
19453 * inet/getrpcbynumber_r.c: Likewise.
19454 * inet/getrpcent.c: Likewise.
19455 * inet/getrpcent_r.c: Likewise.
19456 * inet/getaliasent.c: Likewise.
19457 * inet/getaliasent_r.c: Likewise.
19458 * inet/getaliasname.c: Likewise.
19459 * inet/getaliasname_r.c: Likewise.
19460 * nscd/getgrgid_r.c: Likewise.
19461 * nscd/getgrnam_r.c: Likewise.
19462 * nscd/gethstbyad_r.c: Likewise.
19463 * nscd/gethstbynm3_r.c: Likewise.
19464 * nscd/getpwnam_r.c: Likewise.
19465 * nscd/getpwuid_r.c: Likewise.
19466 * nscd/getsrvbynm_r.c: Likewise.
19467 * nscd/getsrvbypt_r.c: Likewise.
19468 * nscd/gai.c: Likewise.
19469
c53d909c
RM
19470 * configure.in (build_nscd): New substituted variable, set
19471 by --disable-build-nscd and defaults to $use_nscd.
19472 * configure: Regenerated.
19473 * config.make.in (build-nscd): New substituted variable.
19474 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19475 Change conditional to require [$(build-nscd) = yes] as well.
19476 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19477
3cc3ef96
RM
19478 [BZ# 13696]
19479 * configure.in (use_nscd): New substituted variable, set by
19480 --disable-nscd. If enabled, define USE_NSCD.
19481 * configure: Regenerated.
19482 * config.h.in: Add USE_NSCD.
19483 * config.make.in (use-nscd): New substituted variable.
19484 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19485 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19486 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19487 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19488 (CFLAGS-getgrnam_r.c): Likewise.
19489 (CFLAGS-initgroups.c): Likewise.
19490 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19491 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19492 Variables removed.
19493 * inet/getnetgrent_r.c
19494 (nscd_setnetgrent): New function, broken out of ...
19495 (setnetgrent): ... here. Call it.
19496 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19497 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19498 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19499 * nscd/Makefile (routines, aux): Move definitions after include of
19500 Makeconfig. Conditionalize on [$(use-nscd) != no].
19501 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19502 Conditionalize on [USE_NSCD].
19503 (is_nscd, nscd_init_cb): Likewise.
19504 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19505 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19506 * nss/nss_db/db-init.c: Likewise.
19507 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19508 [USE_NSCD].
19509 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19510 (make_request): Use it.
19511 (cache_valid_p): New function.
19512 (__check_pf): Use it.
19513 * NEWS: Add item for --disable-nscd.
19514
07e51550
DL
195152012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19516
19517 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19518 to support sed >= 4.2.1-20-ga9bf076.
19519 * configure: Regenerated.
19520
35a5b08b
RM
195212012-08-22 Roland McGrath <roland@hack.frob.com>
19522
19523 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19524 Conditionalize whole body on [IREL].
19525
8479f23a
JL
195262012-08-22 Jeff Law <law@redhat.com>
19527
19528 [BZ #14505]
19529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19530 if the family is PF_UNSPEC.
19531
48da0b21
MF
195322012-08-22 Mike Frysinger <vapier@gentoo.org>
19533
19534 * Makerules (lib-version): Rename from V.
19535 (install-lib-nosubdir): Change V to lib-version.
19536
15d0da8c
WS
195372012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19538
19539 [BZ #14252]
19540 * powerpc32/power6/wcschr.c: New file.
19541 * powerpc32/power6/wcscpy.c: New file.
19542 * powerpc32/power6/wcsrchr.c: New file.
19543 * powerpc64/power6/wcschr.c: New file.
19544 * powerpc64/power6/wcscpy.c: New file.
19545 * powerpc64/power6/wcsrchr.c: New file.
19546
bcca0895
MK
195472012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19548
19549 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19550 (two_way_short_needle): Use it.
5a4aaa33
RM
19551 * string/strstr.c (AVAILABLE1_USES_J): Define.
19552 * string/strcasestr.c: Likewise.
99677e57
MK
19553
19554 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19555 array references.
19556 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19557
400726de
MK
19558 [BZ #11607]
19559 * NEWS: Add an entry.
19560 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19561 define their defaults.
19562 (two_way_short_needle): Detect end-of-string on-the-fly.
19563 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19564 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19565 * string/bug-strcasestr1.c: New test.
19566 * string/Makefile: Run it.
19567
20a71f2c
MK
195682012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19569
19570 [BZ #11607]
19571 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19572 the first character.
19573
21ad0558
RM
195742012-08-21 Roland McGrath <roland@hack.frob.com>
19575
19576 * csu/elf-init.c (__libc_csu_irel): Function removed.
19577 * csu/libc-start.c (apply_irel): New function.
19578 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19579
0e1d9911
JM
195802012-08-21 Joseph Myers <joseph@codesourcery.com>
19581
19582 * sysdeps/unix/sysv/linux/kernel-features.h
19583 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19584 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19585 <kernel-features.h>.
19586 [__NR_fadvise64_64]: Make code unconditional.
19587 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19588 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19589 !__NR_fadvise64_64)]: Likewise.
19590 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19591 !__NR_fadvise64_64))]: Likewise.
19592 [__NR_fadvise64]: Make code unconditional.
19593 [!__NR_fadvise64]: Remove conditional code.
19594 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19595 <kernel-features.h>.
19596 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19597 unconditional.
19598 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19599 conditional code.
19600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19601 not include <kernel-features.h>.
19602 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19603 unconditional.
19604 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19605 conditional code.
19606 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19607 include <kernel-features.h>.
19608 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19609 unconditional.
19610 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19611 conditional code.
19612
14a50c9d
WS
196132012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19614
19615 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19616 slight instruction rearrangements per scrollpipe analysis.
19617 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19618
c0f4faf0
RM
196192012-08-20 Roland McGrath <roland@hack.frob.com>
19620
696da859
RM
19621 * manual/syslog.texi (syslog; vsyslog, closelog):
19622 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19623 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19624
c0f4faf0
RM
19625 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19626 DSOCAPS to match condition on defining it.
19627
348363b2
JM
196282012-08-20 Joseph Myers <joseph@codesourcery.com>
19629
a35cbf28
JM
19630 * sysdeps/unix/sysv/linux/kernel-features.h
19631 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19633 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19634 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19636 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19637 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19639 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19640 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19641
445f7ecd
JM
19642 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19643 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19644
348363b2
JM
19645 * sysdeps/unix/sysv/linux/kernel-features.h
19646 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19647 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19648 unconditional.
19649 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19650 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19651 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19652 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19653 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19654 Make code unconditional.
19655 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19656 (__mmap64) [!__NR_mmap2]: Likewise.
19657 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19658 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19659 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19660 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19661 [__NR_mmap2]: Make code unconditional.
19662 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19663 (__mmap64) [!__NR_mmap2]: Likewise.
19664
bc5bc0e5
AK
196652012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19666
19667 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19668
88d506de
AJ
196692012-08-18 Andreas Jaeger <aj@suse.de>
19670
19671 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19672
493387d2
MF
196732012-08-18 Mike Frysinger <vapier@gentoo.org>
19674
19675 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19676 * include/unistd.h (__have_sock_cloexec): Likewise.
19677 (__have_pipe2): Likewise.
19678 (__have_dup3): Likewise.
19679
a277af22
MF
196802012-08-18 Mike Frysinger <vapier@gentoo.org>
19681
19682 [BZ #9685]
19683 * include/unistd.h (__have_pipe2): Change define into an extern int.
19684 (__have_dup3): Likewise.
19685 * socket/have_sock_cloexec.c: Include fcntl.h.
19686 (__have_pipe2): New variable.
19687 (__have_dup3): Likewise.
19688
fdab8fd3
MF
196892012-08-17 Mike Frysinger <vapier@gentoo.org>
19690
19691 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19692
31035e80
MP
196932012-08-17 Marek Polacek <polacek@redhat.com>
19694
19695 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19696 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19697
3bd9e993
RM
196982012-08-17 Roland McGrath <roland@hack.frob.com>
19699
c91c505f
RM
19700 * configure.in: Add AC_SUBST for sysheaders.
19701 * configure: Regenerated.
19702 * config.make.in (sysheaders): New substituted variable.
19703
7c6f9d53
RM
19704 * sysdeps/unix/mkfifo.c: Moved ...
19705 * sysdeps/posix/mkfifo.c: ... here.
19706 * sysdeps/unix/mkfifoat.c: Moved ...
19707 * sysdeps/posix/mkfifoat.c: ... here.
19708
19709 * sysdeps/unix/utime.c: Moved ...
19710 * sysdeps/posix/utime.c: ... here.
19711
19712 * sysdeps/unix/time.c: Moved ...
19713 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
19714 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19715 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
19716
19717 * sysdeps/unix/nice.c: Moved ...
19718 * sysdeps/posix/nice.c: ... here.
19719
19720 * sysdeps/unix/alarm.c: Moved ...
19721 * sysdeps/posix/alarm.c: ... here.
19722
3bd9e993
RM
19723 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19724
d1f09384
JL
197252012-08-17 Jeff Law <law@redhat.com>
19726
19727 * intl/Makefile (codeset_mo): New variable.
19728 ($(codeset_mo)): New target.
19729 (tst-codeset.out): Depend on that. Remove explicit rule.
19730 (tst-gettext3.out, tst-gettext5.out): Likewise.
19731 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19732 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19733 * intl/tst-codeset.sh: Remove.
19734 * intl/tst-gettext3.sh: Likewise.
19735 * intl/tst-gettext5.sh: Likewise.
19736
2ae1ae5c
RM
197372012-08-17 Roland McGrath <roland@hack.frob.com>
19738
c31fdb83
RM
19739 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19740 * sysdeps/unix/syscalls.list: ... here.
19741
a0844057
RM
19742 * sysdeps/posix/getaddrinfo.c
19743 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19744 (gaiconf_init, gaiconf_reload): Use them.
19745 [!_STATBUF_ST_NSEC]
19746 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19747 Define using time_t rather than struct timespec.
19748
750c1f2a
RM
19749 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19750 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19751 Macros removed.
19752 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19753 [!NO_THREADS].
19754 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19755 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19756 Likewise.
19757
2ae1ae5c
RM
19758 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19759 __libc_cleanup_push argument.
19760
e66a42f5
RM
19761 * bits/param.h: New file.
19762 * misc/sys/param.h: New file.
19763 * include/sys/param.h: New file.
19764 * misc/Makefile (headers): Add bits/param.h.
19765 * sysdeps/generic/sys/param.h: File removed.
19766 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19767 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19768 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 19769 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 19770
b7c08a66
RM
19771 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19772 last change.
19773
b2e1c562
RM
19774 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19775 [_IO_MTSAFE_IO].
19776 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19777 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19778 New macros.
19779
c75ccd4c
RM
19780 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19781 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19782 rather than -D_IO_MTSAFE_IO conditionally.
19783 * stdio-common/Makefile (CPPFLAGS): Likewise.
19784 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19785 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19786 Use $(libio-mtsafe).
19787 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19788 of -D_IO_MTSAFE_IO.
19789 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19790 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19791 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19792 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19793 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19794 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19795 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19796 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19797 (CFLAGS-fread_u_chk.c): Likewise.
19798 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19799 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19800 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19801 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19802 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19803 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19804 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19805 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19806 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19807
19808 * libio/Makefile: Test [$(libc-reentrant) = yes]
19809 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19810
19811 * Makeconfig
19812 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19813 * sysdeps/pthread/configure: File removed.
19814 * sysdeps/pthread/Makeconfig: New file.
19815 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19816 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19817
d9195db8
GB
198182012-08-16 Gary Benson <gbenson@redhat.com>
19819
19820 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19821 unmapping the first object in a namespace.
19822
86466cd9
RM
198232012-08-16 Roland McGrath <roland@hack.frob.com>
19824
19825 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19826 (__internal_setnetgrent): ... this. Add internal_function to
19827 definition. Add libc_hidden_def.
19828 (setnetgrent): Update caller.
19829 (internal_endnetgrent): Renamed to ...
19830 (__internal_endnetgrent): ... this. Add internal_function to
19831 definition. Add libc_hidden_def.
19832 (endnetgrent): Update caller.
19833 (internal_getnetgrent_r): Renamed to ...
19834 (__internal_getnetgrent_r): ... this. Add internal_function to
19835 definition. Add libc_hidden_def.
19836 (__getnetgrent_r): Update caller.
19837 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19838
c3c8283c
JM
198392012-08-16 Joseph Myers <joseph@codesourcery.com>
19840
19841 * stdlib/longlong.h: Update from GCC.
19842
db1ee0a8
RM
198432012-08-16 Roland McGrath <roland@hack.frob.com>
19844
19845 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19846 on _QL, which is set by umul_ppmm but never used.
19847 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19848 variables, which are set by GMP macros but never used.
19849 * stdio-common/_itowa.c (_itowa): Likewise.
19850 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19851 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19852
30f69637
CD
198532012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19854
19855 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19856 struct La_sh_regs is not constant.
19857 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19858 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19859 and struct La_sparc64_regs are not constant.
19860
93a78ac4
JM
198612012-08-16 Joseph Myers <joseph@codesourcery.com>
19862
19863 * sysdeps/unix/sysv/linux/kernel-features.h
19864 (__ASSUME_POSIX_TIMERS): Remove.
19865 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19866 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19867 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19868 Make code unconditional.
19869 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19870 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19871 Make code unconditional.
19872 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19873 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19874 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19875 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19876 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19877 Make code unconditional.
19878 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19879 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19880 (__libc_missing_posix_timers): Remove.
19881
dd924cd7
RM
198822012-08-15 Roland McGrath <roland@hack.frob.com>
19883
4b4f2771
RM
19884 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19885 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19886
601c888b
RM
19887 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19888
176790a7
RM
19889 * elf/dl-sym.c: Include <stdlib.h>.
19890
329bc018
RM
19891 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19892 constants, which avoids warnings in 32-bit builds.
19893
e04e272d
RM
19894 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19895 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19896
952bf94a
RM
19897 * misc/lseek.c: File moved to ...
19898 * io/lseek.c: ... here.
19899
7c99b50a
RM
19900 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19901
dd924cd7
RM
19902 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19903 shifting LEN more than 31 bits at once.
19904
b3f479a8
LD
199052012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19906
19907 [BZ #14195]
8c4ae0d4
RM
19908 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19909 segmentation fault for a case of two empty input strings.
b3f479a8
LD
19910 * string/test-strncasecmp.c (check1): Renamed to...
19911 (bz12205): ...this.
19912 (bz14195): Add new testcase for two empty input strings and N > 0.
19913 (test_main): Call new testcase, adapt for renamed function.
19914
9c55864e
AJ
199152012-08-15 Andreas Jaeger <aj@suse.de>
19916
19917 [BZ #14090]
19918 * crypt/md5test2.c: New test, based on test supplied by Serge
19919 Belyshev <belyshev@depni.sinp.msu.ru>.
19920 * crypt/Makefile (xtests): Add md5test-giant..
19921 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19922
02dcb6c5
PE
199232012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19924
19925 [BZ #14090]
19926 * crypt/md5.c (md5_process_block): Don't assume the buffer
19927 length is less than 2**32.
19928 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19929 length is less than 2**64.
19930
a3f95dcc
RM
199312012-08-15 Roland McGrath <roland@hack.frob.com>
19932
be75d758
RM
19933 * string/str-two-way.h: Include <sys/param.h>.
19934 (MAX): Macro removed.
19935
7312ca90
RM
19936 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19937 Move #define and #undef of memmove to just before and after
19938 including <string.h>.
19939
9a0a5486
RM
19940 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19941 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19942 and after including <string.h>. Move declarations of
19943 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19944 to before #include "string/memmove.c".
19945
67cc348d
RM
19946 * include/dirent.h: Declare __getdirentries.
19947
a3f95dcc
RM
19948 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19949 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19950
ca98e171
MF
199512012-08-14 Mike Frysinger <vapier@gentoo.org>
19952
19953 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19954 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19955 * sysdeps/i386/configure: Regenerated.
19956 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19957 STABS_CURRENT_FILE, and STABS_FUN.
19958 (END): Remove call to STABS_FUN_END.
19959 (STABS_CURRENT_FILE1): Delete.
19960 (STABS_CURRENT_FILE): Likewise.
19961 (STABS_FUN): Likewise.
19962 (STABS_FUN_END): Likewise.
19963 (STABS_FUN2): Likewise.
19964 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19965 * sysdeps/x86_64/configure: Regenerated.
19966
5908bf46
RM
199672012-08-14 Roland McGrath <roland@hack.frob.com>
19968
19969 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 19970 * elf/dl-lookup.c: Likewise.
5908bf46 19971
f2c05b9e
JM
199722012-08-14 Joseph Myers <joseph@codesourcery.com>
19973
19974 * sysdeps/unix/sysv/linux/kernel-features.h
19975 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19976 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19977 unconditionally.
19978 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19979 unconditionally.
19980 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19981 condition on __ASSUME_CLONE_THREAD_FLAGS.
19982
e11f5155
AJ
199832012-08-14 Andreas Jaeger <aj@suse.de>
19984
19985 * sysdeps/i386/fpu/libm-test-ulps: Update.
19986
51a9ba86
MK
199872012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19988
2fdd4f78
AJ
19989 * include/atomic.h (atomic_exchange_and_add): Split into ...
19990 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19991 New atomic macros.
51a9ba86 19992
ba6cba9e
MT
199932012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19994
19995 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19996
42443a47
JL
199972012-08-13 Jeff Law <law@redhat.com>
19998
19999 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20000 null byte in the output string.
20001
121dce05
JM
200022012-08-10 Joseph Myers <joseph@codesourcery.com>
20003
20004 * sysdeps/unix/sysv/linux/kernel-features.h
20005 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20006 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20007 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20008 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20009 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20010 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20011 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20012
bf51f568
JL
200132012-08-09 Jeff Law <law@redhat.com>
20014
20015 [BZ #13939]
20016 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20017 When avoid_arena is set, don't retry in the that arena. Pick the
20018 next one, whatever it might be.
20019 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20020 (arena_lock): Pass in new parameter to arena_get2.
20021 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20022 arena_get2.
20023 (__libc_malloc): Unify retrying after main arena failure with
20024 __libc_memalign version.
20025 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20026
f85fa270
L
200272012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20028
20029 [BZ #14166]
20030 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20031 to __redirect_strstr.
20032 (__strstr_sse42): Use typeof __redirect_strstr.
20033 (__strstr_ia32): Likewise.
20034 (__libc_strstr): New prototype.
20035 (strstr): Renamed to ...
20036 (__libc_strstr): This.
20037 (strstr): New strong alias of __libc_strstr.
20038 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20039 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20040 __redirect_time.
20041 Include <time.h>.
20042 (__libc_time): New prototype.
20043 (time_ifunc): Replace time with __libc_time.
20044 (time): New strong alias and hidden definition of __libc_time.
20045 (__GI_time): Remove strong alias.
20046 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20047 Include <stddef.h>.
20048 (memmove): Redefined to __redirect_memmove.
20049 (__memmove_sse2): Use typeof __redirect_memmove.
20050 (__memmove_ssse3): Likewise.
20051 (__memmove_ssse3_back): Likewise.
20052 (__libc_memmove): New prototype.
20053 (memmove): Renamed to ...
20054 (__libc_memmove): This.
20055 (memmove): New strong alias of __libc_memmove.
20056
33b4a91e
MS
200572012-08-08 Mark Salter <msalter@redhat.com>
20058
20059 * elf/elf.h
20060 (R_MN10300_TLS_GD): Define.
20061 (R_MN10300_TLS_LD): Likewise.
20062 (R_MN10300_TLS_LDO): Likewise.
20063 (R_MN10300_TLS_GOTIE): Likewise.
20064 (R_MN10300_TLS_IE): Likewise.
20065 (R_MN10300_TLS_LE): Likewise.
20066 (R_MN10300_TLS_DTPMOD): Likewise.
20067 (R_MN10300_TLS_DTPOFF): Likewise.
20068 (R_MN10300_TLS_TPOFF): Likewise.
20069 (R_MN10300_SYM_DIFF): Likewise.
20070 (R_MN10300_ALIGN): Likewise.
20071 (R_MN10300_NUM): Update.
20072
b36137f1
JM
200732012-08-08 Joseph Myers <joseph@codesourcery.com>
20074
20075 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20076 Remove.
20077
cdd915fd
RM
200782012-08-08 Roland McGrath <roland@hack.frob.com>
20079
a2433aac
RM
20080 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20081
cdd915fd
RM
20082 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20083 sysdeps/unix -> sysdeps/posix move.
20084 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20085
bf9b740a
AM
200862012-08-07 Allan McRae <allan@archlinux.org>
20087
20088 [BZ #14303]
20089 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20090 (SUNOS_CPP): Likewise.
20091 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20092 not found.
20093 (open_input): Call CPP using execvp.
20094
93df14ee
JM
200952012-08-07 Joseph Myers <joseph@codesourcery.com>
20096
20097 * sysdeps/unix/sysv/linux/kernel-features.h
20098 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20099 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20100 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20101 (__ASSUME_WAITID_SYSCALL): Likewise.
20102 * sysdeps/unix/sysv/linux/dl-execstack.c
20103 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20104 code unconditional.
20105 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20106 conditional code.
20107 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20108 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20109 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20110 code.
20111 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20112 unconditional.
20113 [__ASSUME_WAITID_SYSCALL]: Likewise.
20114 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20115
d34689de
RM
201162012-08-07 Roland McGrath <roland@hack.frob.com>
20117
a281decc
RM
20118 * sysdeps/unix/closedir.c: Renamed to ...
20119 * sysdeps/posix/closedir.c: ... here.
20120 * sysdeps/unix/dirfd.c: Renamed to ...
20121 * sysdeps/posix/dirfd.c: ... here.
20122 * sysdeps/unix/dirstream.h: Renamed to ...
20123 * sysdeps/posix/dirstream.h: ... here.
20124 * sysdeps/unix/fdopendir.c: Renamed to ...
20125 * sysdeps/posix/fdopendir.c: ... here.
20126 * sysdeps/unix/opendir.c: Renamed to ...
20127 * sysdeps/posix/opendir.c: ... here.
20128 * sysdeps/unix/readdir.c: Renamed to ...
20129 * sysdeps/posix/readdir.c: ... here.
20130 * sysdeps/unix/readdir_r.c: Renamed to ...
20131 * sysdeps/posix/readdir_r.c: ... here.
20132 * sysdeps/unix/rewinddir.c: Renamed to ...
20133 * sysdeps/posix/rewinddir.c: ... here.
20134 * sysdeps/unix/seekdir.c: Renamed to ...
20135 * sysdeps/posix/seekdir.c: ... here.
20136 * sysdeps/unix/telldir.c: Renamed to ...
20137 * sysdeps/posix/telldir.c: ... here.
20138 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20139 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20140 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20141 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20142
22895b47
RM
20143 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20144 * bits/fcntl.h: ... here.
20145
707a53b6
RM
20146 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20147 not 0.
20148 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20149 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20150 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20151 (struct flock): Move l_start, l_len to the beginning.
20152 Use __pid_t for l_pid.
20153 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20154 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20155 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20156 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20157 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20158 [__USE_LARGEFILE64] (struct flock64): New type.
20159 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20160
f0bd3e25
RM
20161 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20162 * bits/dirent.h: ... here.
20163
d34689de
RM
20164 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20165 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20166
6dad2c06
JM
201672012-08-07 Joseph Myers <joseph@codesourcery.com>
20168
20169 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20170 Change from 2.6.0 to 2.6.16.
20171 * sysdeps/unix/sysv/linux/configure: Regenerated.
20172 * sysdeps/unix/sysv/linux/kernel-features.h
20173 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20174 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20175 version.
20176 (__ASSUME_UTIMES): Likewise.
20177 (__ASSUME_CLONE_STOPPED): Remove.
20178 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20179 architectures, not kernel version.
20180 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20181 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20182 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20183 (__ASSUME_WAITID_SYSCALL): Likewise.
20184 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20185 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20186 * README: State 2.6.16 as minimum Linux kernel version. Do not
20187 refer to older versions.
20188
03af9520
RM
201892012-08-06 Roland McGrath <roland@hack.frob.com>
20190
8e49df1d
RM
20191 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20192 Define alphasort64 as an alias.
20193 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20194 Define versionsort64 as an alias.
20195 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20196 Define scandir64 as an alias.
20197 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20198 Define scandirat64 as an alias.
20199 * dirent/alphasort64.c (alphasort64):
20200 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20201 * dirent/versionsort64.c: Likewise.
20202 * dirent/scandir64.c: Likewise.
20203 * dirent/scandirat64.c: Likewise.
20204 * sysdeps/wordsize-64/alphasort.c: File removed.
20205 * sysdeps/wordsize-64/alphasort64.c: File removed.
20206 * sysdeps/wordsize-64/scandir.c: File removed.
20207 * sysdeps/wordsize-64/scandir64.c: File removed.
20208 * sysdeps/wordsize-64/scandirat.c: File removed.
20209 * sysdeps/wordsize-64/scandirat64.c: File removed.
20210 * sysdeps/wordsize-64/versionsort.c: File removed.
20211 * sysdeps/wordsize-64/versionsort64.c: File removed.
20212 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20213 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20214 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20215 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20216 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20217 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20218 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20219 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20220
20221 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20222 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20223 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20224 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20225 [defined __arch64__ || defined __sparcv9]
20226 (__INO_T_MATCHES_INO64_T): New macro.
20227 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20228 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20229 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20230 * sysdeps/unix/sysv/linux/bits/dirent.h
20231 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20232 (_DIRENT_MATCHES_DIRENT64): New macro.
20233
03af9520
RM
20234 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20235 Define lockf64 as an alias.
20236 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20237 Define fseeko64 as an alias.
20238 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20239 Define ftello64 as an alias.
20240 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20241 Define _IO_fgetpos64 and fgetpos64 as aliases.
20242 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20243 Define _IO_fsetpos64 and fsetpos64 as aliases.
20244 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20245 Conditionalize body on this.
20246 * libio/fseeko64.c: Likewise.
20247 * libio/ftello64.c: Likewise.
20248 * libio/iofgetpos64.c: Likewise.
20249 * libio/iofsetpos64.c: Likewise.
20250 * sysdeps/wordsize-64/lockf.c: File removed.
20251 * sysdeps/wordsize-64/lockf64.c: File removed.
20252 * sysdeps/wordsize-64/fseeko.c: File removed.
20253 * sysdeps/wordsize-64/fseeko64.c: File removed.
20254 * sysdeps/wordsize-64/ftello.c: File removed.
20255 * sysdeps/wordsize-64/ftello64.c: File removed.
20256 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20257 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20258 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20259 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20260 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20261 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20262 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20263 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20264 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20265 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20266 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20267 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20268 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20269 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20270
20271 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20272 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20273 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20274 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20275 [defined __arch64__ || defined __sparcv9]
20276 (__OFF_T_MATCHES_OFF64_T): New macro.
20277 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20278 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20279 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20280 (__OFF_T_MATCHES_OFF64_T): New macro.
20281
c5757acd
L
202822012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20283
20284 * stdlib/secure-getenv.c (__secure_getenv): Replace
20285 GLIBC_2_16 with GLIBC_2_17.
20286
3a31811e
L
202872012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20288
20289 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20290 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20291
faa2bccb
DM
202922012-08-03 David S. Miller <davem@davemloft.net>
20293
20294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20295
85fe1997
JM
202962012-08-03 Joseph Myers <joseph@codesourcery.com>
20297
20298 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20299 Remove.
20300 (__ASSUME_CORRECT_SI_PID): Likewise.
20301 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20302 (__ASSUME_TMPFS_NAME): Likewise.
20303 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20304 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20305 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20306 (HAVE_AUX_SECURE): Make definition unconditional.
20307 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20308 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20309
4f75b7a0
RM
203102012-08-03 Roland McGrath <roland@hack.frob.com>
20311
20312 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20313 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20314 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20315 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20316 __eloop_threshold instead of SYMLOOP_MAX.
20317
20318 * sysdeps/generic/eloop-threshold.h: New file.
20319 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20320 of MAXSYMLINKS.
20321 * elf/chroot_canon.c (chroot_canon): Likewise.
20322
7aab07e4
JM
203232012-08-03 Joseph Myers <joseph@codesourcery.com>
20324
20325 [BZ #13717]
20326 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20327 Change to 2.6.0 everywhere.
20328 * sysdeps/unix/sysv/linux/configure: Regenerated.
20329 * sysdeps/unix/sysv/linux/kernel-features.h
20330 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20331 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20332 kernel versions.
20333 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20334 (__ASSUME_FUTEX_REQUEUE): Remove.
20335 (__ASSUME_STATFS64): Define unconditionally.
20336 (__ASSUME_AT_SECURE): Likewise.
20337 (__ASSUME_CORRECT_SI_PID): Likewise.
20338 (__ASSUME_TGKILL): Define without depending on kernel version for
20339 i386.
20340 (__ASSUME_UTIMES): Likewise.
20341 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20342 kernel version.
20343 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20344 (__ASSUME_TMPFS_NAME): Likewise.
20345 * README: Update reference to Linux kernel versions.
20346
b67e9372
MP
203472012-08-02 Marek Polacek <polacek@redhat.com>
20348
1f529f7d 20349 [BZ# 14150]
b67e9372
MP
20350 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20351 libc_cv_asm_type_prefix with %.
20352 * configure: Regenerated.
d2441631
RM
20353 * include/libc-symbols.h: Remove comment about
20354 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
20355 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20356 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20357 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20358 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20359 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20360 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20361 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20362 * elf/tst-unique2mod1.c: Likewise.
20363 * elf/tst-unique1mod2.c: Likewise.
20364 * elf/tst-unique1mod1.c: Likewise.
20365 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20366 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20367 Replace ASM_TYPE_DIRECTIVE with .type.
20368 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20369 * sysdeps/i386/sysdep.h: Likewise.
20370 * sysdeps/x86_64/sysdep.h: Likewise.
20371 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
20372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20373 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 20374 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
20375 * sysdeps/powerpc/powerpc32/sysdep.h:
20376 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
20377 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20378 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20379 * sysdeps/i386/fpu/e_powf.S: Likewise.
20380 * sysdeps/i386/fpu/e_expl.S: Likewise.
20381 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20382 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20383 * sysdeps/i386/fpu/e_pow.S: Likewise.
20384 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20385 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20386 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20387 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20388 * sysdeps/i386/fpu/e_log2.S: Likewise.
20389 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20390 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20391 * sysdeps/i386/fpu/e_powl.S: Likewise.
20392 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20393 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20394 * sysdeps/i386/fpu/e_logl.S: Likewise.
20395 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20396 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20397 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20398 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20399 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20400 * sysdeps/i386/fpu/e_log.S: Likewise.
20401 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20402 * sysdeps/i386/fpu/e_logf.S: Likewise.
20403 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20404 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20405 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20406 * sysdeps/i386/fpu/e_log10.S: Likewise.
20407 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20408 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20409 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20410 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20411 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20412 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20413 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20414 * sysdeps/i386/i686/strtok.S: Likewise.
20415 * sysdeps/i386/i386-mcount.S: Likewise.
20416 * sysdeps/i386/strtok.S: Likewise.
20417 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20418 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20419 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20420 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20421 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20422 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20423 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20424 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20425 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20426 * sysdeps/x86_64/_mcount.S: Likewise.
20427 * sysdeps/x86_64/strtok.S: Likewise.
20428 * sysdeps/sh/_mcount.S: Likewise.
20429
2747bf9a
RM
204302012-08-01 Roland McGrath <roland@hack.frob.com>
20431
20432 * libio/iofopen.c: Include <fcntl.h>.
20433 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20434 (_IO_fopen64, fopen64): Define as aliases.
20435 * libio/iofopen64.c: Include <fcntl.h>.
20436 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20437 Conditionalize body on this.
20438 * sysdeps/wordsize-64/iofopen.c: File removed.
20439 * sysdeps/wordsize-64/iofopen64.c: File removed.
20440
3fb791b8
MP
204412012-08-01 Marek Polacek <polacek@redhat.com>
20442
20443 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20444 Use dlfcn directly instead of a variable.
20445 (binfmt-subdir): Do not define.
20446 (dlfcn): Likewise.
20447
a9f1039f
JM
204482012-08-01 Joseph Myers <joseph@codesourcery.com>
20449
23bddc06
JM
20450 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20451 Remove all definitions.
20452 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20453 <kernel-features.h>.
20454 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20455 (miss_F_GETOWN_EX): Remove all definitions.
20456 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20457 macro definition.
20458 [!__ASSUME_FCNTL64]: Remove conditional code.
20459 [__ASSUME_FCNTL64]: Make code unconditional.
20460 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20461 <kernel-features.h>.
20462 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20463 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20464 (lockf64) [__NR_fcntl64]: Make code unconditional.
20465 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20466
a9f1039f
JM
20467 * sysdeps/unix/sysv/linux/kernel-features.h
20468 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20469 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20470 Make code unconditional.
20471 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20472 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20474 [__NR_vfork]: Make code unconditional.
20475 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20476 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20478 [__NR_vfork]: Make code unconditional.
20479 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20480 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20481
09c0ee5f
RM
204822012-08-01 Roland McGrath <roland@hack.frob.com>
20483
48aec5b9
RM
20484 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20485 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20486
cd97c966
RM
20487 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20488 Define mkstemp64 as an alias.
3f55550c
RM
20489 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20490 Define mkstemps64 as an alias.
cd97c966
RM
20491 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20492 Define mkostemp64 as an alias.
b8625cfc
RM
20493 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20494 Define mkostemps64 as an alias.
cd97c966
RM
20495 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20496 Conditionalize body on this.
20497 * misc/mkostemp64.c: Likewise.
b8625cfc 20498 * misc/mkostemps64.c: Likewise.
3f55550c 20499 * misc/mkstemps64.c: Likewise.
cd97c966
RM
20500 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20501 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20502 * sysdeps/wordsize-64/mkostemp.c: File removed.
20503 * sysdeps/wordsize-64/mkstemp.c: File removed.
20504 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20505 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20506 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20507 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20508
09c0ee5f
RM
20509 [BZ #14138]
20510 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20511 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20512 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20513 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20514
20515 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20516 compat_symbol macros from <shlib-compat.h> rather than the underlying
20517 default_symbol_version and symbol_version macros, so that DEFAULT
20518 lines in shlib-versions are respected.
20519 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20520
7e66ee51
FW
205212012-08-01 Florian Weimer <fweimer@redhat.com>
20522
20523 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20524 Declare with warn_unused_result.
20525 (setgid, setregid, setegid, setresgid): Likewise.
20526 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20527 Likewise.
20528 * WUR-REPORT: Remove set*id functions.
20529
d2a54255
PT
205302012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20531
20532 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20533
7ecdb005
RM
205342012-07-31 Roland McGrath <roland@hack.frob.com>
20535
b4180a5e 20536 [BZ #10191]
789bd351
RM
20537 * include/sys/socket.h (__libc_accept, __libc_accept4):
20538 Add attribute_hidden.
20539 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20540
40ce302d
RM
20541 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20542 use of PTR_MANGLE.
20543 * inet/getnetgrent_r.c (setup): Likewise.
20544
7ecdb005
RM
20545 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20546
e2eabb2c
DM
205472012-07-31 David S. Miller <davem@davemloft.net>
20548
20549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20550
d0419dbf
JM
205512012-07-31 Joseph Myers <joseph@codesourcery.com>
20552
20553 [BZ #13629]
20554 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20555 value between 1.0 and 2.0 and smaller part has absolute value less
20556 than 1.0.
20557 * math/s_clog10.c (__clog10): Likewise.
20558 * math/s_clog10f.c (__clog10f): Likewise.
20559 * math/s_clog10l.c (__clog10l): Likewise.
20560 * math/s_clogf.c (__clogf): Likewise.
20561 * math/s_clogl.c (__clogl): Likewise.
20562 * math/libm-test.inc (clog_test): Add more tests.
20563 (clog10_test): Likewise.
20564 * sysdeps/i386/fpu/libm-test-ulps: Update.
20565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20566
2bc13872
FW
205672012-07-31 Florian Weimer <fweimer@redhat.com>
20568
20569 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20570 Exit with zero in case no suitable GID is found, and write a
20571 message to standard error.
20572
bea9b193
RM
205732012-07-30 Roland McGrath <roland@hack.frob.com>
20574
20575 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20576 rather than to 1.
20577 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20578 (MAXPATHLEN): Removed.
20579 (NOGROUP, NODEV): New macros.
20580 (setbit, clrbit, isset, isclr): New macros.
20581 (howmany, roundup, powerof2): New macros.
20582 (DEV_BSIZE): New macro.
20583
20584 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20585 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20586
20587 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20588 definition on [!__NO_LONG_DOUBLE_MATH].
20589
20590 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20591 PTR_MANGLE and PTR_DEMANGLE.
20592
20593 * socket/accept4.c (accept4): Rename to __libc_accept4.
20594 Define accept4 as a weak alias.
20595
20596 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20597 on [_DIRENT_HAVE_D_TYPE].
20598 * io/ftw.c (ftw_dir): Likewise.
20599
20600 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20601
20602 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20603
20604 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20605 Use the BSD numbers rather than the arbitrary ones we had.
20606 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20607 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20608 (SIGXCPU, SIGXFSZ): New macros.
20609 (_NSIG): Now 32.
20610
20611 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20612 initializer on [_LIBC_REENTRANT].
20613
20614 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20615 definitions inside [_POSIX_MAPPED_FILES].
20616
20617 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20618
20619 * dirent/opendir.c: Include <fcntl.h>.
20620
20621 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20622 (__libc_getspecific): Likewise.
20623 (__libc_key_create): Likewise.
20624
20625 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20626 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20627 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20628 (tmpfile64): Define as alias.
20629 * sysdeps/wordsize-64/tmpfile.c: File removed.
20630 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20631 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20632 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20633
20634 * stdio-common/vfscanf.c: Include <stdbool.h>.
20635 * nss/makedb.c: Likewise.
20636 * stdio-common/_i18n_number.h: Likewise.
20637 * argp/argp-help.c: Likewise.
20638 * posix/wordexp.c: Likewise.
20639 * sysdeps/posix/spawni.c: Likewise.
20640 * nss/nss_files/files-initgroups.c: Likewise.
20641 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20642 * nss/nss_files/files-initgroups.c: Likewise.
20643 * nss/nss_db/db-netgrp.c: Likewise.
20644 * nss/nss_db/db-initgroups.c: Likewise.
20645 * io/fchmodat.c: Include <sys/stat.h>.
20646
20647 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20648 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20649
20650 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20651 [HAVE_MMAP].
20652
20653 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20654 Add multiple inclusion protection.
20655
e5abc686
DM
206562012-07-27 David S. Miller <davem@davemloft.net>
20657
20658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20659
815e6fa3
GB
206602012-07-27 Gary Benson <gbenson@redhat.com>
20661
20662 [BZ #14298]
20663 * elf/rtld.c: Include <stap-probe.h>.
20664 (dl_main): Added static probes "init_start" and "init_complete".
20665 * elf/dl-load.c: Include <stap-probe.h>.
20666 (lose): Take new parameter "nsid".
20667 Added static probe "map_failed".
20668 (_dl_map_object_from_fd): Pass namespace id to lose.
20669 Added static probe "map_start".
20670 (open_verify): Pass namespace id to lose.
20671 * elf/dl-open.c: Include <stap-probe.h>.
20672 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20673 and "reloc_complete".
20674 * elf/dl-close.c: Include <stap-probe.h>.
20675 (_dl_close_worker): Added static probes "unmap_start" and
20676 "unmap_complete".
20677 * elf/rtld-debugger-interface.txt: New file documenting the above.
20678
9f98c16c
RM
206792012-07-26 Roland McGrath <roland@hack.frob.com>
20680
20681 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20682 rather than a string variable.
20683 * sunrpc/rpc_main.c (h_output): Likewise.
20684 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20685
f3c22df3
PT
206862012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20687
20688 * inet/check_native.c: New file.
20689
3129cfc6
JM
206902012-07-26 Joseph Myers <joseph@codesourcery.com>
20691
da865e95
JM
20692 [BZ #13629]
20693 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20694 if larger part has absolute value 1.0.
20695 * math/s_clog10.c (__clog10): Likewise.
20696 * math/s_clog10f.c (__clog10f): Likewise.
20697 * math/s_clog10l.c (__clog10l): Likewise.
20698 * math/s_clogf.c (__clogf): Likewise.
20699 * math/s_clogl.c (__clogl): Likewise.
20700 * math/libm-test.inc (clog_test): Add more tests.
20701 (clog10_test): Likewise.
20702 * sysdeps/i386/fpu/libm-test-ulps: Update.
20703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20704
3129cfc6
JM
20705 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20706 (pltexit): Likewise.
20707 (La_regs): Likewise.
20708 (La_retval): Likewise.
20709 (int_retval): Likewise.
20710 Update #error for removed macros to refer only to definitions in
20711 tst-audit.h.
20712 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20713 macro.
20714 (pltexit): Likewise.
20715 (La_regs): Likewise.
20716 (La_retval): Likewise.
20717 (int_retval): Likewise.
20718 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20719 macro.
20720 (pltexit): Likewise.
20721 (La_regs): Likewise.
20722 (La_retval): Likewise.
20723 (int_retval): Likewise.
20724 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20725 macro.
20726 (pltexit): Likewise.
20727 (La_regs): Likewise.
20728 (La_retval): Likewise.
20729 (int_retval): Likewise.
20730 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20731 macro.
20732 (pltexit): Likewise.
20733 (La_regs): Likewise.
20734 (La_retval): Likewise.
20735 (int_retval): Likewise.
20736 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20737 macro.
20738 (pltexit): Likewise.
20739 (La_regs): Likewise.
20740 (La_retval): Likewise.
20741 (int_retval): Likewise.
20742 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20743 macro.
20744 (pltexit): Likewise.
20745 (La_regs): Likewise.
20746 (La_retval): Likewise.
20747 (int_retval): Likewise.
20748 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20749 macro definitions in tst-audit.h.
20750 * sysdeps/i386/tst-audit.h: New file.
20751 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20752 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20753 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20754 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20755 * sysdeps/sh/tst-audit.h: Likewise.
20756 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20757 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20758 * sysdeps/x86_64/tst-audit.h: Likewise.
20759
bfc07087
AJ
207602012-07-26 Andreas Jaeger <aj@suse.de>
20761
b1b2aaf8
AJ
20762 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20763 ptrace.
20764
20765 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20766 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20767 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20768 PTRACE_O_MASK.
20769 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20770 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20771 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20772
bfc07087
AJ
20773 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20774 value.
20775
20776 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20777 _sigsys.
20778 (si_call_addr, si_syscall, si_arch): Define new macro.
20779 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20780 _sigsys.
20781 (si_call_addr, si_syscall, si_arch): Define new marcro.
20782 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20783 _sigsys.
20784 (si_call_addr, si_syscall, si_arch): Define new macro.
20785 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20786 _sigsys.
20787 (si_call_addr, si_syscall, si_arch): Define new macro.
20788
89b4b02f
JM
207892012-07-25 Joseph Myers <joseph@codesourcery.com>
20790
20791 [BZ #13717]
20792 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20793 Change to 2.4.21 where previously 2.4.1.
20794 * sysdeps/unix/sysv/linux/configure: Regenerated.
20795 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20796 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20797 Linux kernel version.
20798 (__ASSUME_STD_AUXV): Remove.
20799 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20800 kernel version.
20801 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20802 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20803 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20804 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20805 (__ASSUME_NETLINK_SUPPORT): Likewise.
20806 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20807 (__no_netlink_support): Remove conditional definition.
20808 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20809 Remove.
20810 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20811 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20812 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20813 (if_nameindex_ioctl): Remove.
20814 (if_nameindex_netlink): Do not handle __no_netlink_support.
20815 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20816 code.
20817 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20818 Remove conditional code.
20819 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20820 code.
20821 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20822 unconditional.
20823 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20824 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20825 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20826 Remove.
20827 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20828 [!__ASSUME_STD_AUXV]: Remove conditional code.
20829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20830 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20831 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20833 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20834 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20835 code.
20836 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20838 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20839 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20840 conditional code.
20841 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20843 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20844 code.
20845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20846 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20847 conditional code.
20848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20849 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20850 code unconditional.
20851 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20852 conditional code.
20853 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20854 unconditional.
20855 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20856 conditional code.
20857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20858 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20859 unconditional.
20860 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20861 conditional code.
20862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20863 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20864 code unconditional.
20865 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20866 conditional code.
20867 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20868 unconditional.
20869 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20870 conditional code.
20871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20872 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20873 code unconditional.
20874 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20875 conditional code.
20876 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20877 unconditional.
20878 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20879 conditional code.
20880
842a39cd
AS
208812012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20882
20883 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20884 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20885 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20886 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20887 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20888 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20889 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20890 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20891 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20892 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20893 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20894 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20895 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20896 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20897 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20898 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20899 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20900 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20901 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20902 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20903 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20904 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20905 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20906
84b3fd84
FW
209072012-07-25 Florian Weimer <fweimer@redhat.com>
20908
20909 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
20910 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20911 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20912 Introduce __libc_secure_getenv.
0c7936d5
FW
20913 * stdlib/Versions (2.17): Add secure_getenv
20914 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20915 * stdlib/secure-getenv.c: Rename __secure_getenv to
20916 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20917 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
20918 * stdlib/tst-secure-getenv.c: New.
20919 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
20920 * manual/startup.texi (Environment Access): Document
20921 secure_getenv.
84b3fd84
FW
20922 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20923 __libc_secure_getenv.
20924 * inet/ruserpass.c (ruserpass): Likewise.
20925 * malloc/mtrace.c (mtrace): Likewise.
20926 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 20927 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
20928 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20929 * sysdeps/posix/tempname.c: Likewise. Evaluate
20930 HAVE_SECURE_GETENV.
20931 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 20932 __secure_getenv to __libc_secure_getenv.
84b3fd84 20933 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
20934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20935 Likewise.
20936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20937 Likewise.
20938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20940 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 20945
56e49b71
JM
209462012-07-25 Joseph Myers <joseph@codesourcery.com>
20947
20948 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20949 (struct La_i86_retval): Likewise.
20950 (struct La_x86_64_regs): Likewise.
20951 (struct La_x86_64_retval): Likewise.
20952 (struct La_x32_regs): Likewise.
20953 (struct La_x32_retval): Likewise.
20954 (struct La_ppc32_regs): Likewise.
20955 (struct La_ppc32_retval): Likewise.
20956 (struct La_ppc64_regs): Likewise.
20957 (struct La_ppc64_retval): Likewise.
20958 (struct La_sh_regs): Likewise.
20959 (struct La_sh_retval): Likewise.
20960 (struct La_s390_32_regs): Likewise.
20961 (struct La_s390_32_retval): Likewise.
20962 (struct La_s390_64_regs): Likewise.
20963 (struct La_s390_64_retval): Likewise.
20964 (struct La_sparc32_regs): Likewise.
20965 (struct La_sparc32_retval): Likewise.
20966 (struct La_sparc64_regs): Likewise.
20967 (struct La_sparc64_retval): Likewise.
20968 (struct audit_ifaces): Remove architecture-specific pltenter and
20969 pltexit members.
20970 * sysdeps/i386/ldsodefs.h: New file.
20971 * sysdeps/powerpc/ldsodefs.h: Likewise.
20972 * sysdeps/s390/ldsodefs.h: Likewise.
20973 * sysdeps/sh/ldsodefs.h: Likewise.
20974 * sysdeps/sparc/ldsodefs.h: Likewise.
20975 * sysdeps/x86_64/ldsodefs.h: Likewise.
20976
354691b7
MP
209772012-07-25 Marek Polacek <polacek@redhat.com>
20978
20979 [BZ #6808]
20980 * math/libm-test.inc (yn_test): Add another test.
20981 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20982 to ERANGE when the result is +-Inf.
20983 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20984 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20985 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20986 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20987
bf9e2071
JM
209882012-07-24 Joseph Myers <joseph@codesourcery.com>
20989
20990 * conform/data/time.h-data (NULL): Use macro-constant. Require
20991 equal to 0.
20992 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20993 clock_t.
20994 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20995
57633811
TS
209962012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20997
20998 * configure.in <sysdeps resolving>: Correct printing
20999 Implies_before.
21000 * configure: Regenerate.
21001
c23c33b0
TS
210022012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21003
21004 * math/w_ilogb.c: Include <limits.h>.
21005 * math/w_ilogbl.c: Likewise.
21006
b5982523
JM
210072012-07-20 Joseph Myers <joseph@codesourcery.com>
21008
21009 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21010 va_copy. Document allowing for unavailable va_copy only as
21011 pre-C99 compatibility.
21012 * manual/string.texi (Copying and Concatenation): Use va_copy
21013 instead of __va_copy in concat example.
21014
ac4ea442
PT
210152012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21016
21017 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21018 (__sendto): Use create_address_port. Initialize APORT and deallocate
21019 it if not null.
21020
f98eafbd
PT
21021 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21022 with O_NOLINK passed to __file_name_lookup.
21023
898c7aab
PT
21024 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21025 with O_NOLINK passed to __file_name_lookup.
21026
0ced335a
PT
21027 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21028 negative N or less than NGIDS.
21029
b3404dbd
PT
21030 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21031 type to string_t. Set ERANGE as errno and return it if NAME is not big
21032 enough. Use memcpy instead of strncpy.
21033
0f48659e
JM
210342012-07-20 Joseph Myers <joseph@codesourcery.com>
21035
21036 * elf/Makefile (check-data): Remove.
21037 (localplt.data): New vpath directive.
21038 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21039 instead of $(check-data).
21040 * scripts/data/localplt-generic.data: Move to ...
21041 * sysdeps/generic/localplt.data: ... here.
21042 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21043 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21044 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21046 ... here.
21047 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21049 ... here.
21050 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21052 ... here.
21053 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21055 ... here.
21056 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21058 ... here.
21059 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21061 ... here.
21062
d37cbdaa
AZ
210632012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21064
21065 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21066 PPC32 and PPC64 files.
21067 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21068 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21069
46f85fc2
AK
210702012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21071
21072 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21073 __makecontext_ret to ...
21074 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21075 ... here and call exit if uc_link is NULL. New file.
21076 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21077 __makecontext_ret.S.
21078 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21079 __makecontext_ret to ...
21080 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21081 ... here and call exit if uc_link is NULL. New file.
21082 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21083 __makecontext_ret.S.
21084
08f43f9b
AK
210852012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21086
21087 * elf/elf.h (R_390_IRELATIVE): New definition.
21088 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21089 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21090 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21091 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21092 (elf_machine_lazy_rel): Likewise.
21093 * sysdeps/s390/dl-irel.h: New file.
21094 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21095 * sysdeps/s390/s390-64/memset.S: New asm code.
21096 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21097 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21098 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21099 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21100 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21101 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21102 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21103 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21104 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21105 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21106 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21107 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21108 * sysdeps/s390/s390-32/memset.S: New asm code.
21109 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21110
3b05db33
MP
211112012-07-17 Marek Polacek <polacek@redhat.com>
21112
21113 [BZ #14349]
21114 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21115 * sysdeps/s390/s390-64/configure.in: Likewise.
21116 * sysdeps/sparc/configure.in: Likewise.
21117 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21118 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21119 * sysdeps/i386/configure.in: Likewise.
21120 * sysdeps/x86_64/configure.in: Likewise.
21121 * sysdeps/sh/configure.in: Likewise.
21122 * sysdeps/s390/s390-32/configure: Regenerated.
21123 * sysdeps/s390/s390-64/configure: Likewise.
21124 * sysdeps/x86_64/configure: Likewise.
21125 * sysdeps/sh/configure: Likewise.
21126 * sysdeps/powerpc/powerpc64/configure: Likewise.
21127 * sysdeps/powerpc/powerpc32/configure: Likewise.
21128 * sysdeps/sparc/configure: Likwise.
21129 * sysdeps/i386/configure: Likewise.
21130
a66877c6
MP
21131 * elf/dl-open.c: Comment fixes.
21132
cfc82fd8
JM
211332012-07-17 Joseph Myers <joseph@codesourcery.com>
21134
bd29910a
JM
21135 * Makefile [CXX] (check-data): Remove.
21136 [CXX] (c++-types.data): New vpath directive.
21137 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21138 vpath. Do not allow for C++ type data being missing.
21139 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21140 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21141 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21142 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21143 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21144 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21145 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21147 ... here.
21148 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21150 ... here.
21151 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21153 ... here.
21154 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21156 ... here.
21157 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21159 ... here.
21160 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21162 ... here.
21163 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21165 ... here.
21166 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21168
cfc82fd8
JM
21169 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21170 definitions to architecture-specific files.
21171 (TLS_IE): Likewise.
21172 (TLS_LD): Likewise.
21173 (TLS_GD): Likewise.
21174 * sysdeps/i386/tls-macros.h: New file.
21175 * sysdeps/powerpc/tls-macros.h: Likewise.
21176 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21177 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21178 * sysdeps/sh/tls-macros.h: Likewise.
21179 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21180 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21181 * sysdeps/x86_64/tls-macros.h: Likewise.
21182
f7db3170
TS
211832012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21184
07cbfc23
TS
21185 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21186 zero value for regular exit case.
21187
f7db3170
TS
21188 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21189 (__start_context): Preserve zero value for regular exit case.
21190
dc97c227
TS
211912012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21192 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21193
21194 * manual/setjmp.texi (setcontext): Clarify normal process
21195 termination when uc_link is the null pointer.
21196 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21197 exit call.
21198
d0cd7d02
AS
211992012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21200
21201 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21202 preprocessor. Test for each exception mask separately.
21203
dd318934
AJ
212042012-07-16 Andreas Jaeger <aj@suse.de>
21205
21206 * po/ru.po: Update from translation team.
21207
8048311a
JM
212082012-07-15 Joseph Myers <joseph@codesourcery.com>
21209
21210 * conform/data/string.h-data (NULL): Use macro-constant. Require
21211 equal to 0.
21212 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21213 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21214 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21215 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21216 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21217
b637d46e
AJ
212182012-07-13 Andreas Jaeger <aj@suse.de>
21219
21220 * po/fr.po: Update from translation team.
21221
541428fe
MP
212222012-07-12 Marek Polacek <polacek@redhat.com>
21223
21224 [BZ #14173]
21225 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21226 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21227 loop condition.
21228
ec332e94
JM
212292012-07-12 Joseph Myers <joseph@codesourcery.com>
21230
21231 [BZ #13717]
21232 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21233 Change to 2.4.1 where previously 2.4.0.
21234 * sysdeps/unix/sysv/linux/configure: Regenerated.
21235 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21236 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21237 version.
21238 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21239 (__ASSUME_AT_CLKTCK): Remove.
21240 (__ASSUME_AT_PAGESIZE): Likewise.
21241 (__ASSUME_AT_XID): Likewise.
21242 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21243 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21244 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21245 unconditionally.
21246 (HAVE_AUX_PAGESIZE): Likewise.
21247 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21248 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21249 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21250
7b6e99be
JB
212512012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21252
21253 [BZ #14307]
21254 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21255 the temporary buffer used to invoke __gethostbyname2_r,
21256 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21257 host_data / struct gaih_addrtuple.
21258 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21259 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21260 header file nss/nsswitch.h.
21261 * nss/nsswitch.h (global scope): Add definition of implementation
21262 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21263 resolv/nss_dns/dns-host.c).
21264
608404eb
AJ
212652012-07-11 Andreas Jaeger <aj@suse.de>
21266
21267 * po/fr.po: Update from translation team.
21268
71220aca
AJ
21269 * po/sv.po: Update from translation team
21270 * po/fr.po: Another update from translation team.
21271
28cfe843
AZ
212722012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21273
21274 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21275 for subnormals or multiply small sinh result by itself.
21276 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21278
6b90f981
DM
212792012-07-11 David S. Miller <davem@davemloft.net>
21280
21281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21282
c6825772
AS
212832012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21284
21285 [BZ #14347]
21286 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21287 (INTERNAL_MARK): Shift it here.
21288
7b8e0d49
MP
212892012-07-10 Marek Polacek <polacek@redhat.com>
21290
21291 [BZ #14151]
21292 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21293 libc_cv_asm_global_directive with .globl.
21294 * configure: Regenerated.
21295 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21296 with .globl.
21297 * sysdeps/i386/configure: Regenerated.
21298 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21299 with .globl.
21300 * sysdeps/x86_64/configure: Regenerated.
21301 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21302 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21303 * elf/tst-unique2mod2.c: Likewise.
21304 * elf/tst-unique2mod1.c: Likewise.
21305 * elf/tst-unique1mod2.c: Likewise.
21306 * elf/tst-unique1mod1.c: Likewise.
21307 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21308 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21309 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21310 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21311 * sysdeps/mach/sysdep.h: Likewise.
21312 * sysdeps/i386/sysdep.h: Likewise.
21313 * sysdeps/i386/i386-mcount.S: Likewise.
21314 * sysdeps/x86_64/_mcount.S: Likewise.
21315 * sysdeps/x86_64/sysdep.h: Likewise.
21316 * sysdeps/sh/_mcount.S: Likewise.
21317 * sysdeps/sh/sysdep.h: Likewise.
21318 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21319 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21320 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21321 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21322 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21323 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21324 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21325 * locale/localeinfo.h: Likewise.
21326 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21327 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21328
6c55cda3
RM
213292012-07-09 Roland McGrath <roland@hack.frob.com>
21330
21331 [BZ #14336]
21332 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21333 system".
21334 * manual/message.texi (The Uniforum approach): Likewise.
21335 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21336 (glibc iconv Implementation): Likewise.
21337
638a572e
JM
213382012-07-09 Joseph Myers <joseph@codesourcery.com>
21339
21340 [BZ #14337]
21341 * math/s_clog.c (__clog): Avoid scaling a value down where that
21342 could result in underflow.
21343 * math/s_clog10.c (__clog10): Likewise.
21344 * math/s_clog10f.c (__clog10f): Likewise.
21345 * math/s_clog10l.c (__clog10l): Likewise.
21346 * math/s_clogf.c (__clogf): Likewise.
21347 * math/s_clogl.c (__clogl): Likewise.
21348 * math/libm-test.inc (clog_test): Add more tests.
21349 (clog10_test): Likewise.
21350 * sysdeps/i386/fpu/libm-test-ulps: Update.
21351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21352
261f4859
AS
213532012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21354
0abaf3e4
AS
21355 [BZ #14283]
21356 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21357 by 7 not 8 to examine high bit of fractional part.
21358
261f4859
AS
21359 [BZ #14042]
21360 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21361 for call to __mcount_internal.
21362 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21363 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21364 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21365
f17ac40d
JM
213662012-07-06 Joseph Myers <joseph@codesourcery.com>
21367
9ad63c23
JM
21368 [BZ #14154]
21369 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21370 approximation for values within 0x1p-13f of an odd multiple of
21371 pi/4.
21372 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21373 exception. Add more tests.
21374 * sysdeps/i386/fpu/libm-test-ulps: Update.
21375
f17ac40d
JM
21376 [BZ #6778]
21377 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21378 inputs and return -1 for them. Do not check for +Inf in case not
21379 reachable for +Inf.
21380 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21381 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21382 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21383 and return -1 for them. Do not check for +Inf in case not
21384 reachable for +Inf.
21385 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21386 define.
21387 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21388 and return -1 for them. Do not check for +Inf in case not
21389 reachable for +Inf.
21390 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21391 spurious underflow.
21392 * sysdeps/i386/fpu/libm-test-ulps: Update.
21393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21394
fb21f89b
MF
213952012-07-06 Mike Frysinger <vapier@gentoo.org>
21396
21397 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21398
cdfe2c5e
JM
213992012-07-05 Joseph Myers <joseph@codesourcery.com>
21400
21401 [BZ #14157]
21402 [BZ #14331]
21403 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21404 could result in spurious underflow. Scale down values above
21405 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21406 * math/s_csqrtf.c (__csqrtf): Likewise.
21407 * math/s_csqrtl.c (__csqrtl): Likewise.
21408 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21409 spurious underflow.
21410 * sysdeps/i386/fpu/libm-test-ulps: Update.
21411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21412
70d35b67
AS
214132012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21414
704bc459
AS
21415 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21416 xopen-msg.sed.
21417 * catgets/xopen-msg.awk: New file.
21418 * catgets/xopen-msg.sed: Removed.
21419
70d35b67
AS
21420 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21421 po2text.sed.
21422 * intl/po2test.awk: New file.
21423 * intl/po2test.sed: Removed.
21424
ca61cf32
JM
214252012-07-04 Joseph Myers <joseph@codesourcery.com>
21426
21427 [BZ #14328]
21428 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21429 or multiply small sinh result by itself.
21430 * math/s_ctanf.c (__ctanf): Likewise.
21431 * math/s_ctanh.c (__ctanh): Likewise.
21432 * math/s_ctanhf.c (__ctanhf): Likewise.
21433 * math/s_ctanhl.c (__ctanhl): Likewise.
21434 * math/s_ctanl.c (__ctanl): Likewise.
21435 * math/libm-test.inc (ctan_test_tonearest): New function.
21436 (ctan_test_towardzero): Likewise.
21437 (ctan_test_downward): Likewise.
21438 (ctan_test_upward): Likewise.
21439 (ctanh_test_tonearest): Likewise.
21440 (ctanh_test_towardzero): Likewise.
21441 (ctanh_test_downward): Likewise.
21442 (ctanh_test_upward): Likewise.
21443 (main): Call these new functions.
21444 * sysdeps/i386/fpu/libm-test-ulps: Update.
21445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21446
ca48a46a
MF
214472012-07-03 Mike Frysinger <vapier@gentoo.org>
21448
21449 * .gitignore: Delete /ports entry.
21450
9d63d37d
AJ
214512012-07-03 Andreas Jaeger <aj@suse.de>
21452
21453 * po/bg.po: Update from translation team.
21454 * po/cs.po: Likewise.
21455 * po/de.po: Likewise.
21456 * po/hr.po: Likewise.
21457 * po/nl.pl: Likewise.
21458 * po/pl.po: Likewise.
21459 * po/vi.po: Likewise.
21460
370ca3d2
JM
214612012-07-03 Joseph Myers <joseph@codesourcery.com>
21462
95f5a9a8
JM
21463 * Makeconfig [!+link] (+link-before-libc): New variable.
21464 [!+link] (+link-after-libc): Likewise.
21465 [!+link] (+link-tests): Likewise.
21466 [!+link] (+link): Define in terms of $(+link-before-libc) and
21467 $(+link-after-libc).
21468 [!+link-static] (+link-static-before-libc): New variable.
21469 [!+link-static] (+link-static-after-libc): Likewise.
21470 [!+link-static] (+link-static-tests): Likewise.
21471 [!+link-static] (+link-static): Define in terms of
21472 $(+link-static-before-libc) and $(+link-static-after-libc).
21473 [build-shared] (link-libc-before-gnulib): New variable.
21474 [build-shared] (link-libc-tests): Likewise.
21475 [build-shared] (link-libc): Define in terms of
21476 $(link-libc-before-gnulib).
21477 [!build-shared] (link-libc-tests): New variable.
21478 (link-libc-static-tests): New variable.
21479 [!gnulib] (gnulib-arch): New variable.
21480 [!gnulib] (gnulib-tests): Likewise.
21481 [!gnulib] (static-gnulib-arch): Likewise.
21482 [!gnulib] (static-gnulib-tests): Likewise.
21483 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21484 Define with "=" instead of ":=".
21485 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21486 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21487 * Rules (binaries-all-notests): New variable.
21488 (binaries-all-tests): Likewise.
21489 (binaries-static-notests): Likewise.
21490 (binaries-static-tests): Likewise.
21491 (binaries-all): Define using $(binaries-all-notests) and
21492 $(binaries-all-tests).
21493 (binaries-static): Define using $(binaries-static-notests) and
21494 $(binaries-static-tests).
21495 (binaries-shared-tests): New variable.
21496 (binaries-shared-notests): Likewise.
21497 (binaries-shared): Remove variable.
21498 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21499 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21500 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21501 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21502 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21503 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21504 * elf/Makefile (sln-modules): New variable.
21505 (extra-objs): Add $(sln-modules:=.o).
21506 (ldconfig-modules): Add static-stubs.
21507 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21508 * elf/static-stubs.c: New file.
21509
7a845b2c
JM
21510 [BZ #14283]
21511 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21512 by 7 not 8 to examine high bit of fractional part. Use volatile
21513 variables when splitting into final array of floats if
21514 __FLT_EVAL_METHOD__ != 0.
21515 * math/libm-test.inc (cos_test): Add another test.
21516 (sin_test): Likewise.
21517 * sysdeps/i386/fpu/libm-test-ulps: Update.
21518
e2283f38
JM
21519 [BZ #14273]
21520 * math/libm-test.inc (cosh_test): Add more tests.
21521
370ca3d2
JM
21522 * version.h (RELEASE): Set to "development".
21523 (VERSION): Set to "2.16.90".
21524
ee9247c3
CD
215252012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21526
21527 * NEWS: Update copyright. Remove last-updated date.
21528 Mention math library bug fixes and timezone data changes.
21529 * README: Mention GNU/Hurd, x32, and HPPA support status.
21530
4648c381
TS
215312012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21532
21533 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21534
aac78a43
AJ
215352012-06-27 Andreas Jaeger <aj@suse.de>
21536
21537 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21538
ed3dbfad
AJ
215392012-06-25 Andreas Jaeger <aj@suse.de>
21540
21541 * sysdeps/s390/fpu/libm-test-ulps: Update.
21542
4d0ee855
AS
215432012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21544 Thomas Schwinge <thomas@codesourcery.com>
21545
21546 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21547 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21548 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21549 fanotify_mark.
21550
af1bce34
TS
215512012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21552
a9fa33ba
TS
21553 * sysdeps/mach/start.c: Remove file.
21554 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21555 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21556 * sysdeps/sh/init-first.c: Likewise.
21557
58f902b8
TS
21558 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21559 registers for frame unwinding purposes, add CFI directives.
21560 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21561 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21562 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21563 Likewise.
21564
1518f58b
TS
21565 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21566 __fortify_fail returning.
21567 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21568
db9b5059
TS
21569 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21570 sysdeps/sh/____longjmp_chk.S.
21571 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21572 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21573 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21574 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21575
967705fe
TS
21576 * sysdeps/sh/abort-instr.h: New file.
21577 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21578 process in case exit returns.
21579
a9def8c4
TS
21580 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21581 initialize the GOT register before use.
21582
2a649725
TS
21583 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21584 calculation of ARGC > 4.
21585
af1bce34
TS
21586 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21587 meaningful names to some local labels.
21588
d230f50a
KK
215892012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21590 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21591
21592 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21593 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21594 (__arch_compare_and_exchange_val_16_acq): Likewise.
21595 (__arch_compare_and_exchange_val_32_acq): Likewise.
21596 (atomic_exchange_and_add): Fix gUSA sequence.
21597 (atomic_add): Likewise.
21598 (atomic_add_negative): Likewise.
21599 (atomic_add_zero): Likewise.
21600 (atomic_bit_test_set): Likewise.
21601
0479b305
AS
216022012-06-22 Andreas Schwab <schwab@redhat.com>
21603
21604 [BZ #13579]
21605 * include/link.h (struct link_map): Add l_free_initfini.
21606 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21607 l_initfini.
21608 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21609 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21610 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21611 set.
21612
0e3933b9
CD
216132012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21614
21615 * configure.in: Use AC_LANG_SOURCE.
21616 * configure: Regenerate.
21617
4248b1b1
RM
216182012-06-22 Roland McGrath <roland@hack.frob.com>
21619
21620 * configure.in (libc_cv_localstatedir): New substituted variable.
21621 * configure: Regenerated.
21622 * config.make.in (localstatedir): New variable, substituted from
21623 libc_cv_localstatedir.
21624 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21625 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21626 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21627 * sysdeps/gnu/configure: Regenerated.
21628
006dd861
JL
216292012-06-21 Jeff Law <law@redhat.com>
21630
21631 [BZ #14277]
21632 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21633 free. Simplify list management for _LIBC case.
21634
79662d42
JM
216352012-06-21 Joseph Myers <joseph@codesourcery.com>
21636
b7abb4bf
JM
21637 [BZ #14273]
21638 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21639 Clear sign bit of 64-bit integer value before comparing against
21640 overflow value.
21641
79662d42
JM
21642 * sysdeps/mach/configure: Regenerated.
21643
1f150908
L
216442012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21645
21646 [BZ #14278]
21647 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21648
28363bbf
JL
216492012-06-21 Jeff Law <law@redhat.com>
21650
21651 [BZ #13882]
21652 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21653 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 21654 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
21655 * elf/dl-open.c (dl_open_worker): Likewise.
21656
09615db4
CD
216572012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21658
21659 * scripts/list-sources.sh: Scan PORTS for translations.
21660 * po/libc.pot: Regenerated.
21661
2174c6dd
AJ
216622012-06-21 Andreas Jaeger <aj@suse.de>
21663
21664 [BZ #12194]
21665 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21666 warning.
21667 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21668 * bits/byteswap-16.h (__bswap_16): Likewise.
21669 * bits/byteswap.h (__bswap_constant_16): Likewise.
21670
3ee947b1
L
216712012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21672
21673 [BZ #14117]
a2f34833
L
21674 * sysdeps/i386/fpu_control.h: Removed.
21675 * sysdeps/x86_64/fpu_control.h: Moved to ...
21676 * sysdeps/x86/fpu_control.h: Here.
21677
3ee947b1
L
21678 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21679 (_FPU_SETCW): Likewise.
21680
ed1825f8
L
216812012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21682
25f1282a
L
21683 [BZ #14117]
21684 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21685 * sysdeps/x86/fpu/bits/mathinline.h: This.
21686 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21687
ed1825f8
L
21688 [BZ #14050]
21689 [BZ #14117]
21690 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21691 functions if __x86_64__ is defined.
21692
36d54b74
CLT
216932012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21694
21695 * string/endian.h: Add !__ASSEMBLER__ condition for including
21696 conversion interfaces.
21697
10285c21
JM
216982012-06-15 Joseph Myers <joseph@codesourcery.com>
21699
21700 [BZ #14241]
21701 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21702 of ABS(x) in calculating zero to negative powers other than odd
21703 integers.
21704 * math/libm-test.inc (pow_test): Add more tests.
21705
06c5abbd
AJ
217062012-06-15 Andreas Jaeger <aj@suse.de>
21707
21708 * manual/contrib.texi (Contributors): Update entry of Liubov
21709 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21710 Machado Filho.
21711
a3aeac40
CH
217122012-06-15 Cyril Hrubis <metan@ucw.cz>
21713
21714 * string/string.h: Add __wur to GNU version of strerror_r.
21715
49bdf4c1
L
217162012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21717
21718 [BZ #14229]
21719 * string/Makefile (tests): Add tst-strtok_r.
21720 * string/tst-strtok_r.c: New file.
21721 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21722 RAX_LP/RDX_LP on SAVE_PTR.
21723
834f9b8d
RM
217242012-06-14 Roland McGrath <roland@hack.frob.com>
21725
21726 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21727
75fa1921
JM
217282012-06-14 Joseph Myers <joseph@codesourcery.com>
21729
21730 * libm_test.inc (csqrt_test): Allow more spurious underflow
21731 exceptions.
21732 (j0_test): Likewise.
21733 (j1_test): Likewise.
21734 (y0_test): Likewise.
21735 (y1_test): Likewise.
21736
771766df
CD
217372012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21738
21739 * po/Makefile (libc.pot): Use UTF-8 charset.
21740
ceb9e56b
PP
217412012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21742
21743 [BZ #14210]
21744 Suppress sign-conversion warning from FD_SET.
21745 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21746 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21747 not unsigned long int.
21748 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21749
ddb28975
L
217502012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21751
21752 [BZ #14050]
21753 [BZ #14117]
21754 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21755 __extern_always_inline instead of __extern_inline.
21756 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21757 (__signbit): Likewise.
21758 (__signbitl): Support C++ namespace.
21759 (lrintf): New inline function.
21760 (lrint): Likewise.
21761 (llrintf): Likewise.
21762 (llrint): Likewise.
21763 (fmaxf): Likewise.
21764 (fmax): Likewise.
21765 (fminf): Likewise.
21766 (fmin): Likewise.
21767 (rint): Likewise.
21768 (rintf): Likewise.
21769 (ceil): Likewise.
21770 (ceilf): Likewise.
21771 (floor): Likewise.
21772 (floorf): Likewise.
21773 (nearbyint): Likewise.
21774 (nearbyintf): Likewise.
21775
d7b4fb26
TS
217762012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21777
21778 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21779 non-default versions.
21780
eb55f5c2
RM
217812012-06-11 Roland McGrath <roland@hack.frob.com>
21782
21783 [BZ #14218]
21784 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21785
366af02c
TS
217862012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21787
99ff6e5c
TS
21788 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21789 (FE_UPWARD, FE_DOWNWARD): Don't define.
21790 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21791 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21792
366af02c
TS
21793 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21794 reading it.
21795 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21796 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21797
793ea851
KK
217982012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21799
21800 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21801 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21802 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21803 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21804
a728a38f
L
218052012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21806
21807 [BZ #14117]
c08010c7
L
21808 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21809 * sysdeps/i386/fpu/Implies: New file.
21810 * sysdeps/x86_64/fpu/Implies: Likewise.
21811 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21812 * sysdeps/x86/fpu/bits/fenv.h: This.
21813
a728a38f
L
21814 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21815 __SSE_MATH__.
21816
6e230d11
SP
218172012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21818
21819 [BZ #14134]
21820 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21821 character 0xffff that matches the last element of the
21822 conversion table.
21823
1b671feb
AZ
218242012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21825
21826 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21827 fmodl commit.
21828
6043738b
AZ
218292012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21830
21831 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21832 values higher than 25.6283.
21833
34ae0b32
AZ
218342012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21835
21836 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21837 subnormal exponent extraction and add some __builtin_expect.
21838 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21839 Fix for subnormal mantissa calculation.
21840
1214ec8f
MF
218412012-06-04 Mike Frysinger <vapier@gentoo.org>
21842
21843 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21844 cpu2 is -1 and errno is not ENOSYS.
21845
f3d1f93c
L
218462012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21847
21848 [BZ #14117]
0e4a3cd7
L
21849 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21850 * sysdeps/x86/bits/string.h: This.
21851 * sysdeps/x86_64/bits/string.h: Removed.
21852
6704c645
L
21853 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21854 if not compiling for x86-64, but compiling for >= i486.
21855
48495318
L
21856 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21857 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21858
14adcbfc
L
21859 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21860 New macro from Linux kernel 3.4.0.
21861 (FP_XSTATE_MAGIC2): Likewise.
21862 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21863 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21864 (struct _fpx_sw_bytes): New struct.
21865 (struct _xsave_hdr): Likewise.
21866 (struct _ymmh_state): Likewise.
21867 (struct _xstate): Likewise.
21868
68e408ab
L
21869 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21870 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21871 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21872 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21873 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21874 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21875
f3d1f93c
L
21876 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21877 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21878 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21879 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21880 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21881 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21882
d9dc34cd
TMQMF
218832012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21884
21885 [BZ #13743]
21886 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21887 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21888 (sysdep_headers): Include sys/platform/ppc.h.
21889 * sysdeps/powerpc/test-gettimebase.c: Test for
21890 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21891 * manual/Makefile (appendices): Include platform.texi.
21892 * manual/contrib.texi (Contributors): Update @node pointers.
21893 * manual/maint.texi (Maintenance): Likewise.
21894 (Platform): New node.
21895 * manual/platform.texi: New file. Document the new features.
21896
4af3879c
SP
218972012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21898 Jakub Jelinek <jakub@redhat.com>
21899
21900 [BZ #14188]
21901 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21902 where __builtin_expect is unavailable.
21903
2fd6ff13
DM
219042012-06-03 David S. Miller <davem@davemloft.net>
21905
21906 * stdlib/longlong.h: Updated from GCC.
21907
173f7220
AS
219082012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21909
21910 [BZ #14042]
21911 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21912 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21913 __mcount_internal.
21914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21915 (GLIBC_2.16): Likewise.
21916
f34a1c6f
L
219172012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21918
21919 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21920
88a4576f
JM
219212012-06-01 Joseph Myers <joseph@codesourcery.com>
21922
ea32bcdd
JM
21923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21924 (default-abi): New variable.
21925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21926 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21927 variable.
21928 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21929 Likewise.
21930 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21931 Likewise.
21932 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21933 Likewise.
21934
88a4576f
JM
21935 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21936 definition. Document in comment.
21937
402fe938
DM
219382012-06-01 David S. Miller <davem@davemloft.net>
21939
21940 * stdlib/longlong.h: Updated from GCC.
21941
3553723f
L
219422012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21943
21944 [BZ #14117]
3bd872c4
L
21945 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21946 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21947 sys/debugreg.h sys/io.h here.
21948 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21949 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21950 sys/io.h.
21951 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21952 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21953 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21954 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21955 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21956 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21957
3553723f
L
21958 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21959 Define only if __x86_64__ is defined.
21960
4842e4fe
JM
219612012-06-01 Joseph Myers <joseph@codesourcery.com>
21962
c5bfe3d5
JM
21963 [BZ #14048]
21964 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21965 Use int64_t for variable i.
21966 * math/libm-test.inc (fmod_test): Add more tests.
21967
4842e4fe
JM
21968 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21969 z computation is not scheduled after fetestexcept.
21970 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21971 Use math_force_eval instead of asm to ensure calculation scheduled
21972 before exception test.
21973 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21974 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21975
efb73488
AJ
219762012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21977
21978 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21979 computation is not scheduled after fetestexcept.
21980
29bcce7c
L
219812012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21982
21983 [BZ #14117]
21984 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21985 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21986
73a68f94
AZ
219872012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21988
21989 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21990 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21991
67b6df78
L
219922012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21993
edf2933a 21994 [BZ #14117]
ebc64a18
L
21995 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21996 <bits/wordsize.h>.
21997 (__WCHAR_MIN): Support __WORDSIZE == 64.
21998 (__WCHAR_MAX): Likewise.
21999
edf2933a
L
22000 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22001 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22002
57c6cf40
L
22003 [BZ #14183]
22004 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22005 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22006
67b6df78 22007 [BZ #14117]
8eb6281e
L
22008 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22009 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22010
aac639f4
L
22011 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22012 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22013
67b6df78
L
22014 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22015 Defined to 1 if __x86_64__ isn't defined.
22016 (_STAT_VER_LINUX_OLD): New.
22017 (st_atime): Remove duplicate.
22018 (st_mtime): Likewise.
22019 (st_ctime): Likewise.
22020
1c2cfe81
DM
220212012-05-31 David S. Miller <davem@davemloft.net>
22022
22023 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22024 entries.
22025
5be8418c
AS
220262012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22027
e7725326
AS
22028 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22029 gen-libm-test.pl.
22030
5be8418c
AS
22031 [BZ #14132]
22032 * elf/dl-reloc.c: Include <_itoa.h>.
22033 (_dl_reloc_bad_type): Remove use of INTUSE.
22034 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22035 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22036 * stdio-common/psiginfo.c (psiginfo): Likewise.
22037 * stdio-common/psignal.c (psignal): Likewise.
22038 * string/strsignal.c (strsignal): Likewise.
22039 * include/signal.h (_sys_siglist): Declare hidden proto.
22040 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22041 INTVARDEF with libc_hidden_data_def.
22042 * stdio-common/itoa-udigits.c: Likewise.
22043 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22044 (_itoa_lower_digits_internal): Remove declaration.
22045 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22046 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22047 (_sys_sigabbrev_internal): Remove aliases.
22048 (_sys_siglist): Define hidden alias.
22049
507352f1
MT
220502012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22051
22052 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22053 bits/sysctl.h.
22054
42bbb1c3
L
220552012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22056
22057 [BZ #14117]
6bd784b6
L
22058 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22059 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22060
8bca20f0
L
22061 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22062 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22063 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22064 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22065 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22066 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22067
f9e890a9
L
22068 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22069 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22070 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22071
471101a1
L
22072 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22073 with __addr.
22074 (insw): Likewise.
22075 (insl): Likewise.
22076 (outsb): Likewise.
22077 (outsw): Likewise.
22078 (outsl): Likewise.
22079
6451c862
L
22080 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22081 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22082 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22083
a254b8c9
L
22084 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22085 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22086 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22087 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22088 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22089 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22090
b8dfdd92
L
22091 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22092 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22093
578cd270
L
22094 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22095 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22096
de662f5f
L
22097 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22098 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22099 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22100
25653439
L
22101 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22102 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22103 to ...
22104 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22105
6bad24a0
L
22106 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22107 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22108 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22109
42bbb1c3
L
22110 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22111 for x86-64.
22112 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22113
2d10d547
JM
221142012-05-31 Joseph Myers <joseph@codesourcery.com>
22115
22116 * math/math.h (M_El): Use two more decimal places.
22117 (M_LOG2El): Likewise.
22118 (M_LOG10El): Likewise.
22119 (M_LN2l): Likewise.
22120 (M_LN10l): Likewise.
22121 (M_PIl): Likewise.
22122 (M_PI_2l): Likewise.
22123 (M_PI_4l): Likewise.
22124 (M_1_PIl): Likewise.
22125 (M_2_PIl): Likewise.
22126 (M_2_SQRTPIl): Likewise.
22127 (M_SQRT2l): Likewise.
22128 (M_SQRT1_2l): Likewise.
22129
f230c29b
DM
221302012-05-31 David S. Miller <davem@davemloft.net>
22131
22132 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22133 values between float registers.
22134 * sysdeps/sparc/sparc64/memset.S: Likewise.
22135 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22136
fed806c3
MF
221372012-05-31 Mike Frysinger <vapier@gentoo.org>
22138
22139 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22140 -D_FORTIFY_SOURCE=1.
22141 (CPPFLAGS-tst-longjmp_chk.c): Define.
22142 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22143 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22144 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22145 CFLAGS-tst-wchar-h.c.
22146
30917259
MP
221472012-05-31 Marek Polacek <polacek@redhat.com>
22148
22149 [BZ #14132]
22150 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22151 __endmntent_internal): Remove declaration.
22152 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22153 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22154 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22155
1c58d5dc
DM
221562012-05-30 David S. Miller <davem@davemloft.net>
22157
22158 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22159 (___Q_simulate_exceptions): Use real FP ops rather than writing
22160 into the %fsr.
22161 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22162 Likewise.
22163
7dc00e0d
L
221642012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22165
22166 [BZ #14117]
0bd53985
L
22167 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22168 * sysdeps/x86/bits/xtitypes.h: This.
22169
3a257e66
L
22170 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22171 * sysdeps/x86/bits/wordsize.h: This.
22172
62f62904
L
22173 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22174 * sysdeps/x86/bits/huge_vall.h: This.
22175
404fe9d9
L
22176 * sysdeps/i386/bits/select.h: Removed.
22177 * sysdeps/x86_64/bits/select.h: Renamed to ...
22178 * sysdeps/x86/bits/select.h: This.
22179
d48d0446
L
22180 * sysdeps/i386/bits/setjmp.h: Removed.
22181 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22182 * sysdeps/x86/bits/setjmp.h: This.
22183
7dc00e0d
L
22184 * sysdeps/i386/bits/mathdef.h: Removed.
22185 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22186 * sysdeps/x86/bits/mathdef.h: This.
22187
03277f8f
AS
221882012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22189
22190 [BZ #14132]
22191 * include/sys/socket.h (__connect_internal)
22192 (__libc_sa_len_internal): Remove declaration.
22193 (__connect, __libc_sa_len): Declare hidden_proto.
22194 (SA_LEN): Remove use of INTUSE.
22195 * socket/connect.c: Add libc_hidden_def.
22196 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22197 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22198 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22199 alias.
22200 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22201 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22202 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22203 of adding _internal alias.
22204
13764867
L
222052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22206
22207 [BZ #14117]
6bd97696
L
22208 * sysdeps/i386/bits/link.h: Removed.
22209 * sysdeps/i386/bits/linkmap.h: Likewise.
22210 * sysdeps/x86_64/bits/link.h: Renamed to ...
22211 * sysdeps/x86/bits/link.h: This.
22212 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22213 * sysdeps/x86/bits/linkmap.h: This.
22214
f726f0bb
L
22215 * sysdeps/i386/bits/endian.h: Removed.
22216 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22217 * sysdeps/x86/bits/endian.h: This.
22218
13764867
L
22219 * sysdeps/i386/bits/byteswap.h: Removed.
22220 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22221 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22222 * sysdeps/x86/bits/byteswap.h: This.
22223 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22224 * sysdeps/x86/bits/byteswap-16.h: This.
22225 * sysdeps/i386/Implies: Add x86.
22226 * sysdeps/x86_64/Implies: Likewise.
22227
ae251b0b
DM
222282012-05-30 David S. Miller <davem@davemloft.net>
22229
22230 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22231 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22232 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22233 (FP_TRAPPING_EXCEPTIONS): Define.
22234 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22235 (FP_TRAPPING_EXCEPTIONS): Define.
22236 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22237 subnormals only when inexact has been signalled or underflow
22238 exceptions are enabled.
22239 (_FP_PACK_CANONICAL): Likewise.
22240
d5c90867
L
222412012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22242
22243 [BZ #14183]
22244 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22245 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22246
63f1549e
RH
222472012-05-30 Richard Henderson <rth@twiddle.net>
22248
8d8f2279
RH
22249 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22250 with #ifndef NOT_IN_libc.
22251
63f1549e
RH
22252 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22253 marked to avoid plt entry.
22254
0ab0291b
L
222552012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22256
22257 [BZ #14112]
22258 * Makeconfig (default-abi): New macro.
22259 (abi-includes): Likewise.
22260 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22261 $(abi-$(default-abi)-lib-soname) for soname if defined.
22262 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22263 abi-variants.
22264 * Makefile (installed-stubs): Likewise.
22265 * include/stubs-biarch.h: Removed.
22266 * scripts/lib-names.awk: Only handle one library at a time.
22267 * scripts/soversions.awk: Remove WORDSIZE support.
22268 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22269 entries.
22270 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22271 Removed.
22272 (syscall-list-default-condition): Likewise.
22273 (syscall-list-default-condition): Likewise.
22274 (syscall-list-includes): Likewise.
22275 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22276 syscall-list-* with abi-*. Handle undefined abi-variants.
22277 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22278 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22279 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22280 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22281 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22282 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22283 Removed.
22284 (syscall-list-32-options): Likewise.
22285 (syscall-list-32-condition): Likewise.
22286 (syscall-list-64-options): Likewise.
22287 (syscall-list-64-condition): Likewise.
22288 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22289 macro.
22290 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22291 Renamed to ...
22292 (abi-*): This.
22293 (abi-64-ld-soname): New macro.
22294 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22295 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22296 Renamed to ...
22297 (abi-*): This.
22298 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22299 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22300
4da0431d
JM
223012012-05-30 Joseph Myers <joseph@codesourcery.com>
22302
3a85279c
JM
22303 * sysdeps/unix/sysv/linux/kernel-features.h
22304 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22305 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22306 include <kernel-features.h>.
22307 [!__NR_ftruncate64]: Remove conditional code.
22308 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22309 [__NR_ftruncate64]: Make code unconditional.
22310 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22311 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22312 include <kernel-features.h>.
22313 [!__NR_ftruncate64]: Remove conditional code.
22314 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22315 [__NR_ftruncate64]: Make code unconditional.
22316 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22318 include <kernel-features.h>.
22319 [!__NR_ftruncate64]: Remove conditional code.
22320 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22321 [__NR_ftruncate64]: Make code unconditional.
22322 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22324 include <kernel-features.h>.
22325 [!__NR_ftruncate64]: Remove conditional code.
22326 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22327 [__NR_ftruncate64]: Make code unconditional.
22328 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22329
4da0431d
JM
22330 * configure.in (libc_cv_fpie): Weaken to a compile test using
22331 LIBC_TRY_CC_OPTION.
22332 * configure: Regenerated.
22333
11ef492c
AK
223342012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22335
22336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22340 Refreshed.
22341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22347 Refreshed.
22348
d66ef399
DM
223492012-05-27 David S. Miller <davem@davemloft.net>
22350
22351 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22352 (___Q_zero): New.
22353 (__Q_simulate_exceptions): Return void. Change to simulate
22354 exceptions by writing into the %fsr.
22355 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22356 (__Qp_handle_exceptions): Likewise.
22357 (numbers): Delete.
22358 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22359 __Qp_handle_exceptions.
22360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22361 __Qp_handle_exceptions.
22362 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22363 as unused and give dummy FP_RND_NEAREST initializer.
22364 (FP_INHIBIT_RESULTS): Define.
22365 (___Q_simulate_exceptions): Update declaration.
22366 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22367 formatting.
22368 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22369 as unused and give dummy FP_RND_NEAREST initializer.
22370 (__Qp_handle_exceptions): Update declaration.
22371 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22372 formatting.
22373
04fb54b5
TS
223742012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22375
22376 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22377 the temporary FPU control word.
22378 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22379 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22380 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22381 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22382 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22383 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22384 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22385 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22386 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22387 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22388 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22389
3f99608f
KK
223902012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22391
22392 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22393 fields.
22394
65a4de4e
CLT
223952012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22396
22397 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22398 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22399 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22400 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22401 Likewise.
22402 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22403 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22404 Likewise.
22405
15749d40
UD
224062012-05-27 Ulrich Drepper <drepper@gmail.com>
22407
22408 * po/h.po: Update from translation team.
22409
25dbcb27
AS
224102012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22411
3d3f8e55
AS
22412 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22413
25dbcb27
AS
22414 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22415 handling of denormals.
22416 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22417 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22418 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22419 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22420 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22421 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22422 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22423 Likewise.
22424
7ad47a80 224252012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
22426
22427 [BZ #14152]
22428 * math/libm-test.inc (fma_test): Don't always expect underflow
22429 exception.
22430
9c6ea9fa
SP
224312012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22432
22433 [BZ #12416]
22434 * elf/tst-execstack.c: Include stackinfo.h.
22435 (do_test): Adjust test case to ensure that pthread_getattr_np
22436 behaviour remains the same after marking stack executable.
22437
a8239222
JM
224382012-05-25 Joseph Myers <joseph@codesourcery.com>
22439
22440 * sysdeps/unix/sysv/linux/kernel-features.h
22441 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22442 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22443 kernel-features.h.
22444 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22445 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22446 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22447 kernel-features.h.
22448 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22449 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22450
918b5606
L
224512012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22452
22453 * configure.in: Define the default includes to being none.
22454 * configure: Regenerated.
22455
3a097cc7
RM
224562012-05-25 Roland McGrath <roland@hack.frob.com>
22457
8422c9a5
RM
22458 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22459 * sysdeps/x86_64/setjmp.S: Likewise.
22460 * sysdeps/i386/bsd-setjmp.S: Likewise.
22461 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22462 * sysdeps/i386/setjmp.S: Likewise.
22463 * sysdeps/i386/__longjmp.S: Likewise.
22464 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22465 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22466
3a097cc7
RM
22467 * include/stap-probe.h: New file.
22468 * configure.in: Handle --enable-systemtap.
22469 * configure: Regenerated.
22470 * config.h.in (USE_STAP_PROBE): New #undef.
22471 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22472 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22473 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22474
21708942
JM
224752012-05-25 Joseph Myers <joseph@codesourcery.com>
22476
22477 [BZ #13717]
22478 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22479 to 2.4.0 where earlier.
22480 * sysdeps/unix/sysv/linux/configure: Regenerated.
22481 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22482 <kernel-features.h>.
22483 [__ASSUME_32BITUIDS]: Make code unconditional.
22484 [!__ASSUME_32BITUIDS]: Remove conditional code.
22485 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22486 <kernel-features.h>.
22487 [__ASSUME_32BITUIDS]: Make code unconditional.
22488 [!__ASSUME_32BITUIDS]: Remove conditional code.
22489 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22490 [__ASSUME_32BITUIDS]: Make code unconditional.
22491 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22492 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22493 <kernel-features.h>.
22494 [__ASSUME_32BITUIDS]: Make code unconditional.
22495 [!__ASSUME_32BITUIDS]: Remove conditional code.
22496 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22497 <kernel-features.h>.
22498 [__ASSUME_32BITUIDS]: Make code unconditional.
22499 [!__ASSUME_32BITUIDS]: Remove conditional code.
22500 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22501 <kernel-features.h>.
22502 [__ASSUME_32BITUIDS]: Make code unconditional.
22503 [!__ASSUME_32BITUIDS]: Remove conditional code.
22504 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22505 <kernel-features.h>.
22506 [__ASSUME_32BITUIDS]: Make code unconditional.
22507 [!__ASSUME_32BITUIDS]: Remove conditional code.
22508 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22509 <kernel-features.h>.
22510 [__ASSUME_32BITUIDS]: Make code unconditional.
22511 [!__ASSUME_32BITUIDS]: Remove conditional code.
22512 * sysdeps/unix/sysv/linux/i386/getresuid.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/getuid.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/lchown.c: Do not include
22521 <kernel-features.h>.
22522 [__ASSUME_32BITUIDS]: Make code unconditional.
22523 [!__ASSUME_32BITUIDS]: Remove conditional code.
22524 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22525 <kernel-features.h>.
22526 [__ASSUME_32BITUIDS]: Make code unconditional.
22527 [!__ASSUME_32BITUIDS]: Remove conditional code.
22528 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22529 <kernel-features.h>.
22530 [__ASSUME_32BITUIDS]: Make code unconditional.
22531 [!__ASSUME_32BITUIDS]: Remove conditional code.
22532 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22533 <kernel-features.h>.
22534 [__NR_setresgid] (__setresgid): Do not declare.
22535 [__ASSUME_32BITUIDS]: Make code unconditional.
22536 [!__ASSUME_32BITUIDS]: Remove conditional code.
22537 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22538 <kernel-features.h>.
22539 [__NR_setresuid] (__setresuid): Do not declare.
22540 [__ASSUME_32BITUIDS]: Make code unconditional.
22541 [!__ASSUME_32BITUIDS]: Remove conditional code.
22542 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22543 <kernel-features.h>.
22544 [__ASSUME_32BITUIDS]: Make code unconditional.
22545 [!__ASSUME_32BITUIDS]: Remove conditional code.
22546 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22547 <kernel-features.h>.
22548 [__ASSUME_32BITUIDS]: Make code unconditional.
22549 [!__ASSUME_32BITUIDS]: Remove conditional code.
22550 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22551 <kernel-features.h>.
22552 [__ASSUME_32BITUIDS]: Make code unconditional.
22553 [!__ASSUME_32BITUIDS]: Remove conditional code.
22554 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22555 <kernel-features.h>.
22556 [__ASSUME_32BITUIDS]: Make code unconditional.
22557 [!__ASSUME_32BITUIDS]: Remove conditional code.
22558 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22559 <kernel-features.h>.
22560 [__ASSUME_32BITUIDS]: Make code unconditional.
22561 [!__ASSUME_32BITUIDS]: Remove conditional code.
22562 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22563 <kernel-features.h>.
22564 [__ASSUME_32BITUIDS]: Make code unconditional.
22565 [!__ASSUME_32BITUIDS]: Remove conditional code.
22566 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22567 <kernel-features.h>.
22568 [__ASSUME_32BITUIDS]: Make code unconditional.
22569 [!__ASSUME_32BITUIDS]: Remove conditional code.
22570 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22571 <kernel-features.h>.
22572 [__ASSUME_32BITUIDS]: Make code unconditional.
22573 [!__ASSUME_32BITUIDS]: Remove conditional code.
22574 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22575 <kernel-features.h>.
22576 [__ASSUME_32BITUIDS]: Make code unconditional.
22577 [!__ASSUME_32BITUIDS]: Remove conditional code.
22578 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22579 <kernel-features.h>.
22580 [__ASSUME_32BITUIDS]: Make code unconditional.
22581 [!__ASSUME_32BITUIDS]: Remove conditional code.
22582 * sysdeps/unix/sysv/linux/kernel-features.h
22583 (__ASSUME_SETRESUID_SYSCALL): Remove.
22584 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22585 (__ASSUME_32BITUIDS): Likewise.
22586 (__ASSUME_LDT_WORKS): Likewise.
22587 (__ASSUME_O_DIRECTORY): Likewise.
22588 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22589 architecture but not kernel version.
22590 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22591 (__ASSUME_MMAP2_SYSCALL): Likewise.
22592 (__ASSUME_STAT64_SYSCALL): Likewise.
22593 (__ASSUME_IPC64): Likewise.
22594 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22595 <kernel-features.h>.
22596 [__ASSUME_32BITUIDS]: Make code unconditional.
22597 [!__ASSUME_32BITUIDS]: Remove conditional code.
22598 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22599 <kernel-features.h>.
22600 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22601 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22602 132096]: Remove conditional code.
22603 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22604 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22605 <kernel-features.h>.
22606 [__ASSUME_32BITUIDS]: Make code unconditional.
22607 [!__ASSUME_32BITUIDS]: Remove conditional code.
22608 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22609 <kernel-features.h>.
22610 [__ASSUME_32BITUIDS]: Make code unconditional.
22611 [!__ASSUME_32BITUIDS]: Remove conditional code.
22612 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22613 <kernel-features.h>.
22614 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22615 unconditional.
22616 (__setresgid): Do not declare.
22617 [__ASSUME_32BITUIDS]: Make code unconditional.
22618 [!__ASSUME_32BITUIDS]: Remove conditional code.
22619 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22620 <kernel-features.h>.
22621 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22622 unconditional.
22623 (__setresuid): Do not declare.
22624 [__ASSUME_32BITUIDS]: Make code unconditional.
22625 [!__ASSUME_32BITUIDS]: Remove conditional code.
22626 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22627 <kernel-features.h>.
22628 [__ASSUME_32BITUIDS]: Make code unconditional.
22629 [!__ASSUME_32BITUIDS]: Remove conditional code.
22630 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22631 <kernel-features.h>.
22632 [__ASSUME_32BITUIDS]: Make code unconditional.
22633 [!__ASSUME_32BITUIDS]: Remove conditional code.
22634
a386f1cc
RH
226352012-05-25 Richard Henderson <rth@twiddle.net>
22636
22637 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22638 dl_hwcap to ifunc resolver.
22639 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22640 elf_ifunc_invoke.
22641 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22642 dl_hwcap to ifunc resolver.
22643 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22644
b6550497
JM
226452012-05-24 Joseph Myers <joseph@codesourcery.com>
22646
22647 [BZ #14153]
22648 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22649 for |x| <= 2**-26, not 2**-57.
22650 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22651 exception.
22652
b0bc23a1
JL
226532012-05-24 Jeff Law <law@redhat.com>
22654
22655 * stdio-common/Makefile (tests): Add bug25.
22656 * stdio-common/bug25.c: New test.
22657
347c92e9
L
226582012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22659
22660 [BZ #13576]
22661 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22662 multiple of MALLOC_ALIGNMENT in size.
22663 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22664
6bcc8b3f
JM
226652012-05-24 Joseph Myers <joseph@codesourcery.com>
22666
22667 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22668 Require >= 256.
22669 (FILENAME_MAX): Use macro-int-constant.
22670 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22671 (_IOFBF): Use macro-int-constant.
22672 (_IOLBF): Likewise.
22673 (_IONBF): Likewise.
22674 (SEEK_CUR): Likewise.
22675 (SEEK_END): Likewise.
22676 (SEEK_SET): Likewise.
22677 (TMP_MAX): Likewise.
22678 (EOF): Use macro-int-constant. Require < 0.
22679 (NULL): Use macro-constant. Require == 0.
22680 (stdin): Require type to be FILE *.
22681 (stdout): Likewise.
22682 (stderr): Likewise.
22683 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22684 macro-int-constant.
22685 (EXIT_SUCCESS): Likewise.
22686 (NULL): Use macro-constant. Require == 0.
22687 (RAND_MAX): Use macro-int-constant.
22688 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22689 [C99-based standards] (strtof): Require function.
22690 [C99-based standards] (strtold): Likewise.
22691 [C99-based standards] (strtoll): Likewise.
22692 [C99-based standards] (strtoull): Likewise.
22693 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22694 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22695 [ISO || ISO99 || ISO11] (math.h): Likewise.
22696 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22697 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22698 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22699
d18ea0c5
AS
227002012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22701
22702 [BZ #14132]
56d25bb8
AS
22703 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22704 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22705 * intl/dgettext.c (DCGETTEXT): Likewise.
22706 * intl/gettext.c (DCGETTEXT): Likewise.
22707 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22708 * posix/regex_internal.h (gettext): Likewise.
22709 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22710 Remove declaration.
22711 * include/argz.h (__argz_count_internal)
22712 (__argz_stringify_internal): Remove declaration.
22713 (__argz_count, __argz_stringify): Declare hidden proto.
22714 * intl/dcgettext.c: Remove use of INTDEF.
22715 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22716 * string/argz-stringify.c: Likewise.
22717 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22718 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22719 Declare hidden proto.
d18ea0c5
AS
22720 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22721 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22722 Declare hidden proto.
22723 * include/stdio.h (__asprintf_internal): Don't declare.
22724 (__asprintf): Don't define as macro. Declare hidden proto.
22725 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22726 (__fsetlocking): Declare hidden proto.
22727 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22728 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22729 hidden proto.
22730 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22731 (_IO_setlinebuf): Remove use of INTUSE.
22732 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22733 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22734 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22735 Remove declaration.
22736 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22737 (_IO_do_flush): Remove use of INTUSE.
22738 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22739 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22740 (_IO_adjust_column, _IO_least_wmarker)
22741 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22742 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22743 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22744 (_IO_default_doallocate, _IO_wdefault_doallocate)
22745 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22746 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22747 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22748 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22749 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22750 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22751 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22752 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22753 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22754 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22755 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22756 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22757 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22758 proto.
22759 (_IO_flush_all_internal, _IO_adjust_column_internal)
22760 (_IO_default_uflow_internal, _IO_default_finish_internal)
22761 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22762 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22763 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22764 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22765 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22766 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22767 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22768 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22769 (_IO_file_close_internal, _IO_file_close_it_internal)
22770 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22771 (_IO_file_init_internal, _IO_file_attach_internal)
22772 (_IO_file_fopen_internal, _IO_file_read_internal)
22773 (_IO_file_sync_internal, _IO_file_seek_internal)
22774 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22775 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22776 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22777 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22778 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22779 (_IO_list_all_internal, _IO_link_in_internal)
22780 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22781 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22782 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22783 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22784 (_IO_do_write_internal, _IO_padn_internal)
22785 (_IO_getline_info_internal, _IO_getline_internal)
22786 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22787 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22788 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22789 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22790 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22791 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22792 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22793 with libc_hidden_ver, remove use of INTUSE.
22794 * libio/genops.c: Likewise.
22795 * libio/freopen.c: Likewise.
22796 * libio/freopen64.c: Likewise.
22797 * libio/iofclose.c: Likewise.
22798 * libio/iofdopen.c: Likewise.
22799 * libio/iofflush.c: Likewise.
22800 * libio/iofflush_u.c: Likewise.
22801 * libio/iofgets.c: Likewise.
22802 * libio/iofgets_u.c: Likewise.
22803 * libio/iofopen.c: Likewise.
22804 * libio/iofopncook.c: Likewise.
22805 * libio/iofread.c: Likewise.
22806 * libio/iofread_u.c: Likewise.
22807 * libio/ioftell.c: Likewise.
22808 * libio/iofwrite.c: Likewise.
22809 * libio/iogetline.c: Likewise.
22810 * libio/iogets.c: Likewise.
22811 * libio/iogetwline.c: Likewise.
22812 * libio/iopadn.c: Likewise.
22813 * libio/iopopen.c: Likewise.
22814 * libio/ioseekoff.c: Likewise.
22815 * libio/ioseekpos.c: Likewise.
22816 * libio/iosetbuffer.c: Likewise.
22817 * libio/iosetvbuf.c: Likewise.
22818 * libio/ioungetc.c: Likewise.
22819 * libio/ioungetwc.c: Likewise.
22820 * libio/iovdprintf.c: Likewise.
22821 * libio/iovsprintf.c: Likewise.
22822 * libio/iovsscanf.c: Likewise.
22823 * libio/memstream.c: Likewise.
22824 * libio/obprintf.c: Likewise.
22825 * libio/oldfileops.c: Likewise.
22826 * libio/oldiofclose.c: Likewise.
22827 * libio/oldiofdopen.c: Likewise.
22828 * libio/oldiofopen.c: Likewise.
22829 * libio/oldiopopen.c: Likewise.
22830 * libio/oldstdfiles.c: Likewise.
22831 * libio/putc.c: Likewise.
22832 * libio/setbuf.c: Likewise.
22833 * libio/setlinebuf.c: Likewise.
22834 * libio/stdfiles.c: Likewise.
22835 * libio/strops.c: Likewise.
22836 * libio/vasprintf.c: Likewise.
22837 * libio/vscanf.c: Likewise.
22838 * libio/vsnprintf.c: Likewise.
22839 * libio/vswprintf.c: Likewise.
22840 * libio/wfiledoalloc.c: Likewise.
22841 * libio/wfileops.c: Likewise.
22842 * libio/wgenops.c: Likewise.
22843 * libio/wmemstream.c: Likewise.
22844 * libio/wstrops.c: Likewise.
22845 * libio/__fpurge.c: Likewise.
22846 * libio/__fsetlocking.c: Likewise.
22847 * assert/assert.c: Likewise.
22848 * debug/fgets_chk.c: Likewise.
22849 * debug/fgets_u_chk.c: Likewise.
22850 * debug/fread_chk.c: Likewise.
22851 * debug/fread_u_chk.c: Likewise.
22852 * debug/gets_chk.c: Likewise.
22853 * debug/obprintf_chk.c: Likewise.
22854 * debug/vasprintf_chk.c: Likewise.
22855 * debug/vdprintf_chk.c: Likewise.
22856 * debug/vsnprintf_chk.c: Likewise.
22857 * debug/vsprintf_chk.c: Likewise.
22858 * malloc/mtrace.c: Likewise.
22859 * misc/error.c: Likewise.
22860 * misc/syslog.c: Likewise.
22861 * stdio-common/asprintf.c: Likewise.
22862 * stdio-common/fxprintf.c: Likewise.
22863 * stdio-common/getw.c: Likewise.
22864 * stdio-common/isoc99_fscanf.c: Likewise.
22865 * stdio-common/isoc99_scanf.c: Likewise.
22866 * stdio-common/isoc99_vfscanf.c: Likewise.
22867 * stdio-common/isoc99_vscanf.c: Likewise.
22868 * stdio-common/isoc99_vsscanf.c: Likewise.
22869 * stdio-common/printf-prs.c: Likewise.
22870 * stdio-common/printf_fp.c: Likewise.
22871 * stdio-common/printf_fphex.c: Likewise.
22872 * stdio-common/printf_size.c: Likewise.
22873 * stdio-common/putw.c: Likewise.
22874 * stdio-common/scanf.c: Likewise.
22875 * stdio-common/sprintf.c: Likewise.
22876 * stdio-common/tmpfile.c: Likewise.
22877 * stdio-common/vfprintf.c: Likewise.
22878 * stdio-common/vfscanf.c: Likewise.
22879 * stdlib/strfmon_l.c: Likewise.
22880 * sunrpc/openchild.c: Likewise.
22881 * sunrpc/xdr_stdio.c: Likewise.
22882 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22883 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22884
d6c33fda
RM
228852012-05-24 Roland McGrath <roland@hack.frob.com>
22886
c1487492
RM
22887 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22888
22889 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22890 in the third column, to generate for the shared library an IFUNC
22891 that uses _dl_vdso_vsym.
22892 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22893 * Makeconfig (object-suffixes-noshared): New variable.
22894
22895 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22896 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22897 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22898 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22899
d6c33fda
RM
22900 [BZ #14132]
22901 * include/sys/time.h (__gettimeofday): Remove macro.
22902 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22903 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22904 Remove INTDEF.
22905 (__gettimeofday): Add libc_hidden_def.
22906 (gettimeofday): Add libc_hidden_weak.
22907 * sysdeps/mach/gettimeofday.c: Likewise.
22908 * sysdeps/posix/gettimeofday.c: Likewise.
22909 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22910 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22911 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22912 (__gettimeofday_internal): Remove strong_alias.
22913 (__gettimeofday): Add libc_hidden_def.
22914 (gettimeofday): Add libc_hidden_weak.
22915 * sysdeps/unix/syscalls.list (gettimeofday):
22916 Remove __gettimeofday_internal alias.
22917
b5a2bbe6
L
229182012-05-24 Daniel Jacobowitz <drow@false.org>
22919 H.J. Lu <hongjiu.lu@intel.com>
22920
22921 [BZ #12495]
22922 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22923 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22924 (largebin_index_32_big): New.
22925 (largebin_index): Use it for 16-byte alignment.
22926 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22927 correction with front_misalign.
22928
cfba4fda
L
229292012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22930
7f907421
L
22931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22933 Likewise.
22934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22935 Likewise.
22936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22937 Likewise.
22938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22939 Likewise.
22940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22941 Likewise.
22942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22943 Likewise.
22944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22945 Likewise.
22946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22947 Likewise.
22948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22949 Likewise.
22950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22951 Likewise.
22952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22953 Likewise.
22954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22955 Likewise.
22956
cfba4fda
L
22957 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22958 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22959
80bad0cc
JM
229602012-05-24 Joseph Myers <joseph@codesourcery.com>
22961
7a25eb06
JM
22962 [BZ #10846]
22963 [BZ #14036]
22964 * math/libm-test.inc (exp_test): Add test from bug 14036.
22965 (pow_test): Add test from bug 10846.
22966
795405f9
JM
22967 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22968 and other flags.
22969 (special_function): Do not include flags in test name.
22970 (parse_args): Likewise.
22971 * sysdeps/i386/fpu/libm-test-ulps: Update.
22972 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22973 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22974 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22976
80bad0cc
JM
22977 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22978 exceptions.
22979 * math/libm-test.inc ("Philosophy"): Update comment about
22980 exception testing.
22981 (UNDERFLOW_EXCEPTION): New macro.
22982 (UNDERFLOW_EXCEPTION_OK): Likewise.
22983 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22984 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22985 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22986 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22987 (INVALID_EXCEPTION_OK): Update value.
22988 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22989 (OVERFLOW_EXCEPTION_OK): Likewise.
22990 (IGNORE_ZERO_INF_SIGN): Likewise.
22991 (test_exceptions): Handle underflow exceptions.
22992 (acos_test): Update for underflow exception expectations.
22993 (cexp_test): Likewise.
22994 (clog_test): Likewise.
22995 (clog10_test): Likewise.
22996 (csqrt_test): Likewise.
22997 (ctan_test): Likewise.
22998 (ctanh_test): Likewise.
22999 (exp_test): Likewise.
23000 (exp10_test): Likewise.
23001 (exp2_test): Likewise.
23002 (expm1_test): Likewise.
23003 (fma_test): Likewise.
23004 (j0_test): Likewise.
23005 (jn_test): Likewise.
23006 (nexttoward_test): Likewise.
23007 (pow_test): Likewise.
23008 (scalbn_test): Likewise.
23009 (scalbln_test): Likewise.
23010 (tan_test): Likewise.
23011 (y1_test): Likewise.
23012 * sysdeps/i386/fpu/libm-test-ulps: Update.
23013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23014
9e0e3d0b
DM
230152012-05-23 David S. Miller <davem@davemloft.net>
23016
23017 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23018 (__libc_sigaction): Remove unused local variables.
23019
ccd0a08f
L
230202012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23021
23022 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23023
62bdf9a6
PE
230242012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23025
f8591f80
PE
23026 mktime: avoid signed integer overflow
23027 * time/mktime.c (__mktime_internal): Do not mishandle the case
23028 where diff == INT_MIN.
23029
94c7d826
PE
23030 mktime: simplify computation of average
23031 * time/mktime.c (ranged_convert): Use new time_t_avg function
23032 instead of rolling our own (probably-slower) code.
23033
ce73d683
PE
23034 mktime: do not assume signed right shift propagates sign bit
23035 * time/mktime.c (isdst_differ): New static function.
23036 (__mktime_internal): No need to normalize tm_isdst now.
23037 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23038 tm_isdst values.
23039
72a22e59
PE
23040 mktime: merge another wrapv change from gnulib
23041 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23042 from some compilers.
23043
68605433
PE
23044 mktime: remove incorrect attempt at unusual arithmetics
23045 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23046 The code didn't really work on such machines anyway.
23047 (TYPE_MINIMUM): Assume two's complement.
23048 (twos_complement_arithmetic): Verify that long_int and time_t
23049 are two's complement (or unsigned, in the latter case).
23050
03cf7fe3
PE
23051 mktime: check signed shifts on long_int and time_t, too
23052 * time/mktime.c (SHR): Check that shifts work as desired
23053 on the types long_int and time_t too, as SHR is used on
23054 such types.
23055
f04dfbc2
PE
23056 mktime: do not assume 'long' is wide enough
23057 * time/mktime.c (verify): Move decl up.
23058 (long_int): New type.
23059 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23060 to remove assumption in the code that 'long' is wide enough to
23061 store year values. This assumption is not true on x32 and on
23062 some non-glibc platforms.
23063
62bdf9a6
PE
23064 mktime: merge wrapv change from gnulib
23065 * time/mktime.c (WRAPV): New macro.
23066 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23067 (guess_time_tm, __mktime_internal): Do not assume that signed
23068 integer overflow wraps around; modern compilers generate code
23069 where this assumption is no longer valid.
23070
5e292e4f
L
230712012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23072
23073 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23074 Replace "jmp L(pseudo_end)" with "ret".
23075 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23076 Likewise.
23077
8caf8c87
AJ
230782012-05-23 Andreas Jaeger <aj@suse.de>
23079
23080 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23081 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23082
1a09dc56
AJ
230832012-05-23 Andreas Jaeger <aj@suse.de>
23084 Maximilian Attems <max@stro.at>
23085
23086 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23087 New macros.
23088
1c87aba0
L
230892012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23090
23091 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23092 code so that pseudo_end is just ret and the stack pointer is
23093 correct also for static library in error case.
23094
40e45bd5
JM
230952012-05-23 Joseph Myers <joseph@codesourcery.com>
23096
c2670533
JM
23097 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23098 move to syscalls.list.
23099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23103
40e45bd5
JM
23104 * manual/install.texi (Running make install): Do not mention Linux
23105 kernel version for which pt_chown is not needed.
23106 (Linux): Do not mention problems with nscd with 2.0 kernels.
23107 * INSTALL: Regenerated.
23108
be08eda5
AJ
231092012-05-23 Andreas Jaeger <aj@suse.de>
23110
23111 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23112 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23113 macro.
23114 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23115 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23116 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23117 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23118 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23119 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23120 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23121 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23122 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23123 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23124 * sysdeps/unix/sysv/linux/bits/in.h
23125 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23126
a6a056bb
RM
231272012-05-22 Roland McGrath <roland@hack.frob.com>
23128
23129 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23130 (PREPARE_VERSION): Just use assert instead, it will be elided
23131 under [NDEBUG] anyway.
23132
c9009328
L
231332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23134
23135 * sysdeps/unix/sysv/linux/Makefile: Include
23136 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 23137 (sysdep_routines): Remove sysctl.
c9009328
L
23138 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23139 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23140 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23141 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23142 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23143
73338355
AJ
231442012-05-22 Andreas Jaeger <aj@suse.de>
23145
23146 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23147 that pseudo_end is just ret and the stack pointer is correct also
23148 for static library in error case.
23149
d44638b0
PP
231502012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23151
23152 [BZ #14122]
23153 * nss/nsswitch.c (defconfig_entries): New variable.
23154 (__nss_database_lookup): Don't leak defconfig entries.
23155 (nss_parse_service_list): Don't leak on error paths.
23156 (free_database_entries): New function.
23157 (free_defconfig): New function.
23158 (free_mem): Move common code to free_database_entries.
23159
31a39bd8
L
231602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23161
da0331a8
L
23162 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23163 Add arch_prctl.
23164 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23165
31a39bd8
L
23166 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23167 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23168 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23169 New macro.
23170 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23171 (INTERNAL_SYSCALL_TYPES): Likewise.
23172 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23173 (LOAD_REGS_TYPES_[1-6]): Likewise.
23174 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23175 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23176
45470df3
AZ
231772012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23178
23179 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23180 copysignl for GLIBC_2_0.
23181 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23182 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23183 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23184 logbl for GLIBC_2_0.
23185 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23186 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23187
98a61bcb
L
231882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23189
a4f6e481
L
23190 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23191 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23192
f63d5db6
L
23193 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23194 Use "neg %eax".
23195
98a61bcb
L
23196 * time/mktime.c: Update copyright years.
23197
95770f14
PE
231982012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23199
6226efbd
PE
23200 mktime: merge comment-quoting-style change from gnulib
23201 * time/mktime.c: Quote 'like this' in comments.
23202 The GNU coding standards suggest that we no longer quote `like this',
23203 as "`" and "'" are typically rendered asymmetrically nowadays.
23204 The typical gnulib style is to quote 'like this' when quoting
23205 code, and "like this" when quoting English.
23206
b99e4f78
PE
23207 * time/mktime.c (compile-command): Add "-I.".
23208
643e01e6
PE
23209 mktime: merge mktime-internal.h change from gnulib
23210 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23211
2554247d
PE
23212 mktime: merge time_r change from gnulib
23213 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23214
826dd0ab
PE
23215 mktime: merge DEBUG change from gnulib
23216 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23217 case system <time.h> has a #define.
23218
bd83aabe
PE
23219 mktime: merge <sys/types.h> change from gnulib
23220 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23221 since <time.t> is now guaranteed to define time_t.
23222
95770f14
PE
23223 mktime: merge HAVE_CONFIG_H change from gnulib
23224 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23225
5e1a27a9
L
232262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23227
0e44a77e
L
23228 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23229 Use "neg %eax".
23230
5e1a27a9
L
23231 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23232 __rlim_t cast.
23233 (struct rusage): Use anonymous union to pad each field to
23234 __syscall_slong_t.
23235
46259bec
DM
232362012-05-21 David S. Miller <davem@davemloft.net>
23237
23238 * Makefules (o-iterator): Remove .s cases.
23239 (compile-command.s): Delete.
23240 (COMPILE.s): Delete.
23241 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23242
59f0c22e
JM
232432012-05-21 Joseph Myers <joseph@codesourcery.com>
23244
23245 * configure.in (libc_cv_predef_stack_protector): Only consider
23246 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23247 * configure: Regenerated.
23248
20c07380
L
232492012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23250
bbb3154b
L
23251 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23252 New macro. Use R*LP on int and pointer.
23253 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
23254 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23255 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
23256 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23257
20c07380
L
23258 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23259 [__WORDSIZE_TIME64_COMPAT32] instead of
23260 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23261 (struct utmp): Likewise.
23262 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23263 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23264 Renamed to ...
23265 (__WORDSIZE_TIME64_COMPAT32): This.
23266 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23267 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23268 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23269 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23270 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23271 (__WORDSIZE_TIME64_COMPAT32): New macro.
23272
d8d1017e
AJ
232732012-05-21 Andreas Jaeger <aj@suse.de>
23274
23275 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23276 only if [SHARED]. Add prototype for __wcschr_ia32.
23277
6c7fb145
RM
232782012-05-21 Roland McGrath <roland@hack.frob.com>
23279
23280 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23281 of %rbp unmolested in the jmp_buf while mangling the low bits.
23282 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23283 unmolested high bits of %rbp while demangling the low bits.
23284 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23285
66274218
AJ
232862012-05-21 Andreas Jaeger <aj@suse.de>
23287
07c58f8f
AJ
23288 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23289 * sunrpc/svc_simple.c: Use it for registerrpc.
23290 * sunrpc/xcrypt.c: Use it for passwd2des.
23291
66274218
AJ
23292 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23293
61f65140
L
232942012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23295
23296 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23297 Don't define if [__SYSCALL_WORDSIZE != 32].
23298 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23299 New macro.
23300
5fefb436
AJ
233012012-05-21 Bruno Haible <bruno@clisp.org>
23302 Andreas Jaeger <aj@suse.de>
23303
23304 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23305 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23306 inptr and inend for must_buffer_ch.
23307 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23308 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23309 * stdio-common/Makefile (tests): Remove bug15.
23310 (bug15-ENV): Remove macro.
23311 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23312 anymore.
23313
d8e272ab
AJ
233142012-05-19 Andreas Jaeger <aj@suse.de>
23315 Roland McGrath <roland@hack.frob.com>
23316
23317 * manual/contrib.texi: Completely rewritten. It contains now an
23318 alphabetical list of contributors and their contributions.
23319
4a56a162
RH
233202012-05-21 Richard Henderson <rth@twiddle.net>
23321
23322 * misc/getauxval.c (__getauxval): Use unsigned long int.
23323 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23324 (getauxval): Use unsigned long int.
23325
d024d23c
L
233262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23327
23328 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23329
cbc00a03
RM
233302012-05-21 Roland McGrath <roland@hack.frob.com>
23331
23332 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23333 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23334 __alignof__ (long double).
23335
478143fa
AZ
233362012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23337
23338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23339
c7683a6d
RH
233402012-05-20 Richard Henderson <rth@twiddle.net>
23341
23342 * misc/getauxval.c: New file.
23343 * misc/sys/auxv.h: New file.
23344 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23345 (routines): Add getauxval.
23346 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23347 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23348 * elf/dl-sysdep.c (_dl_auxv): Remove.
23349 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23350 * elf/dl-support.c (_dl_auxv): New variable.
23351 (_dl_aux_init): Initialize it.
23352 * manual/startup.texi (Auxiliary Vector): New node.
23353 * sysdeps/generic/bits/hwcap.h: New file.
23354 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23355 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23356 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23357 * sysdeps/sparc/sysdep.h: ... here. Include it.
23358 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23359 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
23360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23361 Update.
c7683a6d
RH
23362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23365 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23367 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23370
a6f1845d
AZ
233712012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23372
23373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23374
cbcbe830
DM
233752012-05-19 David S. Miller <davem@davemloft.net>
23376
23377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23378
e0b16cc2
JM
233792012-05-19 Joseph Myers <joseph@codesourcery.com>
23380
23381 [BZ #14123]
23382 * math/s_ccosh.c: Include <float.h>
23383 (__ccosh): Avoid internal overflow calculating sinh and cosh
23384 values before multiplying by sin and cos values.
23385 * math/s_ccoshf.c: Likewise.
23386 * math/s_ccoshl.c: Likewise.
23387 * math/s_csin.c: Likewise.
23388 * math/s_csinf.c: Likewise.
23389 * math/s_csinl.c: Likewise.
23390 * math/s_csinh.c: Likewise.
23391 * math/s_csinhf.c: Likewise.
23392 * math/s_csinhl.c: Likewise.
23393 * math/libm-test.inc (ccos_test): Add more tests.
23394 (ccosh_test): Likewise.
23395 (csin_test): Likewise.
23396 (csinh_test): Likewise.
23397 * sysdeps/i386/fpu/libm-test-ulps: Update.
23398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23399
6ad13e08
L
234002012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23401
f66f0ce8
L
23402 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23403 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23404
6ad13e08
L
23405 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23406
b1d072a7
JM
234072012-05-19 Joseph Myers <joseph@codesourcery.com>
23408
23409 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23410 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23411 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23412 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23413 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23414 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23415 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23416 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23417 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23418 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23419 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23420 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23421 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23422 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23423 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23424 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23425 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23426 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23427 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23428 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23429 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23430 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23431 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23432 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23433 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23434 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23435 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23436 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23437 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23438 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23439 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23440
9eae47cb
AJ
234412012-05-18 Andreas Jaeger <aj@suse.de>
23442
23443 * csu/.gitignore: Delete.
23444
bb07f69f
L
234452012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23446
23447 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23448 (timex): Use __syscall_slong_t.
23449
e6bdb741
AJ
234502012-05-18 Andreas Jaeger <aj@suse.de>
23451 Carlos O'Donell <carlos_odonell@mentor.com>
23452
23453 * manual/install.texi (Configuring and compiling): Update
23454 description about files modified in the source directory.
d6c33fda 23455 * INSTALL: Regenerated.
e6bdb741 23456
1b74487e
L
234572012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23458
23459 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23460 value. Use "or" to set return value to -1.
23461 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23462 negate return value.
23463
a88b64b9
TMQMF
234642012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23465
23466 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23467 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23468 failure if the compiler has Graphite support disabled.
23469 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23470 Likewise.
23471 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23472 CFLAGS-memmove.c): Likewise.
23473 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23474 Likewise.
23475
3707636e
L
234762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23477
610b8622
L
23478 * sysdeps/x86_64/x32/_itoa.h: New file.
23479
7cd195df
L
23480 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23481 getdents system call only if kernel and user dirents have the
23482 same d_ino and d_off.
23483
94b07d20
L
23484 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23485 LLONG_MAX != LONG_MAX.
23486 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23487 (_fitoa_word): Likewise.
23488
18298070
L
23489 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23490 years.
23491 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23492 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23493 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23494
553c7ea4
L
23495 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23496 include <bits/wordsize.h>. Check __x86_64__ instead of
23497 __WORDSIZE.
23498 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23499 if __x86_64__ is defined. Use anonymous union on fpstate.
23500
3707636e
L
23501 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23502 anonymous union.
23503
b53ef01a
AS
235042012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23505
37fb1dc0
AS
23506 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23507 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23508 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23509 Refer to _rtld_local_ro instead of _rtld_global_ro.
23510 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23511 Likewise.
23512 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23513 Likewise.
23514 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23515 Likewise.
23516 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23517 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23518 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23519
b53ef01a
AS
23520 * sysdeps/powerpc/powerpc32/dl-machine.c
23521 (__elf_machine_runtime_setup) [PROF]: Don't reference
23522 _dl_prof_resolve.
23523
7a185db2
AJ
235242012-05-18 Andreas Jaeger <aj@suse.de>
23525
23526 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23527 function only available for GCCs before 3.4 since GCC 3.4
23528 introduced a builtin.
23529 (lrint): Likewise.
23530 (llrintf): Likewise.
23531 (llrint): Likewise.
23532 (fmaxf): Likewise.
23533 (fmax): Likewise.
23534 (fminf): Likewise.
23535 (fmin): Likewise.
23536 (rint): Likewise.
23537 (rintf): Likewise.
23538 (nearbyint): Likewise.
23539 (nearbyintf): Likewise.
23540 (ceil): Likewise.
23541 (ceilf): Likewise.
23542 (floor): Likewise.
23543 (floorf): Likewise.
23544
3e5aef87
L
235452012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23546
428bd707
L
23547 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23548 on both fields and cast pointer to __syscall_ulong_t.
23549
3e5aef87
L
23550 * bits/types.h (__fsword_t): New type.
23551 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23552 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23553 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23554 (__FSWORD_T_TYPE): Likewise.
23555 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23556 (__FSWORD_T_TYPE): Likewise.
23557 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23558 (__FSWORD_T_TYPE): Likewise.
23559 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23560 (__FSWORD_T_TYPE): Likewise.
23561 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23562 __SWORD_TYPE with __fsword_t.
23563 (statfs64): Likewise.
23564
1ba7c3dc
DM
235652012-05-17 David S. Miller <davem@davemloft.net>
23566
23567 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23568
59910343
AJ
235692012-05-17 Andreas Jaeger <aj@suse.de>
23570
23571 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23572 warning.
23573
2e4c1e9e
L
235742012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23575
23576 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23577
de7f5ce7
AJ
235782012-05-17 Andreas Jaeger <aj@suse.de>
23579
23580 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23581 when it is used.
23582
286abc3d
CM
235832012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23584
23585 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23586
477cc68e
L
235872012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23588
23589 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23590 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23591
1a0994f5
CD
235922012-05-17 Andreas Jaeger <aj@suse.de>
23593 Carlos O'Donell <carlos_odonell@mentor.com>
23594
23595 [BZ #14059]
23596 * sysdeps/x86_64/multiarch/init-arch.h
23597 (bit_YMM_Usable): Rename to...
23598 (bit_AVX_Usable): ... this.
23599 (bit_FMA4_Usable): New macro.
23600 (bit_XMM_state): New macro.
23601 (bit_YMM_state): New macro.
23602 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23603 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23604 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23605 (CPUID_OSXSAVE): New macro.
23606 (CPUID_AVX): New macro.
23607 (CPUID_FMA4): New macro.
23608 (index_YMM_Usable): Rename to...
23609 (index_AVX_Usable): ... this.
23610 (HAS_AVX): Use HAS_ARCH_FEATURE.
23611 (HAS_FMA4): Likewise.
23612 (HAS_YMM_USABLE): Remove.
23613 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23614 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23615 are present.
23616 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23617 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23618 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23619 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23620 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23621
0af797de
CM
236222012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23623
23624 * math/libm-test.c: Support platforms without multiple rounding modes.
23625 * math/bug-nextafter.c: Support platforms without FP exceptions.
23626 * math/bug-nexttoward.c: Likewise.
23627 * math/test-fenv.c: Likewise.
23628 * math/test-misc.c: Likewise.
23629 * stdlib/bug-getcontext.c: Likewise.
23630
e39745ff
AJ
236312012-05-17 Andreas Jaeger <aj@suse.de>
23632
23633 * manual/examples/search.c (critter_cmp): Change signature to
23634 avoid warnings.
23635 * manual/string.texi (Collation Functions): Likewise.
23636
48970aba
L
236372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23638
23639 * bits/types.h: Fold copyright years.
23640 * bits/typesizes.h: Likewise.
23641 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23642 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23643 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23644 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23645 * time/time.h: Likewise.
23646
bedee953
PP
236472012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23648
23649 [BZ #208]
23650 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23651 in instead of returning them. Return void.
23652 (__libc_mallinfo): Accumulate over all arenas.
23653 (__malloc_stats): Adjust for change in int_mallinfo interface.
23654
61653dfb
RM
236552012-05-16 Roland McGrath <roland@hack.frob.com>
23656
30b99d79
RM
23657 [BZ #10375]
23658 * configure.in (NM): Add AC_CHECK_TOOL for it.
23659 (libc_extra_cflags): New substituted variable.
23660 Check for -fstack-protector being used implicitly.
23661 * configure: Regenerated.
23662 * config.make.in (config-extra-cflags): New variable,
23663 gets @libc_extra_cflags@.
23664 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23665
61653dfb
RM
23666 [BZ #10375]
23667 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23668 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23669 * configure: Regenerated.
23670 * config.make.in (CPPUNDEFS): New substituted variable.
23671 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23672 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23673 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23674
661768bb
L
236752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23676
23677 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23678 (mq_attr): Use __syscall_slong_t.
23679
d4261567
L
236802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23681
23682 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23683 Check __x86_64__ instead of __WORDSIZE.
23684 (_STAT_VER_LINUX): Likewise.
23685 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23686 __syscall_ulong_t and __syscall_slong_t.
23687 (stat64): Likewise.
23688
cf3ff365
L
236892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23690
23691 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23692
76cf3e4d
L
236932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23694
23695 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23696
a637753a
L
236972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23698
23699 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23700 __syscall_ulong_t.
23701
d5e05119
L
23702 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23703 include <bits/wordsize.h>. Check __x86_64__ instead of
23704 __WORDSIZE.
23705 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23706 defined.
23707 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23708
f62ee380
L
23709 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23710 include <bits/wordsize.h>. Check __x86_64__ instead of
23711 __WORDSIZE.
23712 (user_regs_struct): Use "__extension__ unsigned long long"
23713 instead of "unsigned long" if __x86_64__ is defined.
23714 (user): Likewise. Pad after pointer field if __ILP32__ is
23715 defined.
23716
4e124ced
JM
237172012-05-16 Joseph Myers <joseph@codesourcery.com>
23718
6a3951a0
JM
23719 * configure.in (makeinfo): Require version 4.5 or later. Allow
23720 versions 5 to 9.
23721 * configure: Regenerated.
23722 * manual/install.texi (texinfo): Increase version requirement to
23723 4.5 or later.
23724 * INSTALL: Regenerated.
23725
4e124ced
JM
23726 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23727
953ca31a
L
237282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23729
23730 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23731
617aca05
L
23732 * sysdeps/x86_64/x32/ffs.c: New file.
23733
5762f7ae
L
23734 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23735 __syscall_ulong_t.
23736 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23737 defined. Use __syscall_ulong_t.
23738 (shminfo): Use __syscall_ulong_t.
23739 (shm_info): Likewise.
23740
a26b6856
L
23741 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23742 __syscall_ulong_t.
23743
cb2b9ef7
L
23744 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23745 <bits/wordsize.h>.
23746 (msgqnum_t): Use __syscall_ulong_t.
23747 (msglen_t): Likewise.
23748 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23749 __syscall_ulong_t.
23750
34683bb0
L
23751 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23752 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23753
84a68786
L
23754 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23755
48baa5f1
L
23756 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23757 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23758
180be88b
L
23759 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23760 __syscall_slong_t.
23761
5e90c8ad
L
23762 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23763 include <bits/wordsize.h>. Check __x86_64__ instead of
23764 __WORDSIZE.
23765
23dfb58b
L
23766 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23767 "unsigned long long int" if __x86_64__ is defined.
23768 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23769
ce5d54b0
L
23770 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23771 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23772 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23773
13dc9eac
L
23774 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23775 <stdint.h>.
23776 (GET_PC): Cast to uintptr_t first.
23777 (GET_FRAME): Likewise.
23778 (GET_STACK): Likewise.
23779
a7895d15
L
23780 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23781 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23782 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23783 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23784 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23785 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23786 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23787 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23788 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23789 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23790 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23791 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23792 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23793 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23794 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23795 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23796 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23797 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23798 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23799 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23800 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23801 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23802 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23803 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23804 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23805 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23806 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23807 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23808 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23809
656416c9
AS
238102012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23811
5bd66283
AS
23812 * Makerules (+depfiles): Also collect depfiles from .oS in
23813 $(extra-objs).
23814 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23815 .oS, $(libnldbl-routines)).
23816
656416c9
AS
23817 * Makerules (native-compile-mkdep-flags): Define.
23818 * sunrpc/Makefile (extra-objs): Add $(addprefix
23819 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23820 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23821 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23822 calling $(make-target-directory).
23823
a46f2169
L
238242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23825
23826 * bits/types.h (__snseconds_t): Removed.
23827 * time/time.h (struct timespec): Replace __snseconds_t with
23828 __syscall_slong_t.
23829 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23830 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23831 Likewise.
23832 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23833 (__SNSECONDS_T_TYPE): Likewise.
23834 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23835 (__SNSECONDS_T_TYPE): Likewise.
23836 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23837 (__SNSECONDS_T_TYPE): Likewise.
23838
6af6528b
L
238392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23840
23841 * sysdeps/mach/hurd/bits/typesizes.h
23842 (__SYSCALL_SLONG_TYPE): New macro.
23843 (__SYSCALL_ULONG_TYPE): Likewise.
23844
de986b56
L
238452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23846
23847 * bits/types.h (__syscall_slong_t): New type.
23848 (__syscall_ulong_t): Likewise.
23849
23850 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23851 (__SYSCALL_ULONG_TYPE): Likewise.
23852 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23853 (__SYSCALL_SLONG_TYPE): Likewise.
23854 (__SYSCALL_ULONG_TYPE): Likewise.
23855 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23856 (__SYSCALL_SLONG_TYPE): Likewise.
23857 (__SYSCALL_ULONG_TYPE): Likewise.
23858 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23859 (__SYSCALL_SLONG_TYPE): Likewise.
23860 (__SYSCALL_ULONG_TYPE): Likewise.
23861
85736dc7
L
238622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23863
23864 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23865 Add sigaltstack-offsets.sym.
23866 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23867 <sigaltstack-offsets.h>.
23868 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23869 longjmp_msg pointer.
23870 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23871 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23872 signal stack.
23873 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23874
cc03b296
JM
238752012-05-15 Joseph Myers <joseph@codesourcery.com>
23876
a9538892
JM
23877 * elf/stackguard-macros.h: Remove file.
23878 * sysdeps/generic/stackguard-macros.h: New file.
23879 * sysdeps/i386/stackguard-macros.h: Likewise.
23880 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23881 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23882 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23883 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23884 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23885 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23886 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23887 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23888 <elf/stackguard-macros.h>.
23889
cc03b296
JM
23890 [BZ #14109]
23891 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23892 __aligned__ in attribute.
23893 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23894 (gregset_t): Likewise.
23895
93171016
L
238962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23897
23898 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23899 * sysdeps/x86_64/64/Implies-after: Here. New file.
23900 * sysdeps/x86_64/x32/Implies-after: New file.
23901
d86813a0
L
239022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23903
23904 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23905 and access return value for _dl_profile_fixup. Use R10_LP to
23906 load frame size.
23907
2953ec75
L
239082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23909
23910 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23911
3b550e9e
L
239122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23913
23914 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23915 * sysdeps/x86_64/x32/sysdep.h: New file.
23916
eda41706
L
239172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23918
23919 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23920 * sysdeps/x86_64/setjmp.S: Likewise.
23921
9ea01d93
AZ
239222012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23923
23924 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23925 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23926 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23927 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23928 remove unused global constant.
23929
02a91938
CM
239302012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23931
23932 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23933 include of <not-cancel.h>.
23934
6540185f
RM
239352012-05-15 Roland McGrath <roland@hack.frob.com>
23936
23937 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23938
509072a0
AJ
239392012-05-15 Jeff Law <law@redhat.com>
23940 Andreas Jaeger <aj@suse.de>
23941
23942 [BZ #13594]
23943 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23944 out from...
23945 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23946 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23947 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23948 code changing __hst_map_handle.map.
23949
ba75122d
RM
239502012-05-15 Roland McGrath <roland@hack.frob.com>
23951
23952 * configure.in (sysnames): Look for Implies-before and Implies-after
23953 files.
23954 * configure: Regenerated.
23955
890d8bd8
L
239562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23957
23958 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23959 8-byte data alignment with LP_SIZE alignment.
23960
f6ee6623
L
239612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23962
23963 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23964 into R10_LP.
23965
ea2626f6
L
239662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23967
23968 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23969
085f715e
L
239702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23971
23972 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23973 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23974 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23975 Likewise.
23976 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23977
be8498fc
L
239782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23979
23980 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23981 (stackinfo_sub_sp): Likewise.
23982
70bc83b9
L
239832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23984
23985 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23986 RAX_LP.
23987
9bc0b730
L
239882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23989
23990 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23991 into R*_LP.
23992
6d2850e7
L
239932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23994
23995 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23996 sizes into R*_LP.
23997
3cb84561
L
239982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23999
24000 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24001
54e2ed81
L
240022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24003
24004 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24005 into R11_LP and load __x86_64_shared_cache_size_half into
24006 R8_LP.
24007
8a17f349
L
240082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24009
24010 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24011 R8_LP.
24012
777b1eea
AZ
240132012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24014
24015 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24016 logb for POWER7.
24017 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24018 logbf for POWER7.
24019 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24020 logbl for POWER7.
24021 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24022 powerpc32/power7/fpu/s_logb.c via #include.
24023 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24024 powerpc32/power7/fpu/s_logbf.c via #include.
24025 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24026 powerpc32/power7/fpu/s_logbl.c via #include.
24027
d20d4ac2
JM
240282012-05-15 Joseph Myers <joseph@codesourcery.com>
24029
24030 * README.libm: Remove file.
24031
6cdef1ab
L
240322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24033
24034 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24035 count for x32. Use R*_LP and omit operand-size suffix.
24036
0b254d8f
L
240372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24038
24039 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24040 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24041 * sysdeps/x86_64/x32/shlib-versions: New file.
24042
ceb809dc
RM
240432012-05-14 Roland McGrath <roland@hack.frob.com>
24044
24045 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24046 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24047 Use _dl_fatal_printf instead.
24048
37f1abd4
JM
240492012-05-14 Joseph Myers <joseph@codesourcery.com>
24050
24051 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24052 set if not set by the user. Do not allow for being unset.
24053 * sysdeps/unix/sysv/linux/configure: Regenerated.
24054
11de3a33
L
240552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24056
24057 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24058 the `q' suffix from lea and replace .quad with ASM_ADDR.
24059
e02f153a
L
240602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24061
24062 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24063 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24064 instead of $17.
24065 (PTR_DEMANGLE): Likewise.
24066
520ae0fd
L
240672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24068
24069 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24070 (LP_OP): Likewise.
24071 (ASM_ADDR): Likewise.
24072 (RAX_LP): Likewise.
24073 (RBP_LP): Likewise.
24074 (RBX_LP): Likewise.
24075 (RCX_LP): Likewise.
24076 (RDI_LP): Likewise.
24077 (RSI_LP): Likewise.
24078 (RSP_LP): Likewise.
24079 (R8_LP): Likewise.
24080 (R9_LP): Likewise.
24081 (R10_LP): Likewise.
24082 (R10_LP): Likewise.
24083 (R11_LP): Likewise.
24084 (R12_LP): Likewise.
24085 (R13_LP): Likewise.
24086 (R14_LP): Likewise.
24087 (R15_LP): Likewise.
24088
b985be81
L
240892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24090
24091 * sysdeps/x86_64/x32/dl-machine.h: New file.
24092
6a4888ff
AJ
240932012-05-14 Andreas Jaeger <aj@suse.de>
24094
24095 * manual/Makefile (subdir): Remove export of subdir.
24096 (all): Remove target.
24097 (.PHONY): Remove all from list.
24098 (mkinstalldirs): Remove.
24099 (.PHONY): Remove installdirs from list.
24100 ($(inst_infodir)/libc.info): Use make-target-directory.
24101 (installdirs): Remove.
24102 (subdir_%): Remove.
24103 (glibc-targets): Remove.
24104 (lib): Remove.
24105 (stubs): Remove.
24106 ($(objpfx)stubs ../po/manual.pot): Remove.
24107 ($(objpfx)stamp%): Remove.
24108 (make-target-directory): Remove.
24109 (subdir_install): Remove.
24110 (routines): Remove.
24111 (aux): Remove.
24112 (sources): Remove.
24113 (objects): Remove.
24114 (headers): Remove.
24115
24116 [BZ #13750]
24117 * manual/.gitignore: Remove, it's not needed anymore.
24118 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24119 all files in it.
24120 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24121 directory.
24122 (texis): Renamed to $(objpfx)texis.
24123 (texis-path): New, contains path to generated files.
24124 (chapters.%): Use texis-path for complete path, add extra argument
24125 libc-texinfo.sh.
24126 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24127 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24128 (summary,texi, stamp-summary): Use complete path of
24129 files. Generate files in build dir.
24130 (dir-add.texi): Build in build dir.
24131 (libm-err.texi,stamp-libm-err): Likewise.
24132 (version.texi, stamp-version): Likewise.
24133 (.%c.texi): Likewise.
24134 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24135 (mostlyclean): Remove target.
24136 (realclean): Remove target.
24137 (generated): Add new variable with contents from mostlyclean and
24138 realclean, remove entries duplicated in common-mostlyclean, add
24139 stamp-libm-err and stamp-version.
24140 (generated-dirs): Add libc directory.
24141 ($(inst_infodir)/libc.info): Install files from build dir.
24142
24143 * manual/install.texi (Configuring and compiling): Adjust since
24144 the info files are not part of the tar ball anymore.
24145
7ac77294
AJ
241462012-05-14 Andreas Jaeger <aj@suse.de>
24147
24148 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24149 variable.
24150
ffb7875d
JM
241512012-05-14 Joseph Myers <joseph@codesourcery.com>
24152
24153 [BZ #13717]
24154 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24155 to 2.2.0 where earlier.
24156 * sysdeps/unix/sysv/linux/configure: Regenerated.
24157 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24158 Remove conditional code.
24159 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24160 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24161 Remove conditional code.
24162 [!__NR_lchown]: Likewise.
24163 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24164 [__NR_lchown]: Likewise.
24165 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24166 comment referencing __ASSUME_LCHOWN_SYSCALL.
24167 * sysdeps/unix/sysv/linux/i386/sigaction.c
24168 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24169 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24170 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24171 Remove conditional code.
24172 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24173 (__protocol_available): Remove #if 0 code.
24174 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24175 conditional code.
24176 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24177 * sysdeps/unix/sysv/linux/kernel-features.h
24178 (__ASSUME_GETCWD_SYSCALL): Don't define.
24179 (__ASSUME_REALTIME_SIGNALS): Likewise.
24180 (__ASSUME_PREAD_SYSCALL): Likewise.
24181 (__ASSUME_PWRITE_SYSCALL): Likewise.
24182 (__ASSUME_POLL_SYSCALL): Likewise.
24183 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24184 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24185 non-SPARC.
24186 (__ASSUME_SIOCGIFNAME): Don't define.
24187 (__ASSUME_MSG_NOSIGNAL): Likewise.
24188 (__ASSUME_SENDFILE): Define unconditionally.
24189 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24190 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24191 conditional code.
24192 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24193 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24194 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24195 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24196 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24197 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24198 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24200 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24201 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24203 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24204 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24206 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24207 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24209 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24210 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24212 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24213 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24215 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24216 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24218 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24219 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24221 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24222 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24223 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24224 Remove conditional code.
24225 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24226 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24227 Remove conditional code.
24228 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24229 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24230 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24231 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24232 Remove conditional code.
24233 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24234 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24235 Remove conditional code.
24236 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24237 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24238 Remove conditional code.
24239 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24240 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24241 Remove conditional code.
24242 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24243 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24244 Remove conditional code.
24245 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24246 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24247 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24248 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24249 * sysdeps/unix/sysv/linux/sigaction.c
24250 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24251 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24252 * sysdeps/unix/sysv/linux/sigpending.c
24253 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24254 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24255 * sysdeps/unix/sysv/linux/sigprocmask.c
24256 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24257 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24258 * sysdeps/unix/sysv/linux/sigsuspend.c
24259 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24260 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24261 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24262 (__libc_missing_rt_sigs): Remove.
24263 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24264 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24265 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24266 Remove conditional code.
24267 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24268 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24269 return 1.
24270 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24271 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24272 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24273 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24274
1bfb7291
AJ
242752012-05-14 Andreas Jaeger <aj@suse.de>
24276
caae5a81
AJ
24277 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24278 it's not used in glibc.
24279 (__coshm1): Likewise.
24280 (__acosh1p): Likewise.
24281 (__sgn): Likewise.
24282
1bfb7291
AJ
24283 * manual/string.texi (Copying and Concatenation): Add missing
24284 variable in concat example.
24285 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24286
c044d724
L
242872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24288
144c5467 24289 [BZ #14103]
c044d724
L
24290 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24291 __builtin_clzl with __builtin_clzll.
24292
2523c62b
L
242932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24294
24295 [BZ #14104]
24296 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24297 libc_freeres_ptr.
24298
d7bb4c42
LD
242992012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24300
24301 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24302 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24303 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24304 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24305
9dc4e1fb
MF
243062012-05-14 Mike Frysinger <vapier@gentoo.org>
24307
24308 * NEWS: Update ia64 info.
24309
c7df0112
AS
243102012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24311
24312 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24313 used as bcopy.
24314
dc70356c
TS
243152012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24316
24317 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24318 * sysdeps/unix/syscalls.list (dup3): Likewise.
24319 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24320 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24321
9fb1a21f
L
243222012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24323
24324 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24325 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24326
4822a2a5
L
243272012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24328
24329 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24330 thread pointer.
24331 (TLS_IE): Use mov/add instead of movq/addq to load thread
24332 pointer.
24333 (TLS_GD_PREFIX): New.
24334 (TLS_GD): Use it.
24335
842b81d6
DM
243362012-05-11 David S. Miller <davem@davemloft.net>
24337
24338 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24339 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24340 (_FPU_SETCW): Likewise.
24341
1cf463cd
L
243422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24343
24344 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24345 is 32-byte aligned.
24346
60cc4a18
AS
243472012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24348
24349 [BZ #11837]
24350 * iconvdata/gb18030.c: Update tables.
24351 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24352 characters specially.
24353 (BODY for TO_LOOP): Add encoding of missing ranges.
24354
febb44a4
TS
243552012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24356
24357 [BZ #13673]
24358 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24359 * sysdeps/mach/hurd/dup3.c: Likewise.
24360 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24361 * sysdeps/powerpc/memmove.c:: Likewise.
24362
0a10fb9e
L
243632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24364
24365 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24366 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24367
df8a552f
L
243682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24369
24370 * elf/elf.h (R_X86_64_RELATIVE64): New.
24371 (R_X86_64_NUM): Updated.
24372 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24373 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24374 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24375 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24376 tst-quad1pie tst-quad2pie
24377 (modules-names): Add tst-quadmod1 tst-quadmod2.
24378 ($(objpfx)tst-quad1): New dependency.
24379 ($(objpfx)tst-quad2): Likewise.
24380 ($(objpfx)tst-quad1pie): Likewise.
24381 ($(objpfx)tst-quad2pie): Likewise.
24382 * sysdeps/x86_64/tst-quad1.c: New file.
24383 * sysdeps/x86_64/tst-quad1pie.c: New file.
24384 * sysdeps/x86_64/tst-quad2.c: Likewise.
24385 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24386 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24387 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24388 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24389 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24390
f34d6f84
ST
243912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24392
f42d41d1
ST
24393 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24394 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24395 * streams/stropts.h (t_scalar_t): Define type.
24396
3c3571fc
ST
24397 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24398 (_PATH_PRESERVE): Set to "/var/lib".
24399 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24400
61f06bd3
ST
24401 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24402 instead of int.
24403
918d4d71
ST
24404 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24405 if __dir_mkfile succeeded.
24406
f34d6f84
ST
24407 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24408 checking for _hurd_dtablesize. Unlock it right after having
24409 finished _hurd_dtable allocation.
24410
10589b4a
TS
244112012-05-10 Thomas Schwinge <thomas@schwinge.name>
24412
674cdbc7
TS
24413 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24414 * sysdeps/mach/hurd/configure: Regenerated.
24415 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24416 special-casing to...
24417 * sysdeps/gnu/configure.in: ... this new file.
24418 * sysdeps/unix/sysv/linux/configure: Regenerated.
24419 * sysdeps/gnu/configure: New generated file.
24420
8e41b99f
TS
24421 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24422 for Linux: use nsec instead of usec, as well as:
24423 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24424 members of type struct timespec.
24425 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24426 New macros.
24427 (struct stat64): Likewise.
24428 (_STATBUF_ST_NSEC): New macro.
24429 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24430
10589b4a
TS
24431 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24432 __strtoul_internal rather than strtoul.
24433
63643c85
PT
244342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24435
24436 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24437 and reject them.
24438
3faebe6a
ST
244392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24440
24441 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24442 which preserves existing values.
24443 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24444
c6474b07
PT
244452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24446
24447 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24448 TIMEOUT values. Return EINVAL for NFDS values either negative or
24449 greater than FD_SETSIZE.
24450
1043890b
ST
244512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24452
24453 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24454 allocated, call __vm_protect to finish enabling the existing space, and
24455 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24456 allocate the remainder.
24457
37ed8b9b
PT
244582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24459
24460 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24461 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24462
db653660
ST
244632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24464
37ed8b9b
PT
24465 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24466 sysdeps/mach/hurd/readlink.c.
b29d4053 24467
db653660
ST
24468 * posix/tst-sysconf.c (posix_options): Only use
24469 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24470 _POSIX_SYNCHRONIZED_IO when they are defined
24471 * sysdeps/mach/hurd/bits/posix_opt.h:
24472 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24473 (_XOPEN_REALTIME): Undefine macro.
24474 (_XOPEN_REALTIME_THREADS): Undefine macro.
24475 (_XOPEN_SHM): Undefine macro.
24476 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24477 macro to -1.
24478 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24479 macro to -1.
24480 (_POSIX_ASYNC_IO): Undefine macro.
24481 (_POSIX_PRIORITIZED_IO): Undefine macro.
24482 (_POSIX_SPIN_LOCKS): Define macro to -1.
24483
ee16e894
ST
24484 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24485 SA_NODEFER, SA_RESETHAND.
24486 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24487 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24488 F_DUPFD_CLOEXEC.
24489
6103ae3b
TS
244902012-05-10 Thomas Schwinge <thomas@schwinge.name>
24491
24492 * elf/Makefile (pldd-modules): Define unconditionally.
24493
80b4e5f3
TS
244942012-05-10 Thomas Schwinge <thomas@schwinge.name>
24495
24496 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24497
edadcbd6
ST
244982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24499
24500 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24501 Return ENOENT when name is empty.
24502 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24503
80694780
TS
245042012-05-10 Thomas Schwinge <thomas@schwinge.name>
24505
1792c087
TS
24506 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24507
80694780
TS
24508 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24509
6b645f0d
ST
245102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24511
80694780
TS
24512 Fix mlock in all cases except non-readable pages.
24513 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24514 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 24515
6b645f0d
ST
24516 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24517 (__mkdir): When path is `/', just fail with EEXIST.
24518 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24519
e468f8a3
TS
245202012-05-10 Thomas Schwinge <thomas@schwinge.name>
24521
24522 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24523 <sys/uio.h> (for writev).
24524 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24525 and <sys/param.h> (for MIN).
24526
a4186cff
PT
245272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24528
24529 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24530 REQUESTED_TIME. Properly set the remaining time and return EINTR
24531 if interrupted.
24532
510bbf14
TS
245332012-05-10 Thomas Schwinge <thomas@schwinge.name>
24534
24535 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24536 Depend on against $(link-rpcuserlibs).
24537
5d5722e8
ST
245382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24539
a4186cff
PT
24540 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24541 (__libc_stack_end): Do not use attribute_relro.
24542 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24543 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 24544 to libthread-provided value.
a4186cff
PT
24545 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24546 attribute_relro.
5d5722e8 24547
37233df9
TS
245482012-05-10 Thomas Schwinge <thomas@schwinge.name>
24549
be971a2b
TS
24550 [BZ #3748]
24551 * bits/libc-lock.h (__libc_once_get): New macro.
24552 * sysdeps/mach/bits/libc-lock.h: Likewise.
24553 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24554 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24555 instead of using implementation details.
24556
37233df9
TS
24557 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24558 * libio/freopen.c: Likewise.
24559 * libio/freopen64.c: Likewise.
24560 * misc/syslog.c: Likewise.
24561 * nscd/connections.c: Likewise.
24562 * nscd/netgroupcache.c: Likewise.
24563 * sysdeps/posix/getcwd.c: Likewise.
24564
38de94a5
RM
245652012-05-10 Roland McGrath <roland@hack.frob.com>
24566
24567 * math/w_ilogbf.c: Add #include <limits.h>.
24568
67530489
ST
245692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24570
a4186cff 24571 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
24572 path instead of returning without unlocking.
24573
67530489
ST
24574 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24575 immediate-write ioctls.
24576 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24577
5aa3a74a
TS
245782012-05-10 Thomas Schwinge <thomas@schwinge.name>
24579
18bad2ae
TS
24580 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24581 __builtin_frame_address instead of making assumptions about the
24582 location of the return address relative to DATA. Force early load of
24583 the return address.
24584 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24585 __builtin_frame_address.
24586
5aa3a74a
TS
24587 dup3 for GNU Hurd.
24588 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24589 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24590 implement dup3 and do some further code clean-ups.
24591 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24592 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24593
ecd0de9a
ST
245942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24595
cd9fa985
ST
24596 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24597
a4186cff
PT
24598 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24599 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24600 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24601 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24602 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24603 d->port.lock.
802ca5a5 24604
a4186cff
PT
24605 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24606 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24607 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 24608
bcf55240
TS
246092012-05-10 Thomas Schwinge <thomas@schwinge.name>
24610
6960eb42
TS
24611 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24612 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24613 definitions.
24614
eb43375f
TS
24615 accept4 for GNU Hurd.
24616 * include/sys/socket.h (__libc_accept4): New prototype.
24617 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24618 to implement __libc_accept4.
24619 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24620 __libc_accept4.
24621 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24622
bcf55240
TS
24623 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24624 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24625 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24626 signal-defines.sym.
24627
6178c55b
ST
246282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24629
a4186cff 24630 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 24631
6f080c2f
TS
246322012-05-10 Thomas Schwinge <thomas@schwinge.name>
24633
24634 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24635 assertion on O_CLOEXEC flag.
24636 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24637 * hurd/intern-fd.c: Likewise.
24638 * hurd/port2fd.c: Likewise.
24639
bcfe3a54
ST
246402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24641
24642 [BZ #3906]
24643 * bits/in.h (IPV6_PKTINFO): Define new macro.
24644 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24645
89c9aa49
AZ
246462012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24647
24648 [BZ #13954]
24649 [BZ #13955]
24650 [BZ #13956]
24651 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24652 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24653 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24654 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24655 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24656 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24657 * math/libm-test.inc (logb_test) : Additional logb tests.
24658
021db4be
AJ
246592012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24660 Andreas Jaeger <aj@suse.de>
24661
24662 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24663 * configure: Regenerated.
24664 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24665 * config.make.in (link-obsolete-rpc): New substituted variable.
24666 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24667 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24668 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24669 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24670 so that libc.a contains the symbols.
24671 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24672 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24673 * sunrpc/auth_none.c: Likewise.
24674 * sunrpc/auth_unix.c: Likewise.
24675 * sunrpc/authdes_prot.c: Likewise.
24676 * sunrpc/authuxprot.c: Likewise.
24677 * sunrpc/clnt_gen.c: Likewise.
24678 * sunrpc/clnt_perr.c: Likewise.
24679 * sunrpc/clnt_raw.c: Likewise.
24680 * sunrpc/clnt_simp.c: Likewise.
24681 * sunrpc/clnt_tcp.c: Likewise.
24682 * sunrpc/clnt_udp.c: Likewise.
24683 * sunrpc/clnt_unix.c: Likewise.
24684 * sunrpc/des_crypt.c: Likewise.
24685 * sunrpc/des_soft.c: Likewise.
24686 * sunrpc/get_myaddr.c: Likewise.
24687 * sunrpc/key_call.c: Likewise.
24688 * sunrpc/key_prot.c: Likewise.
24689 * sunrpc/netname.c: Likewise.
24690 * sunrpc/pm_getmaps.c: Likewise.
24691 * sunrpc/pm_getport.c: Likewise.
24692 * sunrpc/pmap_clnt.c: Likewise.
24693 * sunrpc/pmap_prot.c: Likewise.
24694 * sunrpc/pmap_prot2.c: Likewise.
24695 * sunrpc/pmap_rmt.c: Likewise.
24696 * sunrpc/publickey.c: Likewise.
24697 * sunrpc/rpc_cmsg.c: Likewise.
24698 * sunrpc/rpc_common.c: Likewise.
24699 * sunrpc/rpc_dtable.c: Likewise.
24700 * sunrpc/rpc_prot.c: Likewise.
24701 * sunrpc/rpc_thread.c: Likewise.
24702 * sunrpc/rtime.c: Likewise.
24703 * sunrpc/svc.c: Likewise.
24704 * sunrpc/svc_auth.c: Likewise.
24705 * sunrpc/svc_raw.c: Likewise.
24706 * sunrpc/svc_run.c: Likewise.
24707 * sunrpc/svc_tcp.c: Likewise.
24708 * sunrpc/svc_udp.c: Likewise.
24709 * sunrpc/svc_unix.c: Likewise.
24710 * sunrpc/svcauth_des.c: Likewise.
24711 * sunrpc/xcrypt.c: Likewise.
24712 * sunrpc/xdr.c: Likewise.
24713 * sunrpc/xdr_array.c: Likewise.
24714 * sunrpc/xdr_float.c: Likewise.
24715 * sunrpc/xdr_intXX_t.c: Likewise.
24716 * sunrpc/xdr_mem.c: Likewise.
24717 * sunrpc/xdr_rec.c: Likewise.
24718 * sunrpc/xdr_ref.c: Likewise.
24719 * sunrpc/xdr_sizeof.c: Likewise.
24720 * sunrpc/xdr_stdio.c: Likewise.
24721
b5c086a2
RM
247222012-05-10 Roland McGrath <roland@hack.frob.com>
24723
24724 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24725 change. Update copyright years.
24726
6d74dd09
JM
247272012-05-10 Joseph Myers <joseph@codesourcery.com>
24728
24729 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24730
28e72501
MK
247312012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24732 Joseph Myers <joseph@codesourcery.com>
24733 Paul Pluzhnikov <ppluzhnikov@google.com>
24734
24735 [BZ #14012]
24736 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24737 requiring rpcgen.
24738 [cross-compiling] (extra-libs): Likewise.
24739 [cross-compiling] (extra-libs-others): Likewise.
24740 [cross-compiling] (librpcsvc-routines): Likewise.
24741 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24742 [cross-compiling] (omit-deps): Likewise.
24743 (sunrpc-CPPFLAGS): New variable.
24744 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24745 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24746 (cross-rpcgen-objs): New variable.
24747 (extra-objs): Append $(cross-rpcgen-objs).
24748 ($(cross-rpcgen-objs)): New rule.
24749 ($(objpfx)cross-rpcgen): Likewise.
24750 (rpcgen-cmd): Define to use $(built-program-file). Expand
24751 comment.
24752 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24753 ($(objpfx)x%.stmp): Likewise.
24754 * sunrpc/proto.h [IS_IN_build] (_): Define.
24755 [IS_IN_build] (_libc_intl_domainname): Likewise.
24756
c8c59454
L
247572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24758
24759 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24760 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24761 and R_X86_64_TPOFF64.
24762
6f27cd16
JM
247632012-05-10 Joseph Myers <joseph@codesourcery.com>
24764
24765 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24766 sysdeps/unix/sysv/syscalls.list.
24767 (stime): Likewise.
24768 (utime): Likewise.
24769 * sysdeps/unix/sysv/syscalls.list: Remove file.
24770
02467e1c
PE
247712012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24772
24773 [BZ #3440]
24774 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24775 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24776 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24777 (__LC_IDENTIFICATION): Make these macros useful in #if
24778 expressions, as required by C99.
24779
da392631
AS
247802012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24781
24782 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24783 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24784 after this.
24785
8115f29b
L
247862012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24787
24788 * stdlib/longlong.h: Updated from GCC.
24789
bdd74070
AJ
247902012-05-09 Andreas Jaeger <aj@suse.de>
24791
edfe0dbe
AJ
24792 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24793 default is first entry.
24794 (run_mode): Set type.
24795 (main): Remove informal message about syslog.
24796 (options): Fix typo.
24797
bcfe3a54
ST
24798 [BZ #14053]
24799 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 24800 to asm.
bcfe3a54
ST
24801 (lrint): Likewise.
24802 (llrintf): Likewise.
24803 (llrint): Likewise.
24804 (rint): Likewise.
24805 (rintf): Likewise.
24806 (nearbyint): Likewise.
24807 (nearbyintf): Likewise.
bdd74070 24808
91d8d69e
AJ
248092012-05-09 Andreas Jaeger <aj@suse.de>
24810 Pedro Alves <palves@redhat.com>
24811
24812 * nscd/nscd.c (run_mode): Use enum.
24813 (main): Cleanup coding style issue.
24814
bb90b80b
AJ
248152012-05-09 Alexandre Oliva <aoliva@redhat.com>
24816 Andreas Jaeger <aj@suse.de>
24817
bcfe3a54
ST
24818 * nscd/nscd.c (go_background): Replaced with...
24819 (run_mode): ... this.
bb90b80b 24820 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
24821 (options): Add -F --foreground.
24822 (main): Implement it.
24823 (parse_opt): Parse it.
bb90b80b 24824
1a4b75a1
AJ
248252012-05-09 Andreas Jaeger <aj@suse.de>
24826
24827 [BZ #14083]
24828 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24829 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24830 -Wconversion warning.
24831 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24832 Likewise.
24833
b1cc2472
JM
248342012-05-09 Joseph Myers <joseph@codesourcery.com>
24835
24836 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24837 == 0.
24838 (LC_ALL): Use macro-int-constant.
24839 (LC_COLLATE): Likewise.
24840 (LC_CTYPE): Likewise.
24841 (LC_MESSAGES): Likewise.
24842 (LC_MONETARY): Likewise.
24843 (LC_NUMERIC): Likewise.
24844 (LC_TIME): Likewise.
24845 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24846 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24847 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24848 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24849 Specify type.
24850 [C99-based standards] (float_t): Expect type.
24851 [C99-based standards] (double_t): Expect type.
24852 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24853 type.
24854 [C99-based standards] (HUGE_VALL): Likewise.
24855 [C99-based standards] (INFINITY): Likewise.
24856 [C99-based standards] (NAN): Likewise.
24857 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24858 [C99-based standards] (FP_NAN): Likewise.
24859 [C99-based standards] (FP_NORMAL): Likewise.
24860 [C99-based standards] (FP_SUBNORMAL): Likewise.
24861 [C99-based standards] (FP_ZERO): Likewise.
24862 [C99-based standards] (FP_FAST_FMA): Use
24863 optional-macro-int-constant. Specify type. Require == 1.
24864 [C99-based standards] (FP_FAST_FMAF): Likewise.
24865 [C99-based standards] (FP_FAST_FMAL): Likewise.
24866 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24867 [C99-based standards] (FP_ILOGBNAN): Likewise.
24868 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24869 Specify type.
24870 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24871 [C99-based standards] (math_errhandling): Specify type.
24872 [ISO99 || ISO11] (signgam): Do not allow.
24873 [non-C99-based standards] (copysignf): Do not allow.
24874 [non-C99-based standards] (exp2f): Likewise.
24875 [non-C99-based standards] (log2f): Likewise.
24876 [non-C99-based standards] (modff): Allow.
24877 [non-C99-based standards] (erff): Do not allow.
24878 [non-C99-based standards] (erfcf): Likewise.
24879 [non-C99-based standards] (gammaf): Likewise.
24880 [non-C99-based standards] (hypotf): Likewise.
24881 [non-C99-based standards] (j0f): Likewise.
24882 [non-C99-based standards] (j1f): Likewise.
24883 [non-C99-based standards] (jnf): Likewise.
24884 [non-C99-based standards] (lgammaf): Likewise.
24885 [non-C99-based standards] (tgammaf): Likewise.
24886 [non-C99-based standards] (y0f): Likewise.
24887 [non-C99-based standards] (y1f): Likewise.
24888 [non-C99-based standards] (ynf): Likewise.
24889 [non-C99-based standards] (isnanf): Likewise.
24890 [non-C99-based standards] (acoshf): Likewise.
24891 [non-C99-based standards] (asinhf): Likewise.
24892 [non-C99-based standards] (atanhf): Likewise.
24893 [non-C99-based standards] (cbrtf): Likewise.
24894 [non-C99-based standards] (expm1f): Likewise.
24895 [non-C99-based standards] (ilogbf): Likewise.
24896 [non-C99-based standards] (log1pf): Likewise.
24897 [non-C99-based standards] (logbf): Likewise.
24898 [non-C99-based standards] (nextafterf): Likewise.
24899 [non-C99-based standards] (remainderf): Likewise.
24900 [non-C99-based standards] (rintf): Likewise.
24901 [non-C99-based standards] (scalbf): Likewise.
24902 [non-C99-based standards] (copysignl): Likewise.
24903 [non-C99-based standards] (exp2l): Likewise.
24904 [non-C99-based standards] (log2l): Likewise.
24905 [non-C99-based standards] (modfl): Allow.
24906 [non-C99-based standards] (erfl): Do not allow.
24907 [non-C99-based standards] (erfcl): Likewise.
24908 [non-C99-based standards] (gammal): Likewise.
24909 [non-C99-based standards] (hypotl): Likewise.
24910 [non-C99-based standards] (j0l): Likewise.
24911 [non-C99-based standards] (j1l): Likewise.
24912 [non-C99-based standards] (jnl): Likewise.
24913 [non-C99-based standards] (lgammal): Likewise.
24914 [non-C99-based standards] (tgammal): Likewise.
24915 [non-C99-based standards] (y0l): Likewise.
24916 [non-C99-based standards] (y1l): Likewise.
24917 [non-C99-based standards] (ynl): Likewise.
24918 [non-C99-based standards] (isnanl): Likewise.
24919 [non-C99-based standards] (acoshl): Likewise.
24920 [non-C99-based standards] (asinhl): Likewise.
24921 [non-C99-based standards] (atanhl): Likewise.
24922 [non-C99-based standards] (cbrtl): Likewise.
24923 [non-C99-based standards] (expm1l): Likewise.
24924 [non-C99-based standards] (ilogbl): Likewise.
24925 [non-C99-based standards] (log1pl): Likewise.
24926 [non-C99-based standards] (logbl): Likewise.
24927 [non-C99-based standards] (nextafterl): Likewise.
24928 [non-C99-based standards] (remainderl): Likewise.
24929 [non-C99-based standards] (rintl): Likewise.
24930 [non-C99-based standards] (scalbl): Likewise.
24931 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24932 [non-C99-based standards] (FP_*): Do not allow.
24933 [C99-based standards] (FP_*): Change to
24934 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24935 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24936 allow.
24937 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24938 (SIG_ERR): Likewise.
24939 [X/Open-based standards] (SIG_HOLD): Likewise.
24940 (SIG_IGN): Likewise.
24941 (SIGABRT): Use macro-int-constant. Specify type. Require
24942 positive value.
24943 (SIGFPE): Likewise.
24944 (SIGILL): Likewise.
24945 (SIGINT): Likewise.
24946 (SIGSEGV): Likewise.
24947 (SIGTER): Likewise.
24948 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24949 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24950 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24951 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24952 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24953 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24954 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24955 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24956 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24957 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24958 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24959 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24960 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24961 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24962 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24963 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24964 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24965 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24966 [X/Open-based standards] (SIGTRAP): Likewise.
24967 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24968 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24969 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24970 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24971 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24972 allow.
24973
b9f1922d
IW
249742012-05-08 Ian Wienand <ianw@vmware.com>
24975
24976 [BZ #14080]
24977 * time/tzset.c (__tzset_parse_tz): Update default rules for
24978 daylight time changes in the Energy Policy Act of 2005.
24979
1db86e88
AJ
249802012-05-09 Andreas Jaeger <aj@suse.de>
24981
24982 [BZ #13983]
24983 * elf/ldconfig.c (parse_conf): Change string to make clear that
24984 ldconfig only issued a warning if ld.so.conf does not exist.
24985
dee4a4e3
DM
249862012-05-08 David S. Miller <davem@davemloft.net>
24987
ee0db190
DM
24988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24989 movxtod instead of popping the value on the stack.
24990
dee4a4e3
DM
24991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24992
6a43ec98
CD
249932012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24994
24995 * config.h.in: Add HAVE_ARM_PCS_VFP.
24996
05c2c961
RMG
249972012-05-08 Roland Mc Grath <roland@hack.frob.com>
24998
bcfe3a54
ST
24999 [BZ #13979]
25000 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25001 checking but the checks are disabled for any reason.
05c2c961 25002
4b30f61a
L
250032012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25004
25005 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25006 and ELF64_R_TYPE with ELFW(R_TYPE).
25007
eee2bc67
JM
250082012-05-08 Joseph Myers <joseph@codesourcery.com>
25009
7ea5391a
JM
25010 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25011 (ulimit): Likewise.
25012
eee2bc67
JM
25013 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25014 (settimeofday): Likewise.
25015
abb66a67
MF
250162012-05-08 Mike Frysinger <vapier@gentoo.org>
25017
25018 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25019 a struct th_u2 inside the union, and move tu_block/tu_code into
25020 a new th_u3 union of tu_block/tu_code inside of that. Move
25021 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25022 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25023 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25024 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25025 (th_stuff): Change to th_u1.tu_stuff.
25026 (th_data): Define.
25027 (th_msg): Change to th_u1.th_u2.tu_data.
25028
7f18b530
DM
250292012-05-07 David S. Miller <davem@davemloft.net>
25030
05760585
DM
25031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25032
7f18b530
DM
25033 [BZ #14074]
25034 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25035 (SETUP_PIC_REG): Use it.
25036 (SETUP_PIC_REG_LEAF): Use it.
25037
495fd99f
JM
250382012-05-07 Joseph Myers <joseph@codesourcery.com>
25039
25040 [BZ #13885]
25041 [BZ #13923]
25042 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25043 USE_AS_EXPM1L.
25044 (EXPL_FINITE): Likewise.
25045 (FLDLOG): Likewise.
25046 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25047 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25048 e_expl.S.
25049 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25050 USE_AS_EXPM1L.
25051 (EXPL_FINITE): Likewise.
25052 (FLDLOG): Likewise.
25053 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25054 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25055 e_expl.S.
25056 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25057 test of -max_value argument for long double.
25058 * sysdeps/i386/fpu/libm-test-ulps: Update.
25059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25060
6693d694
DM
250612012-05-06 David S. Miller <davem@davemloft.net>
25062
25063 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25064 quad soft-float symbols whose references which are compiler
25065 generated.
25066 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25067
6c23e11c
JM
250682012-05-06 Joseph Myers <joseph@codesourcery.com>
25069
d8b82cad
JM
25070 [BZ #13884]
25071 [BZ #13914]
25072 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25073 USE_AS_EXP10L.
25074 (EXPL_FINITE): Likewise.
25075 (FLDLOG): Likewise.
25076 (c0): Likewise.
25077 (c1): Likewise.
25078 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25079 Adjust comments for base varying.
25080 (__expl_finite): Change alias to EXPL_FINITE.
25081 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25082 e_expl.S.
25083 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25084 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25085 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25086 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25087 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25088 USE_AS_EXP10L.
25089 (EXPL_FINITE): Likewise.
25090 (FLDLOG): Likewise.
25091 (c0): Likewise.
25092 (c1): Likewise.
25093 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25094 Adjust comments for base varying.
25095 (__expl_finite): Change alias to EXPL_FINITE.
25096 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25097 tests for bugs.
25098 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25099
6c23e11c
JM
25100 [BZ #14064]
25101 * math/libm-test.inc (check_float_internal): Correct ulp
25102 calculation for subnormal expected results.
25103
29ba805c
AJ
251042012-05-06 Andreas Jaeger <aj@suse.de>
25105
25106 * Makeconfig (+math-flags): New, set to -frounding-math.
25107 (+cflags): Add +math-flags so that all of glibc gets compiled with
25108 it.
25109
25110 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25111
7b17aeda
JM
251122012-05-05 Joseph Myers <joseph@codesourcery.com>
25113
5779f134
JM
25114 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25115 Disable one test.
25116
41498f4d
JM
25117 [BZ #13787]
25118 [BZ #13922]
25119 [BZ #14036]
25120 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25121 (__ieee754_expl): Allow for and saturate large arguments.
25122 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25123 (u_threshold): Likewise.
25124 (__exp): Call __ieee754_exp before checking for overflow and
25125 underflow.
25126 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25127 (u_threshold): Likewise.
25128 (__expf): Call __ieee754_expf before checking for overflow and
25129 underflow.
25130 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25131 (u_threshold): Likewise.
25132 (__expl): Call __ieee754_expl before checking for overflow and
25133 underflow.
25134 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25135 (__ieee754_expl): Allow for and saturate large arguments.
25136 * math/libm-test.inc (exp_test): Add another test. Do not allow
25137 missing overflow exception on overflow.
25138 (expm1_test): Do not allow missing overflow exception on overflow.
25139
6698b8bf
JM
25140 * sysdeps/i386/fpu/e_expl.c: Move to ...
25141 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25142 rather than using inline asm.
25143 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25144 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25145 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25146
7b17aeda
JM
25147 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25148 (nice): Likewise.
25149 (poll): Likewise.
25150 (signal): Likewise.
25151 (time): Likewise.
25152 (times): Likewise.
25153
f7c85819
JM
251542012-05-04 Joseph Myers <joseph@codesourcery.com>
25155
25156 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25157 sysdeps/unix/common/syscalls.list.
25158 (fchmod): Likewise.
25159 (fchown): Likewise.
25160 (ftruncate): Likewise.
25161 (getrusage): Likewise.
25162 (gettimeofday): Likewise.
25163 (setpgid): Likewise.
25164 (setregid): Likewise.
25165 (setreuid): Likewise.
25166 (sigaction): Likewise.
25167 (truncate): Likewise.
25168 (vhangup): Likewise.
25169 * sysdeps/unix/common/syscalls.list: Remove file.
25170 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25171 * sysdeps/unix/sysv/linux/Implies: Likewise.
25172
336270d0
L
251732012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25174
25175 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25177 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25178 Moved to ...
25179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25180 Here.
25181 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25182 to ...
25183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25184 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25185 to ...
25186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25187 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25188 to ...
25189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25190 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25191 to ...
25192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25193 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25194 to ...
25195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25196 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25197 to ...
25198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25199 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25200 to ...
25201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25202 Here.
25203 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25204 to ...
25205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25206 Here.
25207 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25208 to ...
25209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25210 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25211 Moved to ...
25212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25213 Here.
25214 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25215 to ...
25216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25217
d128e450
JM
252182012-05-04 Joseph Myers <joseph@codesourcery.com>
25219
fa8ee516
JM
25220 * sysdeps/unix/common/bits/dirent.h: Remove file.
25221 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25222
d128e450
JM
25223 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25224 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25225 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25226 * sysdeps/unix/bsd/isatty.c: Likewise.
25227 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25228 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25229 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25230
ff8faaf0 252312012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 25232
62881be4 25233 [BZ #13563]
31dc8730
AZ
25234 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25235 long double comparison inaccuracies.
25236 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25238
6fef930c
AS
252392012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25240
25241 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25242 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25243
8f203e6c
JM
252442012-05-04 Joseph Myers <joseph@codesourcery.com>
25245
25246 [BZ #14049]
25247 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25248 nonzero digits before rounding a hex value.
25249 * stdlib/tst-strtod.c (tests): Add another test.
25250
5197d9c2
AK
252512012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25252
25253 * sysdeps/s390/fpu/libm-test-ulps: Update.
25254
f0c1dedf
AJ
252552012-05-03 Andreas Jaeger <aj@suse.de>
25256
25257 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25258 does not get optimized out.
25259 (malloc_opt_barrier): New.
25260
a65ef2ae 252612012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 25262 Roland McGrath <roland@hack.frob.com>
a65ef2ae 25263
2b942cb7 25264 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 25265 intermediate file deletion.
2b942cb7 25266 (generated): Add .symlist files.
a65ef2ae 25267
54b71e02
JM
252682012-05-03 Joseph Myers <joseph@codesourcery.com>
25269
25270 [BZ #13775]
25271 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25272 Redirect under this condition.
25273 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25274 [__USE_GNU] (__dprintf_chk): Not under this condition.
25275 [__USE_GNU] (__vdprintf_chk): Likewise.
25276 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25277 under this condition.
25278 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25279 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25280 [__USE_XOPEN2K8] (vdprintf): Likewise.
25281 [__USE_GNU] (__dprintf_chk): Not under this condition.
25282 [__USE_GNU] (__vdprintf_chk): Likewise.
25283 [__USE_GNU] (dprintf): Likewise.
25284 [__USE_GNU] (vdprintf): Likewise.
25285
d3dfcc41
RM
252862012-05-03 Roland McGrath <roland@hack.frob.com>
25287
25288 * elf/Makefile (common-generated): Set this instead of generated for
25289 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25290 $(all-built-dso)-derived lists.
25291
7ac30cc5
AJ
252922012-05-03 Andreas Jaeger <aj@suse.de>
25293
0c51e550
AJ
25294 * sysdeps/i386/fpu/libm-test-ulps: Update.
25295
7ac30cc5
AJ
25296 * FAQ: Removed.
25297 * FAQ.in: Likewise.
25298 * scripts/gen-FAQ.pl: Likewise.
25299 * manual/install.texi (Installation): Point to online location of
25300 FAQ.
25301 * Makefile (files-for-dist): Remove FAQ.
25302 (FAQ): Remove.
25303
d4c2917f
AM
253042012-05-02 Allan McRae <allan@archlinux.org>
25305
25306 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25307 (LDFLAGS-reldepmod5.so): Likewise.
25308 (LDFLAGS-reldep6mod1.so): Likewise.
25309 (LDFLAGS-reldep6mod4.so): Likewise.
25310 (LDFLAGS-reldep8mod3.so): Likewise.
25311 (LDFLAGS-unload4mod1.so): Likewise.
25312 (LDFLAGS-unload4mod2.so): Likewise.
25313 (LDFLAGS-tst-initorder): Likewise.
25314 (LDFLAGS-tst-initordera2.so): Likewise.
25315 (LDFLAGS-tst-initordera3.so): Likewise.
25316 (LDFLAGS-tst-initordera4.so): Likewise.
25317 (LDFLAGS-tst-initorderb2.so): Likewise.
25318 (LDFLAGS-noload): Likewise.
25319 (LDFLAGS-next): Likewise.
25320 (LDFLAGS-order2mod1.so): Likewise.
25321 (LDFLAGS-order2mod2.so): Likewise.
25322 (LDFLAGS-tst-initorder2): Likewise.
25323 (LDFLAGS-tst-initorder2a.so): Likewise.
25324 (LDFLAGS-tst-initorder2b.so): Likewise.
25325 (LDFLAGS-tst-initorder2c.so): Likewise.
25326 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25327
d77f993f
DM
253282012-05-02 David S. Miller <davem@davemloft.net>
25329
25330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25331
171a70b4
PP
253322012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25333
25334 [BZ #14055]
25335 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25336
0be196ad
AJ
253372012-05-02 Andreas Jaeger <aj@suse.de>
25338
25339 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25340 since we manipulate rounding mode.
25341 (CPPFLAGS-test-idouble.c): Likewise.
25342 (CPPFLAGS-test-ifloat.c): Likewise.
25343 (CFLAGS-test-ldouble.c): Likewise.
25344 (CFLAGS-test-double.c): Likewise.
25345 (CFLAGS-test-float.c): Likewise.
25346 (CFLAGS-test-misc.c): Likewise.
25347 (CFLAGS-test-test-fenv.c): Likewise.
25348
4f9d04aa
AZ
253492012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25350
2b942cb7
RM
25351 [BZ #2550]
25352 [BZ #2570]
25353 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25354 comparisons to determine direction to adjust input.
4f9d04aa 25355
82a79e7d
RM
253562012-05-01 Roland McGrath <roland@hack.frob.com>
25357
f5a01ca9
RM
25358 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25359 output to the target.
25360
90fe4186
RM
25361 * scripts/localplt.awk: New file.
25362 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25363 (check-localplt-CFLAGS): Variable removed.
25364 ($(all-built-dso:=.jmprel)): New static pattern rule.
25365 (generated): Add those targets.
25366 (localplt-built-dso): New variable.
25367 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25368
25369 * elf/check-localplt.c: File removed.
25370
82397ed6
RM
25371 * scripts/check-execstack.awk: New file.
25372 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25373 (check-execstack-CFLAGS): Variable removed.
25374 ($(objpfx)check-execstack.h): Target removed.
25375 ($(objpfx)execstack-default): New target.
25376 (generated): Add that instead of check-execstack.h.
25377 ($(all-built-dso:=.phdr)): New static pattern rule.
25378 (generated): Add those targets.
25379 * elf/check-execstack.c: File removed.
25380
82a79e7d
RM
25381 * scripts/check-textrel.awk: New file.
25382 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25383 (check-textrel-CFLAGS): Variable removed.
25384 (all-built-dso): Use := to define.o
25385 ($(all-built-dso:=.dyn)): New static pattern rule.
25386 (generated): Add those targets.
25387 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25388 * config.make.in (READELF): New substituted variable.
25389 * elf/check-textrel.c: File removed.
25390
62fde54f 253912012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 25392
615605c9
JM
25393 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25394 allow.
25395 * conform/data/ctype.h-data [C99-based standards] (isblank):
25396 Expect function.
25397 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25398 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25399 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25400 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25401 Specify type. Require positive value.
25402 (EILSEQ): Likewise.
25403 (ERANGE): Likewise.
25404 [ISO || POSIX] (EILSEQ): Do not expect.
25405 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25406 Specify type. Require positive value.
25407 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25408 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25409 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25410 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25411 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25412 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25413 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25414 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25415 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25416 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25417 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25418 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25419 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25420 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25421 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25422 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25423 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25424 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25425 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25426 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25427 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25428 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25429 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25430 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25431 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25432 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25433 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25434 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25435 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25436 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25437 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25438 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25439 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25440 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25441 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25442 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25443 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25444 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25445 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25446 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25447 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25448 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25449 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25450 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25451 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25452 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25453 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25454 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25455 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25456 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25457 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25458 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25459 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25460 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25461 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25462 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25463 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25464 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25465 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25466 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25467 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25468 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25469 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25470 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25471 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25472 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25473 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25474 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25475 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25476 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25477 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25478 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25479 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25480 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25481 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25482 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25483 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25484 Require >= 2.
25485 (FLT_ROUNDS): Expect as macro, not constant.
25486 (FLT_MANT_DIG): Use macro-int-constant.
25487 (DBL_MANT_DIG): Likewise.
25488 (LDBL_MANT_DIG): Likewise.
25489 (FLT_DIG): Likewise.
25490 (DBL_DIG): Likewise.
25491 (LDBL_DIG): Likewise.
25492 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25493 (DBL_MIN_EXP): Likewise.
25494 (LDBL_MIN_EXP): Likewise.
25495 (FLT_MAX_EXP): Use macro-int-constant.
25496 (DBL_MAX_EXP): Likewise.
25497 (LDBL_MAX_EXP): Likewise.
25498 (FLT_MAX_10_EXP): Likewise.
25499 (DBL_MAX_10_EXP): Likewise.
25500 (LDBL_MAX_10_EXP): Likewise.
25501 (FLT_MAX): Use macro-constant.
25502 (DBL_MAX): Likewise.
25503 (LDBL_MAX): Likewise.
25504 (FLT_EPSILON): Use macro-constant. Give upper bound.
25505 (DBL_EPSILON): Likewise.
25506 (LDBL_EPSILON): Likewise.
25507 (FLT_MIN): Likewise.
25508 (DBL_MIN): Likewise.
25509 (LDBL_MIN): Likewise.
25510 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25511 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25512 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25513 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25514 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25515 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25516 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25517 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25518 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25519 [ISO11] (FLT_TRUE_MIN): Likewise.
25520 [ISO11] (LDBL_TRUE_MIN): Likewise.
25521 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25522 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25523 (SCHAR_MIN): Use macro-int-constant. Specify type.
25524 (SCHAR_MAX): Likewise.
25525 (UCHAR_MAX): Likewise.
25526 (CHAR_MIN): Likewise.
25527 (CHAR_MAX): Likewise.
25528 (MB_LEN_MAX): Use macro-int-constant.
25529 (SHRT_MIN): Use macro-int-constant. Specify type.
25530 (SHRT_MAX): Likewise.
25531 (USHRT_MAX): Likewise.
25532 (INT_MAX): Likewise.
25533 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25534 bound negative.
25535 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25536 bound with "U".
25537 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25538 bound with "L".
25539 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25540 bound negative. Suffix upper bound with "L".
25541 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25542 bound with "UL".
25543 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25544 Specify type.
25545 [C99-based standards] (LLONG_MAX): Likewise.
25546 [C99-based standards] (ULLONG_MAX): Likewise.
25547 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25548 == 0.
25549 [ISO11] (max_align_t): Require type.
25550 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25551
c9140a62
JM
25552 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25553 from $CFLAGS, without defining away __attribute__ calls.
25554 (checknamespace): Use $CFLAGS_namespace.
25555
9af0bf29
JM
25556 * conform/conformtest.pl (@keywords): Only include C99 keywords
25557 for standards based on C99 or C11.
25558
343222a2
JM
25559 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25560 Disable tests.
25561 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25562 UNIX98]: Likewise.
25563
661f8cf0
JM
25564 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25565 usability of symbols in #if.
25566
ee74b9cb
JM
25567 * conform/conformtest.pl: If macro or constant types start
25568 "promoted:", expect the symbol to be of the following type
25569 promoted by the integer promotions.
62fde54f 25570
aafc49b3
JM
25571 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25572 in one place. Also handle "macro-constant".
25573
fefdf574
JM
25574 * conform/conformtest.pl: Only accept expected macro values with
25575 "==". Parse all "macro" lines in one place.
25576 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25577
f2d922fe
JM
25578 * conform/conformtest.pl: Handle braced types on "constant" lines
25579 instead of handling "typed-constant".
25580 * conform/data/signal.h-data: Use "constant" instead of
25581 "typed-constant".
25582
d22956c9
JM
25583 * conform/conformtest.pl: Handle "optional-" at start of lines in
25584 one place rather than duplicating several cases. Handle each
25585 format of "macro" line with initial "optional-".
25586
028e2e38
JM
25587 * conform/conformtest.pl: Only accept expected constant or
25588 optional-constant values with "==". Parse all "constant" lines in
25589 one place. Parse all "optional-constant" lines in one place.
25590 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25591 * conform/data/fmtmsg.h-data: Likewise.
25592 * conform/data/netinet/in.h-data: Likewise.
25593 * conform/data/tar.h-data: Likewise.
25594 * conform/data/limits.h-data: Use "==" form on "constant" and
25595 "optional-constant" lines.
25596
1b8f2850
JM
25597 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25598 Use -std=c99 for XOPEN2K.
25599 (@knownproblems): Remove.
25600 (newtoken): Don't check %isknown.
25601
a05a144b
JM
25602 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25603 Do not expect macro.
25604 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25605 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25606 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25607 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25608 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25609 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25610 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25611 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25612 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25613 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25614 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25615 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25616 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25617 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25618 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25619 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25620 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25621 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25622 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25623 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25624 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25625 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25626 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25627 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25628 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25629 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25630 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25631 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25632 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25633 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25634 [XPG3] (acosh): Likewise.
25635 [XPG3] (asinh): Likewise.
25636 [XPG3] (atanh): Likewise.
25637 [XPG3] (cbrt): Likewise.
25638 [XPG3] (expm1): Likewise.
25639 [XPG3] (ilogb): Likewise.
25640 [XPG3] (log1p): Likewise.
25641 [XPG3] (logb): Likewise.
25642 [XPG3] (nextafter): Likewise.
25643 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25644 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25645 [XPG3] (remainder): Likewise.
25646 [XPG3] (rint): Likewise.
25647 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25648 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25649 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25650 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25651 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25652 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25653 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25654 [UNIX98 || XOPEN2K] (scalb): Expect.
25655 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25656 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25657 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25658 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25659 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25660 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25661 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25662 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25663 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25664 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25665 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25666 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25667 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25668 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25669 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25670 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25671 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25672 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25673 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25674 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25675 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25676 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25677 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25678 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25679 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25680 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25681 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25682 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25683 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25684 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25685 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25686 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25687 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25688 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25689 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25690 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25691 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25692 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25693 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25694 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25695 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25696 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25697 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25698 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25699 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25700 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25701 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25702 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25703 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25704 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25705 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25706 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25707 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25708 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25709 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25710 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25711 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25712 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25713 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25714 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25715 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25716 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25717 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25718 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25719 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25720 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25721 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25722 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25723 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25724 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25725 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25726 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25727 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25728 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25729 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25730 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25731 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25732 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25733 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25734 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25735 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25736 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25737 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25738 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25739 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25740 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25741 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25742 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25743 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25744 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25745 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25746 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25747 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25748 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25749 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25750 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25751 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25752 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25753 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25754 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25755 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25756 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25757 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25758 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25759 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25760 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25761 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25762 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25763 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25764 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25765 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25766 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25767 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25768 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25769 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25770 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25771 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25772 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25773 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25774 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25775 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25776 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25777 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25778 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25779 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25780 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25781 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25782 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25783 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25784 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25785 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25786 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25787 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25788 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25789 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25790 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25791 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25792
73c5ebe3
JM
25793 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25794 _XOPEN_SOURCE_EXTENDED for XPG4.
25795
39c33b6c
JM
25796 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25797
62fde54f
JM
25798 * Makeconfig (localtime): Remove variable.
25799 (inst_localtime-file): Likewise.
25800
0741d64c
AS
258012012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25802
25803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25804 Update.
25805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25806 Update.
25807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25808 Update.
25809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25810 Update.
25811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25812 Update.
25813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25814 Update.
25815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25816 Update.
25817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25818 Update.
25819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25820 Update.
25821
7cb029ee
JM
258222012-05-01 Joseph Myers <joseph@codesourcery.com>
25823
25824 [BZ #2550]
25825 [BZ #2570]
25826 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25827 comparisons to determine direction to adjust input.
25828 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25829 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25830 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25831 Likewise.
25832 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25833 Likewise.
25834 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25835 Likewise.
25836 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25837 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25838 Likewise.
25839 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25840 Likewise.
25841 * math/libm-test.inc (nexttoward_test): Add more tests.
25842
412bd966
AS
258432012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25844
25845 [BZ #14040]
25846 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25847 in version GLIBC_2.1, not GLIBC_2.0.
25848 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25849 Likewise.
25850
9568c0c2
JM
258512012-04-30 Joseph Myers <joseph@codesourcery.com>
25852
adfbc8ac
JM
25853 [BZ #13942]
25854 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25855 (1 - x) * (1 + x).
25856 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25857 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25858 * math/libm-test.inc (acos_test): Add more tests.
25859 (asin_test): Likewise.
25860 * sysdeps/i386/fpu/libm-test-ulps: Update.
25861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25862
5ba3cc69
JM
25863 [BZ #14034]
25864 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25865 of square root.
25866 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25867 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25868 * math/libm-test.inc (acos_test_tonearest): New function.
25869 (acos_test_towardzero): Likewise.
25870 (acos_test_downward): Likewise.
25871 (acos_test_upward): Likewise.
25872 (asin_test_tonearest): Likewise.
25873 (asin_test_towardzero): Likewise.
25874 (asin_test_downward): Likewise.
25875 (asin_test_upward): Likewise.
25876 (main): Call the new functions.
25877 * sysdeps/i386/fpu/libm-test-ulps: Update.
25878 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25879
9568c0c2
JM
25880 [BZ #13884]
25881 [BZ #13924]
25882 * math/e_exp10.c: Include <float.h>.
25883 (__ieee754_exp10): Handle underflow here rather than multiplying
25884 large negative argument by M_LN10.
25885 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25886 of __ieee754_expf.
25887 * math/e_exp10l.c: Include <float.h>.
25888 (__ieee754_exp10l): Handle underflow here rather than multiplying
25889 large negative argument by M_LN10l.
25890 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25891 spurious overflow exception on underflow.
25892
5ac3ea17
MP
258932012-04-29 Marek Polacek <polacek@redhat.com>
25894
25895 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25896 (__fortify_function): New macro.
25897 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25898 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25899 __extern_always_inline.
25900 * libio/bits/stdio2.h: Likewise.
25901 * libio/bits/stdio.h: Likewise.
25902 * string/string.h: Likewise.
25903 * string/bits/string3.h: Likewise.
25904 * include/stdio.h: Likewise.
25905 * stdlib/bits/stdlib.h: Likewise.
25906 * stdlib/stdlib.h: Likewise.
25907 * rt/bits/mqueue2.h: Likewise.
25908 * rt/mqueue.h: Likewise.
25909 * posix/bits/unistd.h: Likewise.
25910 * posix/unistd.h: Likewise.
25911 * io/bits/poll2.h: Likewise.
25912 * io/bits/fcntl2.h: Likewise.
25913 * io/fcntl.h: Likewise.
25914 * io/sys/poll.h: Likewise.
25915 * misc/bits/syslog.h: Likewise.
25916 * misc/bits/syslog-ldbl.h: Likewise.
25917 * misc/sys/syslog.h: Likewise.
25918 * socket/bits/socket2.h: Likewise.
25919 * socket/sys/socket.h: Likewise.
25920 * debug/tst-chk1.c: Likewise.
25921 * wcsmbs/bits/wchar2.h: Likewise.
25922 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25923 * wcsmbs/wchar.h: Likewise.
25924
ecf0ebfb
AJ
259252012-04-29 Andreas Jaeger <aj@suse.de>
25926
25927 * Makerules (tests): Remove enable-check-abi protection.
25928 (check-abi-warn): Remove.
25929 (check-abi-%): Remove check-abi-warn usage.
25930
25931 * configure.in: Remove check-abi configure option.
25932 * configure: Regenerated.
25933 * config.make.in (enable-check-abi): Remove.
25934
6d5c57fa
AS
259352012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25936
24c5d07e 25937 [BZ #14033]
ded5180a
AS
25938 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25939 double functions to double *_finite functions.
25940
7e0d315d
AS
25941 [BZ #13941]
25942 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25943 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25944 LDBL_MIN_EXP.
25945 * stdio-common/Makefile (tests): Add tst-sprintf3.
25946 * stdio-common/tst-sprintf3.c: New file.
25947
6d5c57fa
AS
25948 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25949 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25950
0749ff8b
JM
259512012-04-28 Joseph Myers <joseph@codesourcery.com>
25952
25953 * conform/conformtest.pl: Remove duplicate typed-constant
25954 handling.
25955
8dbd5d7b
DM
259562012-04-28 David S. Miller <davem@davemloft.net>
25957
25958 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25959 (check-abi-%): Remove AWK script prerequisite and explicit
25960 abilist directory.
25961 (check-abi): Rewrite to just diff the symlist with the abilist.
25962 (config-tls, config-abi-config): Delete, no longer used.
25963 (update-abi-%): Remove AWK script and explicit abilist directory.
25964 (update-abi): Rewrite to simply compare and conditionally copy the
25965 symlist and the sysdep abilist file. Remove update-abi-config
25966 checks.
25967 * abilist/ld.abilist: Remove.
25968 * abilist/libBrokenLocale.abilist: Remove.
25969 * abilist/libanl.abilist: Remove.
25970 * abilist/libcrypt.abilist: Remove.
25971 * abilist/libdl.abilist: Remove.
25972 * abilist/librt.abilist: Remove.
25973 * abilist/libthread_db.abilist: Remove.
25974 * abilist/libutil.abilist: Remove.
25975 * scripts/extract-abilist.awk: Remove.
25976 * scripts/merge-abilist.awk: Remove.
25977 * sysdeps/generic/libcidn.abilist: New file.
25978 * sysdeps/generic/libnss_compat.abilist: New file.
25979 * sysdeps/generic/libnss_db.abilist: New file.
25980 * sysdeps/generic/libnss_dns.abilist: New file.
25981 * sysdeps/generic/libnss_files.abilist: New file.
25982 * sysdeps/generic/libnss_hesiod.abilist: New file.
25983 * sysdeps/generic/libnss_nis.abilist: New file.
25984 * sysdeps/generic/libnss_nisplus.abilist: New file.
25985 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25986 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25987 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25988 file.
25989 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25990 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25991 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25992 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25993 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25994 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25995 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25996 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25997 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25998 file.
25999 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26000 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26001 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26002 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26003 file.
26004 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26005 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26006 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26007 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26008 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26009 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26010 file.
26011 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26012 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26013 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26014 file.
26015 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26017 New file.
26018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26019 New file.
26020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26021 New file.
26022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26023 New file.
26024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26025 New file.
26026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26027 New file.
26028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26029 New file.
26030 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26031 New file.
26032 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26033 New file.
26034 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26035 New file.
26036 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26037 New file.
26038 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26039 New file.
26040 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26041 New file.
26042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26043 file.
26044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26045 New file.
26046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26047 New file.
26048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26049 file.
26050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26051 New file.
26052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26053 New file.
26054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26055 file.
26056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26057 New file.
26058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26059 New file.
26060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26061 New file.
26062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26063 New file.
26064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26065 New file.
26066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26067 New file.
26068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26070 file.
26071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26072 New file.
26073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26074 file.
26075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26076 file.
26077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26078 file.
26079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26080 file.
26081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26082 file.
26083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26084 New file.
26085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26086 file.
26087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26088 file.
26089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26090 New file.
26091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26092 file.
26093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26095 file.
26096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26097 New file.
26098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26099 file.
26100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26101 file.
26102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26103 file.
26104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26105 file.
26106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26107 file.
26108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26109 New file.
26110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26111 file.
26112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26113 file.
26114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26115 New file.
26116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26117 file.
26118 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26119 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26120 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26121 file.
26122 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26123 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26124 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26125 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26126 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26127 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26128 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26129 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26130 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26131 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26134 file.
26135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26136 New file.
26137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26138 file.
26139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26140 file.
26141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26142 file.
26143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26144 file.
26145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26146 file.
26147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26148 New file.
26149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26150 New file.
26151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26152 file.
26153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26154 New file.
26155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26156 file.
26157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26159 file.
26160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26161 New file.
26162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26163 file.
26164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26165 file.
26166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26167 file.
26168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26169 file.
26170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26171 file.
26172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26173 New file.
26174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26175 New file.
26176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26177 file.
26178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26179 New file.
26180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26181 file.
26182
41d73a1b
JM
261832012-04-28 Joseph Myers <joseph@codesourcery.com>
26184
26185 * conform/conformtest.pl: Fix typo in handling typed-constant from
26186 allow-header.
26187
28aeeda4
JM
261882012-04-27 Joseph Myers <joseph@codesourcery.com>
26189
adae8f5e
JM
26190 * README: Cut down references to pre-2.6 Linux kernels and
26191 Linuxthreads. Update lists of configurations in libc and ports
26192 and sort alphabetically. Say "or newer" with Linux kernel version
26193 requirements.
26194
28aeeda4
JM
26195 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26196
a462cb63
RA
261972012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26198
26199 [BZ #887]
26200 * math/libm-test.inc (logb_test_downward): New test to expose
26201 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26202 rounding mode.
26203
6ad3493e
JM
262042012-04-27 Joseph Myers <joseph@codesourcery.com>
26205
26206 [BZ #14027]
26207 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26208 to be done.
26209 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26210 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26211
2ce4f015
JM
262122012-04-26 Joseph Myers <joseph@codesourcery.com>
26213
5aeb141a
JM
26214 * sysdeps/unix/i386/brk.S: Remove file.
26215 * sysdeps/unix/i386/dl-brk.S: Likewise.
26216 * sysdeps/unix/i386/pipe.S: Likewise.
26217 * sysdeps/unix/i386/sigreturn.S: Likewise.
26218 * sysdeps/unix/i386/syscall.S: Likewise.
26219 * sysdeps/unix/i386/vfork.S: Likewise.
26220 * sysdeps/unix/i386/wait.S: Likewise.
26221
7143acae
JM
26222 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26223 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26224
2ce4f015
JM
26225 * configure.in (arm*-none*): Do not allow without
26226 --enable-hacker-mode.
26227 (netbsd*): Remove case setting base_os.
26228 (386bsd*): Likewise.
26229 (freebsd*): Likewise.
26230 (bsdi*): Likewise.
26231 (osf*): Likewise.
26232 (sunos*): Likewise.
26233 (ultrix*): Likewise.
26234 (newsos*): Likewise.
26235 (dynix*): Likewise.
26236 (*bsd*): Likewise.
26237 (sysv*): Likewise.
26238 (isc*): Likewise.
26239 (esix*): Likewise.
26240 (sco*): Likewise.
26241 (minix*): Likewise.
26242 (irix4*): Likewise.
26243 (irix6*): Likewise.
26244 (solaris[2-9]*): Likewise.
26245 (none): Likewise.
26246 * configure: Regenerated.
26247
0ac229c8
AZ
262482012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26249
26250 [BZ #11521]
26251 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26252 overflow or cancellation in calculating denominator.
26253 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26254 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26255 down expression to avoid unexpected rounding in newer GCCs.
26256 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26257
33f244f4
DM
262582012-04-26 David S. Miller <davem@davemloft.net>
26259
26260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26261 long-double compat symbols.
26262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26275
cfa1f3e8
DM
262762012-04-25 David S. Miller <davem@davemloft.net>
26277
26278 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26279 HWCAP_* values only after the memory barriers have been defined.
26280 (atomic_full_barrier): Define.
26281 (atomic_read_barrier): Define.
26282 (atomic_write_barrier): Define.
26283
6e236b92
SP
262842012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26285
26286 * shlib-versions: Add libgcc_s version information.
26287 * sysdeps/generic/libgcc_s.h: Remove.
26288 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26289 libgcc_s.h.
26290 * sysdeps/gnu/unwind-resume.c: Likewise.
26291 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26292
aab39a09
DM
262932012-04-25 David S. Miller <davem@davemloft.net>
26294
26295 * sysdeps/unix/sparc/brk.S: Delete.
26296 * sysdeps/unix/sparc/dl-brk.S: Delete.
26297 * sysdeps/unix/sparc/pipe.S: Delete.
26298 * sysdeps/unix/sparc/sysdep.S: Delete.
26299 * sysdeps/unix/sparc/sysdep.h: Delete.
26300 * sysdeps/unix/sparc/vfork.S: Delete.
26301 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26302 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26303 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26304 ret_ERRVAL, r0, r1, MOVE): Define.
26305 (JUMPTARGET): Remove.
26306 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26307 sysdeps/unix/sparc/sysdep.h
26308 (ENTRY, END): Remove.
26309 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26310
a3cc4f48
JM
263112012-04-25 Joseph Myers <joseph@codesourcery.com>
26312
2ed8cda2
JM
26313 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26314 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26315 -DIS_IN_build.
26316
35d76d59
JM
26317 * timezone/README: Update upstream location and email address for
26318 tzcode and tzdata.
26319 * timezone/zdump.c: Update from tzcode 2012b.
26320 * timezone/zic.c: Likewise.
26321
a3cc4f48
JM
26322 * configure.in (libc_cv_as_needed): Remove test.
26323 * configure: Regenerated.
26324 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26325 conditional definition.
26326 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26327 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26328 * config.make.in (have-as-needed): Remove variable.
26329
ceab42c3
SP
263302012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26331 Paul Pluzhnikov <ppluzhnikov@google.com>
26332
26333 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26334 strings correctly.
26335
3ce2865f
CLT
263362012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26337
26338 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26339 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26340 * sysdeps/sh/strlen.S: Likewise.
26341
f37e0d68
JM
263422012-04-24 Joseph Myers <joseph@codesourcery.com>
26343
ae186e9a
JM
26344 * sysdeps/unix/fork.S: Remove file.
26345 * sysdeps/unix/i386/fork.S: Likewise.
26346 * sysdeps/unix/sparc/fork.S: Likewise.
26347
b96914af
JM
26348 * sysdeps/unix/system.c: Remove file.
26349 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26350
f37e0d68
JM
26351 * sysdeps/unix/getegid.S: Remove file.
26352 * sysdeps/unix/geteuid.S: Likewise.
26353
87ef29ca
RM
263542012-04-24 Roland McGrath <roland@hack.frob.com>
26355
83bcd236
RM
26356 * scripts/check-localplt.awk: New file.
26357 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26358 of diff.
26359 * scripts/data/localplt-generic.data: Add a comment.
26360
87ef29ca
RM
26361 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26362 NODE when __dir_mkfile failed.
26363 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26364 Reported by Ludovic Courtès <ludo@gnu.org>.
26365
e5a6e567
AJ
263662012-04-24 Andreas Jaeger <aj@suse.de>
26367
26368 * Makerules (common-clean): Also remove gen-as-const-headers
26369 files.
26370
c1820385
JM
263712012-04-24 Joseph Myers <joseph@codesourcery.com>
26372
26373 * Makerules (native-compile): Do not change working directory for
26374 build. Use $(OUTPUT_OPTION) in command.
26375 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26376
94e02fc4
AZ
263772012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26378
26379 [BZ #13886]
26380 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26381 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26382 * math/libm-test.inc (floor_test): Add more tests.
26383 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26384
3a533ca3
JM
263852012-04-24 Joseph Myers <joseph@codesourcery.com>
26386
940ab4b3
JM
26387 * sysdeps/unix/getdents.c: Remove file.
26388 * sysdeps/unix/sysv/getdents.c: Likewise.
26389 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26390
90e037bd
JM
26391 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26392 sysdeps/unix/mman/syscalls.list.
26393 (mmap): Likewise.
26394 (mprotect): Likewise.
26395 (msync): Likewise.
26396 (munmap): Likewise.
26397 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26398 * sysdeps/unix/mman/syscalls.list: Remove.
26399 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26400
3a533ca3
JM
26401 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26402 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26403 * configure: Regenerated.
26404 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26405 $(libgcc_s_suffix).
26406 * config.make.in (libgcc_s_suffix): Remove variable.
26407
1ad743de
JM
264082012-04-23 Joseph Myers <joseph@codesourcery.com>
26409
4ad451e2
JM
26410 * sysdeps/unix/sysv/gethostname.c: Move to ...
26411 * sysdeps/posix/gethostname.c: ... here.
26412
5e37ce39
JM
26413 * sysdeps/unix/execve.S: Remove file.
26414
1ad743de
JM
26415 * sysdeps/unix/_exit.S: Remove file.
26416
4e681b5b
AJ
264172012-04-23 Andreas Jaeger <aj@suse.de>
26418
26419 [BZ #13739]
26420 * manual/Makefile: Remove make dist support, there's no
26421 need for a stand-alone documentation tar ball.
26422 (TEXI2DVI): Define always, it's not in Makeconfig.
26423 (dist): Removed.
26424 (tar-it): Removed.
26425 (edition): Removed.
26426 (glibc-doc-$(edition).tar): Removed
26427 (%.Z): Removed.
26428 (%.gz): Removed.
26429 (%.uu): Removed.
26430 (ETAGS): Remove, it's in Makeconfig.
26431 (move-if-change): Remove, it's in Makeconfig.
26432
38686a03 264332012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
26434
26435 [BZ #13970]
26436 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26437 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26438 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26439 (strtod_l, strtof_l, strtold_l): Remove __wur.
26440 It is not necessarily an error to ignore strtol's return value.
26441 One can reliably look at the stored endptr to decide whether
26442 the number had valid syntax.
26443
7c0616fa
AJ
264442012-04-21 Andreas Jaeger <aj@suse.de>
26445
803cb6b7 26446 [BZ #13739]
7c0616fa
AJ
26447 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26448
b0fe253f
JM
264492012-04-21 Joseph Myers <joseph@codesourcery.com>
26450
26451 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26452 * sysdeps/unix/sysv/Versions: Remove file.
26453
8280f22d
MT
264542012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26455
26456 [BZ #13927]
26457 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26458
75ce411f 264592012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
26460
26461 [BZ #7064]
26462 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26463 version from __vm86.
26464
097d59fa
JM
264652012-04-20 Joseph Myers <joseph@codesourcery.com>
26466
a90f3bcb
JM
26467 * sysdeps/unix/common/lxstat.c: Remove file.
26468 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26469
edc7ea78
JM
26470 * sysdeps/unix/sysv/Makefile: Remove file.
26471
cb78c221
JM
26472 * sysdeps/unix/sysv/direct.h: Remove file.
26473
efa6a45f
JM
26474 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26475 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26476 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26477 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26478 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26479 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26480 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26481
9c9f2d0c
JM
26482 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26483
4541c83b
JM
26484 * sysdeps/unix/xmknod.c: Remove file.
26485 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26486
f5d153a0
JM
26487 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26488
aa746595
JM
26489 * sysdeps/unix/sysv/i386/time.S: Remove file.
26490
cce5905e
JM
26491 * sysdeps/unix/fxstat.c: Remove file.
26492 * sysdeps/unix/xstat.c: Likewise.
26493 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26494
37fa3841
JM
26495 * sysdeps/unix/sysv/sigaction.c: Remove file.
26496
ff1962a3
JM
26497 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26498 (sysdep_headers): Remove variable.
26499 [termio.h not in sysdep_headers] (generated): Likewise.
26500 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26501 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26502 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26503 * sysdeps/unix/sysv/tcflow.c: Likewise.
26504 * sysdeps/unix/sysv/tcflush.c: Likewise.
26505 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26506 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26507 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26508 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26509 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26510
e7740d31
JM
26511 * sysdeps/unix/siglist.c: Remove file.
26512
ee06f18b
JM
26513 * sysdeps/unix/getppid.S: Remove file.
26514
097d59fa
JM
26515 * sysdeps/unix/mkdir.c: Remove file.
26516 * sysdeps/unix/rmdir.c: Likewise.
26517
ff3d51ec
AS
265182012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26519
26520 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26521 ERR_MAX value.
26522 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26523 errlist-compat value.
26524
50f81fd7
DM
265252012-04-18 David S. Miller <davem@davemloft.net>
26526
26527 * sysdeps/generic/memcopy.h (reg_char): Delete.
26528 * debug/strcat_chk.c: Use char, not reg_char.
26529 * debug/strcpy_chk.c: Likewise.
26530 * debug/strncat_chk.c: Likewise.
26531 * debug/strncpy_chk.c: Likewise.
26532 * string/memchr.c: Likewise.
26533 * string/memrchr.c: Likewise.
26534 * string/rawmemchr.c: Likewise.
26535 * string/strcat.c: Likewise.
26536 * string/strchr.c: Likewise.
26537 * string/strchrnul.c: Likewise.
26538 * string/strcmp.c: Likewise.
26539 * string/strcpy.c: Likewise.
26540 * string/strncat.c: Likewise.
26541 * string/strncmp.c: Likewise.
26542 * string/strncpy.c: Likewise.
26543
8ff41c46
WS
265442012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26545
26546 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26547 __builtin_memcopy is called when src and dest ranges are known to not
26548 overlap.
26549
6b652f46
WS
265502012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26551
26552 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26553 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26554 fwd_align_merge macro call.
26555 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26556 bwd_align_merge macro call.
26557 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26558
b282631e
WS
265592012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26560
26561 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26562 bwd_align_merge macros.
26563 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26564 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26565 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26566
95aa737c
DM
265672012-04-18 David S. Miller <davem@davemloft.net>
26568
26569 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26570
7a99a614
AJ
265712012-04-18 Andreas Jaeger <aj@suse.de>
26572
26573 [BZ# 6794]
26574 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26575 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26576 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26577
26578 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26579 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26580 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26581
26582 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26583 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26584 Adjust for changed ldbl-128 files.
26585
26586 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26587 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26588 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26589
e5270c23
DM
265902012-04-17 David S. Miller <davem@davemloft.net>
26591
26592 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26593
fb5e92c9
AS
265942012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26595
26596 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26597 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26598 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26599 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26600 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26601 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26602
76da7265
AZ
266032012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26604
26605 [BZ #6794]
26606 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26607 * math/libm-test.inc: Add ilogb errno and exception tests.
26608 * math/w_ilogb.c: New file: ilogb wrapper.
26609 * math/w_ilogbf.c: New file: ilogbf wrapper.
26610 * math/w_ilogbl.c: New file: ilogbl wrapper.
26611 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26612 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26613 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26614 exception being thrown with 0.0 as argument.
26615 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26616 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26617 exception being thrown with 0.0 as argument.
26618 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26619 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26620 exception being thrown with 0.0 as argument.
26621 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26622 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26623 exception being thrown with 0.0 as argument.
26624 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26625 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 26626 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
26627 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26628 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26629 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26630 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26631 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26632 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26633
0396e69d
PB
266342012-04-17 Petr Baudis <pasky@ucw.cz>
26635
26636 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26637 with altivec.
26638
750b5926
MP
266392012-04-16 Marek Polacek <polacek@redhat.com>
26640
26641 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26642
751728a1
MP
266432012-04-16 Marek Polacek <polacek@redhat.com>
26644
26645 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26646 operands of fdivp instruction.
26647
34a27407
L
266482012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26649
26650 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26651 * elf/tst-auditmod3b.c: Likewise.
26652 * elf/tst-auditmod4b.c: Likewise.
26653 * elf/tst-auditmod5b.c: Likewise.
26654 * elf/tst-auditmod6b.c: Likewise.
26655 * elf/tst-auditmod6c.c: Likewise.
26656 * elf/tst-auditmod7b.c: Likewise.
26657 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26658 * sysdeps/x86_64/preconfigure.in: Likewise.
26659 * sysdeps/x86_64/preconfigure: Regenerated.
26660
7e73e17d
L
266612012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26662
26663 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26664 __ILP32__.
26665
c7a6ab72
AB
266662012-04-13 Antoine Balestrat <merkil33@gmail.com>
26667
26668 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26669 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26670
a9e8e0e0
CL
266712012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26672
26673 [BZ #13973]
26674 * locale/iso-639.def: Fix gl language name. Spotted by
26675 Yaron Shahrabani.
26676
ec98af7d
RM
266772012-04-12 Roland McGrath <roland@hack.frob.com>
26678
26679 [BZ #2074]
26680 * libio/libio.h (__io_write_fn): Update comment.
26681
247c3ede
PB
266822012-04-12 Petr Baudis <pasky@ucw.cz>
26683
26684 [BZ #2074]
26685 * stdio.texi (Hook Functions): The user provided writer function
26686 is not allowed to return -1.
26687
55939d6d
DM
266882012-04-11 David S. Miller <davem@davemloft.net>
26689
26690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26691
90020f5a
MF
266922012-04-11 Mike Frysinger <vapier@gentoo.org>
26693
26694 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26695 Add a leading slash to rtkaio.
26696
288f9098
JM
266972012-04-11 Jim Meyering <meyering@redhat.com>
26698
90020f5a
MF
26699 [BZ #11959]
26700 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26701 It is not necessarily an error to ignore fwrite's return
26702 value. One can reliably use ferror to test for errors after
26703 the fact.
288f9098 26704
4be2b570
L
267052012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26706
26707 * bits/types.h (__snseconds_t): New type.
26708 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26709
26710 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26711 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26712 (__SNSECONDS_T_TYPE): Likewise.
26713 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26714 (__SNSECONDS_T_TYPE): Likewise.
26715 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26716 (__SNSECONDS_T_TYPE): Likewise.
26717
288f9098 267182012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
26719
26720 [BZ #2636]
26721 * manual/time.texi (Processor Time): Return type of times is
26722 elapsed real time since an arbitrary point in the past.
26723 (CPU Time): Move CLK_TCK from here...
26724 (Processor Time): ...to here. Correct description.
26725 * manual/conf.texi (Constants for Sysconf): Correct description of
26726 _SC_CLK_TCK.
26727
d7dd4413
DM
267282012-04-10 David S. Miller <davem@davemloft.net>
26729
26730 [BZ #13967]
26731 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26732 where the is a gap between DT_REL(A) and DT_JMPREL.
26733
b46068fc
L
267342012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26735
26736 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26737 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26738 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26739
73d65cc3
SP
267402012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26741
26742 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26743 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26744 (dl_main): Handle --inhibit-cache.
26745 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26746 _dl_inhibit_cache.
26747 * elf/dl-load.c (_dl_map_object): Use it.
26748 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26749
bcc8d661
JM
267502012-04-09 Joseph Myers <joseph@codesourcery.com>
26751
8f9a2fae
JM
26752 [BZ #13872]
26753 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26754 (__ieee754_powl): Saturate large exponents rather than testing for
26755 overflow of y*log2(x).
26756 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26757 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26758 exceptions.
26759
bcc8d661
JM
26760 [BZ #11521]
26761 * math/s_ctan.c: Include <float.h>.
26762 (__ctan): Avoid internal overflow or cancellation in calculating
26763 denominator.
26764 * math/s_ctanf.c: Likewise.
26765 * math/s_ctanl.c: Likewise.
26766 * math/s_ctanh.c: Likewise.
26767 * math/s_ctanhf.c: Likewise.
26768 * math/s_ctanhl.c: Likewise.
26769 * math/libm-test.inc (ctan_test): Add more tests.
26770 (ctanh_test): Likewise.
26771 * sysdeps/i386/fpu/libm-test-ulps: Update.
26772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26773
823fbbb4
AJ
267742012-04-09 Andreas Jaeger <aj@suse.de>
26775
03879793
AJ
26776 [BZ #6894]
26777 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26778 is an optional BSD extension.
26779
823fbbb4
AJ
26780 [BZ #10254]
26781 * manual/stdio.texi (Opening Streams): Document additional fopen
26782 parameters.
26783
8de131cb
RM
267842012-04-09 Roland McGrath <roland@hack.frob.com>
26785
26786 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26787 %eax without telling the compiler.
26788
c0ed9d7d
CD
267892012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26790
26791 [BZ # 13963]
26792 * manual/install.texi: Use sourceware.org.
26793
c483f6b4
JM
267942012-04-09 Joseph Myers <joseph@codesourcery.com>
26795
d7dd9453
JM
26796 [BZ #13873]
26797 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26798 (__ieee754_pow): Generate overflow and underflow using huge*huge
26799 and tiny*tiny rather than just returning constant infinity or zero
26800 for large exponents.
26801 * math/libm-test.inc (pow_test): Require overflow exceptions for
26802 applicable cases of large exponents.
26803
c483f6b4
JM
26804 [BZ #706]
26805 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26806 (__ieee754_pow): Use iterative multiplication algorithm only for
26807 integer exponents with absolute value below 1024. Check for odd
26808 integer exponents when using algorithm for real exponents.
26809 * math/libm-test.inc (pow_test): Add more tests.
26810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26811
d2de7579
JM
268122012-04-08 Joseph Myers <joseph@codesourcery.com>
26813
26814 [BZ #13705]
26815 * math/libm-test.inc (exp_test): Do not allow overflow exception
26816 on underflow test.
26817
f77f1232
AJ
268182012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26819
26820 [BZ #13705]
26821 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26822 instead of __kernel_standard_f.
26823
3884932b
MF
268242012-04-08 Mike Frysinger <vapier@gentoo.org>
26825
26826 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26827 * sysdeps/x86_64/memset_chk.S: Likewise.
26828
54472e9c
AJ
268292012-04-08 Andreas Jaeger <aj@suse.de>
26830
6ab0fbfc
AJ
26831 [BZ #10153]
26832 * manual/startup.texi (Environment Access): Describe return value
26833 for putenv and setenv.
26834
61efba8c
AJ
26835 [BZ #6895]
26836 * manual/filesys.texi (Directory Entries): Add description for
26837 DT_LNK.
26838
95c3f29a
AJ
26839 [BZ #6890]
26840 * manual/filesys.texi (Directory Entries): Clarify that it's file
26841 system not operating system in the description of DT_UNKNOWN.
26842
54472e9c
AJ
26843 [BZ #6578]
26844 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26845
624254b1
SC
268462012-04-08 Stephen Compall <s11@member.fsf.org>
26847
26848 [BZ #6649]
26849 * manual/llio.texi (Opening and Closing Files): Add cross
26850 reference to explain mode argument.
26851
1e4920e0
MF
268522012-04-07 Mike Frysinger <vapier@gentoo.org>
26853
26854 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26855 * sysdeps/x86_64/memset_chk.S: Likewise.
26856
5ed848f3
DM
268572012-04-07 David S. Miller <davem@davemloft.net>
26858
26859 * elf/elf.h (R_SPARC_WDISP10): Define.
26860 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26861 R_SPARC_SIZE32.
26862 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26863 R_SPARC_SIZE64 and R_SPARC_H34.
26864
96154cd8
CD
268652012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26866
26867 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26868 conditions and remove no longer applicable assertion.
26869
9904dc47
L
268702012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26871
26872 * bits/byteswap.h: Include <features.h>.
26873 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26874 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26875
f8887d0a
L
268762012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26877
26878 * bits/byteswap.h (__bswap_16): Removed.
26879 Include <bits/byteswap-16.h> to get __bswap_16.
26880 * sysdeps/i386/bits/byteswap.h: Likewise.
26881 * sysdeps/s390/bits/byteswap.h: Likewise.
26882 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26883 * bits/byteswap-16.h: New file.
26884 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26885 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26886 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26887 * string/Makefile (headers): Add bits/byteswap-16.h.
26888
62470f60
PP
268892012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26890
26891 [BZ #13895]
26892 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26893 extra indirection.
26894 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26895 * nss/tst-nss-static.c: New.
26896
4dad7bab
RM
268972012-04-06 Robert Millan <rmh@gnu.org>
26898
26899 [BZ #6486]
26900 * manual/llio.texi (File Position Primitive): lseek
26901 refers to WHENCE when it really means OFFSET.
26902
e9142a17
AJ
269032012-04-06 Andreas Jaeger <aj@suse.de>
26904
2c040eff
AJ
26905 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26906 strncmp declarations.
26907
e9142a17
AJ
26908 * abilist/libc.abilist: Add __poll and __ppoll.
26909
ff9f1c5f
DM
269102012-04-05 David S. Miller <davem@davemloft.net>
26911
dcd2ae90
DM
26912 * scripts/check-local-headers.sh: Accept a host triplet in the
26913 path matched by the exclude regexp.
26914
993eb054
DM
26915 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26916 definition.
26917 * sysdeps/powerpc/powerpc32/dl-machine.h
26918 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26919 * sysdeps/s390/s390-32/dl-machine.h
26920 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26921 * sysdeps/sparc/sparc32/dl-machine.h
26922 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26923 * sysdeps/sparc/sparc64/dl-machine.h
26924 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26925
ff9f1c5f
DM
26926 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26927 lazy binding.
48e2e132 26928 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
26929 undefined symbol errors.
26930
48e2e132 26931 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
26932 DT_NEEDED entries.
26933
e80d6f94
MM
269342012-04-05 Michael Matz <matz@suse.de>
26935
26936 [BZ #13592]
26937 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26938
349fa79f
AJ
269392012-04-05 Andreas Jaeger <aj@suse.de>
26940
26941 [BZ #13908]
26942 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26943 comment.
26944
f402708f
KK
269452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26946
26947 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26948 which ROUND is no valid rounding mode.
26949
2ecccfc9
KK
269502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26951
26952 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26953 read again.
26954 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26955
8a53f50f
KK
269562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26957
26958 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26959 an exception using FPU order intentionally.
26960
269612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26962
26963 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26964 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26965 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26966 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26967
d653abb7
SJ
269682012-04-05 Simon Josefsson <simon@josefsson.org>
26969
26970 [BZ #12340]
26971 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26972 EINVAL when BUFLEN is too smal.
26973
c3b1bf7d
TS
269742012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26975
26976 [BZ #13553]
26977 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26978 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26979
b1aa60f3
AJ
269802012-04-03 Andreas Jaeger <aj@suse.de>
26981
c3b1bf7d 26982 [BZ #13938]
67f60a26
AJ
26983 * manual/setjmp.texi (System V contexts): Fix sentence.
26984
b1aa60f3
AJ
26985 [BZ #13926]
26986 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26987 New macro for this case.
26988 [!__GNUC__] (__bswap_64): New inline function for this case.
26989 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26990 * bits/byteswap.h: Likewise.
26991 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26992 ull, guard with __GLIBC_HAVE_LONG_LONG.
26993
26994 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26995 __GLIBC_HAVE_LONG_LONG.
26996
26997 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26998 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26999
39c59c35
TMQMF
270002012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27001
27002 [BZ #13691]
27003 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27004 inptr and inend, rather than using last_ch.
27005
135ffda8
DM
270062012-04-02 David S. Miller <davem@davemloft.net>
27007
27008 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27009 * stdio-common/printf-parse.h (read_int): Change return type to
27010 'int', return -1 on INT_MAX overflow.
27011 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27012 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27013 overflows INT_MAX. Check for overflow of in-format-string precision
27014 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27015 SIZE_MAX not INT_MAX for integer overflow test.
27016 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27017 skip the construct in the format string but do not record anything.
27018 * stdio-common/bug22.c: Adjust to test both width/prevision
27019 INT_MAX overflow as well as total length INT_MAX overflow. Check
27020 explicitly for proper errno values.
27021
228c019e
TS
270222012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27023
302cadd3
TS
27024 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27025 CHAR_MAX.
27026 * string/test-strcmp.c [! WIDE]: Likewise.
27027 * time/tst-mktime2.c: Likewise for INT_MAX.
27028 * string/test-string.h: #include <sys/param.h> for MIN.
27029
228c019e
TS
27030 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27031 * sysdeps/i386/init-first.c (init): Likewise.
27032 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27033 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27034 * sysdeps/sh/init-first.c (init): Likewise.
27035
cfa633f5
UD
270362012-04-01 Ulrich Drepper <drepper@gmail.com>
27037
27038 * po/ru.po: Update from translation team.
d1635ef8 27039 * po/vi.po: Likewise.
cfa633f5 27040
6cd0a5ea
SP
270412012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27042
27043 * resolv/nss_dns/dns-host.c: Merge copyright years.
27044
4b43400f
LD
270452012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27046
27047 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27048 Optimize memcpy with prefetch if
27049 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27050 src, dst pointers have unequal 16 byte alignments.
27051
48c41d04
SP
270522012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27053
27054 [BZ #13928]
27055 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27056 from a CNAME entry and return the minimum ttl for the query.
27057 (gaih_getanswer_slice): Likewise.
27058
b8dc394d
JL
270592012-03-30 Jeff Law <law@redhat.com>
27060
27061 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27062 due to long keys.
27063 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27064 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27065
2f5a5ed0
JL
27066 * resolv/nss_dns/dns-host.c: Update copyright year.
27067
1d39e359
UD
270682012-03-30 Ulrich Drepper <drepper@gmail.com>
27069
c030f70c 27070 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 27071 requests to save a system call. Fix check that all bytes are sent.
c030f70c 27072
1d39e359
UD
27073 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27074 comments for sendmmsg.
27075
270762012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
27077
27078 [BZ #13691]
27079 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27080 with only 1 character between 0x0041 and 0x01b0.
27081 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27082 * wcsmbs/tst-mbsnrtowcs.c: New file.
27083
20fde227
DM
270842012-03-29 David S. Miller <davem@davemloft.net>
27085
27086 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27087 small copies by hand.
27088
984a4237
JL
270892012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27090
27091 [BZ #13761]
27092 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27093 _nss_compat_initgroups_dyn): Fall back to malloc/free
27094 for large group memberships.
27095
18c9d62b
DM
270962012-03-28 David S. Miller <davem@davemloft.net>
27097
88d85d4f
DM
27098 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27099 that branches into memcpy.
27100 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27101 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27102 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27103 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27104 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27105 bits.
27106 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27107 implementation too.
27108 * sysdeps/sparc/mempcpy.S: New file.
27109
e5aa83e1
DM
27110 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27111 the IFUNC routine in the libc case.
27112 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27113
88570753
DM
27114 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27115 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27116 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27117 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27118 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27119 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27120 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27121 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27122
249d7567
DM
27123 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27124 loop to 256 bytes instead of 64 bytes and fix test signedness.
27125
18c9d62b
DM
27126 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27127 * sysdeps/sparc/sparc32/Makefile: rather than here...
27128 * sysdeps/sparc/sparc64/Makefile: and here.
27129
05f3d1f6
UD
271302012-03-28 Ulrich Drepper <drepper@gmail.com>
27131
27132 * malloc/mallocbug.c: Avoid warnings about unused variables.
27133
86ae07a8
JL
271342012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27135
27136 [BZ #13760]
27137 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27138 in the right place. Discard and retry query if response is
27139 larger than input buffer size.
27140
41bf21a1
JM
271412012-03-28 Joseph Myers <joseph@codesourcery.com>
27142
d6270972
JM
27143 [BZ #369]
27144 [BZ #2678]
27145 [BZ #3866]
27146 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27147 x for large integer exponent.
27148 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27149 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27150 sign of result as needed afterwards.
27151 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27152 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27153 result for underflowing pow the same as for overflow.
27154 (__kernel_standard_l): Handle powl overflow and underflow here
27155 rather than calling __kernel_standard.
27156 * math/libm-test.inc (pow_test): Add more tests.
27157
414fca03 27158 [BZ #3868]
41bf21a1
JM
27159 [BZ #13879]
27160 [BZ #13910]
27161 [BZ #13911]
27162 [BZ #13912]
27163 [BZ #13913]
27164 [BZ #13915]
27165 [BZ #13916]
27166 [BZ #13917]
27167 [BZ #13918]
27168 [BZ #13919]
27169 [BZ #13920]
27170 [BZ #13921]
27171 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27172 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27173 (__kernel_standard_l): New function.
27174 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27175 __kernel_standard.
27176 * math/w_acosl.c (__acosl): Likewise.
27177 * math/w_asinl.c (__asinl): Likewise.
27178 * math/w_atan2l.c (__atan2l): Likewise.
27179 * math/w_atanhl.c (__atanhl): Likewise.
27180 * math/w_coshl.c (__coshl): Likewise.
27181 * math/w_exp10l.c (__exp10l): Likewise.
27182 * math/w_exp2l.c (__exp2l): Likewise.
27183 * math/w_fmodl.c (__fmodl): Likewise.
27184 * math/w_hypotl.c (__hypotl): Likewise.
27185 * math/w_j0l.c (__j0l, __y0l): Likewise.
27186 * math/w_j1l.c (__j1l, __y1l): Likewise.
27187 * math/w_jnl.c (__jnl, __ynl): Likewise.
27188 * math/w_lgammal.c (__lgammal): Likewise.
27189 * math/w_log10l.c (__log10l): Likewise.
27190 * math/w_log2l.c (__log2l): Likewise.
27191 * math/w_logl.c (__logl): Likewise.
27192 * math/w_powl.c (__powl): Likewise.
27193 * math/w_remainderl.c (__remainderl): Likewise.
27194 * math/w_scalbl.c (sysv_scalbl): Likewise.
27195 * math/w_sinhl.c (__sinhl): Likewise.
27196 * math/w_sqrtl.c (__sqrtl): Likewise.
27197 * math/w_tgammal.c (__tgammal): Likewise.
27198 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27199 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27200 * math/libm-test.inc (acos_test): Add more tests.
27201 (acosh_test): Likewise.
27202 (asin_test): Likewise.
27203 (atanh_test): Likewise.
27204 (exp_test): Likewise.
27205 (exp10_test): Likewise.
27206 (exp2_test): Likewise.
27207 (expm1_test): Likewise.
27208 (lgamma_test): Likewise.
27209 (log_test): Likewise.
27210 (log10_test): Likewise.
27211 (log1p_test): Likewise.
27212 (log2_test): Likewise.
27213 (pow_test): Do not allow some spurious overflow exceptions.
27214 (sqrt_test): Add more tests.
27215 (tgamma_test): Likewise.
27216 (y0_test): Likewise.
27217 (y1_test): Likewise.
27218 (yn_test): Likewise.
27219
dd62fda6
AB
272202012-03-27 Anton Blanchard <anton@samba.org>
27221
27222 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27223 MAP_HUGETLB.
27224 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27225 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27226 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27227
1e3cdfda
AJ
272282012-03-27 David S. Miller <davem@davemloft.net>
27229
b855ab85
DM
27230 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27231
1e3cdfda
AJ
27232 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27233 have-as-vis3 check.
27234
272352012-03-27 Andreas Jaeger <aj@suse.de>
27236
27237 * sysdeps/x86_64/elf/configure.in: Moved to ...
27238 * sysdeps/x86_64/configure.in: ... here.
27239 * sysdeps/x86_64/elf/start.S: Moved to ...
27240 * sysdeps/x86_64/start.S: ... here.
27241 * sysdeps/x86_64/elf/configure: Delete.
27242
27243 * sysdeps/x86_64/configure.in: Merge contents from
27244 sysdeps/i386/configure.in (without i686 check).
27245
27246 * sysdeps/i386/elf/Versions: Merge into ...
27247 * sysdeps/i386/Versions: ... this.
27248 * sysdeps/i386/elf/Versions: Delete file.
27249 * sysdeps/i386/elf/start.S: Moved to ...
27250 * sysdeps/i386/start.S: ...here.
27251 * sysdeps/i386/elf/configure.in: Merge into...
27252 * sysdeps/i386/configure.in: ...here.
27253 * sysdeps/i386/elf/configure.in: Delete file.
27254 * sysdeps/i386/elf/configure: Delete file.
27255
27256 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27257 * debug/backtracesyms.c: ... here.
27258 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27259 * debug/backtracesymsfd.c: ... here.
27260 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27261 * sysdeps/generic/ifunc-sel.h: ... here.
27262
27263 * sysdeps/unix/i386/start.c: Delete file.
27264 * sysdeps/unix/sparc/start.c: Delete file.
27265 * sysdeps/unix/start.c: Delete file.
27266
27267 * sysdeps/sh/elf/configure.in: Moved to ...
27268 * sysdeps/sh/configure.in: ... here.
27269 * sysdeps/sh/elf/start.S: Moved to ...
27270 * sysdeps/sh/start.S: ... here.
27271 * sysdeps/sh/elf/configure: Delete file.
27272
27273 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27274 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27275 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27276 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27277 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27278 * sysdeps/powerpc/powerpc64/start.S: here.
27279 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27280 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27281 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27282 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27283 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27284
27285 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27286 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27287 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27288 * sysdeps/powerpc/powerpc32/start.S: ... here.
27289 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27290 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27291 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27292
27293 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27294 * sysdeps/powerpc/ifunc-sel.h: ... here.
27295 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27296 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27297
27298 * sysdeps/sparc/elf/configure.in: Moved to ...
27299 * sysdeps/sparc/configure.in: ... here.
27300 * sysdeps/sparc/elf/configure: Delete file.
27301 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27302 * sysdeps/sparc/sparc32/start.S: ... here.
27303 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27304 * sysdeps/sparc/sparc64/start.S: ... here.
27305 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27306 * sysdeps/sparc/sparc32/Makefile: ... this.
27307 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27308 * sysdeps/sparc/sparc64/Makefile: ... this.
27309
27310 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27311 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27312 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27313 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27314 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27315 * sysdeps/s390/s390-32/setjmp.S: ... here.
27316 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27317 * sysdeps/s390/s390-32/configure.in: ... here.
27318 * sysdeps/s390/s390-32/elf/configure: Delete file.
27319 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27320 * sysdeps/s390/s390-32/start.S: ... here.
27321
27322 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27323 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27324 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27325 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27326 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27327 * sysdeps/s390/s390-64/setjmp.S: ... here.
27328 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27329 * sysdeps/s390/s390-64/configure.in: ... here
27330 * sysdeps/s390/s390-64/elf/configure: Delete file.
27331 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27332 * sysdeps/s390/s390-64/start.S: ... here.
27333 * sysdeps/s390/s390-64/elf/configure: Delete.
27334
27335 * configure.in: Remove support for elf directories in sysdeps.
27336
27337 * configure: Regenerated.
27338 * sysdeps/i386/configure: Regenerated.
27339 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27340 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27341 * sysdeps/s390/s390-32/configure: Regenerated.
27342 * sysdeps/s390/s390-64/configure: Regenerated.
27343 * sysdeps/sh/configure: Regenerated.
27344 * sysdeps/sparc/configure: Regenerated.
27345 * sysdeps/x86_64/configure: Regenerated.
27346
a3f61311
AS
273472012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27348
c876e002
AS
27349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27350
a3f61311
AS
27351 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27352 denormal result into account.
27353
ac4c54f0
RM
273542012-03-25 Roland McGrath <roland@hack.frob.com>
27355
27356 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27357 Reported by Allan McRae <allan@archlinux.org>.
27358
6a9b9c02
JL
273592012-03-23 Jeff Law <law@redhat.com>
27360
27361 * nss/getnssent.c (__nss_getent): Fix typo.
27362
4c42a0c1
DM
273632012-03-23 David S. Miller <davem@davemloft.net>
27364
27365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27366
1532c7ac
L
273672012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27368
27369 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27370 to pad to uint64_t for each field.
27371 (dl_tls_index): Replace unsigned long with uint64_t.
27372
3ff42526
PP
273732012-03-23 Daniel Jacobowitz <dmj@google.com>
27374 Paul Pluzhnikov <ppluzhnikov@google.com>
27375
27376 [BZ #6528]
27377 * grp/Makefile (otherlibs): Don't set it.
27378 * inet/Makefile (otherlibs): Likewise.
27379 * login/Makefile (otherlibs): Likewise.
27380 * nscd/Makefile (otherlibs): Likewise.
27381 * posix/Makefile (otherlibs): Likewise.
27382 * pwd/Makefile (otherlibs): Likewise.
27383 * rt/Makefile (otherlibs): Likewise.
27384 * sunrpc/Makefile (otherlibs): Likewise.
27385 * nss/Makefile (otherlibs): Likewise.
27386 Add libnss_files to routines and static-only-routines.
27387 ($(objpfx)getent): Remove rule.
27388 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27389 static-only-routines.
27390
7c69cd14
JM
273912012-03-22 Joseph Myers <joseph@codesourcery.com>
27392
27393 [BZ #13892]
27394 * math/s_cexp.c: Include <float.h>.
27395 (__cexp): Handle exp result overflowing not necessarily
27396 overflowing both real and imaginary parts of result.
27397 * math/s_cexpf.c: Likewise.
27398 * math/s_cexpl.c: Likewise.
27399 * math/libm-test.inc (cexp_test): Add more tests.
27400 * sysdeps/i386/fpu/libm-test-ulps: Update.
27401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27402
81b035fe
L
274032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27404
27405 * include/link.h (ELFW): New macro.
27406 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27407 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27408
1da7940c
L
274092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27410
27411 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27412 with uint64_t.
27413
b749dbb9
L
274142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27415
27416 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27417 declaration.
27418 (struct La_x32_retval): Likewise.
27419
2ff87f3f
L
274202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27421
27422 * sysdeps/x86_64/preconfigure.in: New file.
27423 * sysdeps/x86_64/preconfigure: New generated file.
27424
c0df8e69
JM
274252012-03-22 Joseph Myers <joseph@codesourcery.com>
27426
48e44791
JM
27427 [BZ #13824]
27428 * math/e_exp2l.c: Include <float.h>.
27429 (__ieee754_exp2l): Handle overflow and underflow cases
27430 separately. Only pass fractional part of argument to
27431 __ieee754_expl.
27432 * math/libm-test.inc (exp2_test): Add more tests.
27433
c0df8e69
JM
27434 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27435 negating x to take absolute value.
27436 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27437 Likewise.
27438 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27439 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27440 Likewise.
27441 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27442 computing low part if x was negated.
27443 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27444
c8e43ba7
L
274452012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27446
27447 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27448 la_x32_gnu_pltexit.
27449 (pltexit): Cast int_retval to ptrdiff_t.
27450 * elf/tst-auditmod3b.c: Likewise.
27451 * elf/tst-auditmod4b.c: Likewise.
27452 * elf/tst-auditmod5b.c: Likewise.
27453 * elf/tst-auditmod6b.c: Likewise.
27454 * elf/tst-auditmod6c.c: Likewise.
27455 * elf/tst-auditmod7b.c: Likewise.
27456
27457 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27458 and x32_gnu_pltexit.
27459
27460 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27461 __ELF_NATIVE_CLASS.
27462 (La_x32_regs): New macro.
27463 (La_x32_retval): Likewise.
27464 (la_x32_gnu_pltenter): New function prototype.
27465 (la_x32_gnu_pltexit): Likewise.
27466
7998fa78
AS
274672012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27468
dcb33988
AS
27469 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27470 exponent.
27471
233fc563
AS
27472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27473
7998fa78
AS
27474 * configure.in (libc_cv_cc_nofma): Check for option to disable
27475 generation of FMA instructions.
27476 * configure: Regenerate.
27477 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27478 * sysdeps/ieee754/dbl-64/Makefile: New file.
27479 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27480 Remove brandred-fma4.
27481 (CFLAGS-brandred-fma4.c): Remove.
27482 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27483 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27484 define.
27485 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27486 define.
27487
8e95c99a
L
274882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27489
27490 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27491 LLONG_MAX != LONG_MAX.
27492 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27493 (_fitoa_word): Likewise.
27494 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27495 LLONG_MAX != LONG_MAX.
27496 * stdio-common/_itowa.h: Include <_itoa.h>.
27497 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27498 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27499 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27500 only if not defined.
27501 (_ITOA_WORD_TYPE): Likewise.
27502 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27503 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27504
6f4db457
DM
275052012-03-21 David S. Miller <davem@davemloft.net>
27506
27507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27508
7785fe5a
L
275092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27510
27511 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27512 of x86_64 when setting libc_cv_slibdir, libdir and
27513 libc_cv_localedir.
27514 * sysdeps/unix/sysv/linux/configure: Regenerated.
27515
4535cd55
JM
275162012-03-21 Joseph Myers <joseph@codesourcery.com>
27517
27518 * manual/lang.texi (Old Varargs): Remove section.
27519 (How Variadic): Update menu.
27520 (va_start): Do not mention varargs.h.
27521
17228132
TS
275222012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27523 Joseph Myers <joseph@codesourcery.com>
27524
27525 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27526 link test.
27527 * configure: Regenerated.
27528
8149f976
TS
275292012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27530
05f3d1f6
UD
27531 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27532 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27533 conformtest.pl
8149f976 27534
1a4ac776
JM
275352012-03-21 Joseph Myers <joseph@codesourcery.com>
27536
be22ce65
JM
27537 * NOTES: Remove.
27538 * Makefile (files-for-dist): Remove NOTES.
27539 (NOTES): Remove rule.
27540 * README: Don't refer to NOTES.
27541 * manual/creature.texi: Don't include macros.texi.
27542 * manual/intro.texi (creature.texi): Remove comment referring to
27543 NOTES.
27544
40b601fb
JM
27545 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27546 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27547 * configure: Regenerated.
27548 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27549 LIBC_TRY_CC_OPTION.
27550 (libc_cv_as_i686): Likewise.
27551 (libc_cv_cc_avx): Likewise.
27552 (libc_cv_cc_sse2avx): Likewise.
27553 (libc_cv_cc_fma4): Likewise.
27554 (libc_cv_cc_novzeroupper): Likewise.
27555 * sysdeps/i386/configure: Regenerated.
27556
1a4ac776
JM
27557 [BZ #13883]
27558 * sysdeps/i386/fpu/s_cexp.S: Remove.
27559 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27560 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27561 * math/libm-test.inc (cexp_test): Add more tests.
27562 * sysdeps/i386/fpu/libm-test-ulps: Update.
27563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27564
a458e7fe
AM
275652012-03-21 Allan McRae <allan@archlinux.org>
27566
27567 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27568
0cb7efc5
JM
275692012-03-21 Joseph Myers <joseph@codesourcery.com>
27570
27571 [BZ #13871]
27572 * math/w_exp2.c: Do not include <float.h>.
27573 (o_threshold, u_threshold): Remove.
27574 (__exp2): Calculate result before checking finiteness and calling
27575 __kernel_standard.
27576 * math/w_exp2f.c: Likewise.
27577 * math/w_exp2l.c: Likewise.
27578 * math/libm-test.inc (exp2_test): Require overflow exception for
27579 1e6 input.
2460d3aa
JM
27580
27581 [BZ #3866]
27582 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27583 range of signed 64-bit integers before using fistpll. Remove
27584 checks for whether integers fit in mantissa bits.
27585 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27586 the range of signed 32-bit integers before using fistpl. Remove
27587 checks for whether integers fit in mantissa bits.
27588 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27589 (__ieee754_powl): Test for y outside the range of signed 64-bit
27590 integers before using fistpll. Reduce 64-bit values to 63-bit
27591 ones as needed.
27592 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27593 divide-by-zero is raised for zero to large negative powers.
27594 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27595 (__ieee754_powl): Test for y outside the range of signed 64-bit
27596 integers before using fistpll. Reduce 64-bit values to 63-bit
27597 ones as needed.
27598 * math/libm-test.inc (pow_test): Add more tests.
27599
eb96ffb0
L
276002012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27601
27602 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27603 <stdio-common/_itoa.h>.
27604 * debug/segfault.c: Likewise.
27605 * elf/dl-cache.c: Likewise.
27606 * elf/dl-minimal.c: Likewise.
27607 * elf/dl-misc.c: Likewise.
27608 * elf/dl-sysdep.c: Likewise.
27609 * elf/dl-version.c: Likewise.
27610 * elf/rtld.c: Likewise.
27611 * hurd/hurdsock.c: Likewise.
27612 * hurd/lookup-retry.c: Likewise.
27613 * malloc/malloc.c: Likewise.
27614 * malloc/mtrace.c: Likewise.
27615 * nscd/nscd_getgr_r.c: Likewise.
27616 * nscd/nscd_getpw_r.c: Likewise.
27617 * nscd/nscd_getserv_r.c: Likewise.
27618 * posix/getopt_init.c: Likewise.
27619 * posix/wordexp.c: Likewise.
27620 * stdio-common/_itoa.c: Likewise.
27621 * stdio-common/printf_fphex.c: Likewise.
27622 * stdio-common/vfprintf.c: Likewise.
27623 * string/_strerror.c: Likewise.
27624 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27625 * sysdeps/i386/i686/hp-timing.h: Likewise.
27626 * sysdeps/mach/_strerror.c: Likewise.
27627 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27628 * sysdeps/mach/hurd/sethostid.c: Likewise.
27629 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27630 * sysdeps/mach/xpg-strerror.c: Likewise.
27631 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27632 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27633 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27634 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27635 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27636 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27637 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27638 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27639 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27640 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27641 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27642 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27643 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27644 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27645 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27646 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27647 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27648 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27649 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27650 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27651 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27652
27653 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27654
27655 * stdio-common/_itoa.h: Moved to ...
27656 * sysdeps/generic/_itoa.h: Here.
27657
27658 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27659
27660 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27661 instead of "_itoa.h" and "_itowa.h".
27662 * stdio-common/vfprintf.: Likewise.
27663
d1af992d
L
276642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27665
27666 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27667 <bits/wordsize.h>.
27668 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27669 (__signbit): Likwise.
27670 (llrintf): Likwise.
27671 (llrint): Likwise.
27672
114883e0
L
276732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27674
27675 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27676 __WORDSIZE != 64.
27677
c135cc1b
JM
276782012-03-20 Joseph Myers <joseph@codesourcery.com>
27679
27680 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27681 OVERFLOW_EXCEPTION_OK.
27682 * math/libm-test.inc ("Philosophy"): Update comment about
27683 exception testing.
27684 (OVERFLOW_EXCEPTION): Define.
27685 (OVERFLOW_EXCEPTION_OK): Likewise.
27686 (INVALID_EXCEPTION_OK): Renumber.
27687 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27688 (IGNORE_ZERO_INF_SIGN): Likewise.
27689 (test_exceptions): Handle FE_OVERFLOW.
27690 (exp10_test): Expect overflow exceptions.
27691 (exp2_test): Likewise.
27692 (expm1_test): Likewise.
27693 (nextafter_test): Likewise.
27694 (pow_test): Likewise.
27695 (scalbn_test): Likewise.
27696 (scalbln_test): Likewise.
27697
95443d88
L
276982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27699
27700 * sysdeps/x86_64/bits/atomic.h
27701 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27702 64bit integer.
27703 (atomic_exchange_acq): Likewise.
27704 (__arch_exchange_and_add_body): Likewise.
27705 (__arch_add_body): Likewise.
27706 (atomic_add_negative): Likewise.
27707 (atomic_add_zero): Likewise.
27708
490df6c4
L
277092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27710
c2722551 27711 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
27712 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27713
5e52b189
L
277142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27715
27716 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27717 Check __x86_64__ instead of __WORDSIZE.
27718
a9879d4c
L
277192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27720
27721 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27722
5df98260
DM
277232012-03-19 David S. Miller <davem@davemloft.net>
27724
e1497744
DM
27725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27726
5df98260
DM
27727 * sysdeps/sparc/fpu/fenv_private.h: New file.
27728 * sysdeps/sparc/fpu/math_private.h: Use it.
27729 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27730 Remove.
27731 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27732 (libc_feholdexcept_setroundl): Remove.
27733 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27734 Remove.
27735 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27736 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27737
b4c35121
L
277382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27739
27740 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27741 int64_t instead of long int.
27742 (INSERT_WORDS64): Likwise.
27743
56965fd7
L
277442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27745
27746 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27747 _Unwind_GetCFA return to _Unwind_Ptr first.
27748
83d1aec8
JM
277492012-03-19 Joseph Myers <joseph@codesourcery.com>
27750
1897ad44
JM
27751 [BZ #13629]
27752 * math/s_clog.c: Include <float.h>.
27753 (__clog): Scale large or subnormal inputs.
27754 * math/s_clogf.c: Likewise.
27755 * math/s_clogl.c: Likewise.
27756 * math/s_clog10.c: Include <float.h>.
27757 (M_LOG10_2): Define.
27758 (__clog10): Scale large or subnormal inputs.
27759 * math/s_clog10f.c: Likewise.
27760 * math/s_clog10l.c: Likewise.
27761 * math/libm-test.inc (clog_test): Add more tests.
27762 (clog10_test): Likewise.
27763 * sysdeps/i386/fpu/libm-test-ulps: Update.
27764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27765
7726d6a9
JM
27766 [BZ #11451]
27767 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27768 x and y.
27769 * math/libm-test.inc (atan2_test): Add another test.
27770
83d1aec8
JM
27771 * Makerules (common-objdir-compile): Remove.
27772 * sysdeps/unix/Makefile (config-generated): Do not add
27773 $(unix-generated) to variable.
27774 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27775 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27776 Remove rule.
27777 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27778 Likewise.
27779 [generic bits/local_lim.h] (before-compile): Do not append to
27780 variable.
27781 [generic bits/local_lim.h] (common-generated): Likewise.
27782 [generic sys/param.h] (before-compile): Do not append to variable.
27783 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27784 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27785 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27786 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27787 include.
27788 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27789 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27790 [generic sys/param.h] ($(addprefix
27791 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27792 [generic sys/param.h] (common-generated): Do not append to
27793 variable.
27794 [generic sys/param.h] (sysdep_headers): Likewise.
27795 [generic bits/errno.h] (before-compile): Do not append to
27796 variable.
27797 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27798 rule.
27799 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27800 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27801 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27802 [generic bits/errno.h] (common-generated): Do not append to
27803 variable.
27804 [generic bits/ioctls.h] (before-compile): Do not append to
27805 variable.
27806 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27807 rule.
27808 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27809 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27810 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27811 rule.
27812 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27813 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27814 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27815 [generic bits/ioctls.h] (common-generated): Do not append to
27816 variable.
27817 [generic sys/syscall.h] (syscall.h): Remove variable.
27818 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27819 rule.
27820 [generic sys/syscall.h] (before-compile): Do not append to
27821 variable.
27822 [generic sys/syscall.h] (common-generated): Likewise.
27823 * sysdeps/unix/errnos-tmpl.c: Remove file.
27824 * sysdeps/unix/errnos.awk: Likewise.
27825 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27826 * sysdeps/unix/ioctls.awk: Likewise.
27827 * sysdeps/unix/mk-local_lim.c: Likewise.
27828 * sysdeps/unix/snarf-ioctls: Likewise.
27829
4851a949
RH
278302012-03-19 Richard Henderson <rth@twiddle.net>
27831
bd37f2ee
RH
27832 * sysdeps/i386/fpu/fenv_private.h: New file.
27833 * sysdeps/i386/fpu/math_private.h: Use it.
27834 (math_opt_barrier, math_force_eval): Remove.
27835 (libc_feholdexcept_setround_53bit): Remove.
27836 (libc_feupdateenv_53bit): Remove.
27837 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27838 (math_opt_barrier, math_force_eval): Remove.
27839 (libc_feholdexcept): Remove.
27840 (libc_feholdexcept_setround): Remove.
27841 (libc_fetestexcept, libc_fesetenv): Remove.
27842 (libc_feupdateenv_test): Remove.
27843 (libc_feupdateenv, libc_feholdsetround): Remove.
27844 (libc_feresetround): Remove.
27845
d0adc922
RH
27846 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27847 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27848
0fe0f1f8
RH
27849 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27850 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27851 (libc_feupdateenv_testl): New.
27852 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27853 (libc_feupdateenv_testf): New.
27854 (libc_feupdateenv): Use libc_feupdateenv_test.
27855 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27856 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27857
eb92c487
RH
27858 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27859 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27860 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27861 (libc_feresetround_noex): New.
27862 (libc_feresetround_noexf): New.
27863 (libc_feresetround_noexl): New.
27864 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27865 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27866 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27867 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27868 SET_RESTORE_ROUND.
27869 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27870 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27871 (__cos): Likewise.
27872 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27873 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27874 SET_RESTORE_ROUND_NOEX.
27875 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27876 SET_RESTORE_ROUND_NOEXF.
27877 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27878 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27879 (libc_feholdsetroundf): New.
27880 (libc_feresetround, libc_feresetroundf): New.
27881
7d2e8012
RH
27882 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27883 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27884 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27885
b4dabbb4
RH
27886 * sysdeps/generic/math_private.h: Include <fenv.h>.
27887 (default_libc_feholdexcept): New.
27888 (default_libc_feholdexcept_setround): New.
27889 (default_libc_fesetenv, default_libc_feupdateenv): New.
27890 (libc_feholdexcept): Only define if undefined.
27891 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27892 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27893 (libc_feholdexcept_setroundl): Likewise.
27894 (libc_feholdexcept_setround_53bit): Likewise.
27895 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27896 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27897 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27898 (libc_feupdateenv_53bit): Likewise.
27899 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27900 (libc_feholdexcept): Convert from macro to inline function.
27901 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27902 (libc_fesetenv, libc_feupdateenv): Likewise.
27903
4851a949
RH
27904 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27905 not previously defined.
27906 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27907 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27908 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27909 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27910 * sysdeps/ieee754/flt-32/math_private.h: New file.
27911 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27912 math_private.h below SET_FLOAT_WORD.
27913 (__isnan, __isinf_ns, __finite): Remove.
27914 (__isnanf, __isinf_nsf, __finitef): Remove.
27915
e79d442e
AS
279162012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27917
27918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27919
90b80344
DM
279202012-03-17 David S. Miller <davem@davemloft.net>
27921
27922 [BZ #6471]
27923 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27924 for 2.16.
27925
edc21804
DM
279262012-03-16 David S. Miller <davem@davemloft.net>
27927
77e927af
DM
27928 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27929 warnings.
27930
374976dd
DM
27931 [BZ #6471]
27932 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27933 properly.
27934 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27935 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27936 sysdep_routines when subdir is sysvipc.
27937 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27938 __getshmlba helper.
27939
edc21804
DM
27940 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27941
473c3ef3
L
279422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27943
27944 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27945 [__LP64__].
27946
eb0f39b6
L
279472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27948
27949 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27950 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27951 (__lround): Renamed to ...
27952 (__llround): This. Replace long int with long long int.
27953 Define lround functions as aliases of llround functions.
27954 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27955
6b6cd74b
L
279562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27957
27958 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27959 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27960 adresses to uintptr_t. Replace "long int" and "unsigned long
27961 int" with "greg_t" on va_arg.
27962
f1a77b01
L
279632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27964
27965 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27966 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27967
27968 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27969 Move e_machine check before EI_CLASS check. Handle x32
27970 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27971 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27972 SKIP_EM_IA_64 and include
27973 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27974
27975 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27976 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27977 (add_system_dir): New macro.
27978
27979 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27980 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27981
11b90b9f
JM
279822012-03-16 Joseph Myers <joseph@codesourcery.com>
27983
c36e1d23
JM
27984 [BZ #2551]
27985 [BZ #2552]
27986 [BZ #2553]
27987 [BZ #2554]
27988 [BZ #2562]
27989 [BZ #2563]
27990 [BZ #2565]
27991 [BZ #2566]
27992 [BZ #2576]
27993 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27994 (y0): Likewise.
27995 * math/w_j0f.c (j0f): Likewise.
27996 (y0f): Likewise.
27997 * math/w_j0l.c (__j0l): Likewise.
27998 (__y0l): Likewise.
27999 * math/w_j1.c (j1): Likewise.
28000 (y1): Likewise.
28001 * math/w_j1f.c (j1f): Likewise.
28002 (y1f): Likewise.
28003 * math/w_j1l.c (__j1l): Likewise.
28004 (__y1l): Likewise.
28005 * math/w_jn.c (jn): Likewise.
28006 (yn): Likewise.
28007 * math/w_jnf.c (jnf): Likewise.
28008 (ynf): Likewise.
28009 * math/w_jnl.c (__jnl): Likewise.
28010 (__ynl): Likewise.
28011 * math/libm-test.inc (j0_test): Add more tests.
28012 (j1_test): Likewise.
28013 (jn_test): Likewise. Add trailing semicolon to existing test.
28014 (y0_test): Likewise.
28015 (y1_test): Likewise.
28016 * sysdeps/i386/fpu/libm-test-ulps: Update.
28017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28018
11b90b9f
JM
28019 [BZ #13851]
28020 [BZ #13854]
28021 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28022 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28023 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28024 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28025 (__tanl): Set errno for infinite argument.
28026 * sysdeps/i386/fpu/mptan.c: Remove.
28027 * sysdeps/i386/fpu/s_tan.S: Likewise.
28028 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28029 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28030 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28031 * math/libm-test.inc (tan_test): Add more tests and enable more
28032 tests for double and long double.
28033 * sysdeps/i386/fpu/libm-test-ulps: Update.
28034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28035
6a1bd2a1
JK
280362012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28037
28038 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28039 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28040
10a803e0
RM
280412012-03-16 Roland McGrath <roland@hack.frob.com>
28042
28043 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28044 * configure.in: Use it for both main tree and add-ons.
28045 * configure: Regenerated.
28046
f196c7f7
L
280472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28048
28049 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28050
8848d99d
JM
280512012-03-16 Joseph Myers <joseph@codesourcery.com>
28052
96cbe7f4
JM
28053 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28054 in comment.
28055
8848d99d
JM
28056 [BZ #13851]
28057 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28058 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28059 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28060 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28061 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28062 infinite argument.
28063 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28064 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28065 != 0 for prec == 2.
28066 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28067 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28068 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28069 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28070 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28071 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28072 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28073 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28074 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28075 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28076 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28077 * math/libm-test.inc (cos_test): Add more tests and enable more
28078 tests for long double.
28079 (sin_test): Likewise.
28080 (sincos_test): Likewise.
28081 * sysdeps/i386/fpu/libm-test-ulps: Update.
28082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28083
dd7f4703
DM
280842012-03-16 David S. Miller <davem@davemloft.net>
28085
28086 * sysdeps/sparc/fpu/math_private.h: New file.
28087
006f1daa
DM
280882012-03-15 David S. Miller <davem@davemloft.net>
28089
c0c83bc8
DM
28090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28091 file.
e6a62e18 28092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
28093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28094 file.
e6a62e18
DM
28095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28096 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28097 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28098 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28099 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28100 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28101 sysdep routines.
28102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28103
88cb87d9
DM
28104 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28105 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28106
006f1daa 28107 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
28108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28109 sparc-ifunc.h
006f1daa 28110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
28111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28112 Likewise.
28113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28114 Likewise.
006f1daa
DM
28115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
28118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28119 Likewise.
006f1daa
DM
28120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
28124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28125 Likewise.
28126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28127 Likewise.
006f1daa
DM
28128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28132 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28133 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28134 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28135 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28136 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28137 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28138 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28142 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28143 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28144 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28145 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28146 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28147 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28148 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28149 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28150 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28151 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28152
11e0098e
AS
281532012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28154
28155 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28156 scaling.
28157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28158
e85b09d0
AJ
281592012-03-15 Andreas Jaeger <aj@suse.de>
28160
28161 [BZ #13852]
28162 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28163 ieee754/flt-32 implementation for sin, cos and sincos.
28164 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28165 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28166 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28167 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28168 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28169 ieee754/flt-32 implementation for tan.
28170
28171 * math/libm-test.inc (cos_test): Enable some large input tests for
28172 float as well
28173 (sin_test): Likewise.
28174 (sincos_test): Likewise.
28175 (tan_test): Add tests for large input.
28176
28177 * sysdeps/i386/fpu/libm-test-ulps: Update.
28178
81c64153
AJ
281792012-03-15 Andreas Jaeger <aj@suse.de>
28180
28181 [BZ #13658]
28182 * math/libm-test.inc (cos_test): Add more test cases.
28183 (sin_test): Likewise.
28184 (sincos_test): Likewise.
28185
7bbfa5c6
AJ
281862012-03-15 Andreas Jaeger <aj@suse.de>
28187
28188 [BZ #13837]
28189 * math/libm-test.inc (cos_test): Add a test case for large input
28190 value.
28191 (sin_test): Likewise.
28192 (sincos_test): Likewise.
28193
281942012-03-15 Andreas Jaeger <aj@suse.de>,
28195 Joseph Myers <joseph@codesourcery.com>
28196
28197 [BZ #13658]
0671f479 28198 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
28199 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28200 * sysdeps/i386/fpu/branred.c: Likewise.
28201 * sysdeps/i386/fpu/dosincos.c: Likewise.
28202 * sysdeps/i386/fpu/mpa.c: Likewise.
28203 * sysdeps/i386/fpu/s_cos.S: Likewise.
28204 * sysdeps/i386/fpu/s_sin.S: Likewise.
28205 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28206 * sysdeps/i386/fpu/sincos32.c: Likewise.
28207
28208 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28209 Define.
28210 (libc_feupdateenv_53bit): Define.
28211 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28212 Define.
28213 (libc_feupdateenv_53bit): Define.
28214
28215 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28216 53 bit (without extend i386 double precision).
28217
28218 * math/libm-test.inc (sincos_test): Add tests for large input.
28219 (sin): Likewise.
28220 (cos): Likewise.
28221
28222 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28223
9cad04ea
AS
282242012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28225
28226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28227
f7062b9a
DM
282282012-03-15 David S. Miller <davem@davemloft.net>
28229
28230 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28231 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28232 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28233 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28239 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28240 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28241 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28242 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28243 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28244 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
28245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28246 file.
f7062b9a 28247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
28248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28249 file.
f7062b9a 28250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
28251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28252 file.
f7062b9a 28253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
28254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28255 file.
f7062b9a
DM
28256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28257 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28258 fmin/fmax sysdep routines.
28259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28260
7bd951ff
DM
282612012-03-14 David S. Miller <davem@davemloft.net>
28262
559398ab
DM
28263 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28264 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28265 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28266 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28267 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28268 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28269 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28270 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28271 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28272 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28273 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28274 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28275 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28276 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28277 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28278 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28279 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28280 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28281 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28282 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28283 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28284 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28285 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28286 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28287 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28288 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28289 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28290 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28291 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28292 routines.
28293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28294 file.
559398ab 28295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
28296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28297 file.
559398ab 28298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
28299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28300 file.
559398ab 28301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
28302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28303 file.
559398ab 28304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
28305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28306 file.
559398ab 28307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
28308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28309 file.
28310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28311 file.
28312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28313 file.
28314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28315 file.
28316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28317 New file.
28318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28319 file.
28320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28321 file.
559398ab 28322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
28323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28324 file.
559398ab 28325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28327 file.
559398ab 28328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
28329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28330 file.
559398ab 28331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
28332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28333 VIS3 routines.
559398ab
DM
28334
28335 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28336 New file.
28337
5a1c1e32
DM
28338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28339
eae47a36
DM
28340 * sysdeps/sparc/configure.in: New file.
28341 * sysdeps/sparc/configure: Generate.
28342 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28343 * configure: Regenerate.
28344 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28345 * config.make.in (have-as-vis3): New.
28346 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28347 available use -Av9d instead of -Av9a.
28348 * sysdeps/sparc/sparc64/Makefile: Likewise.
28349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
28350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28351 New file.
28352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28353 file.
28354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28355 New file.
28356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28357 file.
eae47a36
DM
28358 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28359 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28360 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28361 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28362 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28363
c0c83bc8
DM
28364 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28365 fzeros/fnegs to load 0x80000000 into a float register instead of
28366 using the stack.
7bd951ff
DM
28367 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28368
bd951ccb
JM
283692012-03-14 Joseph Myers <joseph@codesourcery.com>
28370
28371 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28372 bits/syscall.h.
28373 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28374 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28375 ($(inst_includedir)/bits/syscall.h): Remove rule.
28376 ($(objpfx)bits/syscall.d): Include instead of
28377 $(objpfx)syscall-list.d.
28378 (generated): Change syscall-list.h and syscall-list.d to
28379 bits/syscall.h and bits/syscall.d.
28380
bb4e6db2
RM
283812012-03-14 Roland McGrath <roland@hack.frob.com>
28382
28383 [BZ #13846]
28384 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28385
aa4a2ae1
JM
283862012-03-14 Joseph Myers <joseph@codesourcery.com>
28387
e456826d
JM
28388 [BZ #13841]
28389 * math/s_csqrt.c: Include <float.h>.
28390 (__csqrt): Scale large or subnormal inputs.
28391 * math/s_csqrtf.c: Likewise.
28392 * math/s_csqrtl.c: Likewise.
28393 * math/libm-test.inc (csqrt_test): Add more tests.
28394 * sysdeps/i386/fpu/libm-test-ulps: Update.
28395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28396
aa4a2ae1
JM
28397 [BZ #13840]
28398 * math/libm-test.inc (hypot_test): Add more tests.
28399
7c10fd35
DM
284002012-03-13 David S. Miller <davem@davemloft.net>
28401
28402 [BZ #13840]
28403 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28404 double-precision for the calculation instead of scaling.
28405
f453b98b
JM
284062012-03-13 Joseph Myers <joseph@codesourcery.com>
28407
28408 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28409 manipulate bits before adding and subtracting TWO52[sx].
28410 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28411 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28412 Likewise.
28413 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28414
09a3453f
DM
284152012-03-13 David S. Miller <davem@davemloft.net>
28416
8e59da90
DM
28417 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28418 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28419 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28420 rtld-global-offsets.h
28421 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28422
2a8ab7f2
DM
28423 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28424 large parameters.
28425
10f62770
DM
28426 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28427
5f0bdb18
DM
28428 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28429 'err' in the ifdef scope in which it is actually used.
28430
09a3453f
DM
28431 * nss/nss_db/db-init.c: Include string.h
28432
b4b2eb5e
DM
284332012-03-12 David S. Miller <davem@davemloft.net>
28434
98bb2f1c
DM
28435 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28436 masking out of the most significant byte of random value used.
28437 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28438 Fix coding style in previous change.
28439
b4b2eb5e
DM
28440 * sysdeps/unix/sysv/linux/kernel-features.h
28441 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28442 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28443 expression.
28444 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28445 later.
28446
6e226b09
DM
284472012-03-11 David S. Miller <davem@davemloft.net>
28448
a1bcbd40
DM
28449 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28450 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28451 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28452 for 'resultvar' otherwise things get truncated on 64-bit.
28453
cb9d6174
DM
28454 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28455 Fix masking out of the most significant byte of random value used.
28456
6e226b09
DM
28457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28458
058c132d
AS
284592012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28460
28461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28462
2d2cd515
DM
284632012-03-09 David S. Miller <davem@davemloft.net>
28464
28465 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28466 variables with appropriate CPP guards.
28467 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28468 frame pointer, not the stack pointer. Correct layout comments. Fix test
28469 on resulting framesize and the management of the outregs buffer for pltexit.
28470 Preserve floating point return values across _dl_call_pltexit call.
28471 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28472 framesize and the management of the outregs buffer for pltexit.
28473 Preserve floating point return values across _dl_call_pltexit
28474 call.
28475 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28476 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28477 (print_exit): Fix format string for return register value.
28478
9a07f9d0
JM
284792012-03-10 Joseph Myers <joseph@codesourcery.com>
28480
28481 * sunrpc/Makefile (others): Add rpcgen.
28482 ($(objpfx)rpcgen): Remove special build rule and dependency on
28483 libc.
28484 * sunrpc/rpcgen.c: New file.
28485
547b5e30
PE
284862012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28487
c524201a
PE
28488 [BZ #13673]
28489 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28490 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28491 * sysdeps/i386/crti.S: Likewise.
28492 * sysdeps/i386/crtn.S: Likewise.
28493 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28494 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28495 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28496 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28497 * sysdeps/sh/crti.S: Likewise.
28498 * sysdeps/sh/crtn.S: Likewise.
28499 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28500
7b6235f2
PE
28501 [BZ #13673]
28502 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28503 with URL.
28504 * locale/programs/locfile-kw.gperf: Likewise.
28505 * locale/programs/charmap-kw.h: Regenerated.
28506 * locale/programs/locfile-kw.h: Likewise.
28507
547b5e30
PE
28508 [BZ #13673]
28509 * intl/plural.y: Replace FSF snail mail address with URL.
28510 * intl/plural.c: Regenerated.
28511
5f0a5dae
RH
285122012-03-09 Richard Henderson <rth@twiddle.net>
28513
28514 * include/math_private.h: Remove file.
28515 * math/math_private.h: Move file ...
28516 * sysdeps/generic/math_private.h: ... here.
28517
b8c03620
RH
28518 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28519 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28520 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28521
4e234f5d 28522 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
28523 and <math_private.h>.
28524 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28525 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28526 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28527 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28528 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28529 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28530 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28531 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28532 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28533 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28534 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28535 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28536 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28537 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28538 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28539 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28540 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28541 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28542 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28543 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28544 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28545 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28546 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28547 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28548 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28549 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28550 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28551 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28552 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28553 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28554 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28555 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28556 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28557 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28558 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28559 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28560 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28561 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28562 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28563 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28564 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28565 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28566 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28567 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28568 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28569 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28570 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28571 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28572 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28573 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28574 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28575 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28576 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28577 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28578 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28579 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28580 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28581 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28582 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28583 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28584 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28585 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28586 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28587 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28588 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28589 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28590 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28591 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28592 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28593 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28594 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28595 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28596 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28597 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28598 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28599 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28600 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28601 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28602 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28603 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28604 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28605 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28606 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28607 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28608 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28609 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28610 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28611 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28612 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28613 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28614 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28615 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28616 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28617 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28618 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28619 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28620 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28621 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28622 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28623 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28624 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28625 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28626 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28627 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28628 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28629 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28630 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28631 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28632 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28633 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28634 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28635 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28636 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28637 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28638 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28639 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28640 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28641 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28642 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28643 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28644 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28645 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28646 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28647 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28648 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28649 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28650 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28651 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28652 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28653 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28654 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28655 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28656 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28657 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28658 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28659 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28660 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28661 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28662 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28663 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28664 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28665 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28666 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28667 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28668 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28669 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28670 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28671 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28672 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28673 * sysdeps/ieee754/k_standard.c: Likewise.
28674 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28675 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28676 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28677 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28678 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28679 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28680 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28681 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28682 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28683 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28684 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28685 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28686 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28687 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28688 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28689 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28690 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28691 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28692 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28693 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28694 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28695 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28696 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28697 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28698 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28699 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28700 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28701 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28702 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28703 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28704 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28705 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28706 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28707 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28708 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28709 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28710 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28711 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28712 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28713 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28714 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28715 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28716 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28717 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28718 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28719 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28720 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28721 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28722 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28723 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28724 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28725 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28726 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28727 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28728 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28729 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28730 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28731 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28732 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28733 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28734 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28735 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28736 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28737 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28738 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28739 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28740 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28741 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28742 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28743 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28744 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28745 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28746 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28747 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28748 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28749 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28750 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28751 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28752 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28753 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28754 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28755 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28756 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28757 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28758 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28759 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28760 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28761 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28762 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28763 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28764 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28765 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28766 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28767 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28768 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28769 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28770 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28771 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28772 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28773 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28774 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28775 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28776 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28777 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28778 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28779 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28780 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28781 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28782 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28783 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28784 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28785 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28786 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28787 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28788 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28789 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28790 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28791 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28792 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28793 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28794 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28795 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28796 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28797 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28798 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28799 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28800 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28801 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28802 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28803 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28804 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28805 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28806 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28807 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28808 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28809 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28810 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28811 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28812 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28813 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28814 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28815 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28816 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28817 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28818 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28819 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28820 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28821 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28822 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28823 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28824 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28825 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28826 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28827 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28828 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28829 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28830 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28831 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28832 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28833 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28834 * sysdeps/ieee754/s_lib_version.c: Likewise.
28835 * sysdeps/ieee754/s_matherr.c: Likewise.
28836 * sysdeps/ieee754/s_signgam.c: Likewise.
28837 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28838 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28839 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28840 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28841 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28842 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28843 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28844 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28845 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28846 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28847 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28848 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28849 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28850 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28851 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28852 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28853 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28854 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28855 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28856 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28857 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 28858
1991fa03
JM
288592012-03-09 Joseph Myers <joseph@codesourcery.com>
28860
28861 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28862 * sunrpc/rpc_main.c: Likewise.
28863 * sunrpc/rpc_svcout.c: Likewise.
28864
60d6f5a6
DM
288652012-03-09 David S. Miller <davem@davemloft.net>
28866
28867 * include/math_private.h: New file.
28868
4962050e
JM
288692012-03-09 Joseph Myers <joseph@codesourcery.com>
28870
02a6f887
JM
28871 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28872 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28873 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28874 from <bits/socket_type.h>.
28875 (enum __socket_type): Don't define here.
28876 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28877 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28878 bits/socket_type.h.
28879
c6e013c1
JM
28880 [BZ #13566]
28881 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28882 checking __USE_GNU.
28883
4962050e
JM
28884 * Makerules ($(inst_includedir)/%.h): New rule.
28885 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28886 (install-others): Remove variable setting.
28887 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28888
38842f45
RH
288892012-03-08 Richard Henderson <rth@twiddle.net>
28890
67bb6da6
RH
28891 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28892 from macro to inline function; merge with the
28893 !__LIBC_INTERNAL_MATH_INLINES version.
28894 (__ieee754_sqrtf): Likewise.
28895
15194b4b
RH
28896 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28897 to inline function.
28898 (__rintf, __floor, __floorf): Likewise.
28899
64e21ede
RH
28900 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28901 macro to inline function.
28902 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28903
38842f45
RH
28904 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28905 not <math/math_private.h>.
28906
c64bf5fe
DM
289072012-03-08 David S. Miller <davem@davemloft.net>
28908
28909 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28910 copyright year.
28911 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28912
82d86f28
TS
289132012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28914
28915 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28916 normalization.
28917 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28918 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28919
aea5d727
UD
289202012-03-08 Ulrich Drepper <drepper@gmail.com>
28921
28922 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28923 be defined individually, they must be defined as a block. Define
28924 S for printing a string instead of hidint the different by using a
28925 macro for adding the 'l'.
28926 * stdio-common/tst-fphex-wide.c: Adjust.
28927
70bca0a3
MP
289282012-03-07 Marek Polacek <polacek@redhat.com>
28929
28930 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28931
65b81130
MP
289322012-03-08 Marek Polacek <polacek@redhat.com>
28933
28934 [BZ #13806]
28935 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28936 * stdio-common/tst-fphex.c: Define a few macros to make the
28937 test reusable. Use them.
28938 * stdio-common/tst-fphex-wide.c: New file.
28939
07037eeb
JM
289402012-03-08 Joseph Myers <joseph@codesourcery.com>
28941
a7a93d50
JM
28942 [BZ #6911]
28943 * manual/macros.texi (gnusystems): New macro.
28944 (nongnusystems): Likewise.
28945 (gnulinuxhurdsystems): Likewise.
28946 (gnuhurdsystems): Likewise..
28947 (gnulinuxsystems): Likewise.
28948 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28949 variants of the GNU system, not "GNU system".
28950 * manual/conf.texi: Likewise.
28951 * manual/errno.texi: Likewise. Update example of errno macro
28952 expansion.
28953 * manual/filesys.texi: Likewise.
28954 (getumask): Document as specific to GNU/Hurd.
28955 * manual/install.texi: Likewise. Reword some references to
28956 GNU/Linux.
28957 * manual/intro.texi: Likewise.
28958 * manual/io.texi: Likewise.
28959 (File Name Portability): Detail which constraints are inapplicable
28960 to all GNU systems and which are only inapplicable to GNU/Hurd.
28961 * manual/job.texi: Likewise.
28962 * manual/llio.texi: Likewise.
28963 (O_NOCTTY): Document as present on GNU/Linux.
28964 * manual/maint.texi: Likewise.
28965 * manual/memory.texi: Likewise.
28966 * manual/pattern.texi: Likewise.
28967 * manual/pipe.texi: Likewise.
28968 * manual/process.texi: Likewise.
28969 * manual/resource.texi: Likewise.
28970 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28971 child on GNU/Hurd.
28972 * manual/setjmp.texi: Likewise.
28973 * manual/signal.texi: Likewise.
28974 * manual/startup.texi: Likewise.
28975 * manual/stdio.texi: Likewise.
28976 * manual/terminal.texi: Likewise.
28977 (ONLCR): Document as POSIX.
28978 (OXTABS): Document availability on GNU/Linux as XTABS.
28979 (ONOEOT): Document availability separately from other bits.
28980 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28981 * manual/time.texi: Likewise.
28982 * manual/users.texi: Likewise.
28983 * INSTALL: Regenerated.
28984 * sysdeps/gnu/errlist.c: Regenerated.
28985
07037eeb
JM
28986 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28987 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28988 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28989 puts.
28990 * configure: Regenerated.
28991
d1d3431a
JM
289922012-03-07 Joseph Myers <joseph@codesourcery.com>
28993
af6a1e37
JM
28994 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28995 default includes instead of AC_HEADER_CHECK.
28996 * sysdeps/i386/configure: Regenerated.
28997
d1d3431a
JM
28998 [BZ #10716]
28999 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29000 * math/s_cacoshf.c (__cacoshf): Likewise.
29001 * math/s_cacoshl.c (__cacoshl): Likewise.
29002 * math/s_casinh.c (__casinh): Set signs of result from argument.
29003 * math/s_casinhf.c (__casinhf): Likewise.
29004 * math/s_casinhl.c (__casinhl): Likewise.
29005 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29006 (casinh_test): Add more tests.
29007 * sysdeps/i386/fpu/libm-test-ulps: Update.
29008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29009
482ff4da
UD
290102012-03-07 Ulrich Drepper <drepper@gmail.com>
29011
872fda05
UD
29012 * po/zh_TW.po: Update from translation team.
29013
a4300c7a
UD
29014 * login/Makefile (distribute): Remove variable.
29015 * catgets/Makefile: Likewise.
29016 * mach/Makefile: Likewise.
29017 * malloc/Makefile: Likewise.
29018 * misc/Makefile: Likewise.
29019 * iconv/Makefile: Likewise.
29020 * nscd/Makefile: Likewise.
29021 * hurd/Makefile: Likewise.
29022 * manual/Makefile: Likewise.
29023 * locale/Makefile: Likewise.
29024 * intl/Makefile: Likewise.
29025 * conform/Makefile: Likewise.
29026 * nss/Makefile: Likewise.
29027 * time/Makefile: Likewise.
29028 * soft-fp/Makefile: Likewise.
29029 * dirent/Makefile: Likewise.
29030 * gmon/Makefile: Likewise.
29031 * po/Makefile: Likewise.
29032 * rt/Makefile: Likewise.
29033 * socket/Makefile: Likewise.
29034 * math/Makefile: Likewise.
29035 * signal/Makefile: Likewise.
29036 * debug/Makefile: Likewise.
29037 * elf/Makefile: Likewise.
29038 * timezone/Makefile: Likewise.
29039 * stdlib/Makefile: Likewise.
29040 * iconvdata/Makefile: Likewise.
29041 * sunrpc/Makefile: Likewise.
29042 * io/Makefile: Likewise.
29043 * argp/Makefile: Likewise.
29044 * inet/Makefile: Likewise.
29045 * hesiod/Makefile: Likewise.
29046 * grp/Makefile: Likewise.
29047 * csu/Makefile: Likewise.
29048 * wctype/Makefile: Likewise.
29049 * crypt/Makefile: Likewise.
29050 * libio/Makefile: Likewise.
29051 * string/Makefile: Likewise.
29052 * nis/Makefile: Likewise.
29053 * resolv/Makefile: Likewise.
29054 * stdio-common/Makefile: Likewise.
29055 * wcsmbs/Makefile: Likewise.
29056 * dlfcn/Makefile: Likewise.
29057 * posix/Makefile: Likewise.
29058
3b7c4e74 29059 [BZ #6959]
482ff4da
UD
29060 * timezone/Makefile: Don't install timezone files, just the programs
29061 and scripts.
29062
f72ed77d
UD
290632012-03-06 Ulrich Drepper <drepper@gmail.com>
29064
a000466f
UD
29065 * nss/databases.def: Add missing gshadow entry.
29066
f72ed77d
UD
29067 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29068
a53b7a4e
MP
290692012-03-06 Marek Polacek <polacek@redhat.com>
29070
29071 [BZ #13726]
29072 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29073 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29074 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29075 * stdio-common/tst-long-dbl-fphex.c: New file.
29076
e9258400
DM
290772012-03-06 David S. Miller <davem@davemloft.net>
29078
29079 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29080 (set_obp_int): New function.
29081 (get_obp_int): New function.
29082 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
29083 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29084 Avoid unused variable warnings on 'val' and use builtin_expect.
29085 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29086 __builtin_expect.
e9258400
DM
29087 (INLINE_CLONE_SYSCALL): Likewise.
29088
3bd2c723
DM
290892012-03-05 David S. Miller <davem@davemloft.net>
29090
29091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29092
bbb78d03
AS
290932012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29094
884c5db4
AS
29095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29096
bbb78d03
AS
29097 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29098 only for |x| >= 40.
29099 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29100
1c9f702a 291012012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
29102
29103 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29104 Replace gettimeofday with __vdso_gettimeofday.
29105
7be16f82
RM
29106 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29107 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29108 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
29109
29110 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29111 time with __vdso_time.
29112
ed58a00f
JM
291132012-03-05 Joseph Myers <joseph@codesourcery.com>
29114
29115 * manual/lang.texi (size_t): Note types to which size_t may be
29116 equivalent with the GNU C Library, but do not describe when
29117 differences between them are significant.
29118
30ee4ced
AJ
291192012-03-05 Andreas Jaeger <aj@suse.de>
29120
29121 * sysdeps/i386/fpu/libm-test-ulps: Update.
29122
b7cd39e8
JM
291232012-03-05 Joseph Myers <joseph@codesourcery.com>
29124
29125 [BZ #3976]
29126 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29127 (__ieee754_pow): Save and restore rounding mode and use
29128 round-to-nearest for main computations.
29129 * math/libm-test.inc (pow_test_tonearest): New function.
29130 (pow_test_towardzero): Likewise.
29131 (pow_test_downward): Likewise.
29132 (pow_test_upward): Likewise.
29133 (main): Call the new functions.
29134 * sysdeps/i386/fpu/libm-test-ulps: Update.
29135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
29136
29137 [BZ #3976]
29138 * math/libm-test.inc (cosh_test_tonearest): New function.
29139 (cosh_test_towardzero): Likewise.
29140 (cosh_test_downward): Likewise.
29141 (cosh_test_upward): Likewise.
29142 (sinh_test_tonearest): Likewise.
29143 (sinh_test_towardzero): Likewise.
29144 (sinh_test_downward): Likewise.
29145 (sinh_test_upward): Likewise.
29146 (main): Call the new functions.
29147 * sysdeps/i386/fpu/libm-test-ulps: Update.
29148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29149
6c6a98c9
TV
291502012-03-05 Tom de Vries <tom@codesourcery.com>
29151
29152 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29153 default stack guard is set in last bytes.
29154 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29155
21bb2d2e 291562012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 29157
21bb2d2e 29158 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 29159
21bb2d2e
AJ
29160 [BZ #13656]
29161 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29162 possibly allocate from heap instead of stack.
29163 * stdio-common/bug-vfprintf-nargs.c: New file.
29164 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 29165
c6922934
AS
291662012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29167
29168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29169
bc957d53
MP
291702012-03-03 Marek Polacek <polacek@redhat.com>
29171
29172 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29173 * math/math_private.h: Likewise.
29174 * stdlib/tst-strtod.c: Likewise.
29175 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29176 * sysdeps/x86_64/bits/atomic.h: Likewise.
29177
6358490d
DM
291782012-03-02 David S. Miller <davem@davemloft.net>
29179
29180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29184 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29185 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29186 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29187 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29188
01ae168d
RM
291892012-03-02 Roland McGrath <roland@hack.frob.com>
29190
d9a17c07
RM
29191 [BZ #13792]
29192 * manual/examples/README: New file, says the example source files
29193 can be used under GPL>=2.
29194 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29195 line containing just "*/".
29196 * manual/examples/add.c: Add copyright header (GPL>=2).
29197 * manual/examples/argp-ex1.c: Likewise.
29198 * manual/examples/argp-ex2.c: Likewise.
29199 * manual/examples/argp-ex3.c: Likewise.
29200 * manual/examples/argp-ex4.c: Likewise.
29201 * manual/examples/atexit.c: Likewise.
29202 * manual/examples/db.c: Likewise.
29203 * manual/examples/dir.c: Likewise.
29204 * manual/examples/dir2.c: Likewise.
29205 * manual/examples/execinfo.c: Likewise.
29206 * manual/examples/filecli.c: Likewise.
29207 * manual/examples/filesrv.c: Likewise.
29208 * manual/examples/fmtmsgexpl.c: Likewise.
29209 * manual/examples/genpass.c: Likewise.
29210 * manual/examples/inetcli.c: Likewise.
29211 * manual/examples/inetsrv.c: Likewise.
29212 * manual/examples/isockad.c: Likewise.
29213 * manual/examples/longopt.c: Likewise.
29214 * manual/examples/memopen.c: Likewise.
29215 * manual/examples/memstrm.c: Likewise.
29216 * manual/examples/mkfsock.c: Likewise.
29217 * manual/examples/mkisock.c: Likewise.
29218 * manual/examples/mygetpass.c: Likewise.
29219 * manual/examples/pipe.c: Likewise.
29220 * manual/examples/popen.c: Likewise.
29221 * manual/examples/rprintf.c: Likewise.
29222 * manual/examples/search.c: Likewise.
29223 * manual/examples/select.c: Likewise.
29224 * manual/examples/setjmp.c: Likewise.
29225 * manual/examples/sigh1.c: Likewise.
29226 * manual/examples/sigusr.c: Likewise.
29227 * manual/examples/stpcpy.c: Likewise.
29228 * manual/examples/strdupa.c: Likewise.
29229 * manual/examples/strftim.c: Likewise.
29230 * manual/examples/strncat.c: Likewise.
29231 * manual/examples/subopt.c: Likewise.
29232 * manual/examples/swapcontext.c: Likewise.
29233 * manual/examples/termios.c: Likewise.
29234 * manual/examples/testopt.c: Likewise.
29235 * manual/examples/testpass.c: Likewise.
29236 * manual/examples/timeval_subtract.c: Likewise.
29237
01ae168d
RM
29238 [BZ #13792]
29239 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29240 function to ...
29241 * manual/timeval_subtract.c.texi: ... here, new file.
29242
49efa33d
DM
292432012-03-02 David S. Miller <davem@davemloft.net>
29244
29245 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29246
28afd92d
JM
292472012-03-02 Joseph Myers <joseph@codesourcery.com>
29248
804360ed
JM
29249 [BZ #3976]
29250 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29251 (__sin): Save and restore rounding mode and use round-to-nearest
29252 for all computations.
29253 (__cos): Save and restore rounding mode and use round-to-nearest
29254 for all computations.
29255 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29256 <fenv.h>.
29257 (tan): Save and restore rounding mode and use round-to-nearest for
29258 all computations.
29259 * math/libm-test.inc (cos_test_tonearest): New function.
29260 (cos_test_towardzero): Likewise.
29261 (cos_test_downward): Likewise.
29262 (cos_test_upward): Likewise.
29263 (sin_test_tonearest): Likewise.
29264 (sin_test_towardzero): Likewise.
29265 (sin_test_downward): Likewise.
29266 (sin_test_upward): Likewise.
29267 (tan_test_tonearest): Likewise.
29268 (tan_test_towardzero): Likewise.
29269 (tan_test_downward): Likewise.
29270 (tan_test_upward): Likewise.
29271 (main): Call the new functions.
29272 * sysdeps/i386/fpu/libm-test-ulps: Update.
29273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29274
a6d06d7b
JM
29275 [BZ #10135]
29276 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29277 small n, then large n, before computing and testing k+n.
29278 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29279 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29280 Likewise.
29281 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29282 Likewise.
29283 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29284 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29285 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29286 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29287 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29288 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29289 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29290 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29291 * math/libm-test.inc (scalbn_test): Add more tests.
29292 (scalbln_test): Likewise.
29293
07e12bb3
JM
29294 * manual/filesys.texi (mode_t): Describe constraints on size and
29295 signedness, not exact equivalence to a particular type.
29296 (ino_t): Likewise.
29297 (ino64_t): Likewise.
29298 (dev_t): Likewise.
29299 (nlink_t): Likewise.
29300 (blkcnt_t): Likewise.
29301 (blkcnt64_t): Likewise.
29302 * manual/llio.texi (off_t): Likewise.
29303
28afd92d
JM
29304 [BZ #3976]
29305 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29306 (__ieee754_exp): Save and restore rounding mode and use
29307 round-to-nearest for all computations.
29308 * math/libm-test.inc (exp_test_tonearest): New function.
29309 (exp_test_towardzero): Likewise.
29310 (exp_test_downward): Likewise.
29311 (exp_test_upward): Likewise.
29312 (main): Call the new functions.
29313 * sysdeps/i386/fpu/libm-test-ulps: Update.
29314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29315
b1eeb65d
CD
293162012-03-01 Chris Demetriou <cgd@google.com>
29317
29318 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29319 have predictable order.
29320
53362a4b
DM
293212012-03-01 David S. Miller <davem@davemloft.net>
29322
3c969083
DM
29323 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29324
759707de
DM
29325 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29326 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29327 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29328 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29329
dfdb8ff2
DM
29330 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29331 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29332 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29334 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29335 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29336 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29337 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29338 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29339
ead89f96
DM
29340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29341
7f66bd07
DM
29342 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29343 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29344 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29345
53362a4b
DM
29346 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29347 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29348 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29349 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29350 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29351 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29352 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29353 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29354 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29355 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29356 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29357 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29358 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29359 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29360 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29361 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29362 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29363 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29364 * sysdeps/sparc/elf/configure: Regenerated.
29365
7b1902cb
JM
293662012-03-01 Joseph Myers <joseph@codesourcery.com>
29367
bec039bc
JM
29368 * configure.in (AS, LD): Require binutils 2.20 or later.
29369 * configure: Regenerated.
29370 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29371 as required minimum version.
29372 * INSTALL: Regenerated.
29373
7b1902cb
JM
29374 [BZ #2541]
29375 [BZ #4108]
29376 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29377 before squaring exponent.
29378 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29379 bottom long double and 27 bits of top long double before squaring
29380 exponent.
29381 * math/libm-test.inc (erfc_test): Add more tests.
29382 * sysdeps/i386/fpu/libm-test-ulps: Update.
29383 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29385
f775c276
KT
293862012-03-01 Kai Tietz <ktietz@redhat.com>
29387
29388 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29389 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29390 containing bit-fields.
29391 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29392 * soft-fp/single.h (_FP_UNION_S): Likewise.
29393 * soft-fp/double.h (_FP_UNION_D): Likewise.
29394
5b8a4d4a
JM
293952012-02-29 Joseph Myers <joseph@codesourcery.com>
29396
0bab47b6
JM
29397 [BZ #13786]
29398 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29399 not include ../strcmp.S.
29400 [USE_AS_STRNCASECMP_L]: Likewise.
29401 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29402 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29403 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29404 (__strncasecmp_l_ia32): Define as alias to
29405 __strncasecmp_l_nonascii.
29406
0fcad3e2
JM
29407 [BZ #5794]
29408 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29409 * sysdeps/i386/fpu/libm-test-ulps: Update.
29410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29411
5b8a4d4a
JM
29412 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29414
8fdceb2e
JL
294152012-02-29 Jeff Law <law@redhat.com>
29416
29417 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29418 out of bounds read.
29419
1f393a11
MP
294202012-02-29 Marek Polacek <polacek@redhat.com>
29421
29422 [BZ #13706]
29423 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29424 * elf/Makefile: Add rules to run tst-unused-dep.out.
29425
8847f037
DM
294262012-02-28 David S. Miller <davem@davemloft.net>
29427
29428 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29429 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29430 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29431 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29432 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29433 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29434
169d7f11
JM
294352012-02-29 Joseph Myers <joseph@codesourcery.com>
29436
29437 * math/libm-test.inc (llround_test): Move one test from
29438 lround_test. Use TEST_f_L in moved test.
29439 (lround_test): Move misplaced test to llround_test. Add testcase
29440 from bug 2561.
29441
39adf059
UD
294422012-02-28 Ulrich Drepper <drepper@gmail.com>
29443
29444 * sysdeps/x86_64/fpu/e_expf.S: New file.
29445 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29446
71b5d1c5
SB
294472012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29448
29449 [BZ #13637]
29450 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29451 of remain_len that may cause incomplete multi-byte character and
29452 false match.
29453 * posix/bug-regex33.c: New file.
29454 * posix/Makefile (tests): Add bug-regex33.
29455
1f77f049
JM
294562012-02-28 Joseph Myers <joseph@codesourcery.com>
29457
29458 * manual/macros.texi: New file.
29459 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29460 * manual/libc.texinfo: Include macros.texi.
29461 * manual/creatute.texi: Likewise.
29462 * manual/install.texi: Likewise.
29463 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29464 @glibcadj{} in references to the GNU C Library.
29465 * manual/charset.texi: Likewise.
29466 * manual/conf.texi: Likewise.
29467 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29468 when not using those macros.
29469 * manual/creature.texi: Likewise.
29470 * manual/crypt.texi: Likewise.
29471 * manual/errno.texi: Likewise.
29472 * manual/filesys.texi: Likewise.
29473 * manual/header.texi: Likewise.
29474 * manual/install.texi: Likewise.
29475 * manual/intro.texi: Likewise.
29476 * manual/io.texi: Likewise.
29477 * manual/job.texi: Likewise.
29478 * manual/lang.texi: Likewise.
29479 * manual/libc.texiinfo: Likewise.
29480 * manual/llio.texi: Likewise.
29481 * manual/locale.texi: Likewise.
29482 * manual/maint.texi: Likewise.
29483 * manual/math.texi: Likewise.
29484 * manual/memory.texi: Likewise.
29485 * manual/message.texi: Likewise.
29486 * manual/nss.texi: Likewise.
29487 * manual/pattern.texi: Likewise.
29488 * manual/process.texi: Likewise.
29489 * manual/resource.texi: Likewise.
29490 * manual/search.texi: Likewise.
29491 * manual/setjmp.texi: Likewise.
29492 * manual/signal.texi: Likewise.
29493 * manual/socket.texi: Likewise.
29494 * manual/startup.texi: Likewise.
29495 * manual/stdio.texi: Likewise.
29496 * manual/string.texi: Likewise.
29497 * manual/sysinfo.texi: Likewise.
29498 * manual/syslog.texi: Likewise.
29499 * manual/terminal.texi: Likewise.
29500 * manual/time.texi: Likewise.
29501 * manual/users.texi: Likewise.
29502 * INSTALL: Regenerated.
29503 * NOTES: Regenerated.
d40c5d54 29504 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 29505
450bf206
AS
295062012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29507
29508 * include/dirent.h: Include <dirstream.h> before
29509 <dirent/dirent.h>.
29510
741a235b
DM
295112012-02-28 David S. Miller <davem@davemloft.net>
29512
29513 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29514 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29515 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29516 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29517
d6b5aa58
DM
295182012-02-27 David S. Miller <davem@davemloft.net>
29519
1aff59a3
DM
29520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29522 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29523 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29524
d6b5aa58
DM
29525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29526 frame pointer instead of stack pointer relative arg slot.
29527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29528 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29529 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29530
433f48bf
CD
295312012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29532
29533 [BZ #3992]
29534 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29535
d674b76d
DM
295362012-02-27 David S. Miller <davem@davemloft.net>
29537
29538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29542 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29543 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29544 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29545 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29546
0e7727f7
JM
295472012-02-27 Joseph Myers <joseph@codesourcery.com>
29548
29549 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29550 later. Allow versions 5-9.
43be4ca2 29551 * configure: Regenerated.
0e7727f7
JM
29552 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29553 required minimum version and 4.6 as recommended version. Do not
29554 mention bugs in GCC 2.7 and 2.8.
43be4ca2 29555 * INSTALL: Regenerated.
0e7727f7 29556
a78bc654
DM
295572012-02-27 David S. Miller <davem@davemloft.net>
29558
428d5830
DM
29559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29563 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29564 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29565 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29566 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29567
a78bc654
DM
29568 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29569 manipulate bits before adding and subtracting TWO112[sx].
29570 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29571
4579f81c
RM
295722012-02-27 Roland McGrath <roland@hack.frob.com>
29573
36c8acb4
RM
29574 [BZ #13775]
29575 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29576 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29577 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29578 being in POSIX, because they are in 1003.1-2008.
29579
84ad622b
RM
29580 * rt/tst-aio.c: Include <fcntl.h>.
29581 * rt/tst-aio7.c: Likewise.
29582 * rt/tst-aio64.c: Likewise.
29583
4579f81c
RM
29584 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29585
abd923db
JM
295862012-02-27 Joseph Myers <joseph@codesourcery.com>
29587
29588 * manual/install.texi (--with-headers): Describe headers as
29589 interface headers, not private headers.
29590 (Specific advice for GNU/Linux systems): Describe use of headers
29591 from "make headers_install", not private headers from older
29592 kernels.
43be4ca2 29593 * INSTALL: Regenerated.
abd923db
JM
29594 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29595 Change to 2.6.19.
29596 * sysdeps/unix/sysv/linux/configure: Regenerated.
29597
6664049b
JM
29598 * manual/llio.texi (fclean): Remove documentation.
29599
bb8b6697
JM
29600 * manual/Makefile (libc-texi-generated): New variable. Include
29601 version.texi.
29602 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29603 $(libc-texi-generated), not duplicated list of files.
29604 (version.texi, stamp-version): New rules.
29605 (realclean): Remove $(libc-texi-generated), not individual files
29606 from that list. Do not remove dir-add.texinfo.
29607 * manual/libc.texinfo: Comment out uses of edition numbers and
29608 references to printed manual. Remove last-updated dates.
29609 (EDITION): Comment out.
29610 (ISBN): Likewise.
29611 (VERSION, UPDATED): Remove.
29612 (version.texi): Include.
29613
12e5c3b9
AS
296142012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29615
29616 * sysdeps/posix/spawni.c: Include <signal.h>.
29617 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29618 * sysdeps/pthread/aio_fsync.c: Likewise.
29619
4efeffc1 296202012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 29621
ba63ba08
UD
29622 * conform/Makefile (tests): Run only when not cross-compiling and
29623 when fast-check is not defined.
29624
d94a4670
UD
29625 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29626 * conform/data/limits.h-data: Fixes for POSIX2008.
29627 * conform/run-conformtest.sh: Run all tests.
29628 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29629 headers.
29630 * include/bits/dlfcn.h: Likewise.
29631 * include/langinfo.h: Likewise.
29632 * include/monetary.h: Likewise.
29633 * include/sys/poll.h: Likewise.
29634
29635 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29636 for __USE_GNU.
29637 * posix/spawn.h: Define __need_sigset_t.
29638 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29639 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29640 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29641 to get sigevent_t only.
29642 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29643 only for __USE_GNU.
29644 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29645 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29646 process_vm_writev only for __USE_GNU.
29647 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
29648
29649 * conform/Makefile: For now ignore errors from run-conformtest.
29650 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29651 POSIX to avoid namespace pollution. Don't prepend headers.
29652 * conform/data/aio.h-data: Fixes for POSIX testing.
29653 * conform/data/fcntl.h-data: Likewise.
29654 * conform/data/glob.h-data: Likewise.
29655 * conform/data/grp.h-data: Likewise.
29656 * conform/data/pthread.h-data: Likewise.
29657 * conform/data/pwd.h-data: Likewise.
29658 * conform/data/signal.h-data: Likewise.
29659 * conform/data/spawn.h-data: Likewise.
29660 * conform/data/stdio.h-data: Likewise.
29661 * conform/data/stdlib.h-data: Likewise.
29662 * conform/data/stropts.h-data: Likewise.
29663 * conform/data/sys/mman.h-data: Likewise.
29664 * conform/data/sys/stat.h-data: Likewise.
29665 * conform/data/sys/types.h-data: Likewise.
29666 * conform/data/sys/wait.h-data: Likewise.
29667 * conform/data/time.h-data: Likewise.
29668 * conform/data/unistd.h-data: Likewise.
29669 * conform/data/utime.h-data: Likewise.
29670
29671 * io/sys/stat.h: fchmod was always in POSIX.
29672 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29673 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29674 * rt/aio.h: Define __need_timespec before including <time.h>.
29675 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29676 struct. Add forward declaration of pthread_attr_t and use it in
29677 sigevent.
29678 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29679 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29680 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29681 always remove CLK_TCK definition.
29682
c20105c3
AS
296832012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29684
29685 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29686
7a270350
UD
296872012-02-25 Ulrich Drepper <drepper@gmail.com>
29688
31341567
UD
29689 * conform/run-conformtest.sh: New file.
29690 * conform/Makefile: Run run-conformtest for tests.
29691 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29692 support.
29693
29694 * conform/data/uchar.h-data: New file.
29695 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29696 * conform/data/arpa/inet.h-data: Likewise.
29697 * conform/data/assert.h-data: Likewise.
29698 * conform/data/complex.h-data: Likewise.
29699 * conform/data/cpio.h-data: Likewise.
29700 * conform/data/ctype.h-data: Likewise.
29701 * conform/data/dirent.h-data: Likewise.
29702 * conform/data/dlfcn.h-data: Likewise.
29703 * conform/data/errno.h-data: Likewise.
29704 * conform/data/fcntl.h-data: Likewise.
29705 * conform/data/float.h-data: Likewise.
29706 * conform/data/fmtmsg.h-data: Likewise.
29707 * conform/data/fnmatch.h-data: Likewise.
29708 * conform/data/ftw.h-data: Likewise.
29709 * conform/data/glob.h-data: Likewise.
29710 * conform/data/grp.h-data: Likewise.
29711 * conform/data/iconv.h-data: Likewise.
29712 * conform/data/inttypes.h-data: Likewise.
29713 * conform/data/langinfo.h-data: Likewise.
29714 * conform/data/libgen.h-data: Likewise.
29715 * conform/data/limits.h-data: Likewise.
29716 * conform/data/locale.h-data: Likewise.
29717 * conform/data/math.h-data: Likewise.
29718 * conform/data/monetary.h-data: Likewise.
29719 * conform/data/mqueue.h-data: Likewise.
29720 * conform/data/ndbm.h-data: Likewise.
29721 * conform/data/net/if.h-data: Likewise.
29722 * conform/data/netdb.h-data: Likewise.
29723 * conform/data/netinet/in.h-data: Likewise.
29724 * conform/data/nl_types.h-data: Likewise.
29725 * conform/data/poll.h-data: Likewise.
29726 * conform/data/pthread.h-data: Likewise.
29727 * conform/data/pwd.h-data: Likewise.
29728 * conform/data/regex.h-data: Likewise.
29729 * conform/data/sched.h-data: Likewise.
29730 * conform/data/search.h-data: Likewise.
29731 * conform/data/semaphore.h-data: Likewise.
29732 * conform/data/setjmp.h-data: Likewise.
29733 * conform/data/signal.h-data: Likewise.
29734 * conform/data/spawn.h-data: Likewise.
29735 * conform/data/stdarg.h-data: Likewise.
29736 * conform/data/stdio.h-data: Likewise.
29737 * conform/data/stdlib.h-data: Likewise.
29738 * conform/data/string.h-data: Likewise.
29739 * conform/data/strings.h-data: Likewise.
29740 * conform/data/stropts.h-data: Likewise.
29741 * conform/data/sys/ipc.h-data: Likewise.
29742 * conform/data/sys/mman.h-data: Likewise.
29743 * conform/data/sys/msg.h-data: Likewise.
29744 * conform/data/sys/resource.h-data: Likewise.
29745 * conform/data/sys/select.h-data: Likewise.
29746 * conform/data/sys/sem.h-data: Likewise.
29747 * conform/data/sys/shm.h-data: Likewise.
29748 * conform/data/sys/socket.h-data: Likewise.
29749 * conform/data/sys/stat.h-data: Likewise.
29750 * conform/data/sys/statvfs.h-data: Likewise.
29751 * conform/data/sys/time.h-data: Likewise.
29752 * conform/data/sys/timeb.h-data: Likewise.
29753 * conform/data/sys/times.h-data: Likewise.
29754 * conform/data/sys/types.h-data: Likewise.
29755 * conform/data/sys/uio.h-data: Likewise.
29756 * conform/data/sys/un.h-data: Likewise.
29757 * conform/data/sys/utsname.h-data: Likewise.
29758 * conform/data/sys/wait.h-data: Likewise.
29759 * conform/data/syslog.h-data: Likewise.
29760 * conform/data/tar.h-data: Likewise.
29761 * conform/data/termios.h-data: Likewise.
29762 * conform/data/utime.h-data: Likewise.
29763 * conform/data/utmpx.h-data: Likewise.
29764 * conform/data/varargs.h-data: Likewise.
29765 * conform/data/wchar.h-data: Likewise.
29766 * conform/data/wctype.h-data: Likewise.
29767 * conform/data/wordexp.h-data: Likewise.
29768
29769 * include/stropts.h: New file.
29770 * include/uchar.h: New file.
29771 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29772 * include/assert.h: Likewise.
29773 * include/ctype.h: Likewise.
29774 * include/dirent.h: Likewise.
29775 * include/dlfcn.h: Likewise.
29776 * include/fcntl.h: Likewise.
29777 * include/fnmatch.h: Likewise.
29778 * include/glob.h: Likewise.
29779 * include/grp.h: Likewise.
29780 * include/libio.h: Likewise.
29781 * include/locale.h: Likewise.
29782 * include/math.h: Likewise.
29783 * include/net/if.h: Likewise.
29784 * include/netdb.h: Likewise.
29785 * include/netinet/in.h: Likewise.
29786 * include/pthread.h: Likewise.
29787 * include/pwd.h: Likewise.
29788 * include/regex.h: Likewise.
29789 * include/sched.h: Likewise.
29790 * include/search.h: Likewise.
29791 * include/setjmp.h: Likewise.
29792 * include/signal.h: Likewise.
29793 * include/stdio.h: Likewise.
29794 * include/stdlib.h: Likewise.
29795 * include/string.h: Likewise.
29796 * include/sys/cdefs.h: Likewise.
29797 * include/sys/mman.h: Likewise.
29798 * include/sys/msg.h: Likewise.
29799 * include/sys/resource.h: Likewise.
29800 * include/sys/select.h: Likewise.
29801 * include/sys/socket.h: Likewise.
29802 * include/sys/stat.h: Likewise.
29803 * include/sys/statvfs.h: Likewise.
29804 * include/sys/time.h: Likewise.
29805 * include/sys/times.h: Likewise.
29806 * include/sys/uio.h: Likewise.
29807 * include/sys/utsname.h: Likewise.
29808 * include/sys/wait.h: Likewise.
29809 * include/termios.h: Likewise.
29810 * include/time.h: Likewise.
29811 * include/ulimit.h: Likewise.
29812 * include/unistd.h: Likewise.
29813 * include/utime.h: Likewise.
29814 * include/wchar.h: Likewise.
29815 * include/wctype.h: Likewise.
29816 * include/wordexp.h: Likewise.
29817
29818 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29819
7a270350
UD
29820 * time/time.h: TIME_UTC must be a macro.
29821 Make timespec_get available for ISO C11 only as well.
29822
7724defc
UD
298232012-02-24 Ulrich Drepper <drepper@gmail.com>
29824
29825 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29826 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29827
6b1d1d46
JM
298282012-02-24 Joseph Myers <joseph@codesourcery.com>
29829
29830 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 29831
0f8bbd69
JM
298322012-02-24 Joseph Myers <joseph@codesourcery.com>
29833
29834 * manual/texinfo.tex: Update to version 2012-01-19.16.
29835
66ab80bc
JM
298362012-02-24 Joseph Myers <joseph@codesourcery.com>
29837
29838 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29839
74981cc5
RM
298402012-02-24 Roland McGrath <roland@hack.frob.com>
29841
ee968201
RM
29842 [BZ #13738]
29843 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29844 * manual/fdl-1.3.texi: New file.
29845 * manual/fdl-1.1.texi: File removed.
29846
74981cc5
RM
29847 [BZ #13738]
29848 * manual/libc.texinfo (FDL_VERSION): New @set.
29849 Use it for mention of FDL in cover text.
29850 (Documentation License): Use it in @include file name.
29851
7bb764bc
JM
298522012-02-22 Joseph Myers <joseph@codesourcery.com>
29853 Roland McGrath <roland@hack.frob.com>
29854
29855 [BZ #5461]
29856 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29857 not LONG_LONG_MAX and LONG_LONG_MIN.
29858 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29859 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29860 name.
29861 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29862
6cbeae47
JM
298632012-02-22 Joseph Myers <joseph@codesourcery.com>
29864
29865 [BZ #2547]
29866 [BZ #11365]
29867 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29868 manipulate bits before adding and subtracting TWO23[sx].
29869 * math/libm-test.inc (nearbyint_test): Add more tests.
29870
fe45ce09
JM
298712012-02-22 Joseph Myers <joseph@codesourcery.com>
29872
29873 [BZ #2548]
29874 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29875 bits before adding and subtracting TWO23[sx].
29876 * math/libm-test.inc (rint_test): Add more tests.
29877 (rint_test_tonearest): Likewise.
29878 (rint_test_towardzero): Likewise.
29879 (rint_test_downward): Likewise.
29880 (rint_test_upward: Likewise.
29881
ff3b3d82
JM
298822012-02-22 Joseph Myers <joseph@codesourcery.com>
29883
29884 [BZ #10110]
29885 * include/stdc-predef.h: New file. Extracted from features.h.
29886 * include/features.h: Include stdc-predef.h.
29887 * Makefile (headers): Add stdc-predef.h.
29888 * CONFORMANCE (Compiler limitations): Update.
29889
ef0aab35
JM
298902012-02-22 Joseph Myers <joseph@codesourcery.com>
29891
29892 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29893
58639409
DM
298942012-02-21 David S. Miller <davem@davemloft.net>
29895
29896 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29897 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29898
c0e70b25
DM
298992012-02-20 David S. Miller <davem@davemloft.net>
29900
29901 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29902 using a normal save/restore sequence, rather than allocating a
29903 dummy stack frame just to store a frame pointer and restore.
29904 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29905
fb06851d
JM
299062012-02-21 Joseph Myers <joseph@codesourcery.com>
29907
29908 * manual/install.texi: Fix stray word in line-wrapped comment.
29909
7a8b71c3
DM
299102012-02-20 David S. Miller <davem@davemloft.net>
29911
d510c123
DM
29912 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29913 both binutils and gcc support GOTDATA.
29914
0722d7c2
DM
29915 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29916 "rd %pc" in the PIC register setup sequences.
29917
3d2b3019
DM
29918 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29919 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29920 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29921 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29922 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29923 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29924 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29925 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29926 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29927 (SYSCALL_ERROR_HANDLER): Likewise.
29928 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29929 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29930 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29931 (SYSCALL_ERROR_HANDLER): Likewise.
29932
c80098a9
DM
29933 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29934 (HAVE_GCC_GOTDATA): New.
29935 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29936 relocation support in both binutils and gcc.
29937 * sysdeps/sparc/elf/configure: Regenerate.
29938
3a2545a0
DM
29939 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29940 * sysdeps/sparc/sparc32/elf/configure: Delete.
29941 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29942 * sysdeps/sparc/sparc64/elf/configure: Delete.
29943 * sysdeps/sparc/elf/configure.in: New file.
29944 * sysdeps/sparc/elf/configure: Generate.
29945
7a8b71c3
DM
29946 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29947 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29948 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29949 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29950 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29951
f1e86fca
JM
299522012-02-21 Joseph Myers <joseph@codesourcery.com>
29953
29954 * manual/install.texi: Do not mention specific glibc version
29955 numbers.
29956 * manual/libc.texinfo (VERSION, UPDATED): Update.
29957 (@copying): Use @copyright{} and range of years.
29958
0e7dfaef
JM
299592012-02-21 Joseph Myers <joseph@codesourcery.com>
29960
29961 [BZ #13695]
29962 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29963 [crti.S not in sysdirs] (generated): Do not append.
29964 [crti.S not in sysdirs] (omit-deps): Likewise.
29965 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29966 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29967 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29968 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29969 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29970 Likewise.
29971 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29972 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29973 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29974 * csu/defs.awk: Remove file.
29975 * sysdeps/generic/initfini.c: Likewise.
29976 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29977 variable.
29978 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29979 Likewise.
29980
599af3ca
JM
299812012-02-20 Joseph Myers <joseph@codesourcery.com>
29982
29983 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29984 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29985 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29986 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29987 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29988 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29989 <bits/epoll.h>.
29990 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29991 (__EPOLL_PACKED): Define to empty if not defined by
29992 <bits/epoll.h>.
29993 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29994 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29995 bits/epoll.h.
29996
0e499750
JM
299972012-02-20 Joseph Myers <joseph@codesourcery.com>
29998
29999 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30000 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30001 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30002 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30003 <bits/timerfd.h>.
30004 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30005 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30006 bits/timerfd.h.
30007
5ad91f6e
JM
300082012-02-20 Joseph Myers <joseph@codesourcery.com>
30009
30010 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30011 in C locale.
30012 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30013 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30014 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30016
06b99b02
AJ
300172012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30018
30019 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30020 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30021
7638c0fd
AS
300222012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30023
30024 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30025 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30026 defined.
30027 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30028 Likewise.
30029 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30030 entry for 2.16.
30031
92221550
AJ
300322012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30033
30034 * math/w_acos.c: Use non-signaling floating-point comparisons.
30035 * math/w_acosf.c: Likewise.
30036 * math/w_acosh.c: Likewise.
30037 * math/w_acoshf.c: Likewise.
30038 * math/w_acoshl.c: Likewise.
30039 * math/w_acosl.c: Likewise.
30040 * math/w_asin.c: Likewise.
30041 * math/w_asinf.c: Likewise.
30042 * math/w_asinl.c: Likewise.
30043 * math/w_atanh.c: Likewise.
30044 * math/w_atanhf.c: Likewise.
30045 * math/w_atanhl.c: Likewise.
30046 * math/w_exp2.c: Likewise.
30047 * math/w_exp2f.c: Likewise.
30048 * math/w_exp2l.c: Likewise.
30049 * math/w_j0.c: Likewise.
30050 * math/w_j0f.c: Likewise.
30051 * math/w_j0l.c: Likewise.
30052 * math/w_j1.c: Likewise.
30053 * math/w_j1f.c: Likewise.
30054 * math/w_j1l.c: Likewise.
30055 * math/w_jn.c: Likewise.
30056 * math/w_jnf.c: Likewise.
30057 * math/w_log.c: Likewise.
30058 * math/w_log10.c: Likewise.
30059 * math/w_log10f.c: Likewise.
30060 * math/w_log10l.c: Likewise.
30061 * math/w_log2.c: Likewise.
30062 * math/w_log2f.c: Likewise.
30063 * math/w_log2l.c: Likewise.
30064 * math/w_logf.c: Likewise.
30065 * math/w_logl.c: Likewise.
30066 * math/w_sqrt.c: Likewise.
30067 * math/w_sqrtf.c: Likewise.
30068 * math/w_sqrtl.c: Likewise.
30069 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30070 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30071 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30072 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30073 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30074
ebaf36eb
JM
300752012-02-19 Joseph Myers <joseph@codesourcery.com>
30076
30077 [BZ #9739]
30078 * manual/string.texi (strnlen): Use correct parameter name in
30079 equivalent expression.
30080
71c254a6
JM
300812012-02-19 Joseph Myers <joseph@codesourcery.com>
30082
30083 [BZ #11174]
30084 * manual/users.texi (seteuid): Consistently use neweuid for
30085 argument name.
30086
16d2c631
JM
300872012-02-19 Joseph Myers <joseph@codesourcery.com>
30088
30089 [BZ #13704]
30090 * manual/nss.texi (Services in the NSS configuration): Correct
30091 list of services in example configuration file.
30092
cd837b09
NB
300932012-02-19 Nick Bowler <nbowler@draconx.ca>
30094
30095 [BZ #11322]
30096 * manual/arith.texi: Remove statements about negative zero
30097 behaving identically to zero.
30098
02c4bbad
JM
300992012-02-18 Joseph Myers <joseph@codesourcery.com>
30100
30101 [BZ #5993]
30102 * manual/install.texi: Do not document upgrading from libc5.
30103
366842e7
JM
301042012-02-18 Joseph Myers <joseph@codesourcery.com>
30105
30106 [BZ #4596]
30107 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30108
dd54084d
DM
301092012-02-18 David S. Miller <davem@davemloft.net>
30110
30111 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30112 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30113 %o7 across the call.
30114 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30115 instead.
30116 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30117 SETUP_PIC_REG_LEAF.
30118 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30119 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30120 * sysdeps/sparc/crtn.S: Likewise.
30121
2bcc53a3
UD
301222012-02-17 Ulrich Drepper <drepper@gmail.com>
30123
30124 * aout/Makefile: Remove.
30125
09c093b5
RK
301262012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30127
30128 [BZ #13058]
30129 * manual/examples/argp-ex1.c (main): Format definition in GNU
30130 style.
30131 * manual/examples/argp-ex2.c (main): Likewise.
30132 * manual/examples/argp-ex3.c (main): Likewise.
30133 * manual/examples/argp-ex4.c (main): Likewise.
30134 * manual/examples/longopt.c (main): Use new-style prototype
30135 definition.
30136 * manual/examples/strncat.c (main): Specify return type and use
30137 (void) for arguments.
30138 * manual/examples/subopt.c (main): Use char **argv argument.
30139
2ee633a2
JM
301402012-02-17 Joseph Myers <joseph@codesourcery.com>
30141
30142 [BZ #5077]
30143 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30144 rounding modes.
30145
0520adde
FB
301462012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30147
30148 [BZ #6907]
30149 * manual/string.texi (strchr): Change when strchrnul is
30150 recommended.
30151
3f4081cd
DGM
301522012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30153
30154 [BZ #174]
30155 * manual/locale.texi (setlocale): Document LOCPATH.
30156
d1b10e78
JM
301572012-02-17 Joseph Myers <joseph@codesourcery.com>
30158
30159 [BZ #10210]
30160 * manual/process.texi (execle): Move @dots{} before last argument.
30161
79c6869c
PB
301622012-02-17 Paul Bolle <pebolle@tiscali.nl>
30163
30164 [BZ #12047]
30165 * manual/charset.texi (Generic Charset Conversion): Fix typo
30166 (LC_TYPE -> LC_CTYPE).
30167
cc6e48bc
NB
301682012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30169
30170 [BZ #5805]
30171 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30172 (scalbnf): Likewise.
30173 (scalbnl): Likewise.
30174 (scalbln): Likewise.
30175 (scalblnf): Likewise.
30176 (scalblnl): Likewise.
30177 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30178 (vwarnx): Likewise.
30179 (verr): Likewise.
30180 (verrx): Likewise.
30181 * manual/filesys.texi (telldir): Use braces around return type.
30182 * manual/llio.texi (mmap): Add space after comma.
30183 (mmap64): Likewise.
30184 * manual/math.texi (jn): Use @var{} on parameter names.
30185 (jnf): Likewise.
30186 (jnl): Likewise.
30187 (yn): Likewise.
30188 (ynf): Likewise.
30189 (ynl): Likewise.
30190 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30191 line.
30192 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30193 "...".
30194 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30195 (sched_get_priority_max): Likewise.
30196 * manual/signal.texi (sigvec): Add space after comma.
30197 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30198 names.
30199 (if_indextoname): Likewise.
30200 (if_freenameindex): Likewise.
30201 (sendto): Use ',' instead of '.' in prototype.
30202 * manual/startup.texi (syscall): Use @dots{} instead of literal
30203 "...".
30204 * manual/stdio.texi (__fpending): Separate initial words of
30205 paragraph from @deftypefun line.
30206 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30207 "...".
30208 (vsyslog): Use @var{} on parameter names.
30209 * manual/terminal.texi (stty): Use @var{} on parameter names.
30210 * manual/users.texi (getutmp): Use @var{} on parameter names.
30211 (getutmpx): Likewise.
30212
5b23062f
JM
302132012-02-17 Joseph Myers <joseph@codesourcery.com>
30214
30215 [BZ #6884]
30216 * manual/stdio.texi (fopen): Fix typos in description of
30217 ",ccs=STRING".
30218
8dee4833
AJ
302192012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30220
30221 [BZ #4026]
30222 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30223 get clock_id definition.
30224
9078ce93
TS
302252012-02-17 Thomas Schwinge <thomas@schwinge.name>
30226
30227 [BZ #4822]
30228 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30229 (madvise): Cast every argument to void on its own.
30230
3835c55f
JM
302312012-02-17 Joseph Myers <joseph@codesourcery.com>
30232
30233 [BZ #9902]
30234 * manual/startup.texi (Exit Status): Fix typo.
30235
35c47e37
JM
302362012-02-17 Joseph Myers <joseph@codesourcery.com>
30237
30238 [BZ #10140]
30239 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30240 * manual/examples/argp-ex2.c: Likewise.
30241 * manual/examples/argp-ex3.c: Likewise.
30242
e3b69ca7
RH
302432012-02-16 Richard Henderson <rth@redhat.com>
30244
30245 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30246 * sysdeps/s390/s390-32/initfini.c: Remove.
30247 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30248 * sysdeps/s390/s390-64/initfini.c: Remove.
30249
df83af67
KK
302502012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30251
30252 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30253 compiler output for sysdeps/generic/initfini.c.
30254 * sysdeps/sh/elf/initfini.c: Remove file.
30255
f63f3380
DM
302562012-02-16 David S. Miller <davem@davemloft.net>
30257
fb59b3a4
DM
30258 [BZ #11494]
30259 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30260
f63f3380
DM
30261 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30262 * sysdeps/sparc/crti.S: New file.
30263 * sysdeps/sparc/crtn.S: New file.
30264 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30265 * sysdeps/sparc/sparc64/Makefile: Likewise.
30266
df6a4a4a
MF
302672012-02-15 Mike Frysinger <vapier@gentoo.org>
30268
6dd8f3dc 30269 [BZ #3335]
df6a4a4a
MF
30270 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30271
1cac7236
RM
302722012-02-15 Roland McGrath <roland@hack.frob.com>
30273
d2c736f8
RM
30274 [BZ #4822]
30275 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30276
1cac7236
RM
30277 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30278 (write, read, close): Likewise.
30279 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30280
8e475601
JM
302812012-02-15 Joseph Myers <joseph@codesourcery.com>
30282
30283 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30284 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30285 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30286 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30287 <bits/signalfd.h>.
30288 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30289 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30290 bits/signalfd.h.
30291
ed656b40
MP
302922012-02-14 Marek Polacek <polacek@redhat.com>
30293
30294 * sysdeps/x86_64/crti.S: New file.
30295 * sysdeps/x86_64/crtn.S: New file.
30296 * sysdeps/x86_64/elf/initfini.c: Remove file.
30297
2a979d3a
JM
302982012-02-13 Joseph Myers <joseph@codesourcery.com>
30299
30300 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30301 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30302 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30303 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30304 <bits/inotify.h>.
30305 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30307 bits/inotify.h.
30308
2a418ac3
JM
303092012-02-13 Joseph Myers <joseph@codesourcery.com>
30310
30311 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30312 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30313 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30314 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30315 <bits/eventfd.h>.
30316 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30317 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30318 bits/eventfd.h.
30319
fb779be7
TS
303202012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30321
e19e83c5
RM
30322 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30323 __feraiseexcept instead of feraiseexcept.
7c35ffed 30324
fb779be7
TS
30325 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30326 nanosleep invocations.
30327 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30328 strings, and add error checking for a nanosleep invocations.
30329
59ba27a6
PE
303302012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30331
30332 Replace FSF snail mail address with URLs, as per GNU coding standards.
30333 Most of the snail mail addresses were wrong anyway, and omitting
30334 them makes the source code easier to maintain. Almost all of the
30335 changes are to license notices and to locale LC_IDENTIFICATION
30336 addresses, except for this one:
30337 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30338 not its snail mail address.
30339
57b957eb
RH
303402012-02-09 Richard Henderson <rth@twiddle.net>
30341
af850b1c
RH
30342 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30343 of kernel-features.h.
30344
57b957eb
RH
30345 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30346
6b73181a
MP
303472012-02-08 Marek Polacek <polacek@redhat.com>
30348
30349 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30350 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30351 * sysdeps/gnu/_G_config.h: Likewise.
30352 * sysdeps/generic/_G_config.h: Likewise.
30353
26ecc33a
AS
303542012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30355
6c6dbc63
AS
30356 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30357 tests.
30358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30359
e216c012
AS
30360 * sysdeps/powerpc/powerpc32/crti.S: New file.
30361 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30362 * sysdeps/powerpc/powerpc64/crti.S: New file.
30363 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30364
26ecc33a
AS
30365 * Makeconfig (have-initfini): Don't set.
30366 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30367 * configure.in (nopic_initfini): Don't substitute.
30368 * config.h.in (HAVE_INITFINI): Don't #undef.
30369 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30370 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30371
3add8e13
JM
303722012-02-08 Joseph Myers <joseph@codesourcery.com>
30373
30374 Support crti.S and crtn.S provided directly by architectures.
30375 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30376 [crti.S in sysdirs] (omit-deps): Likewise.
30377 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30378 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30379 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30380 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30381 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30382 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30383 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30384 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30385 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30386 compiler output for sysdeps/generic/initfini.c.
30387 * sysdeps/i386/elf/Makefile: Remove file.
30388 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30389
a22f12b4
MP
303902012-02-07 Marek Polacek <polacek@redhat.com>
30391
30392 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30393 * sysdeps/gnu/_G_config.h: Likewise.
30394 * sysdeps/mach/hurd/_G_config.h: Likewise.
30395
148cf100
MP
303962012-02-07 Marek Polacek <polacek@redhat.com>
30397
30398 * math/Makefile (tests): Add tst-CMPLX2.
30399 * math/tst-CMPLX2.c: New file.
30400
cfdc0dd7
AS
304012012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30402
84ba42c4
AS
30403 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30404
cfdc0dd7
AS
30405 * math/libm-test.inc (jn_test): Add missing L suffix.
30406
622c86f4
MP
304072012-02-06 Marek Polacek <polacek@redhat.com>
30408
30409 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30410 * sysdeps/i386/fpu/e_powf.S: Likewise.
30411 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30412 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30413 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30414 * sysdeps/i386/fpu/e_pow.S: Likewise.
30415 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30416 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30417 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30418 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30419 * sysdeps/i386/fpu/e_log2.S: Likewise.
30420 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30421 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30422 * sysdeps/i386/fpu/e_powl.S: Likewise.
30423 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30424 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30425 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30426 * sysdeps/i386/fpu/e_logl.S: Likewise.
30427 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30428 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30429 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30430 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30431 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30432 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30433 * sysdeps/i386/fpu/e_log.S: Likewise.
30434 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30435 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30436 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30437 * sysdeps/i386/fpu/e_logf.S: Likewise.
30438 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30439 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30440 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30441 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30442 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30443 * sysdeps/i386/fpu/e_log10.S: Likewise.
30444 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30445 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30446 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30447 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30448 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30449 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30450 * sysdeps/i386/asm-syntax.h: Likewise.
30451 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30452 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30453 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30454 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30455 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30456 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30457 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30458 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30459 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30460 * sysdeps/powerpc/sysdep.h: Likewise.
30461 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30462 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30463
d4a54ac6
JM
304642012-02-06 Joseph Myers <joseph@codesourcery.com>
30465
30466 [BZ #411]
30467 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30468
314054ea
JM
304692012-02-06 Joseph Myers <joseph@codesourcery.com>
30470
30471 * sysdeps/i386/sysdep.h: Include <features.h>.
30472 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30473 version.
30474
d8e0ca50
JM
304752012-02-05 Joseph Myers <joseph@codesourcery.com>
30476
30477 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30478 Define.
30479 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30480 LOAD_PIC_REG_STR.
30481
b1da7dd9
JM
304822012-02-03 Joseph Myers <joseph@codesourcery.com>
30483
30484 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30485 (SETUP_PIC_REG): Use GET_PC_THUNK.
30486 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30487 macro.
30488
9a1d9254
JM
304892012-02-03 Joseph Myers <joseph@codesourcery.com>
30490
30491 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30492 for non-PIC compilation.
30493 (SETUP_PIC_REG): Add .p2align directive.
30494 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30495 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30496 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30497 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30498 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30499 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30500 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30501 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30502 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30503 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30504 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30505 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30506 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30507 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30508 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30509 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30510 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30511 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30512 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30513 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30514 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30515 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30516 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30517 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30518 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30519 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30520 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30521 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30522 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30523 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30524 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30525 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30526 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30527 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30528 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30529 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30530 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30531 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30532 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30533 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30534 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30535
65dc3b75
JM
305362012-02-03 Joseph Myers <joseph@codesourcery.com>
30537
30538 * math/tst-CMPLX.c: Include <stdio.h>.
30539
d55bf177
JM
305402012-01-31 Joseph Myers <joseph@codesourcery.com>
30541
30542 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30543 float.
30544 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30545 * sysdeps/sparc/bits/mathdef.h: Likewise.
30546
69db4f8f
MP
305472012-01-31 Marek Polacek <polacek@redhat.com>
30548
30549 * libio/libio.h: Don't define _PARAMS.
30550 * locale/programs/config.h: Don't define PARAMS.
30551 * stdlib/strtol_l.c: Likewise.
30552 (__strtol_l): Remove PARAMS from the prototype.
30553
41b81892
UD
305542012-01-31 Ulrich Drepper <drepper@gmail.com>
30555
3b49edc0
UD
30556 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30557 names. Just use the correct names. Remove unnecessary wrapper
30558 functions.
30559 * malloc/arena.c: Likewise.
30560 * malloc/hooks.c: Likewise.
30561
41b81892
UD
30562 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30563 ARENA_TEST says not to. Simplify test for creation of a new arena.
30564 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30565
27a25b6e
UD
305662012-01-30 Ulrich Drepper <drepper@gmail.com>
30567
30568 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30569 into tail calls.
30570 (update_get_addr): New function.
30571 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30572 GET_ADDR_MODULE parameter.
30573
c8a89e7d
JM
305742012-01-30 Joseph Myers <joseph@codesourcery.com>
30575
30576 * crypt/cert.c: Remove __STDC__ conditionals.
30577 * crypt/crypt-entry.c: Likewise.
30578 * crypt/crypt_util.c: Likewise.
30579 * libio/filedoalloc.c: Likewise.
30580 * libio/fileops.c: Likewise.
30581 * libio/genops.c: Likewise.
30582 * libio/iofclose.c: Likewise.
30583 * libio/iofdopen.c: Likewise.
30584 * libio/iofopen.c: Likewise.
30585 * libio/iofopen64.c: Likewise.
30586 * libio/iogetdelim.c: Likewise.
30587 * libio/iopopen.c: Likewise.
30588 * libio/obprintf.c: Likewise.
30589 * libio/oldfileops.c: Likewise.
30590 * libio/oldiofclose.c: Likewise.
30591 * libio/oldiofdopen.c: Likewise.
30592 * libio/oldiofopen.c: Likewise.
30593 * libio/oldiopopen.c: Likewise.
30594 * libio/wfiledoalloc.c: Likewise.
30595 * libio/wgenops.c: Likewise.
30596 * locale/programs/xmalloc.c: Likewise.
30597 * misc/syslog.c: Likewise.
30598 * stdio-common/xbug.c: Likewise.
30599 * string/memchr.c: Likewise.
30600 * string/memcmp.c: Likewise.
30601 * string/memrchr.c: Likewise.
30602 * string/rawmemchr.c: Likewise.
30603 * sysdeps/posix/getcwd.c: Likewise.
30604 * time/strftime_l.c: Likewise.
30605
3b100462
JM
306062012-01-30 Joseph Myers <joseph@codesourcery.com>
30607
30608 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
30609 * config.make.in (config-cflags-sse2avx): Define.
30610 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30611 Fix typo.
30612
607998af
CM
306132012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30614
30615 * scripts/config.guess: Update from upstream config git repository.
30616 * scripts/config.sub: Likewise.
30617
3601428f
CM
306182012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30619
3ac8b282
CM
30620 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30621 (EM_NUM): Update.
30622 (R_TILEPRO_*, R_TILEGX_*): New macros.
30623
e034841e
CM
30624 * scripts/firstversions.awk: Fix bug in version range handling.
30625
540d7568
CM
30626 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30627
3601428f
CM
30628 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30629
463de862
CM
30630 * include/sys/epoll.h: New file.
30631 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30632 libc_hidden_def.
30633
73139a76
UD
306342012-01-28 Ulrich Drepper <drepper@gmail.com>
30635
96bc5b45
UD
30636 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30637 Avoid unnecessary __WORDSIZE == 64 test.
30638 (fmaxf): Use VEX format if possible.
30639 (fmax): Likewise.
30640 (fminf): Likewise.
30641 (fmin): Likewise.
30642
56f6f6a2
UD
30643 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30644 * math/math_private.h: Remove libc_fegetround* and
30645 libc_fesetround*.
30646 * sysdeps/i386/configure.in: Check for -msse2avx.
30647 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30648 also if SSE2AVX is defined.
30649 Remove libc_fegetround* and libc_fesetround*.
30650 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30651 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30652 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30653 of HAS_YMM_USABLE.
30654 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30655 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30656 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30657 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30658 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30659
73139a76
UD
30660 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30661
d73f93a4
AZ
306622012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30663
30664 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30665 size is not set.
30666 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30667
6ee65ed6
UD
306682012-01-27 Ulrich Drepper <drepper@gmail.com>
30669
30670 [BZ #13618]
30671 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30672 relocation.
30673 * Makeconfig (libm): Define.
30674 * elf/Makefile: Add rules to build and run tst-relsort1.
30675 * elf/tst-relsort1.c: New file.
30676 * elf/tst-relsort1mod1.c: New file.
30677 * elf/tst-relsort1mod2.c: New file.
30678
8db21882
JM
306792012-01-27 Joseph Myers <joseph@codesourcery.com>
30680
30681 * math/s_ldexp.c: Remove __STDC__ conditionals.
30682 * math/s_ldexpf.c: Likewise.
30683 * math/s_ldexpl.c: Likewise.
30684 * math/s_nextafter.c: Likewise.
30685 * math/s_nexttowardf.c: Likewise.
30686 * math/s_significand.c: Likewise.
30687 * math/s_significandf.c: Likewise.
30688 * math/s_significandl.c: Likewise.
30689 * math/w_jnl.c: Likewise.
30690 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30691 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30692 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30693 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30694 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30695 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30696 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30697 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30698 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30699 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30700 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30701 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30702 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30703 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30704 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30705 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30706 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30707 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30708 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30709 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30710 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30711 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30712 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30713 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30714 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30715 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30716 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30717 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30718 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30719 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30720 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30721 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30722 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30723 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30724 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30725 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30726 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30727 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30728 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30729 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30730 * sysdeps/ieee754/k_standard.c: Likewise.
30731 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30732 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30733 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30734 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30735 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30736 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30737 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30738 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30739 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30740 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30741 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30742 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30743 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30744 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30745 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30746 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30747 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30748 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30749 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30750 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30751 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30752 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30753 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30754 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30755 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30756 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30757 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30758 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30759 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30760 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30761 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30762 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30763 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30764 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30765 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30766 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30767 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30768 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30769 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30770 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30771 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30772 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30773 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30774 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30775 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30776 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30777 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30778 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30779 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30780 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30781 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30782 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30783 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30784 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30785 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30786 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30787 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30788 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30789 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30790 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30791 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30792 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30793 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30794 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30795 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30796 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30797 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30798 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30799 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30800 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30801 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30802 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30803 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30804 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30805 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30806 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30807 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30808 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30809 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30810 * sysdeps/ieee754/s_matherr.c: Likewise.
30811 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30812 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30813 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30814 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30815
965a54a4
JM
308162012-01-26 Joseph Myers <joseph@codesourcery.com>
30817
30818 * crypt/md5.h: Remove __STDC__ conditionals.
30819 * libio/libioP.h: Likewise.
30820 * locale/programs/config.h: Likewise.
30821 * sysdeps/generic/sysdep.h: Likewise.
30822 * sysdeps/i386/asm-syntax.h: Likewise.
30823 * sysdeps/s390/asm-syntax.h: Likewise.
30824 * sysdeps/unix/sysdep.h: Likewise.
30825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30827
7071ad79
JM
308282012-01-26 Joseph Myers <joseph@codesourcery.com>
30829
30830 * libio/libio.h: Remove __STDC__ conditionals.
30831 * malloc/obstack.h: Likewise.
30832 * math/complex.h: Likewise.
30833 * math/math.h: Likewise.
30834 * sysdeps/generic/_G_config.h: Likewise.
30835 * sysdeps/gnu/_G_config.h: Likewise.
30836 * sysdeps/mach/hurd/_G_config.h: Likewise.
30837 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30838 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30839 * sysdeps/sparc/bits/mathdef.h: Likewise.
30840
afc5ed09
UD
308412012-01-26 Ulrich Drepper <drepper@gmail.com>
30842
30843 [BZ #13583]
30844 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 30845 Clean up HAS_* macros.
afc5ed09 30846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
30847 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30848 possible.
30849 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30850 HAS_AVX.
30851 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30852 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30853 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30854 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30855 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 30856
bdb6de1d
JM
308572012-01-25 Joseph Myers <joseph@codesourcery.com>
30858
30859 * elf/tst-unique3.cc (gets): Remove declaration.
30860 * elf/tst-unique3lib.cc (gets): Likewise.
30861 * elf/tst-unique3lib2.cc (gets): Likewise.
30862 * elf/tst-unique4.cc (gets): Likewise.
30863
b15549e6
UD
308642012-01-24 Ulrich Drepper <drepper@gmail.com>
30865
30866 * include/stdio.h: Add C++ protection. Add gets declarations and
30867 definitions.
30868 * debug/tst-chk1.c: Don't declare gets here.
30869 * stdio-common/tst-gets.c: Likewise.
30870
a037381f
JM
308712012-01-24 Joseph Myers <joseph@codesourcery.com>
30872
30873 * posix/glob: Remove directory.
30874
f1d4aa75
JM
308752012-01-24 Joseph Myers <joseph@codesourcery.com>
30876
30877 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30878
81c0c964
PT
308792012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30880
30881 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30882 of the non-standard EPFNOSUPPORT.
30883
0ea698ae
ST
308842011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30885
30886 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30887 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30888 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30889
d220b117
UD
308902012-01-21 Ulrich Drepper <drepper@gmail.com>
30891
30892 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30893
3e1aa84e
UD
308942012-01-20 Ulrich Drepper <drepper@gmail.com>
30895
30896 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30897 transient errors.
30898 * nscd/grpcache.c (cache_addgr): Likewise.
30899 * nscd/hstcache.c (cache_addhst): Likewise.
30900 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30901 * nscd/pwdcache.c (cache_addpw): Likewise.
30902 * nscd/servicescache.c (cache_addserv): Likewise.
30903
400aa020
UD
309042012-01-16 Ulrich Drepper <drepper@gmail.com>
30905
d77e7869
UD
30906 * malloc/malloc.c: Various cleanups.
30907 * malloc/hooks.c: Likewise.
30908
400aa020
UD
30909 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30910 * stdlib/bug-fmtmsg1.c: New file.
30911
30912 * stdlib/fmtmsg.c (init): Add missing unlock.
30913 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30914
e0a309cf
MP
309152012-01-12 Marek Polacek <polacek@redhat.com>
30916
30917 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30918 and _GNU_SOURCE.
30919
929d11c7
WS
309202012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30921
30922 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30923 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30924 macro to ensure uniqueness of label name.
30925 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30926 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30927
41d0e869
UD
309282012-01-11 Ulrich Drepper <drepper@gmail.com>
30929
0cc5ed3b
UD
30930 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30931
41d0e869
UD
30932 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30933 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30934 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30935 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30936
a47a831a
UD
309372012-01-10 Ulrich Drepper <drepper@gmail.com>
30938
daa891c0
UD
30939 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30940
30941 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30942 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30943 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30944
e58ef0f2
UD
30945 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30946
a47a831a 30947 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
30948 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30949 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 30950 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
30951
30952 * math/bits/math-finite.h: Add ldexp support.
30953
a0bfc9c7
MP
309542012-01-10 Marek Polacek <polacek@redhat.com>
30955
30956 * locale/programs/localedef.h (show_archive_content): Add noreturn
30957 attribute.
30958
d6e97a1d
UD
309592012-01-09 Ulrich Drepper <drepper@gmail.com>
30960
30961 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30962
d5835c26
UD
309632012-01-08 Ulrich Drepper <drepper@gmail.com>
30964
e5f484c6
UD
30965 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30966
d5835c26
UD
30967 * io/Makefile (headers): Add bits/poll2.h.
30968
d1f741e9
WS
309692011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30970
30971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30972 typo #include statement.
30973
ec09c1c4
UD
309742012-01-08 Ulrich Drepper <drepper@gmail.com>
30975
30976 * include/sys/cdefs.h: Define __attribute_alloc_size.
30977 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30978 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30979 * elf/pldd.c: Likewise.
30980 * iconv/iconv_charmap.c: Likewise.
30981 * iconv/iconvconfig.c: Likewise.
30982 * iconv/strtab.c: Likewise.
30983 * locale/programs/locale.c: Likewise.
30984 * locale/programs/localedef.h: Likewise.
30985 * locale/programs/simple-hash.c: Likewise.
30986 * nscd/nscd.h: Likewise.
30987 * nss/makedb.c: Likewise.
30988 * sysdeps/generic/ldconfig.h: Likewise.
30989 * locale/programs/localedef.c: Remove xmalloc prototype.
30990 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30991
20b38e03
PP
309922012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30993
30994 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30995 appropriate.
30996
a0da5fe1
UD
309972012-01-08 Ulrich Drepper <drepper@gmail.com>
30998
1d5a644a 30999 * math/Makefile (tests): Add tst-CMPLX.
669704fd 31000 * math/tst-CMPLX.c: New file.
1d5a644a 31001
8784a6db
UD
31002 * math/complex.h (CMPLXL): Fix typo.
31003
d9a216c0
UD
31004 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31005 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31006 GLIBC_2.16.
31007 * debug/tst-chk1.c: Add poll and ppoll tests.
31008 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31009 * include/sys/poll.h: Add hidden proto for ppoll.
31010 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31011 * sysdeps/mach/hurd/ppoll.c: Likewise.
31012 * io/ppoll.c: Likewise.
31013 * debug/poll_chk.c: New file.
31014 * debug/ppoll_chk.c: New file.
31015 * include/bits/poll2.h: New file.
31016 * io/bits/poll2.h: New file.
31017
ac097f5c
UD
31018 [BZ #1350]
31019 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31020
2119dcfa
UD
31021 * configure.in: static is always set to yes. Remove.
31022 * config.make.in: Don't set build-static.
31023 * Makeconfig: Remove use of build-static.
31024 * dlfcn/Makefile: Likewise.
31025 * elf/Makefile: Likewise.
31026 * math/Makefile: Likewise.
31027 * misc/Makefile: Likewise.
31028 * nptl/Makefile: Likewise.
31029 * sysdeps/mach/hurd/Makefile: Likewise.
31030
121766a9
UD
31031 * configure.in: PWD_P is not used anymore.
31032 * config.make.in: Remove PWD_P entry.
31033
51a1d39c 31034 * configure.in: Remove last remnants of RANLIB.
8720d066 31035 No need to check for signed size_t anymore.
215f4bdc
UD
31036 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31037 and IA-64.
3857022a 31038 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
31039 * aclocal.m4: Likewise.
31040
d3ed7225
UD
31041 * wcsmbs/mbrtoc16.c: Implement using towc function.
31042 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31043 * wcsmbs/wcsmbsload.c: Likewise.
31044 * iconv/gconv_simple.c: Likewise.
31045 * iconv/gconv_int.h: Likewise.
31046 * iconv/gconv_builtin.h: Likewise.
31047 * iconv/iconv_prog.c: Remove CHAR16 handling.
31048
31049 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31050
31051 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31052
a0da5fe1
UD
31053 * configure.in: Remove --with-elf and --enable-bounded options.
31054 Dont set base_machine for ia64. More non-ELF conditions removed.
31055 Remove testing and setting of leading underscore information.
31056 * config.make.in (build-bounded): Set to no.
31057 * config.h.in: Remove NO_UNDERSCORES entry.
31058 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31059 them.
31060 * csu/start.c: Remove !NO_UNDERSCORE code.
31061 * locale/localeinfo.h: Likewise.
31062 * sysdeps/generic/machine-gmon.h: Likewise.
31063 * sysdeps/generic/sysdep.h: Likewise.
31064 * sysdeps/i386/sysdep.h: Likewise.
31065 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31066 * sysdeps/mach/sysdep.h: Likewise.
31067 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31068 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31069 * sysdeps/sh/sysdep.h: Likewise.
31070 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31071 * sysdeps/unix/i386/sysdep.S: Likewise.
31072 * sysdeps/unix/sparc/start.c: Likewise.
31073 * sysdeps/unix/sparc/sysdep.S: Likewise.
31074 * sysdeps/unix/sparc/sysdep.h: Likewise.
31075 * sysdeps/unix/start.c: Likewise.
31076 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31077 * sysdeps/x86_64/sysdep.h: Likewise.
31078
df78418a
UD
310792012-01-07 Ulrich Drepper <drepper@gmail.com>
31080
a784e502
UD
31081 [BZ #13553]
31082 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31083 for non-gcc.
31084 * argp/argp-fmtstream.h: Use const instead __const.
31085 * argp/argp.h: Likewise.
31086 * assert/assert.h: Likewise.
31087 * bits/fenv.h: Likewise.
31088 * bits/sched.h: Likewise.
31089 * bits/sigset.h: Likewise.
31090 * bits/sigthread.h: Likewise.
31091 * catgets/nl_types.h: Likewise.
31092 * conform/data/pthread.h-data: Likewise.
31093 * crypt/crypt-private.h: Likewise.
31094 * crypt/crypt.h: Likewise.
31095 * crypt/crypt_util.c: Likewise.
31096 * ctype/ctype.h: Likewise.
31097 * debug/execinfo.h: Likewise.
31098 * debug/mbsnrtowcs_chk.c: Likewise.
31099 * debug/mbsrtowcs_chk.c: Likewise.
31100 * debug/wcsnrtombs_chk.c: Likewise.
31101 * debug/wcsrtombs_chk.c: Likewise.
31102 * debug/wcstombs_chk.c: Likewise.
31103 * dirent/dirent.h: Likewise.
31104 * dlfcn/dlfcn.h: Likewise.
31105 * elf/neededtest4.c: Likewise.
31106 * grp/grp.h: Likewise.
31107 * gshadow/gshadow.h: Likewise.
31108 * iconv/gconv.h: Likewise.
31109 * iconv/gconv_int.h: Likewise.
31110 * iconv/gconv_simple.c: Likewise.
31111 * iconv/iconv.h: Likewise.
31112 * iconv/loop.c: Likewise.
31113 * iconv/skeleton.c: Likewise.
31114 * include/aio.h: Likewise.
31115 * include/aliases.h: Likewise.
31116 * include/argz.h: Likewise.
31117 * include/arpa/inet.h: Likewise.
31118 * include/assert.h: Likewise.
31119 * include/dirent.h: Likewise.
31120 * include/dlfcn.h: Likewise.
31121 * include/execinfo.h: Likewise.
31122 * include/fcntl.h: Likewise.
31123 * include/fenv.h: Likewise.
31124 * include/glob.h: Likewise.
31125 * include/grp.h: Likewise.
31126 * include/libintl.h: Likewise.
31127 * include/mntent.h: Likewise.
31128 * include/netdb.h: Likewise.
31129 * include/pwd.h: Likewise.
31130 * include/rpc/netdb.h: Likewise.
31131 * include/sched.h: Likewise.
31132 * include/search.h: Likewise.
31133 * include/shadow.h: Likewise.
31134 * include/signal.h: Likewise.
31135 * include/stdio.h: Likewise.
31136 * include/stdlib.h: Likewise.
31137 * include/string.h: Likewise.
31138 * include/sys/socket.h: Likewise.
31139 * include/sys/stat.h: Likewise.
31140 * include/sys/statfs.h: Likewise.
31141 * include/sys/statvfs.h: Likewise.
31142 * include/sys/syslog.h: Likewise.
31143 * include/sys/time.h: Likewise.
31144 * include/sys/uio.h: Likewise.
31145 * include/time.h: Likewise.
31146 * include/unistd.h: Likewise.
31147 * include/utmp.h: Likewise.
31148 * include/wchar.h: Likewise.
31149 * include/wctype.h: Likewise.
31150 * inet/aliases.h: Likewise.
31151 * inet/arpa/inet.h: Likewise.
31152 * inet/netinet/ether.h: Likewise.
31153 * inet/netinet/in.h: Likewise.
31154 * intl/libintl.h: Likewise.
31155 * io/bits/fcntl2.h: Likewise.
31156 * io/fcntl.h: Likewise.
31157 * io/ftw.h: Likewise.
31158 * io/sys/poll.h: Likewise.
31159 * io/sys/stat.h: Likewise.
31160 * io/sys/statfs.h: Likewise.
31161 * io/sys/statvfs.h: Likewise.
31162 * io/utime.h: Likewise.
31163 * libio/bits/stdio.h: Likewise.
31164 * libio/bits/stdio2.h: Likewise.
31165 * libio/libio.h: Likewise.
31166 * libio/libioP.h: Likewise.
31167 * libio/stdio.h: Likewise.
31168 * locale/lc-ctype.c: Likewise.
31169 * locale/locale.h: Likewise.
31170 * login/utmp.h: Likewise.
31171 * malloc/arena.c: Likewise.
31172 * malloc/malloc.c: Likewise.
31173 * malloc/malloc.h: Likewise.
31174 * malloc/mcheck.c: Likewise.
31175 * malloc/mtrace.c: Likewise.
31176 * math/bits/mathcalls.h: Likewise.
31177 * math/fenv.h: Likewise.
31178 * math/math_private.h: Likewise.
31179 * misc/bits/error.h: Likewise.
31180 * misc/bits/syslog.h: Likewise.
31181 * misc/err.h: Likewise.
31182 * misc/error.h: Likewise.
31183 * misc/fstab.h: Likewise.
31184 * misc/mntent.h: Likewise.
31185 * misc/regexp.h: Likewise.
31186 * misc/search.h: Likewise.
31187 * misc/sgtty.h: Likewise.
31188 * misc/sys/mman.h: Likewise.
31189 * misc/sys/syslog.h: Likewise.
31190 * misc/sys/uio.h: Likewise.
31191 * misc/sys/xattr.h: Likewise.
31192 * misc/ttyent.h: Likewise.
31193 * nis/rpcsvc/ypclnt.h: Likewise.
31194 * nss/nss.h: Likewise.
31195 * posix/bits/unistd.h: Likewise.
31196 * posix/fnmatch.h: Likewise.
31197 * posix/glob.h: Likewise.
31198 * posix/sched.h: Likewise.
31199 * posix/spawn.h: Likewise.
31200 * posix/sys/wait.h: Likewise.
31201 * posix/unistd.h: Likewise.
31202 * posix/wordexp.h: Likewise.
31203 * pwd/pwd.h: Likewise.
31204 * resolv/netdb.h: Likewise.
31205 * resource/sys/resource.h: Likewise.
31206 * rt/aio.h: Likewise.
31207 * rt/bits/mqueue2.h: Likewise.
31208 * rt/mqueue.h: Likewise.
31209 * shadow/shadow.h: Likewise.
31210 * signal/signal.h: Likewise.
31211 * socket/send.c: Likewise.
31212 * socket/sendto.c: Likewise.
31213 * socket/sys/socket.h: Likewise.
31214 * stdio-common/printf.h: Likewise.
31215 * stdlib/bits/stdlib.h: Likewise.
31216 * stdlib/fmtmsg.h: Likewise.
31217 * stdlib/monetary.h: Likewise.
31218 * stdlib/stdlib.h: Likewise.
31219 * stdlib/ucontext.h: Likewise.
31220 * streams/stropts.h: Likewise.
31221 * string/argz.h: Likewise.
31222 * string/bits/string2.h: Likewise.
31223 * string/string.h: Likewise.
31224 * string/strings.h: Likewise.
31225 * sunrpc/rpc/auth.h: Likewise.
31226 * sunrpc/rpc/auth_des.h: Likewise.
31227 * sunrpc/rpc/clnt.h: Likewise.
31228 * sunrpc/rpc/netdb.h: Likewise.
31229 * sunrpc/rpc/pmap_clnt.h: Likewise.
31230 * sunrpc/rpc/xdr.h: Likewise.
31231 * sysdeps/generic/inttypes.h: Likewise.
31232 * sysdeps/generic/net/if.h: Likewise.
31233 * sysdeps/generic/sys/swap.h: Likewise.
31234 * sysdeps/gnu/net/if.h: Likewise.
31235 * sysdeps/gnu/utmpx.h: Likewise.
31236 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31237 * sysdeps/i386/i486/bits/string.h: Likewise.
31238 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31239 * sysdeps/s390/bits/string.h: Likewise.
31240 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31241 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31242 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31243 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31244 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31245 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31246 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31247 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31248 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31249 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31250 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31251 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31252 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31253 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31254 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31255 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31256 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31257 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31258 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31259 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31260 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31261 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31262 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31263 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31264 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31265 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31266 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31267 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31268 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31269 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31270 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31271 * sysvipc/sys/ipc.h: Likewise.
31272 * sysvipc/sys/msg.h: Likewise.
31273 * sysvipc/sys/sem.h: Likewise.
31274 * sysvipc/sys/shm.h: Likewise.
31275 * termios/termios.h: Likewise.
31276 * time/sys/time.h: Likewise.
31277 * time/time.h: Likewise.
31278 * wcsmbs/bits/wchar2.h: Likewise.
31279 * wcsmbs/uchar.h: Likewise.
31280 * wcsmbs/wchar.h: Likewise.
31281 * wctype/wctype.h: Likewise.
31282
0269750c
UD
31283 [BZ #13551]
31284 * Makeconfig: Remove all but ELF support including AIX support.
31285 * Makerules: Likewise.
31286 * config.h.in: Likewise.
31287 * config.make.in: Likewise.
31288 * configure: Likewise.
31289 * configure.in: Likewise.
31290 * csu/Makefile: Likewise.
31291 * csu/version.c: Likewise.
31292 * debug/Makefile: Likewise.
31293 * dlfcn/Makefile: Likewise.
31294 * elf/Makefile: Likewise.
31295 * extra-lib.mk: Likewise.
31296 * iconv/Makefile: Likewise.
31297 * include/libc-symbols.h: Likewise.
31298 * include/shlib-compat.h: Likewise.
31299 * resolv/Makefile: Likewise.
31300 * resolv/res_libc.c: Likewise.
31301 * rt/Makefile: Likewise.
31302 * sysdeps/i386/asm-syntax.h: Likewise.
31303 * sysdeps/i386/sysdep.h: Likewise.
31304 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31305 * sysdeps/mach/sysdep.h: Likewise.
31306 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31307 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31308 * sysdeps/s390/asm-syntax.h: Likewise.
31309 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31310 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31311 * sysdeps/sh/sysdep.h: Likewise.
31312 * sysdeps/unix/sparc/sysdep.h: Likewise.
31313 * sysdeps/wordsize-32/divdi3.c: Likewise.
31314 * sysdeps/x86_64/sysdep.h: Likewise.
31315
00bbd29b
UD
31316 * argp/Versions: Remove _argp_unlock_xxx.
31317
31318 [BZ #13559]
31319 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31320 * abilist/libBrokenLocale.abilist: Likewise.
31321 * abilist/libanl.abilist: Likewise.
31322 * abilist/libc.abilist: Likewise.
31323 * abilist/libcrypt.abilist: Likewise.
31324 * abilist/libdl.abilist: Likewise.
31325 * abilist/libm.abilist: Likewise.
31326 * abilist/libnsl.abilist: Likewise.
31327 * abilist/libpthread.abilist: Likewise.
31328 * abilist/libresolv.abilist: Likewise.
31329 * abilist/librt.abilist: Likewise.
31330 * abilist/libthread_db.abilist: Likewise.
31331 * abilist/libutil.abilist: Likewise.
31332 * abilist/libnss_db.abilist: New file.
31333
31334 * scripts/abilist.awk: Add support for indirect functions.
31335
a2693a0e
UD
31336 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31337
3f05895f
UD
31338 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31339
ecb6fb48
UD
31340 * shlib-versions: Remove entries for ports architectures.
31341
664f8cb9
UD
31342 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31343 files in ports.
31344 * elf/stackguard-macros.h: Remove support for IA-64.
31345 * elf/tst-auditmod1.c: Likewise.
31346 * sysdeps/generic/ldsodefs.h: Likewise.
31347
7ae81d88
UD
31348 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31349 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31350 configure files.
31351
bdeba135
UD
31352 [BZ #13552]
31353 * configure.in: Remove --enable-omitfp support.
31354 * FAQ.in: Adjust.
31355 * config.make.in: Likewise.
31356 * Makeconfig: Likewise.
31357 * manual/install.texi: Likewise.
31358
d75a0a62
UD
31359 In case anyone cares, the IA-64 architecture could move to ports.
31360 * sysdeps/ia64/*: Removed.
31361 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 31362 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 31363
dcc9756b
UD
31364 [BZ #13555]
31365 * configure.in: Remove entries for unsupported architectures.
31366
d3761ebc 31367 [BZ #13533]
9954432e
UD
31368 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31369 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31370 routines.
31371 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31372 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31373 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31374 fall back to using wcrtomb.
31375 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31376 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31377 renaming.
31378 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31379 * wcsmbs/tst-c16c32-1.c: New file.
31380
31381 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31382 local variable.
31383
c3a87236
UD
31384 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31385
28926a1b
UD
31386 * elf/tst-unique3.cc: Add explicit declaration of gets.
31387 * elf/tst-unique3lib.cc: Likewise.
31388 * elf/tst-unique3lib2.cc: Likewise.
31389 * elf/tst-unique4.cc: Likewise.
31390
df78418a
UD
31391 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31392
8ecd6b2a
JM
313932012-01-06 Joseph Myers <joseph@codesourcery.com>
31394
31395 [BZ #13566]
31396 * assert/assert.h (static_assert): Don't define for C++.
31397 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31398 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31399
9f115170
UD
314002012-01-03 Ulrich Drepper <drepper@gmail.com>
31401
5e0d0300
UD
31402 * iconv/loop.c (single loop): Fix assertion in storing of
31403 remaining bytes.
31404
9f115170
UD
31405 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31406
81fb02b0
UD
314072012-01-01 Ulrich Drepper <drepper@gmail.com>
31408
31409 * posix/getconf.c: Update copyright year.
31410 * nss/getent.c: Likewise.
a316c1f6 31411 * nss/makedb.c: Likewise.
81fb02b0
UD
31412 * iconv/iconvconfig.c: Likewise.
31413 * iconv/iconv_prog.c: Likewise.
31414 * elf/ldconfig.c: Likewise.
a316c1f6
UD
31415 * elf/pldd.c: Likewise.
31416 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
31417 * catgets/gencat.c: Likewise.
31418 * csu/version.c: Likewise.
31419 * elf/ldd.bash.in: Likewise.
31420 * elf/sprof.c (print_version): Likewise.
31421 * locale/programs/locale.c: Likewise.
31422 * locale/programs/localedef.c: Likewise.
a316c1f6 31423 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
31424 * nscd/nscd.c (print_version): Likewise.
31425 * debug/xtrace.sh: Likewise.
31426 * malloc/memusage.sh: Likewise.
31427 * malloc/mtrace.pl: Likewise.
31428 * debug/catchsegv.sh: Likewise.
31429
2ba92745
JJ
314302011-12-30 Jakub Jelinek <jakub@redhat.com>
31431
31432 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31433 pure attribute.
31434
dadebdae
UD
314352011-12-24 Ulrich Drepper <drepper@gmail.com>
31436
d3761ebc 31437 [BZ #13533]
db6af3eb
UD
31438 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31439 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31440 transformations.
31441 * iconv/gconv_int.h: Likewise.
31442 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31443 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31444 from libc for GLIBC_2.16.
31445 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31446 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31447 * wcsmbs/uchar.h: Really define mbstate_t.
31448 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31449 * wcsmbs/c16rtomb.c: New file.
31450 * wcsmbs/mbrtoc16.c: New file.
31451 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31452 for C/POSIX locale.
31453 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31454 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31455
dadebdae
UD
31456 * wcsmbs/wchar.h: Add missing __restrict.
31457
67371b56
UD
314582011-12-23 Ulrich Drepper <drepper@gmail.com>
31459
74033a25
UD
31460 [BZ #13532]
31461 * time/Makefile (routines): Add timespec_get.
31462 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31463 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31464 timespec for ISO C11.
31465 * time/timespec_get.c: New file.
31466 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31467 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31468
380d7e87
UD
31469 [BZ #13531]
31470 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31471 * stdlib/stdlib.h: Declare aligned_alloc.
31472 * Versions.def: Add GLIBC_2.16 for libc.
31473 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31474
4e9e7a35
UD
31475 [BZ 13527]
31476 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31477 ISO C11.
31478
380d7e87 31479 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
31480 code.
31481
03a71829
UD
31482 [BZ #13528]
31483 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31484
839e283e
UD
31485 [BZ #13529]
31486 * assert/assert.h (static_assert): Define.
31487
ce5294e2 31488 * version.h: Update for 2.16 development version.
90fa7312 31489
8d44e150 31490 [BZ #13526]
d7809905
UD
31491 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31492 _ISOC11_SOURCE.
31493
c0da14cd
UD
31494 * version.h (RELEASE): Bump for 2.15 release.
31495 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31496
530a3249
MP
31497 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31498 Patch by Marek Polacek <mpolacek@redhat.com>.
31499
67371b56
UD
31500 * bits/byteswap.h: Protect long long constants with __extension__.
31501 * sysdeps/i386/bits/byteswap.h: Likewise.
31502 * sysdeps/ia64/bits/byteswap.h: Likewise.
31503 * sysdeps/s390/bits/byteswap.h: Likewise.
31504 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31505
15db4de1
LD
315062011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31507
31508 [BZ #13540]
bbe315ea
LD
31509 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31510 destination buffer.
15db4de1
LD
31511 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31512
2b2596b1
MP
315132011-12-23 Marek Polacek <polacek@redhat.com>
31514
31515 * elf/dl-addr.c (determine_info): Add inline keyword.
31516 * elf/tst-auditmod4b.c (check_avx): Likewise.
31517 * elf/tst-auditmod6b.c (check_avx): Likewise.
31518 * elf/tst-auditmod6c.c (check_avx): Likewise.
31519 * elf/tst-auditmod7b.c (check_avx): Likewise.
31520
70c6c246
UD
315212011-12-23 Ulrich Drepper <drepper@gmail.com>
31522
31523 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31524 !__SSE_MATH__.
31525
c044cf14
LD
315262011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31527
15db4de1 31528 [BZ #13540]
c044cf14
LD
31529 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31530 processing for last bytes.
31531
6b13d9d9
BH
315322011-08-06 Bruno Haible <bruno@clisp.org>
31533
d455f537
BH
31534 [BZ #13061]
31535 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31536 U+0385, not to U+1FEE.
31537
6b13d9d9
BH
31538 [BZ #13062]
31539 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31540 entry for U+00A5 U+0301.
31541
db910efd
UD
315422011-12-22 Ulrich Drepper <drepper@gmail.com>
31543
27deeafc
UD
31544 [BZ #13166]
31545 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31546 buffer for the output is too small.
31547
aed9d171
UD
31548 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31549 optimization.
31550
db910efd
UD
31551 [BZ #13185]
31552 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31553 SSE flags if possible.
31554
2bd779ae
LD
315552011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31556
e7f9dac3 31557 [BZ #13540]
2bd779ae
LD
31558 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31559 processing for last bytes.
31560
154bfc16
JM
315612011-12-22 Joseph Myers <joseph@codesourcery.com>
31562
31563 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31564 (syscall-list-default-options, syscall-list-default-condition)
31565 (syscall-list-includes): Define.
31566 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31567 list of ABIs and options and #if conditions for each ABI. Do not
31568 handle common syscalls between ABIs specially.
31569 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31570 Remove.
31571 (syscall-list-variants, syscall-list-32bit-options)
31572 (syscall-list-32bit-condition, syscall-list-64bit-options)
31573 (syscall-list-64bit-condition): Define.
31574 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31575 (syscall-list-variants, syscall-list-32bit-options)
31576 (syscall-list-32bit-condition, syscall-list-64bit-options)
31577 (syscall-list-64bit-condition): Define.
31578 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31579 Remove.
31580 (syscall-list-variants, syscall-list-32bit-options)
31581 (syscall-list-32bit-condition, syscall-list-64bit-options)
31582 (syscall-list-64bit-condition): Define.
31583 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31584 Remove.
31585 (syscall-list-variants, syscall-list-32bit-options)
31586 (syscall-list-32bit-condition, syscall-list-64bit-options)
31587 (syscall-list-64bit-condition): Define.
31588
21eaf3a5
UD
315892011-12-22 Ulrich Drepper <drepper@gmail.com>
31590
16c6f992
UD
31591 * locale/iso-639.def: Add brx entry.
31592
41043168
UD
31593 [BZ #13328]
31594 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31595 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31596
21eaf3a5
UD
31597 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31598 __feraiseexcept_renamed.
31599
e3a851a2
UD
316002011-12-21 Ulrich Drepper <drepper@gmail.com>
31601
4920765e
UD
31602 [BZ #13538]
31603 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31604 EPOLLET with unsigned values.
31605 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31606 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31607
e3a851a2
UD
31608 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31609 to large cancellation.
31610 * math/s_cacoshf.c: Likewise.
31611 * math/s_cacoshl.c: Likewise.
31612
b27e24b8
RK
316132011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31614
31615 [BZ #13305]
aebefeee 31616 [BZ #12786]
b27e24b8
RK
31617 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31618 * math/s_cacoshf.c: Likewise.
31619 * math/s_cacoshl.c: Likewise.
31620
ee190f67
UD
316212011-12-21 Ulrich Drepper <drepper@gmail.com>
31622
31623 [BZ #13439]
31624 * iconv/gconv.h: Define __GCONV_SWAP.
31625 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31626 * iconvdata/utf-16.c: Likewise.
31627 * iconvdata/utf-32.c: Likewise.
31628
707f25df
AS
316292011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31630
31631 [BZ #13524]
31632 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31633 numerator after shifting it by one limb.
31634
d2daaa1e
RÁE
316352011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31636
31637 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31638 under [__USE_EXTERN_INLINES].
31639
a4647e72
UD
316402011-12-17 Ulrich Drepper <drepper@gmail.com>
31641
31642 [BZ #13446]
31643 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31644
f0b264f1
AZ
316452011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31646
31647 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31648 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31649 optimized code.
31650 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31651 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31652 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31653 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31654 for strncasecmp/strncasecmp_l compilation.
31655 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31656 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31657
8ef4f244
MP
316582011-12-08 Marek Polacek <mpolacek@redhat.com>
31659
31660 [BZ #13484]
31661 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31662 of __asm__.
31663
97ac2654
UD
316642011-12-17 Ulrich Drepper <drepper@gmail.com>
31665
31666 [BZ #13506]
31667 * time/tzfile.c (__tzfile_read): Check values from file header.
31668
91d2a845
WS
316692011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31670
31671 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31672 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31673 * powerpc/powerpc32/dl-start.S: Likewise.
31674 * powerpc/powerpc32/elf/start.S: Likewise.
31675 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31676 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31677 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31678 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31679 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31680 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31681 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31682 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31683 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31684 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31685 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31686 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31687 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31688 * powerpc/powerpc32/memset.S: Likewise.
31689 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31690 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31691 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31692 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31693 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31694 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31695 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31696 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31697 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31698 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31699 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31700 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31701 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31702
a1267ba1
AZ
317032011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31704
31705 * math/libm-test.inc: Added more nearbyint tests.
31706 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31707 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31708 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31709 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31710
ad8ac1bd
RL
317112011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31712
31713 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31714 FD_CLOEXEC.
31715
1d3e4b61
UD
317162011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31717
31718 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31719 Add wcscpy-ssse3 wcscpy-c.
31720 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31721 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31722 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31723 * sysdeps/x86_64/wcschr.S: New file.
31724 * sysdeps/x86_64/wcsrchr.S: New file.
31725 * string/test-strcmp.c: Remove checking of wcscmp function for
31726 wrong alignments.
31727 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31728 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31729 wcsrchr-sse2 wcsrchr-c.
31730 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31731 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31732 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31733 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31734 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31735 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31736 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31737 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31738 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31739 * wcsmbc/wcschr.c (WCSCHR): New macro.
31740
5b330a2d
UD
317412011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31742
31743 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31744 * wcsmbs/test-wcsrchr.c: New file.
31745 * string/test-strrchr.c: Add wcsrchr support.
31746 (WIDE): New macro.
31747 * wcsmbs/test-wcscpy.c: New file.
31748 * string/test-strcpy.c: Add wcscpy support.
31749 (WIDE): New macro.
26428b7c 31750
f039c043
UD
317512011-12-10 Ulrich Drepper <drepper@gmail.com>
31752
31753 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31754 the inner loop.
31755
850fb039
AS
317562011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31757
31758 [BZ #13472]
31759 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31760
4efbd5cb
UD
317612011-12-04 Ulrich Drepper <drepper@gmail.com>
31762
52ff5dd0 31763 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 31764 Minor optimizations.
52ff5dd0 31765
4efbd5cb
UD
31766 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31767 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31768 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31769
8a426e12
UD
317702011-12-03 Ulrich Drepper <drepper@gmail.com>
31771
aff2453d
UD
31772 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31773 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31774 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31775 for gcc to avoid warnings.
31776 * inet/Makefile (tests): Add tst-checks.
31777 * inet/tst-checks.c: New file.
31778
31779 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31780 warning.
31781
31782 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31783 __wmemcmp_sse2.
31784
31785 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31786 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31787
8a426e12
UD
31788 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31789
9bea3473
UD
317902011-12-02 Ulrich Drepper <drepper@gmail.com>
31791
3a965496
UD
31792 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31793 problem.
31794
9bea3473
UD
31795 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31796
f101631b
UD
317972011-11-29 Joseph Myers <joseph@codesourcery.com>
31798
31799 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31800 conditional on GCC version.
31801 (__arch_compare_and_exchange_val_8_acq)
31802 (__arch_compare_and_exchange_val_16_acq)
31803 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31804 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31805 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31806
a98275aa
UD
318072011-12-02 Joseph Myers <joseph@codesourcery.com>
31808
31809 * sysdeps/sh/backtrace.c: New file.
31810
d4cc29a2
AS
318112011-12-02 Andreas Schwab <schwab@redhat.com>
31812
31813 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31814 parenthesis.
31815
6257af2d
AS
318162011-12-01 Andreas Schwab <schwab@redhat.com>
31817
31818 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31819 falling back to utime.
31820
b5f44c1a
AS
318212011-11-30 Andreas Schwab <schwab@redhat.com>
31822
31823 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31824 expectations for float.
31825
f3a6cc0a
AS
318262011-11-29 Andreas Schwab <schwab@redhat.com>
31827
31828 * locale/weight.h (findidx): Add parameter len.
31829 * locale/weightwc.h (findidx): Likewise.
31830 * posix/fnmatch_loop.c (FCT): Adjust caller.
31831 * posix/regcomp.c (build_equiv_class): Likewise.
31832 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31833 * posix/regexec.c (check_node_accept_bytes): Likewise.
31834 * string/strcoll_l.c (STRCOLL): Likewise.
31835 * string/strxfrm_l.c (STRXFRM): Likewise.
31836
9d65ea3a
UD
318372011-11-17 Ulrich Drepper <drepper@gmail.com>
31838
31839 * Makefile.in: Remove CVSOPT handling.
31840 * configure.in: Remove use of AC_REVISION.
31841 * iconvdata/Makefile (distribute): No need to filter out CVS.
31842 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31843 handling.
31844
5583a086
AS
318452011-11-16 Andreas Schwab <schwab@redhat.com>
31846
31847 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31848 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31849 [USE_AS_STRNCASECMP_L]: Likewise.
31850 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31851 NO_TLS_DIRECT_SEG_REFS.
31852 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31853 Fix argument offsets for non-PIC.
31854 [USE_AS_STRNCASECMP_L]: Likewise.
31855 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31856 NO_TLS_DIRECT_SEG_REFS.
31857
d62a8200
UD
318582011-11-15 Ulrich Drepper <drepper@gmail.com>
31859
9d65ea3a 31860 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
31861 O_CLOEXEC.
31862 * locale/loadlocale.c (_nl_load_locale): Likewise.
31863
09f93bd3
AS
318642011-11-15 Andreas Schwab <schwab@redhat.com>
31865
446514f9
AS
31866 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31867 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31868 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31869 (SYSCALL_GETTIME): Set errno on error.
31870
09f93bd3
AS
31871 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31872 count references to noai6ai_cached.
31873
312be3f9
UD
318742011-11-15 Ulrich Drepper <drepper@gmail.com>
31875
31876 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31877
31878 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31879 FD_CLOEXEC for /proc/self/maps.
31880
31881 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31882 FD_CLOEXEC for /proc/meminfo.
31883
31884 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31885 gai.conf.
31886
31887 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31888 FD_CLOEXEC for given file.
31889
31890 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31891
31892 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31893 FD_CLOEXEC for /etc/hosts.
31894 (_gethtent): Likewise.
31895
31896 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31897
31898 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31899 cancellation and set FD_CLOEXEC for /etc/netgroup.
31900
31901 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31902 reading /etc/publickey.
31903
31904 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31905 allow cancellation when reading /etc/group.
31906
31907 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31908 cancellation.
31909 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31910
31911 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31912 when using data file.
31913
31914 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31915
31916 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31917 (write_nis_obj): Use "c" and "e" in fopen.
31918
31919 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31920
31921 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31922
31923 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31924
31925 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31926
31927 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31928 locale.alias.
31929
31930 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31931
31932 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31933
31934 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31935
31936 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31937 file parsing and set FD_CLOEXEC.
31938
82af0fa8
UD
319392011-11-14 Ulrich Drepper <drepper@gmail.com>
31940
31941 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31942
a5fb313c
AS
319432011-11-14 Andreas Schwab <schwab@redhat.com>
31944
31945 * malloc/arena.c (arena_get2): Don't call reused_arena when
31946 _int_new_arena failed.
31947
6abf3465
UD
319482011-11-14 Ulrich Drepper <drepper@gmail.com>
31949
31950 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31951 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31952 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31953 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31954 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31955 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31956 to compile strcasecmp and strncasecmp.
31957 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31958 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31959
31960 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31961
76e3966e
UD
319622011-11-13 Ulrich Drepper <drepper@gmail.com>
31963
31964 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31965 locale-defines.sym to gen-as-const-headers.
31966 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31967 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31968 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31969 to compile strcasecmp and strncasecmp.
31970 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31971 strcasecmp_l and strncasecmp_l.
31972 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31973 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31974 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31975 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31976 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31977 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31978 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31979 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31980 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31981 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31982 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31983
ab26144e
UD
319842011-11-12 Ulrich Drepper <drepper@gmail.com>
31985
7edb22ef
UD
31986 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31987 result of SYSDEP_GETTIME_CPU to retval.
31988 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31989 parameter list to macro. Remove trailing semicolon. Adjust users.
31990
9694fc44
UD
31991 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31992 variable.
31993
8ad89ef8
UD
31994 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31995 mantissa words.
31996 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31997
0c822ef9
UD
31998 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31999 from unused variable.
32000
874e0564
UD
32001 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32002 DWARF definitions.
32003 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32004 for assembling.
32005
3a2edc79
UD
32006 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32007 over namespaces.
32008
f3c2577f
UD
32009 * sunrpc/rpc_prot.c (rejected): Fix case value.
32010
294ce126
UD
32011 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32012 unsigned long long int to avoid warnings in shift.
32013
5e2b63c6
UD
32014 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32015 of use of trans.
32016 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32017 variable tmp.
32018
e7f4b08e
UD
32019 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32020 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32021 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32022
ab26144e
UD
32023 * nis/nis_table.c (nis_list): Use variable of correct type for
32024 result of __follow_path call.
32025
8a6d5255
AZ
320262011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32027
32028 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32029 of math functions ceil, trunc, floor, round, and sqrt, when
32030 avaliable on the platform.
32031 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32032 name clash.
32033 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32034 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32035 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32036
aaddc98c
MP
320372011-10-30 Marek Polacek <mpolacek@redhat.com>
32038
32039 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32040 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32041
95b7042b
RM
320422011-11-11 Roland McGrath <roland@hack.frob.com>
32043
32044 * include/unistd.h: Fix __readlink return type.
32045 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32046
57769839
UD
320472011-11-11 Ulrich Drepper <drepper@gmail.com>
32048
32049 * stdlib/ucontext.h: Undo last change for makecontext.
32050
edc5984d
AS
320512011-11-11 Andreas Schwab <schwab@redhat.com>
32052
98591e58
AS
32053 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32054
edc5984d
AS
32055 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32056 * setjmp/setjmp.h: Mark functions as non-leaf.
32057 * setjmp/bits/setjmp2.h: Likewise.
32058 * stdlib/ucontext.h: Likewise.
32059
77cdc054
AS
320602011-11-10 Andreas Schwab <schwab@redhat.com>
32061
32062 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32063 (reused_arena): Don't check arena limit.
32064 (arena_get2): Atomically check arena limit.
32065
fe72eebd
UD
320662011-11-08 Ulrich Drepper <drepper@gmail.com>
32067
5f078c32
UD
32068 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32069 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32070
fe72eebd
UD
32071 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32072 instructions.
32073
ae1bc2fa
AS
320742011-11-07 Andreas Schwab <schwab@redhat.com>
32075
7583a88d
AS
32076 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32077 handler when locking.
32078
ae1bc2fa
AS
32079 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32080 Fix size of allocated buffer.
32081
10fb0bfa
AS
320822011-11-04 Andreas Schwab <schwab@redhat.com>
32083
998832a4
AS
32084 [BZ #10103]
32085 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32086 declarations for long double functions.
32087 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32088
10fb0bfa
AS
32089 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32090
3d7ba52b
AS
320912011-11-03 Andreas Schwab <schwab@redhat.com>
32092
a9ae54a1
AS
32093 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32094 installed.
32095
3d7ba52b
AS
32096 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32097 is disabled.
32098
bc8db248
ST
320992011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32100
32101 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32102
45b96dd6
AS
321032011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32104
647776f6
AS
32105 * include/alloca.h (stackinfo_alloca_round): Define.
32106 (extend_alloca): Use it.
32107 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32108 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32109 here.
32110
d91a8b93
AS
32111 * scripts/check-local-headers.sh: Ignore libaudit.h.
32112
45b96dd6
AS
32113 * nscd/Makefile (extra-objs): Make recursively expanded.
32114
432d41ce
UD
321152011-11-01 Ulrich Drepper <drepper@gmail.com>
32116
34372fc6
UD
32117 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32118 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32119
fadb59f8
UD
32120 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32121 * posix/tst-rfc3484-2.c: Likewise.
32122 * posix/tst-rfc3484-3.c: Likewise.
32123
78239589
UD
32124 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32125 process_vm_writev.
32126 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32127 process_vm_writev.
32128 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32129 process_vm_writev from libc using GLIBC_2.15 version.
32130
432d41ce
UD
32131 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32132
02f9c6cf
PP
321332011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32134
32135 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32136 stack usage.
32137
3a2c0242
UD
321382011-10-31 Ulrich Drepper <drepper@gmail.com>
32139
f4ec4833
UD
32140 [BZ #13367]
32141 * nss/getent.c (initgroups_keys): Show error message in case no group
32142 names are given.
32143
3a2c0242
UD
32144 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32145 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32146 __bump_nl_timestamp.
32147 * nscd/connections (nscd_init): When host database is served open
32148 netlink socket and request notification about configuration changes.
32149 (main_loop_poll): Track netlink file descriptor and bump timestamp
32150 in case data becomes available.
32151 (main_loop_epoll): Likewise.
32152 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32153 (database_pers_head): Add extra_data fileds.
32154 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32155 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32156 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32157 Adjust caller.
32158 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32159 in6ai data, call __free_in6ai.
32160 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32161 Add -DHAVE_NETLINK.
32162 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32163 interface information. Reuse previous data if netlink timestamp
32164 is not changed.
32165 (__bump_nl_timestamp): New function.
32166 (__free_in6ai): New function.
32167
636064eb
UD
321682011-10-30 Ulrich Drepper <drepper@gmail.com>
32169
32170 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32171 close_not_cancel_no_status here.
32172 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32173
9beb2334
UD
321742011-10-29 Ulrich Drepper <drepper@gmail.com>
32175
6ef76f3b
UD
32176 [BZ #13276]
32177 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32178 return value.
32179
0ffc4f3e 32180 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
32181 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32182 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32183
cb95113e
UD
321842011-07-03 Andreas Jaeger <aj@suse.de>
32185
32186 [BZ #10709]
32187 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32188 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32189 * math/libm-test.inc (sin_test): Add test case.
32190
a1b560ff
UD
321912011-10-29 Ulrich Drepper <drepper@gmail.com>
32192
c9aaface
UD
32193 [BZ #13337]
32194 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32195 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32196
d272e7f1
UD
32197 * elf/chroot_canon.c (chroot_canon): Cleanups.
32198
1bc33071
UD
32199 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32200
1760874d
TJ
32201 [BZ #13335]
32202 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32203 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32204
51d91b18
UD
32205 * string/test-strchr.c: Make usable for strchrnul testing.
32206 * string/test-strchrnul.c: New file.
32207 * string/Makefile (strop-tests): Add strchrnul.
32208
a1b560ff 32209 * po/it.po: Update from translation team.
b611fb81 32210 * po/es.po: Likewise.
a1b560ff 32211
a5b81e1f
UD
322122011-10-28 Ulrich Drepper <drepper@gmail.com>
32213
fd52bc6d
UD
32214 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32215 the three constants needed as parameters. Drop the others.
32216 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32217 __m128i_strloadu_tolower.
52e4b9eb
UD
32218 Create and initialize variable zero and use it in all the places
32219 where _mm_setzero_si128 was used.
fd52bc6d 32220
a5b81e1f
UD
32221 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32222 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32223 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32224 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32225 anymore.
32226 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32227 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32228 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32229 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32230 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32231 __mpranred, __mptan.
32232 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32233 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32234 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32235 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32236 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32237 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32238 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32239 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32240 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32241
b4343346
AS
322422011-10-28 Andreas Schwab <schwab@redhat.com>
32243
0c92d8a8
AS
32244 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32245 redefine if SHARED.
32246 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32247
b4343346
AS
32248 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32249 wide char related routines to wcsmbs subdir.
32250
3871f58f
AS
322512011-10-27 Andreas Schwab <schwab@redhat.com>
32252
32253 [BZ #13344]
32254 * misc/sys/cdefs.h (__THROWNL): Define.
32255 * posix/unistd.h: Use __THREADNL instead of __THREAD
32256 for memory synchronization functions.
32257
94d44d9f
RM
322582011-10-26 Roland McGrath <roland@hack.frob.com>
32259
21b64b15 32260 [BZ #13349]
94d44d9f
RM
32261 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32262 doesn't exist.
32263 * manual/stdio.texi (Obstack Streams): Node removed.
32264
f6ce9294
AS
322652011-10-26 Andreas Schwab <schwab@redhat.com>
32266
80479147
AS
32267 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32268 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32269 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32270
f6ce9294
AS
32271 * math/math_private.h (math_force_eval): Allow non-addressable
32272 arguments.
32273 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32274
618280a1
UD
322752011-10-25 Ulrich Drepper <drepper@gmail.com>
32276
e0016b11
UD
32277 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32278 file is not needed.
32279
32280 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32281 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32282 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32283 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32284 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32285 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32286 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32287 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32288 Add AVX variants.
32289 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32290 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32291 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32292 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32293 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32294 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32295 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32296 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32297 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32298 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32299 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32300 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32301 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32302 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32303 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32304 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32305 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32306 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32307 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32308
32309 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32310 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32311
618280a1
UD
32312 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32313 place. Use VEX encoding when compiling for AVX.
32314
37822576
AS
323152011-10-25 Andreas Schwab <schwab@redhat.com>
32316
1f1e1947
AS
32317 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32318 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32319
37822576
AS
32320 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32321
31ea014d
UD
323222011-10-25 Ulrich Drepper <drepper@gmail.com>
32323
d7826aa1 32324 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 32325 useless if() expression.
d7826aa1
UD
32326 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32327 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32328 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32329 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32330 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32331 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32332 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32333 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32334 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32335 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32336 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32337 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32338 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32339 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32340 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32341 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32342 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32343 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32344 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32345
31ea014d
UD
32346 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32347
16437fec
AS
323482011-10-25 Andreas Schwab <schwab@redhat.com>
32349
32350 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32351 condition.
32352 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32353
31d3cc00
UD
323542011-10-25 Ulrich Drepper <drepper@gmail.com>
32355
32356 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32357 .text section. Avoid duplicate constants.
32358 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32359 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32360 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32361 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32362 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32363 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32364 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32365 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32366 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32367 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32368 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32369 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32370 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32371 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32372 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32373 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32374 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32375 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32376 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32377 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32378 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32379 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32380 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32381 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32382 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32383 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32384 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32385 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32386 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32387 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32388 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32389 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32390 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32391 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32392 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32393 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32394 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32395 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32396 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32397 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32398 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32399 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32400 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32401 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32402 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32403
58985aa9
UD
324042011-10-24 Ulrich Drepper <drepper@gmail.com>
32405
202c9deb
UD
32406 * sysdeps/x86_64/dla.h: Move to ...
32407 * sysdeps/x86_64/fpu/dla.h: ...here.
32408 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32409 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 32410
af968f62
UD
32411 * config.make.in: Add have-mfma4 entry.
32412 * configure.in: Substitute libc_cv_cc_fma4.
32413 * math/Makefile (dbl-only-routines): Add sincostab.
32414 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32415 Use __sincostab not sincos.
32416 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32417 name is a macro.
32418 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32419 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32420 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32421 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32422 using __copysign.
32423 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32424 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32425 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32426 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32427 and __inv.
32428 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32429 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32430 __copysign.
32431 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32432 define aliases when function name is a macro.
32433 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32434 sysdeps/ieee754/dbl-64/sincos.tbl.
32435 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32436 fma4-enabled routines.
32437 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32438 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32439 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32440 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32441 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32442 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32443 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32444 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32445 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32446 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32447 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32448 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32449 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32450 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32451 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32452 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32453 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32454 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32455 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32456 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32457 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32458 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32459 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32460 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32461 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32462 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32463 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32464 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32465 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32466 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32467
58985aa9
UD
32468 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32469 rename.
32470 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32471 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32472 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32473 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32474 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32475 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32476 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32477 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32478
a201fbcf
AS
324792011-10-24 Andreas Schwab <schwab@redhat.com>
32480
32481 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32482
fc2ee42a
LD
324832011-10-23 Ulrich Drepper <drepper@gmail.com>
32484
bb3129bd
UD
32485 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32486
0275fff8
UD
32487 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32488 prediction.
32489 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32490
2fa2ae85
UD
32491 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32492 Remove unused variable magic_bits.
32493 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32494
fc2ee42a
LD
32495 * string/strnlen.c: Define and use STRNLEN macro.
32496 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32497 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32498 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32499 * wcsmbs/wcslen.c: Define and use WCSLEN.
32500 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32501 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32502 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32503 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32504 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32505 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32506 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32507
ce7dd29f
LD
325082011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32509
32510 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32511 strnlen-sse2-no-bsf.
32512 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32513 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32514 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32515 Add strnlen support.
32516 (USE_AS_STRNLEN): New macro.
32517 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32518 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32519 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32520 * sysdeps/x86_64/wcslen.S: New file.
32521
979c70a3
MZ
325222011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32523
32524 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32525 XMM-moves are used for copying on small sizes.
32526
2d09f82f
LD
325272011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32528
32529 * wcsmbs/Makefile (strop-tests): Add wcschr.
32530 * wcsmbs/test-wcschr.c: New file.
32531 * string/test-strchr.c: Update.
32532 Add wcschr support.
32533 (WIDE): New macro.
32534
619fccca
LD
325352011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32536
2d09f82f 32537 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
32538 * wcsmbs/test-wcslen.c: New file.
32539 * string/test-strlen.c: Update.
32540 Add wcslen support.
32541 (WIDE): New macro.
32542
09f699ea
UD
325432011-10-23 Ulrich Drepper <drepper@gmail.com>
32544
32545 * po/it.po: Update from translation team.
32546
95584d3b
LD
325472011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32548
32549 * sysdeps/x86_64/wcscmp.S: Update.
32550 Fix wrong comparison semantics.
32551 wcscmp shall use signed comparison not unsigned.
32552 Don't use substraction to avoid overflow bug.
32553 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32554 * wcsmbc/wcscmp.c: Likewise.
32555 * string/test-strcmp.c: Likewise.
32556 Add new tests to check cases with negative values.
32557
c8b3296b
UD
325582011-10-23 Ulrich Drepper <drepper@gmail.com>
32559
32560 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32561 * sysdeps/x86_64/dla.h: ...here. New file.
32562 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32563 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32564 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32565 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32566 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32567 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32568 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32569 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32570 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32571
246ad57a
AS
325722011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32573
32574 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32575 __ynl_finite aliases.
32576
a1a87169
UD
325772011-10-22 Ulrich Drepper <drepper@gmail.com>
32578
0d355eb7
UD
32579 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32580
a1a87169
UD
32581 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32582 define DLA_FMA.
32583 [DLA_FMA] (EMULV): Use DLA_FMA.
32584 [DLA_FMA] (MUL12): Use EMULV.
32585 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32586 that are not needed.
32587 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32588 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32589 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32590 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32591 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32592 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32593 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32594
ee2aafe0
AS
325952011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32596
32597 * math/s_nan.c: Undef __nan.
32598 * math/s_nanf.c: Undef __nanf.
32599 * math/s_nanl.c: Undef __nanl.
32600 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32601 "math_private.h".
32602
bc62c2fb
UD
326032011-10-22 Ulrich Drepper <drepper@gmail.com>
32604
77425c63
UD
32605 * math/s_catan.c: Add branch predictions.
32606 * math/s_catanf.c: Likewise.
32607 * math/s_catanh.c: Likewise.
32608 * math/s_catanhf.c: Likewise.
32609 * math/s_catanhl.c: Likewise.
32610 * math/s_catanl.c: Likewise.
32611 * math/s_cexp.c: Likewise.
32612 * math/s_cexpf.c: Likewise.
32613 * math/s_cexpl.c: Likewise.
32614 * math/s_clog.c: Likewise.
32615 * math/s_clog10.c: Likewise.
32616 * math/s_clog10f.c: Likewise.
32617 * math/s_clog10l.c: Likewise.
32618 * math/s_clogf.c: Likewise.
32619 * math/s_clogl.c: Likewise.
32620 * math/s_csqrt.c: Likewise.
32621 * math/s_csqrtf.c: Likewise.
32622 * math/s_csqrtl.c: Likewise.
32623 * math/s_ctanf.c: Likewise.
32624 * math/s_ctanh.c: Likewise.
32625 * math/s_ctanhf.c: Likewise.
32626 * math/s_ctanhl.c: Likewise.
32627 * math/s_ctanl.c: Likewise.
32628
bc62c2fb
UD
32629 * math/math_private.h: Define __nan, __nanf, __nanl.
32630 * math/s_cacosh.c: Include <math_private.h>.
32631 * math/s_cacoshl.c: Likewise.
32632 * math/s_casinh.c: Likewise.
32633 * math/s_casinhf.c: Likewise.
32634 * math/s_casinhl.c: Likewise.
32635 * math/s_ccos.c: Rely entire on ccosh.
32636 * math/s_ccosf.c: Rely entire on ccoshf.
32637 * math/s_ccosl.c: Rely entirely on ccoshl.
32638 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32639 Remove tests for FE_INVALID.
32640 * math/s_ccoshf.c: Likewise.
32641 * math/s_ccoshl.c: Likewise.
32642 * math/s_csin.c: Likewise.
32643 * math/s_csinf.c: Likewise.
32644 * math/s_csinh.c Likewise.
32645 * math/s_csinhf.c: Likewise.
32646 * math/s_csinhl.c: Likewise.
32647 * math/s_csinl.c: Likewise.
32648 * math/s_ctan.c: Likewise.
32649 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32650 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32651 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32652
8ec250a4
UD
326532011-10-21 Ulrich Drepper <drepper@gmail.com>
32654
c196fed8
UD
32655 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32656 compilation problems.
32657
8ec250a4
UD
32658 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32659 __builtin_expect.
32660
8d4f46c6
UD
326612011-10-20 Ulrich Drepper <drepper@gmail.com>
32662
ed72b654
UD
32663 * sysdeps/i386/configure.in: Test for -mfma4 option.
32664 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32665 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32666 COMMON_CPUID_INDEX_80000001.
32667 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32668 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32669 use it if FMA3 is not supported.
32670 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32671
8d4f46c6
UD
32672 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32673 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32674
d45c60c2
AS
326752011-10-20 Andreas Schwab <schwab@redhat.com>
32676
32677 [BZ #12892]
32678 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32679 it would create a cycle with a link time dependency.
32680
d9a4d2ab
UD
326812011-10-19 Ulrich Drepper <drepper@gmail.com>
32682
855d1560
UD
32683 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32684 instruction.
32685 * string/Makefile (strop-tests): Add rawmemchr.
32686 * string/test-rawmemchr.c: New file.
32687
d9a4d2ab
UD
32688 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32689 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32690 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32691 when compiling str{,n}casecmp and when AVX is available. Hook up
32692 new optimized code in initializers.
32693
8f3b1ffe
AS
326942011-10-19 Andreas Schwab <schwab@redhat.com>
32695
32696 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32697 __feraiseexcept instead of feraiseexcept.
32698
d38f1dba
UD
326992011-10-18 Ulrich Drepper <drepper@gmail.com>
32700
d9a8d0ab
UD
32701 * math/math_private.h: Define defaults for libc_fetestexcept and
32702 libc_feupdateenv.
32703 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32704 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32705 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32706 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32707 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32708 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32709 libc_fetestexcept and libc_feupdateenv.
32710
4855e3dd
UD
32711 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32712 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32713 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32714 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32715 libc_feholdexcept_setround.
32716
581d30e3
UD
32717 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32718 Add s_nearbyint-c and s_nearbyintf-c.
32719 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32720 nearbyintf inlines.
32721 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32722 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32723 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32724 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32725
d38f1dba
UD
32726 * math/math_private.h: Define defaults for libc_fegetround,
32727 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32728 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32729 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32730 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32731 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32732 standard functions.
32733 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32734 Remove comments and hacks for old compiler versions.
32735 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32736 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32737 libc_feholdexceptl.
32738
caa6c9d8
AS
327392011-10-18 Andreas Schwab <schwab@redhat.com>
32740
32741 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
32742 (__feraiseexcept_renamed): Add __NTH.
32743 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
32744 namespace violations.
32745
97c066e6
UD
327462011-10-17 Ulrich Drepper <drepper@gmail.com>
32747
99ce7b04
UD
32748 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32749
1004d182
UD
32750 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32751
228a984d
UD
32752 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32753 recently added interfaces.
32754 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32755
c8553a6a
UD
32756 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32757 about macro parameter expansion.
32758
ed22dcf6
UD
32759 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32760 __NO_MATH_INLINES is defined. Cleanups.
32761
32762 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32763 and __floorf is target has SSE4.1.
32764 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32765 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32766 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32767 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32768
b171c137
UD
32769 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32770 name.
32771 (floorf): Likewise.
32772
97c066e6
UD
32773 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32774
629f62ef
AS
327752011-10-17 Andreas Schwab <schwab@redhat.com>
32776
49a43d80
AS
32777 * misc/sys/cdefs.h: Fix last change.
32778
629f62ef
AS
32779 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32780 database lookup.
32781
e453f6cd
UD
327822011-10-16 Ulrich Drepper <drepper@gmail.com>
32783
aa78043a
UD
32784 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32785
ad0f5cad
UD
32786 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32787 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32788 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32789 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32790 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32791 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32792 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32793 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32794 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32795 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32796 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32797 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32798 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32799 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32800 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32801 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32802 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32803 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32804 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32805 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32806 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32807 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32808
32809 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32810 ceil, ceilf, floor, floorf.
32811
32812 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32813 Perform IRELATIVE relocations last.
32814
e453f6cd
UD
32815 * elf/do-rel.h: Add another parameter nrelative, replacing the
32816 local variable with the same name. Change name of the function
32817 to end in Rel or Rela (uppercase).
32818 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32819 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32820 elf_dynamic_do_##reloc function.
32821
fd5bdc09
UD
328222011-10-15 Ulrich Drepper <drepper@gmail.com>
32823
79b195b5
UD
32824 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32825 is sufficient, at least on modern CPUs.
32826
d4a28569
UD
32827 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32828
b61099b5
UD
32829 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32830 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32831
bcf01e6d
UD
32832 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32833 __expl_finite.
32834 * math/bits/math-finite.h: Add entries for exp.
32835 * math/e_expl.c: Add __*_finite alias.
32836 * sysdeps/i386/fpu/e_exp.S: Likewise.
32837 * sysdeps/i386/fpu/e_expf.S: Likewise.
32838 * sysdeps/i386/fpu/e_expl.c: Likewise.
32839 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32840 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32841 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32842 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32843 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32844 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32845 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32846
ba1a0d59
UD
32847 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32848 is sufficient, at least on modern CPUs.
32849
fd5bdc09
UD
32850 * ctype/ctype-info.c (__ctype_init): Define.
32851 * include/ctype.h (__ctype_init): Declare.
32852 (__ctype_b_loc): The variable is always initialized.
32853 (__ctype_toupper_loc): Likewise.
32854 (__ctype_tolower_loc): Likewise.
32855 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32856 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32857
7872cfb0
AS
328582011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32859
b468825a
AS
32860 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32861
7872cfb0
AS
32862 * configure.in: Also look in $cxxmachine/include for C++ system
32863 headers.
32864
be13f7bf
LD
328652011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32866
32867 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32868 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32869 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32870 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32871 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32872 (USE_AS_WMEMCMP): New macro.
32873 Fixing indents.
32874 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32875 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32876 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32877 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32878 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32879 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32880 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32881 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32882 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32883 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32884 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32885 (USE_AS_WMEMCMP): New macro.
32886 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32887 * sysdeps/string/test-memcmp.c: Update.
32888 Fix simple_wmemcmp.
32889 Add new tests.
32890 * wcsmbs/wmemcmp.c: Update.
32891 (WMEMCMP): New macro.
32892 Fix overflow bug.
32893
556a2007
AJ
328942011-10-12 Andreas Jaeger <aj@suse.de>
32895
32896 [BZ #13268]
32897 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32898
538faaa7
UD
328992011-10-15 Ulrich Drepper <drepper@gmail.com>
32900
ab6737ff
UD
32901 * libio/iofwide.c (do_length): Avoid warning.
32902
538faaa7
UD
32903 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32904
396a21b1
UD
329052011-10-14 Ulrich Drepper <drepper@gmail.com>
32906
cdf2901f
UD
32907 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32908
38ad40ce
UD
32909 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32910 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32911 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32912 * sysdeps/i386/i686/fpu/e_log.S: New file.
32913 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32914 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32915
396a21b1
UD
32916 * ctype/ctype.h: Add support for inlined isXXX functions when
32917 compiling C++ code.
32918
6b1f68c9
AS
329192011-10-14 Andreas Schwab <schwab@redhat.com>
32920
349290c0
AS
32921 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32922
6b1f68c9
AS
32923 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32924
f2282d42
RM
329252011-10-13 Roland McGrath <roland@hack.frob.com>
32926
32927 [BZ #13291]
32928 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32929
5298ffa8
AS
329302011-10-13 Andreas Schwab <schwab@redhat.com>
32931
714fad23
AS
32932 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32933 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32934 feraiseexcept.
32935
81dcc7fb
AS
32936 * sysdeps/x86_64/memrchr.S: Check for zero size.
32937
5298ffa8
AS
32938 * string/stratcliff.c: Add memrchr tests.
32939
951fbcec
LD
329402011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32941
32942 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32943 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32944 rawmemchr-sse2 rawmemchr-sse2-bsf.
32945 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32946 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32947 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32948 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32949 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32950 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32951 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32952 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32953 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32954 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32955 * string/memrchr.c (MEMRCHR): New macro.
32956
0ac5ae23
UD
329572011-10-12 Ulrich Drepper <drepper@gmail.com>
32958
32959 Add integration with gcc's -ffinite-math-only and optimize wrapper
32960 functions in libm.
32961 * Versions.def: Define GLIBC_2.15 version for libm.
32962 * math/Makefile (headers): Add bits/math-finite.h.
32963 * math/bits/math-finite.h: New file.
32964 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32965 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32966 * math/e_acoshl.c: Add __*_finite alias.
32967 * math/e_acosl.c: Likewise.
32968 * math/e_asinl.c: Likewise.
32969 * math/e_atan2l.c: Likewise.
32970 * math/e_atanhl.c: Likewise.
32971 * math/e_coshl.c: Likewise.
32972 * math/e_exp10.c: Likewise.
32973 * math/e_exp10f.c: Likewise.
32974 * math/e_exp10l.c: Likewise.
32975 * math/e_exp2l.c: Likewise.
32976 * math/e_fmodl.c: Likewise.
32977 * math/e_gammal_r.c: Likewise.
32978 * math/e_hypotl.c: Likewise.
32979 * math/e_j0l.c: Likewise.
32980 * math/e_j1l.c: Likewise.
32981 * math/e_jnl.c: Likewise.
32982 * math/e_lgammal_r.c: Likewise.
32983 * math/e_log10l.c: Likewise.
32984 * math/e_log2l.c: Likewise.
32985 * math/e_logl.c: Likewise.
32986 * math/e_powl.c: Likewise.
32987 * math/e_sinhl.c: Likewise.
32988 * math/e_sqrtl.c: Likewise.
32989 * math/e_scalb.c: Completely rewritten and optimized.
32990 * math/e_scalbf.c: Likewise.
32991 * math/e_scalbl.c: Likewise.
32992 * math/w_acos.c: Likewise.
32993 * math/w_acosf.c: Likewise.
32994 * math/w_acosl.c: Likewise.
32995 * math/w_acosh.c: Likewise.
32996 * math/w_acoshf.c: Likewise.
32997 * math/w_acoshl.c: Likewise.
32998 * math/w_asin.c: Likewise.
32999 * math/w_asinf.c: Likewise.
33000 * math/w_asinl.c: Likewise.
33001 * math/w_atan2.c: Likewise.
33002 * math/w_atan2f.c: Likewise.
33003 * math/w_atan2l.c: Likewise.
33004 * math/w_atanh.c: Likewise.
33005 * math/w_atanhf.c: Likewise.
33006 * math/w_atanhl.c: Likewise.
33007 * math/w_exp10.c: Likewise.
33008 * math/w_exp10f.c: Likewise.
33009 * math/w_exp10l.c: Likewise.
33010 * math/w_fmod.c: Likewise.
33011 * math/w_fmodf.c: Likewise.
33012 * math/w_fmodl.c: Likewise.
33013 * math/w_j0.c: Likewise.
33014 * math/w_j0f.c: Likewise.
33015 * math/w_j0l.c: Likewise.
33016 * math/w_j1.c: Likewise.
33017 * math/w_j1f.c: Likewise.
33018 * math/w_j1l.c: Likewise.
33019 * math/w_jn.c: Likewise.
33020 * math/w_jnf.c: Likewise.
33021 * math/w_log.c: Likewise.
33022 * math/w_logf.c: Likewise.
33023 * math/w_logl.c: Likewise.
33024 * math/w_log10.c: Likewise.
33025 * math/w_log10f.c: Likewise.
33026 * math/w_log10l.c: Likewise.
33027 * math/w_log2.c: Likewise.
33028 * math/w_log2f.c: Likewise.
33029 * math/w_log2l.c: Likewise.
33030 * math/w_pow.c: Likewise.
33031 * math/w_powf.c: Likewise.
33032 * math/w_powl.c: Likewise.
33033 * math/w_remainder.c: Likewise.
33034 * math/w_remainderf.c: Likewise.
33035 * math/w_remainderl.c: Likewise.
33036 * math/w_scalb.c: Likewise.
33037 * math/w_scalbf.c: Likewise.
33038 * math/w_scalbl.c: Likewise.
33039 * math/w_sqrt.c: Likewise.
33040 * math/w_sqrtf.c: Likewise.
33041 * math/w_sqrtl.c: Likewise.
33042 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33043 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33044 used.
33045 * math/math_private.h: Declare __kernel_standard_f.
33046 * math/w_cosh.c: Remove cruft and optimize a bit.
33047 * math/w_coshf.c: Likewise.
33048 * math/w_coshl.c: Likewise.
33049 * math/w_exp2.c: Likewise.
33050 * math/w_exp2f.c: Likewise.
33051 * math/w_exp2l.c: Likewise.
33052 * math/w_hypot.c: Likewise.
33053 * math/w_hypotf.c: Likewise.
33054 * math/w_hypotl.c: Likewise.
33055 * math/w_lgamma.c: Likewise.
33056 * math/w_lgamma_r.c: Likewise.
33057 * math/w_lgammaf.c: Likewise.
33058 * math/w_lgammaf_r.c: Likewise.
33059 * math/w_lgammal.c: Likewise.
33060 * math/w_lgammal_r.c: Likewise.
33061 * math/w_sinh.c: Likewise.
33062 * math/w_sinhf.c: Likewise.
33063 * math/w_sinhl.c: Likewise.
33064 * math/w_tgamma.c: Likewise.
33065 * math/w_tgammaf.c: Likewise.
33066 * math/w_tgammal.c: Likewise.
33067 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33068 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33069 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33070 Minor optimizations. Pretty printing. Remove cruft.
33071 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33072 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33073 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33074 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33075 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33076 * sysdeps/i386/fpu/e_asin.S: Likewise.
33077 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33078 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33079 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33080 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33081 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33082 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33083 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33084 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33085 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33086 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33087 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33088 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33089 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33090 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33091 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33092 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33093 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33094 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33095 * sysdeps/i386/fpu/e_log.S: Likewise.
33096 * sysdeps/i386/fpu/e_log10.S: Likewise.
33097 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33098 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33099 * sysdeps/i386/fpu/e_log2.S: Likewise.
33100 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33101 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33102 * sysdeps/i386/fpu/e_logf.S: Likewise.
33103 * sysdeps/i386/fpu/e_logl.S: Likewise.
33104 * sysdeps/i386/fpu/e_pow.S: Likewise.
33105 * sysdeps/i386/fpu/e_powf.S: Likewise.
33106 * sysdeps/i386/fpu/e_powl.S: Likewise.
33107 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33108 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33109 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33110 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33111 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33112 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33113 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33114 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33115 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33116 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33117 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33118 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33119 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33120 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33121 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33122 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33123 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33124 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33125 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33126 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33127 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33128 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33129 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33130 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33131 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33132 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33133 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33134 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33135 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33136 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33137 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33138 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33139 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33140 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33141 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33142 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33143 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33144 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33145 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33146 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33147 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33148 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33149 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33150 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33151 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33152 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33153 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33154 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33155 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33156 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33157 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33158 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33159 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33160 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33161 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33162 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33163 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33164 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33165 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33166 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33167 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33168 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33169 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33170 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33171 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33172 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33173 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33174 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33175 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33176 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33177 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33178 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33179 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33180 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33181 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33182 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33183 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33184 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33185 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33186 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33187 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33188 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33189 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33190 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33191 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33192 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33193 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33194 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33195 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33196 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33197 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33198 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33199 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33200 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33201 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33202 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33203 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33204 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33205 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33206 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33207 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33208 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33209 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33210 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33211 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33212 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33213 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33214 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33215 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33216 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33217 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33218 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33219 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33220 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33221 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33222 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33223 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33224 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33225 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33226 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33227 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33228 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33229 (__isnanf): Likewise.
33230 (__isinf_ns): Likewise.
33231 (__isinf_nsf): Likewise.
33232 (__finite): Likewise.
33233 (__finitef): Likewise.
33234 (__ieee754_sqrt): Define as macro.
33235 (__ieee754_sqrtf): Define as macro.
33236 (__ieee754_sqrtl): Define as macro.
33237 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33238 inlined copy.
33239 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33240 __FINITE_MATH_ONLY__ consistent.
33241 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33242
12cc2fcd
AS
332432011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33244
a843a204
AS
33245 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33246 of rawmemchr.
33247
12cc2fcd
AS
33248 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33249
c853acd5
UD
332502011-10-09 Ulrich Drepper <drepper@gmail.com>
33251
33252 * po/ja.po: Update from translation team.
33253
c658d255
RM
332542011-10-08 Roland McGrath <roland@hack.frob.com>
33255
110946e4
RM
33256 * locale/programs/locarchive.c (prepare_address_space): New function.
33257 (create_archive, enlarge_archive, open_archive): Use it.
33258
50604220
RM
33259 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33260 inside [SHARED], where it is used.
33261
c658d255
RM
33262 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33263
33264 * nss/getent.c (netgroup_keys): Remove unused variable.
33265 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33266
6a621eb7
UD
332672011-10-08 Ulrich Drepper <drepper@gmail.com>
33268
7edb55ce
UD
33269 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33270 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33271 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33272 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33273 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33274 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33275 * math/Makefile (libm-calls): Add s_isinf_ns.
33276 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33277 * math/multc3.c: Likewise.
33278 * math/s_casin.c: Likewise.
33279 * math/s_casinf.c: Likewise.
33280 * math/s_casinl.c: Likewise.
33281 * math/s_ccos.c: Likewise.
33282 * math/s_ccosf.c: Likewise.
33283 * math/s_ccosl.c: Likewise.
33284 * math/s_ctan.c: Likewise.
33285 * math/s_ctanf.c: Likewise.
33286 * math/s_ctanh.c: Likewise.
33287 * math/s_ctanhf.c: Likewise.
33288 * math/s_ctanhl.c: Likewise.
33289 * math/s_ctanl.c: Likewise.
33290 * math/w_fmod.c: Likewise.
33291 * math/w_fmodf.c: Likewise.
33292 * math/w_fmodl.c: Likewise.
33293 * math/w_remainder.c: Likewise.
33294 * math/w_remainderf.c: Likewise.
33295 * math/w_remainderl.c: Likewise.
33296 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33297 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33298 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33299 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33300 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33301 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33302 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33303 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33304
187da0ae
UD
33305 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33306 of the number.
33307 * stdio-common/printf_fphex.c: Likewise.
33308 * stdio-common/printf_size.c: Likewise.
33309
9277c064
UD
33310 * math/e_exp10.c: Include math_private.h using <...> not "...".
33311 * math/e_exp10f.c: Likewise.
33312 * math/e_exp10l.c: Likewise.
33313 * math/e_exp2l.c: Likewise.
33314 * math/e_j0l.c: Likewise.
33315 * math/e_j1l.c: Likewise.
33316 * math/e_jnl.c: Likewise.
33317 * math/e_lgammal_r.c: Likewise.
33318 * math/e_rem_pio2l.c: Likewise.
33319 * math/e_scalb.c: Likewise.
33320 * math/e_scalbf.c: Likewise.
33321 * math/e_scalbl.c: Likewise.
33322 * math/k_cosl.c: Likewise.
33323 * math/k_sinl.c: Likewise.
33324 * math/k_tanl.c: Likewise.
33325 * math/s_cacoshf.c: Likewise.
33326 * math/s_catan.c: Likewise.
33327 * math/s_catanf.c: Likewise.
33328 * math/s_catanh.c: Likewise.
33329 * math/s_catanhf.c: Likewise.
33330 * math/s_catanhl.c: Likewise.
33331 * math/s_catanl.c: Likewise.
33332 * math/s_ccosh.c: Likewise.
33333 * math/s_ccoshf.c: Likewise.
33334 * math/s_ccoshl.c: Likewise.
33335 * math/s_cexp.c: Likewise.
33336 * math/s_cexpf.c: Likewise.
33337 * math/s_cexpl.c: Likewise.
33338 * math/s_clog.c: Likewise.
33339 * math/s_clog10.c: Likewise.
33340 * math/s_clog10f.c: Likewise.
33341 * math/s_clog10l.c: Likewise.
33342 * math/s_clogf.c: Likewise.
33343 * math/s_clogl.c: Likewise.
33344 * math/s_csin.c: Likewise.
33345 * math/s_csinf.c: Likewise.
33346 * math/s_csinh.c: Likewise.
33347 * math/s_csinhf.c: Likewise.
33348 * math/s_csinhl.c: Likewise.
33349 * math/s_csinl.c: Likewise.
33350 * math/s_csqrt.c: Likewise.
33351 * math/s_csqrtf.c: Likewise.
33352 * math/s_csqrtl.c: Likewise.
33353 * math/s_ctan.c: Likewise.
33354 * math/s_ctanf.c: Likewise.
33355 * math/s_ctanh.c: Likewise.
33356 * math/s_ctanhf.c: Likewise.
33357 * math/s_ctanhl.c: Likewise.
33358 * math/s_ctanl.c: Likewise.
33359 * math/s_ldexp.c: Likewise.
33360 * math/s_ldexpf.c: Likewise.
33361 * math/s_ldexpl.c: Likewise.
33362 * math/s_significand.c: Likewise.
33363 * math/s_significandf.c: Likewise.
33364 * math/s_significandl.c: Likewise.
33365 * math/w_acos.c: Likewise.
33366 * math/w_acosf.c: Likewise.
33367 * math/w_acosh.c: Likewise.
33368 * math/w_acoshf.c: Likewise.
33369 * math/w_acoshl.c: Likewise.
33370 * math/w_acosl.c: Likewise.
33371 * math/w_asin.c: Likewise.
33372 * math/w_asinf.c: Likewise.
33373 * math/w_asinl.c: Likewise.
33374 * math/w_atan2.c: Likewise.
33375 * math/w_atan2f.c: Likewise.
33376 * math/w_atan2l.c: Likewise.
33377 * math/w_atanh.c: Likewise.
33378 * math/w_atanhf.c: Likewise.
33379 * math/w_atanhl.c: Likewise.
33380 * math/w_cosh.c: Likewise.
33381 * math/w_coshf.c: Likewise.
33382 * math/w_coshl.c: Likewise.
33383 * math/w_dremf.c: Likewise.
33384 * math/w_exp10.c: Likewise.
33385 * math/w_exp10f.c: Likewise.
33386 * math/w_exp10l.c: Likewise.
33387 * math/w_exp2.c: Likewise.
33388 * math/w_exp2f.c: Likewise.
33389 * math/w_fmod.c: Likewise.
33390 * math/w_fmodf.c: Likewise.
33391 * math/w_fmodl.c: Likewise.
33392 * math/w_hypot.c: Likewise.
33393 * math/w_hypotf.c: Likewise.
33394 * math/w_hypotl.c: Likewise.
33395 * math/w_j0.c: Likewise.
33396 * math/w_j0f.c: Likewise.
33397 * math/w_j0l.c: Likewise.
33398 * math/w_j1.c: Likewise.
33399 * math/w_j1f.c: Likewise.
33400 * math/w_j1l.c: Likewise.
33401 * math/w_jn.c: Likewise.
33402 * math/w_jnf.c: Likewise.
33403 * math/w_jnl.c: Likewise.
33404 * math/w_lgamma.c: Likewise.
33405 * math/w_lgamma_r.c: Likewise.
33406 * math/w_lgammaf.c: Likewise.
33407 * math/w_lgammaf_r.c: Likewise.
33408 * math/w_lgammal.c: Likewise.
33409 * math/w_lgammal_r.c: Likewise.
33410 * math/w_log.c: Likewise.
33411 * math/w_log10.c: Likewise.
33412 * math/w_log10f.c: Likewise.
33413 * math/w_log10l.c: Likewise.
33414 * math/w_log2.c: Likewise.
33415 * math/w_log2f.c: Likewise.
33416 * math/w_log2l.c: Likewise.
33417 * math/w_logf.c: Likewise.
33418 * math/w_logl.c: Likewise.
33419 * math/w_pow.c: Likewise.
33420 * math/w_powf.c: Likewise.
33421 * math/w_powl.c: Likewise.
33422 * math/w_remainder.c: Likewise.
33423 * math/w_remainderf.c: Likewise.
33424 * math/w_remainderl.c: Likewise.
33425 * math/w_scalb.c: Likewise.
33426 * math/w_scalbf.c: Likewise.
33427 * math/w_scalbl.c: Likewise.
33428 * math/w_sinh.c: Likewise.
33429 * math/w_sinhf.c: Likewise.
33430 * math/w_sinhl.c: Likewise.
33431 * math/w_sqrt.c: Likewise.
33432 * math/w_sqrtf.c: Likewise.
33433 * math/w_sqrtl.c: Likewise.
33434 * math/w_tgamma.c: Likewise.
33435 * math/w_tgammaf.c: Likewise.
33436 * math/w_tgammal.c: Likewise.
33437
6a621eb7
UD
33438 * po/ja.po: Update from translation team.
33439
bf582445
AJ
334402011-09-29 Andreas Jaeger <aj@suse.de>
33441
f9efbf3a
AJ
33442 [BZ #13179]
33443 * sunrpc/netname.c (netname2host): Fix logic.
33444
bf582445
AJ
33445 [BZ #6779]
33446 [BZ #6783]
33447 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33448 correctly.
33449 * math/w_remainder.c (__remainder): Likewise.
33450 * math/w_remainderf.c (__remainderf): Likewise.
33451 * math/libm-test.inc (remainder_test): Add test cases.
33452
48693bea
AK
334532011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33454
33455 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33456 sdiv_qrnnd.
33457
42622229
LD
334582011-10-07 Ulrich Drepper <drepper@gmail.com>
33459
33460 * string/test-memcmp.c: Avoid unncessary #defines.
33461 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33462
093ecf92
LD
334632011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33464
33465 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33466 Use new sse2 version for core i3 - i7 as it's faster
33467 than sse42 version.
33468 (bit_Prefer_PMINUB_for_stringop): New.
33469 * sysdeps/x86_64/rawmemchr.S: Update.
33470 Replace with faster SSE2 version.
33471 * sysdeps/x86_64/memrchr.S: New file.
33472 * sysdeps/x86_64/memchr.S: Update.
33473 Replace with faster SSE2 version.
33474
fde56e5c
MP
334752011-09-12 Marek Polacek <mpolacek@redhat.com>
33476
33477 * elf/dl-load.c (lose): Add cast to avoid warning.
33478
21fd49a9
UD
334792011-10-07 Ulrich Drepper <drepper@gmail.com>
33480
5a06e643
UD
33481 * po/ca.po: Update from translation team.
33482
684ae515
UD
33483 * inet/getnetgrent_r.c: Hook up nscd.
33484 * nscd/Makefile (routines): Add nscd_netgroup.
33485 (nscd-modules): Add netgroupcache.
33486 (CFLAGS-netgroupcache.c): Define.
33487 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33488 (cache_search): Add const to second parameter.
33489 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33490 INNETGR.
33491 (dbs): Add netgrdb entry.
33492 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33493 (verify_persistent_db): Handle netgrdb.
33494 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33495 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33496 GETFDNETGR.
33497 (netgroup_response_header): Define.
33498 (innetgroup_response_header): Define.
33499 (datahead): Add netgroup_response_header and innetgroup_response_header
33500 elements.
33501 * nscd/nscd.conf: Add entries for netgroup cache.
33502 * nscd/nscd.h (dbtype): Add netgrdb.
33503 (_PATH_NSCD_NETGROUP_DB): Define.
33504 (netgroup_iov_disabled): Declare.
33505 (xmalloc, xcalloc, xrealloc): Move declarations here.
33506 (cache_search): Adjust prototype.
33507 Add netgroup-related prototypes.
33508 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33509 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33510 (__nscd_innetgr): Declare.
33511 * nscd/selinux.c (perms): Use access_vector_t as element type and
33512 add netgroup-related initializers.
33513 * nscd/netgroupcache.c: New file.
33514 * nscd/nscd_netgroup.c: New file.
33515 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33516 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33517 For four parameters use innetgr.
33518 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33519 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33520 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33521 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33522
21fd49a9
UD
33523 * nscd/connections.c (register_traced_file): Don't register file
33524 for disabled databases.
33525
054c0457
UD
335262011-10-06 Ulrich Drepper <drepper@gmail.com>
33527
32b63198
UD
33528 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33529
054c0457
UD
33530 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33531 from tree and freeing node.
33532
64031225
JO
335332011-09-25 Jiri Olsa <jolsa@redhat.com>
33534
33535 * nss/nsswitch.c (__nss_database_lookup): Handle
33536 nss_parse_service_list out of memory case.
33537
0490345c
JO
335382011-09-15 Jiri Olsa <jolsa@redhat.com>
33539
33540 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33541 out of memory case.
33542
3a62d00d
AS
335432011-10-04 Andreas Schwab <schwab@redhat.com>
33544
33545 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33546 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33547 pass it down.
33548 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33549 elf_machine_rela, elf_machine_lazy_rel.
33550 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33551 (ELF_DYNAMIC_DO_REL): Likewise.
33552 (ELF_DYNAMIC_DO_RELA): Likewise.
33553 (ELF_DYNAMIC_RELOCATE): Likewise.
33554 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33555 to ELF_DYNAMIC_DO_REL.
33556 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33557 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33558 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33559 elf_machine_rela.
33560 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33561 skip_ifunc, don't call ifunc function if non-zero.
33562 (elf_machine_rela): Likewise.
33563 (elf_machine_lazy_rel): Likewise.
33564 (elf_machine_lazy_rela): Likewise.
33565 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33566 (elf_machine_lazy_rel): Likewise.
33567 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33568 Likewise.
33569 (elf_machine_lazy_rel): Likewise.
33570 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33571 Likewise.
33572 (elf_machine_lazy_rel): Likewise.
33573 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33574 (elf_machine_lazy_rel): Likewise.
33575 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33576 (elf_machine_lazy_rel): Likewise.
33577 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33578 (elf_machine_lazy_rel): Likewise.
33579 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33580 (elf_machine_lazy_rel): Likewise.
33581 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33582 (elf_machine_lazy_rel): Likewise.
33583 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33584 (elf_machine_lazy_rel): Likewise.
33585
68577918
UD
335862011-09-28 Ulrich Drepper <drepper@gmail.com>
33587
33588 * nss/nss_files/files-init.c (_nss_files_init): Use static
33589 initialization for all the *_traced_file variables.
33590
68822d74
AS
335912011-09-28 Andreas Schwab <schwab@redhat.com>
33592
33593 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33594
2056100b
RM
335952011-09-27 Roland McGrath <roland@hack.frob.com>
33596
33597 [BZ #13226]
33598 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33599
32c76b63
AS
336002011-09-27 Andreas Schwab <schwab@redhat.com>
33601
33602 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33603 Reread the line before reparsing it.
33604
bf972c9d
AS
336052011-09-26 Andreas Schwab <schwab@redhat.com>
33606
33607 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33608
e057a1b5
JM
336092011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33610 Maxim Kuvyrkov <maxim@codesourcery.com>
33611 Joseph Myers <joseph@codesourcery.com>
33612
33613 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33614 if needed for __stack_chk_guard.
33615
bc7e1c36
RM
336162011-09-19 Roland McGrath <roland@hack.frob.com>
33617
ecb1482f
RM
33618 * sysdeps/posix/spawni.c (script_execute): Always define it.
33619 It will be optimized away if unused.
33620 (maybe_script_execute): New function.
33621 (__spawni): Call it.
33622
bc7e1c36
RM
33623 * Makerules: Don't include tls.make.
33624 (config-tls): Always set to thread.
33625 * tls.make.c: File removed.
33626
1c3b002b
MF
336272011-09-19 Mike Frysinger <vapier@gentoo.org>
33628
33629 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33630 * config.make.in (CPPFLAGS-config): New substituted variable.
33631
2840865d
UD
336322011-09-15 Ulrich Drepper <drepper@gmail.com>
33633
88738eb6
UD
33634 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33635
cbf645a6 33636 [BZ #13192]
2840865d
UD
33637 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33638 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33639
b402e91a
RM
336402011-09-15 Roland McGrath <roland@hack.frob.com>
33641
33642 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33643 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33644 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33645 (CALL_FAIL): Likewise.
33646 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33647 (CALL_FAIL): Macro removed.
33648 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33649
4c1a1f71
UD
336502011-09-15 Ulrich Drepper <drepper@gmail.com>
33651
33652 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33653 for __FINITE_MATH_ONLY__ == 1.
33654
edc121be
AS
336552011-09-15 Andreas Schwab <schwab@redhat.com>
33656
33657 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33658 __ieee754_sqrt instead of sqrt.
33659 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33660 __ieee754_sqrtf instead of sqrtf.
33661 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33662 __floorf instead of floorf.
33663 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33664 __floorf, __truncf instead of floorf, truncf.
33665
cd205654
UD
336662011-09-14 Ulrich Drepper <drepper@gmail.com>
33667
ee4d0315
UD
33668 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33669
cd205654
UD
33670 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33671 __extern_always_inline.
33672 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33673 32-bit.
33674
48b67d71
AS
336752011-09-14 Andreas Schwab <schwab@redhat.com>
33676
33677 * elf/rtld.c (dl_main): Also relocate in dependency order when
33678 doing symbol dependency testing.
33679
1ae12c75
AS
336802011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33681
33682 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33683 Always define `refsym'.
33684
995a80df
AS
336852011-09-13 Andreas Schwab <schwab@redhat.com>
33686
e529793b
AS
33687 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33688 (__FD_ELT): Renamed from __FDELT.
33689 * misc/bits/select2.h (__FD_ELT): Likewise.
33690 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33691 __FD_MASK instead of __FDELT, __FDMASK.
33692 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33693 Likewise.
33694 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33695 Likewise.
33696
52d4fef8
AS
33697 * elf/Makefile (gen-ldd): Fix pattern.
33698
995a80df
AS
33699 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33700 (init_tls): Likewise.
33701
8682f8b0
UD
337022011-09-12 Ulrich Drepper <drepper@gmail.com>
33703
33704 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33705
de82006d
AS
337062011-09-12 Andreas Schwab <schwab@redhat.com>
33707
a7c8e6a1
AS
33708 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33709 `struct cmsghdr *' instead of `void *'.
33710 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33711 Likewise.
33712
0f31fe77
AS
337132011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33714
33715 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33716 if non-absolute.
33717 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33718 ldd_rewrite_script.
0f31fe77 33719
32b4c839
UD
337202011-09-11 Ulrich Drepper <drepper@gmail.com>
33721
83cd1420
UD
33722 * configure.in: Remove --with-tls option.
33723 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33724 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33725 out in case it is missing.
33726 * sysdeps/ia64/elf/configure.in: Likewise.
33727 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33728 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33729 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33730 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33731 * sysdeps/sh/elf/configure.in: Likewise.
33732 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33733 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33734 * sysdeps/x86_64/elf/configure.in: Likewise.
33735 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33736 * sysdeps/mach/hurd/tls.h: Likewise.
33737
633f745d
UD
33738 [BZ #13067]
33739 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33740
f318beb8
UD
33741 [BZ #13090]
33742 * configure.in: Fix use of AC_INIT.
33743
32b4c839
UD
33744 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33745
3ce1f295
UD
337462011-09-10 Ulrich Drepper <drepper@gmail.com>
33747
bb016596
UD
33748 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33749 __set_errno.
8e58439c
UD
33750 * malloc/hooks.c: Likewise.
33751
aebae053 33752 [BZ #11929]
02d46fc4
UD
33753 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33754 variables statically.
33755 (narenas): Initialize.
33756 (list_lock): Initialize.
bb016596
UD
33757 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33758 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
33759 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33760 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33761 Add initializers to main_arena and mp_.
33762 (malloc_state): Remove pagesize member. Change all users to use
33763 GLRO(dl_pagesize).
33764
33765 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33766 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33767 is always initialized.
33768
22a89187
UD
33769 * malloc/malloc.c: Removed unused configurations and dead code.
33770 * malloc/arena.c: Likewise.
33771 * malloc/hooks.c: Likewise.
02d46fc4 33772 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 33773
d063d164
UD
33774 * include/tls.h: Removed. USE___THREAD must always be defined.
33775 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33776 * elf/dl-libc.c: Likewise.
33777 * elf/dl-tsd.c: Likewise.
33778 * include/errno.h: Likewise.
33779 * include/netdb.h: Likewise.
33780 * include/resolv.h: Likewise.
33781 * inet/herrno-loc.c: Likewise.
33782 * inet/herrno.c: Likewise.
33783 * malloc/arena.c: Likewise.
33784 * malloc/hooks.c: Likewise.
33785 * malloc/malloc.c: Likewise.
33786 * resolv/res-state.c: Likewise.
33787 * resolv/res_libc.c: Likewise.
33788 * sysdeps/i386/dl-machine.h: Likewise.
33789 * sysdeps/ia64/dl-machine.h: Likewise.
33790 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33791 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33792 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33793 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33794 * sysdeps/sh/dl-machine.h: Likewise.
33795 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33796 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33797 * sysdeps/unix/i386/sysdep.S: Likewise.
33798 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33799 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33800 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33801 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33802 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33803 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33804 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33805 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33806 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33807 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33808 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33809 * sysdeps/x86_64/dl-machine.h: Likewise.
33810 * tls.make.c: Likewise.
33811
3ce1f295
UD
33812 * configure.in: Remove --with-__thread option. Make tests for
33813 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33814 tls_model attribute fail if no support is available. Remove
33815 USE_IN_LIBIO.
33816 * Makeconfig: Adjust for dropped configure option. All features are
33817 now mandatory.
33818 * Makerules: Likewise.
33819 * Versions.def: Likewise.
33820 * argp/argp-fmtstream.c: Likewise.
33821 * argp/argp-fmtstream.h: Likewise.
33822 * argp/argp-help.c: Likewise.
33823 * assert/assert.c: Likewise.
33824 * config.h.in: Likewise.
33825 * config.make.in: Likewise.
33826 * configure: Likewise.
33827 * configure.in: Likewise.
33828 * csu/Versions: Likewise.
33829 * csu/init.c: Likewise.
33830 * elf/tst-audit2.c: Likewise.
33831 * elf/tst-tls10.c: Likewise.
33832 * elf/tst-tls10.h: Likewise.
33833 * elf/tst-tls11.c: Likewise.
33834 * elf/tst-tls12.c: Likewise.
33835 * elf/tst-tls14.c: Likewise.
33836 * elf/tst-tlsmod11.c: Likewise.
33837 * elf/tst-tlsmod12.c: Likewise.
33838 * elf/tst-tlsmod13.c: Likewise.
33839 * elf/tst-tlsmod13a.c: Likewise.
33840 * elf/tst-tlsmod14a.c: Likewise.
33841 * elf/tst-tlsmod15b.c: Likewise.
33842 * elf/tst-tlsmod16a.c: Likewise.
33843 * elf/tst-tlsmod16b.c: Likewise.
33844 * elf/tst-tlsmod7.c: Likewise.
33845 * elf/tst-tlsmod8.c: Likewise.
33846 * elf/tst-tlsmod9.c: Likewise.
33847 * gmon/gmon.c: Likewise.
33848 * grp/fgetgrent_r.c: Likewise.
33849 * grp/putgrent.c: Likewise.
33850 * hurd/fopenport.c: Likewise.
33851 * include/libc-symbols.h: Likewise.
33852 * include/tls.h: Likewise.
33853 * intl/gettextP.h: Likewise.
33854 * intl/loadinfo.h: Likewise.
33855 * locale/global-locale.c: Likewise.
33856 * locale/localeinfo.h: Likewise.
33857 * mach/devstream.c: Likewise.
33858 * malloc/arena.c: Likewise.
33859 * malloc/set-freeres.c: Likewise.
33860 * misc/err.c: Likewise.
33861 * misc/getttyent.c: Likewise.
33862 * misc/mntent_r.c: Likewise.
33863 * posix/getopt.c: Likewise.
33864 * posix/wordexp.c: Likewise.
33865 * pwd/fgetpwent_r.c: Likewise.
33866 * resolv/Versions: Likewise.
33867 * resolv/res_hconf.c: Likewise.
33868 * shadow/fgetspent_r.c: Likewise.
33869 * shadow/putspent.c: Likewise.
33870 * stdio-common/printf_fphex.c: Likewise.
33871 * stdio-common/tmpfile.c: Likewise.
33872 * stdlib/abort.c: Likewise.
33873 * stdlib/fmtmsg.c: Likewise.
33874 * sunrpc/auth_unix.c: Likewise.
33875 * sunrpc/clnt_perr.c: Likewise.
33876 * sunrpc/clnt_tcp.c: Likewise.
33877 * sunrpc/clnt_udp.c: Likewise.
33878 * sunrpc/clnt_unix.c: Likewise.
33879 * sunrpc/openchild.c: Likewise.
33880 * sunrpc/svc_simple.c: Likewise.
33881 * sunrpc/svc_tcp.c: Likewise.
33882 * sunrpc/svc_udp.c: Likewise.
33883 * sunrpc/svc_unix.c: Likewise.
33884 * sunrpc/xdr.c: Likewise.
33885 * sunrpc/xdr_array.c: Likewise.
33886 * sunrpc/xdr_rec.c: Likewise.
33887 * sunrpc/xdr_ref.c: Likewise.
33888 * sunrpc/xdr_stdio.c: Likewise.
33889
1248c1c4
PB
338902011-09-09 Ulrich Drepper <drepper@gmail.com>
33891
33892 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33893
338942011-07-03 Andreas Jaeger <aj@suse.de>
33895
33896 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33897 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33898 regenerate with gen-libm-tests.pl.
33899
339002010-05-12 Petr Baudis <pasky@suse.cz>
33901
33902 [BZ #11589]
33903 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33904 around j0() zero points by switching to j1().
33905 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33906 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33907 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33908 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33909
f22e1074
UD
339102011-09-09 Ulrich Drepper <drepper@gmail.com>
33911
f19009c1
UD
33912 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33913 instead of 0.
33914 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 33915 instead of 0.
f19009c1
UD
33916 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33917 Patch in part by Pavel Roskin <proski@gnu.org>.
33918
3f8cc204
UD
33919 [BZ #13138]
33920 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33921 realloc.
33922 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33923 Free memory block if necessary.
33924
f22e1074
UD
33925 [BZ #12847]
33926 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33927 be NULL. Don't lock in this case.
33928
0a2349f9
RM
339292011-09-09 Roland McGrath <roland@hack.frob.com>
33930
33931 * elf/elf.h (ELFOSABI_GNU): New macro.
33932 (ELFOSABI_LINUX): Define to that.
33933
f3cdd467
DZ
339342011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33935
33936 * string/strncat.c (strncat): Undef the symbol in case it has been
33937 defined in bits/string.h.
33938
74718d13
UD
339392011-09-09 Ulrich Drepper <drepper@gmail.com>
33940
633e9e0f
UD
33941 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33942
0a2349f9 33943 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
33944 link map.
33945
f9924780
AJ
339462011-08-17 Andreas Jaeger <aj@suse.de>
33947
33948 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33949
7f5517aa
PP
339502011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33951 Ian Lance Taylor <iant@google.com>
33952
33953 * math/libm-test.inc (lround_test): New testcase.
33954 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33955
762011fe
UD
339562011-09-08 Ulrich Drepper <drepper@gmail.com>
33957
92963737
UD
33958 * Makefile: Remove support for automatic cvs check-ins.
33959 * Makerules: Likewise.
33960 * config.make.in: Likewise.
33961 * configure.in: Likewise.
33962 * intl/Makefile: Likewise.
33963 * locale/Makefile: Likewise.
33964 * po/Makefile: Likewise.
33965 * posix/Makefile: Likewise.
33966 * sysdeps/gnu/Makefile: Likewise.
33967 * sysdeps/mach/hurd/Makefile: Likewise.
33968 * sysdeps/sparc/sparc32/Makefile: Likewise.
33969
b0727fd8
JS
33970 [BZ #13118]
33971 * posix/Makefile (bug-regex32-ENV): Define.
33972 Patch by John Stanley <jpsinthemix@verizon.net>.
33973
a0f33f99
UD
33974 * misc/Makefile (headers): Add bits/select2.h.
33975 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33976 * misc/bits/select2.h: New file.
33977 * include/bits/select2.h: New file.
33978 * debug/Makefile (routines): Add fdelt_chk.
33979 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33980 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33981 FD_ISSET.
33982 * debug/fdelt_chk.c: New file.
33983
762011fe
UD
33984 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33985 * wcsmbs/test-wmemcmp.c: Likewise.
33986 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 33987 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
33988
339892011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33990
33991 * string/Makefile (strop-tests): Add memcmp.
33992 * string/test-wmemcmp.c: New file.
33993 * string/test-memcmp.c: Add wmemcmp support.
33994
7f513ec8
RM
339952011-09-08 Roland McGrath <roland@hack.frob.com>
33996
0442afb4
RM
33997 [BZ #13153]
33998 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33999 2011-07-19 change.
34000
7f513ec8
RM
34001 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34002 garbage value in a __mach_port_mod_refs call in the cases of the
34003 task-self and thread-self ports.
34004
a12b2239
ST
340052011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34006
34007 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34008
610f9ab4
AS
340092011-09-08 Andreas Schwab <schwab@redhat.com>
34010
7f513ec8 34011 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 34012
48882a1a
LD
340132011-09-07 Ulrich Drepper <drepper@gmail.com>
34014
b49865be
UD
34015 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34016
fdc86bc9
UD
34017 * elf/dl-libc.c (dlerror_run): Pass back error code from
34018 dl_catch_error.
34019
c966526a
UD
34020 [BZ #13123]
34021 * elf/dl-load.c (lose): Free l_origin if it is valid.
34022
48882a1a
LD
34023 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34024 names.
34025 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34026 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34027 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34028 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34029 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34030 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34031
77a2a8b4
AZ
340322011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34033
34034 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34035 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34036 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34037 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34038 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34039 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34040 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34041 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34042 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34043 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34044
24f579d8
AM
340452011-08-15 Alan Modra <amodra@gmail.com>
34046
34047 [BZ #13092]
34048 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34049 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34050 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34051 ppc_mcount to static-only-routines.
34052 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34053 __mcount_internal.
34054 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34055 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34056
3d4837df
UD
340572011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34058
34059 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34060 for finite and infinity parameters.
34061
22700377
WS
340622011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34063
34064 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34065 and add nop instructions for throughput optimization.
34066 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34067
5025581e
WS
340682011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34069
34070 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34071 aligned copy for power7 with vector-scalar instructions.
34072 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34073
08a300c9
L
340742011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34075
34076 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34077 AVX check.
34078
59178ef9
AS
340792011-09-07 Andreas Schwab <schwab@redhat.com>
34080
34081 [BZ #13144]
34082 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34083 last change.
34084
e38ba7ab
UD
340852011-09-07 Ulrich Drepper <drepper@gmail.com>
34086
34087 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34088 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34089 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34090 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34091 clock_gettime.
34092
d53a73ac
UD
340932011-09-06 Ulrich Drepper <drepper@gmail.com>
34094
fc8bffcc
UD
34095 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34096 Forgot to demangle the pointer.
34097
ceaa0c5d
UD
34098 * sysdeps/i386/sysdep.h: Define atom_text_section.
34099 * sysdeps/x86_64/sysdep.h: Likewise.
34100 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34101 section with atom_text_section.
34102 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34103 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34104 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34105 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34106 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34107
a77d3c17
UD
34108 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34109 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34110 already be defined. Change to take two parameters and don't assign
34111 result to variable. Adjust all users.
34112 Define INTERNAL_GETTIME if not already defined.
34113 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34114 call.
34115 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34116 HAVE_CLOCK_GETTIME_VSYSCALL.
34117 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34118
d53a73ac
UD
34119 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34120 gettimeofday vsyscall, just use time.
34121
a8f84144
AS
341222011-09-06 Andreas Schwab <schwab@redhat.com>
34123
34124 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34125 <errno.h>.
34126
ef606249
UD
341272011-09-06 Ulrich Drepper <drepper@gmail.com>
34128
34129 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34130 syscall on x86-64.
34131 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34132 syscall.
34133 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34134 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34135 syscall if possible.
34136
6585cb60
UD
341372011-09-05 Ulrich Drepper <drepper@gmail.com>
34138
34139 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34140 e_ident. Don't pass to find_mapsXX.
34141 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34142
a5f524e4
LD
341432011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34144
34145 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34146 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34147 * sysdeps/x86_64/multiarch/strchr.S: Update.
34148 Check bit_slow_BSF bit.
34149 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34150 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34151 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34152
554881ef
UD
341532011-09-05 Ulrich Drepper <drepper@gmail.com>
34154
d96de963
UD
34155 [BZ #13134]
34156 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34157 before glibc 2.15.
34158 (tryshell): Define.
34159 (__spawni): Change last parameter to be flag. Test
34160 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34161 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34162 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34163 * posix/spawni.c: Likewise.
34164 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34165 * posix/spawnp.c: Likewise. Change normal version to use
34166 SPAWN_XFLAGS_USE_PATH.
34167 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34168 SPAWN_XFLAGS_TRY_SHELL.
34169
d48e5868
UD
34170 [BZ #13150]
34171 * posix/glob.h: Remove gcc 1.x support.
34172
554881ef
UD
34173 [BZ #13068]
34174 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34175
693fb948
LD
341762011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34177
34178 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34179 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34180 strrchr-sse2-bsf
34181 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34182 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34183 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34184 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34185 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34186 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34187
1b48c537
UD
341882011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34189
49d42c37
UD
34190 * sysdeps/x86_64/wcscmp.S: New file.
34191
1b48c537
UD
34192 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34193 wcscmp-c wcscmp-sse2
34194 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34195 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34196 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34197 * wcsmbs/wcscmp.c: Allow renaming.
34198
15c95c5d
DM
341992011-09-05 David S. Miller <davem@davemloft.net>
34200
34201 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34202 stack slot, rather than the struct return pointer slot.
34203 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34204 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34206 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34207
2f0ad8f3
UD
342082011-09-05 Ulrich Drepper <drepper@gmail.com>
34209
d88ae418
UD
34210 * po/ja.po: Update from translation team.
34211
2f0ad8f3
UD
34212 [BZ #13144]
34213 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34214 kernel in 64-bit binaries.
34215
5f4318d1
DM
342162011-09-01 David S. Miller <davem@davemloft.net>
34217
34218 * elf/elf.h (HWCAP_SPARC_*): Move to..
34219 * sysdeps/sparc/sysdep.h: this new file and add new values.
34220 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34221 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34222 _DL_HWCAP_COUNT to 24.
34223 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34224 entries.
34225 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34226 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34227 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34228 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34229 instead of magic constants.
34230 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34231
3ba57516
DM
342322011-08-31 David S. Miller <davem@davemloft.net>
34233
34234 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34235 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34236 Reimplement to do errno handling inline.
34237 (SYSCALL_ERROR_HANDLER): New macro.
34238 (__SYSCALL_STRING): Do not do errno handling in asm.
34239 (__CLONE_SYSCALL_STRING): Delete.
34240 (__INTERNAL_SYSCALL_STRING): Delete.
34241 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34242 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34243 (PSEUDO): Reimplement to do errno handling inline.
34244 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34245 (SYSCALL_ERROR_HANDLER): New macro.
34246 (__SYSCALL_STRING): Do not do errno handling in asm.
34247 (__CLONE_SYSCALL_STRING): Delete.
34248 (__INTERNAL_SYSCALL_STRING): Delete.
34249 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34250 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34251 i386.
34252 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34253 (inline_syscall*): Add 'err' argument.
34254 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34255 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34256 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34257 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34258
34259 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34260 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34261
2bc17433
AS
342622011-08-30 Andreas Schwab <schwab@redhat.com>
34263
34264 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34265
fbeb5f4d
JO
342662011-08-29 Jiri Olsa <jolsa@redhat.com>
34267
34268 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34269 directive.
34270
ad69cc26
DM
342712011-08-24 David S. Miller <davem@davemloft.net>
34272
34273 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34274
39dd69df
AS
342752011-08-24 Andreas Schwab <schwab@redhat.com>
34276
34277 * elf/Makefile: Add rules to build and run unload8 test.
34278 * elf/unload8.c: New file.
34279 * elf/unload8mod1.c: New file.
34280 * elf/unload8mod1x.c: New file.
34281 * elf/unload8mod2.c: New file.
34282 * elf/unload8mod3.c: New file.
34283
34284 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34285 it wasn't used.
34286
2c0b250a
DM
342872011-08-23 David S. Miller <davem@davemloft.net>
34288
34289 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34290 subtract stack bias.
34291 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34292 %sp not %fp in calculations.
34293 (_JMPBUF_UNWINDS_ADJ): Likewise.
34294
22044b48
DM
34295 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34296 (aio_suspend): Call it to force an exception region around the
34297 AIO_MISC_WAIT() invocation.
34298
2cae4995
AS
342992011-08-23 Andreas Schwab <schwab@redhat.com>
34300
34301 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34302 backslash.
34303
873a772e
AJ
343042011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34305
34306 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34307 protection macro.
34308 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34309 and <dl-machine.h>.
34310 (Elf64_FuncDesc): Remove.
34311
25ad0df1
DM
343122011-08-22 David S. Miller <davem@davemloft.net>
34313
34314 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34315 sigaltstack check, add missing cfi directives.
34316 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34317 missing cfi directives, and sigaltstack handling.
34318
e888bcbe
AS
343192011-08-16 Andreas Schwab <schwab@redhat.com>
34320
34321 [BZ #11724]
34322 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34323 object is seen twice.
34324 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34325
34326 * elf/Makefile (distribute): Add tst-initorder2.c.
34327 (tests): Add tst-initorder2.
34328 (modules-names): Add tst-initorder2a tst-initorder2b
34329 tst-initorder2c tst-initorder2d. Add rules to build them.
34330 ($(objpfx)tst-initorder2.out): New rule.
34331 * elf/tst-initorder2.c: New file.
34332 * elf/tst-initorder2.exp: New file.
34333
87162f46
AS
343342011-08-22 Andreas Schwab <schwab@redhat.com>
34335
70538b7f
AS
34336 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34337
f55ffe58
AS
34338 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34339 dependencies back to end of function.
34340
87162f46
AS
34341 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34342 $(elfobjdir)/ld.so.
34343
91b392a4
UD
343442011-08-21 Ulrich Drepper <drepper@gmail.com>
34345
34346 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34347 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34348 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34349 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34350 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34351 of __vdso_gettimeofday.
34352 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34353 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34354 attribute_hidden.
34355 (_libc_vdso_platform_setup): Remove initialization of
34356 __vdso_gettimeofday and __vdso_time.
34357
5c43483f
UD
343582011-08-20 Ulrich Drepper <drepper@gmail.com>
34359
775a77e7
UD
34360 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34361 and fgetc_unlocked.
34362 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34363 getc_unlocked.
89f447ed 34364
49c74ba9
UD
34365 * elf/dl-open.c (add_to_global): Report additions to the global scope
34366 for LD_DEBUG=scopes.
34367 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 34368 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 34369
5c43483f
UD
34370 [BZ #13114]
34371 * stdio-common/Makefile (tests): Add bug24.
34372 * stdio-common/bug24.c: New file.
34373
a101b025
AJ
343742011-08-19 Andreas Jaeger <aj@suse.de>
34375
34376 [BZ #13114]
34377 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34378 non-existant file when using close-on-exec mode.
34379
c88f1766
UD
343802011-08-20 Ulrich Drepper <drepper@gmail.com>
34381
0276a718
UD
34382 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34383 the very first instruction.
34384
c88f1766
UD
34385 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34386 the CFI state in the end.
34387 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34388 inclusion of dl-trampoline.h.
34389 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34390
51ccffa0
AS
343912011-08-19 Andreas Schwab <schwab@redhat.com>
34392
94d7165f
AS
34393 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34394 expectations for long double.
34395
51ccffa0
AS
34396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34397 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34398
fd708658 343992011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
34400
34401 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34402 artificual limit depends upon the system page size.
34403
44f0a71e
UD
344042011-08-17 Ulrich Drepper <drepper@gmail.com>
34405
34406 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34407 * resolv/Makefile: Define CFLAGS-libresolv.
34408
8de79a24
AS
344092011-08-17 Andreas Schwab <schwab@redhat.com>
34410
34411 * nss/makedb.c (compute_tables): Make variables used in nested
34412 function static.
34413
27724598
UD
344142011-08-17 Ulrich Drepper <drepper@gmail.com>
34415
c5305d88
UD
34416 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34417 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34418 if buffer was too small.
34419
27724598
UD
34420 * elf/pldd.c (main): Attach to all threads in the process.
34421 Rewrite /proc handling to use *at functions.
34422
076fe015
UD
344232011-08-16 Ulrich Drepper <drepper@gmail.com>
34424
174baab3
UD
34425 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34426 specifies first scope to show.
34427 (dl_open_worker): Update callers. Move printing scope of new
34428 object to before the relocation.
44f0a71e 34429 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
34430 * sysdeps/generic/ldsodefs.h: Update declaration.
34431
076fe015
UD
34432 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34433 string for the scope number.
34434
a60df2c3
UD
344352011-08-14 Ulrich Drepper <drepper@gmail.com>
34436
34437 * nscd/servicescache.c (cache_addserv): Make sure written is always
34438 initialized.
34439
5e4287d1
RM
344402011-08-14 Roland McGrath <roland@hack.frob.com>
34441
85ae0589
RM
34442 * sysdeps/i386/i486/bits/atomic.h
34443 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34444 statement expression, so as to suppress "set but not used" warning.
34445 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34446
69f63097
RM
34447 * string/strncat.c (STRNCAT): Use prototype definition.
34448
675456ef
RM
34449 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34450 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34451 -Iprograms here.
34452 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34453 (localedef-modules): Add localedef.
34454 (locale-modules): Add locale.
34455
5e4287d1
RM
34456 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34457 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34458 to avoid a warning.
34459
9c96ff23
DM
344602011-08-14 David S. Miller <davem@davemloft.net>
34461
34462 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34463 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34464
f9ddf089
UD
344652011-08-13 Ulrich Drepper <drepper@gmail.com>
34466
44f0a71e 34467 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
34468 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34469 * elf/rtld.c (dl_main): Set l_name of vDSO.
34470 Call _dl_show_scope when DL_DEBUG_SCOPES.
34471 (process_dl_debug): Recognize scopes flag and also set it for all.
34472 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34473 Declare _dl_show_scope.
34474
1dc27704
UD
34475 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34476 (do_dlopen): Pass caller_dlopen to dl_open.
34477 (__libc_dlopen_mode): Initialize caller_dlopen.
34478
f9ddf089
UD
34479 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34480 of libc. Make tolower call locale-independent. Optimize a bit by
34481 using isdigit instead of isalnum.
34482 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34483
9ac533d3
UD
344842011-08-12 Ulrich Drepper <drepper@gmail.com>
34485
34486 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34487 was a dependency or dynamically loaded.
34488
89edf2e9
UD
344892011-08-11 Ulrich Drepper <drepper@gmail.com>
34490
8e999d29
UD
34491 * intl/l10nflist.c: Allow architecture-specific pop function.
34492 * sysdeps/x86_64/l10nflist.c: New file.
34493
89edf2e9
UD
34494 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34495 classification.
34496
14d96785
AS
344972011-08-10 Andreas Schwab <schwab@redhat.com>
34498
34499 * include/dirent.h: Add libc_hidden_proto for scandirat and
34500 scandirat64. Don't declare __scandirat64.
34501 * dirent/scandirat.c: Add libc_hidden_def.
34502 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34503 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34504
6761ac04
DM
345052011-08-10 David S. Miller <davem@davemloft.net>
34506
34507 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34508 enum.
34509 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34510 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34511 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34512
c55fbd1e
UD
345132011-08-09 Ulrich Drepper <drepper@gmail.com>
34514
34515 * Versions.def [libc]: Add GLIBC_2.15.
34516 * dirent/Makefile (routines): Add scandirat and scandirat64.
34517 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34518 GLIBC_2.15.
34519 * dirent/dirent.h: Declare scandirat and scandirat64.
34520 * dirent/scandirat.c: New file.
34521 * dirent/scandirat64.c: New file.
34522 * sysdeps/wordsize-64/scandirat.c: New file.
34523 * sysdeps/wordsize-64/scandirat64.c: New file.
34524 * dirent/opendir.c: Define opendirat.
34525 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34526 using scandirat.
34527 * dirent/scandir64.c: Adjust for scandir.c change.
34528 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34529 __scandirat64, and __scandir_cancel_handler.
34530 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34531 additional parameter and use openat instead of open (outside of ld.so).
34532 Add new __opendir as wrapper around __opendirat.
34533 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34534 here without requiring old scandirat implementation.
34535
879165f2
UD
345362011-08-08 Ulrich Drepper <drepper@gmail.com>
34537
34538 * dirent/scandir.c (cancel_handler): Renamed to
34539 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34540 defined. Adjust users.
34541 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34542 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34543
cb7e923b
UD
345442011-08-04 Ulrich Drepper <drepper@gmail.com>
34545
16292edd
UD
34546 * string/test-string.h (IMPL): Use __STRING to expand name and then
34547 stringify it.
34548
cb7e923b
UD
34549 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34550 of cleanups.
34551
cff82933
LD
345522011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34553
34554 * string/Makefile: Update.
34555 (strop-tests): Append strncat.
34556 * string/test-wcscmp.c: New file.
34557 New comprehensive test for wcscmp.
34558 * string/test-strcmp.c: Update.
34559 (WIDE): New define.
34560
9be9bfcc
AS
345612011-07-22 Andreas Schwab <schwab@redhat.com>
34562
34563 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34564 line.
34565
2e96f1c7
AS
345662011-07-26 Andreas Schwab <schwab@redhat.com>
34567
34568 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34569 encoding to ACE if AI_IDN.
34570
85188888
JJ
345712011-08-01 Jakub Jelinek <jakub@redhat.com>
34572
34573 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34574 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34575
5fa16e9b
LD
345762011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34577
34578 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34579 Fix overflow bug in strncat.
34580 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34581
34582 * string/test-strncat.c: Update.
34583 Add new tests for checking overflow bugs.
34584
345852011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34586
34587 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34588 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34589 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34590 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34591 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34592 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34593 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34594 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34595 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34596
34597 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34598 (USE_AS_STRCAT): Define.
34599 Add strcat and strncat support.
34600 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34601
8c1a459f
AS
346022011-07-25 Andreas Schwab <schwab@redhat.com>
34603
34604 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34605 __n bigger than INT_MAX+1.
34606 (__strncmp_g): Likewise.
34607
bba33c28
UD
346082011-07-23 Ulrich Drepper <drepper@gmail.com>
34609
798be72d
UD
34610 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34611 * libio/stido.h: Likewise.
34612
8accd4dc
UD
34613 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34614 (AF_NFC): Define.
34615 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34616 (AF_NFC): Define.
34617
cbff0d96
UD
34618 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34619 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34620 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34621 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34622 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34623
9191c04a
UD
34624 [BZ #13021]
34625 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34626 installed.
34627
bba33c28
UD
34628 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34629 typo.
34630 (_dl_x86_64_save_sse): Likewise.
34631
90f139dd
UD
346322011-07-22 Ulrich Drepper <drepper@gmail.com>
34633
1aae088a
UD
34634 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34635 OSXSAVE.
34636 (_dl_x86_64_save_sse): Likewise.
34637
8e2045f5
UD
34638 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34639
90f139dd
UD
34640 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34641
1d002f25
AS
346422011-07-21 Andreas Schwab <schwab@redhat.com>
34643
34644 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34645 change.
34646 (_dl_x86_64_save_sse): Use correct AVX check.
34647
21137f89
UD
346482011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34649
34650 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34651 bug in strncpy/strncat.
34652 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34653
a65c0b7a
UD
346542011-07-21 Ulrich Drepper <drepper@gmail.com>
34655
34656 * string/tester.c (test_strcat): Add tests for different alignments
34657 of source and destination.
34658 (test_strncat): Likewise.
34659
6986b98a
UD
346602011-07-20 Ulrich Drepper <drepper@gmail.com>
34661
90bb2039
UD
34662 [BZ #12852]
34663 * posix/glob.c (glob): Check passed in values before using them in
34664 expressions to avoid some overflows.
34665 (glob_in_dir): Likewise.
34666
5644ef54
UD
34667 [BZ #13007]
34668 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34669 check for AVX enablement so that we don't crash with old kernels and
34670 new hardware.
34671 * elf/tst-audit4.c: Add same checks here.
34672 * elf/tst-audit6.c: Likewise.
34673
34674 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 34675
bfc9dc9b
AS
346762011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34677
34678 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34679
702e64bb
UD
346802011-07-20 Ulrich Drepper <drepper@gmail.com>
34681
34682 * po/cs.po: Update from translation team.
34683 * po/bg.po: Likewise.
34684
295e904f
MP
346852011-07-12 Marek Polacek <mpolacek@redhat.com>
34686
34687 * misc/sys/cdefs.h: Add support for const attribute.
34688 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34689 to gnu_dev_{major,minor,makedev} functions.
34690
3ff94596
MP
346912011-07-20 Marek Polacek <mpolacek@redhat.com>
34692
34693 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34694
28b59fca
AS
346952011-07-20 Andreas Schwab <schwab@redhat.com>
34696
34697 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34698 strlen results.
34699
19df733e
AK
347002011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34701
34702 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34703 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34704 register in order to avoid conflicts with the soft frame pointer
34705 being held in r11 when necessary.
34706 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34707 (INTERNAL_VSYSCALL_NCS): Likewise.
34708
c8835729
MP
347092011-07-14 Marek Polacek <mpolacek@redhat.com>
34710
34711 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34712 * elf/dl-fini.c (_dl_fini): Adjust caller.
34713 * elf/dl-close.c (_dl_close_worker): Likewise.
34714 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34715
b902330c
MP
347162011-07-15 Marek Polacek <mpolacek@redhat.com>
34717
8991e135
MP
34718 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34719 "aux_cache->nlibs < 0".
34720
b902330c
MP
34721 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34722 in the reload-count case.
34723
99710781
LD
347242011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34725
34726 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34727 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34728 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34729 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34730 * sysdeps/x86_64/multiarch/strcat.S: New file.
34731 * sysdeps/x86_64/multiarch/strncat.S: New file.
34732 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34733 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34734 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34735 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34736 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34737 (USE_AS_STRCAT): Define.
34738 Add strcat and strncat support.
34739 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34740 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34741 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34742 * string/strncat.c: Update.
34743 (USE_AS_STRNCAT): Define.
34744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34745 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34746 and i7.
34747 * sysdeps/x86_64/multiarch/init-arch.h
34748 (bit_Prefer_PMINUB_for_stringop): New.
34749 (index_Prefer_PMINUB_for_stringop): Likewise.
34750 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34751 bit_Prefer_PMINUB_for_stringop.
34752
7dc6bd90
UD
347532011-07-19 Ulrich Drepper <drepper@gmail.com>
34754
34755 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34756 buffer64.
34757 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34758 of casting of buffer.
34759 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34760 buffer32 and buffer64.
34761 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34762 writes instead of casting of buffer.
34763 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34764 buffer32.
34765 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34766 casting of buffer.
34767
e0e72284
AS
347682011-07-19 Andreas Schwab <schwab@redhat.com>
34769
34770 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34771
feb1eb0b
UD
347722011-07-19 Ulrich Drepper <drepper@gmail.com>
34773
34774 * nscd/nscd.c (termination_handler): Don't do anything for a database
34775 if it has not yet been initialized.
34776
298711ff
UD
347772011-07-18 Ulrich Drepper <drepper@gmail.com>
34778
34779 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34780
347812011-07-15 Marek Polacek <mpolacek@redhat.com>
34782
34783 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34784
f9d68389
UD
347852011-07-18 Ulrich Drepper <drepper@gmail.com>
34786
34787 * po/nl.po: Update from translation team.
34788 * po/sv.po: Likewise.
34789
db290cf5
RM
347902011-07-16 Roland McGrath <roland@hack.frob.com>
34791
34792 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34793 now disallowed by GCC.
5c550700 34794
fd5e21c7
RM
34795 * configure.in (use-default-link): Default to yes if a test -shared
34796 link meets our qualifications.
34797 * configure: Regenerated.
34798
5c550700
RM
34799 * config.make.in (output-format): New variable.
34800 * configure.in: Check for ld --print-output-format support.
34801 * configure: Regenerated.
34802 * Makerules ($(common-objpfx)format.lds)
34803 [$(output-format) != unknown]: Just use $(output-format),
34804 instead of the linker-script munging.
34805
9fa2c032
RM
348062011-07-14 Roland McGrath <roland@hack.frob.com>
34807
a6928d51
RM
34808 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34809 of $(common-objpfx)shlib.lds.
34810 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34811
661607b3
RM
34812 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34813 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34814
9fa2c032
RM
34815 * configure.in (-z relro check): Adjust test code to add a large
34816 writable data section after it.
34817 * configure: Regenerated.
34818
defe9061
RM
348192011-07-11 Roland McGrath <roland@hack.frob.com>
34820
34821 * configure.in (-z relro check): Fix test code to make the variable
34822 truly const.
34823 * configure: Regenerated.
34824
319b9ad4
UD
348252011-07-11 Ulrich Drepper <drepper@gmail.com>
34826
34827 * nscd/nscd.h (struct traced_file): Define.
34828 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34829 elements. Add traced_files.
34830 (inotify_fd): Declare.
34831 (register_traced_file): Declare.
34832 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34833 (inotify_fd): Export.
34834 (resolv_conf_descr): Remove.
34835 (nscd_init): Move inotify descriptor creation to main.
34836 Don't register files for notification here.
34837 (register_traced_file): New function.
34838 (invalidate_cache): Don't use reset_res to determine whether to call
34839 res_init, go through the list of registered files.
34840 (main_loop_poll): The inotify descriptors are now stored in the
34841 structures for the traced files.
34842 (main_loop_epoll): Likewise
34843 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34844 to __nss_disable_nscd.
34845 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34846 for a database anymore. Check the records for all the registered
34847 files instead.
34848 * nss/Makefile (libnss_files-routines): Add files-init.
34849 (libnss_db-routines): Add db-init.
34850 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34851 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34852 * nss/nss_db/db-init.c: New file.
34853 * nss/nss_files/files-init.c: New file.
34854 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34855 __nss_lookup_function.
34856 (__nss_lookup_function): Call nss_load_library.
34857 (nss_load_all_libraries): New function.
34858 (__nss_disable_nscd): Take parameter with callback function for files
34859 to register. Set is_nscd. Load all the DSOs for the NSS modules
34860 used for the cached services.
34861 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34862 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34863 options for features to all the files in nscd.
34864
34865 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34866
23bee3e8
RM
348672011-07-10 Roland McGrath <roland@hack.frob.com>
34868
34869 * csu/elf-init.c (__libc_csu_init): Comment typo.
34870
46a5b7f0
UD
348712011-07-09 Ulrich Drepper <drepper@gmail.com>
34872
34873 * po/pl.po: Update from translation team.
34874 * po/ja.po: Likewise.
34875 * po/ru.po: Likewise.
34876 * po/ko.po: Likewise.
34877 * po/fr.po: Likewise.
34878
d30cf5bb
RM
348792011-07-09 Roland McGrath <roland@hack.frob.com>
34880
113ddea4
RM
34881 * configure.in (.ctors/.dtors header and trailer check):
34882 Use an empirical test on a built program.
34883 * configure: Regenerated.
34884
574920b4
RM
34885 * configure.in (-z relro check): Use an empirical test on a built DSO.
34886 Detect, but do not require, on ia64.
34887 * configure: Regenerated.
34888
d30cf5bb
RM
34889 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34890 Update tests that use readelf to use $READELF instead.
34891 * configure: Regenerated.
34892
8538fdb3
UD
348932011-07-08 Ulrich Drepper <drepper@gmail.com>
34894
34895 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34896 if the result is not used.
34897
04d08991
AJ
348982011-07-05 Andreas Jaeger <aj@suse.de>
34899
34900 [BZ#9696]
34901 * stdlib/tst-strtod.c: Add testcase.
34902
de283087
AD
349032011-07-07 Ulrich Drepper <drepper@gmail.com>
34904
4e5f31c8 34905 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 34906 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
34907 The latter has a higher limit. Take additional parameter to pass to
34908 the new function.
34909 (__pathconf): Pass file to __statfs_link_max.
34910 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34911 __statfs_link_max.
34912 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34913 __statfs_link_max.
34914
de283087
AD
34915 [BZ #12868]
34916 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34917 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34918 Handle Lustre.
34919 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34920 (__statfs_filesize_max): Likewise.
34921 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34922
c75fa153
AJ
349232011-07-05 Andreas Jaeger <aj@suse.de>
34924
34925 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34926
1a544854
UD
349272011-07-06 Marek Polacek <mpolacek@redhat.com>
34928
34929 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34930 `status' variable.
34931 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34932 Likewise.
34933
6f0eec67
UD
349342011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34935
34936 * Makefile (strop-tests): Add strncat.
34937 * string/test-strncat.c: New file.
34938
aae30307
UD
349392011-06-30 Marek Polacek <mpolacek@redhat.com>
34940
34941 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34942
c0cfb5eb
UD
349432011-06-21 Andreas Jaeger <aj@suse.de>
34944
34945 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34946 Copy rule from iconvdata/Makefile.
34947
01636b21
UD
349482011-07-06 Ulrich Drepper <drepper@gmail.com>
34949
34950 [BZ #12922]
34951 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34952 but no long options are defined, just return 'W'.
34953
9895c8bc
UD
349542011-06-22 Marek Polacek <mpolacek@redhat.com>
34955
34956 [BZ #9696]
34957 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34958
5d4cf042
UD
349592011-07-06 Ulrich Drepper <drepper@gmail.com>
34960
34961 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34962 netgroups to read.
960e5535 34963 (innetgr): Likewise.
5d4cf042 34964
751eb97e
RM
349652011-07-05 Roland McGrath <roland@hack.frob.com>
34966
34967 * config.make.in (install_root): Default to $(DESTDIR).
34968
f15f1e45
UD
349692011-07-05 Ulrich Drepper <drepper@gmail.com>
34970
34971 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34972
4e34ac6a
RM
349732011-07-02 Roland McGrath <roland@hack.frob.com>
34974
5e9b6af4
RM
34975 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34976
84f9ea0f
RM
34977 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34978 containing directory rather than embedding absolute directory names.
34979
ea5ee9f7
RM
34980 * scripts/check-local-headers.sh: Rewritten using awk.
34981 Match by word, not by line. Print error messages for matches.
34982 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34983
1b74661a
RM
34984 * Makerules [shlib-lds-flags empty]:
34985 ($(common-objpfx)libc_pic.opts): New target.
34986 ($(common-objpfx)libc_pic.os.clean): New target.
34987 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34988
34989 * config.make.in (OBJCOPY): New variable.
34990 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34991 * configure: Regenerated.
34992
f781ef40
RM
34993 * config.make.in (use-default-link): New variable.
34994 * configure.in (use_default_link): Grok --with-default-link to set it.
34995 * configure: Regenerated.
34996 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34997 (shlib-lds, shlib-lds-flags): Define to empty.
34998
2d4fa81e
RM
34999 * Makerules (shlib-lds): New variable.
35000 (shlib-lds-flags): New variable.
35001 (build-shlib, build-moduile, build-module-asneeded): Use it.
35002 ($(common-objpfx)libc.so): Use $(shlib-lds).
35003 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35004 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35005
31fffa6b
RM
35006 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35007 DT_FLAGS/DT_FLAGS_1 with zero flags.
35008
4e34ac6a
RM
35009 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35010 linker script munging.
35011
fcfc776b
UD
350122011-07-02 Ulrich Drepper <drepper@gmail.com>
35013
35014 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35015 as 128-bit value.
35016 * crypt/sha512.c (sha512_process_block): Perform total addition using
35017 128-bit if possible.
35018 (__sha512_finish_ctx): Likewise.
35019 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35020 as 64-bit value.
35021 * crypt/sha256.c (SWAP64): Define.
35022 (sha256_process_block): Perform total addition using 64-bit if
35023 possible.
35024 (__sha256_finish_ctx): Likewise.
35025
99231d9a
UD
350262011-07-01 Ulrich Drepper <drepper@gmail.com>
35027
35028 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35029 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35030 * nscd/hstcache.c (cache_addhst): Likewise.
35031 * nscd/grpcache.c (cache_addgr): Likewise.
35032 * nscd/aicache.c (addhstaiX): Likewise
35033 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35034
445b4a53
TK
350352011-07-01 Thorsten Kukuk <kukuk@suse.de>
35036
35037 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35038 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35039 * nscd/hstcache.c (cache_addhst): Likewise.
35040 * nscd/grpcache.c (cache_addgr): Likewise.
35041 * nscd/aicache.c (addhstaiX): Likewise
35042
6d4d8e8e
AS
350432011-07-01 Andreas Schwab <schwab@redhat.com>
35044
35045 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35046 domain only when needed.
35047
89f654c5
AS
350482011-06-30 Andreas Schwab <schwab@redhat.com>
35049
35050 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35051 is always restored.
35052
cf3b23ff
UD
350532011-06-29 Ulrich Drepper <drepper@gmail.com>
35054
35055 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35056 are re-adding the entry.
35057 * nscd/servicescache.c (cache_addserv): Likewise.
35058
751626f9
AJ
350592011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35060
35061 * sysdeps/generic/dl-irel.h: fix protection against multiple
35062 inclusions.
35063 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35064
9113ea1f
UD
350652011-06-28 Ulrich Drepper <drepper@gmail.com>
35066
5c0b8d90
UD
35067 [BZ #12935]
35068 * malloc/memusage.sh: Fix quoting in message.
35069 * debug/xtrace.sh: Likewise.
35070
9113ea1f
UD
35071 * configure.in: Remove support for --experimental-malloc option, make
35072 it the default.
35073 * config.make.in: Likewise.
35074 * malloc/Makefile: Likewise.
35075
a4172181
AS
350762011-06-27 Andreas Schwab <schwab@redhat.com>
35077
35078 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35079 two-byte characters.
35080
78a7eee7
RM
350812011-06-27 Roland McGrath <roland@hack.frob.com>
35082
62bede13
RM
35083 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35084 AC_CACHE_CHECK invocation.
35085 * configure: Regenerated.
35086
78a7eee7
RM
35087 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35088
5ce33a62
UD
350892011-06-27 Ulrich Drepper <drepper@gmail.com>
35090
034807a9
UD
35091 [BZ #12350]
35092 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35093 bit from old_res_options.
35094
4902da17
UD
35095 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35096
5ce33a62
UD
35097 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35098 value type for setfct.
35099
c2344f56
L
351002011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35101
35102 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35103 __gettimeofday instead of gettimeofday.
35104
68468076
UD
351052011-06-26 Ulrich Drepper <drepper@gmail.com>
35106
35107 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35108
acb0d739
L
351092011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35110
35111 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35112
35113 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35114 info.
35115
8912479f
L
351162011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35117
35118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35119 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35120 strcpy-sse2-unaligned strncpy-sse2-unaligned
35121 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35122 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35123 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35124 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35125 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35126 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35127 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35128 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35129 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35130 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35131 (STRCPY): Support SSE2 and SSSE3 versions.
35132
d5495a11
UD
351332011-06-24 Ulrich Drepper <drepper@gmail.com>
35134
35135 [BZ #12874]
35136 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35137 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35138 kernels which artificially limit size of requests.
35139
0b1cbaae
L
351402011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35141
35142 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35143 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35144 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35145 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35146 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35147 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35148 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35149 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35150 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35151 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35152 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35153 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35154 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35155 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35156 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35157 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35158 Enable unaligned load optimization for Intel Core i3, i5 and i7
35159 processors.
35160 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35161 Define.
35162 (index_Fast_Unaligned_Load): Define.
35163 (HAS_FAST_UNALIGNED_LOAD): Define.
35164
07f494a0
MP
351652011-06-23 Marek Polacek <mpolacek@redhat.com>
35166
35167 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35168
fa3fc0fe
UD
351692011-06-22 Ulrich Drepper <drepper@gmail.com>
35170
35171 [BZ #12907]
35172 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35173 until it is clear that the information is realy needed.
35174 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35175
e12df166
AS
351762011-06-22 Andreas Schwab <schwab@redhat.com>
35177
35178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35179
852eb34d
UD
351802011-06-22 Ulrich Drepper <drepper@gmail.com>
35181
84e2a551
UD
35182 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35183 /sys/devices/system/cpu/online if it is usable.
35184
852eb34d
UD
35185 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35186 reading the information from the /proc filesystem to once a second.
35187
6e502e19
UD
351882011-06-21 Andreas Jaeger <aj@suse.de>
35189
35190 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35191 NULL after inclusion of kernel headers.
35192
75d39ff2
UD
351932011-06-21 Ulrich Drepper <drepper@gmail.com>
35194
51f9aa6a
UD
35195 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35196 calls to internal_setent.
35197
c0244a9d
UD
35198 [BZ #12885]
35199 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35200 addresses using gethostbyname4_r ignore IPv4 addresses.
35201
c5e3c2ae
UD
35202 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35203 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35204
75d39ff2
UD
35205 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35206
42675c6f
DM
352072011-06-20 David S. Miller <davem@davemloft.net>
35208
35209 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35210 inclusions.
35211 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35212
35213 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35214 (elf_irel): Use it.
35215 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35216 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35217 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35218 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35219 * sysdeps/x86_64/dl-irel.h: Likewise.
35220
35221 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35222 * elf/dl-sym.c: Likewise.
35223
57912a71
UD
352242011-06-15 Ulrich Drepper <drepper@gmail.com>
35225
35226 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35227 need to dereference resplen2.
35228
ee22793d
AS
352292011-06-14 Andreas Schwab <schwab@redhat.com>
35230
35231 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35232
a9e836b0
UD
352332011-06-15 Ulrich Drepper <drepper@gmail.com>
35234
77fb9117
UD
35235 * Makeconfig: Define vardbdir and inst_vardbdir.
35236 * nss/Makefile: Add rules to install db-Makefile.
35237
40c1b22c
UD
35238 * nss/nss_db/db-XXX.c: Cleanup.
35239
9f2da732
UD
35240 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35241 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35242 GLIBC_PRIVATE.
35243 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35244 * nss/makedb.c: Implement -g option to specify that value strings
35245 are generated and should not be added to table iterated over for
35246 get*ent calls.
35247 * nss/nss_db/db-initgroups.c: New file.
35248
82e9a1f7
UD
35249 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35250 interface.
35251
c41af17e
UD
35252 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35253 (internal_getgrouplist): Adjust to name change.
35254 Update use_initgroups_entry if this is not the first call.
35255 * nss/databases.def: Add initgroups entry.
35256
a9e836b0
UD
35257 * nss/makedb.c (compute_tables): Check result of multiple hash table
35258 sizes to minimize maximum chain length.
35259
2666d441
UD
352602011-06-14 Ulrich Drepper <drepper@gmail.com>
35261
35262 * Versions.def: Add entry for libnss_db.
35263 * shlib-versions: Likewise.
35264 * nss/Makefile: Add rules to build libnss_db.
35265 * nss/Versions: Add libnss_db information. Organize libnss_files
35266 entries better.
35267 * nss/db-Makefile: Add gshadow support. Change rules for the new
35268 makedb progra. Some minor improvements to generate smaller files.
35269 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35270 here from...
35271 * nss/makedb.c: ...here.
35272 Improve database format to be smaller and require less memory at
35273 runtime.
35274 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35275 db anymore.
35276 * nss/nss_db/db-netgrp.c: Likewise.
35277 * nss/nss_db/db-open.c: Likewise.
35278 * nss/nss_files/flies-XXX.x: Adjust comments.
35279 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35280 * nss/nss_files/files-grp.c: Likewise.
35281 * nss/nss_files/files-hosts.c: Likewise.
35282 * nss/nss_files/files-network.c: Likewise.
35283 * nss/nss_files/files-proto.c: Likewise.
35284 * nss/nss_files/files-pwd.c: Likewise.
35285 * nss/nss_files/files-rpc.c: Likewise.
35286 * nss/nss_files/files-service.c: Likewise.
35287 * nss/nss_files/files-sgrp.c: Likewise.
35288 * nss/nss_files/files-spwd.c: Likewise.
35289 * nss/nss_db/db-alias.c: Removed.
35290 * nss/nss_db/dummy-db.h: Removed.
35291
9ee76b5a
UD
352922011-06-02 Ulrich Drepper <drepper@gmail.com>
35293
35294 * nss/makedb.c: Rewritten to not use database library.
35295 * nss/Makefile: Update to build new makedb program.
35296
c71ca1f8
AJ
352972011-06-14 Andreas Jaeger <aj@suse.de>
35298
35299 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35300 memset declaration.
35301
3154bfb8
UD
353022011-06-10 Andreas Schwab <schwab@redhat.com>
35303
35304 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35305 tmpbuf.
35306
b350afab
RM
353072011-06-10 Roland McGrath <roland@hack.frob.com>
35308
decd4e50
RM
35309 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35310 * elf/Makefile ($(objpfx)ld.so): Likewise.
35311
5615eaf2
RM
35312 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35313 Don't list ld.so twice in dependencies.
35314
35315 * posix/bug-regex31.c: Include <stdlib.h>.
35316
35317 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35318
35319 * nis/nss_compat/compat-spwd.c
35320 (getspent_next_nss_netgr): Remove unused variable.
35321 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35322
35323 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35324 nonmembers" output to use the right array.
35325
35326 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35327
35328 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35329
35330 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35331 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35332 * catgets/gencat.c (read_input_file): Likewise.
35333 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35334
35335 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35336 variable definition inside #if's controlling its use.
35337
35338 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35339
35340 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35341
35342 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35343
35344 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35345 unreachable code.
35346
35347 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35348
b68e08db
RM
35349 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35350 * configure: Regenerated.
35351
b350afab
RM
35352 * Makerules: Revert last change.
35353 * elf/Makefile: Likewise.
35354
28368601
RM
353552011-06-09 Roland McGrath <roland@hack.frob.com>
35356
35357 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35358 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35359 (reloc-link): Likewise.
35360
11988f8f
UD
353612011-06-09 Ulrich Drepper <drepper@gmail.com>
35362
35363 * elf/Makefile: Add rules to build pldd.
35364 * elf/pldd.c: New file.
35365 * elf/pldd-xx.c: New file.
35366
e80fab37
UD
353672011-06-07 Ulrich Drepper <drepper@gmail.com>
35368
35369 * version.h: Update for 2.15 development version.
35370
9b849836
DM
353712011-06-07 David S. Miller <davem@davemloft.net>
35372
35373 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35374 ifuncs.
35375 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35376 elf_machine_lazy_rel): Likewise.
35377 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35378 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35379 elf_machine_lazy_rel): Likewise.
35380 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35381 dl_hwcap via passed in argument.
35382 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35383 Likewise.
35384
5a31b283
AK
353852011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35386
35387 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35388
069e52f8
RM
353892011-06-06 Roland McGrath <roland@hack.frob.com>
35390
35391 [BZ #12849]
35392 * manual/fdl-1.1.texi: New file, verbatim from:
35393 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35394 * manual/lgpl-2.1.texi: New file, verbatim from:
35395 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35396 * manual/Makefile (licenses): New variable, list those new file names.
35397 (texis): Use it.
35398 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35399
35400 * manual/fdl.texi: File removed.
35401 * manual/lesser.texi: File removed.
35402 * manual/libc.texinfo (Copying, Documentation License):
35403 Use new @include file names, put @appendix directive before @include.
35404
f16846a5
JJ
354052011-06-04 Jakub Jelinek <jakub@redhat.com>
35406
35407 [BZ #12841]
35408 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35409 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35410 (mq_open): Add __NTH.
35411
3d29045b
L
354122011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35413
35414 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35415 Assume Intel Core i3/i5/i7 processor if AVX is available.
35416
8c297311
UD
354172011-05-31 Ulrich Drepper <drepper@gmail.com>
35418
35419 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35420 typo.
35421
c8fc0c91
UD
354222011-05-31 Andreas Schwab <schwab@redhat.com>
35423
35424 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35425 memory. Use alloca_account. Fix memory leak when retrying.
35426
5b27a807
UD
354272011-05-31 Ulrich Drepper <drepper@gmail.com>
35428
356f8bc6
UD
35429 * version.h (RELEASE): Bump for 2.14 release.
35430 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35431
5b27a807
UD
35432 * config.make.in (RANLIB): Remove entry.
35433
01f16ab0
UD
354342011-05-30 Ulrich Drepper <drepper@gmail.com>
35435
41fce8bd
UD
35436 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35437 (libc.pot): Work around missing support for .ksh extension in xgettext.
35438
4769ae77
UD
35439 [BZ #12684]
35440 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35441 if both request failed.
35442 (send_dg): In case of server errors clear resplen or *resplen2.
35443
6b1e7d19
UD
35444 [BZ #12454]
35445 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35446 when there are multiple maps.
35447 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35448 (_dl_fini): Remove test here.
35449
01f16ab0
UD
35450 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35451
b1ebd700
UD
354522011-05-29 Ulrich Drepper <drepper@gmail.com>
35453
7ae22829
UD
35454 [BZ #12350]
35455 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35456 bit from old_res_options.
35457 (gaih_inet): Likewise.
35458
553149f6 35459 [BZ #11099]
18a84741 35460 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
35461 as signed.
35462
652ffab1
UD
35463 * resolv/res_init.c (res_setoptions): Make the code more compact.
35464
16985fd0
UD
35465 [BZ #11558]
35466 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35467 set RES_USEVC.
35468
0464f746
UD
35469 [BZ #11634]
35470 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35471
7d17596c
UD
35472 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35473
cf6bbbd7
UD
35474 [BZ #11781]
35475 * malloc/malloc.h: Declare malloc hook variables as volatile.
35476
13f1ab36
UD
35477 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35478 in last patch.
35479
b1ebd700
UD
35480 [BZ #11799]
35481 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 35482 raise in the comment.
80e2212d
UD
35483 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35484 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35485 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 35486
ce67228d
UD
354872011-05-28 Ulrich Drepper <drepper@gmail.com>
35488
8887a920
UD
35489 [BZ #12811]
35490 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35491 grow the buffers more if it already has to be sufficient.
35492 (build_wcs_upper_buffer): Likewise.
35493 * posix/regexec.c (check_matching): Likewise.
35494 (clean_state_log_if_needed): Likewise.
35495 (extend_buffers): Don't enlarge buffers beyond size of the input
35496 buffer.
35497 Patches mostly by Emil Wojak <emil@wojak.eu>.
35498 * posix/bug-regex32.c: New file.
35499 * posix/Makefile (tests): Add bug-regex32.
35500
4f031072
UD
35501 * locale/findlocale.c (_nl_find_locale): Return right away if
35502 _nl_explode_name failed.
35503 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35504
d0478f0c
UD
35505 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35506
de81b246
UD
35507 * debug/xtrace.sh: Unify messages.
35508 * malloc/memusage.sh: Likewise.
35509
c738465a
UD
35510 [BZ #12813]
35511 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35512 time symbol from vDSO. Substitute with vsyscall if not available.
35513 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35514 __vdso_time.
35515
f1f929d7
UD
35516 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35517 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35518 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35519 Add sendmmsg and internal_sendmmsg.
35520 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35521 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35522 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35523
ce67228d
UD
35524 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35525 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35526 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35527
e57420c6
UD
355282011-05-27 Ulrich Drepper <drepper@gmail.com>
35529
a8509ca5
UD
35530 [BZ #12813]
35531 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35532 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35533 available.
35534 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35535 __vdso_getcpu.
35536
e57420c6
UD
35537 [BZ #12814]
35538 * iconvdata/Makefile (tests): Add bug-iconv9.
35539 * iconvdata/bug-iconv9.c: New file.
35540
4d07db15
AS
355412011-05-27 Andreas Schwab <schwab@redhat.com>
35542
35543 [BZ #12814]
35544 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35545
ea486f69
JJ
355462011-05-25 Jakub Jelinek <jakub@redhat.com>
35547
35548 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35549 (struct user_regs_struct): Change intcs field back to cs.
35550
6f038433
UD
355512011-05-25 Ulrich Drepper <drepper@gmail.com>
35552
35553 * po/ja.po: Update from translation team.
35554
67f86a25
UD
355552011-05-23 Ulrich Drepper <drepper@gmail.com>
35556
35557 [BZ #12795]
35558 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35559 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35560
def7fbd6
AS
355612011-05-20 Andreas Schwab <schwab@redhat.com>
35562
35563 * stdlib/longlong.h: Update from GCC.
35564
f50ef8f1
AS
355652011-05-23 Andreas Schwab <schwab@redhat.com>
35566
35567 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35568 parameter name.
35569 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35570 Add parameter name.
35571 (__sysconf): Pass it down.
35572
de7ce8f1
UD
355732011-05-22 Ulrich Drepper <drepper@gmail.com>
35574
f2962a71
UD
35575 [BZ #12671]
35576 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35577 some situations.
35578 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35579 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35580 add in in __libc_use_alloca calls. Adjust callers.
35581 (glob): Use malloc in some situations.
35582
de7ce8f1
UD
35583 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35584 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35585 pltexit.
35586
aec84f53
UD
355872011-05-21 Ulrich Drepper <drepper@gmail.com>
35588
05bb4a68
UD
35589 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35590 and CLOCK_BOOTTIME_ALARM.
35591
7ea72f99
UD
35592 [BZ #12782]
35593 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35594 is returned.
35595
7e4afad5
UD
35596 * string/_strerror.c (__strerror_r): Print negative errors as signed
35597 numbers.
35598
8e211fec
UD
35599 [BZ #12777]
35600 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35601 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35602 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35603
f7d82dc9
UD
35604 * configure.in: Fix typo in redirection and correct removal of test
35605 files in two cases.
35606
cc9e536d
UD
35607 [BZ #12788]
35608 * locale/setlocale.c (new_composite_name): Fix test to check for
35609 identical name of all categories.
35610
aec84f53
UD
35611 [BZ #12792]
35612 * libio/filedoalloc.c (local_isatty): New function.
35613 (_IO_file_doallocate): Use local_isatty.
35614 * stdio-common/perror.c (perror): In case a new stream is used
35615 forward the stream error.
35616 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35617 error flag.
35618
78e64fdc
RT
356192011-05-20 Ulrich Drepper <drepper@gmail.com>
35620
34a9094f
UD
35621 [BZ #11869]
35622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35623 alloca.
35624 * include/alloca.h (extend_alloca_account): Define.
35625
78e64fdc
RT
35626 [BZ #11857]
35627 * posix/regex.h: Fix comments with documentation of user-accessible
35628 fields after compilation and describe correct free'ing of pattern
35629 after re_compile_pattern.
35630 Patch by Reuben Thomas <rrt@sc3d.org>.
35631
457bddfc
RA
356322011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35633
35634 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35635 and -mno-altivec to prevent the compiler from using Altivec and/or
35636 VSX instructions when the corresponding registers are not available.
35637
a4527b51
AS
356382011-05-19 Andreas Schwab <schwab@redhat.com>
35639
35640 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35641
ed690b2f
UD
356422011-05-19 Ulrich Drepper <drepper@gmail.com>
35643
35644 * libio/freopen.c (freopen): Use __dup2, not dup2.
35645 * libio/freopen64.c (freopen64): Likewise.
35646
8db73634
L
356472011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35648
35649 [BZ #12775]
35650 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35651 * math/Makefile (tests): Add test-powl.
35652 (CFLAGS-test-powl.c): Define.
35653 * math/test-powl.c: New file.
35654
0a197a9d
L
356552011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35656
35657 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35658
ee30c380
UD
356592011-05-17 Ulrich Drepper <drepper@gmail.com>
35660
35661 [BZ #11837]
35662 * iconvdata/gb18030.c: Update to GB18020-2005.
35663
6ce75379
UD
356642011-05-16 Ulrich Drepper <drepper@gmail.com>
35665
a4b89fd8
AR
35666 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35667 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35668 Patch by Aharon Robbins <arnold@skeeve.com>.
35669
ea389b12
UD
35670 [BZ #11892]
35671 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35672 on the stack.
35673
68a3f91f
UD
35674 [BZ #11895]
35675 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35676 through underflows.
35677
15cc7dd1
UD
35678 [BZ #12766]
35679 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35680 point to strings before performing equality test for error_one_per_line
35681 mode.
35682
f3799213
UD
35683 [BZ #11697]
35684 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35685
d79a9c94
UD
35686 [BZ #11820]
35687 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35688 (struct user_fpregs_struct): Avoid __uint*_t types.
35689
56e5eb46
UD
35690 [BZ #6420]
35691 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35692 symbol info. Use it instead of calling _dl_addr locally.
35693 (lock_and_info): New function.
35694 (tr_freehook): Call lock_and_info and pass symbol info as additional
35695 parameter to tr_where.
35696 (tr_mallochook): Likewise.
35697 (tr_reallochook): Likewise.
35698 (tr_memalignhook): Likewise.
35699
6ce75379
UD
35700 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35701 used and couldn't be at all thread-safe.
35702
f8a3b5bf
UD
357032011-05-15 Ulrich Drepper <drepper@gmail.com>
35704
94b7cc37
UD
35705 * libio/freopen.c (freopen): Don't close old file descriptor
35706 before the new one is opened. Instead dup the new file descriptor
35707 to the old one after the new stream is created.
35708 * libio/freopen64.c (freopen64): Likewise.
35709 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35710 * libio/fileops.c (_IO_new_file_close_it): Handle new
35711 _IO_FLAGS2_NOCLOSE flag.
35712 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35713 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35714 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35715 _IO_FLAGS2_NOCLOSE flag.
35716 * include/unistd.h: Add hidden_proto for dup3.
35717 Define __have_dup3.
35718 * io/dup3.c: Define hidden symbol.
35719 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35720
bd25564e
UD
35721 [BZ #7101]
35722 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35723 when an incomplete long option is used.
35724 * posix/tst-getopt_long1.c: New file.
35725 * posix/Makefile (tests): Add tst-getopt_long1.
35726
c84cfef4
UD
35727 [BZ #10138]
35728 * scripts/config.guess: Update from autoconf-2.68.
35729 * scripts/config.sub: Likewise.
35730
3b85df27
UD
35731 [BZ #10157]
35732 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35733 tests into ...
35734 (has_cpuclock): ...this. New function.
35735 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35736 macro here based on has_cpuclock code.
35737
15a856b1
UD
35738 [BZ #10149]
35739 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35740 First byte (not low byte) is now always NUL.
35741 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35742
05f399e6
UD
35743 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35744 Use non-cancelable interfaces.
35745
10a52685 35746 [BZ #9809]
94ecc67d
UD
35747 * locale/iso-639.def: Add entry for Sorani.
35748
f8a3b5bf
UD
35749 [BZ #11901]
35750 * include/stdlib.h: Move include protection to the right place.
35751 Define abort_msg_s. Declare __abort_msg with it.
35752 * stdlib/abort.c (__abort_msg): Adjust type.
35753 * assert/assert.c (__assert_fail_base): New function. Majority
35754 of code from __assert_fail. Allocate memory for __abort_msg with
35755 mmap.
35756 (__assert_fail): Now call __assert_fail_base.
35757 * assert/assert-perr.c: Remove bulk of implementation. Use
35758 __assert_fail_base.
35759 * include/assert.hL Declare __assert_fail_base.
35760 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35761 mmap.
35762 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35763
1af4e298
UD
357642011-05-14 Ulrich Drepper <drepper@gmail.com>
35765
f8a3b5bf 35766 [BZ #11952]
d26dfc60
MG
35767 [BZ #12453]
35768 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35769 until all modules are registered in the DTV.
35770 * elf/Makefile: Add rules to build and run tst-tls19.
35771 * elf/tst-tls19.c: New file.
35772 * elf/tst-tls19mod1.c: New file.
35773 * elf/tst-tls19mod2.c: New file.
35774 * elf/tst-tls19mod3.c: New file.
35775 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35776
2fc54d6f
UD
35777 [BZ #12083]
35778 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35779 correctly.
35780
98d76b46
UD
35781 [BZ #12601]
35782 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35783 two-byte sequence errors.
35784 * iconvdata/Makefile (tests): Add bug-iconv8.
35785 * iconvdata/bug-iconv8.c: New file.
35786
da3c19ef
UD
35787 [BZ #12626]
35788 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35789 buf2 definition.
35790
ca408c15
UD
35791 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35792
d6f67f7d
UD
35793 [BZ #12432]
35794 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35795 (dummy_getcfa): New function.
35796 (init): Get _Unwind_GetCFA address, use dummy if not found.
35797 (backtrace_helper): In recursion check, also check whether CFA changes.
35798 (__backtrace): Completely initialize arg.
35799
1af4e298 35800 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
35801 storing incomplete byte sequence in state object. Avoid testing for
35802 guaranteed too small input if we know there is enough data available.
1af4e298 35803
da62f81b
AS
358042011-05-11 Andreas Schwab <schwab@redhat.com>
35805
35806 * Makeconfig (+link-pie): Indent.
35807 * Rules (binaries-pie): Define if $(have-fpie) and
35808 $(build-shared).
35809 (binaries-shared): Also filter out $(binaries-pie).
35810 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35811 * nscd/Makefile (others-pie): Add nscd.
35812 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35813 ($(objpfx)nscd): Remove command override.
35814 * login/Makefile (others-pie): Add pt_chown.
35815 ($(objpfx)pt_chown): Remove command override.
35816 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35817 remove command overrides.
35818
fcabc0f8
UD
358192011-05-13 Ulrich Drepper <drepper@gmail.com>
35820
20030ae6
UD
35821 * libio/tst_putwc.c: Fix error messages.
35822
fcabc0f8
UD
35823 [BZ #12724]
35824 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35825 currently writing and seek to current position when not.
35826 * libio/Makefile (tests): Add bug-fclose1.
35827 * libio/bug-fclose1.c: New file.
35828
320a5dc0
PB
358292011-05-12 Ulrich Drepper <drepper@gmail.com>
35830
35831 [BZ #12511]
35832 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35833 don't set DF_1_NODELETE here.
35834 (do_lookup_x): When entering new entry test for copy relocation
35835 and if necessary set DF_1_NODELETE flag.
35836 * elf/tst-unique4.cc: New file.
35837 * elf/tst-unique4.h: New file.
35838 * elf/tst-unique4lib.cc: New file.
35839 * elf/Makefile: Add rules to build and run tst-unique4.
35840 Patch by Piotr Bury <pbury@goahead.com>.
35841
22836f52
UD
358422011-05-11 Ulrich Drepper <drepper@gmail.com>
35843
f574184a
UD
35844 [BZ #12052]
35845 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35846
e1fb097f
UD
35847 [BZ #12625]
35848 * misc/mntent_r.c (addmntent): Flush the stream after the output
35849
22836f52
UD
35850 [BZ #12393]
35851 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35852 (is_trusted_path_normalize): Skip initial colon. Append slash
35853 to empty buffer. Duplicate is_trusted_path code but allow
35854 constructed patch to be prefix.
35855 (is_dst): Allow $ORIGIN followed by /.
35856 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35857 Correct testing of result of is_trusted_path_normalize
35858 (decompose_rpath): Fix warning.
35859
7b3b0b2a
UD
358602011-05-10 Ulrich Drepper <drepper@gmail.com>
35861
35862 [BZ #11257]
35863 * grp/initgroups.c (internal_getgrouplist): When we found the service
35864 list through the initgroups entry in nsswitch.conf do not always
35865 continue on a successful lookup. Don't always use the
eac80ce2 35866 __nss_group_database value if it is set.
7b3b0b2a
UD
35867 * nss/nsswitch.conf (initgroups): Change action for successful db
35868 lookup to continue for compatibility.
35869
2a81eaa5
UD
358702011-05-09 Ulrich Drepper <drepper@gmail.com>
35871
be97a69e
UD
35872 [BZ #11532]
35873 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35874 and CP774 modules.
35875 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35876 and CP774 modules.
35877 * iconvdata/tst-tables.sh: Likewise.
35878 * iconvdata/cp770.c: New file.
35879 * iconvdata/cp771.c: New file.
35880 * iconvdata/cp772.c: New file.
35881 * iconvdata/cp773.c: New file.
35882 * iconvdata/cp774.c: New file.
35883 * iconvdata/testdata/CP770: New file.
35884 * iconvdata/testdata/CP770..UTF8: New file.
35885 * iconvdata/testdata/CP771: New file.
35886 * iconvdata/testdata/CP771..UTF8: New file.
35887 * iconvdata/testdata/CP772: New file.
35888 * iconvdata/testdata/CP772..UTF8: New file.
35889 * iconvdata/testdata/CP773: New file.
35890 * iconvdata/testdata/CP773..UTF8: New file.
35891 * iconvdata/testdata/CP774: New file.
35892 * iconvdata/testdata/CP774..UTF8: New file.
35893
35894 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35895 END CHARMAP line.
35896 * iconvdata/gen-8bit-gap.sh: Likewise.
35897 * iconvdata/gen-8bit.sh: Likewise.
35898
c1e9e399
UD
35899 * locale/iso-639.def: Add ary entry.
35900
24c55fb3 35901 [BZ #11258]
96b4b1b0
UD
35902 * locale/C-translit.h.in: Add U20A1 transliteration.
35903
bdc2f971
KB
35904 [BZ #12178]
35905 * locale/iso-639.def: Add wae entry.
35906 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35907
2952b117
UD
35908 [BZ #12545]
35909 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35910 for n.
35911
2a81eaa5
UD
35912 [BZ #12711]
35913 * locale/C-translit.h.in: Add entry for U20B9.
35914 Patch by pravin.d.s@gmail.com.
35915
28377d1b
UD
359162011-05-08 Ulrich Drepper <drepper@gmail.com>
35917
7fb90fb8
UD
35918 [BZ #12713]
35919 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35920 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
35921 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35922 in rtld. Use *stat64.
7fb90fb8 35923 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 35924 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 35925 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
35926 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35927 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35928 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35929 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35930 __fstatat64 macros.
7fb90fb8
UD
35931 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35932 * dirent/rewinddir.c: Add libc_hidden_def.
35933 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 35934 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 35935
28377d1b
UD
35936 * include/dirent.h (__alloc_dir): Add flags parameter.
35937 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35938 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35939 __alloc_dir.
35940 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35941 from fdopendir if O_CLOEXEC is already set.
35942
66bdbaa4
AM
359432011-03-15 Alan Modra <amodra@gmail.com>
35944
35945 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35946 l_tls_firstbyte_offset non-zero. Save padding offset in
35947 l_tls_firstbyte_offset for later use.
35948 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35949 freeing static tls block.
35950
95721191
JN
359512011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35952
35953 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35954 where #ifdef was intended. The intent is to prevent ARG_MAX from
35955 being defined by the kernel headers.
35956
f87dfb1f
UD
359572011-05-07 Ulrich Drepper <drepper@gmail.com>
35958
35959 [BZ #12734]
35960 * resolv/resolv.h: Define RES_NOTLDQUERY.
35961 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35962 no-tld-query and set RES_NOTLDQUERY.
35963 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35964 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35965 modern BIND to search name as TLD unless forbidden.
35966
47c3cd7a
UD
359672011-05-07 Petr Baudis <pasky@suse.cz>
35968 Ulrich Drepper <drepper@gmail.com>
35969
35970 [BZ #12393]
35971 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35972 (is_trusted_path): ...to here.
c1e9ea35 35973 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 35974 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 35975 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 35976
8a35c912
PP
359772011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35978
35979 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35980 __BEGIN/__END_DECLS.
35981
acd41f47
UD
359822011-05-06 Ulrich Drepper <drepper@gmail.com>
35983
35984 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35985 NSS_STATUS_NOTFOUND if no record was found.
35986
597df647
AS
359872011-05-05 Andreas Schwab <schwab@redhat.com>
35988
35989 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35990 (headers-not-in-tirpc): Remove rpc/netdb.h
35991 * resolv/netdb.h: Revert last change.
35992
b9af1301
PP
359932011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35994
35995 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35996 circular dependency between libgcc.a and libc.a.
35997
4e34d5f5
AS
359982011-05-05 Andreas Schwab <schwab@redhat.com>
35999
36000 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36001 * nis/Makefile: Don't install rpcsvc/*.
36002 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36003 instead of <rpc/types.h>.
36004 (MAXHOSTNAMELEN): Define.
36005
00ee369c
AS
360062011-05-03 Andreas Schwab <schwab@redhat.com>
36007
36008 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36009
0b592a30
MB
360102011-04-28 Maciej Babinski <mbabinski@google.com>
36011
36012 [BZ #12714]
36013 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36014 gethostbyname4_r when IPv6 results are possible.
36015
6e04cbbe
UD
360162011-05-02 Ulrich Drepper <drepper@gmail.com>
36017
36018 [BZ #12723]
36019 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36020 _PC_PIPE_BUF handling.
36021
e4ecafe0
BH
360222011-04-30 Bruno Haible <bruno@clisp.org>
36023
36024 [BZ #12717]
36025 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36026 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36027 to 'int'.
36028 * inet/getnameinfo.c (getnameinfo): Likewise.
36029
125ee683
UD
360302011-04-29 Ulrich Drepper <drepper@gmail.com>
36031
36032 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36033 to groups setting in database lookup.
36034 * nss/nsswitch.conf: Add initgroups entry.
36035
b722481a
EB
360362011-04-22 Ulrich Drepper <drepper@gmail.com>
36037
36038 [BZ #12685]
36039 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36040 mode string.
36041 Patch by Eric Blake <eblake@redhat.com>.
36042
4df46dbd
L
360432011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36044
36045 * sunrpc/Makefile (need-export-routines): Add svc_run.
36046 (routines): Remove svc_run.
36047 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36048 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36049 * sunrpc/svc_run.c (svc_run): Likewise.
36050 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36051
e84142d2
UD
360522011-04-21 Ulrich Drepper <drepper@gmail.com>
36053
36054 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36055 problem in reallocation in last patch.
36056
877175d8
UD
360572011-04-20 Ulrich Drepper <drepper@gmail.com>
36058
36059 * sunrpc/Makefile: Move inclusion of Rules.
36060
ab8eed78
UD
360612011-04-19 Ulrich Drepper <drepper@gmail.com>
36062
36063 * nss/nss_files/files-initgroups.c: New file.
36064 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36065 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36066 _nss_files_initgroups_dyn.
36067
e3d8f584
RS
360682011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36069
36070 * elf/elf.h (R_ARM_IRELATIVE): Define.
36071
af190f45
UD
360722011-04-19 Ulrich Drepper <drepper@gmail.com>
36073
36074 * po/ru.po: Update from translation team.
36075
53cf59ef
UD
360762011-04-17 Ulrich Drepper <drepper@gmail.com>
36077
36078 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36079 dependencies.
36080
4c559bcd
MF
360812011-02-06 Mike Frysinger <vapier@gentoo.org>
36082
36083 [BZ #12653]
36084 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36085 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36086 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36087 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36088 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36089
4420675c
AS
360902011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36091
36092 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36093 differing bytes.
36094 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36095 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36096 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36097
75ea32ab
UD
360982011-04-17 Ulrich Drepper <drepper@gmail.com>
36099
36100 [BZ #12420]
36101 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36102 storing it.
36103 * stdlib/bug-getcontext.c: New file.
36104 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36105
27390476
AK
361062011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36107
36108 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36109 instructions into .machine "z9-109".
36110 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36111 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36112
10442705
AK
361132011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36114
36115 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36116 between environment variables and auxiliary vector.
36117
7b57bfe5
UD
361182011-04-16 Ulrich Drepper <drepper@gmail.com>
36119
36120 * Makefile: Add rules to build linkobj/libc.so.
36121 * include/libc-symbols.h: Define libc_hidden_nolink.
36122 * include/rpc/auth.h: Mark functions which are to be hidden.
36123 * include/rpc/auth_des.h: Likewise.
36124 * include/rpc/auth_unix.h: Likewise.
36125 * include/rpc/clnt.h: Likewise.
36126 * include/rpc/des_crypt.h: Likewise.
36127 * include/rpc/key_prot.h: Likewise.
36128 * include/rpc/pmap_clnt.h: Likewise.
36129 * include/rpc/pmap_prot.h: Likewise.
36130 * include/rpc/pmap_rmt.h: Likewise.
36131 * include/rpc/rpc_msg.h: Likewise.
36132 * include/rpc/svc.h: Likewise.
36133 * include/rpc/svc_auth.h: Likewise.
36134 * include/rpc/xdr.h: Likewise.
36135 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36136 * nss/Makefile: Likewise.
36137 * sunrpc/Makefile: Don't install headers. Build library with normal
36138 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36139 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36140 for the compat linking library. Remove use of INTDEF/INTUSE.
36141 * sunrpc/auth_none.c: Likewise.
36142 * sunrpc/auth_unix.c: Likewise.
36143 * sunrpc/authdes_prot.c: Likewise.
36144 * sunrpc/authuxprot.c: Likewise.
36145 * sunrpc/clnt_gen.c: Likewise.
36146 * sunrpc/clnt_perr.c: Likewise.
36147 * sunrpc/clnt_raw.c: Likewise.
36148 * sunrpc/clnt_simp.c: Likewise.
36149 * sunrpc/clnt_tcp.c: Likewise.
36150 * sunrpc/clnt_udp.c: Likewise.
36151 * sunrpc/clnt_unix.c: Likewise.
36152 * sunrpc/des_crypt.c: Likewise.
36153 * sunrpc/des_soft.c: Likewise.
36154 * sunrpc/get_myaddr.c: Likewise.
36155 * sunrpc/key_call.c: Likewise.
36156 * sunrpc/key_prot.c: Likewise.
36157 * sunrpc/netname.c: Likewise.
36158 * sunrpc/pm_getmaps.c: Likewise.
36159 * sunrpc/pm_getport.c: Likewise.
36160 * sunrpc/pmap_clnt.c: Likewise.
36161 * sunrpc/pmap_prot.c: Likewise.
36162 * sunrpc/pmap_prot2.c: Likewise.
36163 * sunrpc/pmap_rmt.c: Likewise.
36164 * sunrpc/publickey.c: Likewise.
36165 * sunrpc/rpc_cmsg.c: Likewise.
36166 * sunrpc/rpc_common.c: Likewise.
36167 * sunrpc/rpc_dtable.c: Likewise.
36168 * sunrpc/rpc_prot.c: Likewise.
36169 * sunrpc/rpc_thread.c: Likewise.
36170 * sunrpc/rtime.c: Likewise.
36171 * sunrpc/svc.c: Likewise.
36172 * sunrpc/svc_auth.c: Likewise.
36173 * sunrpc/svc_authux.c: Likewise.
36174 * sunrpc/svc_raw.c: Likewise.
36175 * sunrpc/svc_run.c: Likewise.
36176 * sunrpc/svc_simple.c: Likewise.
36177 * sunrpc/svc_tcp.c: Likewise.
36178 * sunrpc/svc_udp.c: Likewise.
36179 * sunrpc/svc_unix.c: Likewise.
36180 * sunrpc/svcauth_des.c: Likewise.
36181 * sunrpc/xcrypt.c: Likewise.
36182 * sunrpc/xdr.c: Likewise.
36183 * sunrpc/xdr_array.c: Likewise.
36184 * sunrpc/xdr_float.c: Likewise.
36185 * sunrpc/xdr_intXX_t.c: Likewise.
36186 * sunrpc/xdr_mem.c: Likewise.
36187 * sunrpc/xdr_rec.c: Likewise.
36188 * sunrpc/xdr_ref.c: Likewise.
36189 * sunrpc/xdr_sizeof.c: Likewise.
36190 * sunrpc/xdr_stdio.c: Likewise.
36191
e6c61494
UD
361922011-04-10 Ulrich Drepper <drepper@gmail.com>
36193
36194 [BZ #12650]
36195 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36196 * sysdeps/ia64/dl-tls.h: Likewise.
36197 * sysdeps/powerpc/dl-tls.h: Likewise.
36198 * sysdeps/s390/dl-tls.h: Likewise.
36199 * sysdeps/sh/dl-tls.h: Likewise.
36200 * sysdeps/sparc/dl-tls.h: Likewise.
36201 * sysdeps/x86_64/dl-tls.h: Likewise.
36202 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36203
34fe483e
AS
362042011-03-14 Andreas Schwab <schwab@redhat.com>
36205
36206 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36207 rpath element also skip the following colon.
36208 (expand_dynamic_string_token): Add is_path parameter and pass
36209 down to DL_DST_REQUIRED and _dl_dst_substitute.
36210 (decompose_rpath): Call expand_dynamic_string_token with
36211 non-zero is_path. Ignore empty rpaths.
36212 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36213 with zero is_path.
36214
f12a32e6
AS
362152011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36216
36217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36218 Make cancelable.
36219
38a7d692
UD
362202011-04-09 Ulrich Drepper <drepper@gmail.com>
36221
36222 [BZ #12655]
36223 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36224 Patch by Filipe David Manana <fdmanana@apache.org>.
36225
e451d22b
AS
362262011-04-07 Andreas Schwab <schwab@redhat.com>
36227
36228 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36229 Maintain aligned stack.
36230 (CHECK_RSP): Remove unused macro.
36231
dedc7c7b
UD
362322011-04-03 Ulrich Drepper <drepper@gmail.com>
36233
36234 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36235 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36236
94521213
UD
362372011-04-02 Ulrich Drepper <drepper@gmail.com>
36238
36239 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36240
8cb700c0 36241 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 36242
0354e355
L
362432011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36244
36245 [BZ #12518]
36246 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36247 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36248 * sysdeps/x86_64/memmove.c: New file.
36249 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36250 (memcpy): Renamed to ...
36251 (__new_memcpy): This.
36252 (memcpy): Provide GLIBC_2_14 memcpy.
36253 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36254 (memcpy): Provide GLIBC_2_2_5 memcpy.
36255
8593482f
UD
362562011-04-01 Ulrich Drepper <drepper@gmail.com>
36257
36258 [BZ #12631]
36259 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36260
81a5726b
AS
362612011-03-30 Andreas Schwab <schwab@redhat.com>
36262
36263 * misc/syncfs.c: New file.
36264 * misc/Makefile (routines): Add syncfs.
36265 * posix/unistd.h: Declare syncfs.
36266 * sysdeps/unix/syscalls.list: Add syncfs.
36267
00e5419f
AS
362682011-04-01 Andreas Schwab <schwab@redhat.com>
36269
36270 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36271 open_by_handle_at.
36272 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36273 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36274 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36275 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36276 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36277 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36278 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36279
748876bf
UD
362802011-04-01 Ulrich Drepper <drepper@gmail.com>
36281
658e451d
UD
36282 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36283 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36284 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36285 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36286 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36287 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36288 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36289
748876bf
UD
36290 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36291 sync_file_range.c with -fexceptions.
36292 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36293 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36294 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36295 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36296 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36297 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36298 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
36299 sync_file_range as cancellation point
36300 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36301 now a wrapper around __call_sync_file_range with cancellation handling.
36302 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36303 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36304 function name to __call_sync_file_range.
36305 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36306 Add call_sync_file_range.
748876bf 36307
6e63d5e1
AS
363082011-04-01 Andreas Schwab <schwab@redhat.com>
36309
36310 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 36311 bits/timex.h.
6e63d5e1 36312
46998f74
UD
363132011-04-01 Ulrich Drepper <drepper@gmail.com>
36314
4c1423ed
UD
36315 * iconv/iconv.h: Fix typo in comment.
36316 * io/fcntl.h: Likewise.
36317 * libio/stdio.h: Likewise.
36318 * posix/spawn.h: Likewise.
36319 * posix/unistd.h: Likewise.
36320 * stdlib/stdlib.h: Likewise.
36321 * time/time.h: Likewise.
36322 * wcsmbs/wchar.h: Likewise.
36323
158648c0
UD
36324 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36325 open_by_handle): Add.
36326 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36327 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36328 Augment a few comments.
36329 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36330 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36331 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36332 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36333 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36334 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36335 open_by_handle.
36336
46998f74
UD
36337 * io/fcntl.h (AT_EMPTY_PATH): Define.
36338
83fe108b
UD
363392011-03-30 Ulrich Drepper <drepper@gmail.com>
36340
36341 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36342 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36343 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36344 to...
36345 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
36346 * Versions.def: Add GLIBC_2.14.
36347 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36348 Export.
83fe108b 36349
bb242059
UD
363502011-03-22 Ulrich Drepper <drepper@gmail.com>
36351
36352 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36353 round counter.
36354 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36355
c97a1282
L
363562011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36357
36358 [BZ #12597]
36359 * string/test-strncmp.c (do_page_test): New function.
36360 (check2): Likewise.
36361 (test_main): Call check2.
36362 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36363
2a115601
UD
363642011-03-20 Ulrich Drepper <drepper@gmail.com>
36365
36366 [BZ #12587]
36367 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36368 Handle cache information in CPU leaf 4.
36369 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36370
8126d904
UD
363712011-03-18 Ulrich Drepper <drepper@gmail.com>
36372
042c49c6 36373 [BZ #12583]
8126d904
UD
36374 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36375 character representation.
36376 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36377
ccfe366e
RA
363782011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36379
36380 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36381 END(__isnan) to END(__isnanf) to match function entry point/label
36382 EALIGN(__isnanf,...).
36383
c6e13027
JJ
363842011-03-10 Jakub Jelinek <jakub@redhat.com>
36385
36386 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36387
33f85a3f
UD
363882011-03-10 Ulrich Drepper <drepper@gmail.com>
36389
028478fa
UD
36390 [BZ #12510]
36391 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36392 copy from the symbol referenced in the relocation to initialize the
36393 used variable.
36394 Patch by Piotr Bury <pbury@goahead.com>.
36395 * elf/Makefile: Add rules to build and tst-unique3.
36396 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36397 * elf/tst-unique3.cc: New file.
36398 * elf/tst-unique3.h: New file.
36399 * elf/tst-unique3lib.cc: New file.
36400 * elf/tst-unique3lib2.cc: New file.
36401
33f85a3f
UD
36402 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36403
03592fc7
MF
364042011-03-10 Mike Frysinger <vapier@gentoo.org>
36405
36406 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36407 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36408 to _start.
03592fc7 36409
6a5ee102
UD
364102011-03-06 Ulrich Drepper <drepper@gmail.com>
36411
36412 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36413 to-be-loaded object along a path to loader is ld.so.
36414
7e4ba49c
HJ
364152011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36416 Ulrich Drepper <drepper@gmail.com>
36417
36418 * sysdeps/x86_64/memset.S: After aligning destination, code
36419 branches to different locations depending on the value of
36420 misalignment, when multiarch is enabled. Fix this.
36421
364222011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36423
36424 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36425 Set _x86_64_preferred_memory_instruction for AMD processsors.
36426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36427 Set bit_Prefer_SSE_for_memop for AMD processors.
36428
13a804de
UD
364292011-03-04 Ulrich Drepper <drepper@gmail.com>
36430
36431 * libio/fmemopen.c (fmemopen): Optimize a bit.
36432
9d25c392
AS
364332011-03-03 Andreas Schwab <schwab@redhat.com>
36434
36435 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36436
a5543c6a
RM
364372011-03-03 Roland McGrath <roland@redhat.com>
36438
36439 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36440
012d35f7
DM
364412011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36442
7e4ba49c 36443 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
36444 __bzero_ultra1 instead of __memset_ultra1.
36445
4bff6e01
AS
364462011-02-23 Andreas Schwab <schwab@redhat.com>
36447 Ulrich Drepper <drepper@gmail.com>
36448
36449 [BZ #12509]
36450 * include/link.h (struct link_map): Add l_orig_initfini.
36451 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36452 returning unsuccessfully.
36453 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36454 close of a file loaded at startup, restore the original l_initfini
36455 list.
36456 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36457 list, store the pointer.
36458 * elf/Makefile ($(objpfx)noload-mem): New rule.
36459 (noload-ENV): Define.
36460 (tests): Add $(objpfx)noload-mem.
36461 * elf/noload.c: Include <memcheck.h>.
36462 (main): Call mtrace. Close all opened handles.
36463
f2092faf
AS
364642011-02-17 Andreas Schwab <schwab@redhat.com>
36465
36466 [BZ #12454]
36467 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36468 dependencies are missing.
36469
6c8a2e88
ST
364702011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36471
f2092faf 36472 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
36473 Hurd needs munmap.
36474 * sysdeps/mach/hurd/ifreq.h: New file.
36475
84a42118
PB
364762011-01-27 Petr Baudis <pasky@suse.cz>
36477 Ulrich Drepper <drepper@gmail.com>
36478
071f805e 36479 [BZ 12445]#
84a42118
PB
36480 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36481 to extend_alloca().
36482 * stdio-common/bug23.c: New file.
36483 * stdio-common/Makefile (tests): Add bug23.
36484
e23fe25b
AS
364852010-09-28 Andreas Schwab <schwab@redhat.com>
36486 Ulrich Drepper <drepper@gmail.com>
36487
36488 [BZ #12489]
36489 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36490 before performing relro protection. At old place add assertion
36491 to make sure nothing changed.
36492
d3f02e10
NS
364932011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36494 Glauber de Oliveira Costa <glommer@gmail.com>
36495
36496 * elf/elf.h: Add new ARM TLS relocs.
36497
d55fd7a5
RA
364982011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36499
36500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36501 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36502 cast from r3.
36503 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36504 'tests' variable.
36505 * sysdeps/wordsize-64/tst-writev.c: New file.
36506
2206397e
RA
365072011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36508
36509 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36510 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36511 insns in _dl_start to prevent a TOC reference before relocs are
36512 resolved.
36513
e9433893
UD
365142011-02-15 Ulrich Drepper <drepper@gmail.com>
36515
36516 [BZ #12469]
36517 * Makeconfig: Remove RANLIB definition.
36518 * Makerules: Don't use RANLIB.
36519 * aclocal.m4: Remove ranlib test.
36520 * configure.in: No need to check for ranlib.
36521 * elf/rtld-Rules: Don't use RANLIB.
36522
f75286c6
ST
365232011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36524
8e31c82d
ST
36525 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36526 protection macro.
36527 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36528 inclusion protection macro.
36529
f75286c6
ST
36530 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36531 SIGRTMIN and SIGRTMAX and print information in that case only when
36532 SIGRTMIN is defined.
36533
c1d0e639
JJ
365342011-02-11 Jakub Jelinek <jakub@redhat.com>
36535
36536 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36537 arginfo fn returning -1.
36538
36539 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36540 and thousands string is zero terminated.
36541
edf9294e
AS
365422011-02-03 Andreas Schwab <schwab@redhat.com>
36543
36544 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36545 sysdeps/unix/sysv/linux/bits/socket.h.
36546
2b7e92df
ST
365472011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36548
edf9294e
AS
36549 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36550 (__CPU_COUNT): Remove old macros.
36551 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36552 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36553 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
36554 (__sched_cpualloc, __sched_cpufree): Add declarations.
36555
a4c7ea7b
UD
365562011-02-05 Ulrich Drepper <drepper@gmail.com>
36557
36558 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36559 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36560 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36561 (readdhstai): Return value of addhstaiX call.
36562 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36563 (addgrbyX): Return value returned by cache_addgr.
36564 (readdgrbyname): Return value returned by addgrbyX.
36565 (readdgrbygid): Likewise.
36566 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36567 (addpwbyX): Return value returned by cache_addpw.
36568 (readdpwbyname): Return value returned by addhstbyX.
36569 (readdpwbyuid): Likewise.
36570 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36571 (addservbyX): Return value returned by cache_addserv.
36572 (readdservbyname): Return value returned by addservbyX:
36573 (readdservbyport): Likewise.
36574 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36575 (addhstbyX): Return value returned by cache_addhst.
36576 (readdhstbyname): Return value returned by addhstbyX.
36577 (readdhstbyaddr): Likewise.
36578 (readdhstbynamev6): Likewise.
36579 (readdhstbyaddrv6): Likewise.
36580 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36581 (readdinitgroups): Return value returned by addinitgroupsX.
36582 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36583 (prune_cache): Keep track of timeout value of re-added entries.
36584 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36585 * nscd/nscd.h: Adjust prototypes of readd* functions.
36586
a0bf67cc
RM
365872011-02-04 Roland McGrath <roland@redhat.com>
36588
36589 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36590 (nis_stats): Likewise.
36591 * nis/nis_modify.c (nis_modify): Likewise.
36592 * nis/nis_remove.c (nis_remove): Likewise.
36593 * nis/nis_add.c (nis_add): Likewise.
36594
36595 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36596
36597 * posix/fnmatch_loop.c: Add some consts.
36598
36599 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36600
435b95eb
L
366012011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36602
36603 [BZ #12460]
36604 * config.make.in (config-cflags-novzeroupper): Define.
36605 * configure.in: Substitute libc_cv_cc_novzeroupper.
36606 * elf/Makefile (AVX-CFLAGS): Define.
36607 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36608 (CFLAGS-tst-auditmod4a.c): Likewise.
36609 (CFLAGS-tst-auditmod4b.c): Likewise.
36610 (CFLAGS-tst-auditmod6b.c): Likewise.
36611 (CFLAGS-tst-auditmod6c.c): Likewise.
36612 (CFLAGS-tst-auditmod7b.c): Likewise.
36613 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36614
8517b15e
UD
366152011-02-02 Ulrich Drepper <drepper@gmail.com>
36616
36617 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36618 function to the callback.
36619 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36620
10a656fe
AS
366212011-02-02 Andreas Schwab <schwab@redhat.com>
36622
36623 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36624 of errno.
36625
968dad0a
UD
366262011-01-19 Ulrich Drepper <drepper@gmail.com>
36627
9f94d2ea 36628 [BZ #11724]
968dad0a
UD
36629 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36630 of constructors.
36631 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36632 of destructors.
36633 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36634
36635 [BZ #11724]
36636 * elf/Makefile: Add rules to build and run new test.
36637 * elf/tst-initorder.c: New file.
36638 * elf/tst-initorder.exp: New file.
36639 * elf/tst-initordera1.c: New file.
36640 * elf/tst-initordera2.c: New file.
36641 * elf/tst-initordera3.c: New file.
36642 * elf/tst-initordera4.c: New file.
36643 * elf/tst-initorderb1.c: New file.
36644 * elf/tst-initorderb2.c: New file.
36645 * elf/tst-order-a1.c: New file.
36646 * elf/tst-order-a2.c: New file.
36647 * elf/tst-order-a3.c: New file.
36648 * elf/tst-order-a4.c: New file.
36649 * elf/tst-order-b1.c: New file.
36650 * elf/tst-order-b2.c: New file.
36651 * elf/tst-order-main.c: New file.
36652 New test case by George Gensure <werkt0@gmail.com>.
36653
86e92359
UD
366542010-10-01 Andreas Schwab <schwab@redhat.com>
36655
36656 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36657 decoding ACE if AI_CANONIDN.
36658
5d5732b0
UD
366592011-01-18 Ulrich Drepper <drepper@gmail.com>
36660
36661 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36662
a77e8cbc
UD
366632011-01-17 Ulrich Drepper <drepper@gmail.com>
36664
6392473f
UD
36665 * version.h (RELEASE): Bump for 2.13 release.
36666 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36667
620a0529
UD
36668 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36669
18ba70a5
UD
36670 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36671 MADV_NOHUGEPAGE.
32465c3e
UD
36672 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36673 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36674 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36675 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36676 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36677 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36678
c0dafcf1
UD
36679 * posix/getconf.c: Update copyright year.
36680 * catgets/gencat.c: Likewise.
36681 * csu/version.c: Likewise.
36682 * debug/catchsegv.sh: Likewise.
36683 * debug/xtrace.sh: Likewise.
36684 * elf/ldconfig.c: Likewise.
36685 * elf/ldd.bash.in: Likewise.
36686 * elf/sprof.c (print_version): Likewise.
36687 * iconv/iconv_prog.c: Likewise.
36688 * iconv/iconvconfig.c: Likewise.
36689 * locale/programs/locale.c: Likewise.
36690 * locale/programs/localedef.c: Likewise.
36691 * malloc/memusage.sh: Likewise.
36692 * malloc/mtrace.pl: Likewise.
36693 * nscd/nscd.c (print_version): Likewise.
36694 * nss/getent.c: Likewise.
36695
a77e8cbc
UD
36696 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36697 PF_CAIF, and PF_ALG.
36698 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36699
77e8bddf
AS
367002011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36701
1f20b93a
AS
36702 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36703 (modules-names): Use them.
36704 (ifunc-test-modules, ifunc-pie-tests): Define.
36705 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36706 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36707 (test-extras): Likewise.
36708 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36709 $(compile-command.c).
36710 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36711 (all-built-dso): Define.
36712 (check-textrel.out, check-execstack.out): Depend on it.
36713
77e8bddf
AS
36714 * configure.in: Don't override --enable-multi-arch.
36715
bc425b33
UD
367162011-01-15 Ulrich Drepper <drepper@gmail.com>
36717
36718 [BZ #6812]
36719 * nscd/hstcache.c (tryagain): Define.
36720 (cache_addhst): Return tryagain not notfound for temporary errors.
36721 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36722 failed.
36723
794c3ad3
UD
367242011-01-14 Ulrich Drepper <drepper@gmail.com>
36725
70181fdd
UD
36726 [BZ #10563]
36727 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36728 to make the syscall.
36729 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36730
794c3ad3
UD
36731 [BZ #12378]
36732 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36733 and fall back to matching as normal character if the string ends before
36734 the matching ']' is found. This is what POSIX requires.
36735 * posix/testfnm.c: Adjust test result.
36736 * posix/globtest.sh: Adjust test result. Add new test.
36737 * posix/tst-fnmatch.input: Likewise.
36738 * posix/tst-fnmatch2.c: Add new test.
36739
68dc9497
AS
367402010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36741
36742 * elf/Makefile (check-execstack): Revert last change. Depend on
36743 check-execstack.h.
36744 (check-execstack.h): New target.
36745 (generated): Add check-execstack.h.
36746 * elf/check-execstack.c: Include "check-execstack.h".
36747 (main): Revert last change.
36748 (handle_file): Return zero if GNU_STACK is absent and
36749 DEFAULT_STACK_PERMS doesn't include PF_X.
36750
451f001b
UD
367512011-01-13 Ulrich Drepper <drepper@gmail.com>
36752
cfa28e56
UD
36753 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36754 in child fails because the descriptor is already closed.
8cf8ce17
UD
36755 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36756 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36757 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 36758
1086d70d
UD
36759 [BZ #12397]
36760 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36761 syscall.
36762
451f001b
UD
36763 [BZ #10484]
36764 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36765 temporary buffer used to handle multi lookups locally.
a85b5cb4 36766 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 36767
08769175
UD
367682011-01-12 Ulrich Drepper <drepper@gmail.com>
36769
36770 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36771 loader is ld.so.
36772
5e49c52e
UD
367732011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36774
36775 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36776 alignment for SSE2.
36777
60522a5f
UD
367782011-01-12 Ulrich Drepper <drepper@gmail.com>
36779
36780 [BZ #12394]
36781 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36782 characters. When rounding increased number of integer digits recompute
36783 number of groups.
36784 * stdio-common/tst-grouping.c: New file.
36785 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36786
f257bbd7
UD
367872011-01-09 Ulrich Drepper <drepper@gmail.com>
36788
36789 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36790 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36791
36792 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36793 void.
36794 * bits/select.h: Likewise.
36795
fa9c15cb
UD
367962011-01-08 Ulrich Drepper <drepper@gmail.com>
36797
36798 * po/ja.po: Update from translation team.
36799
16c2895f
DM
368002011-01-04 David S. Miller <davem@sunset.davemloft.net>
36801
36802 [BZ #11155]
36803 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36804 implementation just like for lxstat, fxstatat, et al.
36805
2543fef2
JM
368062010-12-27 Jim Meyering <meyering@redhat.com>
36807
36808 [BZ #12348]
36809 * posix/regexec.c (build_trtable): Return failure indication upon
36810 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36811
98727dbe
UD
368122010-12-25 Ulrich Drepper <drepper@gmail.com>
36813
5bd6dc5c
UD
36814 [BZ #12201]
36815 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36816 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36817 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36818 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36819
97983464
UD
36820 [BZ #12207]
36821 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36822
98727dbe
UD
36823 [BZ #12204]
36824 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36825 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36826
4a531bb0
L
368272010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36828
36829 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36830 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36831 script has SORT_BY_INIT_PRIORITY.
36832 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36833 NO_CTORS_DTORS_SECTIONS is defined.
36834 * elf/soinit.c: Likewise.
36835 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36836 NO_CTORS_DTORS_SECTIONS is defined.
36837 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36838 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36839 * sysdeps/sh/init-first.c: Likewise.
36840 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36841
07eb4b71
UD
368422010-12-24 Ulrich Drepper <drepper@gmail.com>
36843
36844 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36845 always use the slow path.
36846
30950a5f
RA
368472010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36848
36849 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36850 similar rule which adds the sysdep directories to the header search in
36851 order to pick up the correct platform stackinfo.h.
36852 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36853 perform test if it is, otherwise return successfully without testing.
36854 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36855 DEFAULT_STACK_PERMS define in stackinfo.h.
36856 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36857 defined in stackinfo.h.
36858 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36859 DEFAULT_STACK_PERMS defined in stackinfo.h.
36860 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36861 * sysdeps/ia64/stackinfo.h: Likewise.
36862 * sysdeps/s390/stackinfo.h: Likewise.
36863 * sysdeps/sh/stackinfo.h: Likewise.
36864 * sysdeps/sparc/stackinfo.h: Likewise.
36865 * sysdeps/x86_64/stackinfo.h: Likewise.
36866 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36867 PF_X for powerpc64. Retain PF_X for powerpc32.
36868
db753e2c
UD
368692010-12-19 Ulrich Drepper <drepper@gmail.com>
36870
14b697f7
UD
36871 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36872 accurately.
db753e2c
UD
36873 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36874 GETDENTS_64BIT_ALIGNED.
36875
28300719
UD
368762010-12-14 Ulrich Drepper <dreper@gmail.com>
36877
14b697f7 36878 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 36879
4f197237
AS
368802010-12-10 Andreas Schwab <schwab@redhat.com>
36881
dbb0472f
AS
36882 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36883 _GNU_SOURCE.
36884
4f197237
AS
36885 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36886 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36887 Remove __restrict.
36888 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36889 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36890
fb88ac72
UD
368912010-12-09 Ulrich Drepper <drepper@gmail.com>
36892
36893 [BZ #11655]
36894 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36895 are initialized.
36896
42acbb92
JJ
368972010-12-09 Jakub Jelinek <jakub@redhat.com>
36898
36899 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36900
c038d98d
UD
369012010-12-03 Ulrich Drepper <drepper@gmail.com>
36902
36903 * po/it.po: Update from translation team.
36904
3a4a2499
L
369052010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36906
36907 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36908 unused codes.
36909
1e24cf6e
UD
369102010-11-30 Ulrich Drepper <drepper@gmail.com>
36911
36912 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36913
a7690819
AS
369142010-11-24 Andreas Schwab <schwab@redhat.com>
36915
36916 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36917 specially.
36918 (gaih_getanswer_slice): Likewise.
36919
3bf8d1b1
JJ
369202010-10-20 Jakub Jelinek <jakub@redhat.com>
36921
36922 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36923
6db52fbb
PB
369242010-05-31 Petr Baudis <pasky@suse.cz>
36925
36926 [BZ #11149]
36927 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36928 silently even in the chroot mode.
36929
eaca7569
UD
369302010-11-22 Ulrich Drepper <drepper@gmail.com>
36931
36932 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36933 last patch a bit. Pretty printing
36934
3056dcdb
UD
369352010-05-31 Petr Baudis <pasky@suse.cz>
36936
36937 [BZ #10085]
36938 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36939 initialization of skip_initgroups_dyn.
36940
cf7c9078
UD
369412010-11-19 Ulrich Drepper <drepper@gmail.com>
36942
36943 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36944 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36945
a1fb5e3e
UD
369462010-11-16 Ulrich Drepper <drepper@gmail.com>
36947
36948 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36949
3540d66b
AS
369502010-11-11 Andreas Schwab <schwab@redhat.com>
36951
36952 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36953 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36954 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36955 ($(objpfx)tst-fnmatch-mem): New rule.
36956 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36957 * posix/tst-fnmatch.c (main): Call mtrace.
36958
13b69574
L
369592010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36960
36961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36962 Support Intel processor model 6 and model 0x2c.
36963
da93d214
LM
369642010-11-10 Luis Machado <luisgpm@br.ibm.com>
36965
36966 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36967 signed comparison.
36968
8ca52c6e
L
369692010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36970
36971 [BZ #12205]
36972 * string/test-strncasecmp.c (check_result): New function.
36973 (do_one_test): Use it.
36974 (check1): New function.
36975 (test_main): Use it.
36976 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36977 Support strcasecmp and strncasecmp.
36978
69da074d
UD
369792010-11-08 Ulrich Drepper <drepper@gmail.com>
36980
36981 [BZ #12194]
36982 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36983 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36984
ff02d528
L
369852010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36986
36987 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36988 IFUNC support.
36989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36990 memset-x86-64.
36991 * sysdeps/x86_64/multiarch/bzero.S: New file.
36992 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36993 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36994 * sysdeps/x86_64/multiarch/memset.S: New file.
36995 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36997 Set bit_Prefer_SSE_for_memop for Intel processors.
36998 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36999 Define.
37000 (index_Prefer_SSE_for_memop): Define.
37001 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37002
344d0b54
LM
370032010-11-04 Luis Machado <luisgpm@br.ibm.com>
37004
37005 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37006 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37007
c0dde15b
UD
370082010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37009
37010 [BZ #12191]
37011 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37012 (__x86_64_raw_data_cache_size_half): Likewise.
37013 (__x86_64_raw_shared_cache_size): Likewise.
37014 (__x86_64_raw_shared_cache_size_half): Likewise.
37015
37016 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37017 (__x86_64_raw_data_cache_size_half): Likewise.
37018 (__x86_64_raw_shared_cache_size): Likewise.
37019 (__x86_64_raw_shared_cache_size_half): Likewise.
37020 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37021 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37022 and __x86_64_raw_shared_cache_size_half. Round
37023 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37024 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37025 to multiple of 256 bytes.
37026
0e516e0e
MS
370272010-11-03 Ulrich Drepper <drepper@gmail.com>
37028
37029 [BZ #12167]
37030 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37031 of inacessible symlinks. Verify result of symlink before returning it.
37032 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37033 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37034
0e012e87
ER
370352010-10-28 Erich Ritz <erichritz@gmail.com>
37036
37037 * math/math.h (isinf): Fix typo in comment.
37038
de0ff7bc
UD
370392010-11-01 Ulrich Drepper <drepper@gmail.com>
37040
37041 * po/da.po: Update from translation team.
37042
fa41c84d
UD
370432010-10-26 Ulrich Drepper <drepper@gmail.com>
37044
37045 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37046 is added to the list.
37047
f0967738
AK
370482010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37049 Ulrich Drepper <drepper@gmail.com>
37050
37051 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37052 the global list here. Move code to...
37053 (_dl_add_to_namespace_list): ...here. New function.
37054 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37055 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37056 * elf/dl-load.c (lose): Don't remove the element from the list.
37057 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37058 (_dl_map_object): Likewise.
37059
370602010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
37061
37062 [BZ #12159]
37063 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37064 into all bytes of SSE register.
37065 Patch by Richard Li <richardpku@gmail.com>.
37066
f0967738 370672010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
37068
37069 [BZ #12140]
37070 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37071 perturbing.
37072
d0b9e94f
MB
370732010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37074
37075 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37076 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37077 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37078 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37080 submachine.
37081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37082
8e9f92e9
AS
370832010-10-22 Andreas Schwab <schwab@redhat.com>
37084
37085 * include/dlfcn.h (__RTLD_SECURE): Define.
37086 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37087 mode & __RTLD_SECURE instead.
37088 (open_path): Rename preloaded parameter to secure.
37089 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37090 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37091 * elf/dl-deps.c (openaux): Likewise.
37092 * elf/rtld.c (struct map_args): Remove is_preloaded.
37093 (map_doit): Don't use it.
37094 (dl_main): Likewise.
37095 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37096 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37097
bc96fbda
AS
370982010-09-09 Andreas Schwab <schwab@redhat.com>
37099
37100 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37101 (sysd-rules-targets): Remove duplicates.
37102 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37103 rtld-%.$o dependency.
37104
22cd1c9b
AS
371052010-10-18 Andreas Schwab <schwab@redhat.com>
37106
37107 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37108 _dl_map_object do it.
37109
18edac48
UD
371102010-10-19 Ulrich Drepper <drepper@gmail.com>
37111
37112 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37113 fast fma builtins, define the macros in the C99 standard.
37114 (FP_FAST_FMAF): Likewise.
37115 (FP_FAST_FMAL): Likewise.
37116 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37117
37118 * bits/mathdef.h: Update copyright year.
37119 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37120
d2050124
MM
371212010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37122
37123 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37124 builtins, define the macros in the C99 standard.
37125 (FP_FAST_FMAF): Likewise.
37126 (FP_FAST_FMAL): Likewise.
37127 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37128 multiply/add.
37129 (FP_FAST_FMAF): Likewise.
37130
475facd1
JJ
371312010-10-15 Jakub Jelinek <jakub@redhat.com>
37132
37133 [BZ #3268]
37134 * math/libm-test.inc (fma_test): Some new testcases.
37135 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37136 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37137 y and infinite z. Do multiplication by C already in long double.
37138 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37139 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37140 y and infinite z. Do bitwise or of inexact bit into u.d.
37141 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37142 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37143 * sysdeps/i386/fpu/s_fma.S: Removed.
37144 * sysdeps/i386/fpu/s_fmal.S: Removed.
37145
7c08a05c
JJ
371462010-10-16 Jakub Jelinek <jakub@redhat.com>
37147
37148 [BZ #3268]
37149 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37150 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37151 computation is not scheduled after fetestexcept. Fix value
37152 of minimum denormal long double.
37153
f3f7372d
JJ
371542010-10-14 Jakub Jelinek <jakub@redhat.com>
37155
37156 [BZ #3268]
37157 * math/libm-test.inc (fma_test): Add some more tests.
37158 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37159 correctly.
37160
14d43591
AS
371612010-10-15 Andreas Schwab <schwab@redhat.com>
37162
37163 * scripts/data/localplt-s390-linux-gnu.data: New file.
37164 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37165
5e908464
JJ
371662010-10-13 Jakub Jelinek <jakub@redhat.com>
37167
37168 [BZ #3268]
37169 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37170 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37171 instead of dbl-64.
37172 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37173 inlines.
37174 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37176 if one of x and y is very large and the other is subnormal.
37177 * sysdeps/s390/fpu/s_fmaf.c: New file.
37178 * sysdeps/s390/fpu/s_fma.c: New file.
37179 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37180 * sysdeps/powerpc/fpu/s_fma.S: New file.
37181 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37182 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37183 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37184
371852010-10-12 Jakub Jelinek <jakub@redhat.com>
37186
37187 [BZ #3268]
37188 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37189 fma tests.
37190 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37191 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37192 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37193 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37194 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37195 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37196 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37197
b833d51f
UD
371982010-10-12 Ulrich Drepper <drepper@redhat.com>
37199
37200 [BZ #12078]
37201 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37202 * posix/bug-regex31.input: Add test case.
37203
1751705d
UD
372042010-10-11 Ulrich Drepper <drepper@gmail.com>
37205
e9b9cbf5
UD
37206 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37207 * posix/bug-regex31.input: New file.
37208
37209 [BZ #12078]
37210 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37211 (parse_sub_exp): Fix last change, use postorder.
37212
ef06edbe
UD
37213 * posix/bug-regex31.c: New file.
37214 * posix/Makefile: Add rules to build and run bug-regex31.
37215
a129c80d
UD
37216 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37217
37218 [BZ #12078]
37219 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37220
b76b818e
UD
37221 [BZ #12108]
37222 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37223 to have entries in sys_siglist.
37224
1751705d
UD
37225 [BZ #12093]
37226 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37227 be NULL.
37228
9ff8d36f
JJ
372292010-10-07 Jakub Jelinek <jakub@redhat.com>
37230
37231 [BZ #3268]
37232 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37233 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37234 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37235 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37236 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37237 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37238 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37239 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37240 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37241 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37242 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37243 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37244 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37245 * math/ftestexcept.c (fetestexcept): Likewise.
37246 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37247 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37248 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37249 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37250 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37251 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37252 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37253
af325969
UD
372542010-10-11 Ulrich Drepper <drepper@gmail.com>
37255
c579b202 37256 [BZ #12107]
af325969
UD
37257 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37258 newline.
37259
67a67b95
UD
372602010-10-06 Ulrich Drepper <drepper@gmail.com>
37261
37262 * string/bug-strstr1.c: New file.
37263 * string/Makefile: Add rules to build and run bug-strstr1.
37264
5fb308bc
EB
372652010-10-05 Eric Blake <eblake@redhat.com>
37266
37267 [BZ #12092]
37268 * string/str-two-way.h (two_way_long_needle): Always clear memory
37269 when skipping input due to the shift table.
37270
45db99c7
UD
372712010-10-03 Ulrich Drepper <drepper@gmail.com>
37272
3b111893
UD
37273 [BZ #12005]
37274 * malloc/mcheck.c: Handle large requests.
37275
45db99c7
UD
37276 [BZ #12077]
37277 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37278 for strncmp and strncasecmp.
37279 * string/stratcliff.c: Add tests for strcmp and strncmp.
37280 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37281
cf7a1eb8
NI
372822010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37283
37284 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37285 __set_fpscr.
37286
6484ba5e
AJ
372872010-09-30 Andreas Jaeger <aj@suse.de>
37288
37289 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37290 (CGROUP_SUPER_MAGIC): Define.
37291 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37292 Handle btrfs and cgroup file systems.
37293 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37294 Likewise.
37295
91c42559
LM
372962010-09-27 Luis Machado <luisgpm@br.ibm.com>
37297
37298 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37299 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37300
87a97932
AK
373012010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37302
37303 [BZ #12067]
37304 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37305 trying to locate the ELF header.
37306
c21cc9bc
AS
373072010-09-27 Andreas Schwab <schwab@redhat.com>
37308
37309 [BZ #11611]
37310 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37311 Mask out sign-bit copies when constructing f_fsid.
37312
315970f6
PB
373132010-09-24 Petr Baudis <pasky@suse.cz>
37314
37315 * debug/stack_chk_fail_local.c: Add missing licence exception.
37316 * debug/warning-nop.c: Likewise.
37317
1ac7a2c7
JM
373182010-09-15 Joseph Myers <joseph@codesourcery.com>
37319
37320 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37321 implementing getdents64 using getdents syscall, set d_type if
37322 __ASSUME_GETDENTS32_D_TYPE.
37323
56801c50
AS
373242010-09-16 Andreas Schwab <schwab@redhat.com>
37325
37326 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37327 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37328
dda51327
UD
373292010-09-21 Ulrich Drepper <drepper@redhat.com>
37330
37331 [BZ #12037]
37332 * posix/unistd.h: Undo change of feature selection for ftruncate from
37333 2010-01-11.
37334
8ffcee4a
UD
373352010-09-20 Ulrich Drepper <drepper@redhat.com>
37336
a545ecd9 37337 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
37338 detection.
37339
e24f0a8b
AS
373402010-09-20 Andreas Schwab <schwab@redhat.com>
37341
37342 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37343 fanotify_mark.
37344 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37345
7291c56f
AS
373462010-09-14 Andreas Schwab <schwab@redhat.com>
37347
37348 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37349 variables after CHECK_SP call.
37350 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37351
bc5fb037
AS
373522010-09-13 Andreas Schwab <schwab@redhat.com>
37353 Ulrich Drepper <drepper@redhat.com>
37354
37355 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37356 re-relocationg ld.so.
37357 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37358 _dl_init_paths call.
37359 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37360 here anymore.
37361
e66e7419
UD
373622010-09-14 Ulrich Drepper <drepper@redhat.com>
37363
37364 * resolv/res_init.c (__res_vinit): Count the default server we added.
37365
c044aa75
CLT
373662010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37367 Ulrich Drepper <drepper@redhat.com>
37368
37369 [BZ #11968]
37370 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37371 (____longjmp_chk): Use %ebx for saving value across system call.
37372 Add unwind info.
37373
32cf4069
AS
373742010-09-06 Andreas Schwab <schwab@redhat.com>
37375
37376 * manual/Makefile: Don't mix pattern rules with normal rules.
37377
817328ee
AS
373782010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37379
37380 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37381 operation.
37382 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37383 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37384 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37385 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37386 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37387 Likewise.
37388
29fddf61
UD
373892010-09-04 Ulrich Drepper <drepper@redhat.com>
37390
37391 [BZ #11979]
37392 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37393 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37394
0959ffc9
UD
373952010-09-02 Ulrich Drepper <drepper@redhat.com>
37396
37397 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37398 * sysdeps/x86_64/addmul_1.S: Likewise.
37399 * sysdeps/x86_64/lshift.S: Likewise.
37400 * sysdeps/x86_64/mul_1.S: Likewise.
37401 * sysdeps/x86_64/rshift.S: Likewise.
37402 * sysdeps/x86_64/sub_n.S: Likewise.
37403 * sysdeps/x86_64/submul_1.S: Likewise.
37404
ece29840
ST
374052010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37406
0959ffc9
UD
37407 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37408 Define __sched_param instead of SCHED_* and sched_param when
ece29840 37409 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 37410 * bits/sched.h [__need_schedparam]
ece29840 37411 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
37412 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37413 (__defined_schedparam): Define to 1.
ece29840
ST
37414 (__sched_param): New structure, identical to sched_param.
37415 (__need_schedparam): Undefine.
37416
e53a31fe
MF
374172010-08-31 Mike Frysinger <vapier@gentoo.org>
37418
fdc0c10d
MF
37419 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37420 (epoll_create1): Declare.
37421
e53a31fe
MF
37422 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37423
a726d796
AS
374242010-08-31 Andreas Schwab <schwab@redhat.com>
37425
37426 [BZ #7066]
37427 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37428 shifting retval into place.
37429
2f3e3dc7
UD
374302010-09-01 Ulrich Drepper <drepper@redhat.com>
37431
f2933da9
UD
37432 * nis/rpcsvc/nis.h: Update copyright notice.
37433 * nis/rpcsvc/nis.x: Likewise.
37434 * nis/rpcsvc/nis_callback.h: Likewise.
37435 * nis/rpcsvc/nis_callback.x: Likewise.
37436 * nis/rpcsvc/nis_object.x: Likewise.
37437 * nis/rpcsvc/nis_tags.h: Likewise.
37438 * nis/rpcsvc/yp.h: Likewise.
37439 * nis/rpcsvc/yp.x: Likewise.
37440 * nis/rpcsvc/ypupd.h: Likewise.
37441 * nis/yp_xdr.c: Likewise.
37442 * nis/ypupdate_xdr.c: Likewise.
37443
2f3e3dc7
UD
37444 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37445 mainly the body of pmap_getport. Add parameters to specify timeouts.
37446 (pmap_getport): Use __libc_rpc_getport.
37447 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37448 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37449 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37450
f3dcc2f9
AS
374512010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37452
37453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37454 fanotify_mark.
37455
6d34eb5b
RM
374562010-08-27 Roland McGrath <roland@redhat.com>
37457
37458 * sysdeps/i386/i686/multiarch/Makefile
37459 (CFLAGS-varshift.c): New variable.
37460
9ea3de11
UD
374612010-08-27 Ulrich Drepper <drepper@redhat.com>
37462
c96d23fc
UD
37463 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37464 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37465
9ea3de11
UD
37466 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37467
37468 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37469
623aac7f
L
374702010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37471
37472 * sysdeps/x86_64/strlen.S: Unroll the loop.
37473 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37474 strlen-sse2 strlen-sse2-bsf.
37475 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37476 __strlen_no_bsf if bit_Slow_BSF is set.
37477 (__strlen_sse42): Removed.
37478 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37479 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37480
8b2b7715
RM
374812010-08-25 Roland McGrath <roland@redhat.com>
37482
37483 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37484 * sysdeps/x86_64/multiarch/varshift.c: New file.
37485 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37486 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37487 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37488 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37489
e73015f2
L
374902010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37491
37492 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37493 strlen-sse2 strlen-sse2-bsf.
37494 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37495 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37496 (__strlen_sse2): Removed.
37497 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37498 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37499 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37500 bit_Slow_BSF for Atom.
37501 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37502 (index_Slow_BSF): Define.
37503 (HAS_SLOW_BSF): Define.
37504
df24a73e
UD
375052010-08-25 Ulrich Drepper <drepper@redhat.com>
37506
37507 [BZ #10851]
37508 * resolv/res_init.c (__res_vinit): When no server address at all
37509 is given default to loopback.
37510
f2ac4868
RM
375112010-08-24 Roland McGrath <roland@redhat.com>
37512
09055553
RM
37513 * configure.in: Remove config-name.h generation.
37514 * configure: Regenerated.
37515 * config-name.in: File removed.
37516 * scripts/config-uname.sh: New file.
37517 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37518 ($(objdir)config-name.h): New target.
37519
f2ac4868
RM
37520 * sunrpc/rpc_parse.h: Avoid nested comment.
37521
73f27d5e
RH
375222010-08-24 Richard Henderson <rth@redhat.com>
37523 Ulrich Drepper <drepper@redhat.com>
37524 H.J. Lu <hongjiu.lu@intel.com>
37525
37526 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37527 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37528 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37529 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37530 _mm_alignr_epi8 with _mm_loadu_si128.
37531 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37532 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37533 (__m128i_shift_right): Removed.
37534 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37535 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37536 * sysdeps/x86_64/multiarch/varshift.h: New file.
37537 * sysdeps/x86_64/multiarch/varshift.S: New file.
37538
84b9230c
MF
375392010-08-21 Mike Frysinger <vapier@gentoo.org>
37540
37541 * configure.in: Move assembler checks to before sysdep dir checking.
37542
9bbd0ddc
PB
375432010-08-20 Petr Baudis <pasky@suse.cz>
37544
37545 * LICENSES: Sync the sunrpc license.
37546
9da4bb31
UD
375472010-08-19 Ulrich Drepper <drepper@redhat.com>
37548
a7ab6ec8
UD
37549 * sunrpc/auth_des.c: Update copyright notice once again.
37550 * sunrpc/auth_none.c: Likewise.
37551 * sunrpc/auth_unix.c: Likewise.
37552 * sunrpc/authdes_prot.c: Likewise.
37553 * sunrpc/authuxprot.c: Likewise.
37554 * sunrpc/bindrsvprt.c: Likewise.
37555 * sunrpc/clnt_gen.c: Likewise.
37556 * sunrpc/clnt_perr.c: Likewise.
37557 * sunrpc/clnt_raw.c: Likewise.
37558 * sunrpc/clnt_simp.c: Likewise.
37559 * sunrpc/clnt_tcp.c: Likewise.
37560 * sunrpc/clnt_udp.c: Likewise.
37561 * sunrpc/clnt_unix.c: Likewise.
37562 * sunrpc/des_crypt.c: Likewise.
37563 * sunrpc/des_soft.c: Likewise.
37564 * sunrpc/get_myaddr.c: Likewise.
37565 * sunrpc/getrpcport.c: Likewise.
37566 * sunrpc/key_call.c: Likewise.
37567 * sunrpc/key_prot.c: Likewise.
37568 * sunrpc/openchild.c: Likewise.
37569 * sunrpc/pm_getmaps.c: Likewise.
37570 * sunrpc/pm_getport.c: Likewise.
37571 * sunrpc/pmap_clnt.c: Likewise.
37572 * sunrpc/pmap_prot.c: Likewise.
37573 * sunrpc/pmap_prot2.c: Likewise.
37574 * sunrpc/pmap_rmt.c: Likewise.
37575 * sunrpc/rpc/auth.h: Likewise.
37576 * sunrpc/rpc/auth_unix.h: Likewise.
37577 * sunrpc/rpc/clnt.h: Likewise.
37578 * sunrpc/rpc/des_crypt.h: Likewise.
37579 * sunrpc/rpc/key_prot.h: Likewise.
37580 * sunrpc/rpc/netdb.h: Likewise.
37581 * sunrpc/rpc/pmap_clnt.h: Likewise.
37582 * sunrpc/rpc/pmap_prot.h: Likewise.
37583 * sunrpc/rpc/pmap_rmt.h: Likewise.
37584 * sunrpc/rpc/rpc.h: Likewise.
37585 * sunrpc/rpc/rpc_des.h: Likewise.
37586 * sunrpc/rpc/rpc_msg.h: Likewise.
37587 * sunrpc/rpc/svc.h: Likewise.
37588 * sunrpc/rpc/svc_auth.h: Likewise.
37589 * sunrpc/rpc/types.h: Likewise.
37590 * sunrpc/rpc/xdr.h: Likewise.
37591 * sunrpc/rpc_clntout.c: Likewise.
37592 * sunrpc/rpc_cmsg.c: Likewise.
37593 * sunrpc/rpc_common.c: Likewise.
37594 * sunrpc/rpc_cout.c: Likewise.
37595 * sunrpc/rpc_dtable.c: Likewise.
37596 * sunrpc/rpc_hout.c: Likewise.
37597 * sunrpc/rpc_main.c: Likewise.
37598 * sunrpc/rpc_parse.c: Likewise.
37599 * sunrpc/rpc_parse.h: Likewise.
37600 * sunrpc/rpc_prot.c: Likewise.
37601 * sunrpc/rpc_sample.c: Likewise.
37602 * sunrpc/rpc_scan.c: Likewise.
37603 * sunrpc/rpc_scan.h: Likewise.
37604 * sunrpc/rpc_svcout.c: Likewise.
37605 * sunrpc/rpc_tblout.c: Likewise.
37606 * sunrpc/rpc_util.c: Likewise.
37607 * sunrpc/rpc_util.h: Likewise.
37608 * sunrpc/rpcinfo.c: Likewise.
37609 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37610 * sunrpc/rpcsvc/key_prot.x: Likewise.
37611 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37612 * sunrpc/rpcsvc/mount.x: Likewise.
37613 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37614 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37615 * sunrpc/rpcsvc/rex.x: Likewise.
37616 * sunrpc/rpcsvc/rstat.x: Likewise.
37617 * sunrpc/rpcsvc/rusers.x: Likewise.
37618 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37619 * sunrpc/rpcsvc/spray.x: Likewise.
37620 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37621 * sunrpc/rtime.c: Likewise.
37622 * sunrpc/svc.c: Likewise.
37623 * sunrpc/svc_auth.c: Likewise.
37624 * sunrpc/svc_authux.c: Likewise.
37625 * sunrpc/svc_raw.c: Likewise.
37626 * sunrpc/svc_run.c: Likewise.
37627 * sunrpc/svc_simple.c: Likewise.
37628 * sunrpc/svc_tcp.c: Likewise.
37629 * sunrpc/svc_udp.c: Likewise.
37630 * sunrpc/svc_unix.c: Likewise.
37631 * sunrpc/svcauth_des.c: Likewise.
37632 * sunrpc/xcrypt.c: Likewise.
37633 * sunrpc/xdr.c: Likewise.
37634 * sunrpc/xdr_array.c: Likewise.
37635 * sunrpc/xdr_float.c: Likewise.
37636 * sunrpc/xdr_mem.c: Likewise.
37637 * sunrpc/xdr_rec.c: Likewise.
37638 * sunrpc/xdr_ref.c: Likewise.
37639 * sunrpc/xdr_sizeof.c: Likewise.
37640 * sunrpc/xdr_stdio.c: Likewise.
37641
9da4bb31
UD
37642 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37643 handling.
37644
bdaa77bc
AS
376452010-08-19 Andreas Schwab <schwab@redhat.com>
37646
37647 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37648
fe2f79db
LM
376492010-08-19 Luis Machado <luisgpm@br.ibm.com>
37650
37651 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37652 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37653 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37654 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37655 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37656 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37657 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37658 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37659 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37660 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37661 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37662 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37663 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37664 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37665
b9b42ee0
AB
376662010-07-26 Anton Blanchard <anton@samba.org>
37667
37668 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37669 * malloc/arena.c (heap_trim): Likewise.
37670
1c06ba31
UD
376712010-08-16 Ulrich Drepper <drepper@redhat.com>
37672
37673 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37674 here. Not...
37675 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37676 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37677
f8392f40
L
376782010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37679
37680 * sysdeps/i386/elf/Makefile: New file.
37681
3162f12e
AS
376822010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37683
37684 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37685 from fanotify_init.
37686 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37687 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37688
28c90b2c
UD
376892010-08-15 Ulrich Drepper <drepper@redhat.com>
37690
37691 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37692 of strncasecmp_l.
1feccb6c 37693 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 37694
ca6bb004
UD
376952010-08-14 Ulrich Drepper <drepper@redhat.com>
37696
e9f82e0d
UD
37697 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37698 strncase_l-nonascii.
37699 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37700 Add strncase_l-ssse3.
37701 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37702 * sysdeps/x86_64/strcmp.S: Likewise.
37703 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37704 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37705 * sysdeps/x86_64/strncase.S: New file.
37706 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37707 * sysdeps/x86_64/strncase_l.S: New file.
37708 * string/Makefile (strop-tests): Add strncasecmp.
37709 * string/test-strncasecmp.c: New file.
37710
37711 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37712 warning.
37713
ca6bb004
UD
37714 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37715 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37716
052fa7b3
AS
377172010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37718
37719 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37720
962dba78
UD
377212010-08-12 Ulrich Drepper <drepper@redhat.com>
37722
37723 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37724 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37725 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37726
bebff237
AM
377272010-05-01 Alan Modra <amodra@gmail.com>
37728
37729 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37730 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37731 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37732 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37733 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37734 tidying. Don't tail-call __sigjmp_save for static lib.
37735 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37736 save location.
37737 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37738 (CALL_MCOUNT): Add eh info, and nop after bl.
37739 (TAIL_CALL_SYSCALL_ERROR): New macro.
37740 (PSEUDO_RET): Use it.
37741 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37742 Correct save location of integer regs and cr.
37743 (_dl_profile_resolve): Correct cr save location. Delete nops
37744 after bl when SHARED. Reduce cfi size a little by better
37745 placement of cfi directives.
37746 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37747 make a stack frame. Instead use parm save area as a temp.
37748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37749 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37751 Don't make a stack frame for parent, use parm save area.
37752 Increase child stack frame to 112 bytes. Don't save unused reg,
37753 and adjust reg usage. Set up cfi on error recovery and
37754 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37756 (__makecontext): Add dummy nop after jump to exit.
37757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37758 Use correct parm save area and cr save, reduce stack frame.
37759 Correct cfi for possible PSEUDO_RET frame setup.
37760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37761 Branch to local label emitted by PSEUDO_RET rather than
37762 __syscall_error.
37763
02637374
AS
377642010-08-12 Andreas Schwab <schwab@redhat.com>
37765
37766 [BZ #11904]
37767 * locale/programs/locale.c (print_assignment): New function.
37768 (show_locale_vars): Use it.
37769
c3e2f19b
UD
377702010-08-11 Ulrich Drepper <drepper@redhat.com>
37771
3cdaa6ad
UD
37772 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37773 field.
37774 (struct statfs64): Likewise.
37775 (_STATFS_F_FLAGS): Define.
37776 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37777 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37778 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37779 (ST_VALID): Define locally.
37780 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37781 __statvfs_getflags, use the provided value.
37782 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37783 __ASSUME_STATFS_F_FLAGS.
37784
754f7da3
UD
37785 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37786
10b3bedc
UD
37787 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37788 Add sys/fanotify.h.
37789 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37790 fanotify_mask for GLIBC_2.13.
37791 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37792 fanotify_init and fanotify_mark.
37793 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37794 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37795
c08fb0d7
UD
37796 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37797 Add prlimit.
37798 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37799 prlimit64 for GLIBC_2.13.
37800 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37801 prlimit64.
37802 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37803 syscall.
37804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37805 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37806 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37807 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37808 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37809 add prlimit alias.
37810 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37811
15bac72b
UD
37812 [BZ #11903]
37813 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37814 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37815
c3e2f19b
UD
37816 * nss/Makefile: Add rules to build and run tst-nss-test1.
37817 * shlib-versions: Add entry for libnss_test1.
37818 * nss/nss_test1.c: New file.
37819 * nss/tst-nss-test1.c: New file.
37820
37821 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37822 (__nss_configure_lookup): Set appropriate entry in
37823 __nss_configure_lookup to true.
37824 * nss/nsswitch.h: Define enum with indeces of databases in
37825 databases and __nss_database_custom arrays. Declare
37826 __nss_database_custom.
37827 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37828 to avoid using nscd when custom rules are installed.
37829 * nss/getXXbyYY_r.c: Likewise.
37830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37831
37832 * nss/nss_files/files-parse.c: Whitespace fixes.
37833
f15ce4d8
UD
378342010-08-09 Ulrich Drepper <drepper@redhat.com>
37835
37836 [BZ #11883]
37837 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37838 * posix/fnmatch_loop.c: Likewise.
37839
d22e4cc9
AK
378402010-07-17 Andi Kleen <ak@linux.intel.com>
37841
37842 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37843 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37844 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37845 * Versions.def [GLIBC_2.13]: Add.
37846
805bc17d
UD
378472010-08-06 Ulrich Drepper <drepper@redhat.com>
37848
37849 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37850 Also fail if tpwd after pwuid call is NULL.
37851
5a42321d
ST
378522010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37853
37854 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37855 when converting to ms.
37856
fd3ebeda
ST
378572010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37858
37859 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37860 EOPNOTSUPP errors with ENOTTY.
37861 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37862 EOPNOTSUPP errors with ENOTTY.
37863
73507d3a
UD
378642010-07-31 Ulrich Drepper <drepper@redhat.com>
37865
37866 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37867 Add strcasecmp_l-ssse3.
37868 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37869 strcasecmp.
37870 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37871 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37872 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37873
fe36dd02
UD
378742010-07-30 Ulrich Drepper <drepper@redhat.com>
37875
66f6765a
UD
37876 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37877
42e08a54
UD
37878 * string/Makefile (strop-tests): Add strcasecmp.
37879 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37880 strcasecmp_l-nonascii.
37881 (gen-as-const-headers): Add locale-defines.sym.
37882 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37883 * sysdeps/x86_64/strcasecmp.S: New file.
37884 * sysdeps/x86_64/strcasecmp_l.S: New file.
37885 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37886 * sysdeps/x86_64/locale-defines.sym: New file.
37887 * string/test-strcasecmp.c: New file.
37888
fe36dd02
UD
37889 * string/test-strcasestr.c: Test both ends of the range of characters.
37890 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37891
48cbc0d6
RM
378922010-07-29 Roland McGrath <roland@redhat.com>
37893
76e6d6bc 37894 [BZ #11856]
48cbc0d6
RM
37895 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37896
880113d9
UD
378972010-07-27 Ulrich Drepper <drepper@redhat.com>
37898
37899 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37900 for ld.so.
37901
deb9cabb
AS
379022010-07-27 Andreas Schwab <schwab@redhat.com>
37903
37904 * manual/memory.texi (Malloc Tunable Parameters): Document
37905 M_PERTURB.
37906
1c7570ff
RM
379072010-07-26 Roland McGrath <roland@redhat.com>
37908
37909 [BZ #11840]
37910 * configure.in (-fgnu89-inline check): Set and substitute
37911 gnu89_inline, not libc_cv_gnu89_inline.
37912 * configure: Regenerated.
37913 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37914
24fb0f88
UD
379152010-07-26 Ulrich Drepper <drepper@redhat.com>
37916
37917 * string/test-strnlen.c: New file.
37918 * string/Makefile (strop-tests): Add strnlen.
37919 * string/tester.c (test_strnlen): Add a few more test cases.
37920 * string/tst-strlen.c: Better error reporting.
37921
37922 * sysdeps/x86_64/strnlen.S: New file.
37923
8e96b93a
UD
379242010-07-24 Ulrich Drepper <drepper@redhat.com>
37925
37926 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37927 lower-latency instructions.
37928
dbc676d4
UD
379292010-07-23 Ulrich Drepper <drepper@redhat.com>
37930
37931 * string/test-strcasestr.c: New file.
37932 * string/test-strstr.c: New file.
37933 * string/Makefile (strop-tests): Add strstr and strcasestr.
37934 * string/str-two-way.h: Don't undefine MAX.
37935 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37936
f6a31e0e
AS
379372010-07-21 Andreas Schwab <schwab@redhat.com>
37938
37939 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37940 strcasestr-nonascii.
37941 (CFLAGS-strcasestr-nonascii.c): Define.
37942 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37943 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37944 Remove unused attribute.
37945
5dbc3b6c
RM
379462010-07-20 Roland McGrath <roland@redhat.com>
37947
37948 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37949 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37950 ld.so.cache was broken. With it, there is no way to disable dsocaps
37951 like LD_HWCAP_MASK can disable hwcaps.
37952
23d101d8
EPM
379532010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37954
37955 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37956
cc9f2e47
UD
379572010-07-16 Ulrich Drepper <drepper@redhat.com>
37958
37959 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37960 call in strcasestr.
37961 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37962 __strcasestr_sse42_nonascii.
37963 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37964 strcasestr-nonascii.c.
37965 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37966
77c1b069
LM
379672010-06-15 Luis Machado <luisgpm@br.ibm.com>
37968
37969 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37970 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37971 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37972 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37973
440566c3
UD
379742010-07-09 Ulrich Drepper <drepper@redhat.com>
37975
37976 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37977 fcntl.
37978
5be9d05d
AS
379792010-07-06 Andreas Schwab <schwab@redhat.com>
37980
c30b7ee2 37981 [BZ #11577]
5be9d05d
AS
37982 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37983 dl_signal_cerror.
37984
8a492a67
UD
379852010-07-06 Ulrich Drepper <drepper@redhat.com>
37986
37987 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37988 _PC_PIPE_BUF using F_GETPIPE_SZ.
37989
713df3d5
RM
379902010-07-05 Roland McGrath <roland@redhat.com>
37991
37992 * manual/arith.texi (Rounding Functions): Fix rint description
37993 implicit in round description.
37994
702e8f14
UD
379952010-07-02 Ulrich Drepper <drepper@redhat.com>
37996
37997 * elf/Makefile: Fix linking for a few tests to make recent linker
37998 happy.
37999
52ed8be9
AS
380002010-06-30 Andreas Schwab <schwab@redhat.com>
38001
38002 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38003 $(common-objpfx)libc_nonshared.a.
38004
f47c9a11
LM
380052010-06-21 Luis Machado <luisgpm@br.ibm.com>
38006
38007 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38008 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38009 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38010 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38011 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38012 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38013 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38014 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38029 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38030 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38031 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38032 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38033 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38034 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38035 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38036 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38037 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38038 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38039 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38040 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38055
6fb8cbcb
L
380562010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38057
38058 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38059 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38060 * string/memmove.c (memmove): Renamed to ...
38061 (MEMMOVE): ...this. Default to memmove.
38062 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38063 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38064 (END_CHK): Define.
38065 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38066 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38067 mempcpy-ssse3-back memmove-ssse3-back.
38068 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38069 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38070 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38071 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38072 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38073 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38074 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38075 * sysdeps/x86_64/multiarch/memmove.c: New file.
38076 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38077 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38078 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38079 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38080 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38081 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38082 Define.
38083 (index_Fast_Copy_Backward): Define.
38084 (HAS_ARCH_FEATURE): Define.
38085 (HAS_FAST_REP_STRING): Define.
38086 (HAS_FAST_COPY_BACKWARD): Define.
38087
4e733bac 380882010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
38089
38090 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38091 Restore proper fallback handling.
38092
63c4ed22
UD
380932010-06-19 Ulrich Drepper <drepper@redhat.com>
38094
ac2b484c
UD
38095 [BZ #11701]
38096 * posix/group_member.c (__group_member): Correct checking loop.
38097
63c4ed22
UD
38098 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38099 OOM in getpwuid_r correctly. Return error number when the caller
38100 should return, otherwise -1.
38101 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38102 call returning > 0 value.
38103 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38104
765ade4b
AS
381052010-06-07 Andreas Schwab <schwab@redhat.com>
38106
38107 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38108 libc_nonshared.a from targets in modules-names.
38109
80da2e09
KS
381102010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38111
38112 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38113 requires it.
38114
158db122
LM
381152010-06-10 Luis Machado <luisgpm@br.ibm.com>
38116
38117 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38118 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38119 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38120 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38121
caa78cf8
AS
381222010-06-02 Andreas Schwab <schwab@redhat.com>
38123
38124 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38125
b2ef2c01
UD
381262010-06-14 Ulrich Drepper <drepper@redhat.com>
38127
38128 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38129 and F_GETPIPE_SZ.
38130 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38131 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38132 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38133 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38134 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38135 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38136
fbd643b6
RM
381372010-06-14 Roland McGrath <roland@redhat.com>
38138
38139 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38140
f32f2869
JJ
381412010-06-07 Jakub Jelinek <jakub@redhat.com>
38142
38143 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38144 __REDIRECT followed by __THROW.
38145 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38146 * posix/getopt.h (getopt): Likewise.
38147
2a50c078
EPM
381482010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38149
38150 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38151 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38152 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38153 in AT_FLAGS.
38154 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38155 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38156
eb5ad2eb
LM
381572010-05-28 Luis Machado <luisgpm@br.ibm.com>
38158
38159 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38160
3c88fe1e
L
381612010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38162
38163 [BZ #11640]
38164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38165 Properly check family and model.
38166
d2f73151
TY
381672010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38168
38169 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38170
ebd2e13d
LM
381712010-05-24 Luis Machado <luisgpm@br.ibm.com>
38172
38173 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38174
b32b8b45
UD
381752010-05-21 Ulrich Drepper <drepper@redhat.com>
38176
38177 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38178 symbol reference.
38179
9acbe24d
AS
381802010-05-19 Andreas Schwab <schwab@redhat.com>
38181
38182 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38183 symbol reference.
38184
f0ccf6ea
AS
381852010-05-21 Andreas Schwab <schwab@redhat.com>
38186
3d04ff3a
AS
38187 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38188 and internal_recvmmsg.
38189 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38190 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38191 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38192 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38193
f0ccf6ea
AS
38194 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38195 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38196 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38197
5b08ac57
AS
381982010-05-20 Andreas Schwab <schwab@redhat.com>
38199
38200 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38201
4828935d
LM
382022010-05-17 Luis Machado <luisgpm@br.ibm.com>
38203
38204 POWER7 optimizations.
38205 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38206 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38207
373d545e
UD
382082010-05-19 Ulrich Drepper <drepper@redhat.com>
38209
38210 * version.h: Update for 2.13 development version.
38211
21a2b1ae
AS
382122010-05-12 Andrew Stubbs <ams@codesourcery.com>
38213
38214 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38215 exceptions. Return 0.
38216
3f7dcb2b
RM
382172010-05-07 Roland McGrath <roland@redhat.com>
38218
38219 * elf/ldconfig.c (main): Add a const.
38220
5f24d53a 382212010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 38222
a160f8d8
UD
38223 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38224 (args_options): Add no-idn option.
38225 (ahosts_keys_int): Add idn_flags to ai_flags.
38226 (parse_option): Handle 'i' option to clear idn_flags.
38227
5f24d53a
UD
38228 * malloc/malloc.c (_int_free): Possible race in the most recently
38229 added check. Only act on the data if no current modification
38230 happened.
265bb1ce
UD
38231
38232See ChangeLog.17 for earlier changes.
This page took 4.937999 seconds and 5 git commands to generate.