]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix typo in inet/netinet/in.h comment
[thirdparty/glibc.git] / ChangeLog
CommitLineData
4cff0293
AM
12014-01-06 Allan McRae <allan@archlinux.org>
2
3 * inet/netinet/in.h: Fix typo in comment.
4
75595dcf
AJ
52014-01-05 Andreas Jaeger <aj@suse.de>
6
7 * sysdeps/i386/fpu/libm-test-ulps: Update.
8
79c1e109
AM
92014-01-05 Allan McRae <allan@archlinux.org>
10
dd804818
AM
11 * po/libc.pot: Regenerated.
12
79c1e109
AM
13 * malloc/memusagestat.c: Fix gettext call formatting.
14
0c813d1f
SK
152014-01-04 Sami Kerola <kerolasa@iki.fi>
16
17 * nscd/nscd.c: Improve usage() output.
18
20f4a8d9
MF
192014-01-04 Mike Frysinger <vapier@gentoo.org>
20
21 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
22 * sysdeps/unix/sysv/linux/configure: Regenerated.
23 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
25
22562bb2
JM
262014-01-03 Joseph Myers <joseph@codesourcery.com>
27
28 [BZ #16390]
29 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
30 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
31
d7ad2d9b
AZ
322014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33
34 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
35 extra tokens at end of #undef directive.
36 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
37 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
38 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39
7f507ee1
AH
402014-01-03 Andrew Hunter <ahh@google.com>
41
0da43124 42 * elf/dl-open.c (dl_open_worker): New comment.
7f507ee1
AH
43 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
44 atomic_compare_and_exchange_bool_acq
45 (_dl_allocate_static_tls): Block signals.
46 * elf/dl-tls.c (allocate_and_init): Return void.
47 (_dl_update_slotinfo): Block signals, use atomic update.
48
7dd009d8
JM
492014-01-03 Joseph Myers <joseph@codesourcery.com>
50
24db925a
JM
51 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
52
7dd009d8
JM
53 * math/auto-libm-test-in: Mark various tests with
54 xfail-rounding:ldbl-128ibm.
55 * math/auto-libm-test-out: Regenerated.
56
396e3ecf
JM
572014-01-02 Joseph Myers <joseph@codesourcery.com>
58
819e5d50
JM
59 [BZ #16386]
60 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
61 numbers with subnormal high part when calculating exponent.
62
90b6a1e5
JM
63 [BZ #16385]
64 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
65 fabs.
66
396e3ecf
JM
67 [BZ #16384]
68 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
69 M_LN2l.
70 (__ieee754_acoshl): Use __log1pl not __log1p.
71
6c8dbf00
OB
722013-01-02 Ondřej Bílka <neleai@seznam.cz>
73
74 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
75 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
76 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
77 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
78 Convert to GNU style.
79 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
80 mem2mem_check, mem2chunk_check, top_check, realloc_check,
81 memalign_check, __malloc_set_state): Likewise.
82 * malloc/mallocbug.c (main): Likewise.
83 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
84 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
85 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
86 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
87 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
88 * malloc/malloc.h: Likewise.
89 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
90 memalignhook, reallochook, mabort): Likewise.
91 * malloc/mcheck.h: Likewise.
92 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
93 mmap64, mremap, munmap, dest): Likewise.
94 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
95 * malloc/morecore.c (__default_morecore): Likewise.
96 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
97 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
98 _obstack_allocated_p, obstack_free, _obstack_memory_used,
99 print_and_abort): Likewise.
100 * malloc/obstack.h: Likewise.
101 * malloc/set-freeres.c (__libc_freeres): Likewise.
102 * malloc/tst-mallocstate.c (main): Likewise.
103 * malloc/tst-mtrace.c (main): Likewise.
104 * malloc/tst-realloc.c (do_test): Likewise.
105
d4124212
SP
1062013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
107
9a3c6a6f
SP
108 [BZ #16366]
109 * nscd/netgroupcache.c (do_notfound): New function.
110 (addgetnetgrentX): Use it.
111
d4124212
SP
112 [BZ # 16365]
113 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
114 NSS_STATUS_NOTFOUND.
115
97b9a009
JM
1162014-01-01 Joseph Myers <joseph@codesourcery.com>
117
118 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
120
d4697bc9
AM
1212014-01-01 Allan McRae <allan@archlinux.org>
122
ddb3687f
AM
123 * scripts/update-copyrights: Update configure input file suffix.
124
88726d48
AM
125 * NEWS: Update copyright year.
126 * catgets/gencat.c: Likewise.
127 * csu/version.c: Likewise.
128 * debug/catchsegv.sh: Likewise.
129 * debug/pcprofiledump.c: Likewise.
130 * debug/xtrace.sh: Likewise.
131 * elf/ldconfig.c: Likewise.
132 * elf/ldd.bash.in: Likewise.
133 * elf/pldd.c: Likewise.
134 * elf/sotruss.ksh: Likewise.
135 * elf/sprof.c: Likewise.
136 * iconv/iconv_prog.c: Likewise.
137 * iconv/iconvconfig.c: Likewise.
138 * locale/programs/locale.c: Likewise.
139 * locale/programs/localedef.c: Likewise.
140 * login/programs/pt_chown.c: Likewise.
141 * malloc/memusage.sh: Likewise.
142 * malloc/memusagestat.c: Likewise.
143 * malloc/mtrace.pl: Likewise.
144 * manual/libc.texinfo: Likewise.
145 * nscd/nscd.c: Likewise.
146 * nss/getent.c: Likewise.
147 * nss/makedb.c: Likewise.
148 * posix/getconf.c: Likewise.
149 * scripts/test-installation.pl: Likewise.
150
d4697bc9
AM
151 * All files with FSF copyright notices: Update copyright dates
152 using scripts/update-copyrights.
153 * intl/plural.c: Regenerated.
154 * locale/programs/charmap-kw.h: Likewise.
155 * locale/programs/locfile-kw.h: Likewise.
156
c8590f9d
MF
1572013-12-31 Mike Frysinger <vapier@gentoo.org>
158
159 * sysdeps/unix/sysv/linux/configure: Regenerated.
160 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
161 the linux/fanotify.h header.
162 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
163 HAVE_LINUX_FANOTIFY_H is defined.
164
b19221b9
SP
1652013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
166
dd1d85e5
SP
167 * benchtests/cos-inputs: New inputs.
168 * benchtests/sin-inputs: Likewise.
169
1acbb90f
SP
170 * benchtests/atan-inputs: New inputs. Fix name of multiple
171 precision fallback inputs.
172
4c012ed3
SP
173 * benchtests/atanh-inputs: New inputs.
174 * benchtests/tanh-inputs: Likewise.
175
eff98324
SP
176 * benchtests/acosh-inputs: New inputs.
177 * benchtests/asinh-inputs: Likewise.
178
ce641152
SP
179 * benchtests/cosh-inputs: New inputs.
180 * benchtests/sinh-inputs: Likewise.
181
b19221b9
SP
182 * benchtests/acos-inputs: Add more inputs.
183 * benchtests/asin-inputs: Likewise.
184
030a4976 1852013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 186
030a4976 187 [BZ #16375]
9dcc8f11
VS
188 * manual/arith.texi: Fix spelling.
189 * manual/charset.texi: Likewise.
190 * manual/errno.texi: Likewise.
191 * manual/filesys.texi: Likewise.
192 * manual/lang.texi: Likewise.
193 * manual/llio.texi: Likewise.
194 * manual/locale.texi: Likewise.
195 * manual/message.texi: Likewise.
196 * manual/resource.texi: Likewise.
197 * manual/search.texi: Likewise.
198 * manual/setjmp.texi: Likewise.
199 * manual/stdio.texi: Likewise.
200 * manual/string.texi: Likewise.
201 * manual/sysinfo.texi: Likewise.
202 * manual/time.texi: Likewise.
203
11520a57
CD
2042013-12-27 Carlos O'Donell <carlos@redhat.com>
205
206 * po/sl.po: New file.
207
471103ae
MF
2082013-12-27 Mike Frysinger <vapier@gentoo.org>
209
210 * .gitignore: Add core/.gdbinit/.gdb_history.
211
6c9642ed
AM
2122013-12-27 Allan McRae <allan@archlinux.org>
213
214 [BZ #16369]
215 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
216 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
217
3f637079
BM
2182013-12-24 Brooks Moses <bmoses@google.com>
219
220 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
221 all compilers that claim C++98 compliance, not just GCC.
222 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
223 Likewise.
224
abc26e99
MK
2252013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
226
227 * NEWS: Restore accidentally deleted bug-fix entries.
228
362b47fe
MK
2292013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
230 Ondřej Bílka <neleai@seznam.cz>
231
232 [BZ #15073]
233 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 234 have_lock.
362b47fe 235
b9bcbbcb
OB
2362013-12-23 Ondřej Bílka <neleai@seznam.cz>
237
238 [BZ #12986]
239 * manual/stdio.texi (String Input Conversions): Clarify that character
240 classes are not supported.
241
fb55fcd2
AZ
2422013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
243
244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
245
ef7344f0
JM
2462013-12-22 Joseph Myers <joseph@codesourcery.com>
247
4f40e4b3
JM
248 [BZ #16337]
249 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
250 Calculate results for small negative arguments directly rather
251 than using reflection formula with special underflow handling.
252
ef7344f0
JM
253 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
254 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
255 sysdeps/unix/bsd/bsd4.4/syscalls.list.
256 (fchflags): Likewise.
257 (revoke): Likewise.
258 (setlogin): Likewise.
259 (sigaltstack): Likewise.
260 (wait4): Likewise.
261 (sigblock): Remove.
262 (sigsetmask): Likewise.
263 (wait3): Likewise.
264 (waitpid): Likewise.
265 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
266 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
267 file.
268 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
269 * sysdeps/unix/bsd/Makefile: ... here.
270 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
271 * sysdeps/unix/bsd/Versions: ... here.
272 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
273 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
274 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
275 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
276 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
277 * sysdeps/unix/bsd/sigblock.c: ... here.
278 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
279 * sysdeps/unix/bsd/sigsetmask.c: ... here.
280 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
281 * sysdeps/unix/bsd/sigvec.c: ... here.
282 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
283 * sysdeps/unix/bsd/tcdrain.c: ... here.
284 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
285 * sysdeps/unix/bsd/tcgetattr.c: ... here.
286 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
287 * sysdeps/unix/bsd/tcsetattr.c: ... here.
288 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
289 * sysdeps/unix/bsd/wait.c: ... here.
290 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
291 * sysdeps/unix/bsd/wait3.c: ... here.
292 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
293 * sysdeps/unix/bsd/waitpid.c: ... here.
294
5b0626b9
JM
2952013-12-21 Joseph Myers <joseph@codesourcery.com>
296
297 [BZ #16356]
298 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
299 round-to-nearest for [!USE_AS_EXPM1L].
300 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
301 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
302 more tests of exp and exp10. Expect some exp10 tests to miss
303 exceptions or fail in directed rounding modes.
304 * math/auto-libm-test-out: Regenerated.
305 * math/libm-test.inc (exp10_tonearest_test_data): New array.
306 (exp10_test_tonearest): New function.
307 (exp10_towardzero_test_data): New array.
308 (exp10_test_towardzero): New function.
309 (exp10_downward_test_data): New array.
310 (exp10_test_downward): New function.
311 (exp10_upward_test_data): New array.
312 (exp10_test_upward): New function.
313 (main): Call the new functions.
314 * sysdeps/i386/fpu/libm-test-ulps: Update.
315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
316
7fda5682
JM
3172013-12-20 Joseph Myers <joseph@codesourcery.com>
318
31e3a405
JM
319 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
320 asinh, atan, atan2, atanh, cbrt, cos and cosh.
321 * math/auto-libm-test-out: Regenerated.
322 * math/libm-test.inc (acosh_test_data): Add more tests.
323 (atanh_test_data): Likewise.
324 (ceil_test_data): Likewise.
325 (copysign_test_data): Likewise.
326 * sysdeps/i386/fpu/libm-test-ulps: Update.
327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
328
85bff96a
JM
329 * timezone/checktab.awk: Update from tzcode 2013i.
330 * timezone/private.h: Likewise.
331 * timezone/scheck.c: Likewise.
332 * timezone/tzfile.h: Likewise.
333 * timezone/tzselect.ksh: Likewise.
334 * timezone/zdump.c: Likewise.
335 * timezone/zic.c: Likewise.
336
b7867a3b
JM
337 * math/auto-libm-test-in: Add tests of cpow.
338 * math/auto-libm-test-out: Regenerated.
339 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
340 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
341 mpc_cc_c.
342 (func_calc_desc): Add mpc_cc_c union field.
343 (test_functions): Add cpow.
344 (special_fill_2pi): New function.
345 (special_real_inputs): Add 2pi.
346 (calc_generic_results): Handle mpc_cc_c.
347 * sysdeps/i386/fpu/libm-test-ulps: Update.
348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
349
7fda5682
JM
350 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
351 csqrt, ctan and ctanh.
352 * math/auto-libm-test-out: Regenerated.
353 * math/libm-test.inc (TEST_COND_x86_64): New macro.
354 (TEST_COND_x86): Likewise.
355 (ccos_test_data): Use AUTO_TESTS_c_c.
356 (ccosh_test_data): Likewise.
357 (cexp_test_data): Likewise.
358 (clog_test_data): Likewise.
359 (csqrt_test_data): Likewise.
360 (ctan_test_data): Likewise.
361 (ctan_tonearest_test_data): Likewise.
362 (ctan_towardzero_test_data): Likewise.
363 (ctan_downward_test_data): Likewise.
364 (ctan_upward_test_data): Likewise.
365 (ctanh_test_data): Likewise.
366 (ctanh_tonearest_test_data): Likewise.
367 (ctanh_towardzero_test_data): Likewise.
368 (ctanh_downward_test_data): Likewise.
369 (ctanh_upward_test_data): Likewise.
370 * math/gen-auto-libm-tests.c (func_calc_method): Add value
371 mpc_c_c.
372 (func_calc_desc): Add mpc_c_c union field.
373 (FUNC_mpc_c_c): New macro.
374 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
375 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
376 ctanh.
377 (special_fill_min_subnorm_p120): New function.
378 (special_real_inputs): Add min_subnorm_p120.
379 (calc_generic_results): Handle mpc_c_c.
380 * sysdeps/i386/fpu/libm-test-ulps: Update.
381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
382
5ff8d60e
SP
3832013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
384
392dd2de
SP
385 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
386 do_sin_slow): New functions.
387 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
388 cslow2, csloww1, csloww2): Use the new functions.
389
84ba214c
SP
390 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
391 Use M to change sign of result instead of X. Assume X is
392 positive.
393 (csloww1): Likewise.
394 (__sin): Adjust.
395 (__cos): Adjust.
396
975195e4
SP
397 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
398 arguments A and DA.
399 (__sin): Adjust.
400 (__cos): Likewise.
401
5ff8d60e
SP
402 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
403 (__cos): Likewise.
404 (sloww1): Don't adjust sign of DX.
405 (csloww1): Likewise.
406 (sloww2): Use X directly and don't adjust sign of DX.
407 (csloww2): Likewise.
408
eb983568
JM
4092013-12-19 Joseph Myers <joseph@codesourcery.com>
410
64a17f1a
JM
411 * math/auto-libm-test-in: Add tests of cabs and carg.
412 * math/auto-libm-test-out: Regenerated.
413 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
414 (carg_test_data): Likewise.
415 * math/gen-auto-libm-tests.c (func_calc_method): Add value
416 mpc_c_f.
417 (func_calc_desc): Add mpc_c_f union field.
418 (test_functions): Add cabs and carg.
419 (calc_generic_results): Handle mpc_c_f.
420
eb983568
JM
421 * sysdeps/powerpc/powerpc32/libgcc-compat.S
422 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
423 as a macro and a compat symbol.
424 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
425 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
426 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
427 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
428 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
429 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
430 not use .hidden.
431 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
432 Likewise.
433 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
434 Likewise.
435 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
436 Likewise.
437 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
438 Likewise.
439 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
440 Likewise.
441 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
442 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
443 from GLIBC_2.3.2.
444
6eeb678a
AZ
4452013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
446
447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
448
063b2acb
PP
4492013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
450
451 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
452 (__signal_safe_memalign, __signal_safe_free): Use it.
453 (__signal_safe_realloc): Likewise.
454
6f6fc482
JM
4552013-12-19 Joseph Myers <joseph@codesourcery.com>
456
21fea2e2
JM
457 * manual/texinfo.tex: Update to version 2013-11-26.10 with
458 trailing whitespace removed.
459 * scripts/config.guess: Update to version 2013-11-29.
460 * scripts/config.sub: Update to version 2013-10-01.
461
6f6fc482
JM
462 * math/auto-libm-test-in: Add tests of sincos.
463 * math/auto-libm-test-out: Regenerated.
464 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
465 * math/gen-auto-libm-tests.c (func_calc_method): Add value
466 mpfr_f_11.
467 (func_calc_desc): Add mpfr_f_11 union field.
468 (test_functions): Add sincos.
469 (calc_generic_results): Handle mpfr_f_11.
470 * sysdeps/i386/fpu/libm-test-ulps: Update.
471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
472
83f5c32d
AS
4732013-12-19 Andreas Schwab <schwab@suse.de>
474
475 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
476 CALL_MCOUNT.
477 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
478 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
479 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
480
c688b419
JM
4812013-12-19 Joseph Myers <joseph@codesourcery.com>
482
335ee092
JM
483 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
484 * sysdeps/i386/fpu/libm-test-ulps: Update.
485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
486
f88acd39
JM
487 [BZ #16293]
488 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
489 round-to-nearest mode when using frndint.
490 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
491 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
492 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
493 Likewise.
494 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
495 sinh test to fail.
496 * math/auto-libm-test-out: Regenerated.
497 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
498 (TEST_COND_x86): Likewise.
499 (expm1_tonearest_test_data): New array.
500 (expm1_test_tonearest): New function.
501 (expm1_towardzero_test_data): New array.
502 (expm1_test_towardzero): New function.
503 (expm1_downward_test_data): New array.
504 (expm1_test_downward): New function.
505 (expm1_upward_test_data): New array.
506 (expm1_test_upward): New function.
507 (main): Run the new test functions.
508 * sysdeps/i386/fpu/libm-test-ulps: Update.
509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
510
c688b419
JM
511 * include/features.h: Update comment documenting feature test
512 macros. Mention _DEFAULT_SOURCE in comment.
513 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
514 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
515 _BSD_SOURCE and _SVID_SOURCE.
516 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
517 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
518 !_SVID_SOURCE]: Likewise.
519 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
520 (__USE_POSIX_IMPLICITLY): Define.
521 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
522 (_POSIX_SOURCE): Undefine and redefine.
523 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
524 (_POSIX_C_SOURCE): Likewise.
525 * manual/creature.texi (_DEFAULT_SOURCE): Document.
526 (Feature Test Macros): Update documentation of default features.
527
9f6e964c
RS
5282013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
529
530 * benchtests/Makefile: Add bench-strtok.
531 * benchtests/bench-strtok.c: New file: strtok benchtest.
532
ee0a148a
AM
5332013-12-19 Allan McRae <allan@archlinux.org>
534
535 * manual/install.texi: Suppress menu for plain text output.
536 * INSTALL: Regenerated.
537
1f33d36a
PP
5382013-12-18 Andrew Hunter <ahh@google.com>
539
540 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
541 (__signal_safe_malloc, __signal_safe_free): Likewise.
542 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
543 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
544 (__signal_safe_memalign, __signal_safe_malloc): New function.
545 (__signal_safe_free, __signal_safe_realloc): Likewise.
546 (__signal_safe_calloc): Likewise.
547 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
548 functions.
549 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
550
35e8f7ab
PP
5512013-12-18 Andrew Hunter <ahh@google.com>
552
553 * elf/Versions (ld): Add _dl_clear_dtv.
554 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
555 * elf/dl-tls.c (_dl_clear_dtv): New function.
556 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
557
69a17d9d
PP
5582013-12-18 Andrew Hunter <ahh@google.com>
559
560 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
561 (_dl_unmask_signals): Likewise.
562 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
563 (_dl_unmask_all_signals): Likewise.
564 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
565 (_dl_unmask_all_signals): Likewise.
566 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
567 (_dl_unmask_signals): Likewise.
568
b9ab448f
BM
5692013-12-18 Brooks Moses <bmoses@google.com>
570
571 [BZ #15846]
572 * misc/getauxval.c: Include errno.h.
573 (__getauxval): Set errno to ENOENT if the requested type is not
574 found.
575 * misc/sys/auxv.h (getauxval): Document that it may set errno;
576 don't declare with __attribute_const__.
577 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
578 * manual/startup.texi: Document that getauxval sets errno.
579
23776487
JM
5802013-12-18 Joseph Myers <joseph@codesourcery.com>
581
f889953b
JM
582 * math/auto-libm-test-in: Add tests of jn and yn.
583 * math/auto-libm-test-out: Regenerated.
584 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
585 (yn_test_data): Likewise.
586 * math/gen-auto-libm-tests.c (func_calc_method): Add value
587 mpfr_if_f.
588 (func_calc_desc): Add mpfr_if_f union field.
589 (FUNC_mpfr_if_f): New macro.
590 (test_functions): Add jn and yn.
591 (calc_generic_results): Assert type of second input for
592 mpfr_ff_f. Handle mpfr_if_f.
593 (output_for_one_input_case): Disable all checking for arguments
594 fitting floating-point types in case of an integer argument.
595 * sysdeps/i386/fpu/libm-test-ulps: Update.
596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
597
23776487
JM
598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
599 Don't expect fegetround reference in libm.so.
600
cb756c6d
MS
6012013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
602
603 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
604 $(config-cflags-nofma).
605
2dec468f
JM
6062013-12-18 Joseph Myers <joseph@codesourcery.com>
607
5953eb3a
JM
608 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
609 * math/auto-libm-test-out: Regenerated.
610
2dec468f
JM
611 [BZ #16338]
612 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
613 to determine exponent and adjust argument to have exponent of -1.
614 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
615 log2.
616 * math/auto-libm-test-out: Regenerated.
617 * sysdeps/i386/fpu/libm-test-ulps: Update.
618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
619
4d84e6ad
OB
6202013-12-18 Ondřej Bílka <neleai@seznam.cz>
621
622 * manual/probes.texi: Remove cases when per-thread arenas are
623 disabled.
624
1818483b
AS
6252013-12-18 Andreas Schwab <schwab@suse.de>
626
627 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
628 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
629 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
630 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
631 * sysdeps/i386/i686/multiarch/Makefile: Update.
632 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
633
25de95bf
JM
6342013-12-17 Joseph Myers <joseph@codesourcery.com>
635
636 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
637 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
638
674762d9
PE
6392013-12-17 Paul Eggert <eggert@cs.ucla.edu>
640
0748546f
PE
641 Support TZ transition times < 00:00:00.
642 This is needed for version-3 tz-format files; it supports time
643 stamps past 2037 for America/Godthab (the only entry in the tz
644 database for which this change is relevant).
645 * manual/time.texi (TZ Variable): Document transition times
646 from -167:59:59 through -00:00:01.
647 * time/tzset.c (tz_rule): Time of day is now signed.
648 (__tzset_parse_tz): Parse negative time of day.
649
4480e934
PE
650 Document TZ transition times >= 25:00:00.
651 * manual/time.texi (TZ Variable): Document transition times from
652 25:00:00 through 167:59:59. These are already supported, and this
653 support will help with version-3 tz-format files.
654
69947401
PE
655 * manual/time.texi (TZ Variable): Modernize North America example
656 to reflect current (i.e., 2007-and-later) daylight saving rules.
657
674762d9
PE
658 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
659
7011c262
JM
6602013-12-17 Joseph Myers <joseph@codesourcery.com>
661
2fc6557e
JM
662 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
663 * sysdeps/unix/bsd/bits/stat.h: Likewise.
664 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
665 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
666 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
667 * sysdeps/unix/bsd/bsdstat.h: Likewise.
668 * sysdeps/unix/bsd/clock.c: Likewise.
669 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
670 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
671 * sysdeps/unix/bsd/init-posix.c: Likewise.
672 * sysdeps/unix/bsd/poll.c: Likewise.
673 * sysdeps/unix/bsd/ptsname.c: Likewise.
674 * sysdeps/unix/bsd/seekdir.c: Likewise.
675 * sysdeps/unix/bsd/setegid.c: Likewise.
676 * sysdeps/unix/bsd/seteuid.c: Likewise.
677 * sysdeps/unix/bsd/setgid.c: Likewise.
678 * sysdeps/unix/bsd/setrgid.c: Likewise.
679 * sysdeps/unix/bsd/setruid.c: Likewise.
680 * sysdeps/unix/bsd/setsid.c: Likewise.
681 * sysdeps/unix/bsd/setuid.c: Likewise.
682 * sysdeps/unix/bsd/sigaction.c: Likewise.
683 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
684 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
685 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
686 * sysdeps/unix/bsd/telldir.c: Likewise.
687 * sysdeps/unix/bsd/times.c: Likewise.
688 * sysdeps/unix/bsd/usleep.c: Likewise.
689
029c7b25
JM
690 * misc/Makefile (install-lib): Remove libbsd-compat.a.
691 ($(objpfx)libbsd-compat.a): Remove rule.
692
7011c262
JM
693 * include/features.h (__FAVOR_BSD): Do not define.
694 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
695 features conflicting with POSIX.
696 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
697 (_BSD_SOURCE): Remove description of not being a subset of other
698 feature test macros.
699 * manual/job.texi (getpgrp): Do not document BSD version.
700 (getpgid): Do not document by reference to BSD getpgrp.
701 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
702 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
703 * signal/signal.h [__FAVOR_BSD]: Likewise.
704 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
705 instead of making contents conditional on [__FAVOR_BSD].
706 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
707
affb6f78
AZ
7082013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
709
710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
711
c88769dd
JM
7122013-12-17 Joseph Myers <joseph@codesourcery.com>
713
6432a540
JM
714 [BZ #16314]
715 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
716 values below 2**-450, not 2**-500.
717 * math/auto-libm-test-in: Don't allow spurious underflow from
718 hypot.
719 * math/auto-libm-test-out: Regenerated.
720
c88769dd
JM
721 [BZ #16316]
722 [BZ #16330]
723 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
724 values of ha and hb and sort them after adjusting subnormal
725 arguments.
726 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
727 Likewise.
728 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
729 values of ea and eb and sort them after adjusting subnormal
730 arguments.
731 * math/auto-libm-test-in: Do not expect some hypot tests of
732 subnormals to fail. Add more hypot tests.
733 * math/auto-libm-test-out: Regenerated.
734
29618f6b
KK
7352013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
736
737 [BZ #13304]
738 * sysdeps/sh/s_fma.c: New file.
739 * sysdeps/sh/s_fmaf.c: New file.
740 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
741 version.
742 * sysdeps/sh/Implies: Add sh/soft-fp.
743
eacfdfbf
RM
7442013-12-16 Roland McGrath <roland@hack.frob.com>
745
746 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
747 level of indirection to members `objname', `errstring', `malloced'.
748 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
749 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
750 it as the __longjmp argument (just pass 1 instead).
751 (_dl_catch_error): Initialize C with argument pointers and address of
752 volatile local ERRCODE rather than copying values out of C at return.
753
ff362e5b
JM
7542013-12-16 Joseph Myers <joseph@codesourcery.com>
755
756 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
757 * math/auto-libm-test-out: Regenerated.
758 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
759 (hypot_test_data): Likewise.
760 (pow_test_data): Likewise.
761 (pow_tonearest_test_data): Likewise.
762 * math/gen-auto-libm-tests.c (func_calc_method): Add value
763 mpfr_ff_f.
764 (func_calc_desc): Add mpfr_ff_f union field.
765 (FUNC_mpfr_ff_f): New macro.
766 (test_functions): Add atan2, hypot and pow.
767 (special_fill_min): New function.
768 (special_fill_minus_min): Likewise.
769 (special_fill_min_subnorm): Likewise.
770 (special_fill_minus_min_subnorm): Likewise.
771 (special_real_inputs): Add min, -min, min_subnorm and
772 -min_subnorm.
773 (calc_generic_results): Handle mpfr_ff_f.
774 * sysdeps/i386/fpu/libm-test-ulps: Update.
775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
776
5764c27f
WN
7772013-12-16 Will Newton <will.newton@linaro.org>
778
779 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
780 (Aligned Memory Blocks): Add documentation for aligned_alloc
781 and suggest it as an alternative to posix_memalign.
782 (Hooks for Malloc): Document __memalign_hook is also called
783 for aligned_alloc. (Summary of Malloc): Add summary for
784 aligned alloc. Document __memalign_hook is also called
785 for aligned_alloc.
786
0a096e44
WN
7872013-12-16 Will Newton <will.newton@linaro.org>
788
789 * manual/memory.texi (Malloc Examples): Clarify default
790 alignment documentation. Suggest posix_memalign rather
791 than memalign or valloc.
792 (Aligned Memory Blocks): Remove suggestion to use memalign
793 or valloc. Remove obsolete comment about BSD.
794 Document memalign errno values and mark the function obsolete.
795 Document posix_memalign returned error codes. Mark valloc
796 as obsolete. (Hooks for Malloc): __memalign_hook is also
797 called for posix_memalign and valloc.
798 (Summary of Malloc): Add posix_memalign to function summary.
799 __memalign_hook is also called for posix_memalign and valloc.
800
8d561986
SP
8012013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
802
803 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
804 TAYLOR_SIN.
805 (__sin): Adjust.
806 (__cos): Likewise.
807 (sloww): Use mynumber union. Expand ternary operator into
808 if-else statements.
809 (cslow): use mynumber union.
810
73616a74
AM
8112013-12-16 Allan McRae <allan@archlinux.org>
812
9e8ac24b
AM
813 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
814 * configure: Regenerated.
815
6f8e37eb
AM
816 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
817
8894bad3
AM
818 [BZ #14120]
819 * configure.ac: Added --enable-maintainer-mode. Check for
820 autoconf when enabled.
821 * configure: Regenerated.
822
73616a74
AM
823 * nscd/nscd.service: New file.
824 * nscd/nscd.tmpfiles: New file.
825
584b18eb
OB
8262013-12-14 Ondřej Bílka <neleai@seznam.cz>
827
828 [BZ #12100]
829 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
830 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
831 * sysdeps/x86_64/multiarch/strstr.c: ... here.
832 (strstr): Add __strstr_sse2_unaligned ifunc.
833 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
834 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
835 (strcasestr): Remove __strcasestr_sse42 ifunc.
836 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
837 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
838 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
839
8a5c7897
KK
8402013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
841
842 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
843 * sysdeps/sh/bits/fenv.h: ... here.
844 * sysdeps/sh/sh4/fpu/bits: Remove directory.
845
fd712ef3
AZ
8462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
847
848 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
849
42fcb46c
AZ
8502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
851
852 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
853 hypotf multiarch implementations.
854 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
855 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
856 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
857 multiarch hypot for PPC64.
858 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
859 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
860 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
861 multiarch hypotf for PPC64.
862
83efded4
AZ
8632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
864
865 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
866 modff multiarch implementations.
867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
870 multiarch modf for PPC64.
871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
874 multiarch modff for PPC64.
875
43e246d2
AZ
8762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
877
878 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
879 and logl multiarch implementations.
880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
883 multiarch logb for PPC64.
884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
887 multiarch logb for PPC64.
888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
891 multiarch logb for PPC64.
892
8fdad123
AZ
8932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
894
895 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
896 isinff multiarch implementation.
897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
898 file.
899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
901 multiarch isinf for PPC64.
902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
903 file.
904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
905 multiarch isinff for PPC64.
906
1481d706
AZ
9072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
908
909 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
910 finitef multiarch implementation.
911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
912 file.
913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
915 multiarch finite for PPC64.
916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
917 file.
918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
919 multiarch finitef for PPC64.
920
5ccd5fc8
AZ
9212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
922
923 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
924 lrint multiarch implementation.
925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
926 file.
927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
929 multiarch llrint for PPC64.
930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
931 multiarch lrint for PPC64.
932
2568f3fa
AZ
9332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
934
935 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
936 copysignf multiarch implementation.
937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
938 file.
939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
940 file.
941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
942 multiarch copysign for PPC64.
943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
944 multiarch copysignf for PPC64.
945
1cb341fd
AZ
9462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
947
948 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
949 multiarch implementation.
950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
951 file.
952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
953 file.
954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
955 file.
956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
957 file.
958 multiarch llround for PPC64.
959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
960 multiarch trunc for PPC64.
961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
962 multiarch truncf for PPC64.
963
59a3e194
AZ
9642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
965
966 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
967 multiarch implementation.
968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
969 file.
970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
971 file.
972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
973 file.
974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
975 file.
976 multiarch llround for PPC64.
977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
978 multiarch round for PPC64.
979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
980 multiarch roundf for PPC64.
981
357fd3b4
AZ
9822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
983
984 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
985 multiarch implementation.
986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
987 file.
988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
989 file.
990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
991 file.
992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
993 file.
994 multiarch llround for PPC64.
995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
996 multiarch floor for PPC64.
997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
998 multiarch floorf for PPC64.
999
96770f12
AZ
10002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1001
1002 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1003 multiarch implementation.
1004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1005 file.
1006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1007 file.
1008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1009 file.
1010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1011 file.
1012 multiarch llround for PPC64.
1013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1014 multiarch ceil for PPC64.
1015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1016 multiarch ceilf for PPC64.
1017
c3627f6e
AZ
10182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1019
1020 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1021 multiarch implementation.
1022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1023 file.
1024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1025 file.
1026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1027 file.
1028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1029 multiarch llround for PPC64.
1030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1031 multiarch lround for PPC64.
1032
b2284ad7
AZ
10332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1034
1035 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1036 multiarch implementation.
1037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1040 file.
1041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1044 multiarch isnan for PPC64.
1045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1046 multiarch isnanf for PPC64.
1047
69bbc63d
AZ
10482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1049
1050 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1051 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1052 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1053 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1054 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1056
c24517c9
AZ
10572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1058
1059 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1060 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1061 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1062 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1063
a52374e8
AZ
10642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1065
1066 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1067 multiarch implementations.
1068 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1069 (__libc_ifunc_impl_list): Likewise.
1070 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1071 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1072 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1073 multiarch stpcpy for PPC64.
1074
7f5ec113
AZ
10752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1076
1077 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1078 multiarch implementations.
1079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1080 (__libc_ifunc_impl_list): Likewise.
1081 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1082 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1083 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1084 multiarch strcpy for PPC64.
1085
e28bcd42
AZ
10862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1087
1088 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1089 redefine function name.
1090 (_wordcopy_fwd_dest_aligned): Likewise.
1091 (_wordcopy_bwd_aligned): Likewise.
1092 (_wordcopy_bwd_dest_aligned): Likewise.
1093 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1094 multiarch implementations.
1095 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1096 (__libc_ifunc_impl_list): Likewise.
1097 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1098 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1099 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1100 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1101 multiarch wcscpy for PPC64.
1102
92cacfce
AZ
11032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1104
1105 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1106 multiarch implementations.
1107 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1108 (__libc_ifunc_impl_list): Likewise.
1109 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1110 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1111 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1112 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1113 multiarch wcscpy for PPC64.
1114
7b714620
AZ
11152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1116
1117 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1118 multiarch implementations.
1119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1120 (__libc_ifunc_impl_list): Likewise.
1121 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1122 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1123 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1124 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1125 multiarch wcsrchr for PPC64.
1126
16fd2ae3
AZ
11272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1128
1129 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1130 multiarch implementations.
1131 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1132 (__libc_ifunc_impl_list): Likewise.
1133 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1134 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1135 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1136 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1137 multiarch wcschr for PPC64.
1138
9ee2969b
AZ
11392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1140
1141 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1142 multiarch implementations.
1143 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1144 (__libc_ifunc_impl_list): Likewise.
1145 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1146 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1147 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1148 multiarch strchrnul for PPC64.
1149
372dc060
AZ
11502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1151
1152 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1153 implementations.
1154 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1155 (__libc_ifunc_impl_list): Likewise.
1156 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1157 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1158 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1159 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1160 strchr for PPC64.
1161
24c2c3b9
AZ
11622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1163
1164 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1165 implementations.
1166 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1167 (__libc_ifunc_impl_list): Likewise.
1168 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1169 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1170 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1171 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1172 strncmp for PPC64.
1173
1c92d9a0
AZ
11742013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1175
1176 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1177 multiarch implementations.
1178 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1179 (__libc_ifunc_impl_list): Likewise.
1180 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1181 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1182 strncasecmp for PPC64.
1183 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1184 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1185 multiarch strncasecmp_l for PPC64.
1186
17de3ee3
AZ
11872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1188
1189 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1190 multiarch implementations.
1191 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1192 (__libc_ifunc_impl_list): Likewise.
1193 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1194 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1195 multiarch strcasecmp for PPC64.
1196 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1197 file.
1198 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1199 multiarch strcasecmp_l for PPC64.
1200
62982bf9
AZ
12012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1202
1203 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1204 implementations.
1205 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1206 (__libc_ifunc_impl_list): Likewise.
1207 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1208 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1209 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1210 strnlen for PPC64.
1211
a65f4904
AZ
12122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1213
1214 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1215 implementations.
1216 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1217 (__libc_ifunc_impl_list): Likewise.
1218 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1219 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1220 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1221 strlen for PPC64.
1222
1fd005ad
AZ
12232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1224
1225 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1226 implementations.
1227 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1228 (__libc_ifunc_impl_list): Likewise.
1229 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1230 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1231 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1232 rawmemrchr for PPC64.
1233
cd05ba91
AZ
12342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1235
1236 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1237 implementation.
1238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1239 (__libc_ifunc_impl_list): Likewise.
1240 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1241 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1242 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1243 memrchr for PPC64.
1244
870f8676
AZ
12452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1246
1247 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1248 implementation.
1249 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1250 (__libc_ifunc_impl_list): Likewise.
1251 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1252 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1253 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1254 memchr for PPC64.
1255
f00be62b
AZ
12562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1257
1258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1259 implementation.
1260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1261 (__libc_ifunc_impl_list): Likewise.
1262 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1263 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1264 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1265 mempcpy for PPC64.
1266
8a29a3d0
AZ
12672013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1268
1269 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1270 avoid cretion of __bzero symbol.
1271 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1272 Likewise.
1273 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1274 Likewise.
1275 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1276 Likewise.
1277 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1278 multiarch implementations.
1279 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1280 (__libc_ifunc_impl_list): Likewise.
1281 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1282 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1283 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1284 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1285 bzero for PPC32.
1286 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1287 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1288 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1289 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1290 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1291 memset for PPC64.
1292 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1293
07253fcf
AZ
12942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1295
1296 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1297 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1298 implementations.
1299 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1300 (__libc_ifunc_impl_list): Likewise.
1301 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1302 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1303 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1304 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1305 memcmp for PPC64.
1306
b5beafbc
AZ
13072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1308
1309 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1310 multiarch for POWER/PPC64.
1311 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1312 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1313 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1314 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1315 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1316 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1317 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1318 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1319 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1320 memcpy for PPC64.
1321
5e6a4d4b
AZ
13222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1323
1324 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1325 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1326 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1327 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1328 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1329 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1330 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1331 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1332 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1333 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1334 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1335 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1336 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1337 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1338 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1346
ddfab6dc
KK
13472013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1348
1349 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1350
19b5525e
SP
13512013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1352
1353 * benchtests/Makefile (bench): Add exp2 and log2.
1354 (LDLIBS-bench-exp2): Add -lm.
1355 (LDLIBS-bench-log2): Likewise.
1356 * benchtests/exp2-inputs: New inputs file.
1357 * benchtests/log2-inputs: New inputs file.
1358 * benchtests/log-inputs: Add new inputs.
1359 * benchtests/tan-inputs: Likewise.
1360
196f7f5d
SP
13612013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1362
7a74607f
SP
1363 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1364 definition...
1365 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1366 csloww1, csloww2): ... from here.
1367
196f7f5d
SP
1368 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1369 instead of structures.
1370 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1371 (POLYNOMIAL): Likewise.
1372 (TAYLOR_SLOW): Likewise.
1373 (__sin): Likewise.
1374 (__cos): Likewise.
1375 (slow1): Likewise.
1376 (slow2): Likewise.
1377 (sloww): Likewise.
1378 (sloww1); Likewise.
1379 (sloww2): Likewise.
1380 (bsloww1): Likewise.
1381 (bsloww2): Likewise.
1382 (cslow2): Likewise.
1383 (csloww): Likewise.
1384 (csloww1): Likewise.
1385 (csloww2): Likewise.
1386
0dfa665c
OB
13872013-12-10 Ondřej Bílka <neleai@seznam.cz>
1388
1389 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1390 (__malloc_assert, __libc_realloc, __libc_calloc,
1391 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1392 memcpy and memset.
1393 * malloc/hooks.c (realloc_check): Likewise.
1394
5782a80f
OB
13952013-12-10 Ondřej Bílka <neleai@seznam.cz>
1396
1397 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1398 * malloc/arena.c: Remove PER_THREAD conditional.
1399 [!PER_THREAD]: Remove code.
1400 (ptmalloc_unlock_all2): Likewise.
1401 (ptmalloc_init): Likewise.
1402 (_int_new_arena): Likewise.
1403 (arena_get2): Likewise.
1404 * malloc/hooks.c (__malloc_get_state): Likewise.
1405 (__malloc_set_state): Likewise.
1406 * malloc/malloc.c: Likewise.
1407 (struct malloc_state): Likewise.
1408 (struct malloc_par): Likewise.
1409 (__libc_realloc): Likewise.
1410 (__libc_mallopt): Likewise.
1411
aeb95445
AZ
14122013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1413
1414 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1415
e8349efd
OB
14162013-12-09 Ondřej Bílka <neleai@seznam.cz>
1417
1418 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1419 macro to a function. Check for zero perturb_byte.
1420 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1421
f3eeb3fc
OB
14222013-12-09 Ondřej Bílka <neleai@seznam.cz>
1423
1424 * malloc/malloc.c: (force_reg): Remove.
1425 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1426 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1427 force_reg by atomic_forced_read.
1428 * malloc/arena.c (ptmalloc_init): Likewise.
1429 * malloc/hooks.c (top_check): Likewise.
1430
be2f9009
AZ
14312013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1432
1433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1434
e7b914bd
MT
14352013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1436
1437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1438
9f0be4f8
JM
14392013-12-08 Joseph Myers <joseph@codesourcery.com>
1440
1441 * math/auto-libm-test-in: Add tests of lgamma.
1442 * math/auto-libm-test-out: Regenerated.
1443 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1444 (M_LOG_2_SQRT_PIl): Likewise.
1445 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1446 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1447 mpfr_f_f1.
1448 (func_calc_desc): Add mpfr_f_f1 union field.
1449 (ARGS1): New macro.
1450 (ARGS2): Likewise.
1451 (ARGS3): Likewise.
1452 (ARGS4): Likewise.
1453 (RET1): Likewise.
1454 (RET2): Likewise.
1455 (CALC): Likewise.
1456 (FUNC): Likewise.
1457 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1458 (test_functions): Add lgamma.
1459 (calc_generic_results): Handle mpfr_f_f1.
1460 * sysdeps/i386/fpu/libm-test-ulps: Update.
1461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1462
24eeafdb
AZ
14632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1464
1465 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1466 __mpn_add_n for PowerPC64/POWER7.
1467 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1468 __mpn_sub_n for PowerPC64/POWER7.
1469
4a2c0fd4
AZ
14702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1471
1472 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1473 __mpn_addmul_1 for PowerPC64.
1474 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1475 __mpn_submul_1 for PowerPC64.
1476 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1477 for PowerPC64.
1478 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1479 for PowerPC64.
1480
4b5b548c
FS
14812013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1482
1483 [BZ #15089]
1484 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1485
0a3ac0aa
AZ
14862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1487
1488 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1489
ccdc8438
AZ
14902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1491
1492 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1493 add multiarch folders.
1494 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1495 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1496 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1497 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1498 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1499 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1500 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1501 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1502 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1503 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1504 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1511
2e973d99
AZ
15122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1513
1514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1515 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1517 New file.
1518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1519 New file.
1520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1521 multiarch __ieee754_hypot for PowerPC32.
1522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1523 New file.
1524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1525 New file.
1526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1527 multiarch __ieee754_hypotf for PowerPC32.
1528
2d9470b2
AZ
15292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1530
1531 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1532 long_double_symbol only if __logbl is defined.
1533 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1534 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1535 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1536 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1537 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1538 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1539 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1540 path for implementation.
1541 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1542 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1544 logb, and logbl multiarch implementations for PowerPC32.
1545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1546 file.
1547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1548 file.
1549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1550 multiarch logb for PowerPC32.
1551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1552 file.
1553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1554 file.
1555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1556 multiarch logbf for PowerPC32.
1557 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1559 file.
1560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1561 multiarch logbl implementation for PowerPC32.
1562
5212ffce
AZ
15632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1564
1565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1566 and modff multiarch implementations.
1567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1568 New file.
1569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1570 New file.
1571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1572 multiarch modf for PowerPC32.
1573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1574 New file.
1575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1576 New file.
1577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1578 multiarch modff for PowerPC32.
1579
79dccf31
AZ
15802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1581
1582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1583 and lrintf multiarch implementations.
1584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1585 New file.
1586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1587 New file.
1588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1589 multiarch lrint for PowerPC32.
1590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1591 file: multiarch lrintf for PowerPC32.
1592
deb66480
AZ
15932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1594
1595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1596 and lroundf multiarch implementations.
1597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1598 New file.
1599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1600 New file.
1601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1602 New file.
1603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1604 multiarch lround for PowerPC32.
1605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1606 file: multiarch lroundf for PowerPC32.
1607
264b036b
AZ
16082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1609
1610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1611 copysign and copysignf multiarch implementations.
1612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1613 New file.
1614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1615 New file.
1616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1617 file: multiarch copysign for PowerPC32.
1618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1619 file: multiarch copysignf for PowerPC32.
1620
d47db6c9
AZ
16212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1622
1623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1624 and truncf multiarch implementations.
1625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1626 New file.
1627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1628 file.
1629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1630 multiarch trunc for PowerPC32.
1631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1632 New file.
1633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1634 New file.
1635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1636 multiarch truncf for PowerPC32.
1637
ddb60b5a
AZ
16382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1639
1640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1641 and roundf multiarch implementations.
1642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1643 New file.
1644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1645 file.
1646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1647 multiarch round for PowerPC32.
1648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1649 New file.
1650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1651 New file.
1652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1653 multiarch roundf for PowerPC32.
1654
bedcf49b
AZ
16552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1656
1657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1658 and floorf multiarch implementations.
1659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1660 New file.
1661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1662 file.
1663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1664 multiarch floor for PowerPC32.
1665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1666 New file.
1667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1668 New file.
1669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1670 multiarch floorf for PowerPC32.
1671
35ae5b40
AZ
16722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1673
1674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1675 and ceilf multiarch implementations.
1676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1677 New file.
1678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1679 file.
1680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1681 multiarch ceil for PowerPC32.
1682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1683 New file.
1684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1685 file.
1686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1687 multiarch ceilf for PowerPC32.
1688
ae1a4cd9
AZ
16892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1690
1691 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1692 is defined.
1693 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1694 FINITEF is defined.
1695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1696 and finitef multiarch implementations.
1697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1698 New file.
1699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1700 file.
1701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1702 multiarch finite for PowerPC32.
1703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1704 New file.
1705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1706 file: multiarch finitef for PowerPC32.
1707
64fffd65
AZ
17082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1709
1710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1711 and isinff multiarch implementations.
1712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1713 file.
1714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1715 file.
1716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1717 multiarch isinf for PowerPC32.
1718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1719 New file.
1720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1721 multiarch isinff for PowerPC32.
1722
8e4e7ba2
AZ
17232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1724
1725 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1726 alias when __isnan is defined.
1727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1728 and isnanf multiarch implementations.
1729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1730 file.
1731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1732 file.
1733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1734 file.
1735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1736 file.
1737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1738 multiarch isnan for PowerPC32.
1739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1740 New file.
1741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1742 New file.
1743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1744 multiarch isnanf for PowerPC32.
1745
ddba588e
AZ
17462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1747
1748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1749 and sqrtf multiarch implementations.
1750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1751 file.
1752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1753 file.
1754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1755 multiarch sqrt for PowerPC32.
1756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1757 file.
1758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1759 file.
1760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1761 multiarch sqrtf for PowerPC32.
1762
0f96a2f0
AZ
17632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1764
1765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1766 and llroundf multiarch implementations.
1767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1768 New file.
1769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1770 New file.
1771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1772 New file.
1773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1774 file: multiarch llround for PowerPC32.
1775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1776 file: multiarch llroundf for PowerPC32.
1777
c9b5d79e
AZ
17782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1779
1780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1781 multiarch PowerPC32 fpu implementations.
1782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1783 New file.
1784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1785 New file.
1786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1787 multiarch llrint for PowerPC32.
1788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1789 New file.
1790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1791 New file.
1792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1793 file.
1794
9cbb3aab
AZ
17952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1796
1797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1798
ea5a72f8
AZ
17992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1800
1801 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1802 file.
1803 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1804 file.
1805 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1806 file.
1807 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1808 multiarch wordcopy for PPC32.
1809 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1810 wordcopy objects.
1811 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1812 (__libc_ifunc_impl_list): Likewise.
1813 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1814 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1815 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1816 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1817 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1818 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1819
93be09e7
AZ
18202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1821
1822 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1823 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1824 file.
1825 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1826 file.
1827 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1828 file.
1829 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1830 multiarch wcscpy for PPC32.
1831 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1832 multiarch objects.
1833 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1834 (__libc_ifunc_impl_list): Likewise.
1835 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1836 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1837 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1838 sysdeps/powerpc/power6/wcscpy.c.
1839
bb04e529
AZ
18402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1841
1842 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1843 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1844 file.
1845 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1846 file.
1847 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1848 file.
1849 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1850 multiarch wcsrchr for PPC32.
1851 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1852 multiarch objects.
1853 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1854 (__libc_ifunc_impl_list): Likewise.
1855 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1856 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1857 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1858 sysdeps/powerpc/power6/wcsrchr.c.
1859
05b5cd1c
AZ
18602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1861
1862 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1863 file.
1864 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1865 file.
1866 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1867 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1868 multiarch wcschr for PPc32.
1869 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1870 multiarch objects.
1871 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1872 (__libc_ifunc_impl_list): Likewise.
1873 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1874 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1875 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1876 sysdeps/powerpc/power6/wcschr.c.
1877
ba964147
AZ
18782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1879
1880 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1881 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1882 file.
1883 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1884 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1885 file: multiarch strchr for PPC32.
1886 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1887 multiarch objects.
1888 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1889 (__libc_ifunc_impl_list): Likewise.
1890
31c81aaa
AZ
18912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1892
1893 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1894 name.
1895 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1896 file.
1897 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1898 file.
1899 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1900 multiarch strchrnul for PPC32.
1901 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1902 multiarch objects.
1903 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1904 (__libc_ifunc_impl_list): Likewise.
1905
0d0607d9
AZ
19062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1907
1908 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1909 file.
1910 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1911 multiarch strncasecmp for PPC32.
1912 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1913 file.
1914 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1915 multiarch strncasecmp_l for PPC32.
1916 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1917 strncasecmp multiarch objects.
1918 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1919 (__libc_ifunc_impl_list): Likewise.
1920
4dfd5c86
AZ
19212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1922
1923 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1924 file.
1925 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1926 multiarch strncasecmp for PPC32.
1927 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1928 New file.
1929 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1930 multiarch strcasecmp_l for PPC32.
1931 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1932 multiarch objects.
1933 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1934 (__libc_ifunc_impl_list): Likewise.
1935
a19e01a3
AZ
19362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1937
1938 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1939 file.
1940 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1941 file.
1942 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1943 multiarch strncmp for PPC32.
1944 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1945 multiarch objects.
1946 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1947 (__libc_ifunc_impl_list): Likewise.
1948
ae9cf7a2
AZ
19492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1950
1951 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1952 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1953 file.
1954 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1955 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1956 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1957 multiarch objects.
1958 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1959 (__libc_ifunc_impl_list): Likewise.
1960
3148bb7d
AZ
19612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1962
1963 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1964 file.
1965 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1966 file.
1967 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1968 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1969 multiarch objects.
1970 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1971 (__libc_ifunc_impl_list): Likewise.
1972
7af8b946
AZ
19732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1974
1975 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1976 file.
1977 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1978 file.
1979 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1980 multiarch rawmemchr for PPC32.
1981 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1982 multiarch objects.
1983 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1984 (__libc_ifunc_impl_list): Likewise.
1985
03a6aa6a
AZ
19862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1987
1988 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1989 file.
1990 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1991 file.
1992 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1993 file: memrchr multiarch for PPC32.
1994 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1995 multiarch objects.
1996 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1997 (__libc_ifunc_impl_list): Likewise.
1998
1c62e6d9
AZ
19992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2000
2001 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2002 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2003 file.
2004 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2005 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2006 multiarch memchr for PPC32.
2007 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2008 multiarch objects.
2009 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2010 (__libc_ifunc_impl_list): Likewise.
2011
87da8bdb
AZ
20122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2013
2014 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2015 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2016 file.
2017 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2018 file.
2019 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2020 file: multiarch mempcpy for PPC32.
2021 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2022 multiarch objects.
2023 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2024 (__libc_ifunc_impl_list): Likewise.
2025
20ed4714
AZ
20262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2027
2028 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2029 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2030 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2031 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2032 multiarch bzero for PPC32.
2033 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2034 file.
2035 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2036 file.
2037 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2038 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2039 file: multiarch memset for PPC32.
2040 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2041 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2042 memset multiarch objects.
2043 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2044 (__libc_ifunc_impl_list): Likewise.
2045
ab3e3a46
AZ
20462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2047
2048 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2049 file.
2050 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2051 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2052 memcmp for PPC32.
2053 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2054 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2055 multiarch objects.
2056 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2057 (__libc_ifunc_impl_list): Likewise.
2058
930de6f0
AZ
20592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2060
2061 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2062 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2063 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2064 file.
2065 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2066 file.
2067 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2068 file.
2069 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2070 multiarch memcpy for PPC32.
2071 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2072 multiarch objects.
2073 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2074 (__libc_ifunc_impl_list): Likewise.
2075
4c628e00
AZ
20762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2077
2078 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2079 support multiarch for POWER/PPC32.
2080 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2081 Likewise.
2082 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2084 Implies file to make multiarch folder appers before the fpu and
2085 default folder for power4 configuration.
2086
f4479220
SP
20872013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2088
2089 * scripts/bench.pl: Append volatile keyword to type.
2090
8517800f
KK
20912013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2092
2093 * sysdeps/sh/sotruss-lib.c: New file.
2094 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2095
180138f1
AZ
20962013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2097
2098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2099
bbf37bdc
JM
21002013-12-05 Joseph Myers <joseph@codesourcery.com>
2101
e47cc4e0
JM
2102 [BZ #6810]
2103 * math/w_tgamma.c: Include <errno.h>.
2104 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2105 * math/w_tgammaf.c: Include <errno.h>.
2106 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2107 * math/w_tgammal.c: Include <errno.h>.
2108 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2109 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2110 underflow. Add more tgamma tests.
2111 * math/auto-libm-test-out: Regenerated.
2112 * sysdeps/i386/fpu/libm-test-ulps: Update.
2113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2114
bbf37bdc
JM
2115 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2116 sin, sinh, tan, tanh, tgamma, y0 and y1.
2117 * math/auto-libm-test-out: Regenerated.
2118 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2119 (TEST_COND_x86): Likewise.
2120 (M_E2l): Remove macro.
2121 (M_E3l): Likewise.
2122 (M_2_SQRT_PIl): Likewise.
2123 (M_SQRT_PIl): Likewise.
2124 (M_1_DIV_El): Likewise.
2125 (log_test_data): Use AUTO_TESTS_f_f.
2126 (log10_test_data): Likewise.
2127 (log1p_test_data): Likewise.
2128 (log2_test_data): Likewise.
2129 (sin_test_data): Likewise.
2130 (sin_tonearest_test_data): Likewise.
2131 (sin_towardzero_test_data): Likewise.
2132 (sin_downward_test_data): Likewise.
2133 (sin_upward_test_data): Likewise.
2134 (sinh_test_data): Likewise.
2135 (sinh_tonearest_test_data): Likewise.
2136 (sinh_towardzero_test_data): Likewise.
2137 (sinh_downward_test_data): Likewise.
2138 (sinh_upward_test_data): Likewise.
2139 (tan_test_data): Likewise.
2140 (tan_tonearest_test_data): Likewise.
2141 (tan_towardzero_test_data): Likewise.
2142 (tan_downward_test_data): Likewise.
2143 (tan_upward_test_data): Likewise.
2144 (tanh_test_data): Likewise.
2145 (tgamma_test_data): Likewise.
2146 (y0_test_data): Likewise.
2147 (y1_test_data): Likewise.
2148 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2149 (special_real_inputs): Add pi/4.
2150 * sysdeps/i386/fpu/libm-test-ulps: Update.
2151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2152
eb5ad6b9
AZ
21532013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2154
2155 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2156 "longjmp_target" static probes.
2157 (__longjmp): Rename to __longjmp_symbol.
2158 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2159 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2160 on which longjmp to generate.
2161 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2162 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2163 probe.
2164 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2165 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2166 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2167 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2168 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2169 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2171 __longjmp_symbol based on which __longjmp to generate.
2172 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2173 probe.
2174 (setjmp): Rename to setjmp_symbol.
2175 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2176 (_setjmp): Rename to _setjmp_symbol.
2177 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2178 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2179 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2180 which setjmp to generate.
2181 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2182 "longjmp_target" static probes.
2183
d136c6dc
SP
21842013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2185
9298ecba
SP
2186 * benchtests/README: Add note about output arguments.
2187 * benchtests/bench-sincos.c: Remove file.
2188 * benchtests/sincos-inputs: New file.
2189 * scripts/bench.pl: Identify output arguments and define
2190 static variables for them.
2191
232983e9
SP
2192 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2193
d136c6dc
SP
2194 [BZ #15941]
2195 * Makefile (INSTALL): Add install-plain.texi as the primary
2196 dependency.
2197 * manual/install-plain.texi: New file.
2198 * manual/install.texi: Include node directive only for
2199 non-plaintext output.
2200
699ff837
JM
22012013-12-04 Joseph Myers <joseph@codesourcery.com>
2202
ab07cea8
JM
2203 * stdlib/longlong.h: Update from GCC.
2204
699ff837
JM
2205 [BZ #6807]
2206 [BZ #15901]
2207 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2208 * math/w_j0f.c (y0f): Likewise.
2209 * math/w_j0l.c (__y0l): Likewise.
2210 * math/w_j1.c (y1): Likewise.
2211 * math/w_j1f.c (y1f): Likewise.
2212 * math/w_j1l.c (__y1l): Likewise
2213 * math/w_jn.c (yn): Likewise.
2214 * math/w_jnf.c (ynf): Likewise.
2215 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2216 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2217 value for Bessel function domain errors outside _SVID_ mode.
2218 Adjust sign of return value for yn (negative integer, 0).
2219 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2220 by zero in return for negative x and set sign appropriately for
2221 negative n.
2222 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2223 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2224 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2225 expectations in error cases.
2226 (y1_test_data): Likewise.
2227 (yn_test_data): Likewise.
2228 * sysdeps/i386/fpu/libm-test-ulps: Update.
2229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2230
5b118558
UW
22312013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2232
2233 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2234 "64" to "64-v1". Add "64-v2".
2235 (abi-64-options): Rename to ...
2236 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2237 (abi-64-condition): Rename to ...
2238 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2239 (abi-64-ld-soname): Rename to ...
2240 (abi-64-v1-ld-soname): ... this.
2241 (abi-64-v2-options): Define.
2242 (abi-64-v2-condition): Likewise.
2243 (abi-64-v2-ld-soname): Likewise.
2244 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2245 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2249
61cd8fe4
UW
22502013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2251 Alan Modra <amodra@gmail.com>
2252
2253 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2254 New versions for use with the ELFv2 ABI.
2255 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2256 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2257 declaration.
2258 (struct La_ppc64v2_retval): Likewise.
2259 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2260 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2261 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2262 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2263 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2264 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2265 Do not save or restore CR.
2266 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2267 (_dl_profile_resolve): Do no save or restore CR. Support extended
2268 return values for ELFv2 ABI. Fix location of FPR return registers.
2269 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2270 updated values for _CALL_ELF == 2.
2271 (La_regs, La_retval, int_retval): Likewise.
2272
8b8a692c
UW
22732013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2274
2275 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2276 (FRAME_MIN_SIZE_PARM): Likewise.
2277 (FRAME_BACKCHAIN): Likewise.
2278 (FRAME_CR_SAVE): Likewise.
2279 (FRAME_LR_SAVE): Likewise.
2280 (FRAME_TOC_SAVE): Likewise.
2281 (FRAME_PARM_SAVE): Likewise.
2282 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2283 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2284 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2285 (call_mcount_parm_offset): New macro.
2286 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2287 (PROF): Use symbolic stack frame offsets.
2288 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2289 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2290 Redefine in terms of FRAME_MIN_SIZE.
2291 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2292 (_dl_profile_resolve): Likewise. Update comment.
2293 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2294 symbols stack frame offsets.
2295 (__sigsetjmp): Likewise.
2296 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2297 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2298 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2299 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2300
2301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2302 (FRAME_BACKCHAIN): Remove.
2303 (FRAME_CR_SAVE): Likewise.
2304 (FRAME_LR_SAVE): Likewise.
2305 (FRAME_COMPILER_DW): Likewise.
2306 (FRAME_LINKER_DW): Likewise.
2307 (FRAME_TOC_SAVE): Likewise.
2308 (FRAME_PARM_SAVE): Likewise.
2309 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2310 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2311 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2313 (CHECK_SP): Use symbolic stack frame offsets.
2314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2315 zone" instead of caller's parameter save area for temp storage.
2316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2317 Likewise. Also, use symbolic stack frame offsets.
2318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2319 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2320 our own stack frame instead of the caller's.
2321 (__socket): Use symbolic stack frame offsets.
2322
122b66de
UW
23232013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2324 Alan Modra <amodra@gmail.com>
2325
2326 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2327 Define.
2328 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2329 PPC64_LOCAL_ENTRY_OFFSET): Define.
2330 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2331 New function.
2332 (elf_machine_fixup_plt): Call it.
2333 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2334 reloc arguments.
2335 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
2336 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2337 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
2338 r2 before calling target.
2339
696caf1d
UW
23402013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2341 Alan Modra <amodra@gmail.com>
2342
2343 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2344 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2345 versions of macros to support ELFv2 ABI.
2346 (LOCALENTRY): New macro.
2347 (ENTRY, EALIGN): Use it.
2348 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2349 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2350 fall through into ENTRY entry point.
2351 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2352 Only define if _CALL_ELF != 2.
2353
2354 (elf_machine_matches_host): Verify ABI version matches.
2355 (RTLD_START): Use LOCALENTRY.
2356 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2357 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2358 (PLT_ENTRY_WORDS): New macro.
2359 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2360 (elf_machine_runtime_setup): Support ELFv2 ABI.
2361 (elf_machine_fixup_plt): Likewise.
2362 (elf_machine_plt_conflict): Likewise.
2363 (resolve_ifunc): Likewise.
2364 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2365 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2366 Likewise.
2367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2368 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2370 (makecontext): Support ELFv2 ABI.
2371 * elf/elf.h (EF_PPC64_ABI): Define.
2372
d31beafa
UW
23732013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2374
2375 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2376 New assembler macro.
2377 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2378 [ASSEMBLER] (ENTRY): ... but instead here ...
2379 [ASSEMBLER] (EALIGN): ... and here.
2380 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2381 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2382 [!ASSEMBLER] (ENTRY_2): Use it.
2383 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2384 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2385 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2386 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2387 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2389 Use PPC64_LOAD_FUNCPTR.
2390
b525166b
UW
23912013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2392
2393 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2394
7ec07d9a
AM
23952013-12-04 Alan Modra <amodra@gmail.com>
2396
2397 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2398 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2399 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2400 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2401
2402 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2403 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2404 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2405 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2406 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2407 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2408
5162e7dd
UW
24092013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2410
2411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2412 (__makecontext): Fix incorrect CFI when backtracing out of
2413 context created via makecontext.
2414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2415 (__setcontext): Fix incorrect CFI during switch to new context.
2416 (__novec_setcontext): Likewise.
2417
19e3372b
OB
24182013-12-04 Ondřej Bílka <neleai@seznam.cz>
2419
2420 [BZ #4772]
2421 * time/strptime_l.c (__strptime_internal): Allow modifiers
2422 in strptime.
2423 * time/tst-strptime.c (day_tests): Add testcase.
2424
2425
ecaf142d
SP
24262013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2427
2428 * scripts/bench.pl: Skip over blank lines.
2429
fbf964ae
PE
24302013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2431
2432 [BZ #926]
2433 * manual/time.texi (Calendar Time): Clarify what timezone functions
2434 use.
2435
fa60a674
AZ
24362013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2437
2438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2439
d674f0ef
OB
24402013-12-04 Ondřej Bílka <neleai@seznam.cz>
2441
2442 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2443 implementation.
2444 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2445 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2446 * debug/memset_chk.c (__memset_chk): Likewise.
2447 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2448 * debug/strncpy_chk.c: Likewise.
2449
17dea188
JM
24502013-12-03 Joseph Myers <joseph@codesourcery.com>
2451
749008ff
JM
2452 [BZ #15268]
2453 [BZ #15425]
2454 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2455 (__ieee754_exp): For possibly underflowing results, check size of
2456 result and force underflow exception if required.
2457 * math/auto-libm-test-in: Add more tests of exp.
2458 * math/auto-libm-test-out: Regenerated.
2459 * sysdeps/i386/fpu/libm-test-ulps: Update.
2460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2461
17dea188
JM
2462 [BZ #16283]
2463 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2464 * math/w_exp2f.c (__exp2f): Likewise.
2465 * math/w_exp2l.c (__exp2l): Likewise.
2466 * math/auto-libm-test-in: Do not allow missing errno on exp2
2467 underflow.
2468 * math/auto-libm-test-out: Regenerated.
2469
b20de2c3
OB
24702013-12-03 Ondřej Bílka <neleai@seznam.cz>
2471
2472 [BZ #16274]
2473 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2474 handle filename validation.
2475 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2476 (do_open): Delete.
2477
d8e2dbe3
JM
24782013-12-03 Joseph Myers <joseph@codesourcery.com>
2479
34e16df5
JM
2480 [BZ #6786]
2481 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2482 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2483 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2484 <float.h>.
2485 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2486 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2487 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2488 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2489 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2490 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2491 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2492 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2493 Add more erfc tests.
2494 * math/auto-libm-test-out: Regenerated.
2495 * sysdeps/i386/fpu/libm-test-ulps: Update.
2496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2497
d8e2dbe3
JM
2498 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2499 exp2, expm1, j0 and j1.
2500 * math/auto-libm-test-out: Regenerated.
2501 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2502 (erfc_test_data): Likewise.
2503 (exp_test_data): Likewise.
2504 (exp_tonearest_test_data): Likewise.
2505 (exp_towardzero_test_data): Likewise.
2506 (exp_downward_test_data): Likewise.
2507 (exp_upward_test_data): Likewise.
2508 (exp10_test_data): Likewise.
2509 (exp2_test_data): Likewise.
2510 (expm1_test_data): Likewise.
2511 (j0_test_data): Likewise.
2512 (j1_test_data): Likewise.
2513 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2514 (input_flag_type): Add flag_xfail_rounding.
2515 (input_flags): Add xfail-rounding.
2516 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2517 (output_for_one_input_case): Handle flag_xfail_rounding.
2518 * sysdeps/i386/fpu/libm-test-ulps: Update.
2519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2520
18d14251
AJ
25212013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2522
3d2e6075 2523 [BZ #16289]
18d14251
AJ
2524 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2525 division by 0.
2526
520d437b
SP
25272013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2528
2529 [BZ #16195]
2530 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2531 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2532 (STAP_PROBE0): New macro.
2533 (STAP_PROBE1): Likewise.
2534 (STAP_PROBE2): Likewise.
2535 (STAP_PROBE3): Likewise.
2536 (STAP_PROBE4): Likewise.
2537
416e0145
OB
25382013-12-02 Ondřej Bílka <neleai@seznam.cz>
2539
2540 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2541
9d17796a
SE
25422013-12-02 Steve Ellcey <sellcey@mips.com>
2543
2544 * benchtests/Makefile (bench): Add sqrt.
2545 (LDLIBS-bench-sqrt): New.
2546 * benchtests/sqrt-input: New.
2547
f524d6a8
PS
25482013-12-02 Pavel Simerda <psimerda@redhat.com>
2549
639a0ef8
PS
2550 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2551 (GAIH_EAI): Likewise.
2552 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2553 (gaih_inet): Likewise.
2554 (getaddrinfo): Don't use GAIH_EAI.
2555
f524d6a8
PS
2556 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2557 (struct gaih): Remove definition.
2558
df3aedaf
SP
25592013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2560
2561 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2562 Use HERRNOP directly.
2563
1ab19dec
AZ
25642013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2565
b42ad38d 2566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 2567
176b0c79
JM
25682013-11-30 Joseph Myers <joseph@codesourcery.com>
2569
2570 * math/gen-auto-libm-tests.c (test_functions): Add more
2571 single-argument functions.
2572 (special_fill_pi_2): New function.
2573 (special_fill_minus_pi_2): Likewise.
2574 (special_fill_pi_6): Likewise.
2575 (special_fill_minus_pi_6): Likewise.
2576 (special_fill_pi_3): Likewise.
2577 (special_fill_2pi_3): Likewise.
2578 (special_fill_e): Likewise.
2579 (special_fill_1_e): Likewise.
2580 (special_fill_e_minus_1): Likewise.
2581 (special_real_inputs): Add more special inputs.
2582 (output_for_one_input_case): Do not require ERANGE on underflow to
2583 zero if round-to-nearest result does not underflow to zero, unless
2584 exact results required.
2585 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2586 atan, atanh, cbrt, cos and cosh.
2587 * math/auto-libm-test-out: Regenerated.
2588 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2589 (acos_tonearest_test_data): Likewise.
2590 (acos_towardzero_test_data): Likewise.
2591 (acos_downward_test_data): Likewise.
2592 (acos_upward_test_data): Likewise.
2593 (acosh_test_data): Likewise.
2594 (asin_test_data): Likewise.
2595 (asin_tonearest_test_data): Likewise.
2596 (asin_towardzero_test_data): Likewise.
2597 (asin_upward_test_data): Likewise.
2598 (asinh_test_data): Likewise.
2599 (atan_test_data): Likewise.
2600 (atanh_test_data): Likewise.
2601 (cbrt_test_data): Likewise.
2602 (cos_test_data): Likewise.
2603 (cos_tonearest_test_data): Likewise.
2604 (cos_towardzero_test_data): Likewise.
2605 (cos_downward_test_data): Likewise.
2606 (cos_upward_test_data): Likewise.
2607 (cosh_test_data): Likewise.
2608 (cosh_tonearest_test_data): Likewise.
2609 (cosh_towardzero_test_data): Likewise.
2610 (cosh_downward_test_data): Likewise.
2611 (cosh_upward_test_data): Likewise.
2612 * sysdeps/i386/fpu/libm-test-ulps: Update.
2613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2614
ffb536d0
JM
26152013-11-29 Joseph Myers <joseph@codesourcery.com>
2616
2a77a467
JM
2617 [BZ #6787]
2618 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2619 * math/w_exp10f.c (__exp10f): Likewise.
2620 * math/w_exp10l.c (__exp10l): Likewise.
2621 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2622 errno settings in existing tests.
2623
ea3bc4e8
JM
2624 [BZ #14032]
2625 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2626 precision control set to double precision.
2627 * sysdeps/i386/fpu/w_sqrt.c: New file.
2628 * math/auto-libm-test-in: Add more tests.
2629 * math/auto-libm-test-out: Update.
2630
0712c9d8
JM
2631 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2632 (sqrt_test_tonearest): New function.
2633 (sqrt_towardzero_test_data): New variable.
2634 (sqrt_test_towardzero): New function.
2635 (sqrt_downward_test_data): New variable.
2636 (sqrt_test_downward): New function.
2637 (sqrt_upward_test_data): New variable.
2638 (sqrt_test_upward): New function.
2639 (main): Call the new functions.
2640
ffb536d0
JM
2641 * math/gen-auto-libm-tests.c: New file.
2642 * math/auto-libm-test-in: Likewise.
2643 * math/auto-libm-test-out: New generated file.
2644 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2645 variables.
2646 (%beautify): Add generated representations of zero.
2647 (top level): Set $auto_input and call parse_auto_input.
2648 (beautify): Remove trailing "f" from hex float constants.
2649 (parse_args): Handle XFAIL_TEST.
2650 (convert_condition): New function.
2651 (or_value): Likewise.
2652 (or_cond_value): Likewise.
2653 (generate_testfile): Handle AUTO_TESTS_* lines.
2654 (parse_auto_input): New function.
2655 * math/libm-test.inc (XFAIL_TEST): New macro.
2656 (ERRNO_UNCHANGED): Update value.
2657 (ERRNO_EDOM): Likewise.
2658 (ERRNO_ERANGE): Likewise.
2659 (IGNORE_RESULT): Likewise.
2660 (TEST_COND_flt_32): New macro.
2661 (TEST_COND_dbl_64): Likewise.
2662 (TEST_COND_ldbl_96_intel): Likewise.
2663 (TEST_COND_ldbl_96_m68k): Likewise.
2664 (TEST_COND_ldbl_128): Likewise.
2665 (TEST_COND_ldbl_128ibm): Likewise.
2666 (TEST_COND_long32): Likewise.
2667 (TEST_COND_long64): Likewise.
2668 (TEST_COND_before_rounding): Likewise.
2669 (TEST_COND_after_rounding): Likewise.
2670 (enable_test): Handle XFAIL_TEST flag.
2671 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2672 with finite results.
2673 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2674 auto-libm-test-out.
2675
acd98a8e
AK
26762013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2677 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2678
2679 [BZ #16214]
2680 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2681 __tls_get_addr_internal instead of __tls_get_offset in order to
2682 avoid GOT pointer dependency. Make rtld export
2683 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2684 __tls_get_addr since we are a __tls_get_offset platform.
2685 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2686 GOT pointer being set up before.
2687 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2688
3c1c46a6
JM
26892013-11-28 Joseph Myers <joseph@codesourcery.com>
2690
7475aef5
JM
2691 * manual/math.texi (Errors in Math Functions): Document accuracy
2692 goals.
2693
8bca7cd8
JM
2694 [BZ #15004]
2695 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2696 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2697 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2698 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2699 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2700 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2701 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2702 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2703 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2704 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2705 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2706 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2707 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2708 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2709 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2710 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2711
91a1f3fe
JM
2712 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2713 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2714 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2715 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2716 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2717 Likewise.
2718 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2719 Likewise.
2720 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2721 Likewise.
2722 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2723 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2724 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2725 atomic-feupdateenv and flt-rounds.
2726 * sysdeps/powerpc/nofpu/Versions (libc): Add
2727 __atomic_feholdexcept, __atomic_feclearexcept,
2728 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2729 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2730 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2731 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2732 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2733 here.
2734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2735 Update.
2736
c5df7609
JM
2737 * manual/arith.texi (FP Exceptions): Document that exceptions may
2738 not be raised when matherr is used.
2739 (Math Error Reporting): Document overflow in directed rounding
2740 modes. Document that errno may not be set when finite values are
2741 returned on overflow. Document intent to set errno on underflow
2742 only for underflow to zero.
2743
3c1c46a6
JM
2744 [BZ #16271]
2745 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2746 round-to-nearest then adjust result for other rounding modes.
2747 * include/fenv.h (fegetround): Use libm_hidden_proto.
2748 * math/fegetround.c (fegetround): Use libm_hidden_def.
2749 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2750 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2751 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2752 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2753 Likewise.
2754 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2755 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2756 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2757 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2758
5a4c6d53
SP
27592013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2760
2761 [BZ #16077]
2762 * nss/Versions (libnss_files): Add
2763 _nss_files_gethostbyname3_r.
2764 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2765 New function.
2766 (HOST_DB_LOOKUP): Remove macro.
2767 (_nss_files_gethostbyname_r): Implement function without the
2768 HOST_DB_LOOKUP macro.
2769 (_nss_files_gethostbyname2_r): Likewise.
2770
897b98ba
OB
27712013-11-28 Ondřej Bílka <neleai@seznam.cz>
2772
2773 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2774
6f476861
UB
27752013-11-26 Uros Bizjak <ubizjak@gmail.com>
2776
2777 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2778 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2779 warning.
2780
bd12ab55
AZ
27812013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2782
2783 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2784 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2785 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2786 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2787 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2788 __fe_nomask_env_priv and attribute_hidden.
2789 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2790 (libc_feupdateenv_test_ppc): Likewise.
2791 (libc_feresetround_ppc): Likewise.
2792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2793 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2794 compat_symbol macro.
2795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2796 (__fe_nomask_env): Likewise.
2797 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2798
52bb6543
OB
27992013-11-26 Ondřej Bílka <neleai@seznam.cz>
2800
2801 * string/Makefile: Remove ifunc tests.
2802 * string/test-string.h: Define TEST_IFUNC.
2803 * string/test-bcopy-ifunc.c: Remove.
2804 * string/test-bzero-ifunc.c: Likewise.
2805 * string/test-memccpy-ifunc.c: Likewise.
2806 * string/test-memchr-ifunc.c: Likewise.
2807 * string/test-memcmp-ifunc.c: Likewise.
2808 * string/test-memcpy-ifunc.c: Likewise.
2809 * string/test-memmem-ifunc.c: Likewise.
2810 * string/test-memmove-ifunc.c: Likewise.
2811 * string/test-mempcpy-ifunc.c: Likewise.
2812 * string/test-memrchr-ifunc.c: Likewise.
2813 * string/test-memset-ifunc.c: Likewise.
2814 * string/test-rawmemchr-ifunc.c: Likewise.
2815 * string/test-stpcpy-ifunc.c: Likewise.
2816 * string/test-stpncpy-ifunc.c: Likewise.
2817 * string/test-strcasecmp-ifunc.c: Likewise.
2818 * string/test-strcasestr-ifunc.c: Likewise.
2819 * string/test-strcat-ifunc.c: Likewise.
2820 * string/test-strchr-ifunc.c: Likewise.
2821 * string/test-strchrnul-ifunc.c: Likewise.
2822 * string/test-strcmp-ifunc.c: Likewise.
2823 * string/test-strcpy-ifunc.c: Likewise.
2824 * string/test-strcspn-ifunc.c: Likewise.
2825 * string/test-strlen-ifunc.c: Likewise.
2826 * string/test-strncasecmp-ifunc.c: Likewise.
2827 * string/test-strncat-ifunc.c: Likewise.
2828 * string/test-strncmp-ifunc.c: Likewise.
2829 * string/test-strncpy-ifunc.c: Likewise.
2830 * string/test-strnlen-ifunc.c: Likewise.
2831 * string/test-strpbrk-ifunc.c: Likewise.
2832 * string/test-strrchr-ifunc.c: Likewise.
2833 * string/test-strspn-ifunc.c: Likewise.
2834 * string/test-strstr-ifunc.c: Likewise.
2835
ab260039 28362013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
2837
2838 * benchtests/Makefile: Remove ifunc tests.
2839 * benchtests/bench-string.h: Define TEST_IFUNC.
2840 * benchtests/bench-bcopy-ifunc.c: Remove.
2841 * benchtests/bench-bzero-ifunc.c: Likewise.
2842 * benchtests/bench-memccpy-ifunc.c: Likewise.
2843 * benchtests/bench-memchr-ifunc.c: Likewise.
2844 * benchtests/bench-memcmp-ifunc.c: Likewise.
2845 * benchtests/bench-memcpy-ifunc.c: Likewise.
2846 * benchtests/bench-memmem-ifunc.c: Likewise.
2847 * benchtests/bench-memmove-ifunc.c: Likewise.
2848 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2849 * benchtests/bench-memrchr-ifunc.c: Likewise.
2850 * benchtests/bench-memset-ifunc.c: Likewise.
2851 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2852 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2853 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2854 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2855 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2856 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2857 * benchtests/bench-strcat-ifunc.c: Likewise.
2858 * benchtests/bench-strchr-ifunc.c: Likewise.
2859 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2860 * benchtests/bench-strcmp-ifunc.c: Likewise.
2861 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2862 * benchtests/bench-strcpy-ifunc.c: Likewise.
2863 * benchtests/bench-strcspn-ifunc.c: Likewise.
2864 * benchtests/bench-strlen-ifunc.c: Likewise.
2865 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2866 * benchtests/bench-strncat-ifunc.c: Likewise.
2867 * benchtests/bench-strncmp-ifunc.c: Likewise.
2868 * benchtests/bench-strncpy-ifunc.c: Likewise.
2869 * benchtests/bench-strnlen-ifunc.c: Likewise.
2870 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2871 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 2872 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
2873 * benchtests/bench-strspn-ifunc.c: Likewise.
2874 * benchtests/bench-strstr-ifunc.c: Likewise.
2875
28762013-11-26 Ondřej Bílka <neleai@seznam.cz>
2877
ab260039
OB
2878 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2879
d1d9eaf4 28802013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 2881
d1d9eaf4
OB
2882 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2883 * rt/aio.h: Likewise.
2884 * sysdeps/gnu/bits/utmp.h: Likewise.
2885 * sysdeps/gnu/bits/utmpx.h: Likewise.
2886 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2887 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2888 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2889 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2890 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2891 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2892 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2893 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2894 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2895 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2896 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2897 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2898 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2900 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2901 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2902 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2903 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2904 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2905 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2906 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2907 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2908 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2909 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2910 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2911 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2912 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2913 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2914 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2915 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2916 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2917 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2918 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2919 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2920 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2921 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2922 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2923 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2924 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2925 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2926 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2927 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2928
a7624ed9
CD
29292013-11-25 Carlos O'Donell <carlos@redhat.com>
2930
2931 [BZ #16245]
2932 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2933 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2934
63cfe52b
JM
29352013-11-25 Joseph Myers <joseph@codesourcery.com>
2936
2937 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2938 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2939 Likewise.
2940
41e8926a
AZ
29412013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2942
2943 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2944 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2945 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2946 (__fesetround): Remove define.
2947 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2948 rounding and exceptions handling.
2949 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2950 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2951 (__fe_nomask_env): Likewise.
2952 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2953 __fegetround instead of fegetround.
2954 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2955 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2956
6851bd4d
RM
29572013-11-21 Roland McGrath <roland@hack.frob.com>
2958
070906ff
RM
2959 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2960 it's there.
2961
6851bd4d
RM
2962 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2963
84ae135d
MI
29642013-11-21 Meador Inge <meadori@codesourcery.com>
2965
2966 [BZ #11157]
2967 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2968 (encrypt_r): Likewise.
2969 * malloc/obstack.h (obstack_free): Likewise.
2970 * posix/unistd.h (encrypt): Likewise.
2971
daf75146
GM
29722013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2973
2974 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2975 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2976 DL_CALL_DT_FINI() that call the functions directly.
2977 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2978 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2979 * elf/dl-fini.c: Likewise.
2980
10ad46bc
OB
29812013-11-20 Ondřej Bílka <neleai@seznam.cz>
2982
2983 * malloc/hooks.c (memalign_check): Add alignment rounding.
2984 * malloc/malloc.c (_mid_memalign): New function.
2985 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2986 Implement by calling _mid_memalign.
2987 * manual/probes.texi (Memory Allocation Probes): Remove
2988 memory_valloc_retry and memory_pvalloc_retry.
2989
f3fd2628
SP
29902013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2991
4712799f
SP
2992 * locale/programs/locarchive.c (open_archive): Add const
2993 qualifier to ARCHIVEFNAME and copy default fname to
2994 DEFAULT_FNAME.
2995
0417b20f
SP
2996 [BZ #15601]
2997 * libio/tst-widetext.input: Rename Oriya to Odia.
2998 * locale/iso-639.def: Likewise.
2999
f3fd2628
SP
3000 * manual/probes.texi (Mathematical Function Probes): Add
3001 documentation for sin, cos, asin and acos probes.
3002 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3003 (__sin32): Add slowasin probe.
3004 (__cos32): Add slowacos probe.
3005 (__mpsin): Add slowsin probe.
3006 (__mpcos): Add slowcos probe.
3007
73c1ce4f
JM
30082013-11-19 Joseph Myers <joseph@codesourcery.com>
3009
3010 [BZ #15483]
3011 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3012 thread-local __sim_exceptions_thread and global
3013 __sim_exceptions_global.
3014 (__sim_disabled_exceptions): Change to thread-local
3015 __sim_disabled_exceptions_thread and global
3016 __sim_disabled_exceptions_global.
3017 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3018 and global __sim_round_mode_global.
3019 (__simulate_exceptions): Use thread-local floating-point state and
3020 set global state from it as needed.
3021 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3022 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3023 __sim_round_mode_thread.
3024 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3025 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3026 and global __sim_exceptions_global.
3027 (__sim_disabled_exceptions): Change to thread-local
3028 __sim_disabled_exceptions_thread and global
3029 __sim_disabled_exceptions_global.
3030 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3031 and global __sim_round_mode_global.
3032 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3033 (SIM_SET_GLOBAL): Likewise.
3034 * sysdeps/powerpc/soft-fp/sfp-machine.h
3035 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3036 __sim_round_mode_thread.
3037 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3038 __sim_disabled_exceptions_thread.
3039 (__sim_exceptions): Change to __sim_exceptions_thread.
3040 (__sim_disabled_exceptions): Change to
3041 __sim_disabled_exceptions_thread.
3042 (__sim_round_mode): Change to __sim_round_mode_thread.
3043 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3044 thread-local floating-point state and set global state from it as
3045 needed.
3046 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3047 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3048 (__sim_disabled_exceptions): Remove extern declaration.
3049 (feenableexcept): Use thread-local floating-point state and set
3050 global state from it as needed.
3051 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3052 extern declaration.
3053 (__sim_disabled_exceptions): Likewise.
3054 (__sim_round_mode): Likewise.
3055 (__fegetenv): Use thread-local floating-point state.
3056 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3057 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3058 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3059 floating-point state and set global state from it as needed.
3060 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3061 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3062 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3063 Likewise.
3064 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3065 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3066 Likewise.
3067 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3068 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3069 Use __sim_round_mode_thread.
3070 * math/test-fenv-tls.c: New file.
3071 * math/Makefile (tests): Add test-fenv-tls.
3072 ($(objpfx)test-fenv-tls): Depend on
3073 $(common-objpfx)nptl/libpthread.so.
3074
b5449b12
AS
30752013-11-19 Andreas Schwab <schwab@suse.de>
3076
3077 * locale/programs/locale.c (show_info): Decode wordarray elements.
3078 * locale/categories.def (LC_MONETARY): Add element for
3079 _NL_MONETARY_CRNCYSTR.
3080 * locale/C-monetary.c (conversion_rate): New variable.
3081 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3082 element.
3083
e186536b
CM
30842013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3085
3086 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3087 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3088
5c349950
PP
30892013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3090
3091 * elf/Makefile (tst-auxv): New test.
3092 * elf/tst-auxv.c: New
3093 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3094
699df45b
JM
30952013-11-18 Joseph Myers <joseph@codesourcery.com>
3096
3097 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3098 (hidden_proto): Caller changed.
3099 (hidden_tls_proto): New macro.
3100 (libc_hidden_tls_proto): Likewise.
3101 (rtld_hidden_tls_proto): Likewise.
3102 (libm_hidden_tls_proto): Likewise.
3103 (libresolv_hidden_tls_proto): Likewise.
3104 (librt_hidden_tls_proto): Likewise.
3105 (libdl_hidden_tls_proto): Likewise.
3106 (libnss_files_hidden_tls_proto): Likewise.
3107 (libnsl_hidden_tls_proto): Likewise.
3108 (libnss_nisplus_hidden_tls_proto): Likewise.
3109 (libutil_hidden_tls_proto): Likewise.
3110
b7589107
OB
31112013-11-18 Ondřej Bílka <neleai@seznam.cz>
3112
3113 [BZ #10253]
3114 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3115 (decompose_rpath): Defer expansion to fillin_rpath.
3116 (_dl_init_paths): Pass linkmap to fillin_rpath.
3117
250c23bd
RS
31182013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3119
3120 * benchtests/Makefile: Add strsep.
3121 * benchtests/bench-strsep.c: New file: strsep benchtest.
3122 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3123
a7931fcf
AS
31242013-11-18 Andreas Schwab <schwab@suse.de>
3125
3126 * locale/programs/locale.c (show_info) [case byte]: Check for
3127 '\377' instead of '\177'.
3128 * locale/C-monetary.c (not_available): Always use "\377".
3129 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3130 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3131 detect unavailable sign_posn locale elements.
3132 * locale/localeconv.c (__localeconv): For grouping and
3133 mon_grouping handle "\177" and "\377" like no grouping.
3134 (INT_ELEM): New macro. Use it to set all numeric members.
3135 * locale/programs/ld-monetary.c (monetary_read)
3136 <tok_mon_grouping>: Normalize single -1 to the empty string.
3137 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3138 Likewise.
3139
728dab0e
OB
31402013-11-07 Ondřej Bílka <neleai@seznam.cz>
3141
3142 [BZ #16055]
3143 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3144 when we match (nil).
3145 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3146
66294491
JM
31472013-11-16 Joseph Myers <joseph@codesourcery.com>
3148
ce665817
JM
3149 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3150 (NO_TEST_INLINE): Update value.
3151 (ERRNO_UNCHANGED): Likewise.
3152 (ERRNO_EDOM): Likewise.
3153 (ERRNO_ERANGE): Likewise.
3154 (IGNORE_RESULT): Likewise.
3155 (check_float_internal): Check signs of NaN results if
3156 TEST_NAN_SIGN used.
3157 (check_complex): Pass TEST_NAN_SIGN flag through to second
3158 check_float_internal call.
3159 (copysign_test_data): Add tests with quiet NaNs as second
3160 argument. Use TEST_NAN_SIGN.
3161 (fabs_test_data): Add test of negative quiet NaN argument. Use
3162 TEST_NAN_SIGN.
3163 (signbit_test_data): Add tests of quiet NaN argument.
3164 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3165
ee1466a9
JM
3166 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3167 $ignore_result.
3168 (parse_args): Handle function results specified as IGNORE.
3169 * math/libm-test.inc (IGNORE_RESULT): New macro.
3170 (check_float_internal): Do not check numerical result if flag
3171 IGNORE_RESULT set.
3172 (check_complex): Pass through IGNORE_RESULT to second
3173 check_float_internal call.
3174 (check_int): Do not check numerical result if flag IGNORE_RESULT
3175 set.
3176 (check_long): Likewise.
3177 (check_bool): Likewise.
3178 (check_longlong): Likewise.
3179 (lrint_test_data): Add tests of infinite and NaN arguments.
3180 (lrint_tonearest_test_data): Likewise.
3181 (lrint_towardzero_test_data): Likewise.
3182 (lrint_downward_test_data): Likewise.
3183 (lrint_upward_test_data): Likewise.
3184 (llrint_test_data): Likewise.
3185 (llrint_tonearest_test_data): Likewise.
3186 (llrint_towardzero_test_data): Likewise.
3187 (llrint_downward_test_data): Likewise.
3188 (llrint_upward_test_data): Likewise.
3189 (lround_test_data): Likewise.
3190 (llround_test_data): Likewise.
3191
14407b7e
JM
3192 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3193 (ERRNO_UNCHANGED): Update value.
3194 (ERRNO_EDOM): Likewise.
3195 (ERRNO_ERANGE): Likewise.
3196 (NO_TEST_INLINE_FLOAT): New macro.
3197 (NO_TEST_INLINE_DOUBLE): Likewise.
3198 (enable_test): New function.
3199 (RUN_TEST_f_f): Check enable_test before running test.
3200 (RUN_TEST_2_f): Likewise.
3201 (RUN_TEST_fff_f): Likewise.
3202 (RUN_TEST_c_f): Likewise.
3203 (RUN_TEST_f_f1): Likewise.
3204 (RUN_TEST_fF_f1): Likewise.
3205 (RUN_TEST_fI_f1): Likewise.
3206 (RUN_TEST_ffI_f1): Likewise.
3207 (RUN_TEST_c_c): Likewise.
3208 (RUN_TEST_cc_c): Likewise.
3209 (RUN_TEST_f_i): Likewise.
3210 (RUN_TEST_f_i_tg): Likewise.
3211 (RUN_TEST_ff_i_tg): Likewise.
3212 (RUN_TEST_f_b): Likewise.
3213 (RUN_TEST_f_b_tg): Likewise.
3214 (RUN_TEST_f_l): Likewise.
3215 (RUN_TEST_f_L): Likewise.
3216 (RUN_TEST_fFF_11): Likewise.
3217 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3218 conditionals.
3219 (cosh_test_data): Likewise.
3220 (exp_test_data): Likewise.
3221 (expm1_test_data): Likewise.
3222 (hypot_test_data): Likewise.
3223 (pow_test_data): Likewise.
3224 (sinh_test_data): Likewise.
3225 (tanh_test_data): Likewise.
3226 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3227 flags argument.
3228
ca07f197
JM
3229 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3230 tests with quiet NaN input and output.
3231 (acosh_test_data): Likewise.
3232 (asin_test_data): Likewise.
3233 (asinh_test_data): Likewise.
3234 (atan_test_data): Likewise.
3235 (atanh_test_data): Likewise.
3236 (atan2_test_data): Likewise.
3237 (cbrt_test_data): Likewise.
3238 (cos_test_data): Likewise.
3239 (cosh_test_data): Likewise.
3240 (erf_test_data): Likewise.
3241 (erfc_test_data): Likewise.
3242 (exp_test_data): Likewise.
3243 (exp10_test_data): Likewise.
3244 (exp2_test_data): Likewise.
3245 (expm1_test_data): Likewise.
3246 (hypot_test_data): Likewise.
3247 (j0_test_data): Likewise.
3248 (j1_test_data): Likewise.
3249 (jn_test_data): Likewise.
3250 (lgamma_test_data): Likewise.
3251 (log_test_data): Likewise.
3252 (log10_test_data): Likewise.
3253 (log1p_test_data): Likewise.
3254 (log2_test_data): Likewise.
3255 (pow_test_data): Likewise.
3256 (scalb_test_data): Likewise.
3257 (sin_test_data): Likewise.
3258 (sincos_test_data): Likewise.
3259 (sinh_test_data): Likewise.
3260 (tan_test_data): Likewise.
3261 (tanh_test_data): Likewise.
3262 (tgamma_test_data): Likewise.
3263 (y0_test_data): Likewise.
3264 (y1_test_data): Likewise.
3265 (yn_test_data): Likewise.
3266
66294491
JM
3267 [BZ #16167]
3268 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3269 argument being NaN and avoid computations with second argument in
3270 that case.
3271 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3272 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3273 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3274
1820b143
CL
32752013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3276
3277 * locale/iso-639.def: Add Chitwani Tharu (the).
3278
714bd261
AS
32792013-11-14 Andreas Schwab <schwab@suse.de>
3280
3281 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3282 word instead of empty string.
3283
7ab44563
AZ
32842013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3285
3286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3287 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3289 (__fe_nomask_env): Likewise.
3290
e8470ea2
SE
32912013-11-13 Steve Ellcey <sellcey@mips.com>
3292
3293 * benchtests/bench-timing.h: Include time.h.
3294
17c1d9f0
L
32952013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3296
3297 [BZ #15997]
3298 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3299 to 3.4.0 for x32.
3300 * sysdeps/unix/sysv/linux/configure: Regenerated.
3301
9310c284
JM
33022013-11-13 Joseph Myers <joseph@codesourcery.com>
3303
3304 [BZ #16151]
3305 * stdlib/strtod_l.c (round_and_return): Do not consider
3306 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3307 exponent one less than half the least subnormal exponent.
3308 * stdlib/test-strtod-round-data: Add more tests.
3309 * stdlib/tst-strtod-round.c (tests): Regenerated.
3310
7a2ad8cf
AZ
33112013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3312
3313 [BZ #14143]
3314 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3315 (__fe_mask_env): Likewise.
3316 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3317 libm_hidden_proto and add function prototype.
3318 (__fe_mask_env): Add function prototype.
3319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3320 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3322 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3324 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3325
50727aa7
MS
33262013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3327
b2f386c1 3328 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
3329 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3330
a615be46
MS
33312013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3332
3333 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3334 of htab_find_slot().
3335
7ddace62
DM
33362013-11-11 David S. Miller <davem@davemloft.net>
3337
3338 [BZ #16150]
3339 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3340 symbol in the non-vis3 case in static builds.
3341 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3342 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3343 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3344 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3345
9182aa67
JK
33462013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3347
3348 [BZ #387]
3349 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3350 it is empty.
3351
450a2e2d
AZ
33522013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3353
b2f386c1
SP
3354 * benchtests/Makefile: Add bench-strtod.
3355 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 3356
8ec3f656
AS
33572013-11-11 Andreas Schwab <schwab@suse.de>
3358
3359 [BZ #16153]
3360 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3361 terminating NUL in key length.
3362
76a9b998
AZ
33632013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3364
3365 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3366 Add artificial ODP entry for vDSO symbol for PPC64.
3367 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3368 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3369
e4368156
OB
33702013-11-07 Ondřej Bílka <neleai@seznam.cz>
3371
3372 [BZ #15374]
3373 * nss/getent.c (services_keys): Recognize services starting with digit.
3374
8d6bb57c
DM
33752013-11-06 David S. Miller <davem@davemloft.net>
3376
3377 [BZ #15985]
3378 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3379 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3380
e256c421
WN
33812013-11-06 Will Newton <will.newton@linaro.org>
3382
3383 * manual/memory.texi (Malloc Examples): Remove register
3384 keyword from examples.
3385
f6e12daa 33862013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 3387
f6e12daa 3388 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 3389
9d880655
AS
33902013-11-04 Joseph Myers <joseph@codesourcery.com>
3391
3392 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3393 depending on [__GCC_IEC_559 > 0].
3394 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3395 depending on [__GCC_IEC_559_COMPLEX > 0].
3396
ae129d3c
CL
33972013-11-03 Chris Leonard <cjl@sugarlabs.org>
3398
3399 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3400 to iso-639.def.
3401
4a15c2a4 34022013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
3403
3404 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3405
8b35e35d
OB
34062013-11-01 Ondřej Bílka <neleai@seznam.cz>
3407
3408 [BZ #16112]
3409 * malloc/malloc (malloc_info): Do not handle first bin as
3410 special case.
3411
1d70fd6c
CL
34122013-11-01 Chris Leonard <cjl@sugarlabs.org>
3413
3414 * locale/iso-639.def: Add Central Nahuatl (nhn).
3415
8c5c2600
BH
34162013-11-01 Bruno Haible <bruno@clisp.org>
3417
3418 [BZ #7003]
3419 * manual/math.texi (BSD Random): Specify range upper bound as
3420 in POSIX.
3421
da5579c2
CL
34222013-10-31 Chris Leonard <cjl@sugarlabs.org>
3423
3424 * locale/iso-639.def: Add Meadow Mari (mhr).
3425
5d30d853
OB
34262013-10-31 Ondřej Bílka <neleai@seznam.cz>
3427
3428 [BZ #14752], [BZ #15763]
3429 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3430 Validate name.
3431 * rt/tst_shm.c: Add test for escaping directory.
3432
a4966c61
AS
34332013-10-31 Andreas Schwab <schwab@suse.de>
3434
8a43e768 3435 [BZ #15917]
a4966c61
AS
3436 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3437 followed by 'x' as part of digit sequence.
3438 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3439
28d708c4
MAP
34402013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3441
3442 [BZ #16037]
3443 * configure.ac: allow GNU Make 4.0 and greater.
3444 * configure: Regenerated.
3445
a56ee40b
WN
34462013-10-30 Will Newton <will.newton@linaro.org>
3447
3448 [BZ #16038]
3449 * malloc/hooks.c (memalign_check): Limit alignment to the
3450 maximum representable power of two.
3451 * malloc/malloc.c (__libc_memalign): Likewise.
3452 * malloc/tst-memalign.c (do_test): Add test for very
3453 large alignment values.
3454 * malloc/tst-posix_memalign.c (do_test): Likewise.
3455
c6e4925d
OB
34562013-10-30 Ondřej Bílka <neleai@seznam.cz>
3457
3458 [BZ #11087]
3459 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3460 (munmap_chunk): Likewise.
3461 (mremap_chunk): Likewise.
3462
34632013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 3464
8a43e768 3465 [BZ #15799]
bbea82f7
OB
3466 * stdlib/div.c (div): Remove obsolete code.
3467 * stdlib/ldiv.c (ldiv): Likewise.
3468 * stdlib/lldiv.c (lldiv): Likewise.
3469
977f4b31
SP
34702013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3471
3472 [BZ #16071]
3473 * nss/nss_files/files-XXX.c (get_contents_ret): New
3474 enumerator.
3475 (get_contents): New function.
3476 (internal_getent): Use it. Expand size of LINEBUFLEN.
3477
cb8a6dbd
MF
34782013-10-30 Mike Frysinger <vapier@gentoo.org>
3479
3480 * configure.in: Moved to ...
3481 * configure.ac: ... here. Change reference to configure.in
3482 to configure.ac.
3483 * sysdeps/arm/preconfigure.ac: ... here.
3484 configure.in to configure.ac.
3485 * sysdeps/gnu/configure.in: Moved to ...
3486 * sysdeps/gnu/configure.ac: ... here.
3487 * sysdeps/i386/configure.in: Moved to ...
3488 * sysdeps/i386/configure.ac: ... here.
3489 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3490 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3491 * sysdeps/mach/configure.in: Moved to ...
3492 * sysdeps/mach/configure.ac: ... here.
3493 * sysdeps/mach/hurd/configure.in: Moved to ...
3494 * sysdeps/mach/hurd/configure.ac: ... here.
3495 * sysdeps/powerpc/configure.in: Moved to ...
3496 * sysdeps/powerpc/configure.ac: ... here.
3497 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3498 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3499 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3500 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3501 * sysdeps/s390/s390-32/configure.in: Moved to ...
3502 * sysdeps/s390/s390-32/configure.ac: ... here.
3503 * sysdeps/s390/s390-64/configure.in: Moved to ...
3504 * sysdeps/s390/s390-64/configure.ac: ... here.
3505 * sysdeps/sh/configure.in: Moved to ...
3506 * sysdeps/sh/configure.ac: ... here.
3507 * sysdeps/sparc/configure.in: Moved to ...
3508 * sysdeps/sparc/configure.ac: ... here.
3509 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3510 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3511 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3512 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3513 * sysdeps/x86_64/configure.in: Moved to ...
3514 * sysdeps/x86_64/configure.ac: ... here.
3515 * sysdeps/x86_64/preconfigure.in: Moved to ...
3516 * sysdeps/x86_64/preconfigure.ac: ... here.
3517 * aclocal.m4: Change reference to configure.in to configure.ac.
3518 * config.h.in: Likewise.
3519 * manual/install.texi: Likewise.
3520 * manual/maint.texi: Likewise.
3521 * Makefile: Likewise.
3522 * malloc/Makefile: Likewise.
3523 * nscd/Makefile: Likewise.
3524 * Makeconfig: Change reference to configure.in and
3525 preconfigure.in to configure.ac and preconfigure.ac
3526 respectively.
3527 * INSTALL: Regenerated.
3528 * configure: Likewise.
3529 * sysdeps/gnu/configure: Likewise.
3530 * sysdeps/i386/configure: Likewise.
3531 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3532 * sysdeps/mach/configure: Likewise.
3533 * sysdeps/mach/hurd/configure: Likewise.
3534 * sysdeps/powerpc/configure: Likewise.
3535 * sysdeps/powerpc/powerpc32/configure: Likewise.
3536 * sysdeps/powerpc/powerpc64/configure: Likewise.
3537 * sysdeps/s390/s390-32/configure: Likewise.
3538 * sysdeps/s390/s390-64/configure: Likewise.
3539 * sysdeps/sh/configure: Likewise.
3540 * sysdeps/sparc/configure: Likewise.
3541 * sysdeps/unix/sysv/linux/configure: Likewise.
3542 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3543 * sysdeps/x86_64/configure: Likewise.
3544 * sysdeps/x86_64/preconfigure: Likewise.
3545
36a4953a
AS
35462013-10-29 Andreas Schwab <schwab@suse.de>
3547
3548 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3549
c79a1204
SP
35502013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3551
dfa1b402
SP
3552 * benchtests/pow-inputs: Add new inputs.
3553
54f73d9c
SP
3554 * benchtests/exp-inputs: Add new inputs.
3555
c79a1204
SP
3556 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3557 conditional check for return value.
3558 (__cos32): Likewise.
3559
67beb545 35602013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
3561
3562 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3563 to provide a boost for large inputs with word alignment.
3564 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3565 implementation based on optimized PPC64 strcpy.
3566 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3567 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3568 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3569 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3570
151659f6
OB
35712013-10-25 Ondřej Bílka <neleai@seznam.cz>
3572
482a077e 3573 [BZ #2801]
151659f6
OB
3574 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3575
10b0f26b
OB
35762013-10-25 Ondřej Bílka <neleai@seznam.cz>
3577
3578 [BZ #14876]
3579 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3580 * time/tst-strptime.c (day_tests): Add testcase.
3581
ca42d35e
OB
35822013-10-25 Ondřej Bílka <neleai@seznam.cz>
3583
482a077e 3584 [BZ #14029]
ca42d35e
OB
3585 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3586
52e6d801
FB
35872013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3588
3589 [BZ #16074]
3590 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3591 MAP_FAILED on error.
3592
7cbcdb36
SP
35932013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3594
3595 [BZ #16072]
3596 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3597 heap for large requests.
3598
894f3f10
AM
35992013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3600
3601 [BZ #9954]
3602 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3603 result if the result has no associated interface.
3604 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3605 interface for all 127.X.Y.Z addresses.
3606
b85545a6
CL
36072013-10-24 Chris Leonard <cjl@sugarlabs.org>
3608
3609 * locale/iso-639.def: Add Ligurian (lij)
3610
d1f23d46
OB
36112013-10-21 Ondřej Bílka <neleai@seznam.cz>
3612
3613 [BZ #15825]
3614 * sunrpc/rpc_main.c: Document rpcgen -5.
3615
4db5b08f
MS
36162013-10-19 Michael Stahl <mstahl@redhat.com>
3617
3618 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3619
a471e96a
OB
36202013-10-19 Ondřej Bílka <neleai@seznam.cz>
3621
d1f23d46 3622 [BZ #10278]
a471e96a
OB
3623 * posix/glob.c: Match only directories when trailing slash is present.
3624 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3625 (main): Add testcase.
3626
45c30c61
OB
36272013-10-19 Ondřej Bílka <neleai@seznam.cz>
3628
3629 [BZ #15670]
3630 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3631
484c12fb
CD
36322013-10-18 Carlos O'Donell <carlos@redhat.com>
3633
3d7dc513
CD
3634 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3635 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3636 AUTH_DES and cindex for FIPS 140-2.
3637 (DES Encryption): Add cindex FIPS 46-3.
3638
484c12fb
CD
3639 * locale/locarchive.h (struct locarhandle): Add fname.
3640 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3641 if an optional argument was specified to --list-archive,
3642 otherwise NULL.
3643 * locale/programs/locarchive.c (show_archive_content): Take new
3644 argument fname and pass it via ah.fname to open_archive.
3645 * locale/programs/localedef.h: Update decl.
3646 (open_archive): If AH->fname is non-null, open that file
3647 rather than the default file name, and don't ignore ENOENT.
3648 (create_archive): Set AH.fname to NULL.
3649 (delete_locales_from_archive): Likewise.
3650 (add_locales_to_archive): Likewise.
3651 * locale/programs/locfile.c (write_all_categories): Likewise.
3652
3c8325fb
JM
36532013-10-18 Joseph Myers <joseph@codesourcery.com>
3654 Aldy Hernandez <aldyh@redhat.com>
3655
3656 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3657 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3658 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3659 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3660 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3661 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3662 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3663 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3664 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3665 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3666 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3667 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3668 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3669 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3670 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3671 Likewise.
3672 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3673 Likewise.
3674 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3675 Likewise.
3676 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3677 Likewise.
3678 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3679 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3680 Likewise.
3681 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3682 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3683 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3684 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3685 Likewise.
3686 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3687 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3688 * sysdeps/powerpc/preconfigure: Likewise.
3689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3690 Likewise.
3691 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3692 Replace contents of file by #include of <fenv_libc.h>.
3693 * sysdeps/powerpc/soft-fp/sfp-machine.h
3694 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3695 and <sys/prctl.h>.
3696 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3697 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3698 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3699 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3700 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3701 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3702 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3703 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3704 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3705 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3706 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3707 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3709 Allow copysignl PLT reference to be missing.
3710
5abe0682
RS
37112013-10-18 Richard Sandiford <richard@codesourcery.com>
3712 Joseph Myers <joseph@codesourcery.com
3713
3714 [BZ #15948]
3715 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3716 single character.
3717 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3718
c7738d08
SP
37192013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3720
3721 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3722 * elf/tst-tls1.c: Likewise.
3723 * elf/tst-tls10.h: Likewise.
3724 * elf/tst-tls14.c: Likewise.
3725 * elf/tst-tls2.c: Likewise.
3726 * elf/tst-tls3.c: Likewise.
3727 * elf/tst-tls4.c: Likewise.
3728 * elf/tst-tls5.c: Likewise.
3729 * elf/tst-tls6.c: Likewise.
3730 * elf/tst-tls7.c: Likewise.
3731 * elf/tst-tls8.c: Likewise.
3732 * elf/tst-tls9.c: Likewise.
3733 * elf/tst-tlsmod1.c: Likewise.
3734 * elf/tst-tlsmod13.c: Likewise.
3735 * elf/tst-tlsmod13a.c: Likewise.
3736 * elf/tst-tlsmod14a.c: Likewise.
3737 * elf/tst-tlsmod16a.c: Likewise.
3738 * elf/tst-tlsmod16b.c: Likewise.
3739 * elf/tst-tlsmod2.c: Likewise.
3740 * elf/tst-tlsmod3.c: Likewise.
3741 * elf/tst-tlsmod4.c: Likewise.
3742 * elf/tst-tlsmod5.c: Likewise.
3743 * elf/tst-tlsmod6.c: Likewise.
3744
0bfcf2c7
OB
37452013-10-18 Ondřej Bílka <neleai@seznam.cz>
3746
3747 [BZ #12486]
3748 * malloc/malloc.c: remove checks for statistics.
3749
264aad1e
OB
37502013-10-17 Ondřej Bílka <neleai@seznam.cz>
3751
3752 [BZ #15277]
3753 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3754 * inet/tst-network.c: Add testcase.
3755
b957ced8
AS
37562013-10-17 Andreas Schwab <schwab@suse.de>
3757
3758 [BZ #15218]
3759 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3760 to determine canonical name.
3761
c5d5d574
OB
37622013-10-17 Ondřej Bílka <neleai@seznam.cz>
3763
3764 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3765 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3766 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3767 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3768 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3769 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3770 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3771 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3772 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3773 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3774 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3775 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3776 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3777 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3778 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3779 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3780 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3781 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3782 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3783 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3784 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3785 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3786 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3787 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3788 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3789 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3790 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3791 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3792 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3793 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3794 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3795 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3796 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3797 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3798 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3799 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3800 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3801 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3802 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3803 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3804 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3805 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3806 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3807 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3808 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3809 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3810 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3811 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3812 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3813 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3814 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3815 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3816 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3817 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3818 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3819 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3820 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3821 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3822
e5c2c2d0
JM
38232013-10-17 Joseph Myers <joseph@codesourcery.com>
3824
3825 [BZ #16041]
3826 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3827 make result into a quiet NaN.
3828
51ca9e29
JM
38292013-10-16 Joseph Myers <joseph@codesourcery.com>
3830
3831 * soft-fp/adddf3.c: Fix horizontal whitespace.
3832 * soft-fp/addsf3.c: Likewise.
3833 * soft-fp/addtf3.c: Likewise.
3834 * soft-fp/divdf3.c: Likewise.
3835 * soft-fp/divsf3.c: Likewise.
3836 * soft-fp/divtf3.c: Likewise.
3837 * soft-fp/double.h: Likewise.
3838 * soft-fp/eqdf2.c: Likewise.
3839 * soft-fp/eqsf2.c: Likewise.
3840 * soft-fp/eqtf2.c: Likewise.
3841 * soft-fp/extenddftf2.c: Likewise.
3842 * soft-fp/extended.h: Likewise.
3843 * soft-fp/extendsfdf2.c: Likewise.
3844 * soft-fp/extendsftf2.c: Likewise.
3845 * soft-fp/extendxftf2.c: Likewise.
3846 * soft-fp/fixdfdi.c: Likewise.
3847 * soft-fp/fixdfsi.c: Likewise.
3848 * soft-fp/fixdfti.c: Likewise.
3849 * soft-fp/fixsfdi.c: Likewise.
3850 * soft-fp/fixsfsi.c: Likewise.
3851 * soft-fp/fixsfti.c: Likewise.
3852 * soft-fp/fixtfdi.c: Likewise.
3853 * soft-fp/fixtfsi.c: Likewise.
3854 * soft-fp/fixtfti.c: Likewise.
3855 * soft-fp/fixunsdfdi.c: Likewise.
3856 * soft-fp/fixunsdfsi.c: Likewise.
3857 * soft-fp/fixunsdfti.c: Likewise.
3858 * soft-fp/fixunssfdi.c: Likewise.
3859 * soft-fp/fixunssfsi.c: Likewise.
3860 * soft-fp/fixunssfti.c: Likewise.
3861 * soft-fp/fixunstfdi.c: Likewise.
3862 * soft-fp/fixunstfsi.c: Likewise.
3863 * soft-fp/fixunstfti.c: Likewise.
3864 * soft-fp/floatdidf.c: Likewise.
3865 * soft-fp/floatdisf.c: Likewise.
3866 * soft-fp/floatditf.c: Likewise.
3867 * soft-fp/floatsidf.c: Likewise.
3868 * soft-fp/floatsisf.c: Likewise.
3869 * soft-fp/floatsitf.c: Likewise.
3870 * soft-fp/floattidf.c: Likewise.
3871 * soft-fp/floattisf.c: Likewise.
3872 * soft-fp/floattitf.c: Likewise.
3873 * soft-fp/floatundidf.c: Likewise.
3874 * soft-fp/floatundisf.c: Likewise.
3875 * soft-fp/floatunditf.c: Likewise.
3876 * soft-fp/floatunsidf.c: Likewise.
3877 * soft-fp/floatunsisf.c: Likewise.
3878 * soft-fp/floatunsitf.c: Likewise.
3879 * soft-fp/floatuntidf.c: Likewise.
3880 * soft-fp/floatuntisf.c: Likewise.
3881 * soft-fp/floatuntitf.c: Likewise.
3882 * soft-fp/fmadf4.c: Likewise.
3883 * soft-fp/fmasf4.c: Likewise.
3884 * soft-fp/fmatf4.c: Likewise.
3885 * soft-fp/gedf2.c: Likewise.
3886 * soft-fp/gesf2.c: Likewise.
3887 * soft-fp/getf2.c: Likewise.
3888 * soft-fp/ledf2.c: Likewise.
3889 * soft-fp/lesf2.c: Likewise.
3890 * soft-fp/letf2.c: Likewise.
3891 * soft-fp/muldf3.c: Likewise.
3892 * soft-fp/mulsf3.c: Likewise.
3893 * soft-fp/multf3.c: Likewise.
3894 * soft-fp/negdf2.c: Likewise.
3895 * soft-fp/negsf2.c: Likewise.
3896 * soft-fp/negtf2.c: Likewise.
3897 * soft-fp/op-1.h: Likewise.
3898 * soft-fp/op-2.h: Likewise.
3899 * soft-fp/op-4.h: Likewise.
3900 * soft-fp/op-8.h: Likewise.
3901 * soft-fp/op-common.h: Likewise.
3902 * soft-fp/quad.h: Likewise.
3903 * soft-fp/single.h: Likewise.
3904 * soft-fp/soft-fp.h: Likewise.
3905 * soft-fp/sqrtdf2.c: Likewise.
3906 * soft-fp/sqrtsf2.c: Likewise.
3907 * soft-fp/sqrttf2.c: Likewise.
3908 * soft-fp/subdf3.c: Likewise.
3909 * soft-fp/subsf3.c: Likewise.
3910 * soft-fp/subtf3.c: Likewise.
3911 * soft-fp/truncdfsf2.c: Likewise.
3912 * soft-fp/trunctfdf2.c: Likewise.
3913 * soft-fp/trunctfsf2.c: Likewise.
3914 * soft-fp/trunctfxf2.c: Likewise.
3915 * soft-fp/unorddf2.c: Likewise.
3916 * soft-fp/unordsf2.c: Likewise.
3917 * soft-fp/unordtf2.c: Likewise.
3918
9ebb0332
JM
39192013-10-15 Joseph Myers <joseph@codesourcery.com>
3920
3921 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3922 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3923
4b1a6d8b
OB
39242013-10-15 Ondřej Bílka <neleai@seznam.cz>
3925
3926 * elf/dl-libc.c: Clear initfini list after freeing.
3927
1e145589
JM
39282013-10-14 Joseph Myers <joseph@codesourcery.com>
3929
3930 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3931 * soft-fp/addsf3.c: Likewise.
3932 * soft-fp/addtf3.c: Likewise.
3933 * soft-fp/divdf3.c: Likewise.
3934 * soft-fp/divsf3.c: Likewise.
3935 * soft-fp/divtf3.c: Likewise.
3936 * soft-fp/double.h: Likewise.
3937 * soft-fp/eqdf2.c: Likewise.
3938 * soft-fp/eqsf2.c: Likewise.
3939 * soft-fp/eqtf2.c: Likewise.
3940 * soft-fp/extenddftf2.c: Likewise.
3941 * soft-fp/extended.h: Likewise.
3942 * soft-fp/extendsfdf2.c: Likewise.
3943 * soft-fp/extendsftf2.c: Likewise.
3944 * soft-fp/extendxftf2.c: Likewise.
3945 * soft-fp/fixdfdi.c: Likewise.
3946 * soft-fp/fixdfsi.c: Likewise.
3947 * soft-fp/fixdfti.c: Likewise.
3948 * soft-fp/fixsfdi.c: Likewise.
3949 * soft-fp/fixsfsi.c: Likewise.
3950 * soft-fp/fixsfti.c: Likewise.
3951 * soft-fp/fixtfdi.c: Likewise.
3952 * soft-fp/fixtfsi.c: Likewise.
3953 * soft-fp/fixtfti.c: Likewise.
3954 * soft-fp/fixunsdfdi.c: Likewise.
3955 * soft-fp/fixunsdfsi.c: Likewise.
3956 * soft-fp/fixunsdfti.c: Likewise.
3957 * soft-fp/fixunssfdi.c: Likewise.
3958 * soft-fp/fixunssfsi.c: Likewise.
3959 * soft-fp/fixunssfti.c: Likewise.
3960 * soft-fp/fixunstfdi.c: Likewise.
3961 * soft-fp/fixunstfsi.c: Likewise.
3962 * soft-fp/fixunstfti.c: Likewise.
3963 * soft-fp/floatdidf.c: Likewise.
3964 * soft-fp/floatdisf.c: Likewise.
3965 * soft-fp/floatditf.c: Likewise.
3966 * soft-fp/floatsidf.c: Likewise.
3967 * soft-fp/floatsisf.c: Likewise.
3968 * soft-fp/floatsitf.c: Likewise.
3969 * soft-fp/floattidf.c: Likewise.
3970 * soft-fp/floattisf.c: Likewise.
3971 * soft-fp/floattitf.c: Likewise.
3972 * soft-fp/floatundidf.c: Likewise.
3973 * soft-fp/floatundisf.c: Likewise.
3974 * soft-fp/floatunsidf.c: Likewise.
3975 * soft-fp/floatunsisf.c: Likewise.
3976 * soft-fp/floatuntidf.c: Likewise.
3977 * soft-fp/floatuntisf.c: Likewise.
3978 * soft-fp/floatuntitf.c: Likewise.
3979 * soft-fp/fmadf4.c: Likewise.
3980 * soft-fp/fmasf4.c: Likewise.
3981 * soft-fp/fmatf4.c: Likewise.
3982 * soft-fp/gedf2.c: Likewise.
3983 * soft-fp/gesf2.c: Likewise.
3984 * soft-fp/getf2.c: Likewise.
3985 * soft-fp/ledf2.c: Likewise.
3986 * soft-fp/lesf2.c: Likewise.
3987 * soft-fp/letf2.c: Likewise.
3988 * soft-fp/muldf3.c: Likewise.
3989 * soft-fp/mulsf3.c: Likewise.
3990 * soft-fp/multf3.c: Likewise.
3991 * soft-fp/negdf2.c: Likewise.
3992 * soft-fp/negsf2.c: Likewise.
3993 * soft-fp/negtf2.c: Likewise.
3994 * soft-fp/op-1.h: Likewise.
3995 * soft-fp/op-2.h: Likewise.
3996 * soft-fp/op-4.h: Likewise.
3997 * soft-fp/op-8.h: Likewise.
3998 * soft-fp/op-common.h: Likewise.
3999 * soft-fp/quad.h: Likewise.
4000 * soft-fp/single.h: Likewise.
4001 * soft-fp/soft-fp.h: Likewise.
4002 * soft-fp/sqrtdf2.c: Likewise.
4003 * soft-fp/sqrtsf2.c: Likewise.
4004 * soft-fp/sqrttf2.c: Likewise.
4005 * soft-fp/subdf3.c: Likewise.
4006 * soft-fp/subsf3.c: Likewise.
4007 * soft-fp/subtf3.c: Likewise.
4008 * soft-fp/truncdfsf2.c: Likewise.
4009 * soft-fp/trunctfdf2.c: Likewise.
4010 * soft-fp/trunctfsf2.c: Likewise.
4011 * soft-fp/trunctfxf2.c: Likewise.
4012 * soft-fp/unorddf2.c: Likewise.
4013 * soft-fp/unordsf2.c: Likewise.
4014 * soft-fp/unordtf2.c: Likewise.
4015
17c48a60
OB
40162013-10-14 Ondřej Bílka <neleai@seznam.cz>
4017
4018 [BZ #15672]
4019 * misc/error.c (error_tail): Fix possible buffer overflow.
4020
cabba934
OB
40212013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4022
4023 [BZ #13028]
4024 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4025 address.
4026
94bf958a
PM
40272013-10-14 P. J. McDermott <pj@pehjota.net>
4028
4029 [BZ #832]
4030 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4031 testing pipefail option.
4032
71b4dea7
JM
40332013-10-12 Joseph Myers <joseph@codesourcery.com>
4034
4035 * soft-fp/double.h: Indent preprocessor directives inside #if.
4036 * soft-fp/extended.h: Likewise.
4037 * soft-fp/op-2.h: Likewise.
4038 * soft-fp/op-4.h: Likewise.
4039 * soft-fp/op-common.h: Likewise.
4040 * soft-fp/quad.h: Likewise.
4041 * soft-fp/single.h: Likewise.
4042 * soft-fp/soft-fp.h: Likewise.
4043
55602758
YC
40442013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4045
4046 * iconv/iconv_prog.c: Fix typos.
4047 * stdio-common/psiginfo-data.h: Likewise.
4048
9cd83302
RT
40492013-10-12 Reuben Thomas <rrt@sc3d.org>
4050
4051 [BZ #15764]
4052 * locale/setlocale.c: Fix typo.
4053
99fd9f47
JM
40542013-10-12 Joseph Myers <joseph@codesourcery.com>
4055
b7ea74f0
JM
4056 [BZ #16036]
4057 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4058 signaling NaN arguments.
4059 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4060 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4061
8a509447
JM
4062 [BZ #14910]
4063 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4064 unordered operands.
4065 * soft-fp/gesf2.c (__gesf2): Likewise.
4066 * soft-fp/getf2.c (__getf2): Likewise.
4067 * soft-fp/ledf2.c (__ledf2): Likewise.
4068 * soft-fp/lesf2.c (__lesf2): Likewise.
4069 * soft-fp/letf2.c (__letf2): Likewise.
4070
98998e9f
JM
4071 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4072 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4073 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4074 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4075 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4076 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4077 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4078 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4079 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4080 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4081 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4082 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4083 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4084 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4085 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4086 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4087 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4088 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4089 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4090 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4091 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4092 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4093 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4094 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4095 * soft-fp/floattidf.c (__floattidf): Likewise.
4096 * soft-fp/floattisf.c (__floattisf): Likewise.
4097 * soft-fp/floattitf.c (__floattitf): Likewise.
4098 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4099 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4100 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4101 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4102 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4103 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4104 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4105 * soft-fp/gesf2.c (__gesf2): Likewise.
4106 * soft-fp/getf2.c (__getf2): Likewise.
4107 * soft-fp/ledf2.c (__ledf2): Likewise.
4108 * soft-fp/lesf2.c (__lesf2): Likewise.
4109 * soft-fp/letf2.c (__letf2): Likewise.
4110
8edc4a11
JM
4111 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4112 Undefine and redefine.
4113 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4114 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4115 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4116 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4117 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4118 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4119 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4120 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4121 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4122 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4123 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4124 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4125 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4126 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4127 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4128
8399acaf
JM
4129 [BZ #16032]
4130 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4131 without decrementing exponent if mantissa >= that for the
4132 denominator, not >.
4133 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4134 denominator, not >. Decrement exponent in < case instead of
4135 incrementing in >= case.
4136 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4137 without decrementing exponent if mantissa >= that for the
4138 denominator, not >.
4139
99fd9f47
JM
4140 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4141 computing saturated result for unsigned overflow.
4142
10e1cf6b
SP
41432013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4144 Jeff Law <law@redhat.com>
4145
4146 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4147 (atan2Mp): Add systemtap probe marker.
4148 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4149 (__ieee754_log): Add systemtap probe marker.
4150 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4151 (atanMp): Add systemtap probe marker.
4152 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4153 (tanMp): Add systemtap probe marker.
4154 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4155 (__slowexp): Add systemtap probe marker.
4156 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4157 (__slowpow): Add systemtap probe marker.
4158 * manual/probes.texi: Document probes.
4159
3d110c7c
EB
41602013-10-11 Eric Biggers <ebiggers3@gmail.com>
4161
4162 [BZ #15362]
4163 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4164 written.
4165 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4166 written.
4167 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4168 written to buffer but not flushed.
4169 * libio/iofwrite_u.c: Likewise.
4170 * libio/iopadn.c: Return bytes returned even if EOF was
4171 encountered.
4172 * libio/iowpadn.c: Likewise.
4173 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4174 if _IO_padn does not write the whole buffer.
4175 [!COMPILE_WPRINTF] (PAD): Likewise.
4176
75b4202a
DM
41772013-10-10 David S. Miller <davem@davemloft.net>
4178
4179 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4180 directory block.
4181
6c6352e6
JM
41822013-10-10 Joseph Myers <joseph@codesourcery.com>
4183
33b853c3
JM
4184 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4185 instead of FSF address.
4186 * soft-fp/fixdfti.c: Likewise.
4187 * soft-fp/fixsfti.c: Likewise.
4188 * soft-fp/fixtfti.c: Likewise.
4189 * soft-fp/fixunsdfti.c: Likewise.
4190 * soft-fp/fixunssfti.c: Likewise.
4191 * soft-fp/fixunstfti.c: Likewise.
4192 * soft-fp/floattidf.c: Likewise.
4193 * soft-fp/floattisf.c: Likewise.
4194 * soft-fp/floattitf.c: Likewise.
4195 * soft-fp/floatuntidf.c: Likewise.
4196 * soft-fp/floatuntisf.c: Likewise.
4197 * soft-fp/floatuntitf.c: Likewise.
4198 * soft-fp/trunctfxf2.c: Likewise.
4199
6c6352e6
JM
4200 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4201 * soft-fp/fixdfti.c: Likewise.
4202 * soft-fp/fixsfti.c: Likewise.
4203 * soft-fp/fixtfti.c: Likewise.
4204 * soft-fp/fixunsdfti.c: Likewise.
4205 * soft-fp/fixunssfti.c: Likewise.
4206 * soft-fp/fixunstfti.c: Likewise.
4207 * soft-fp/floattidf.c: Likewise.
4208 * soft-fp/floattisf.c: Likewise.
4209 * soft-fp/floattitf.c: Likewise.
4210 * soft-fp/floatuntidf.c: Likewise.
4211 * soft-fp/floatuntisf.c: Likewise.
4212 * soft-fp/floatuntitf.c: Likewise.
4213 * soft-fp/trunctfxf2.c: Likewise.
4214
3bf78b71
DM
42152013-10-10 David S. Miller <davem@davemloft.net>
4216
4217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4218
6f10289e
JM
42192013-10-10 Joseph Myers <joseph@codsourcery.com>
4220
bd878fc0
JM
4221 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4222 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4223 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4224 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4225 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4226 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4227 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4228
6f10289e
JM
4229 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4230 for NaNs before doing comparisons on argument.
4231 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4232 Likewise.
4233
321e2684
WN
42342013-10-10 Will Newton <will.newton@linaro.org>
4235
4236 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4237 passed to _int_memalign does not overflow.
4238
40fefba1
TR
42392013-10-10 Torvald Riegel <triegel@redhat.com>
4240
4241 * scripts/bench.pl: Add include-sources directive.
4242 * benchtests/README: Update documentation.
4243
2ae21ed2
JM
42442013-10-10 Joseph Myers <joseph@codesourcery.com>
4245
dcc2dd3f
JM
4246 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4247 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4248 instead of FP_INIT_ROUNDMODE.
4249 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4250 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4251
2ae21ed2
JM
4252 [BZ #16034]
4253 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4254 copy class of input value.
4255 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4256 not handle exceptions.
4257 * soft-fp/negsf2.c (__negsf2): Likewise.
4258 * soft-fp/negtf2.c (__negtf2): Likewise.
4259 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4260
cb8f9562
JM
42612013-10-09 Joseph Myers <joseph@codesourcery.com>
4262
4263 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4264 semicolon. From Linux kernel.
4265
5b60c59d
AB
42662013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4267
4268 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4269
b86835ca
YC
42702013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4271
4272 [BZ #156]
4273 * manual/socket.texi: Added statement about buffer
4274 for gethostbyname2_r.
4275
e7044ea7
OB
42762013-10-08 Ondřej Bílka <neleai@seznam.cz>
4277
4278 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4279 Use .p2align directive instead, throughout.
4280 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4281 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4282 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4283 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4284 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4285 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4286 * sysdeps/x86_64/strchr.S: Likewise.
4287 * sysdeps/x86_64/strrchr.S: Likewise.
4288
09544cbc
SP
42892013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4290
88576635
SP
4291 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4292
e7b2d1dd
SP
4293 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4294
09544cbc
SP
4295 * sysdeps/generic/math_private.h (__mpsin1): Remove
4296 declaration.
4297 (__mpcos1): Likewise.
4298 (__mpsin): New argument __range_reduce.
4299 (__mpcos): Likewise.
4300 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4301 (slow): Use __mpsin and __mpcos.
4302 (slow1): Likewise.
4303 (slow2): Likewise.
4304 (sloww): Likewise.
4305 (sloww1): Likewise.
4306 (sloww2): Likewise.
4307 (bsloww): Likewise.
4308 (bsloww1): Likewise.
4309 (bsloww2): Likewise.
4310 (cslow2): Likewise.
4311 (csloww): Likewise.
4312 (csloww1): Likewise.
4313 (csloww2): Likewise.
4314 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4315 range_reduce. Merge in __mpsin1.
4316 (__mpcos): Likewise.
4317 (__mpsin1): Remove.
4318 (__mpcos1): Likewise.
4319
7602d070
JM
43202013-10-07 Joseph Myers <joseph@codesourcery.com>
4321
4322 * locale/loadlocale.c (_nl_intern_locale_data): Use
4323 LOCFILE_ALIGNED_P.
4324 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4325 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4326 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4327 obstack data is appropriately aligned.
4328 (obstack_int32_grow_fast): Likewise.
4329 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4330 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4331 (add_locale_uint32_array): Likewise.
4332
a357259b
SP
43332013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4334
4335 * benchtests/Makefile: Remove ARGLIST and RET variables.
4336 ($(objpfx)bench-%.c): Pass only function name to the script.
4337 * benchtests/README: Update documentation.
4338 * benchtests/acos-inputs: Add new directives.
4339 * benchtests/acosh-inputs: Likewise.
4340 * benchtests/asin-inputs: Likewise.
4341 * benchtests/asinh-inputs: Likewise.
4342 * benchtests/atan-inputs: Likewise.
4343 * benchtests/atanh-inputs: Likewise.
4344 * benchtests/cos-inputs: Likewise.
4345 * benchtests/cosh-inputs: Likewise.
4346 * benchtests/exp-inputs: Likewise.
4347 * benchtests/log-inputs: Likewise.
4348 * benchtests/pow-inputs: Likewise.
4349 * benchtests/rint-inputs: Likewise.
4350 * benchtests/sin-inputs: Likewise.
4351 * benchtests/sinh-inputs: Likewise.
4352 * benchtests/tan-inputs: Likewise.
4353 * benchtests/tanh-inputs: Likewise.
4354 * scripts/bench.pl: Add support for new directives.
4355
9ec1b13d
AM
43562013-10-07 Alan Modra <amodra@gmail.com>
4357
4358 * README: Fix careless merge.
4359
8b7d57cd
AM
43602013-10-05 Alan Modra <amodra@gmail.com>
4361
4362 * NEWS: Mention powerpc64le support and bugs fixed.
4363 * README: Both big-endian and little-endian powerpc64 supported.
4364
7b7bab13
ST
43652013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4366
4367 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4368 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4369 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4370 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4371
d39baad1
RA
43722013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4373
4374 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4375 match prototype.
4376
cd78f7e7
JM
43772013-10-04 Joseph Myers <joseph@codesourcery.com>
4378
29d73d86
JM
4379 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4380 Move -mhard-float appending from
4381 ports/sysdeps/powerpc/powerpc32/Makefile.
4382 [$(with-fp) = yes] (ASFLAGS): Likewise.
4383 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4384 * sysdeps/powerpc/nofpu: Move directory from
4385 ports/sysdeps/powerpc/nofpu.
4386 * sysdeps/powerpc/soft-fp: Move directory from
4387 ports/sysdeps/powerpc/soft-fp.
4388 * sysdeps/powerpc/powerpc32/405: Move directory from
4389 ports/sysdeps/powerpc/powerpc32/405.
4390 * sysdeps/powerpc/powerpc32/440: Move directory from
4391 ports/sysdeps/powerpc/powerpc32/440.
4392 * sysdeps/powerpc/powerpc32/464: Move directory from
4393 ports/sysdeps/powerpc/powerpc32/464.
4394 * sysdeps/powerpc/powerpc32/476: Move directory from
4395 ports/sysdeps/powerpc/powerpc32/476.
4396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4397 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4399 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4401 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4403 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4405 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4406 * README: Update for powerpc-*-linux-gnu software floating point
4407 support in libc.
4408
e246b347
JM
4409 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4410 case to powerpc/powerpc32*.
4411 * sysdeps/unix/sysv/linux/configure: Regenerated.
4412
89c2003e
JM
4413 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4414 (_FPU_MASK_OM): Define as 0x04.
4415 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4416 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4417 0x00c10080.
4418 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4419 0x0000003c.
4420 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4421
cd78f7e7
JM
4422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4423 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4424 getcontext_e500.
4425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4426 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4427 setcontext_e500.
4428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4429 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4430 and setcontext_e500.
4431
c755294d
CL
44322013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4433
4434 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4435
e16d221c
SP
44362013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4437
4438 * manual/threads.texi (Default Thread Attributes): Fix typo.
4439
215c7d43
WN
44402013-10-04 Will Newton <will.newton@linaro.org>
4441
4442 * malloc/Makefile: Add tst-memalign.
4443 * malloc/tst-memalign.c: New file.
4444
27d0461b
WN
4445 * malloc/tst-posix_memalign.c: Add comments.
4446 (do_test): Add comments and call free on all potentially
4447 allocated pointers. Add space after cast.
4448
1bc92709
WN
4449 * malloc/tst-pvalloc.c: Add comments.
4450 (do_test): Add comments and call free on all potentially
4451 allocated pointers. Remove duplicate check for NULL pointer.
4452 Add space after cast.
4453
66a9be9d
WN
4454 * malloc/tst-valloc.c: Add comments.
4455 (do_test): Add comments and call free on all potentially
4456 allocated pointers. Remove duplicate check for NULL pointer.
4457 Add space after cast.
4458
4cb81307
AM
44592013-10-04 Alan Modra <amodra@gmail.com>
4460
4461 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4462 Use stdint types in rather than __attribute__((mode())).
4463 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4464
f8e3e9f3
AM
44652013-10-04 Alan Modra <amodra@gmail.com>
4466
4467 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4468 Correct handling of unaligned relocs for little-endian.
4469 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4470
8f9ebb08
AM
44712013-10-04 Alan Modra <amodra@gmail.com>
4472
4473 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4474 * configure: Regenerate.
4475 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4476 * shlib-versions: Likewise.
4477
0edf96c2
AM
44782013-10-04 Alan Modra <amodra@gmail.com>
4479
4480 * string/tester.c (test_memrchr): Increment reported test cycle.
4481
e0f7a380
AM
44822013-10-04 Alan Modra <amodra@gmail.com>
4483
4484 * string/test-memcpy.c (do_one_test): When reporting errors, print
4485 string address and don't overrun end of string.
4486
466b0393
AM
44872013-10-04 Alan Modra <amodra@gmail.com>
4488
4489 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4490 insrdi. Make better use of reg selection to speed exit slightly.
4491 Schedule entry path a little better. Remove useless "are we done"
4492 checks on entry to main loop. Handle wrapping around zero address.
4493 Correct main loop count. Handle single left-over word from main
4494 loop inline rather than by using loop_small. Remove extra word
4495 case in loop_small caused by wrong loop count. Add little-endian
4496 support.
4497 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4498 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4499 cache hint.
4500 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4501 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4502 support. Avoid rlwimi.
4503 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4504
3be87c77
AM
45052013-10-04 Alan Modra <amodra@gmail.com>
4506
4507 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 4508 insrdi. Formatting.
3be87c77
AM
4509 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4510 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4511 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4512 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4513 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4514 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4515
759cfef3
AM
45162013-10-04 Alan Modra <amodra@gmail.com>
4517
4518 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4519 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4520 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4521 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4522 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4523 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4524 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4525 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4526 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4527 use of regs. Use power7 mtocrf. Tidy function tails.
4528
fe6e95d7
AM
45292013-10-04 Alan Modra <amodra@gmail.com>
4530
4531 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4532 Formatting. Consistently use rXXX register defines or rN defines.
4533 Use early exit labels that avoid restoring unused non-volatile regs.
4534 Make cr field use more consistent with rWORDn compares. Rename
4535 regs used as shift registers for unaligned loop, using rN defines
4536 for short lifetime/multiple use regs.
4537 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4538 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4539 addi 1,1,64 to pop stack frame. Simplify return value code.
4540 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4541
664318c3
AM
45422013-10-04 Alan Modra <amodra@gmail.com>
4543
4544 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4545 support. Correct typos, formatting. Optimize tail. Use insrdi
4546 rather than rlwimi.
4547 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4548 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4549 little-endian support. Correct typos.
4550 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4551 rather than rlwimi.
4552 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4553 in loop and entry code to keep "and." results.
4554 (strchr): Add little-endian support. Comment. Move cntlzd
4555 earlier in tail.
4556 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4557
43b84013
AM
45582013-10-04 Alan Modra <amodra@gmail.com>
4559
4560 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4561 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4562 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4563 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4564
8a7413f9
AM
45652013-10-04 Alan Modra <amodra@gmail.com>
4566
4567 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4568 (rTMP): Define as r11.
4569 (strcmp): Add little-endian support. Optimise tail.
4570 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4571 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4572 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4573 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4574 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4575 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4576 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4577
33ee81de
AM
45782013-10-04 Alan Modra <amodra@gmail.com>
4579
4580 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4581 little-endian support. Remove unnecessary "are we done" tests.
4582 Handle "s" wrapping around zero and extremely large "size".
4583 Correct main loop count. Handle single left-over word from main
4584 loop inline rather than by using small_loop. Correct comments.
4585 Delete "zero" tail, use "end_max" instead.
4586 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4587
db9b4570
AM
45882013-10-04 Alan Modra <amodra@gmail.com>
4589
4590 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4591 support. Don't branch over align.
4592 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4593 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4594 support. Rearrange tmp reg use to suit. Comment.
4595 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4596
f7c399cf
AM
45972013-10-04 Alan Modra <amodra@gmail.com>
4598
4599 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4600
0b2c2ace
AM
46012013-10-04 Alan Modra <amodra@gmail.com>
4602
4603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4604 conditional form of branch and link when obtaining pc.
4605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4606
02f04a6c
AM
46072013-10-04 Alan Modra <amodra@gmail.com>
4608
4609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4610 HIWORD/LOWORD.
4611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4613
9b874b2f
AM
46142013-10-04 Alan Modra <amodra@gmail.com>
4615
4616 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4617 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4618 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4619 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4620 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4621 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4622 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4623 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4624 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4625 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4626
be1e5d31
AB
46272013-10-04 Anton Blanchard <anton@au1.ibm.com>
4628 Alistair Popple <alistair@ozlabs.au.ibm.com>
4629 Alan Modra <amodra@gmail.com>
4630
4631 [BZ #15723]
4632 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4633 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4634 _dl_hwcap access for little-endian.
4635 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4636 destroy vmx regs when saving unaligned.
4637 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4638 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4639 destroy vmx regs when saving unaligned.
4640
fef13a78
AM
46412013-10-04 Alan Modra <amodra@gmail.com>
4642
4643 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4644 Don't use a union to pack hi/low value.
4645
76a66d51
AB
46462013-10-04 Anton Blanchard <anton@au1.ibm.com>
4647
4648 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4649 for little-endian.
4650 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4651 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4652 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4653 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4654 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4655
6a31fe7f
AM
46562013-10-04 Alan Modra <amodra@gmail.com>
4657
4658 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4659 constants to usual value for .cst8 section, and remove redundant
4660 high address load.
4661 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4662 constant for 0x1p52. Load little-endian words of double from
4663 correct stack offsets.
4664
7b88401f
AM
46652013-10-04 Alan Modra <amodra@gmail.com>
4666
4667 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4668 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4669 words of double from correct stack offsets.
4670 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4671 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4672 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4673 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4674 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4675 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4676 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4677 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4678 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4679 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4680 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4681 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4682 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4683 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4684 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4685 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4686 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4687
9c008155
AM
46882013-10-04 Alan Modra <amodra@gmail.com>
4689
4690 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4691 64-bit int/double union.
4692 (_FPU_SETCW): Likewise.
4693 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4694 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4695
da13146d
AM
46962013-10-04 Alan Modra <amodra@gmail.com>
4697
4698 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4699 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4700
603e8410
AM
47012013-10-04 Alan Modra <amodra@gmail.com>
4702
4703 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4704 use vector int constants.
4705 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4706
4a28b3ca
AB
47072013-10-04 Anton Blanchard <anton@au1.ibm.com>
4708
4709 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4710 array with long long.
4711 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4712 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4713 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4714 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4715 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4716 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4717 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4718 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4719 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4720 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4721 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4722 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4723 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4724
2ca85d2b
AB
47252013-10-04 Anton Blanchard <anton@au1.ibm.com>
4726
4727 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4728 (__signbit): Likewise. Correct for little-endian.
4729 (__signbitl): Call __signbit.
4730 (lrint): Correct for little-endian.
4731 (lrintf): Call lrint.
4732
62a728ae
AM
47332013-10-04 Alan Modra <amodra@gmail.com>
4734
4735 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4736 union 32-bit int array member with 64-bit int array.
4737 (t515, tm256): Double rather than long double.
4738 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4739
32c301df
AM
47402013-10-04 Alan Modra <amodra@gmail.com>
4741
4742 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4743 Delete.
4744 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4745 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4746 version of math_ldbl.h.
4747
650ef4bd
AM
47482013-10-04 Alan Modra <amodra@gmail.com>
4749
4750 [BZ #15734], [BZ #15735]
4751 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4752 all uses of ieee875 long double macros and unions. Simplify test
4753 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4754 ldbl_extract_mantissa value for ix,iy exponents. Properly
4755 normalize after ldbl_extract_mantissa, and don't add hidden bit
4756 already handled. Don't treat low word of ieee854 mantissa like
4757 low word of IBM long double and mask off bit when testing for
4758 zero.
4759 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4760 all uses of ieee875 long double macros and unions. Simplify tests
4761 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4762 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4763 two1022, instead use their values. Recognise that tests for large
4764 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4765 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4766 Rewrite all uses of ieee875 long double macros and unions. Simplify
4767 test for 0.0L and nan. Correct negation.
4768 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4769 ieee875 long double macros and unions. Correct output for large
4770 magnitude x. Correct absolute value calculation.
4771 (__erfcl): Likewise.
4772 * math/libm-test.inc: Add tests for errors discovered in IBM long
4773 double versions of fmodl, remainderl, erfl and erfcl.
4774
765714ca
AM
47752013-10-04 Alan Modra <amodra@gmail.com>
4776
4777 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4778 all uses of ieee854 long double macros and unions. Simplify tests
4779 for long doubles that are fully specified by the high double.
4780 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4781 Likewise.
4782 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4783 Remove dead code too.
4784 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4785 (__ieee754_ynl): Likewise.
4786 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4787 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4788 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4789 Remove dead code too.
4790 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4791 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4792 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4793 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4794 Simplify.
4795 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4796 Simplify.
4797 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4798 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4799 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4800 Comment on variable precision.
4801 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4802 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4803 Likewise.
4804 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4805 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4806 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4807 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4808 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4809
4ebd120c
AM
48102013-10-04 Alan Modra <amodra@gmail.com>
4811
4812 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4813 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4814 all uses of ieee854 long double macros and unions.
4815 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4816 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4817 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4818 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4819 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4820 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4821 Likewise.
4822 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4823 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4824 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4825 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4826 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4827 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4828 Simplify sign and nan test too.
4829 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4830 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4831 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4832 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4833 Likewise.
4834 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4835 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4836 Likewise.
4837 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4838 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4839 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4840 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4841 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4842 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4843
1b6adf88
AM
48442013-10-04 Alan Modra <amodra@gmail.com>
4845
4846 * stdio-common/printf_size.c (__printf_size): Don't use
4847 union ieee854_long_double in fpnum union.
4848 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4849 signbit macro to retrieve sign from long double.
4850 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4851 retrieve sign from long double.
4852 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4853 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4854 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4855 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4856 * math/test-misc.c (main): Don't use union ieee854_long_double.
4857
4cf69995
AM
48582013-10-04 Alan Modra <amodra@gmail.com>
4859
4860 [BZ #15680]
4861 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4862 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4863 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4864 calculation. Remove unnecessary test for denormal exponent.
4865 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4866 Correct handling of denormals. Avoid undefined shift behaviour.
4867 Correct normalisation of low mantissa when low double is denormal.
4868 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4869 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4870 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4871 Correct normalisation of low mantissa. Test for overflow of high
4872 mantissa and normalise.
4873 (ldbl_nearbyint): Use more readable constant for two52.
4874 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4875 (__mpn_construct_long_double): Fix test for overflow of high
4876 mantissa and correct normalisation. Avoid undefined shift.
4877
9605ca6c
AM
48782013-10-04 Alan Modra <amodra@gmail.com>
4879
4880 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4881 (union ibm_extended_long_double): Define as an array of ieee754_double.
4882 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4883 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4884 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4885 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4886 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4887 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4888 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4889 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4890 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4891 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4892 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4893
975569d0
JM
48942013-10-03 Joseph Myers <joseph@codesourcery.com>
4895
d3d23756
JM
4896 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4897 page size instead of calling getpagesize.
4898
975569d0
JM
4899 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4900 (LOCFILE_ALIGN_MASK): Likewise.
4901 (LOCFILE_ALIGN_UP): Likewise.
4902 (LOCFILE_ALIGNED_P): Likewise.
4903 * locale/programs/ld-collate.c (collate_output): Use the new
4904 macros instead of __alignof__ (int32_t).
4905 * locale/weight.h (findidx): Likewise.
4906
b1fe1f2b
OB
49072013-10-03 Ondřej Bílka <neleai@seznam.cz>
4908
4909 [BZ #431]
4910 * manual/string.texi: Fix strncat and wcsncat.
4911
5f855e35
BM
49122013-10-03 Brooks Moses <bmoses@google.com>
4913
4914 [BZ #15915]
4915 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4916 * Makerules: ...here, and adjust associated comments.
4917
3cef6009
WN
49182013-10-02 Will Newton <will.newton@linaro.org>
4919
4920 * malloc/Makefile: Add tst-pvalloc.
4921 * malloc/tst-pvalloc.c: New file.
4922
7815420b
WN
49232013-10-02 Will Newton <will.newton@linaro.org>
4924
4925 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4926 improve test coverage.
4927
4868b204
WN
49282013-10-02 Will Newton <will.newton@linaro.org>
4929
4930 * malloc/Makefile: Add tst-posix_memalign.
4931 * malloc/tst-posix_memalign.c: New file.
4932
29c793b3
EB
49332013-10-01 Eric Blake <eblake@redhat.com>
4934
4935 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4936 Use __THROWNL rather than __THROW on static functions.
4937
fd967522
PM
49382013-09-30 Petr Machata <pmachata@redhat.com>
4939
4940 * elf/elf.h (R_AARCH64_ABS16): New macro.
4941 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4942 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4943 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4944 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4945 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4946 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4947 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4948 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4949 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4950 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4951 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4952 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4953 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4954 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4955 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4956 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4957 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4958 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4959 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4960 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4961 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4962 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4963 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4964 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4965 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4966 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4967 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4968 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4969 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4970 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4971 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4972 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4973 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4974 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4975 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4976 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4977 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4978 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4979 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4980 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4981 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4982 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4983 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4984 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4985 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4986 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4987 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4988 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4989 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4990 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4991 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4992 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4993 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4994 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4995 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4996 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4997 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4998 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4999 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5000 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5001 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5002 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5003 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5004 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5005 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5006 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5007 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5008 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5009 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5010 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5011 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5012 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5013 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5014 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5015 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5016 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5017 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5018 (R_AARCH64_TLSDESC_LDR): Likewise.
5019 (R_AARCH64_TLSDESC_ADD): Likewise.
5020 (R_AARCH64_TLSDESC_CALL): Likewise.
5021
b2179107
AS
50222013-09-30 Andreas Schwab <schwab@suse.de>
5023
5024 [BZ #15048]
5025 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5026 the nss database lookup.
5027 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5029
47f28d0a
MF
50302013-09-28 Mike Frysinger <vapier@gentoo.org>
5031
5032 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5033
50342013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
5035
5036 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5037 ${Bash-specific parameter/pattern/string} parameter expansion.
5038 * sysdeps/unix/make-syscalls.sh: Likewise.
5039
f4518a17
KK
50402013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5041
5042 * sysdeps/sh/stackguard-macros.h: New file.
5043
dc1a95c7
OB
50442013-09-26 Ondřej Bílka <neleai@seznam.cz>
5045
5046 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5047 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5048 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5049 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5050 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5051 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5052
5ebbff8f
AZ
50532013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5054
5055 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5056 Fix thread ID register.
5057
4fd2cf9f
JM
50582013-09-25 Joseph Myers <joseph@codesourcery.com>
5059
5060 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5061 [POSIX || UNIX98]: Require rather than permitting all symbols from
5062 <time.h>.
5063 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5064 element of struct sched_param.
5065 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5066 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5067 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5068 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5069 constant.
5070
12c22bc4
OL
50712013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5072
5073 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5074 argument calculation.
5075
a03d8ea7
JM
50762013-09-24 Joseph Myers <joseph@codesourcery.com>
5077
5078 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5079 Expect macro.
5080 [POSIX] (pthread_attr_t): Do not require type.
5081 [POSIX] (pthread_cond_t): Likewise.
5082 [POSIX] (pthread_condattr_t): Likewise.
5083 [POSIX] (pthread_key_t): Likewise.
5084 [POSIX] (pthread_mutex_t): Likewise.
5085 [POSIX] (pthread_mutexattr_t): Likewise.
5086 [POSIX] (pthread_once_t): Likewise.
5087 [POSIX] (pthread_t): Likewise.
5088 [POSIX-based standards] (pthread_atfork): Expect function.
5089
6055173a
JM
50902013-09-24 Joseph Myers <joseph@codesourcery.com>
5091 Richard Sandiford <richard@codesourcery.com>
5092
5093 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5094 (swap_endianness_p): New extern variable.
5095 (set_big_endian): New inline function.
5096 (maybe_swap_uint32): Likewise.
5097 (maybe_swap_uint32_array): Likewise.
5098 (maybe_swap_uint32_obstack): Likewise.
5099 * locale/programs/locfile.c: Include <stdbool.h>.
5100 (swap_endianness_p): New variable.
5101 (add_locale_uint32): Call maybe_swap_uint32.
5102 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5103 (write_locale_data): Call maybe_swap_uint32_array.
5104 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5105 maybe_swap_uint32.
5106 (obstack_int32_grow_fast): Likewise.
5107 (output_weightwc): Call maybe_swap_uint32_obstack.
5108 (collate_output): Likewise.
5109 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5110 (OPT_LITTLE_ENDIAN): Likewise.
5111 (options): Add --little-endian and --big-endian options.
5112 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5113 * locale/programs/locarchive.c: Include "locfile.h".
5114 (GET): New macro.
5115 (SET): Likewise.
5116 (INC): Likewise.
5117 (create_archive): Use the new macros to access fields of
5118 structures directly mapped from or written to locale archives.
5119 (oldlocrecentcmp): Likewise.
5120 (enlarge_archive): Likewise.
5121 (insert_name): Likewise.
5122 (add_alias): Likewise.
5123 (add_locale): Likewise.
5124 (delete_locales_from_archive): Likewise.
5125 (show_archive_content): Likewise.
5126 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5127 locale data.
5128
39bf0bb4
RM
51292013-09-24 Roland McGrath <roland@hack.frob.com>
5130
5131 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5132 http://www.gnu.org/doc/freemanuals.texi.
5133 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5134
f02eed10
WN
51352013-09-24 Will Newton <will.newton@linaro.org>
5136
5137 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5138 macro.
5139
a3a6c312
JM
51402013-09-23 Joseph Myers <joseph@codesourcery.com>
5141
5142 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5143 unsigned char.
5144
107375ac
MR
51452013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5146
5147 * manual/threads.texi (POSIX Threads): Fix a typo.
5148
141f3a77
SP
51492013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5150
303e567a
SP
5151 [BZ #14547]
5152 * string/tst-strcoll-overflow.c: New test case.
5153 * string/Makefile (xtests): Add tst-strcoll-overflow.
5154 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5155 cache if string sizes may cause integer overflow.
5156
141f3a77
SP
5157 [BZ #14547]
5158 * string/strcoll_l.c (coll_seq): New members rule, idx,
5159 save_idx and back_us.
5160 (get_next_seq_nocache): New function.
5161 (do_compare_nocache): New function.
5162 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5163 when malloc fails.
5164
c61b4d41
CD
51652013-09-23 Carlos O'Donell <carlos@redhat.com>
5166
0b1f8e35
CD
5167 [BZ #15754]
5168 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5169 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5170 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5171
c61b4d41
CD
5172 [BZ #15754]
5173 * elf/Makefile (tests): Add tst-ptrguard1.
5174 (tests-static): Add tst-ptrguard1-static.
5175 (tst-ptrguard1-ARGS): Define.
5176 (tst-ptrguard1-static-ARGS): Define.
5177 * elf/tst-ptrguard1.c: New file.
5178 * elf/tst-ptrguard1-static.c: New file.
5179 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5180 * sysdeps/i386/stackguard-macros.h: Likewise.
5181 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5182 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5183 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5184 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5185 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5186 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5187
51882013-09-23 Hector Marco <hecmargi@upv.es>
5189 Ismael Ripoll <iripoll@disca.upv.es>
5190 Carlos O'Donell <carlos@redhat.com>
5191
5192 [BZ #15754]
5193 * sysdeps/generic/stackguard-macros.h: Define
5194 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5195 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5196 Define __pointer_chk_guard_local.
5197 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5198 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5199
f5f4e7b4
VV
52002013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5201
5202 [BZ #15859]
5203 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5204
5bb43a43
AS
52052013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5206
5207 * include/string.h (__ffs): Declare as hidden.
5208 * string/ffs.c (__ffs): Define as hidden.
5209 * sysdeps/i386/ffs.c (__ffs): Likewise.
5210 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5211 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5212 * sysdeps/s390/ffs.c (__ffs): Likewise.
5213 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5214
3ea5be54
AO
52152013-09-20 Alexandre Oliva <aoliva@redhat.com>
5216
ffb89e53
AO
5217 * NEWS: Mention malloc probes.
5218
322dea08
AO
5219 * malloc/arena.c (new_heap): New memory_heap_new probe.
5220 (grow_heap): New memory_heap_more probe.
5221 (shrink_heap): New memory_heap_less probe.
5222 (heap_trim): New memory_heap_free probe.
5223 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5224 (systrim): New memory_sbrk_less probe.
5225 * manual/probes.texi: Document them.
5226
655673f3
AO
5227 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5228 * manual/probes.texi: Document it.
5229
35fed6f1
AO
5230 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5231 (__libc_realloc): Add memory_realloc_retry probe.
5232 (__libc_memalign): Add memory_memalign_retry probe.
5233 (__libc_valloc): Add memory_valloc_retry probe.
5234 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5235 (__libc_calloc): Add memory_calloc_retry probe.
5236 * manual/probes.texi: Document them.
5237
6999d38c
AO
5238 * malloc/arena.c (get_free_list): Add probe
5239 memory_arena_reuse_free_list.
5240 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5241 and memory_arena_reuse.
5242 (arena_get2) [!PER_THREAD]: Likewise.
5243 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5244 memory_arena_reuse_realloc.
5245 * manual/probes.texi: Document them.
5246
0653427f
AO
5247 * malloc/malloc.c (__libc_free): Add
5248 memory_mallopt_free_dyn_thresholds probe.
5249 (__libc_mallopt): Add multiple memory_mallopt probes.
5250 * manual/probes.texi: Document them.
5251
3ea5be54
AO
5252 * malloc/malloc.c: Include stap-probe.h.
5253 (__libc_mallopt): Add memory_mallopt probe.
5254 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5255 * manual/probes.texi: New.
5256 * manual/Makefile (chapters): Add probes.
5257 * manual/threads.texi: Set next node.
5258
e35696c3 52592013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 5260
e35696c3
CL
5261 [BZ #15963, #13985]
5262 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5263 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5264 Add `Chinese' to `nan' entry name.
5265
4aafb73c
SP
52662013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5267
5268 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5269 (POLYNOMIAL): Likewise.
5270 (TAYLOR_SINCOS): Likewise.
5271 (TAYLOR_SLOW): Likewise.
5272 (__sin): Use TAYLOR_SINCOS.
5273 (__cos): Likewise.
5274 (slow): Use TAYLOR_SLOW.
5275 (sloww): Likewise.
5276 (bsloww): Likewise.
5277 (csloww): Likewise.
5278
d84f25c7
LD
52792013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5280
5281 * stdlib/strtod_l.c: Fix buffer overrun.
5282
5eea0404
SP
52832013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5284
7849ff93
SP
5285 * benchtests/Makefile (bench): Add sincos.
5286 * benchtests/bench-sincos.c: New file.
5287
cfa3c886
SP
5288 * math/libm-test.inc (cos_test_data): New test inputs.
5289 (sin_test_data): Likewise.
5290
b348e1e3
SP
5291 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5292 macro.
5293 (__sin): Use it.
5294 (__cos): Likewise.
5295 (slow1): Likewise.
5296 (slow2): Likewise.
5297 (sloww1): Likewise.
5298 (sloww2): Likewise.
5299 (bsloww1): Likewise.
5300 (bsloww2): Likewise.
5301 (cslow2): Likewise.
5302 (csloww1): Likewise.
5303 (csloww2): Likewise.
5304
6cce25f8
SP
5305 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5306 function.
5307 (__sin): Use it.
5308 (__cos): Likewise.
5309
5eea0404
SP
5310 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5311 gotos.
5312 (__cos): Likewise.
5313
9c21573c
MR
53142013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5315
5316 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5317 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5318 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5319 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5320 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5321 * elf/cache.c (print_entry): Handle the new cache flags.
5322
24d22e65
JM
53232013-09-18 Joseph Myers <joseph@codesourcery.com>
5324 Aldy Hernandez <aldyh@redhat.com>
5325
5326 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5327 Change condition to [_SOFT_FLOAT].
5328 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5329 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5330 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5331 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5332 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5333 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5334 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5335 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5336 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5337 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5338 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5339 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5340 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5341 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5342 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5343 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5344 declaration.
5345
d13ef066
JM
53462013-09-18 Joseph Myers <joseph@codesourcery.com>
5347
2e071de0
JM
5348 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5349 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5350 (__longjmp): Use LOAD_GP to load saved GPRs.
5351 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5352 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5353 (__sigsetjmp): Use SAVE_GP to save GPRs.
5354
d13ef066
JM
5355 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5356 Do not append -msoft-float.
5357 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5358
97a0650b
SP
53592013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5360
5361 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5362
11ca09e9
JM
53632013-09-17 Joseph Myers <joseph@codesourcery.com>
5364
5365 [BZ #15966]
5366 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5367 (_FPU_GETCW): Use initial "__" on variable and field names but not
5368 on macro parameter name.
5369 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5370 parentheses around reference to macro parameter.
5371
08ffcf34
RS
53722013-09-13 Richard Sandiford <richard@codesourcery.com>
5373
5374 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5375 prototype.
5376 (ctype_startup): Use uint32_t in cast and sizeof for
5377 ctype->charnames.
5378
ae7080d3
JL
53792013-09-11 Jia Liu <proljc@gmail.com>
5380
5381 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5382 __daddr_t_defined.
5383 [__FreeBSD__]: Likewise.
5384
5905e7b3
OB
53852013-09-11 Ondřej Bílka <neleai@seznam.cz>
5386
5387 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5388 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5389 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5390 (strchr): Remove __strchr_sse42 ifunc selection.
5391 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5392 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5393
b987c776
WN
53942013-09-11 Will Newton <will.newton@linaro.org>
5395
5396 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5397 parameter to RES. Remove hardcoded 1000 value.
5398 * benchtests/bench-skeleton.c (main): Pass RES parameter
5399 to TIMING_INIT and multiply result by 1000.
5400
ddf985af
AZ
54012013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5402
5403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5404
ffdd3181
AS
54052013-09-11 Andreas Schwab <schwab@suse.de>
5406
5407 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5408 if not defined.
5409 (O_TMPFILE) [__USE_GNU]: Define.
5410 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5411 Define.
5412
b73ed247
WN
54132013-09-11 Will Newton <will.newton@linaro.org>
5414
5415 [BZ #15857]
5416 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5417 does not overflow.
5418
55e17aad
WN
54192013-09-11 Will Newton <will.newton@linaro.org>
5420
5421 [BZ #15856]
5422 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5423 does not overflow.
5424
1159a193
WN
54252013-09-11 Will Newton <will.newton@linaro.org>
5426
5427 [BZ #15855]
5428 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5429 does not overflow.
5430
5905e7b3 54312013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
5432
5433 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5434 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5435 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5436 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5437 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5438
cdfc721b
AM
54392013-09-10 Allan McRae <allan@archlinux.org>
5440
aa04af00
AM
5441 [BZ #15748]
5442 * manual/arith.texi (Parsing of Floats): Clarify
5443 cross-reference.
5444
cdfc721b
AM
5445 [BZ #15849]
5446 * manual/install.texi (Running make install): Mention
5447 --enable-pt-chown.
5448 * INSTALL: Regenerated.
5449
95e7cf29
MR
54502013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5451
5452 * csu/init-first.c (_init): Remove the !SHARED condition around
5453 FPU control word initialization.
5454 * elf/dl-support.c (_dl_fpu_control): New variable.
5455 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5456 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5457 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5458 * math/test-fpucw-static.c: New file.
5459 * math/test-fpucw-ieee.c: New file.
5460 * math/test-fpucw-ieee-static.c: New file.
5461 * math/Makefile (tests): Add `test-fpucw-ieee' and
5462 `$(tests-static)'.
5463 (tests-static): New variable.
5464 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5465 dependency to...
5466 [($(build-shared),yes)]
5467 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5468 ... this.
5469 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5470 New dependency.
5471
83e43bf0
AM
54722013-09-09 Allan McRae <allan@archlinux.org>
5473
a9f5ce09
AM
5474 [BZ #15939]
5475 * manual/string.texi (Collation Functions): Fix typo in
5476 strcoll example.
5477 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5478
34829bc2
AM
5479 [BZ #15893]
5480 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5481
3932737d
AM
5482 [BZ #15892]
5483 * libio/memstream.c (open_memstream): Fix memory leak.
5484 * libio/wmemstream.c (open_wmemstream): Likewise.
5485
83e43bf0
AM
5486 [BZ #15895]
5487 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5488
0c66b8e9
WN
54892013-09-09 Will Newton <will.newton@linaro.org>
5490
5491 * malloc/Makefile: Add tst-realloc to tests.
5492 * malloc/tst-realloc.c: New file.
5493
f6b00fd1
AM
54942013-09-09 Allan McRae <allan@archlinux.org>
5495
5496 [BZ #15844]
5497 * COPYING: Update from GNU website to fix FSF address.
5498 * COPYING.LIB: Likewise.
5499
eec55e16
DM
55002013-09-06 David S. Miller <davem@davemloft.net>
5501
5502 * po/zh_TW.po: Update Chinese (traditional) translation from
5503 translation project.
5504
1ecbb381
RS
55052013-09-06 Richard Sandiford <richard@codesourcery.com>
5506 Joseph Myers <joseph@codesourcery.com>
5507
5508 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5509 "localeinfo.h".
5510 (obstack_chunk_alloc): New macro.
5511 (obstack_chunk_free): Likewise.
5512 (record_offset): New function.
5513 (init_locale_data): Likewise.
5514 (align_locale_data): Likewise.
5515 (add_locale_empty): Likewise.
5516 (add_locale_raw_data): Likewise.
5517 (add_locale_raw_obstack): Likewise.
5518 (add_locale_string): Likewise.
5519 (add_locale_wstring): Likewise.
5520 (add_locale_uint32): Likewise.
5521 (add_locale_uint32_array): Likewise.
5522 (add_locale_char): Likewise.
5523 (start_locale_structure): Likewise.
5524 (end_locale_structure): Likewise.
5525 (start_locale_prelude): Likewise.
5526 (end_locale_prelude): Likewise.
5527 (write_locale_data): Take locale_file structure rather than an
5528 iovec.
5529 * locale/programs/locfile.h: Include "obstack.h".
5530 (struct locale_file): Change to store locale file contents instead
5531 of header.
5532 (init_locale_data): New prototype.
5533 (align_locale_data): Likewise.
5534 (add_locale_empty): Likewise.
5535 (add_locale_raw_data): Likewise.
5536 (add_locale_raw_obstack): Likewise.
5537 (add_locale_string): Likewise.
5538 (add_locale_wstring): Likewise.
5539 (add_locale_uint32): Likewise.
5540 (add_locale_uint32_array): Likewise.
5541 (add_locale_char): Likewise.
5542 (start_locale_structure): Likewise.
5543 (end_locale_structure): Likewise.
5544 (start_locale_prelude): Likewise.
5545 (end_locale_prelude): Likewise.
5546 (write_locale_data): Update prototype.
5547 * locale/programs/3level.h (struct TABLE): Remove result field.
5548 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5549 Use new locale_file interface.
5550 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5551 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5552 * locale/programs/ld-address.c (address_output): Use new
5553 locale_file interface.
5554 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5555 NO_ADD_LOCALE.
5556 (collate_finish): Don't call collseq_table_finalize.
5557 (collate_output): Use new locale_file interface.
5558 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5559 in file.
5560 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5561 (TABLE): Move defines earlier in file.
5562 (ELEMENT): Likewise.
5563 (DEFAULT): Likewise.
5564 (wctrans_table_add): Move macro and inline function earlier in
5565 file.
5566 (struct wctype_table): Move type earlier in file.
5567 (add_locale_wctype_table): New static prototype.
5568 (struct locale_ctype_t): Use logical types instead of struct iovec
5569 pointers for members.
5570 (ctype_output): Use new locale_file interface.
5571 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5572 new locale_file interface.
5573 (allocate_arrays): Update for use of new locale_file interface.
5574 * locale/programs/ld-identification.c (identification_output): Use
5575 new locale_file interface.
5576 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5577 * locale/programs/ld-messages.c (messages_output): Likewise.
5578 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5579 * locale/programs/ld-name.c (name_output): Likewise.
5580 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5581 * locale/programs/ld-paper.c (paper_output): Likewise.
5582 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5583 * locale/programs/ld-time.c (time_output): Likewise.
5584
e029e2e5
AZ
55852013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5586
5587 * benchtests/Makefile: Add memrchr benchmark.
5588 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5589 benchmark as memrchr.
5590 * benchtests/bench-memrchr-ifunc.c: New file.
5591 * benchtests/bench-memrchr.c: New file.
5592
bbf6e8e4
WN
55932013-09-06 Will Newton <will.newton@linaro.org>
5594
5595 * benchtests/Makefile (string-bench): Add memcpy.
5596
6c82a2f8
CD
55972013-09-05 Carlos O'Donell <carlos@redhat.com>
5598 Cong Wang <amwang@redhat.com>
5599
5600 * sysdeps/unix/sysv/linux/bits/in.h
5601 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5602 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5603 before __USE_KERNEL_IPV6_DEFS uses.
5604 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5605 IPPROTO_BEETPH.
5606 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5607 sockaddr_in6, or ipv6_mreq.
5608
5430fc65
AZ
56092013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5610
5611 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5612 memory access for final bytes in some large inputs.
5613 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5614
4660856c
AZ
56152013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5616
5617 * string/test-memrchr.c: New file.
5618 * string/test-memrchr-ifunc.c: New file.
5619 * string/Makefile: Add new memrchr testcase.
5620
bb8ea713
MF
56212013-09-05 Mike Frysinger <vapier@gentoo.org>
5622
5623 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5624 fanotify_init returns EPERM.
5625
b92a20b5
JM
56262013-09-04 Joseph Myers <joseph@codesourcery.com>
5627
5628 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5629 errors.
5630 (top level): Treat second token from macro or constant entries for
5631 allowed headers as allowed.
5632 * include/complex.h: Condition internal declarations on
5633 [!_ISOMAC].
5634 * include/fenv.h: Condition include of <stdbool.h> and internal
5635 declarations on [!_ISOMAC].
7447ccd9
CL
5636
56372013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5638
3e181dda 5639 [BZ #15923]
7447ccd9
CL
5640 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5641
3f2e46a4
JM
56422013-09-04 Joseph Myers <joseph@codesourcery.com>
5643
5644 * configure.in (--enable-versioning): Remove configure option.
5645 (libc_cv_asm_symver_directive): Remove configure test.
5646 (libc_cv_ld_version_script_option): Likewise.
5647 (VERSIONING): Remove variable and AC_SUBST.
5648 (DO_VERSIONING): Remove AC_DEFINE.
5649 * configure: Regenerated.
5650 * config.h.in (DO_VERSIONING): Remove macro.
5651 * Makerules [$(versioning) = yes]: Change conditionals to
5652 [$(build-shared) = yes].
5653 * config.make.in (versioning): Remove variable.
5654 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5655 [$(build-shared) = yes].
5656 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5657 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5658 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5659 [$(build-shared) = yes].
5660 * extra-lib.mk [$(versioning) = yes]: Likewise.
5661 * hurd/Makefile [$(versioning) = yes]: Likewise.
5662 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5663 [SHARED].
5664 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5665 [SHARED].
5666 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5667 [SHARED && !NO_HIDDEN].
5668 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5669 [SHARED].
5670 [SHARED && DO_VERSIONING]: Likewise..
5671 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5672 [$(build-shared) = yes].
5673 * manual/install.texi (--disable-versioning): Remove
5674 documentation.
5675 * INSTALL: Regenerated.
5676 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5677 to [SHARED].
5678 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5679 [$(build-shared) = yes].
5680 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5681 * sysdeps/i386/i686/multiarch/strstr-c.c
5682 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5683 [SHARED && !NO_HIDDEN].
5684 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5685 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5686 * sysdeps/powerpc/powerpc32/dl-machine.c
5687 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5688 * sysdeps/powerpc/powerpc32/sysdep.h
5689 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5690 to [SHARED && PIC && !NO_HIDDEN].
5691 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5692 conditional to [SHARED].
5693
44558701
WN
56942013-09-04 Will Newton <will.newton@linaro.org>
5695
5696 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5697 * benchtests/bench-string.h: Include bench-timing.h instead
5698 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5699 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5700 call to HP_TIMING_DIFF_INIT.
5701 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5702 instead of hp-timing.h macros.
5703 * benchtests/bench-memchr.c: Likewise.
5704 * benchtests/bench-memcmp.c: Likewise.
5705 * benchtests/bench-memcpy.c: Likewise.
5706 * benchtests/bench-memmem.c: Likewise.
5707 * benchtests/bench-memmove.c: Likewise.
5708 * benchtests/bench-memset.c: Likewise.
5709 * benchtests/bench-rawmemchr.c: Likewise.
5710 * benchtests/bench-strcasecmp.c: Likewise.
5711 * benchtests/bench-strcasestr.c: Likewise.
5712 * benchtests/bench-strcat.c: Likewise.
5713 * benchtests/bench-strchr.c: Likewise.
5714 * benchtests/bench-strcmp.c: Likewise.
5715 * benchtests/bench-strcpy.c: Likewise.
5716 * benchtests/bench-strcpy_chk.c: Likewise.
5717 * benchtests/bench-strlen.c: Likewise.
5718 * benchtests/bench-strncasecmp.c: Likewise.
5719 * benchtests/bench-strncat.c: Likewise.
5720 * benchtests/bench-strncmp.c: Likewise.
5721 * benchtests/bench-strncpy.c: Likewise.
5722 * benchtests/bench-strnlen.c: Likewise.
5723 * benchtests/bench-strpbrk.c: Likewise.
5724 * benchtests/bench-strrchr.c: Likewise.
5725 * benchtests/bench-strspn.c: Likewise.
5726 * benchtests/bench-strstr.c: Likewise.
5727
cae16d66
WN
57282013-09-04 Will Newton <will.newton@linaro.org>
5729
5730 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5731
ffa3cd7f
JM
57322013-09-03 Joseph Myers <joseph@codesourcery.com>
5733
5734 [BZ #15427]
5735 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5736 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5737 * math/libm-test.inc (lgamma_test_data): Add more tests.
5738 * sysdeps/i386/fpu/libm-test-ulps: Update.
5739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5740
8f02859f
OB
57412013-09-03 Ondřej Bílka <neleai@seznam.cz>
5742
5743 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5744 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5745 Add ifunc.
5746 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5747 Add strcmp-sse2-unaligned
5748 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5749
18d43716
MF
57502013-09-02 Mike Frysinger <vapier@gentoo.org>
5751
5752 * Versions.def (libc): Add GLIBC_2.19.
5753
ac444012
MF
57542013-09-02 Mike Frysinger <vapier@gentoo.org>
5755
5756 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5757 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5758
b7835e32
JM
57592013-09-02 Joseph Myers <joseph@codesourcery.com>
5760
5761 [BZ #14155]
5762 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5763 intermediate calculations in recurrence.
5764 (__ieee754_ynf): Likewise.
5765 * math/libm-test.inc (jn_test_data): Do not allow spurious
5766 underflow exception. Add more tests.
5767 (yn_test_data): Add more tests.
5768 * sysdeps/i386/fpu/libm-test-ulps: Update.
5769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5770
8220f4f0
OB
57712013-09-02 Ondřej Bílka <neleai@seznam.cz>
5772
5773 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5774
f24a6d08
OB
57752013-08-30 Ondřej Bílka <neleai@seznam.cz>
5776
5777 * csu/init-first.c: Fix then/than typos.
5778 * locale/programs/ld-collate.c: Likewise.
5779 * locale/programs/linereader.h: Likewise.
5780 * manual/charset.texi: Likewise.
5781 * manual/filesys.texi: Likewise.
5782 * manual/stdio.texi: Likewise.
5783 * manual/string.texi: Likewise.
5784 * stdlib/fmtmsg.c: Likewise.
5785 * sysdeps/i386/stpncpy.S: Likewise.
5786 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5787 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5788 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5789 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5790
382466e0
OB
57912013-08-30 Ondřej Bílka <neleai@seznam.cz>
5792
5793 * elf/dl-open.c: Fix typos.
5794 * iconvdata/gbbig5.c: Likewise.
5795 * iconvdata/iso-2022-jp.c: Likewise.
5796 * iconv/gconv_int.h: Likewise.
5797 * iconv/loop.c: Likewise.
5798 * nis/rpcsvc/nis.h: Likewise.
5799 * resolv/ns_name.c: Likewise.
5800 * stdio-common/vfscanf.c: Likewise.
5801 * streams/stropts.h: Likewise.
5802 * sunrpc/rpc_thread.c: Likewise.
5803 * sysdeps/i386/strpbrk.S: Likewise.
5804 * sysdeps/ieee754/k_standard.c: Likewise.
5805 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5806 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5807 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5808 * sysdeps/mach/hurd/profil.c: Likewise.
5809 * sysdeps/s390/dl-procinfo.h: Likewise.
5810 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5811 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5812 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5813 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5814 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5815
0186c6e9
OB
58162013-08-30 Ondřej Bílka <neleai@seznam.cz>
5817
5818 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5819 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5820
d4e16af1
OB
58212013-08-29 Ondřej Bílka <neleai@seznam.cz>
5822
5823 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5824 aix specific files.
5825 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5826 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5827 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5828 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5829 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5830 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5831 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5832 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5833
88335980
TS
58342013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5835 Roland McGrath <roland@hack.frob.com>
5836
5837 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5838 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5839
ed479b02
ST
58402013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5841
5842 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5843 __executable_start symbol instead of _start.
5844
f1cc4c86
TS
58452013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5846
d821f07c
TS
5847 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5848 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5849 Move macros to...
5850 * sysdeps/gnu/ldsodefs.h: ... this new file.
5851
c54290cf
TS
5852 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5853 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5854 instead of ELFOSABI_LINUX.
5855
0007fc9b 5856 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
5857 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5858 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5859 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5860 Likewise.
5861 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5862 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5863 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5864 Likewise.
5865 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5866 (ibm_extended_long_double): Add ieee_nan member.
5867 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5868 (do_test): New function.
5869
f1cc4c86
TS
5870 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5871 TEST_TRUNC.
5872 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5873 functions, renamed from truncdfsf_test, trunctfsf_test,
5874 trunctfdf_test.
5875 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5876 functions.
5877 (do_test): Run all these.
5878
6f65e668
OB
58792013-08-29 Ondřej Bílka <neleai@seznam.cz>
5880
5881 * argp/argp-help.c: Fix typos.
5882 * argp/argp-parse.c: Likewise.
5883 * debug/backtracesyms.c: Likewise.
5884 * elf/elf.h: Likewise.
5885 * malloc/malloc.c: Likewise.
5886 * nis/nis_print.c: Likewise.
5887 * resolv/res_comp.c: Likewise.
5888 * stdlib/stdlib.h: Likewise.
5889 * sunrpc/clnt_tcp.c: Likewise.
5890 * sunrpc/clnt_udp.c: Likewise.
5891 * sunrpc/clnt_unix.c: Likewise.
5892 * sysdeps/unix/bsd/ptsname.c: Likewise.
5893 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5894 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
5895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5896 Likewise.
5897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5898 Likewise.
5899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5900 Likewise.
6f65e668
OB
5901 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5902
3a309239
SP
59032013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5904
5905 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5906 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5907
3b813b29
MF
59082013-08-27 Mike Frysinger <vapier@gentoo.org>
5909
5910 [BZ #15897]
5911 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5912 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5913 ($(objpfx)bug-dl-leaf): New rule.
5914 ($(objpfx)bug-dl-leaf.so): Likewise.
5915 ($(objpfx)bug-dl-leaf.out): Likewise.
5916 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5917 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5918 * dlfcn/bug-dl-leaf.c: New test.
5919 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5920 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5921 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5922 (dlclose): Likewise.
5923 (dlmopen): Likewise.
5924
8cc3269f
RM
59252013-08-27 Roland McGrath <roland@hack.frob.com>
5926
7f9d0034
RM
5927 * include/netdb.h [!_ISOMAC]:
5928 Don't include <tls.h>.
5929 (h_errno, __libc_h_errno): Move declaration and macros out of
5930 [_LIBC_REENTRANT].
5931
fb431262
RM
5932 * include/resolv.h [_RESOLV_H_]:
5933 Don't include <tls.h>.
5934 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5935 * resolv/res_libc.c: Don't include <tls.h>.
5936 (_res): Use __attribute__ ((nocommon)) in place of
5937 __attribute__ ((section (".bss"))).
5938
bd81123a
RM
5939 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5940 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5941
c4e42566
RM
5942 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5943
f890a59b
RM
5944 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5945 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5946
5947 * resolv/res_mkquery.c: Include <sys/time.h>.
5948
5d1f0a09
RM
5949 * inet/ifreq.c: Moved to ...
5950 * sysdeps/unix/ifreq.c: ... here.
5951 * inet/ifreq.c: New file, true stub version.
5952
6fcf28b3
RM
5953 * socket/sa_len.c: New file.
5954 * socket/Makefile (aux): Add it.
5955 * sysdeps/unix/sysv/linux/Makefile
5956 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5957 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5958 and #include <socket/sa_len.c>.
5959 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5960 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5961
e041fb8b
RM
5962 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5963 * bits/socket.h: ... here.
5964
8cc3269f
RM
5965 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5966 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5967 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5968
5d228a43
AS
59692013-08-27 Andreas Schwab <schwab@suse.de>
5970
45b8accc
AS
5971 [BZ #15736]
5972 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5973 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5974 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5975 * string/test-strcasecmp.c (test_main): Run tests in several
5976 locales.
5977 * string/test-strncasecmp.c (test_main): Likewise.
5978
5d228a43
AS
5979 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5980 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5981 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5982 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5983 (__strncasecmp_ssse3) [PIC]: Likewise.
5984
59d112a4
RM
59852013-08-26 Roland McGrath <roland@hack.frob.com>
5986
53234cc3
RM
5987 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5988
59d112a4
RM
5989 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5990 instead of explicitly declaring xdecrypt.
5991 * nis/nss_nis/nis-publickey.c: Likewise.
5992
595aba70
SP
59932013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5994
5995 [BZ #15890]
5996 * nscd/aicache.c: Include res_hconf.h.
5997 (addhstaiX): Initialize res_hconf.
5998
ffabd393
AS
59992013-08-26 Andreas Schwab <schwab@suse.de>
6000
6001 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6002 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6003
e0a69f5c
SP
60042013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6005
6006 * nscd/aicache.c (addhstaiX): Fix indentation.
6007
8c12f01d
MF
60082013-08-25 Mike Frysinger <vapier@gentoo.org>
6009
6010 * configure.ac: Quote $build_pt_chown test.
6011 * configure: Regenerated.
6012
8fe89494
JM
60132013-08-23 Joseph Myers <joseph@codesourcery.com>
6014
6015 [BZ #15532]
6016 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6017 * math/s_cexpf.c (__cexpf): Likewise.
6018 * math/s_cexpl.c (__cexpl): Likewise.
6019 * math/libm-test.inc (cexp_test_data): Correct expected return
6020 value for NaN + i0. Add another test.
6021
75b181d6
DM
60222013-08-22 David S. Miller <davem@davemloft.net>
6023
6024 * po/ca.po: Update Catalan translation from translation project.
936241e4 6025 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 6026
acd06bb1
JM
60272013-08-21 Joseph Myers <joseph@codesourcery.com>
6028
6029 [BZ #15797]
6030 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6031 is infinite, not alongside NaN test.
6032 * math/s_fdimf.c (__fdimf): Likewise.
6033 * math/s_fdiml.c (__fdiml): Likewise.
6034 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6035 errno is unchanged.
6036
c0c3f78a
OB
60372013-08-21 Ondřej Bílka <neleai@seznam.cz>
6038
6039 * argp/argp-help.c: Fix typos.
6040 * crypt/speeds.c: Likewise.
6041 * csu/check_fds.c: Likewise.
6042 * elf/dl-load.c: Likewise.
6043 * elf/dl-open.c: Likewise.
6044 * elf/reldep3.c: Likewise.
6045 * elf/reldep.c: Likewise.
6046 * elf/sprof.c: Likewise.
6047 * iconv/iconv_charmap.c: Likewise.
6048 * iconv/skeleton.c: Likewise.
6049 * iconv/strtab.c: Likewise.
6050 * io/lockf64.c: Likewise.
6051 * libio/libioP.h: Likewise.
6052 * resolv/gai_notify.c: Likewise.
6053 * resolv/ns_name.c: Likewise.
6054 * resolv/ns_samedomain.c: Likewise.
6055 * resolv/res_send.c: Likewise.
6056 * stdlib/random.c: Likewise.
6057 * sunrpc/rpc/xdr.h: Likewise.
6058 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6059 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6060 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6061 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6062 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6063 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6064 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6065 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6066 * sysdeps/mach/hurd/check_fds.c: Likewise.
6067 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6068 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6069 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6070 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6071 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6072 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6073 * sysdeps/pthread/aio_notify.c: Likewise.
6074 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6075 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6076 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6077 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6078 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6079
46ed1038
LD
60802013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6081
6082 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6083 version if bit_Slow_SSE4_2 is set.
6084 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6085 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6086
d400dcac
AZ
60872013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6088
6089 [BZ #15867]
6090 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6091 trampoline stack frame information.
6092 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6093 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6094 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6095 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6096 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6097 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6098 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6099 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6100 sa_flags value.
6101 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6102 interrupting a syscall and set with option SA_SIGINFO.
6103
42c8fdd8
JM
61042013-08-20 Joseph Myers <joseph@codesourcery.com>
6105
c980f2f4
JM
6106 [BZ #15531]
6107 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6108 argument is infinite.
6109 * math/s_cprojf.c (__cprojf): Likewise.
6110 * math/s_cprojl.c (__cprojl): Likewise.
6111 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6112 * math/libm-test.inc (cproj_test_data): Add more tests.
6113
0716c4fc
JM
6114 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6115
42c8fdd8
JM
6116 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6117 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6118 size. Use __ffs to determine corresponding shift.
6119
b31469d0
JM
61202013-08-20 Joseph Myers <joseph@codesourcery.com>
6121 Roland McGrath <roland@hack.frob.com>
6122
6123 * Makefile (INSTALL): Remove trailing blank lines from output of
6124 makeinfo.
6125
4e39af6e
AK
61262013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6127
6128 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6129 Align 32 bit compat elf_greg to 8 bytes.
6130
f315524e
AA
61312013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6132
6133 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6134
1326ba1a
SP
61352013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6136
6137 * string/strcoll_l.c (coll_seq): New structure.
6138 (get_next_seq_cached): New function.
6139 (get_next_seq): New function.
6140 (do_compare): New function.
6141 (STRCOLL): Use GNU style definition. Simplify implementation
6142 by using get_next_seq, get_next_seq_cached and do_compare.
6143
91ce4085
FW
61442013-08-16 Florian Weimer <fweimer@redhat.com>
6145
6146 [BZ #14699]
6147 CVE-2013-4237
6148 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6149 member.
6150 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6151 member.
6152 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6153 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6154 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6155 conditional.
6156 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6157 GETDENTS_64BIT_ALIGNED.
6158 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6159 * manual/filesys.texi (Reading/Closing Directory): Document
6160 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6161 strongly.
6162 * manual/conf.texi (Limits for Files): Add portability note to
6163 NAME_MAX, PATH_MAX.
6164 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6165
ca0a6bc4
AS
61662013-08-13 Andreas Schwab <schwab@suse.de>
6167
6168 [BZ #15749]
6169 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6170 of fabs.
6171 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6172 LDBL_MAX_EXP >= 16384]: Add tests for it.
6173
6c1fd795
DM
61742013-08-12 David S. Miller <davem@davemloft.net>
6175
6176 * version.h (RELEASE): Set to "development".
6177 (VERSION): Set to "2.18.90".
6178 * NEWS: Add 2.19 section.
6179
31ad488d
DM
61802013-08-03 David S. Miller <davem@davemloft.net>
6181
6182 * po/ko.po: Update Korean translation from translation project.
6183
db24e684
DM
61842013-08-01 David S. Miller <davem@davemloft.net>
6185
6186 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6187 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6188 Bilka.
6189
f723285b
DM
61902013-07-30 David S. Miller <davem@davemloft.net>
6191
6192 * po/fr.po: Update French translation from translation project.
6193
3cbc52db
DM
61942013-07-28 David S. Miller <davem@davemloft.net>
6195
30bbc0cc
DM
6196 * po/cs.po: Update Czech translation from translation project.
6197
3cbc52db
DM
6198 * po/sv.po: Update Swedish translation from translation project.
6199
d492e6d0
DM
62002013-07-27 David S. Miller <davem@davemloft.net>
6201
f1a7f492
DM
6202 * po/eo.po: Update Esperanto translation from translation project.
6203
90e62a4a
DM
6204 * po/vi.po: Update Vietnamese translation from translation project.
6205
d492e6d0
DM
6206 * po/de.po: Update German translation from translation project.
6207
d4baa62d
DM
62082013-07-26 David S. Miller <davem@davemloft.net>
6209
641aa7b4
DM
6210 * po/bg.po: Update Bulgarian translation from translation project.
6211
d4baa62d
DM
6212 * po/nl.po: Update Dutch translation from translation project.
6213 * po/pl.po: Update Polish translation from translation project.
6214 * po/ru.po: Update Russian translation from translation project.
6215
61a9dcb9
DM
62162013-07-24 David S. Miller <davem@davemloft.net>
6217
6218 * po/libc.pot: Update.
6219
7b1f8b58
AZ
62202013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6221
6222 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6223 variable page size.
6224 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6225 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6226 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6227
a8fc7a03
AK
62282013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6229
6230 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6231
e4608715
CD
62322013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6233 Andreas Schwab <schwab@suse.de>
6234 Roland McGrath <roland@hack.frob.com>
6235 Joseph Myers <joseph@codesourcery.com>
6236 Carlos O'Donell <carlos@redhat.com>
6237
6238 [BZ #15755]
6239 * config.h.in: Define HAVE_PT_CHOWN.
6240 * config.make.in (build-pt-chown): New variable.
6241 * configure.in (--enable-pt_chown): New configure option.
6242 * configure: Regenerate.
6243 * login/Makefile: Include Makeconfig. Build pt_chown only if
6244 build-pt-chown is enabled.
6245 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6246 pt_chown to fix pty ownership.
6247 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6248 CLOSE_ALL_FDS.
6249 * manual/install.texi (Configuring and compiling): Mention
6250 --enable-pt_chown. Add @findex for grantpt.
6251 * INSTALL: Regenerate.
6252
da2d62df
DM
62532013-07-20 David S. Miller <davem@davemloft.net>
6254
6255 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6256 difference between 32-bit and 64-bit.
6257
d7e06450
CD
62582013-07-15 Carlos O'Donell <carlos@redhat.com>
6259
6260 [BZ #15711]
6261 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6262 Avoid system header dependency with -ffreestanding.
6263 ($(objpfx)bits/syscall%d): Likewise.
6264
f959cfd7
DM
62652013-07-13 David S. Miller <davem@davemloft.net>
6266
6267 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6268 underflows from atanl/atan2l due to bug 15319.
6269 (casinh_test_data): Likewise.
6270
c61f8513
DM
62712013-07-07 David S. Miller <davem@davemloft.net>
6272
6273 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6274
72c90ed0
JA
62752013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6276
6277 * sysdeps/i386/fpu/libm-test-ulps: Update.
6278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6279
52dfbe13
SP
62802013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6281
6282 * configure.in (--enable-lock-elision): Fix message text.
6283 * INSTALL: Regenerate.
6284 * configure: Regenerate.
6285
3f169543
AZ
62862013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6287
6288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6289
521c6785
AJ
62902013-07-03 Andreas Jaeger <aj@suse.de>
6291
6292 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6293 define.
6294 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6295 (ptrace_peeksiginfo_args): Add.
6296 (__ptrace_peeksiginfo_flags): Add.
6297 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6298 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6299 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6300
d2cc15cb
AM
63012013-07-03 Allan McRae <allan@archlinux.org>
6302
6303 * sysdeps/i386/fpu/libm-test-ulps: Update.
6304
3aaeeca7
DM
63052013-07-02 David S. Miller <davem@davemloft.net>
6306
6307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6308
5314ed1a
MT
63092013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6310
6311 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6312
67338156
JM
63132013-07-02 Joseph Myers <joseph@codesourcery.com>
6314
6315 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6317
1717da59
AK
63182013-07-02 Andi Kleen <ak@linux.intel.com>
6319
6320 * config.h.in (ENABLE_LOCK_ELISION): Add.
6321 * configure.in (--enable-lock-elision): Add option.
6322 * manual/install.texi: Document --enable lock elision.
6323 * configure: Regenerate
6324 * INSTALL: Regenerate.
6325
1c81621c
L
63262013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6327
6328 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6329 SSE4.2 strcasecmp for libc.a.
6330 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6331
77f01ab5
JM
63322013-07-02 Joseph Myers <joseph@codesourcery.com>
6333
6334 [BZ #13304]
6335 * soft-fp/op-common.h (_FP_FMA): New macro.
6336 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6337 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6338 (_FP_MUL_MEAT_1_imm): ... here.
6339 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6340 (_FP_MUL_MEAT_1_wide): ... here.
6341 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6342 (_FP_MUL_MEAT_1_hard): ... here.
6343 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6344 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6345 (_FP_MUL_MEAT_2_wide): ... here.
6346 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6347 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6348 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6349 (_FP_MUL_MEAT_2_gmp): ... here.
6350 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6351 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6352 (_FP_MUL_MEAT_4_wide): ... here.
6353 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6354 (_FP_MUL_MEAT_4_gmp): ... here.
6355 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6356 (_FP_WFRACBITS_DW_S): Likewise.
6357 (_FP_WFRACXBITS_DW_S): Likewise.
6358 (_FP_HIGHBIT_DW_S): Likewise.
6359 (FP_FMA_S): Likewise.
6360 (_FP_FRAC_HIGH_DW_S): Likewise.
6361 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6362 (_FP_WFRACBITS_DW_D): Likewise.
6363 (_FP_WFRACXBITS_DW_D): Likewise.
6364 (_FP_HIGHBIT_DW_D): Likewise.
6365 (FP_FMA_D): Likewise.
6366 (_FP_FRAC_HIGH_DW_D): Likewise.
6367 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6368 (_FP_WFRACBITS_DW_E): Likewise.
6369 (_FP_WFRACXBITS_DW_E): Likewise.
6370 (_FP_HIGHBIT_DW_E): Likewise.
6371 (FP_FMA_E): Likewise.
6372 (_FP_FRAC_HIGH_DW_E): Likewise.
6373 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6374 (_FP_WFRACBITS_DW_Q): Likewise.
6375 (_FP_WFRACXBITS_DW_Q): Likewise.
6376 (_FP_HIGHBIT_DW_Q): Likewise.
6377 (FP_FMA_Q): Likewise.
6378 (_FP_FRAC_HIGH_DW_Q): Likewise.
6379 * soft-fp/fmasf4.c: New file.
6380 * soft-fp/fmadf4.c: Likewise.
6381 * soft-fp/fmatf4.c: Likewise.
6382
6308fd9a
LD
63832013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6384
6385 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6386 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6387 Silvermont.
6388 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6389 macro.
6390 (index_Slow_SSE4_2): Likewise.
6391 (index_Prefer_PMINUB_for_stringop): Likewise.
6392 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6393 bit_Slow_SSE4_2 is set.
6394 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6395 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6396
89cd9569
RA
63972013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6398
6399 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6400 rtld_global._dl_hwcap2.
6401 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6402 POWER8.
6403 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6404 POWER8 feature descriptions defined in _dl_hwcap2.
6405 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6406 string handling for POWER8 feature bits.
6407 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6408 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6409 _dl_powerpc_cap_flags.
6410 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6411 * sysdeps/powerpc/rtld-global-offsets.sym
6412 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6413 _dl_hwcap2 in the rtld_global_ro structure.
6414
1ae8bfe0
RA
64152013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6416
6417 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6418 hardware capabilities in support of AT_HWCAP2.
6419 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6420 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6421 GLRO(dl_hwcap2).
6422 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6423 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6424 explicitly the unknown a_type display mechanism is used.
6425 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6426 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6427 struct member.
6428 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6429 to macro prototype for AT_HWCAP2 support.
6430 * sysdeps/i386/dl-procinfo.h: Likewise.
6431 * sysdeps/s390/dl-procinfo.h: Likewise.
6432 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6433 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6434 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6435 return -1 for unknown a_type display fallback.
6436 * sysdeps/sparc/dl-procinfo.h: Likewise.
6437 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6438 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6439
8fbec010
JM
64402013-06-28 Joseph Myers <joseph@codesourcery.com>
6441
6442 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6443 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6444
0432680e
PY
64452013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6446
6447 [BZ #12492]
6448 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6449 mprotect making __stack_prot writable.
6450
ce61a2ad
NF
64512013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6452 Joseph Myers <joseph@codesourcery.com>
6453
6454 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6455 as being properly aligned.
6456
f91f1c0f
MR
64572013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6458
3d0f5d0c
MR
6459 * dlfcn/modstatic5.c: New file.
6460 * dlfcn/tststatic5.c: New file.
6461 * dlfcn/Makefile (tests): Add tststatic5.
6462 (tests-static): Likewise.
6463 (modules-names): Add modstatic5.
6464 (tststatic5-ENV): New variable.
6465 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6466
f91f1c0f
MR
6467 [BZ #15022]
6468 * elf/dl-support.c (_dl_main_map): New variable.
6469 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6470 (_dl_nns, _dl_load_adds): Set to 1.
6471 (_dl_initial_searchlist): Refer to _dl_main_map.
6472 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6473 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6474 call to _dl_get_origin.
6475 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6476 around call_map.
6477 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6478 * dlfcn/modstatic3.c: New file.
6479 * dlfcn/tststatic3.c: New file.
6480 * dlfcn/tststatic4.c: New file.
6481 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6482 (tests-static): Likewise.
6483 (modules-names): Add modstatic3.
6484 (tststatic3-ENV, tststatic4-ENV): New variables.
6485 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6486 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6487
cbe7d24b
JM
64882013-06-26 Joseph Myers <joseph@codesourcery.com>
6489
6490 * configure.in (CC): Require GCC version 4.4 or later.
6491 * configure: Regenerated.
6492 * manual/install.texi (Tools for Compilation): Update GCC version
6493 requirement.
6494 * INSTALL: Regenerated.
6495
11b8a0e1
LD
64962013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6497
6498 [BZ #15674]
bb5bb87c
L
6499 * string/test-memcmp.c (check2): New.
6500 (main): Call check2.
6501
11b8a0e1
LD
6502 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6503
b0037103
MR
65042013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6505
6506 [BZ #15022]
6507 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6508 over to...
6509 (dl_open_worker) [!SHARED]: ... here.
6510
c18c701d
RA
65112013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6512
6513 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6514
1d17fa5f
RH
65152013-06-25 Richard Henderson <rth@redhat.com>
6516
6517 * locale/programs/locarchive.c: Include <libc-internal.h>
6518
8fcb833a
JM
65192013-06-25 Joseph Myers <joseph@codesourcery.com>
6520
6521 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6522 trailing whitespace removed.
6523
17db6e8d
MF
65242013-06-24 Mike Frysinger <vapier@gentoo.org>
6525
6526 [BZ #10283]
17db6e8d
MF
6527 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6528 * locale/programs/locarchive.c: Include libc-mmap.h.
6529 (prepare_address_space): Take two new outputs (the mmap base and len).
6530 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6531 values.
6532 (create_archive): Declare new mmap base and len values for
6533 prepare_address_space, and store the result in ah.
6534 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6535 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6536 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6537 Declare new mmap base and len values for
6538 prepare_address_space, and store the result in new_ah.
6539 (open_archive): Declare new mmap base and len values for
6540 prepare_address_space, and store the result in ah.
6541 (close_archive): If ah->mmap_base is not NULL, use that and
6542 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6543 * sysdeps/generic/libc-mmap.h: New file.
6544
d605071e
MF
65452013-06-24 Mike Frysinger <vapier@gentoo.org>
6546
6547 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6548 (ALIGN_UP): Likewise.
6549 (PTR_ALIGN_DOWN): Likewise.
6550 (PTR_ALIGN_UP): Likewise.
6551
2f063a6e
RA
65522013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6553
6554 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6555 entry mapped to PPC_PLATFORM_POWER8.
6556 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6557 POWER8.
6558 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6559 (_dl_string_platform): Add case for exporting platform position for
6560 POWER8.
6561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6562 search path to sysdeps/powerpc/powerpc32/power8 directory.
6563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6564 search path to sysdeps/powerpc/powerpc64/power8 directory.
6565 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6566 power7 directories.
6567 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6568 power7 directories.
6569
a31ee4b3
SP
65702013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6571
a74ca98f
SP
6572 * INSTALL: Regenerate.
6573
a31ee4b3
SP
6574 * nscd/connections.c (nscd_init): Fix comment.
6575
695c378f
JM
65762013-06-22 Joseph Myers <joseph@codesourcery.com>
6577
d8412221
JM
6578 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6579
695c378f
JM
6580 [BZ #15667]
6581 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6582 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6583
d1d54715
MR
65842013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6585
6586 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6587 DL_DST_REQ_STATIC.
6588 (DL_DST_REQ_STATIC): Remove macro.
6589
8fdda7af
JM
65902013-06-21 Joseph Myers <joseph@codesourcery.com>
6591
6592 [BZ #7006]
6593 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6594 with a shift of 0 bits.
6595
f3bc5e5a
MR
65962013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6597
6598 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6599 $(tststatic-ENV).
6600
be09e8c9
KK
66012013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6602
6603 [BZ #15655]
6604 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6605
85c2e611
AZ
66062013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6607
6608 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6609 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6610 accepts -fno-tree-loop-distribute-patterns.
6611 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6612 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6613 recursive call.
6614 * string/memset.c (memset): Likewise.
6615 * string/test-memmove.c (simple_memmove): Disable loop transformation
6616 to library calls.
6617 * string/test-memset.c (simple_memset): Likewise.
6618 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6619 * benchtests/bench-memset.c (simple_memset): Likewise.
6620 * configure: Regenerated.
6621
c91e0825
JM
66222013-06-20 Joseph Myers <joseph@codesourcery.com>
6623
b8c792af
JM
6624 * math/test-misc.c (main): Ignore fesetround failure when failures
6625 of subsequent rounding tests would be ignored.
6626
c91e0825
JM
6627 [BZ #15654]
6628 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6629 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6630 * math/fegetenv.c (__fegetenv): Return 0.
6631 * math/fegetexcept.c (fegetexcept): Return 0.
6632 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6633 FE_TONEAREST.
6634 * math/feholdexcpt.c (feholdexcept): Return 0.
6635 * math/fesetenv.c (__fesetenv): Return 0.
6636 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6637 argument FE_TONEAREST.
6638 * math/feupdateenv.c (__feupdateenv): Return 0.
6639 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6640
bfcacbde
RM
66412013-06-18 Roland McGrath <roland@hack.frob.com>
6642
6643 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6644 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6645 ($(objpfx)rtld-%.os rules): Use them.
6646
e55a9b25
AZ
66472013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6648
6649 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6650 fields.
6651
346d65b3
RM
66522013-06-17 Roland McGrath <roland@hack.frob.com>
6653
12086fb4
RM
6654 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6655 length of target pattern, then descending length of dependency pattern.
6656 * configure.in (AWK): Require gawk 3.1.2 or newer.
6657 * manual/install.texi (Tools for Compilation): Say that we do.
6658 * configure: Regenerated.
6659
346d65b3
RM
6660 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6661 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6662 * scripts/sysd-rules.awk: ... this new script.
6663 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6664 than a glob-style pattern.
6665
1a846317
JM
66662013-06-17 Joseph Myers <joseph@codesourcery.com>
6667
6668 * math/test-misc.c (main): Do not treat incorrectly rounded
6669 conversions as failure unless ROUNDING_TESTS passes.
6670
8fc75e6f
JM
66712013-06-15 Joseph Myers <joseph@codesourcery.com>
6672
3711a167
JM
6673 [BZ #15631]
6674 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6675 restore exception state around main square root computation, then
6676 check for inexactness explicitly.
6677
8fc75e6f
JM
6678 * math/libm-test.inc (fma_test_data): Add another test.
6679
61dd6208
SP
66802013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6681
adf23d2c
SP
6682 * manual/threads.texi (Non-POSIX Extensions): New document
6683 node. Document pthread_getattr_default_np and
6684 pthread_setattr_default_np.
6685
61dd6208
SP
6686 * Versions.def (libpthread): Add GLIBC_2.18.
6687 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6689 Likewise.
6690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6691 Likewise.
6692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6693 Likewise.
6694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6695 Likewise.
6696 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6697 Likewise.
6698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6699 Likewise.
6700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6701 Likewise.
6702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6703 Likewise.
6704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6705 Likewise.
6706
d086fc7b
LD
67072013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6708
6709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6710 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6711
747ef469
SP
67122013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6713 H.J. Lu <hjl.tools@gmail.com>
6714
6715 [BZ #15627]
6716 * sysdeps/x86_64/rtld-memset.c: Remove file.
6717 * sysdeps/x86_64/rtld-memset.S: New file.
6718
1b2feed2
JM
67192013-06-14 Joseph Myers <joseph@codesourcery.com>
6720
6721 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6722 (test_in_one_mode): Take arguments for whether the rounding mode
6723 is supported for each floating-point type.
6724 (do_test): Pass new arguments to test_in_one_mode using
6725 ROUNDING_TESTS.
6726
a58ad3f8
RM
67272013-06-13 Roland McGrath <roland@hack.frob.com>
6728
6729 * posix/tst-waitid.c (do_test): Distinguish different instances of
6730 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6731 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6732 before entering the kernel for waitpid.
6733
c204ab28
SP
67342013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6735
6736 * NEWS: Fix note on clock function precision. Text by Roland
6737 McGrath.
6738
f4a29fba
RM
67392013-06-13 Roland McGrath <roland@hack.frob.com>
6740
6741 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6742 it into place only when and if the sanity check passes.
6743
1f24b9ad
JM
67442013-06-13 Joseph Myers <joseph@codesourcery.com>
6745
6746 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6747 output for whether conversion result is exact. Take argument
6748 indicating whether type is IBM long double.
6749 (round_for_all): Change need_exact field to ibm_ld.
6750 * stdlib/tst-strtod-round.c (struct exactness): New type.
6751 (struct test): Change bool ld_ok field to struct exactness exact.
6752 (TEST): Update all definitions for change to field.
6753 (tests): Regenerate array contents.
6754 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6755 field value. Check for IBM long double here.
6756 (do_test): Update calls to test_in_one_mode.
6757
58206c68
SP
67582013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6759
6760 [BZ #12515]
6761 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6762 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6763
2d6f4c5b 67642013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
6765
6766 [BZ #15605]
6767 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6768 generated by the compiler on loop optimizations.
6769 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6770 general definitions.
6771
94f2c076
JM
67722013-06-12 Joseph Myers <joseph@codesourcery.com>
6773
6774 * math/bug-nextafter.c: Include <math-tests.h>.
6775 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6776 the relevant type.
6777 * math/bug-nexttoward.c: Include <math-tests.h>.
6778 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6779 the relevant type.
6780 * math/test-misc.c: Include <math-tests.h>.
6781 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6782 the relevant type.
6783
e0e50a0a
AJ
67842013-06-12 Andreas Jaeger <aj@suse.de>
6785
6786 * po/ia.po: Update Interlingua translation from translation
6787 project.
6788
25061094
SP
67892013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6790
6791 * include/fenv.h: Include stdbool.h.
6792 (struct rm_ctx): New structure.
6793 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6794 Define macro.
6795 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6796 (SET_RESTORE_ROUNDF): Likewise.
6797 (SET_RESTORE_ROUNDL): Likewise.
6798 (SET_RESTORE_ROUND_NOEX): Likewise.
6799 (SET_RESTORE_ROUND_NOEXF): Likewise.
6800 (SET_RESTORE_ROUND_NOEXL): Likewise.
6801 (SET_RESTORE_ROUND_53BIT): Likewise.
6802 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6803 (libc_feresetround_noexf_ctx): Likewise.
6804 (libc_feresetround_noexl_ctx): Likewise.
6805 (libc_feholdsetround_53bit_ctx): Likewise.
6806 (libc_feresetround_53bit_ctx): Likewise.
6807 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6808 (libc_feholdexcept_setround_sse_ctx): New function.
6809 (libc_fesetenv_sse_ctx): Likewise.
6810 (libc_feupdateenv_sse_ctx): Likewise.
6811 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6812 (libc_feholdexcept_setround_387_ctx): Likewise.
6813 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6814 (libc_feholdsetround_387_prec_ctx): Likewise.
6815 (libc_feholdsetround_387_ctx): Likewise.
6816 (libc_feholdsetround_387_53bit_ctx): Likewise.
6817 (libc_feholdsetround_sse_ctx): Likewise.
6818 (libc_feresetround_sse_ctx): Likewise.
6819 (libc_feresetround_387_ctx): Likewise.
6820 (libc_feupdateenv_387_ctx): Likewise.
6821 (libc_feholdexcept_setroundf_ctx): Define macro.
6822 (libc_fesetenvf_ctx): Likewise.
6823 (libc_feupdateenvf_ctx): Likewise.
6824 (libc_feholdsetroundf_ctx): Likewise.
6825 (libc_feresetroundf_ctx): Likewise.
6826 (libc_feholdexcept_setround_ctx): Likewise.
6827 (libc_fesetenv_ctx): Likewise.
6828 (libc_feupdateenv_ctx): Likewise.
6829 (libc_feholdsetround_ctx): Likewise.
6830 (libc_feresetround_ctx): Likewise.
6831 (libc_feholdexcept_setroundl_ctx): Likewise.
6832 (libc_feupdateenvl_ctx): Likewise.
6833 (libc_feholdsetroundl_ctx): Likewise.
6834 (libc_feresetroundl_ctx): Likewise.
6835 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6836 (libc_feresetround_53bit_ctx): Likewise.
6837
59b30555
SP
68382013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6839
6840 * locale/iso-639.def: Convert to UTF-8.
6841
f1d73d30
JM
68422013-06-11 Joseph Myers <joseph@codesourcery.com>
6843
6844 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6845 (EXCEPTION_TESTS_double): Likewise.
6846 (EXCEPTION_TESTS_long_double): Likewise.
6847 (EXCEPTION_TESTS): Likewise.
6848 * math/libm-test.inc (test_exceptions): Only test exceptions if
6849 EXCEPTION_TESTS (FLOAT).
6850
94aca5e7
SP
68512013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6852
6853 * benchtests/Makefile (string-bench): Add strcpy_chk and
6854 stpcpy_chk.
6855 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6856 * benchtests/bench-stpcpy_chk.c: New file.
6857 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6858 * benchtests/bench-strcpy_chk.c: New file.
6859 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6860 code.
6861 (do_test): Likewise.
6862
fac0c5f2
RA
68632013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6864
6865 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6866 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6867 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6868 with tabs where appropriate.
6869 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6870 dl-procinfo.h.
6871 [PPC_PLATFORM_PPC440]: Likewise.
6872 [PPC_PLATFORM_PPC464]: Likewise.
6873 [PPC_PLATFORM_PPC476]: Likewise.
6874 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6875 ppc464, and ppc476 platform strings merging from ports/
6876 dl-procinfo.h.
6877
f22bc486
AS
68782013-06-11 Andreas Schwab <schwab@suse.de>
6879
6880 [BZ #14991]
6881 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6882 (from_ucs4_idx): Regenerate.
6883 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6884 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6885 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6886 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6887 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6888 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6889 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6890 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6891 from FROM_LOOP and TO_LOOP specific macros.
6892 (BODY): Handle combining characters.
6893 * iconvdata/BIG5HKSCS.irreversible: Update.
6894 * iconvdata/BIG5HKSCS.precomposed: New file.
6895 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6896 characters.
6897 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6898
c1f75dc3
SP
68992013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6900
4eacded2
SP
6901 * include/sys/time.h: Fix indentation and add copyright header.
6902
fec799f8
SP
6903 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6904 (do_test): Likewise.
6905 * string/test-memchr.c (do_one_test): Likewise.
6906 (do_test): Likewise.
6907 * string/test-memcmp.c (do_one_test): Likewise.
6908 (do_test): Likewise.
6909 * string/test-memcpy.c (do_one_test): Likewise.
6910 (do_test): Likewise.
6911 * string/test-memmem.c (do_one_test): Likewise.
6912 (do_test): Likewise.
6913 (do_random_tests): Likewise.
6914 * string/test-memmove.c (do_one_test): Likewise.
6915 (do_test): Likewise.
6916 * string/test-memset.c (do_one_test): Likewise.
6917 (do_test): Likewise.
6918 * string/test-rawmemchr.c (do_one_test): Likewise.
6919 (do_test): Likewise.
6920 * string/test-strcasecmp.c (do_one_test): Likewise.
6921 (do_test): Likewise.
6922 * string/test-strcasestr.c (do_one_test): Likewise.
6923 (do_test): Likewise.
6924 * string/test-strcat.c (do_one_test): Likewise.
6925 (do_test): Likewise.
6926 * string/test-strchr.c (do_one_test): Likewise.
6927 (do_test): Likewise.
6928 * string/test-strcmp.c (do_one_test): Likewise.
6929 (do_test): Likewise.
6930 * string/test-strcpy.c (do_one_test): Likewise.
6931 (do_test): Likewise.
6932 * string/test-string.h: Likewise.
6933 (test_init): Likewise.
6934 * string/test-strlen.c (do_one_test): Likewise.
6935 (do_test): Likewise.
6936 * string/test-strncasecmp.c (do_one_test): Likewise.
6937 (do_test): Likewise.
6938 * string/test-strncat.c (do_one_test): Likewise.
6939 (do_test): Likewise.
6940 * string/test-strncmp.c (do_one_test): Likewise.
6941 (do_test_limit): Likewise.
6942 (do_test): Likewise.
6943 * string/test-strncpy.c (do_one_test): Likewise.
6944 (do_test): Likewise.
6945 * string/test-strnlen.c (do_one_test): Likewise.
6946 (do_test): Likewise.
6947 * string/test-strpbrk.c (do_one_test): Likewise.
6948 (do_test): Likewise.
6949 * string/test-strrchr.c (do_one_test): Likewise.
6950 (do_test): Likewise.
6951 * string/test-strspn.c (do_one_test): Likewise.
6952 (do_test): Likewise.
6953 * string/test-strstr.c (do_one_test): Likewise.
6954 (do_test): Likewise.
6955
97020474
SP
6956 * benchtests/Makefile (string-bench): Add string benchmarks.
6957 * benchtests/bench-bcopy-ifunc.c: New file.
6958 * benchtests/bench-bcopy.c: New file.
6959 * benchtests/bench-bzero-ifunc.c: New file.
6960 * benchtests/bench-bzero.c: New file.
6961 * benchtests/bench-memccpy-ifunc.c: New file.
6962 * benchtests/bench-memccpy.c: New file.
6963 * benchtests/bench-memchr-ifunc.c: New file.
6964 * benchtests/bench-memchr.c: New file.
6965 * benchtests/bench-memcmp-ifunc.c: New file.
6966 * benchtests/bench-memcmp.c: New file.
6967 * benchtests/bench-memmem-ifunc.c: New file.
6968 * benchtests/bench-memmem.c: New file.
6969 * benchtests/bench-memmove-ifunc.c: New file.
6970 * benchtests/bench-memmove.c: New file.
6971 * benchtests/bench-mempcpy-ifunc.c: New file.
6972 * benchtests/bench-mempcpy.c: New file.
6973 * benchtests/bench-memset-ifunc.c: New file.
6974 * benchtests/bench-memset.c: New file.
6975 * benchtests/bench-rawmemchr-ifunc.c: New file.
6976 * benchtests/bench-rawmemchr.c: New file.
6977 * benchtests/bench-stpcpy-ifunc.c: New file.
6978 * benchtests/bench-stpcpy.c: New file.
6979 * benchtests/bench-stpncpy-ifunc.c: New file.
6980 * benchtests/bench-stpncpy.c: New file.
6981 * benchtests/bench-strcasecmp-ifunc.c: New file.
6982 * benchtests/bench-strcasecmp.c: New file.
6983 * benchtests/bench-strcasestr-ifunc.c: New file.
6984 * benchtests/bench-strcasestr.c: New file.
6985 * benchtests/bench-strcat-ifunc.c: New file.
6986 * benchtests/bench-strcat.c: New file.
6987 * benchtests/bench-strchr-ifunc.c: New file.
6988 * benchtests/bench-strchr.c: New file.
6989 * benchtests/bench-strchrnul-ifunc.c: New file.
6990 * benchtests/bench-strchrnul.c: New file.
6991 * benchtests/bench-strcmp-ifunc.c: New file.
6992 * benchtests/bench-strcmp.c: New file.
6993 * benchtests/bench-strcpy-ifunc.c: New file.
6994 * benchtests/bench-strcpy.c: New file.
6995 * benchtests/bench-strcspn-ifunc.c: New file.
6996 * benchtests/bench-strcspn.c: New file.
6997 * benchtests/bench-strlen-ifunc.c: New file.
6998 * benchtests/bench-strlen.c: New file.
6999 * benchtests/bench-strncasecmp-ifunc.c: New file.
7000 * benchtests/bench-strncasecmp.c: New file.
7001 * benchtests/bench-strncat-ifunc.c: New file.
7002 * benchtests/bench-strncat.c: New file.
7003 * benchtests/bench-strncmp-ifunc.c: New file.
7004 * benchtests/bench-strncmp.c: New file.
7005 * benchtests/bench-strncpy-ifunc.c: New file.
7006 * benchtests/bench-strncpy.c: New file.
7007 * benchtests/bench-strnlen-ifunc.c: New file.
7008 * benchtests/bench-strnlen.c: New file.
7009 * benchtests/bench-strpbrk-ifunc.c: New file.
7010 * benchtests/bench-strpbrk.c: New file.
7011 * benchtests/bench-strrchr-ifunc.c: New file.
7012 * benchtests/bench-strrchr.c: New file.
7013 * benchtests/bench-strspn-ifunc.c: New file.
7014 * benchtests/bench-strspn.c: New file.
7015 * benchtests/bench-strstr-ifunc.c: New file.
7016 * benchtests/bench-strstr.c: New file.
7017
c1f75dc3
SP
7018 * benchtests/Makefile: Disable parallel execution of targets.
7019 (string-bench): Add memcpy.
7020 (benchset): New variable to store a list of benchmark sets.
7021 (bench-func): Renamed from bench.
7022 (bench-set): New target.
7023 (bench): Depend on bench-func and bench-set.
7024 * benchtests/README: Add section on benchmark sets.
7025 * benchtests/bench-memcpy-ifunc.c: New file.
7026 * benchtests/bench-memcpy.c: New file.
7027 * benchtests/bench-string.h: New file.
7028
50fd745b
AS
70292013-06-11 Andreas Schwab <schwab@suse.de>
7030
7031 [BZ #15577]
7032 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7033 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7034 values in the triple.
7035 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7036 terminator in the group key.
7037
3ee7e9fe
AJ
70382013-06-11 Andreas Jaeger <aj@suse.de>
7039
7040 * po/zh_TW.po: Update Chinese (traditional) translation from
7041 translation project.
7042
89fb6835
SP
70432013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7044
7045 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7046 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7047 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7048 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7049 (clock_getcpuclockid): Likewise.
7050 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7051 Add weak_alias and libc_hidden_def.
7052 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7053 * rt/clock_gettime.c (clock_gettime): Rename to
7054 __clock_gettime. Add weak_alias and libc_hidden_def.
7055 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7056 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7057 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7058 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7059 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7060 Likewise.
7061 * rt/clock_settime.c (clock_settime): Rename to
7062 __clock_settime. Add weak_alias and libc_hidden_def.
7063 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7064
0efa6f8b
JM
70652013-06-10 Joseph Myers <joseph@codesourcery.com>
7066
b8c61b4b
JM
7067 * mach/err_boot.sub: Remove trailing whitespace.
7068 * mach/err_ipc.sub: Likewise.
7069 * mach/err_mach.sub: Likewise.
7070
0efa6f8b
JM
7071 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7072 (ROUNDING_TESTS_double): Likewise.
7073 (ROUNDING_TESTS_long_double): Likewise.
7074 (ROUNDING_TESTS): Likewise.
7075 * math/libm-test.inc: Include <math-tests.h>.
7076 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7077 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7078 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7079 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7080
50b818bf
SP
70812013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7082
7083 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7084 of assigning.
7085
60d2f8f3
JM
70862013-06-08 Joseph Myers <joseph@codesourcery.com>
7087
4902d2c3
JM
7088 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7089 otherwise empty TRANS lines.
7090 * sysdeps/gnu/errlist.c: Regenerated.
7091
60d2f8f3
JM
7092 * catgets/gencat.c (error_print): Use (void) in function
7093 definition.
7094 * crypt/crypt_util.c (__init_des): Likewise.
7095 * crypt/speeds.c (Stop): Likewise.
7096 (main): Likewise.
7097 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7098 * inet/ruserpass.c (token): Likewise.
7099 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7100 * intl/localealias.c (extend_alias_table): Likewise.
7101 * intl/plural-exp.c (init_germanic_plural): Likewise.
7102 * libio/fcloseall.c (__fcloseall): Likewise.
7103 * libio/genops.c (_IO_flush_all): Likewise.
7104 (_IO_flush_all_linebuffered): Likewise.
7105 (_IO_cleanup): Likewise.
7106 (_IO_iter_begin): Likewise.
7107 (_IO_iter_end): Likewise.
7108 (_IO_list_lock): Likewise.
7109 (_IO_list_unlock): Likewise.
7110 (_IO_list_resetlock): Likewise.
7111 * libio/getchar.c (getchar): Likewise.
7112 * libio/getchar_u.c (getchar_unlocked): Likewise.
7113 * libio/getwchar.c (getwchar): Likewise.
7114 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7115 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7116 * login/getpt.c (__getpt): Likewise.
7117 * login/tst-utmp.c (main): Likewise.
7118 * malloc/hooks.c (__malloc_check_init): Likewise.
7119 * malloc/malloc.c (__malloc_stats): Likewise.
7120 * malloc/mtrace.c (tr_break): Likewise.
7121 (mtrace): Likewise.
7122 (muntrace): Likewise.
7123 * misc/fstab.c (endfsent): Likewise.
7124 * misc/getclktck.c (__getclktck): Likewise.
7125 * misc/getdtsz.c (__getdtablesize): Likewise.
7126 * misc/gethostid.c (gethostid): Likewise.
7127 * misc/getpagesize.c (__getpagesize): Likewise.
7128 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7129 (__get_nprocs): Likewise.
7130 (__get_phys_pages): Likewise.
7131 (__get_avphys_pages): Likewise.
7132 * misc/getttyent.c (getttyent): Likewise.
7133 (setttyent): Likewise.
7134 (endttyent): Likewise.
7135 * misc/getusershell.c (getusershell): Likewise.
7136 (endusershell): Likewise.
7137 (setusershell): Likewise.
7138 (initshells): Likewise.
7139 * misc/hsearch.c (__hdestroy): Likewise.
7140 * misc/sync.c (sync): Likewise.
7141 * misc/syslog.c (closelog_internal): Likewise.
7142 (closelog): Likewise.
7143 * misc/ttyslot.c (ttyslot): Likewise.
7144 * misc/vhangup.c (vhangup): Likewise.
7145 * posix/fork.c (__fork): Likewise.
7146 * posix/getegid.c (__getegid): Likewise.
7147 * posix/geteuid.c (__geteuid): Likewise.
7148 * posix/getgid.c (__getgid): Likewise.
7149 * posix/getpid.c (__getpid): Likewise.
7150 * posix/getppid.c (__getppid): Likewise.
7151 * posix/getuid.c (__getuid): Likewise.
7152 * posix/pause.c (pause): Likewise.
7153 * posix/setpgrp.c (setpgrp): Likewise.
7154 * posix/setsid.c (__setsid): Likewise.
7155 * posix/test-vfork.c (noop): Likewise.
7156 * resolv/gethnamaddr.c (_endhtent): Likewise.
7157 (_gethtent): Likewise.
7158 (ht_endhostent): Likewise.
7159 (gethostent): Likewise.
7160 (dns_service): Likewise.
7161 * stdlib/drand48.c (drand48): Likewise.
7162 * stdlib/lrand48.c (lrand48): Likewise.
7163 * stdlib/mrand48.c (mrand48): Likewise.
7164 * stdlib/rand.c (rand): Likewise.
7165 * stdlib/random.c (__random): Likewise.
7166 * stdlib/setenv.c (clearenv): Likewise.
7167 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7168 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7169 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7170 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7171 (__get_nprocs): Likewise.
7172 (__get_phys_pages): Likewise.
7173 (__get_avphys_pages): Likewise.
7174 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7175 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7176 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7177 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7178 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7179 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7180 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7181 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7182 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7183 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7184 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7185 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7186 * sysdeps/posix/clock.c (clock): Likewise.
7187 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7188 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7189 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7190 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7191 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7192 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7193 (__get_nprocs_conf): Likewise.
7194 (__get_phys_pages): Likewise.
7195 (__get_avphys_pages): Likewise.
7196 * time/clock.c (clock): Likewise.
7197 * time/tzset.c (__tzname_max): Likewise.
7198
2e09a79a
JM
71992013-06-07 Joseph Myers <joseph@codesourcery.com>
7200
7201 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7202 (__bswap_32): Do not use "register".
7203 * crypt/crypt.c (_ufc_doit_r): Likewise.
7204 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7205 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7206 * gmon/gmon.c (__monstartup): Likewise.
7207 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7208 * hurd/hurdmalloc.c (more_memory): Likewise.
7209 (malloc): Likewise.
7210 (free): Likewise.
7211 (realloc): Likewise.
7212 (malloc_fork_prepare): Likewise.
7213 (malloc_fork_parent): Likewise.
7214 (malloc_fork_child): Likewise.
7215 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7216 (_svcauth_des): Likewise.
7217 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7218 * inet/inet_net.c (inet_network): Likewise.
7219 * inet/inet_netof.c (inet_netof): Likewise.
7220 * inet/rcmd.c (__validuser2_sa): Likewise.
7221 * io/fts.c (fts_open): Likewise.
7222 (fts_load): Likewise.
7223 (fts_close): Likewise.
7224 (fts_read): Likewise.
7225 (fts_children): Likewise.
7226 (fts_build): Likewise.
7227 (fts_stat): Likewise.
7228 (fts_sort): Likewise.
7229 (fts_alloc): Likewise.
7230 (fts_lfree): Likewise.
7231 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7232 (_IO_file_xsgetn): Likewise.
7233 (_IO_file_xsgetn_mmap): Likewise.
7234 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7235 (_IO_cookie_write): Likewise.
7236 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7237 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7238 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7239 * malloc/obstack.c (_obstack_begin): Likewise.
7240 (_obstack_begin_1): Likewise.
7241 (_obstack_newchunk): Likewise.
7242 (_obstack_allocated_p): Likewise.
7243 (obstack_free): Likewise.
7244 (_obstack_memory_used): Likewise.
7245 * misc/getttyent.c (getttynam): Likewise.
7246 (getttyent): Likewise.
7247 (skip): Likewise.
7248 (value): Likewise.
7249 * misc/getusershell.c (initshells): Likewise.
7250 * misc/syslog.c (__vsyslog_chk): Likewise.
7251 * misc/ttyslot.c (ttyslot): Likewise.
7252 * nis/nis_hash.c (__nis_hash): Likewise.
7253 * posix/fnmatch_loop.c (FCT): Likewise.
7254 * posix/getconf.c (print_all): Likewise.
7255 (main): Likewise.
7256 * posix/getopt.c (exchange): Likewise.
7257 * posix/glob.c (globfree): Likewise.
7258 (prefix_array): Likewise.
7259 (__glob_pattern_type): Likewise.
7260 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7261 (NS_GET32): Likewise.
7262 (NS_PUT16): Likewise.
7263 (NS_PUT32): Likewise.
7264 * resolv/gethnamaddr.c (getanswer): Likewise.
7265 (gethostbyname2): Likewise.
7266 (gethostbyaddr): Likewise.
7267 (_gethtent): Likewise.
7268 (_gethtbyname2): Likewise.
7269 (_gethtbyaddr): Likewise.
7270 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7271 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7272 * resolv/res_init.c (__res_vinit): Likewise.
7273 (net_mask): Likewise.
7274 * resolv/res_mkquery.c (outchar): Likewise.
7275 (PRINT): Likewise.
7276 * stdio-common/printf_fp.c (outchar): Likewise.
7277 (PRINT): Likewise.
7278 * stdio-common/printf_fphex.c (outchar): Likewise.
7279 (PRINT): Likewise.
7280 * stdio-common/printf_size.c (outchar): Likewise.
7281 (PRINT): Likewise.
7282 * stdio-common/test_rdwr.c (main): Likewise.
7283 * stdio-common/tfformat.c (matches): Likewise.
7284 * stdio-common/vfprintf.c (outchar): Likewise.
7285 (printf_unknown): Likewise.
7286 (buffered_vfprintf): Likewise.
7287 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7288 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7289 (ReadFile): Likewise.
7290 * stdlib/qsort.c (SWAP): Likewise.
7291 (_quicksort): Likewise.
7292 * stdlib/setenv.c (__add_to_environ): Likewise.
7293 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7294 * stdlib/strtol_l.c (__strtol_l): Likewise.
7295 * stdlib/tst-strtod.c (main): Likewise.
7296 * stdlib/tst-strtol.c (main): Likewise.
7297 * stdlib/tst-strtoll.c (main): Likewise.
7298 * string/bits/string2.h (__strcmp_cc): Likewise.
7299 (__strcmp_cg): Likewise.
7300 (__strcspn_c1): Likewise.
7301 (__strcspn_c2): Likewise.
7302 (__strcspn_c3): Likewise.
7303 (__strspn_c1): Likewise.
7304 (__strspn_c2): Likewise.
7305 (__strspn_c3): Likewise.
7306 (__strsep_1c): Likewise.
7307 (__strsep_2c): Likewise.
7308 (__strsep_3c): Likewise.
7309 * string/memccpy.c (__memccpy): Likewise.
7310 * string/stpcpy.c (__stpcpy): Likewise.
7311 * string/strcmp.c (strcmp): Likewise.
7312 * string/strrchr.c (strrchr): Likewise.
7313 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7314 Likewise.
7315 * sysdeps/mach/hurd/getcwd.c
7316 (_hurd_canonicalize_directory_name_internal): Likewise.
7317 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7318 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7319 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7320 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7321 Likewise, in both definitions.
7322 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7323 definitions.
7324 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7325 64] (__bswap_64): Likewise.
7326 * time/test_time.c (main): Likewise.
7327 * time/tzfile.c (__tzfile_read): Likewise.
7328 (__tzfile_compute): Likewise.
7329 * time/tzset.c (__tzset_parse_tz): Likewise.
7330 (tzset_internal): Likewise.
7331 (compute_change): Likewise.
7332 * wcsmbs/wcscat.c (__wcscat): Likewise.
7333 * wcsmbs/wcschr.c (wcschr): Likewise.
7334 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7335 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7336 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7337 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7338 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7339 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7340 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7341 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7342 * wcsmbs/wmemset.c (wmemset): Likewise.
7343
9e54314b
JM
73442013-06-06 Joseph Myers <joseph@codesourcery.com>
7345
7346 * scripts/config.guess: Update to version 2013-05-16.
7347 * scripts/config.sub: Update to version 2013-04-24.
7348 * scripts/install-sh: Update to version 2011-11-20.07.
7349 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7350 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7351
350635a5
OB
73522013-06-06 Ondřej Bílka <neleai@seznam.cz>
7353
7354 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7355 * elf/sln.c: Likewise.
7356 * hurd/hurd/ioctl.h: Likewise.
7357 * hurd/hurdmalloc.c: Likewise.
7358 * hurd/xattr.c: Likewise.
7359 * include/shlib-compat.h: Likewise.
7360 * inet/ruserpass.c: Likewise.
7361 * libio/iofgets_u.c: Likewise.
7362 * libio/iofgetws_u.c: Likewise.
7363 * locale/programs/ld-identification.c: Likewise.
7364 * locale/programs/ld-time.c: Likewise.
7365 * mach/msg-destroy.c: Likewise.
7366 * nss/nss_files/files-netgrp.c: Likewise.
7367 * resolv/res_data.c: Likewise.
7368 * soft-fp/op-1.h: Likewise.
7369 * soft-fp/op-2.h: Likewise.
7370 * soft-fp/op-4.h: Likewise.
7371 * soft-fp/op-common.h: Likewise.
7372 * stdio-common/printf_fphex.c: Likewise.
7373 * stdlib/strtod_l.c: Likewise.
7374 * sunrpc/rpc/clnt.h: Likewise.
7375 * sysdeps/generic/framestate.c: Likewise.
7376 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7377 * sysdeps/i386/bsd-setjmp.S: Likewise.
7378 * sysdeps/i386/__longjmp.S: Likewise.
7379 * sysdeps/i386/setjmp.S: Likewise.
7380 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7381 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7382 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7383 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7384 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7385 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7386 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7387 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7388 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7389 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7390 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7391 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7392 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7393 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7394 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7395 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7396 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7397 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7398 * sysdeps/ieee754/support.c: Likewise.
7399 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7400 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7401 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7402 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7403 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7404 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7405 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7406 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7407 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7408 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7409 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7410 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7411 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7412 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7413 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7414 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7415 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7417
44a988af
OB
74182013-06-05 Ondřej Bílka <neleai@seznam.cz>
7419
25506f09 7420 * posix/transbug.c: Remove executable mode.
44a988af 7421
9c84384c
JM
74222013-06-05 Joseph Myers <joseph@codesourcery.com>
7423
7424 * crypt/speeds.c: Remove trailing whitespace.
7425 * dlfcn/default.c: Likewise.
7426 * elf/ifuncdep2.c: Likewise.
7427 * elf/ifuncmain1.c: Likewise.
7428 * elf/ifuncmain1vis.c: Likewise.
7429 * elf/testobj.h: Likewise.
7430 * elf/tst-stackguard1.c: Likewise.
7431 * gmon/sys/gmon.h: Likewise.
7432 * hurd/hurdmsg.c: Likewise.
7433 * hurd/new-fd.c: Likewise.
7434 * hurd/ports-get.c: Likewise.
7435 * iconvdata/ibm1008_420.c: Likewise.
7436 * inet/tst-getni1.c: Likewise.
7437 * inet/tst-getni2.c: Likewise.
7438 * libio/ioungetc.c: Likewise.
7439 * libio/wfiledoalloc.c: Likewise.
7440 * manual/libm-err-tab.pl: Likewise.
7441 * math/w_dremf.c: Likewise.
7442 * misc/ftruncate.c: Likewise.
7443 * posix/bug-glob2.c: Likewise.
7444 * posix/tst-pcre.c: Likewise.
7445 * posix/wait4.c: Likewise.
7446 * resolv/README: Likewise.
7447 * resolv/res_debug.h: Likewise.
7448 * resolv/tst-inet_ntop.c: Likewise.
7449 * setjmp/bug269-setjmp.c: Likewise.
7450 * soft-fp/extended.h: Likewise.
7451 * soft-fp/op-1.h: Likewise.
7452 * soft-fp/op-2.h: Likewise.
7453 * soft-fp/op-4.h: Likewise.
7454 * soft-fp/op-8.h: Likewise.
7455 * soft-fp/testit.c: Likewise.
7456 * stdio-common/bug16.c: Likewise.
7457 * stdlib/random.c: Likewise.
7458 * sunrpc/rpcsvc/rquota.x: Likewise.
7459 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7460 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7461 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7462 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7463 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7464 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7465 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7466 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7467 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7468 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7469 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7470 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7471 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7472 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7473 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7474 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7475 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7476 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7477 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7478 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7479 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7480 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7481 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7482 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7483 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7484 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7485 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7486 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7487 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7488 * sysdeps/ieee754/s_lib_version.c: Likewise.
7489 * sysdeps/mach/hurd/check_fds.c: Likewise.
7490 * sysdeps/mach/hurd/getsockname.c: Likewise.
7491 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7492 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7493 * sysdeps/powerpc/bits/link.h: Likewise.
7494 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7495 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7496 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7497 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7498 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7499 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7500 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7501 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7502 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7503 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7504 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7505 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7506 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7507 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7508 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7509 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7510 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7511 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7512 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7513 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7514 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7515 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7516 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7517 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7518 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7519 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7520 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7521 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7522 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7523 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7524 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7525 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7526 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7527 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7528 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7529 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7530 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7531 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7532 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7533 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7534 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7535 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7536 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7537 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7538 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7539 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7540 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7541 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7542 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7543 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7544 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7545 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7546 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7547 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7548 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7549 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7550 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7551 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7552 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7553 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7554 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7555 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7556 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7557 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7558 * sysdeps/powerpc/sysdep.h: Likewise.
7559 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7560 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7561 * sysdeps/sh/dl-trampoline.S: Likewise.
7562 * sysdeps/sh/memset.S: Likewise.
7563 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7564 * sysdeps/sh/strlen.S: Likewise.
7565 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7566 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7567 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7568 * sysdeps/sparc/sparc32/rem.S: Likewise.
7569 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7570 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7571 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7572 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7573 * sysdeps/sparc/sparc32/urem.S: Likewise.
7574 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7575 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7576 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7577 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7578 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7579 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7580 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7581 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7582 * sysdeps/unix/bsd/times.c: Likewise.
7583 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7584 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7588 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7589 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7590 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7591 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7592 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7593 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7594 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7595 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7596 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7597 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7598 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7599 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7600 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7601 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7602 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7603 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7604 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7605 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7606 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7607 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7608 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7609 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7610 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7611 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7612 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7613 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7614 * sysdeps/x86_64/strcspn.S: Likewise.
7615
869378a5
RA
76162013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7617
7618 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7619 generated file. Regenerate properly from gen-translit.pl.
7620 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7621 locale/C-translit.h.
7622
840e2943
AS
76232013-06-05 Andreas Schwab <schwab@suse.de>
7624
7625 [BZ #15100]
7626 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7627 week as 6 instead of -1.
7628 * time/tst-strptime.c (day_tests): Add test case.
7629
4c60cb0c
SP
76302013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7631
7632 * sysdeps/generic/math_private.h
7633 (libc_feholdexcept_setround_53bit): Replace with
7634 libc_feholdsetround_53bit.
7635 (libc_feupdateenv_53bit): Replace with
7636 libc_feresetround_53bit.
7637 (SET_RESTORE_ROUND_53BIT): Adjust.
7638
d180203e
SP
76392013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7640
96df079a
SP
7641 * string/test-strchrnul.c: Add copyright header.
7642
d180203e
SP
7643 * posix/tst-getaddrinfo4.c: Increase test timeout.
7644
8b0ccb2d
CD
76452013-06-03 Carlos O'Donell <carlos@redhat.com>
7646
7647 [BZ #15536]
7648 * math/libm-test.inc (MAX_EXP): Remove
7649 (MIN_EXP): Define.
7650 (ulp): Use MIN_EXP - MANT_DIG.
7651 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7652
3b3c4d40
CD
76532013-05-31 Carlos O'Donell <carlos@redhat.com>
7654
7655 * po/be.po: Revert last change.
7656 * po/zh_CN.po: Likewise.
7657 * po/header.pot: Likewise.
7658
fab7ce3f
JM
76592013-05-31 Joseph Myers <joseph@codesourcery.com>
7660
7661 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7662 link-libc-deps to empty as target-specific variable.
7663 * Makerules (link-libc-args): New variable.
7664 (libc-for-link): Likewise.
7665 (link-libc-deps): Likewise.
7666 (lib%.so): Depend on $(link-libc-deps). Link with
7667 $(link-libc-args).
7668 (build-module): Link with $(link-libc-args).
7669 (build-module-asneeded): Likewise.
7670 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7671 list of objects.
7672 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7673 target-specific variable.
7674 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7675 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7676 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7677 libc.
7678 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7679 libc and ld.so.
7680 ($(objpfx)libpcprofile.so): Likewise.
7681 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7682 libc_nonshared.a.
7683 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7684 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7685 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7686 $(link-libc-deps).
7687 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7688 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7689 * login/Makefile ($(objpfx)libutil.so): Likewise.
7690 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7691 * math/Makefile ($(objpfx)libm.so): Likewise.
7692 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7693 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7694 variable instead of depending directly on libc.
7695 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7696 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7697 $(link-libc-deps).
7698 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7699 libc.
7700 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7701 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7702 ($(objpfx)libanl.so): Likewise.
7703 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7704 ld.so.
7705 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7706 $(link-libc-deps).
7707 * sysdeps/i386/fpu/Makefile: Remove file.
7708 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7709 ($(objpfx)libm.so): Remove dependency on ld.so.
7710
eca5920c
PF
77112013-05-30 Patsy Franklin <pfrankli@redhat.com>
7712
7713 [BZ # 15553]
7714 * nis/yp_xdr.c (XDRMAXNAME): Define.
7715 (XDRMAXRECORD): Define.
7716 (xdr_domainname): Use XDRMAXNAME.
7717 (xdr_mapname): Likewise.
7718 (xdr_peername): Likewise.
7719 (xdr_keydat): Use XDRMAXRECORD.
7720 (xdr_valdat): Likewise.
7721
77222013-05-30 Jeff Law <law@redhat.com>
96945714
JL
7723
7724 [BZ #14256]
7725 * manual/errno.texi (ESTALE): Update to account for more than
7726 just NFS file systems.
7727 * sysdeps/gnu/errlist.c: Regenerated.
7728
b9375348
SP
77292013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7730
7731 [BZ #15465]
7732 * elf/Makefile (tests): Add tst-null-argv.
7733 (modules-names): Add tst-null-argv-lib.
7734 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7735 (tst-null-argv-ENV): Set environment for tst-null-argv.
7736 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7737 (RTLD_PROGNAME): New macro.
7738 * elf/tst-null-argv.c: New test case.
7739 * elf/tst-null-argv-lib.c: Library for test case.
7740 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7741 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7742 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7743 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7744 * elf/dl-init.c (call_init): Likewise.
7745 (_dl_init): Likewise.
7746 * elf/dl-load.c (print_search_path): Likewise.
7747 (_dl_map_object): Likewise.
7748 * elf/dl-lookup.c (do_lookup_x): Likewise.
7749 (add_dependency): Likewise.
7750 (_dl_lookup_symbol_x): Likewise.
7751 (_dl_debug_bindings): Likewise.
7752 * elf/dl-open.c (_dl_show_scope): Likewise.
7753 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7754 * elf/dl-version.c (match_symbol): Likewise.
7755 (_dl_check_map_versions): Likewise.
7756 * elf/rtld.c (dl_main): Likewise.
7757 (print_unresolved): Use RTLD_PROGNAME.
7758 (print_missing_version): Likewise.
7759 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7760 (elf_machine_rela): Likewise.
7761 * sysdeps/powerpc/powerpc32/dl-machine.c
7762 (__process_machine_rela): Likewise.
7763 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7764 Likewise.
7765 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7766 Likewise.
7767 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7768 Likewise.
7769 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7770 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7771 Likewise.
7772 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7773 Likewise.
7774 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7775
8a9f20c8
CD
77762013-05-28 Carlos O'Donell <carlos@redhat.com>
7777
7778 * po/be.po: Add descriptive title.
7779 * po/zh_CN.po: Likewise.
7780 * po/header.pot: Likewise.
7781
0e60d68e
MF
77822013-05-28 Mike Frysinger <vapier@gentoo.org>
7783
7784 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7785 error message.
7786 (enlarge_archive): Likewise.
7787
56b672e9
BN
77882013-05-28 Ben North <ben@redfrontdoor.org>
7789
7790 * manual/arith.texi (frexp): It is the magnitude of the return
7791 value which lies in [0.5, 1), not the return value itself.
7792
5e056687
AZ
77932013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7794
7795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7796
2b66ef5d
TS
77972013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7798
528c2405
TS
7799 * stdio-common/bug26.c (main): Correct fscanf template.
7800
07b4c13d
TS
7801 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7802 declare _dl_skip_args.
7803
ec9dd97c
TS
7804 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7805 Don't declare.
7806
2b66ef5d
TS
7807 * manual/platform.texi: Add missing @end deftypefun.
7808
4f8dfe27
JM
78092013-05-24 Joseph Myers <joseph@codesourcery.com>
7810
0323d086
JM
7811 [BZ #15529]
7812 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7813 bit of mantissa of 2^16382.
7814 * math/libm-test.inc (hypot_test_data): Add more tests.
7815
dd4259b9
JM
7816 * math/libm-test.inc: Add drem and pow10 to list of tested
7817 functions.
7818 (pow10_test): New function.
7819 (drem_test): Likewise.
7820 (drem_test_tonearest): Likewise.
7821 (drem_test_towardzero): Likewise.
7822 (drem_test_downward): Likewise.
7823 (drem_test_upward): Likewise.
7824 (main): Call the new functions.
7825
4f8dfe27
JM
7826 * math/libm-test.inc (finite_test_data): Remove.
7827 (finite_test): Run tests from isfinite_test_data.
7828 (gamma_test_data): Remove.
7829 (gamma_test): Run tests from lgamma_test_data.
7830 * sysdeps/i386/fpu/libm-test-ulps: Update.
7831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7832
d116b7c4
AZ
78332013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7834
7835 * manual/platform.texi: Add PowerPC PPR function set documentation.
7836 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7837 implementation.
7838
e96e3767
CD
78392013-05-24 Carlos O'Donell <carlos@redhat.com>
7840
7841 * math/libm-test.inc (MAX_EXP): Define.
7842 (ULPDIFF): Define.
7843 (ulp): New function.
7844 (check_float_internal): Use ULPDIFF.
7845 (cpow_test): Disable failing test.
7846 (check_ulp): Test ulp() implemetnation.
7847 (main): Call check_ulp before starting tests.
7848
b679a606
JM
78492013-05-24 Joseph Myers <joseph@codesourcery.com>
7850
e8bdba36
JM
7851 * math/gen-libm-test.pl (generate_testfile): Do not handle
7852 START_DATA and END_DATA.
7853 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7854 END_DATA.
7855 (acos_tonearest_test_data): Likewise.
7856 (acos_towardzero_test_data): Likewise.
7857 (acos_downward_test_data): Likewise.
7858 (acos_upward_test_data): Likewise.
7859 (acosh_test_data): Likewise.
7860 (asin_test_data): Likewise.
7861 (asin_tonearest_test_data): Likewise.
7862 (asin_towardzero_test_data): Likewise.
7863 (asin_downward_test_data): Likewise.
7864 (asin_upward_test_data): Likewise.
7865 (asinh_test_data): Likewise.
7866 (atan_test_data): Likewise.
7867 (atanh_test_data): Likewise.
7868 (atan2_test_data): Likewise.
7869 (cabs_test_data): Likewise.
7870 (cacos_test_data): Likewise.
7871 (cacosh_test_data): Likewise.
7872 (carg_test_data): Likewise.
7873 (casin_test_data): Likewise.
7874 (casinh_test_data): Likewise.
7875 (catan_test_data): Likewise.
7876 (catanh_test_data): Likewise.
7877 (cbrt_test_data): Likewise.
7878 (ccos_test_data): Likewise.
7879 (ccosh_test_data): Likewise.
7880 (ceil_test_data): Likewise.
7881 (cexp_test_data): Likewise.
7882 (cimag_test_data): Likewise.
7883 (clog_test_data): Likewise.
7884 (clog10_test_data): Likewise.
7885 (conj_test_data): Likewise.
7886 (copysign_test_data): Likewise.
7887 (cos_test_data): Likewise.
7888 (cos_tonearest_test_data): Likewise.
7889 (cos_towardzero_test_data): Likewise.
7890 (cos_downward_test_data): Likewise.
7891 (cos_upward_test_data): Likewise.
7892 (cosh_test_data): Likewise.
7893 (cosh_tonearest_test_data): Likewise.
7894 (cosh_towardzero_test_data): Likewise.
7895 (cosh_downward_test_data): Likewise.
7896 (cosh_upward_test_data): Likewise.
7897 (cpow_test_data): Likewise.
7898 (cproj_test_data): Likewise.
7899 (creal_test_data): Likewise.
7900 (csin_test_data): Likewise.
7901 (csinh_test_data): Likewise.
7902 (csqrt_test_data): Likewise.
7903 (ctan_test_data): Likewise.
7904 (ctan_tonearest_test_data): Likewise.
7905 (ctan_towardzero_test_data): Likewise.
7906 (ctan_downward_test_data): Likewise.
7907 (ctan_upward_test_data): Likewise.
7908 (ctanh_test_data): Likewise.
7909 (ctanh_tonearest_test_data): Likewise.
7910 (ctanh_towardzero_test_data): Likewise.
7911 (ctanh_downward_test_data): Likewise.
7912 (ctanh_upward_test_data): Likewise.
7913 (erf_test_data): Likewise.
7914 (erfc_test_data): Likewise.
7915 (exp_test_data): Likewise.
7916 (exp_tonearest_test_data): Likewise.
7917 (exp_towardzero_test_data): Likewise.
7918 (exp_downward_test_data): Likewise.
7919 (exp_upward_test_data): Likewise.
7920 (exp10_test_data): Likewise.
7921 (exp2_test_data): Likewise.
7922 (expm1_test_data): Likewise.
7923 (fabs_test_data): Likewise.
7924 (fdim_test_data): Likewise.
7925 (finite_test_data): Likewise.
7926 (floor_test_data): Likewise.
7927 (fma_test_data): Likewise.
7928 (fma_towardzero_test_data): Likewise.
7929 (fma_downward_test_data): Likewise.
7930 (fma_upward_test_data): Likewise.
7931 (fmax_test_data): Likewise.
7932 (fmin_test_data): Likewise.
7933 (fmod_test_data): Likewise.
7934 (fpclassify_test_data): Likewise.
7935 (frexp_test_data): Likewise.
7936 (gamma_test_data): Likewise.
7937 (hypot_test_data): Likewise.
7938 (ilogb_test_data): Likewise.
7939 (isfinite_test_data): Likewise.
7940 (isgreater_test_data): Likewise.
7941 (isgreaterequal_test_data): Likewise.
7942 (isinf_test_data): Likewise.
7943 (isless_test_data): Likewise.
7944 (islessequal_test_data): Likewise.
7945 (islessgreater_test_data): Likewise.
7946 (isnan_test_data): Likewise.
7947 (isnormal_test_data): Likewise.
7948 (issignaling_test_data): Likewise.
7949 (isunordered_test_data): Likewise.
7950 (j0_test_data): Likewise.
7951 (j1_test_data): Likewise.
7952 (jn_test_data): Likewise.
7953 (ldexp_test_data): Likewise.
7954 (lgamma_test_data): Likewise.
7955 (lrint_test_data): Likewise.
7956 (lrint_tonearest_test_data): Likewise.
7957 (lrint_towardzero_test_data): Likewise.
7958 (lrint_downward_test_data): Likewise.
7959 (lrint_upward_test_data): Likewise.
7960 (llrint_test_data): Likewise.
7961 (llrint_tonearest_test_data): Likewise.
7962 (llrint_towardzero_test_data): Likewise.
7963 (llrint_downward_test_data): Likewise.
7964 (llrint_upward_test_data): Likewise.
7965 (log_test_data): Likewise.
7966 (log10_test_data): Likewise.
7967 (log1p_test_data): Likewise.
7968 (log2_test_data): Likewise.
7969 (logb_test_data): Likewise.
7970 (logb_downward_test_data): Likewise.
7971 (lround_test_data): Likewise.
7972 (llround_test_data): Likewise.
7973 (modf_test_data): Likewise.
7974 (nearbyint_test_data): Likewise.
7975 (nextafter_test_data): Likewise.
7976 (nexttoward_test_data): Likewise.
7977 (pow_test_data): Likewise.
7978 (pow_tonearest_test_data): Likewise.
7979 (pow_towardzero_test_data): Likewise.
7980 (pow_downward_test_data): Likewise.
7981 (pow_upward_test_data): Likewise.
7982 (remainder_test_data): Likewise.
7983 (remainder_tonearest_test_data): Likewise.
7984 (remainder_towardzero_test_data): Likewise.
7985 (remainder_downward_test_data): Likewise.
7986 (remainder_upward_test_data): Likewise.
7987 (remquo_test_data): Likewise.
7988 (rint_test_data): Likewise.
7989 (rint_tonearest_test_data): Likewise.
7990 (rint_towardzero_test_data): Likewise.
7991 (rint_downward_test_data): Likewise.
7992 (rint_upward_test_data): Likewise.
7993 (round_test_data): Likewise.
7994 (scalb_test_data): Likewise.
7995 (scalbn_test_data): Likewise.
7996 (scalbln_test_data): Likewise.
7997 (signbit_test_data): Likewise.
7998 (sin_test_data): Likewise.
7999 (sin_tonearest_test_data): Likewise.
8000 (sin_towardzero_test_data): Likewise.
8001 (sin_downward_test_data): Likewise.
8002 (sin_upward_test_data): Likewise.
8003 (sincos_test_data): Likewise.
8004 (sinh_test_data): Likewise.
8005 (sinh_tonearest_test_data): Likewise.
8006 (sinh_towardzero_test_data): Likewise.
8007 (sinh_downward_test_data): Likewise.
8008 (sinh_upward_test_data): Likewise.
8009 (sqrt_test_data): Likewise.
8010 (tan_test_data): Likewise.
8011 (tan_tonearest_test_data): Likewise.
8012 (tan_towardzero_test_data): Likewise.
8013 (tan_downward_test_data): Likewise.
8014 (tan_upward_test_data): Likewise.
8015 (tanh_test_data): Likewise.
8016 (tgamma_test_data): Likewise.
8017 (trunc_test_data): Likewise.
8018 (y0_test_data): Likewise.
8019 (y1_test_data): Likewise.
8020 (yn_test_data): Likewise.
8021 (significand_test_data): Likewise.
8022
b679a606
JM
8023 * math/gen-libm-test.pl (@functions): Remove variable.
8024 (generate_testfile): Don't handle START and END lines.
8025 * math/libm-test.inc (START): New macro.
8026 (END): Likewise.
8027 (END_COMPLEX): Likewise.
8028 (acos_test): Use END macro without arguments.
8029 (acos_test_tonearest): Likewise.
8030 (acos_test_towardzero): Likewise.
8031 (acos_test_downward): Likewise.
8032 (acos_test_upward): Likewise.
8033 (acosh_test): Likewise.
8034 (asin_test): Likewise.
8035 (asin_test_tonearest): Likewise.
8036 (asin_test_towardzero): Likewise.
8037 (asin_test_downward): Likewise.
8038 (asin_test_upward): Likewise.
8039 (asinh_test): Likewise.
8040 (atan_test): Likewise.
8041 (atanh_test): Likewise.
8042 (atan2_test): Likewise.
8043 (cabs_test): Likewise.
8044 (cacos_test): Use END_COMPLEX macro without arguments.
8045 (cacosh_test): Likewise.
8046 (carg_test): Use END macro without arguments.
8047 (casin_test): Use END_COMPLEX macro without arguments.
8048 (casinh_test): Likewise.
8049 (catan_test): Likewise.
8050 (catanh_test): Likewise.
8051 (cbrt_test): Use END macro without arguments.
8052 (ccos_test): Use END_COMPLEX macro without arguments.
8053 (ccosh_test): Likewise.
8054 (ceil_test): Use END macro without arguments.
8055 (cexp_test): Use END_COMPLEX macro without arguments.
8056 (cimag_test): Use END macro without arguments.
8057 (clog_test): Use END_COMPLEX macro without arguments.
8058 (clog10_test): Likewise.
8059 (conj_test): Likewise.
8060 (copysign_test): Use END macro without arguments.
8061 (cos_test): Likewise.
8062 (cos_test_tonearest): Likewise.
8063 (cos_test_towardzero): Likewise.
8064 (cos_test_downward): Likewise.
8065 (cos_test_upward): Likewise.
8066 (cosh_test): Likewise.
8067 (cosh_test_tonearest): Likewise.
8068 (cosh_test_towardzero): Likewise.
8069 (cosh_test_downward): Likewise.
8070 (cosh_test_upward): Likewise.
8071 (cpow_test): Use END_COMPLEX macro without arguments.
8072 (cproj_test): Likewise.
8073 (creal_test): Use END macro without arguments.
8074 (csin_test): Use END_COMPLEX macro without arguments.
8075 (csinh_test): Likewise.
8076 (csqrt_test): Likewise.
8077 (ctan_test): Likewise.
8078 (ctan_test_tonearest): Likewise.
8079 (ctan_test_towardzero): Likewise.
8080 (ctan_test_downward): Likewise.
8081 (ctan_test_upward): Likewise.
8082 (ctanh_test): Likewise.
8083 (ctanh_test_tonearest): Likewise.
8084 (ctanh_test_towardzero): Likewise.
8085 (ctanh_test_downward): Likewise.
8086 (ctanh_test_upward): Likewise.
8087 (erf_test): Use END macro without arguments.
8088 (erfc_test): Likewise.
8089 (exp_test): Likewise.
8090 (exp_test_tonearest): Likewise.
8091 (exp_test_towardzero): Likewise.
8092 (exp_test_downward): Likewise.
8093 (exp_test_upward): Likewise.
8094 (exp10_test): Likewise.
8095 (exp2_test): Likewise.
8096 (expm1_test): Likewise.
8097 (fabs_test): Likewise.
8098 (fdim_test): Likewise.
8099 (finite_test): Likewise.
8100 (floor_test): Likewise.
8101 (fma_test): Likewise.
8102 (fma_test_towardzero): Likewise.
8103 (fma_test_downward): Likewise.
8104 (fma_test_upward): Likewise.
8105 (fmax_test): Likewise.
8106 (fmin_test): Likewise.
8107 (fmod_test): Likewise.
8108 (fpclassify_test): Likewise.
8109 (frexp_test): Likewise.
8110 (gamma_test): Likewise.
8111 (hypot_test): Likewise.
8112 (ilogb_test): Likewise.
8113 (isfinite_test): Likewise.
8114 (isgreater_test): Likewise.
8115 (isgreaterequal_test): Likewise.
8116 (isinf_test): Likewise.
8117 (isless_test): Likewise.
8118 (islessequal_test): Likewise.
8119 (islessgreater_test): Likewise.
8120 (isnan_test): Likewise.
8121 (isnormal_test): Likewise.
8122 (issignaling_test): Likewise.
8123 (isunordered_test): Likewise.
8124 (j0_test): Likewise.
8125 (j1_test): Likewise.
8126 (jn_test): Likewise.
8127 (ldexp_test): Likewise.
8128 (lgamma_test): Likewise.
8129 (lrint_test): Likewise.
8130 (lrint_test_tonearest): Likewise.
8131 (lrint_test_towardzero): Likewise.
8132 (lrint_test_downward): Likewise.
8133 (lrint_test_upward): Likewise.
8134 (llrint_test): Likewise.
8135 (llrint_test_tonearest): Likewise.
8136 (llrint_test_towardzero): Likewise.
8137 (llrint_test_downward): Likewise.
8138 (llrint_test_upward): Likewise.
8139 (log_test): Likewise.
8140 (log10_test): Likewise.
8141 (log1p_test): Likewise.
8142 (log2_test): Likewise.
8143 (logb_test): Likewise.
8144 (logb_test_downward): Likewise.
8145 (lround_test): Likewise.
8146 (llround_test): Likewise.
8147 (modf_test): Likewise.
8148 (nearbyint_test): Likewise.
8149 (nextafter_test): Likewise.
8150 (nexttoward_test): Likewise.
8151 (pow_test): Likewise.
8152 (pow_test_tonearest): Likewise.
8153 (pow_test_towardzero): Likewise.
8154 (pow_test_downward): Likewise.
8155 (pow_test_upward): Likewise.
8156 (remainder_test): Likewise.
8157 (remainder_test_tonearest): Likewise.
8158 (remainder_test_towardzero): Likewise.
8159 (remainder_test_downward): Likewise.
8160 (remainder_test_upward): Likewise.
8161 (remquo_test): Likewise.
8162 (rint_test): Likewise.
8163 (rint_test_tonearest): Likewise.
8164 (rint_test_towardzero): Likewise.
8165 (rint_test_downward): Likewise.
8166 (rint_test_upward): Likewise.
8167 (round_test): Likewise.
8168 (scalb_test): Likewise.
8169 (scalbn_test): Likewise.
8170 (scalbln_test): Likewise.
8171 (signbit_test): Likewise.
8172 (sin_test): Likewise.
8173 (sin_test_tonearest): Likewise.
8174 (sin_test_towardzero): Likewise.
8175 (sin_test_downward): Likewise.
8176 (sin_test_upward): Likewise.
8177 (sincos_test): Likewise.
8178 (sinh_test): Likewise.
8179 (sinh_test_tonearest): Likewise.
8180 (sinh_test_towardzero): Likewise.
8181 (sinh_test_downward): Likewise.
8182 (sinh_test_upward): Likewise.
8183 (sqrt_test): Likewise.
8184 (tan_test): Likewise.
8185 (tan_test_tonearest): Likewise.
8186 (tan_test_towardzero): Likewise.
8187 (tan_test_downward): Likewise.
8188 (tan_test_upward): Likewise.
8189 (tanh_test): Likewise.
8190 (tgamma_test): Likewise.
8191 (trunc_test): Likewise.
8192 (y0_test): Likewise.
8193 (y1_test): Likewise.
8194 (yn_test): Likewise.
8195 (significand_test): Likewise.
8196
bae143d2
OB
81972013-05-24 Ondřej Bílka <neleai@seznam.cz>
8198
8199 [BZ #15381]
8200 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8201
9323d39b
EM
82022013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8203
d4ea44a0 8204 [BZ #14894]
9323d39b
EM
8205 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8206 __ppc_mdoio and __ppc_mdoom.
8207 * manual/platform.texi: Document new functions __ppc_yield,
8208 __ppc_mdoio and __ppc_mdoom.
8209
13e23af7
CD
82102013-05-22 Carlos O'Donell <carlos@redhat.com>
8211
8212 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8213 (main): Mention "tls" pseudo-hwcap is legacy.
8214 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8215
351fe550
JM
82162013-05-22 Joseph Myers <joseph@codesourcery.com>
8217
8218 * math/gen-libm-test.pl (parse_args): Output only string of
8219 arguments as text for test name, not full call or descriptions of
8220 tests for extra outputs.
8221 (generate_testfile): Do not pass function name to parse_args.
8222 Generate this_func variable from START.
8223 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8224 field to arg_str.
8225 (struct test_ff_f_data): Likewise.
8226 (test_ff_f_data_nexttoward): Likewise.
8227 (struct test_fi_f_data): Likewise.
8228 (struct test_fl_f_data): Likewise.
8229 (struct test_if_f_data): Likewise.
8230 (struct test_fff_f_data): Likewise.
8231 (struct test_c_f_data): Likewise.
8232 (struct test_f_f1_data): Likewise. Remove field extra_name.
8233 (struct test_fF_f1_data): Likewise.
8234 (struct test_ffI_f1_data): Likewise.
8235 (struct test_c_c_data): Rename test_name field to arg_str.
8236 (struct test_cc_c_data): Likewise.
8237 (struct test_f_i_data): Likewise.
8238 (struct test_ff_i_data): Likewise.
8239 (struct test_f_l_data): Likewise.
8240 (struct test_f_L_data): Likewise.
8241 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8242 and extra2_name.
8243 (COMMON_TEST_SETUP): New macro.
8244 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8245 (COMMON_TEST_CLEANUP): Likewise.
8246 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8247 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8248 macros.
8249 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8250 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8251 macros.
8252 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8253 (RUN_TEST_fff_f): Take argument string. Call new setup and
8254 cleanup macros.
8255 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8256 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8257 macros.
8258 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8259 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8260 macros.
8261 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8262 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8263 cleanup macros.
8264 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8265 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8266 cleanup macros.
8267 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8268 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8269 cleanup macros.
8270 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8271 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8272 macros.
8273 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8274 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8275 macros.
8276 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8277 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8278 macros.
8279 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8280 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8281 cleanup macros.
8282 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8283 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8284 cleanup macros.
8285 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8286 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8287 macros.
8288 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8289 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8290 cleanup macros.
8291 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8292 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8293 macros.
8294 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8295 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8296 macros.
8297 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8298 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8299 cleanup macros.
8300 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8301
85118d4d
EBM
83022013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8303
8304 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8305 to _sifields.sigfault.
8306 (si_addr_lsb): Define new macro.
8307 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8308 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8309 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8310
7a44c18f
CD
83112013-05-03 Carlos O'Donell <carlos at redhat.com>
8312
8313 [BZ #15441]
8314 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8315 returns -1.
8316 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8317 null return -1.
8318 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8319 loading the domain.
8320
b50a7181
JM
83212013-05-22 Joseph Myers <joseph@codesourcery.com>
8322
8323 * math/gen-libm-test.pl (parse_args): Do not include expected
8324 result in test name.
8325 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8326 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8327 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8328 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8329 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8331
051063c8
SP
83322013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8333
3ce9e010
SP
8334 * benchtests/Makefile: Sort function entries.
8335
051063c8
SP
8336 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8337 tanh, asinh, acosh, atanh.
8338 * benchtests/acos-inputs: New file.
8339 * benchtests/acosh-inputs: New file.
8340 * benchtests/asin-inputs: New file.
8341 * benchtests/asinh-inputs: New file.
8342 * benchtests/atanh-inputs: New file.
8343 * benchtests/cosh-inputs: New file.
8344 * benchtests/log-inputs: New file.
8345 * benchtests/sinh-inputs: New file.
8346 * benchtests/tanh-inputs: New file.
8347
47c22455
DL
83482013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8349
8350 [BZ #15339]
8351 * posix/tst-getaddrinfo4.c: New test.
8352 * posix/Makefile (tests): Add it.
8353
3d04f5db
SP
83542013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8355
8356 [BZ #15339]
8357 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8358 when no services were used.
8359 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8360 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8361
d5dd6189
AS
83622013-05-21 Andreas Schwab <schwab@suse.de>
8363
8364 [BZ #15014]
8365 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8366 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8367 successful.
8368 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8369 redundant variable declarations and reallocation of buffer when
8370 parsing as IPv6 address. Always set NSS status when called from
8371 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8372 buffer too small. Correct computation of needed size.
8373 * nss/Makefile (tests): Add test-digits-dots.
8374 * nss/test-digits-dots.c: New test.
8375
fef94eab
SP
83762013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8377
8378 * benchtests/Makefile: Remove instructions for adding
8379 benchmark tests.
8380 * benchtests/README: New file to explain how to execute and
8381 enhance the benchmark tests.
8382
e39adf43
AS
83832013-05-21 Andreas Schwab <schwab@suse.de>
8384
8385 [BZ #15493]
8386 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8387 * setjmp/tst-sigsetjmp.c: New test.
8388
b2b671b6
OB
83892013-05-20 Ondřej Bílka <neleai@seznam.cz>
8390
8391 * sysdeps/x86_64/memset.S (memset): New implementation.
8392 (__bzero): Likewise.
8393 (__memset_tail): New function.
8394
2d48b41c
OB
83952013-05-20 Ondřej Bílka <neleai@seznam.cz>
8396
8397 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8398 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8399 __memcpy_sse2_unaligned ifunc selection.
8400 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8401 Add memcpy-sse2-unaligned.S.
8402 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8403 Add: __memcpy_sse2_unaligned.
8404
f16cc3eb
JM
84052013-05-19 Joseph Myers <joseph@codesourcery.com>
8406
3e694268
JM
8407 [BZ #15490]
8408 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8409 math_force_eval before restoring floating-point envrionment.
8410 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8411 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8412 Likewise.
8413 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8414 <math_private.h>.
8415 (__nearbyintl): Use math_force_eval before restoring
8416 floating-point environment.
8417 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8418
db62a907
JM
8419 * math/gen-libm-test.pl (special_functions): Remove.
8420 (parse_args): Don't handle TEST_extra. Handle functions with no
8421 return value.
8422 * math/libm-test.inc (struct test_sincos_data): Replace with
8423 struct test_fFF_11_data.
8424 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8425 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8426 (sincos_test_data): Change element type to struct
8427 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8428 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8429 RUN_TEST_LOOP_sincos.
8430 * math/README.libm-test: Don't mention special handling of
8431 individual functions.
8432 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8433 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8434 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8435 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8436 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8438
f16cc3eb
JM
8439 * math/gen-libm-test.pl (get_variable): Remove function.
8440 (parse_args): Don't show pointer parameters to call in test
8441 names. Use "extra output N" in test names for extra outputs
8442 rather than naming variables.
8443
3779b5b6
JM
84442013-05-18 Joseph Myers <joseph@codesourcery.com>
8445
2ee094ff
JM
8446 [BZ #15488]
8447 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8448 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8449 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8450 double tests.
8451 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8452 disable.
8453 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8454 check_long_double.
8455
3779b5b6
JM
8456 * math/gen-libm-test.pl (@tests): Remove variable.
8457 ($count): Likewise.
8458 (new_test): Remove function.
8459 (show_exceptions): New function.
8460 (special_functions): Use show_exceptions instead of new_test.
8461 (parse_args): Likewise.
8462 (generate_testfile): Pass only function name in generated call to
8463 print_max_error or print_complex_max_error.
8464 (get_ulps): Do not handle complex tests specially.
8465 (output_test): Rename to ...
8466 (get_all_ulps_for_test): ... this. Return a string rather than
8467 printing to a file. Require ulps to be present.
8468 (output_ulps): Generate arrays rather than #defines.
8469 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8470 (struct ulp_data): New type.
8471 (BUILD_COMPLEX_ULP): Remove macro.
8472 (compare_ulp_data): New function.
8473 (find_ulps): Likewise.
8474 (find_test_ulps): Likewise.
8475 (find_function_ulps): Likewise.
8476 (find_complex_function_ulps): Likewise.
8477 (print_max_error): Determine allowed ulps using
8478 find_function_ulps.
8479 (print_complex_max_error): Determine allowed ulps using
8480 find_complex_function_ulps.
8481 (check_float_internal): Determine max ulps using find_test_ulps.
8482 (check_float): Do not take max_ulp parameter. Update call to
8483 check_float_internal.
8484 (check_complex): Likewise.
8485 (check_int): Do not take max_ulp parameter.
8486 (check_long): Likewise.
8487 (check_bool): Likewise.
8488 (check_longlong): Likewise.
8489 (struct test_f_f_data): Remove max_ulp field.
8490 (struct test_ff_f_data): Likewise.
8491 (struct test_ff_f_data_nexttoward): Likewise.
8492 (struct test_fi_f_data): Likewise.
8493 (struct test_fl_f_data): Likewise.
8494 (struct test_if_f_data): Likewise.
8495 (struct test_fff_f_data): Likewise.
8496 (struct test_c_f_data): Likewise.
8497 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8498 (struct test_fF_f1_data): Likewise.
8499 (struct test_ffI_f1_data): Likewise.
8500 (struct test_c_c_data): Remove max_ulp field.
8501 (struct test_cc_c_data): Likewise.
8502 (struct test_f_i_data): Likewise.
8503 (struct test_ff_i_data): Likewise.
8504 (struct test_f_l_data): Likewise.
8505 (struct test_f_L_data): Likewise.
8506 (struct test_sincos_data): Likewise.
8507 (RUN_TEST_f_f): Do not handle ulps.
8508 (RUN_TEST_LOOP_f_f): Likewise.
8509 (RUN_TEST_2_f): Likewise.
8510 (RUN_TEST_LOOP_2_f): Likewise.
8511 (RUN_TEST_fff_f): Likewise.
8512 (RUN_TEST_LOOP_fff_f): Likewise.
8513 (RUN_TEST_c_f): Likewise.
8514 (RUN_TEST_LOOP_c_f): Likewise.
8515 (RUN_TEST_f_f1): Likewise.
8516 (RUN_TEST_LOOP_f_f1): Likewise.
8517 (RUN_TEST_fF_f1): Likewise.
8518 (RUN_TEST_LOOP_fF_f1): Likewise.
8519 (RUN_TEST_fI_f1): Likewise.
8520 (RUN_TEST_LOOP_fI_f1): Likewise.
8521 (RUN_TEST_ffI_f1): Likewise.
8522 (RUN_TEST_LOOP_ffI_f1): Likewise.
8523 (RUN_TEST_c_c): Likewise.
8524 (RUN_TEST_LOOP_c_c): Likewise.
8525 (RUN_TEST_cc_c): Likewise.
8526 (RUN_TEST_LOOP_cc_c): Likewise.
8527 (RUN_TEST_f_i): Likewise.
8528 (RUN_TEST_LOOP_f_i): Likewise.
8529 (RUN_TEST_f_i_tg): Likewise.
8530 (RUN_TEST_LOOP_f_i_tg): Likewise.
8531 (RUN_TEST_ff_i_tg): Likewise.
8532 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8533 (RUN_TEST_f_b): Likewise.
8534 (RUN_TEST_LOOP_f_b): Likewise.
8535 (RUN_TEST_f_b_tg): Likewise.
8536 (RUN_TEST_LOOP_f_b_tg): Likewise.
8537 (RUN_TEST_f_l): Likewise.
8538 (RUN_TEST_LOOP_f_l): Likewise.
8539 (RUN_TEST_f_L): Likewise.
8540 (RUN_TEST_LOOP_f_L): Likewise.
8541 (RUN_TEST_sincos): Likewise.
8542 (RUN_TEST_LOOP_sincos): Likewise.
8543
8269107f
JM
85442013-05-17 Joseph Myers <joseph@codesourcery.com>
8545
bb38759d
JM
8546 [BZ #15480]
8547 [BZ #15485]
8548 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8549 main case of finite arguments, set rounding mode to FE_TONEAREST
8550 and discard exceptions.
8551 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8552 exceptions.
8553 (remainder_tonearest_test_data): New variable.
8554 (remainder_test_tonearest): New function.
8555 (remainder_towardzero_test_data): New variable.
8556 (remainder_test_towardzero): New function.
8557 (remainder_downward_test_data): New variable.
8558 (remainder_test_downward): New function.
8559 (remainder_upward_test_data): New variable.
8560 (remainder_test_upward): New function.
8561 (main): Call the new test functions.
8562
a00bdcf0
JM
8563 * math/libm-test.inc (struct test_f_f1_data): Remove field
8564 extra_init.
8565 (struct test_fF_f1_data): Likewise.
8566 (struct test_ffI_f1_data): Likewise.
8567 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8568 based on value of EXTRA_EXPECTED.
8569 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8570 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8571 EXTRA_VAR based on value of EXTRA_EXPECTED.
8572 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8573 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8574 EXTRA_VAR based on value of EXTRA_EXPECTED.
8575 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8576 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8577 EXTRA_VAR based on value of EXTRA_EXPECTED.
8578 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8579 * math/gen-libm-test.pl (parse_args): Don't output initializers
8580 for extra output values.
8581
de407f79
JM
8582 * math/libm-test.inc (check_int): Expect result to be exactly
8583 equal to expected value and do not handle ulps.
8584 (check_long): Likewise.
8585 (check_longlong): Likewise.
8586
8269107f
JM
8587 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8588 exceptions.
8589 (cimag_test_data): Likewise.
8590 (conj_test_data): Likewise.
8591 (copysign_test_data): Likewise.
8592 (cproj_test_data): Likewise.
8593 (creal_test_data): Likewise.
8594 (fabs_test_data): Likewise.
8595 (fdim_test_data): Likewise.
8596 (finite_test_data): Likewise.
8597 (floor_test_data): Likewise.
8598 (fmax_test_data): Likewise.
8599 (fmin_test_data): Likewise.
8600 (fmod_test_data): Likewise.
8601 (fpclassify_test_data): Likewise.
8602 (frexp_test_data): Likewise.
8603 (ilogb_test_data): Likewise.
8604 (isfinite_test_data): Likewise.
8605 (isgreater_test_data): Likewise.
8606 (isgreaterequal_test_data): Likewise.
8607 (isinf_test_data): Likewise.
8608 (isless_test_data): Likewise.
8609 (islessequal_test_data): Likewise.
8610 (islessgreater_test_data): Likewise.
8611 (isnan_test_data): Likewise.
8612 (isnormal_test_data): Likewise.
8613 (issignaling_test_data): Likewise.
8614 (isunordered_test_data): Likewise.
8615 (ldexp_test_data): Likewise.
8616 (lrint_test_data): Likewise.
8617 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8618 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8619 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8620 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8621 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8622 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8623 test input.
8624 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8625 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8626 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8627 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8628 that test input.
8629 (lrint_downward_test_data): Test for "inexact" exceptions.
8630 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8631 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8632 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8633 test input.
8634 (lrint_upward_test_data): Test for "inexact" exceptions.
8635 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8636 test input.
8637 (llrint_test_data): Test for "inexact" exceptions.
8638 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8639 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8640 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8641 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8642 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8643 (llrint_downward_test_data): Test for "inexact" exceptions.
8644 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8645 (llrint_upward_test_data): Test for "inexact" exceptions.
8646 (logb_test_data): Likewise.
8647 (logb_downward_test_data): Likewise.
8648 (nextafter_test_data): Likewise.
8649 (nexttoward_test_data): Likewise.
8650 (remainder_test_data): Likewise.
8651 (remquo_test_data): Likewise.
8652 (scalbn_test_data): Likewise.
8653 (scalbln_test_data): Likewise.
8654 (signbit_test_data): Likewise.
8655 (sqrt_test_data): Likewise.
8656 (significand_test_data): Likewise.
8657
48a18de1
SP
86582013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8659
8660 [BZ #15424]
8661 * benchtests/bench-modf.c (struct args): Mark arg0 as
8662 volatile.
8663 * scripts/bench.pl: Mark members of struct args as volatile.
8664
13d3b41a
AZ
86652013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8666
68191c1d 8667 [BZ # 15497]
13d3b41a
AZ
8668 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8669 negative infinity on POWER6 or lower.
8670 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8671
2848b105
MR
86722013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8673
8674 [BZ #15442]
8675 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8676 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8677 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8678 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8679 (_FP_SETQNAN): New macro.
8680 (_FP_SETQNAN_SEMIRAW): Likewise.
8681 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8682 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8683 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8684 (FP_EXTEND): Use _FP_FRAC_SNANP.
8685 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8686 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8687 into account.
8688 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8689 New macro.
8690 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8691 Likewise.
8692
323e5cb7
JM
86932013-05-16 Joseph Myers <joseph@codesourcery.com>
8694
c58b274f
JM
8695 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8696 with DIVIDE_BY_ZERO_EXCEPTION.
8697 (gamma_test_data): Likewise.
8698 (lgamma_test_data): Likewise.
8699 (log_test_data): Likewise.
8700 (log10_test_data): Likewise.
8701 (log2_test_data): Likewise.
8702 (tgamma_test_data): Likewise.
8703
0ab34904
JM
8704 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8705 (acos_test_tonearest): Likewise.
8706 (acos_test_towardzero): Likewise.
8707 (acos_test_downward): Likewise.
8708 (acos_test_upward): Likewise.
8709 (acosh_test): Likewise.
8710 (asin_test): Likewise.
8711 (asin_test_tonearest): Likewise.
8712 (asin_test_towardzero): Likewise.
8713 (asin_test_downward): Likewise.
8714 (asin_test_upward): Likewise.
8715 (asinh_test): Likewise.
8716 (atan_test): Likewise.
8717 (atanh_test): Likewise.
8718 (atan2_test): Likewise.
8719 (cabs_test): Likewise.
8720 (cacos_test): Likewise.
8721 (cacosh_test): Likewise.
8722 (casin_test): Likewise.
8723 (casinh_test): Likewise.
8724 (catan_test): Likewise.
8725 (catanh_test): Likewise.
8726 (cbrt_test): Likewise.
8727 (ccos_test): Likewise.
8728 (ccosh_test): Likewise.
8729 (cexp_test): Likewise.
8730 (clog_test): Likewise.
8731 (clog10_test): Likewise.
8732 (cos_test): Likewise.
8733 (cos_test_tonearest): Likewise.
8734 (cos_test_towardzero): Likewise.
8735 (cos_test_downward): Likewise.
8736 (cos_test_upward): Likewise.
8737 (cosh_test): Likewise.
8738 (cosh_test_tonearest): Likewise.
8739 (cosh_test_towardzero): Likewise.
8740 (cosh_test_downward): Likewise.
8741 (cosh_test_upward): Likewise.
8742 (cpow_test): Likewise.
8743 (csin_test): Likewise.
8744 (csinh_test): Likewise.
8745 (csqrt_test): Likewise.
8746 (ctan_test): Likewise.
8747 (ctan_test_tonearest): Likewise.
8748 (ctan_test_towardzero): Likewise.
8749 (ctan_test_downward): Likewise.
8750 (ctan_test_upward): Likewise.
8751 (ctanh_test): Likewise.
8752 (ctanh_test_tonearest): Likewise.
8753 (ctanh_test_towardzero): Likewise.
8754 (ctanh_test_downward): Likewise.
8755 (ctanh_test_upward): Likewise.
8756 (erf_test): Likewise.
8757 (erfc_test): Likewise.
8758 (exp_test): Likewise.
8759 (exp_test_tonearest): Likewise.
8760 (exp_test_towardzero): Likewise.
8761 (exp_test_downward): Likewise.
8762 (exp_test_upward): Likewise.
8763 (exp10_test): Likewise.
8764 (exp2_test): Likewise.
8765 (expm1_test): Likewise.
8766 (fmod_test): Likewise.
8767 (gamma_test): Likewise.
8768 (hypot_test): Likewise.
8769 (j0_test): Likewise.
8770 (j1_test): Likewise.
8771 (jn_test): Likewise.
8772 (lgamma_test): Likewise.
8773 (log_test): Likewise.
8774 (log10_test): Likewise.
8775 (log1p_test): Likewise.
8776 (log2_test): Likewise.
8777 (logb_test_downward): Likewise.
8778 (pow_test): Likewise.
8779 (pow_test_tonearest): Likewise.
8780 (pow_test_towardzero): Likewise.
8781 (pow_test_downward): Likewise.
8782 (pow_test_upward): Likewise.
8783 (remainder_test): Likewise.
8784 (remquo_test): Likewise.
8785 (sin_test): Likewise.
8786 (sin_test_tonearest): Likewise.
8787 (sin_test_towardzero): Likewise.
8788 (sin_test_downward): Likewise.
8789 (sin_test_upward): Likewise.
8790 (sincos_test): Likewise.
8791 (sinh_test): Likewise.
8792 (sinh_test_tonearest): Likewise.
8793 (sinh_test_towardzero): Likewise.
8794 (sinh_test_downward): Likewise.
8795 (sinh_test_upward): Likewise.
8796 (sqrt_test): Likewise.
8797 (tan_test): Likewise.
8798 (tan_test_tonearest): Likewise.
8799 (tan_test_towardzero): Likewise.
8800 (tan_test_downward): Likewise.
8801 (tan_test_upward): Likewise.
8802 (tanh_test): Likewise.
8803 (tgamma_test): Likewise.
8804 (y0_test): Likewise.
8805 (y1_test): Likewise.
8806 (yn_test): Likewise.
8807
323e5cb7
JM
8808 * math/gen-libm-test.pl (adjust_arg): Remove function.
8809 (special_function): Remove argument $in_func. Only handle
8810 generating output for tables of tests, not inside functions.
8811 (parse_args): Likewise.
8812 (generate_testfile): Remove variable $in_func. Update call to
8813 parse_args.
8814 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8815 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8816 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8817 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8818 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8819 (MAX_VALUE_INIT): Rename macro to max_value.
8820 (MIN_VALUE_INIT): Rename macro to min_value.
8821 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8822 (plus_zero): Remove variable.
8823 (minus_zero): Likewise.
8824 (plus_infty): Likewise.
8825 (minus_infty): Likewise.
8826 (qnan_value): Likewise.
8827 (max_value): Likewise.
8828 (min_value): Likewise.
8829 (min_subnorm_value): Likewise.
8830
e054f494
RA
88312013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8832
8833 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8834 uint64_t or uint32_t usage.
8835 * crypt/sha256-block.c: Likewise.
8836 * crypt/sha256-crypt.c: Likewise.
8837 * crypt/sha256.c: Likewise.
8838 * crypt/sha512-block.c: Likewise.
8839 * crypt/sha512-crypt.c: Likewise.
8840 * crypt/sha512.c: Likewise.
8841 * debug/backtrace-tst.c: Likewise.
8842 * debug/pcprofiledump.c: Likewise.
8843 * elf/cache.c: Likewise.
8844 * elf/dl-cache.c: Likewise.
8845 * elf/dl-misc.c: Likewise.
8846 * elf/dl-profile.c: Likewise.
8847 * elf/dl-support.c: Likewise.
8848 * elf/ldconfig.c: Likewise.
8849 * elf/sprof.c: Likewise.
8850 * iconv/dummy-repertoire.c: Likewise.
8851 * iconv/iconv_charmap.c: Likewise.
8852 * iconv/skeleton.c: Likewise.
8853 * iconvdata/8bit-generic.c: Likewise.
8854 * iconvdata/cp737.h: Likewise.
8855 * iconvdata/cp775.h: Likewise.
8856 * iconvdata/ibm1008.h: Likewise.
8857 * iconvdata/ibm1025.h: Likewise.
8858 * iconvdata/ibm1046.h: Likewise.
8859 * iconvdata/ibm1097.h: Likewise.
8860 * iconvdata/ibm1112.h: Likewise.
8861 * iconvdata/ibm1122.h: Likewise.
8862 * iconvdata/ibm1123.h: Likewise.
8863 * iconvdata/ibm1124.h: Likewise.
8864 * iconvdata/ibm1129.h: Likewise.
8865 * iconvdata/ibm1130.h: Likewise.
8866 * iconvdata/ibm1132.h: Likewise.
8867 * iconvdata/ibm1133.h: Likewise.
8868 * iconvdata/ibm1137.h: Likewise.
8869 * iconvdata/ibm1140.h: Likewise.
8870 * iconvdata/ibm1141.h: Likewise.
8871 * iconvdata/ibm1142.h: Likewise.
8872 * iconvdata/ibm1143.h: Likewise.
8873 * iconvdata/ibm1144.h: Likewise.
8874 * iconvdata/ibm1145.h: Likewise.
8875 * iconvdata/ibm1146.h: Likewise.
8876 * iconvdata/ibm1147.h: Likewise.
8877 * iconvdata/ibm1148.h: Likewise.
8878 * iconvdata/ibm1149.h: Likewise.
8879 * iconvdata/ibm1153.h: Likewise.
8880 * iconvdata/ibm1154.h: Likewise.
8881 * iconvdata/ibm1155.h: Likewise.
8882 * iconvdata/ibm1156.h: Likewise.
8883 * iconvdata/ibm1157.h: Likewise.
8884 * iconvdata/ibm1158.h: Likewise.
8885 * iconvdata/ibm1160.h: Likewise.
8886 * iconvdata/ibm1161.h: Likewise.
8887 * iconvdata/ibm1162.h: Likewise.
8888 * iconvdata/ibm1163.h: Likewise.
8889 * iconvdata/ibm1164.h: Likewise.
8890 * iconvdata/ibm1166.h: Likewise.
8891 * iconvdata/ibm1167.h: Likewise.
8892 * iconvdata/ibm12712.h: Likewise.
8893 * iconvdata/ibm1390.h: Likewise.
8894 * iconvdata/ibm1399.h: Likewise.
8895 * iconvdata/ibm16804.h: Likewise.
8896 * iconvdata/ibm4517.h: Likewise.
8897 * iconvdata/ibm4899.h: Likewise.
8898 * iconvdata/ibm4909.h: Likewise.
8899 * iconvdata/ibm4971.h: Likewise.
8900 * iconvdata/ibm5347.h: Likewise.
8901 * iconvdata/ibm803.h: Likewise.
8902 * iconvdata/ibm856.h: Likewise.
8903 * iconvdata/ibm901.h: Likewise.
8904 * iconvdata/ibm902.h: Likewise.
8905 * iconvdata/ibm9030.h: Likewise.
8906 * iconvdata/ibm9066.h: Likewise.
8907 * iconvdata/ibm921.h: Likewise.
8908 * iconvdata/ibm922.h: Likewise.
8909 * iconvdata/ibm9448.h: Likewise.
8910 * iconvdata/isiri-3342.h: Likewise.
8911 * iconvdata/jis0201.h: Likewise.
8912 * include/link.h: Likewise.
8913 * include/netdb.h: Likewise.
8914 * inet/check_native.c: Likewise.
8915 * inet/check_pf.c: Likewise.
8916 * inet/getipv4sourcefilter.c: Likewise.
8917 * inet/getnameinfo.c: Likewise.
8918 * inet/getsourcefilter.c: Likewise.
8919 * inet/htonl.c: Likewise.
8920 * inet/setipv4sourcefilter.c: Likewise.
8921 * inet/setsourcefilter.c: Likewise.
8922 * inet/test-inet6_opt.c: Likewise.
8923 * inet/tst-network.c: Likewise.
8924 * locale/C-collate.c: Likewise.
8925 * locale/C-ctype.c: Likewise.
8926 * locale/C-time.c: Likewise.
8927 * locale/C-translit.h: Likewise.
8928 * locale/loadarchive.c: Likewise.
8929 * locale/programs/3level.h: Likewise.
8930 * locale/programs/charmap.c: Likewise.
8931 * locale/programs/charmap.h: Likewise.
8932 * locale/programs/ld-address.c: Likewise.
8933 * locale/programs/ld-collate.c: Likewise.
8934 * locale/programs/ld-ctype.c: Likewise.
8935 * locale/programs/ld-identification.c: Likewise.
8936 * locale/programs/ld-measurement.c: Likewise.
8937 * locale/programs/ld-messages.c: Likewise.
8938 * locale/programs/ld-monetary.c: Likewise.
8939 * locale/programs/ld-name.c: Likewise.
8940 * locale/programs/ld-numeric.c: Likewise.
8941 * locale/programs/ld-paper.c: Likewise.
8942 * locale/programs/ld-telephone.c: Likewise.
8943 * locale/programs/ld-time.c: Likewise.
8944 * locale/programs/linereader.c: Likewise.
8945 * locale/programs/locale.c: Likewise.
8946 * locale/programs/locarchive.c: Likewise.
8947 * locale/programs/locfile.h: Likewise.
8948 * locale/programs/repertoire.c: Likewise.
8949 * locale/programs/simple-hash.c: Likewise.
8950 * locale/programs/simple-hash.h: Likewise.
8951 * malloc/memusage.c: Likewise.
8952 * malloc/memusagestat.c: Likewise.
8953 * nis/nis_defaults.c: Likewise.
8954 * nis/nis_hash.c: Likewise.
8955 * nis/nis_print.c: Likewise.
8956 * nis/nis_xdr.c: Likewise.
8957 * nscd/connections.c: Likewise.
8958 * nscd/hstcache.c: Likewise.
8959 * nscd/nscd_gethst_r.c: Likewise.
8960 * nscd/nscd_getserv_r.c: Likewise.
8961 * nscd/nscd_helper.c: Likewise.
8962 * nscd/servicescache.c: Likewise.
8963 * nss/makedb.c: Likewise.
8964 * nss/nss_db/db-XXX.c: Likewise.
8965 * nss/nss_db/db-initgroups.c: Likewise.
8966 * nss/nss_db/db-netgrp.c: Likewise.
8967 * nss/nss_files/files-network.c: Likewise.
8968 * nss/nss_files/files-parse.c: Likewise.
8969 * posix/bug-regex5.c: Likewise.
8970 * posix/fnmatch_loop.c: Likewise.
8971 * posix/regcomp.c: Likewise.
8972 * posix/regexec.c: Likewise.
8973 * posix/tst-rfc3484-2.c: Likewise.
8974 * posix/tst-rfc3484-3.c: Likewise.
8975 * posix/tst-rfc3484.c: Likewise.
8976 * resolv/nss_dns/dns-canon.c: Likewise.
8977 * resolv/nss_dns/dns-network.c: Likewise.
8978 * resolv/res_init.c: Likewise.
8979 * resolv/res_mkquery.c: Likewise.
8980 * resolv/tst-aton.c: Likewise.
8981 * stdlib/cxa_atexit.c: Likewise.
8982 * stdlib/cxa_finalize.c: Likewise.
8983 * stdlib/gen-fpioconst.c: Likewise.
8984 * stdlib/strtol_l.c: Likewise.
8985 * string/tst-endian.c: Likewise.
8986 * sunrpc/auth_des.c: Likewise.
8987 * sunrpc/clnt_udp.c: Likewise.
8988 * sunrpc/rtime.c: Likewise.
8989 * sunrpc/svcauth_des.c: Likewise.
8990 * sunrpc/xdr.c: Likewise.
8991 * sunrpc/xdr_intXX_t.c: Likewise.
8992 * sunrpc/xdr_rec.c: Likewise.
8993 * sysdeps/generic/ldconfig.h: Likewise.
8994 * sysdeps/generic/ldsodefs.h: Likewise.
8995 * sysdeps/generic/memusage.h: Likewise.
8996 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8997 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8998 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8999 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9000 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9001 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9002 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9003 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9004 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9005 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9006 * sysdeps/posix/getaddrinfo.c: Likewise.
9007 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9008 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9009 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9010 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9011 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9012 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9013 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9014 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9015 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9016 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9017 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9018 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9019 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9020 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9021 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9022 * sysdeps/x86_64/dl-tls.h: Likewise.
9023 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9024 * time/alt_digit.c: Likewise.
9025 * time/era.c: Likewise.
9026 * wcsmbs/tst-c16c32-1.c: Likewise.
9027
8c75f674
JM
90282013-05-16 Joseph Myers <joseph@codesourcery.com>
9029
9030 * math/libm-test.inc (struct test_sincos_data): New type.
9031 (RUN_TEST_LOOP_sincos): New macro.
9032 (sincos_test_data): New variable.
9033 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9034
e6e49e59
RH
90352013-05-16 Richard Henderson <rth@redhat.com>
9036
9037 * math/atest-exp2.c (LIMB64): New macro.
9038 (CONSTSZ): New macro.
9039 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9040 (hexdig): Move ...
9041 (print_mpn_fp): ... to function scope.
9042 (read_mpn_hex): Remove.
9043 (get_log2): Remove.
9044 (exp2_mpn): Use mp_log2.
9045 (main): Use mp_exp1.
9046
15c7c18d
JM
90472013-05-16 Joseph Myers <joseph@codesourcery.com>
9048
105a07df
JM
9049 * math/libm-test.inc: Remove comment about not testing "inexact"
9050 exceptions.
9051 (INEXACT_EXCEPTION): New macro.
9052 (NO_INEXACT_EXCEPTION): Likewise.
9053 (INVALID_EXCEPTION_OK): Update value.
9054 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9055 (OVERFLOW_EXCEPTION_OK): Likewise.
9056 (UNDERFLOW_EXCEPTION_OK): Likewise.
9057 (IGNORE_ZERO_INF_SIGN): Likewise.
9058 (ERRNO_UNCHANGED): Likewise.
9059 (ERRNO_EDOM): Likewise.
9060 (ERRNO_ERANGE): Likewise.
9061 (test_exceptions): Handle testing "inexact" exceptions.
9062 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9063 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9064 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9065 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9066 INEXACT_EXCEPTION.
9067 (rint_towardzero_test_data): Likewise.
9068 (rint_downward_test_data): Likewise.
9069 (rint_upward_test_data): Likewise.
9070
e9eee333
JM
9071 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9072 with OVERFLOW_EXCEPTION.
9073 (exp10_test_data): Likewise.
9074 (exp2_test_data): Likewise.
9075 (expm1_test_data): Likewise.
9076 (lgamma_test_data): Likewise.
9077 (pow_test_data): Likewise.
9078 (tgamma_test_data): Likewise.
9079 (yn_test_data): Remove duplicate test of overflow.
9080
1c38ff73
JM
9081 * math/libm-test.inc (struct test_cc_c_data): New type.
9082 (RUN_TEST_LOOP_cc_c): New macro.
9083 (cpow_test_data): New variable.
9084 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9085
15c7c18d
JM
9086 * math/libm-test.inc (struct test_f_L_data): New type.
9087 (RUN_TEST_LOOP_f_L): New macro.
9088 (llrint_test_data): New variable.
9089 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9090 (llrint_tonearest_test_data): New variable.
9091 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9092 (llrint_towardzero_test_data): New variable.
9093 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9094 (llrint_downward_test_data): New variable.
9095 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9096 (llrint_upward_test_data): New variable.
9097 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9098 (llround_test_data): New variable.
9099 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9100
f137ff13
PC
91012013-05-13 Peter Collingbourne <pcc@google.com>
9102
9103 * math/atest-exp2.c (get_log2): Remove const attribute.
9104
3608cb24
JM
91052013-05-15 Joseph Myers <joseph@codesourcery.com>
9106
9107 * math/libm-test.inc (struct test_f_l_data): New type.
9108 (RUN_TEST_LOOP_f_l): New macro.
9109 (lrint_test_data): New variable.
9110 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9111 (lrint_tonearest_test_data): New variable.
9112 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9113 (lrint_towardzero_test_data): New variable.
9114 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9115 (lrint_downward_test_data): New variable.
9116 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9117 (lrint_upward_test_data): New variable.
9118 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9119 (lround_test_data): New variable.
9120 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9121
39b1f617
PC
91222013-05-15 Peter Collingbourne <pcc@google.com>
9123
1deff3dc
PC
9124 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9125 (EXTRACT_WORDS64) Use where appropriate.
9126 (INSERT_WORDS64) Likewise.
9127
791f3ba0
PC
9128 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9129 constraints with x constraints.
9130 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9131
39b1f617
PC
9132 * malloc/obstack.c (_obstack_compat): Add initializer.
9133
12fba011
EM
91342013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9135
9136 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9137 si_trapno and add si_addr_lsb to _sifields.sigfault.
9138 (si_trapno): Remove macro.
9139 (si_addr_lsb): Define new macro.
9140 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9141
d369f531
JM
91422013-05-15 Joseph Myers <joseph@codesourcery.com>
9143
b861c6c4
JM
9144 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9145 instead of TEST_f_l.
9146 (llrint_test_tonearest): Likewise.
9147 (llrint_test_towardzero): Likewise.
9148 (llrint_test_downward): Likewise.
9149 (llrint_test_upward): Likewise.
9150 (llround_test): Likewise.
9151
7abeee12
JM
9152 * math/libm-test.inc (struct test_f_i_data): Add comment.
9153 (RUN_TEST_LOOP_f_b): New macro.
9154 (RUN_TEST_LOOP_f_b_tg): Likewise.
9155 (finite_test_data): New variable.
9156 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9157 (isfinite_test_data): New variable.
9158 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9159 (isinf_test_data): New variable.
9160 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9161 (isnan_test_data): New variable.
9162 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9163 (isnormal_test_data): New variable.
9164 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9165 (issignaling_test_data): New variable.
9166 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9167 (signbit_test_data): New variable.
9168 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9169
cbe8c4d3
JM
9170 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9171 with INVALID_EXCEPTION.
9172 (acosh_test_data): Likewise.
9173 (asin_test_data): Likewise.
9174 (atanh_test_data): Likewise.
9175 (fmod_test_data): Likewise.
9176 (log_test_data): Likewise.
9177 (log10_test_data): Likewise.
9178 (log2_test_data): Likewise.
9179 (pow_test_data): Likewise.
9180 (sqrt_test_data): Likewise.
9181 (y0_test_data): Likewise.
9182 (y1_test_data): Likewise.
9183 (yn_test_data): Likewise.
9184
5575c0e5
JM
9185 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9186 function contents.
9187
d369f531
JM
9188 * math/libm-test.inc (struct test_ff_i_data): New type.
9189 (RUN_TEST_LOOP_ff_i_tg): New macro.
9190 (isgreater_test_data): New variable.
9191 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9192 (isgreaterequal_test_data): New variable.
9193 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9194 (isless_test_data): New variable.
9195 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9196 (islessequal_test_data): New variable.
9197 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9198 (islessgreater_test_data): New variable.
9199 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9200 (isunordered_test_data): New variable.
9201 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9202
781fd748
DM
92032013-05-14 David S. Miller <davem@davemloft.net>
9204
9205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9206
87aa21df
JM
92072013-05-14 Joseph Myers <joseph@codesourcery.com>
9208
5e908270
JM
9209 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9210
f71172e5
JM
9211 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9212 extra_test to int.
9213 (struct test_f_i_data): Change type of max_ulp to int.
9214
8cfa635a
JM
9215 * math/libm-test.inc (test_ffI_f1_data): New type.
9216 (RUN_TEST_LOOP_ffI_f1): New macro.
9217 (remquo_test_data): New variable.
9218 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9219
2bcb36b2
JM
9220 * setjmp/tst-setjmp-fp.c: New file.
9221 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9222 (link-libm): New variable.
9223 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9224
acbd839a
JM
9225 * math/libm-test.inc (struct test_f_i_data): New type.
9226 (RUN_TEST_LOOP_f_i): New macro.
9227 (RUN_TEST_LOOP_f_i_tg): Likewise.
9228 (fpclassify_test_data): New variable.
9229 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9230 (ilogb_test_data): New variable.
9231 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9232
e414d745
JM
9233 * math/libm-test.inc (scalbln_test): Correct function name in END
9234 call.
9235
d9c2a0fd
JM
9236 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9237 (RUN_TEST_LOOP_fI_f1): New macro.
9238 (frexp_test_data): New variable.
9239 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9240
9dc9095d
JM
9241 * math/libm-test.inc (struct test_fF_f1_data): New type.
9242 (RUN_TEST_LOOP_fF_f1): New macro.
9243 (modf_test_data): New variable.
9244 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9245
87aa21df
JM
9246 * math/libm-test.inc (struct test_f_f1_data): New type.
9247 (RUN_TEST_LOOP_f_f1): New macro.
9248 (gamma_test_data): New variable.
9249 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9250 (lgamma_test_data): New variable.
9251 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9252
141af660
CD
92532013-05-13 Carlos O'Donell <carlos@redhat.com>
9254
9255 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9256 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9257 (main): Comment "tls" pseudo-hwcap.
9258
6d33265c
JM
92592013-05-13 Joseph Myers <joseph@codesourcery.com>
9260
68fc074c
JM
9261 * math/libm-test.inc (struct test_fl_f_data): New type.
9262 (RUN_TEST_LOOP_fl_f): New variable.
9263 (scalbln_test_data): New variable.
9264 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9265
243216e1
JM
9266 * math/libm-test.inc (struct test_fi_f_data): New type.
9267 (RUN_TEST_LOOP_fi_f): New macro.
9268 (ldexp_test_data): New variable.
9269 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9270 (scalbn_test_data): New variable.
9271 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9272
6a1992e2
JM
9273 * math/libm-test.inc (struct test_c_f_data): New type.
9274 (RUN_TEST_LOOP_c_f): New macro.
9275 (cabs_test_data): New variable.
9276 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9277 (carg_test_data): New variable.
9278 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9279 (cimag_test_data): New variable.
9280 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9281 (creal_test_data): New variable.
9282 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9283
0e400df5
JM
9284 * math/libm-test.inc (struct test_if_f_data): New type.
9285 (RUN_TEST_LOOP_if_f): New macro.
9286 (jn_test_data): New variable.
9287 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9288 (yn_test_data): New variable.
9289 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9290
6d33265c
JM
9291 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9292
f98ece5f
AZ
92932013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9294
9295 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9296 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9297
0f7d347b
SP
92982013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9299
43fe811b
SP
9300 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9301 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9302 (bench-deps): Add bench-timing.h.
9303 * benchtests-bench-skeleton.c: Include bench-timing.h.
9304 (main): Use TIMING_* macros instead of clock_gettime.
9305 * benchtests/bench-timing.h: New file.
9306
0f7d347b
SP
9307 [BZ #14582]
9308 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9309 Renamed from _LIB_VERSION.
9310 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9311
601a3a5f
JM
93122013-05-12 Joseph Myers <joseph@codesourcery.com>
9313
4f184d30
JM
9314 * math/libm-test.inc (struct test_fff_f_data): New type.
9315 (RUN_TEST_LOOP_fff_f): New macro.
9316 (fma_test_data): New variable.
9317 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9318 (fma_towardzero_test_data): New variable.
9319 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9320 (fma_downward_test_data): New variable.
9321 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9322 (fma_upward_test_data): New variable.
9323 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9324
08198877
JM
9325 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9326 (struct test_c_c_data): New type.
9327 (RUN_TEST_LOOP_c_c): New macro.
9328 (cacos_test_data): New variable.
9329 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9330 (cacosh_test_data): New variable.
9331 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9332 (casin_test_data): New variable.
9333 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9334 (casinh_test_data): New variable.
9335 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9336 (catan_test_data): New variable.
9337 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9338 (catanh_test_data): New variable.
9339 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9340 (ccos_test_data): New variable.
9341 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9342 (ccosh_test_data): New variable.
9343 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9344 (cexp_test_data): New variable.
9345 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9346 (clog_test_data): New variable.
9347 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9348 (clog10_test_data): New variable.
9349 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9350 (conj_test_data): New variable.
9351 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9352 (cproj_test_data): New variable.
9353 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9354 (csin_test_data): New variable.
9355 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9356 (csinh_test_data): New variable.
9357 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9358 (csqrt_test_data): New variable.
9359 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9360 (ctan_test_data): New variable.
9361 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9362 (ctan_tonearest_test_data): New variable.
9363 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9364 (ctan_towardzero_test_data): New variable.
9365 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9366 (ctan_downward_test_data): New variable.
9367 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9368 (ctan_upward_test_data): New variable.
9369 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9370 (ctanh_test_data): New variable.
9371 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9372 (ctanh_tonearest_test_data): New variable.
9373 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9374 (ctanh_towardzero_test_data): New variable.
9375 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9376 (ctanh_downward_test_data): New variable.
9377 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9378 (ctanh_upward_test_data): New variable.
9379 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9380 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9381 of BUILD_COMPLEX.
9382
601a3a5f
JM
9383 * math/libm-test.inc (struct test_ff_f_data): New type.
9384 (struct test_ff_f_data_nexttoward): Likewise.
9385 (RUN_TEST_LOOP_2_f): New macro.
9386 (RUN_TEST_LOOP_ff_f): Likewise.
9387 (atan2_test_data): New variable.
9388 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9389 (copysign_test_data): New variable.
9390 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9391 (fdim_test_data): New variable.
9392 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9393 (fmax_test_data): New variable.
9394 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9395 (fmin_test_data): New variable.
9396 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9397 (fmod_test_data): New variable.
9398 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9399 (hypot_test_data): New variable.
9400 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9401 (nextafter_test_data): New variable.
9402 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9403 (nexttoward_test_data): New variable.
9404 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9405 (pow_test_data): New variable.
9406 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9407 (pow_tonearest_test_data): New variable.
9408 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9409 (pow_towardzero_test_data): New variable.
9410 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9411 (pow_downward_test_data): New variable.
9412 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9413 (pow_upward_test_data): New variable.
9414 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9415 (remainder_test_data): New variable.
9416 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9417 (scalb_test_data): New variable.
9418 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9419 * sysdeps/i386/fpu/libm-test-ulps: Update.
9420
74c57478
JM
94212013-05-11 Joseph Myers <joseph@codesourcery.com>
9422
8329e4da
JM
9423 * math/libm-test.inc (fma_test): Use max_value instead of local
9424 variable fltmax.
9425 (nextafter_test): Likewise.
9426
74c57478
JM
9427 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9428 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9429 (acos_downward_test_data): New variable.
9430 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9431 (acos_upward_test_data): New variable.
9432 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9433 (acosh_test_data): New variable.
9434 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9435 (asin_test_data): New variable.
9436 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9437 (asin_tonearest_test_data): New variable.
9438 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9439 (asin_towardzero_test_data): New variable.
9440 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9441 (asin_downward_test_data): New variable.
9442 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9443 (asin_upward_test_data): New variable.
9444 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9445 (asinh_test_data): New variable.
9446 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9447 (atan_test_data): New variable.
9448 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9449 (atanh_test_data): New variable.
9450 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9451 (cbrt_test_data): New variable.
9452 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9453 (ceil_test_data): New variable.
9454 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9455 (cos_test_data): New variable.
9456 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9457 (cos_tonearest_test_data): New variable.
9458 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9459 (cos_towardzero_test_data): New variable.
9460 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9461 (cos_downward_test_data): New variable.
9462 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9463 (cos_upward_test_data): New variable.
9464 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9465 (cosh_test_data): New variable.
9466 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9467 (cosh_tonearest_test_data): New variable.
9468 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9469 (cosh_towardzero_test_data): New variable.
9470 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9471 (cosh_downward_test_data): New variable.
9472 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9473 (cosh_upward_test_data): New variable.
9474 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9475 (erf_test_data): New variable.
9476 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9477 (erfc_test_data): New variable.
9478 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9479 (exp_test_data): New variable.
9480 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9481 (exp_tonearest_test_data): New variable.
9482 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9483 (exp_towardzero_test_data): New variable.
9484 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9485 (exp_downward_test_data): New variable.
9486 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9487 (exp_upward_test_data): New variable.
9488 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9489 (exp10_test_data): New variable.
9490 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9491 (exp2_test_data): New variable.
9492 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9493 (expm1_test_data): New variable.
9494 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9495 (fabs_test_data): New variable.
9496 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9497 (floor_test_data): New variable.
9498 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9499 (j0_test_data): New variable.
9500 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9501 (j1_test_data): New variable.
9502 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9503 (log_test_data): New variable.
9504 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9505 (log10_test_data): New variable.
9506 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9507 (log1p_test_data): New variable.
9508 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9509 (log2_test_data): New variable.
9510 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9511 (logb_test_data): New variable.
9512 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9513 (logb_downward_test_data): New variable.
9514 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9515 (nearbyint_test_data): New variable.
9516 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9517 (rint_test_data): New variable.
9518 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9519 (rint_tonearest_test_data): New variable.
9520 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9521 (rint_towardzero_test_data): New variable.
9522 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9523 (rint_downward_test_data): New variable.
9524 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9525 (rint_upward_test_data): New variable.
9526 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9527 (round_test_data): New variable.
9528 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9529 (sin_test_data): New variable.
9530 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9531 (sin_tonearest_test_data): New variable.
9532 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9533 (sin_towardzero_test_data): New variable.
9534 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9535 (sin_downward_test_data): New variable.
9536 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9537 (sin_upward_test_data): New variable.
9538 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9539 (sinh_test_data): New variable.
9540 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9541 (sinh_tonearest_test_data): New variable.
9542 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9543 (sinh_towardzero_test_data): New variable.
9544 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9545 (sinh_downward_test_data): New variable.
9546 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9547 (sinh_upward_test_data): New variable.
9548 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9549 (sqrt_test_data): New variable.
9550 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9551 (tan_test_data): New variable.
9552 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9553 (tan_tonearest_test_data): New variable.
9554 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9555 (tan_towardzero_test_data): New variable.
9556 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9557 (tan_downward_test_data): New variable.
9558 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9559 (tan_upward_test_data): New variable.
9560 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9561 (tanh_test_data): New variable.
9562 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9563 (tgamma_test_data): New variable.
9564 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9565 (trunc_test_data): New variable.
9566 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9567 (y0_test_data): New variable.
9568 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9569 (y1_test_data): New variable.
9570 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9571 (significand_test_data): New variable.
9572 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9573
7187d844
CG
95742013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9575
9576 [BZ #12387]
9577 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9578
f63fae73
PT
95792013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9580
9581 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9582
8a67a4b3
AJ
95832013-05-10 Andreas Jaeger <aj@suse.de>
9584
9585 [BZ #15448]
9586 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9587 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9588
51df539d
JM
95892013-05-10 Joseph Myers <joseph@codesourcery.com>
9590
9591 * math/gen-libm-test.pl (adjust_arg): New function.
9592 (special_functions): Handle generating output in both functions
9593 and arrays.
9594 (parse_args): Likewise.
9595 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9596 $in_func argument to parse_args.
9597 * math/libm-test.inc (struct test_f_f_data): New type.
9598 (IF_ROUND_INIT_): New macro.
9599 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9600 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9601 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9602 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9603 (ROUND_RESTORE_): Likewise.
9604 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9605 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9606 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9607 (ROUND_RESTORE_FE_UPWARD): Likewise.
9608 (RUN_TEST_LOOP_f_f): New macro.
9609 (acos_test_data): New variable.
9610 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9611 (acos_tonearest_test_data): New variable.
9612 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9613
5c637fe5
SP
96142013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9615
9616 * benchtests/bench-skeleton.c (startup): Fix coding style.
9617
ab2b9461
JM
96182013-05-10 Joseph Myers <joseph@codesourcery.com>
9619
9620 [BZ #6809]
9621 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9622 negative infinity argument.
9623 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9624 negative infinity argument.
9625 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9626 negative infinity argument.
9627 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9628 domain errors.
9629
4c0fe6fe
FW
96302013-05-10 Florian Weimer <fweimer@redhat.com>
9631
9632 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9633 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9634 * iconv/iconv_prog.c (main): Likewise.
9635 * locale/programs/charmap-dir.c (charmap_readdir)
9636 (fopen_uncompressed): Likewise.
9637 * locale/programs/locfile.c (siblings_uncached)
9638 (write_locale_data): Use lstat64 instead of lstat.
9639 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9640 stat.
9641
a3375d29
AJ
96422013-05-10 Andreas Jaeger <aj@suse.de>
9643
9644 [BZ #15395]
9645 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9646 localization.
9647 Include <locale.h>.
9648
36129722
CD
96492013-05-09 Carlos O'Donell <carlos@redhat.com>
9650
9651 * elf/dl-close.c (_dl_close_worker): Add comments.
9652
faa7f811
JM
96532013-05-09 Joseph Myers <joseph@codesourcery.com>
9654
ed41ffef
JM
9655 [BZ #15359]
9656 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9657 high part of pi/2.
9658 (__ieee754_rem_pio2l): Update comments.
9659
d0213cd0
JM
9660 [BZ #15429]
9661 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9662 high part of pi/2.
9663 (__ieee754_rem_pio2l): Update comments.
9664
0d3e777a
JM
9665 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9666 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9667
24f56066
JM
9668 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9669 M_PI_4l.
9670
faa7f811
JM
9671 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9672 (M_PI_34_LOG10El): Likewise.
9673 (M_PI2_LOG10El): Likewise.
9674 (M_PI4_LOG10El): Likewise.
9675 (M_PI_LOG10El): Likewise.
9676
e9a5e0fd
AZ
96772013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9678
9679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9680
d8cd06db
JM
96812013-05-08 Joseph Myers <joseph@codesourcery.com>
9682
a0d9f9d7
JM
9683 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9684 (MINUS_ZERO_INIT): Likewise.
9685 (PLUS_INFTY_INIT): Likewise.
9686 (MINUS_INFTY_INIT): Likewise.
9687 (QNAN_VALUE_INIT): Likewise.
9688 (MAX_VALUE_INIT): Likewise.
9689 (MIN_VALUE_INIT): Likewise.
9690 (MIN_SUBNORM_VALUE_INIT): Likewise.
9691 (plus_zero): Initialize with PLUS_ZERO_INIT.
9692 (minus_zero): Initialize with MINUS_ZERO_INIT.
9693 (plus_infty): Initialize with PLUS_INFTY_INIT.
9694 (minus_infty): Initialize with MINUS_INFTY_INIT.
9695 (qnan_value): Initialize with QNAN_VALUE_INIT.
9696 (max_value): Initialize with MAX_VALUE_INIT.
9697 (min_value): Initialize with MIN_VALUE_INIT.
9698 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9699
ae08db3b
JM
9700 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9701 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9702 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9703 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9704
f44bf14a
JM
9705 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9706 (RUN_TEST_2_f): Likewise.
9707 (RUN_TEST_ff_f): Likewise.
9708 (RUN_TEST_fi_f): Likewise.
9709 (RUN_TEST_fl_f): Likewise.
9710 (RUN_TEST_fff_f): Likewise.
9711 (RUN_TEST_c_f): Likewise.
9712 (RUN_TEST_f_f1): Likewise.
9713 (RUN_TEST_fF_f1): Likewise.
9714 (RUN_TEST_fI_f1): Likewise.
9715 (RUN_TEST_ffI_f1): Likewise.
9716 (RUN_TEST_c_c): Likewise.
9717 (RUN_TEST_cc_c): Likewise.
9718 (RUN_TEST_f_i): Likewise.
9719 (RUN_TEST_f_i_tg): Likewise.
9720 (RUN_TEST_ff_i_tg): Likewise.
9721 (RUN_TEST_f_b): Likewise.
9722 (RUN_TEST_f_b_tg): Likewise.
9723 (RUN_TEST_f_l): Likewise.
9724 (RUN_TEST_f_L): Likewise.
9725 (RUN_TEST_sincos): Likewise.
9726 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9727 whether to show exceptions. Do not include ");\n" in return
9728 value.
9729 (special_functions): Output call to RUN_TEST_sincos instead of
9730 check_float calls. Update calls to new_test.
9731 (parse_args): Output call to single RUN_TEST_* macro instead of
9732 check_* calls and other assignments. Update calls to new_test.
9733
d8cd06db
JM
9734 [BZ #2546]
9735 [BZ #2560]
9736 [BZ #5159]
9737 [BZ #15426]
9738 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9739 input to result for tgamma overflow.
9740 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9741 (gamma_coeff): New variable.
9742 (NCOEFF): New macro.
9743 (gamma_positive): New function.
9744 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9745 underflow here. Use gamma_positive instead of exp (lgamma) for
9746 other arguments.
9747 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9748 (gamma_coeff): New variable.
9749 (NCOEFF): New macro.
9750 (gammaf_positive): New function.
9751 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9752 underflow here. Use gamma_positive instead of exp (lgamma) for
9753 other arguments.
9754 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9755 (gamma_coeff): New variable.
9756 (NCOEFF): New macro.
9757 (gammal_positive): New function.
9758 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9759 underflow here. Use gamma_positive instead of exp (lgamma) for
9760 other arguments.
9761 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9762 (gamma_coeff): New variable.
9763 (NCOEFF): New macro.
9764 (gammal_positive): New function.
9765 (__ieee754_gammal_r): Handle positive infinity, overflow and
9766 underflow here. Handle NaN the same as positive infinity. Remove
9767 check x < 0xffffffff for negative integers. Use gamma_positive
9768 instead of exp (lgamma) for other arguments.
9769 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9770 (gamma_coeff): New variable.
9771 (NCOEFF): New macro.
9772 (gammal_positive): New function.
9773 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9774 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9775 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9776 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9777 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9778 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9779 * sysdeps/generic/math_private.h (__gamma_productf): New
9780 prototype.
9781 (__gamma_product): Likewise.
9782 (__gamma_productl): Likewise.
9783 * math/Makefile (libm-calls): Add gamma_product.
9784 * math/libm-test.inc (tgamma_test): Add more tests.
9785 * sysdeps/i386/fpu/libm-test-ulps: Update.
9786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9787
bb7cf681
OB
97882013-05-08 Ondřej Bílka <neleai@seznam.cz>
9789
9790 * benchtests/bench-skeleton.c (main): Preheat CPU.
9791
ba853947
AJ
97922013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9793
9794 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9795
8347c74c
RM
97962013-05-07 Roland McGrath <roland@hack.frob.com>
9797
9798 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9799 and _dl_skip_args_internal.
9800
e8dd4791
CD
98012013-05-07 Carlos O'Donell <carlos@redhat.com>
9802
9803 * manual/message.texi (Message Translation): Talk about users.
9804 Message to key mapping impacts design.
9805
c7405830
RM
98062013-05-06 Roland McGrath <roland@hack.frob.com>
9807
a9173057
RM
9808 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9809
976e2f03
RM
9810 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9811
9723ffc5
RM
9812 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9813 * sysdeps/wordsize-64/glob64.c: ... here.
9814
962e6658
RM
9815 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9816 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9817 New macros.
9818
ee586a6d
RM
9819 * debug/getlogin_r_chk.c: Moved to ...
9820 * login/getlogin_r_chk.c: ... here.
9821 * debug/Makefile (routines): Move getlogin_r_chk to ...
9822 * login/Makefile (routines): ... here.
9823 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9824 * login/Versions (libc: GLIBC_2.4): ... here.
9825
355f9165
RM
9826 * io/poll.c (__poll): Renamed from poll.
9827 Add libc_hidden_def.
9828 (poll): Define as weak alias.
9829
bd9ffde6
RM
9830 * debug/ptsname_r_chk.c: Moved to ...
9831 * login/ptsname_r_chk.c: ... here.
9832 * debug/Makefile (routines): Move ptsname_r_chk to ...
9833 * login/Makefile (routines): ... here.
9834 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9835 * login/Versions (libc: GLIBC_2.4): ... here.
9836
8fb16a04
RM
9837 * posix/getlogin.c: Moved to ...
9838 * login/getlogin.c: ... here.
9839 * posix/getlogin_r.c: Moved to ...
9840 * login/getlogin_r.c: ... here.
9841 * posix/getlogin_r.c: Moved to ...
9842 * login/getlogin_r.c: ... here.
9843 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9844 * login/Makefile (routines): ... here.
9845 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9846 * login/Versions (libc: GLIBC_2.0): ... here.
9847
b99b892f
RM
9848 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9849 (setrlimit): Define as weak alias.
9850
c7405830
RM
9851 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9852 Call __ names for open, ftruncate, and close.
9853 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9854 (truncate): Define as weak alias.
9855
5bf96de5
JM
98562013-05-06 Joseph Myers <joseph@codesourcery.com>
9857
9ea3513c
JM
9858 * math/gen-libm-test.pl (parse_args): Initialize x before each
9859 test of frexp, modf and remquo.
9860
5bf96de5
JM
9861 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9862 test signgam value.
9863
16e616a7
AZ
98642013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9865
9866 [BZ #15418]
9867 [BZ #15419]
9868 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9869 internal tests.
9870 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9871
d5e82754
RM
98722013-05-06 Roland McGrath <roland@hack.frob.com>
9873
9874 * elf/dl-writev.h: New file.
9875 * elf/dl-misc.c: Include it.
9876 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9877 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9878
a7548d41
JM
98792013-05-04 Joseph Myers <joseph@codesourcery.com>
9880
b7dab1e4
JM
9881 * math/libm-test.inc (noXFails): Remove variable.
9882 (noXPasses): Likewise.
9883 (BUILD_COMPLEX_INT): Remove macro.
9884 (print_screen): Remove xfail argument.
9885 (print_screen_max_error): Likewise.
9886 (update_stats): Likewise.
9887 (print_max_error): Likewise. Update calls to other affected
9888 functions.
9889 (print_complex_max_error): Likewise.
9890 (test_single_exception): Update calls to print_screen.
9891 (test_single_errno): Likewise.
9892 (check_float_internal): Remove xfail argument. Update calls to
9893 other affected functions.
9894 (check_float): Likewise.
9895 (check_complex): Likewise.
9896 (check_int): Likewise.
9897 (check_long): Likewise.
9898 (check_bool): Likewise.
9899 (check_longlong): Likewise.
9900 (main): Don't print noXFails and noXPasses.
9901 * math/gen-libm-test.pl (top level): Don't mention expected
9902 failure handling in comment.
9903 (new_test): Don't handle expected failures.
9904 (parse_args): Don't mention expected failure handling in comment.
9905 (generate_testfile): Don't handle expected failures.
9906 (parse_ulps): Likewise.
9907 (print_ulps_file): Likewise.
9908 (get_failure): Remove function.
9909 (output_test): Don't handle expected failures.
9910 * make/README.libm-test: Don't mention expected failure handling.
9911
a7548d41
JM
9912 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9913 (minus_zero): Likewise.
9914 (plus_infty): Likewise.
9915 (minus_infty): Likewise.
9916 (qnan_value): Likewise.
9917 (max_value): Likewise.
9918 (min_value): Likewise.
9919 (min_subnorm_value): Likewise.
9920 (initialize): Do not initialize those variables dynamically.
9921
60bfd54c
RM
99222013-05-03 Roland McGrath <roland@hack.frob.com>
9923
cc0e6ed8
RM
9924 * io/open.c (__open_2): Moved to ...
9925 * io/open_2.c: ... this new file.
9926 * io/open64.c (__open64_2): Moved to ...
9927 * io/open64_2.c: ... this new file.
9928 * io/openat.c (__openat_2): Moved to ...
9929 * io/openat_2.c: ... this new file.
9930 * io/openat64.c (__openat64_2): Moved to ...
9931 * io/openat64_2.c: ... this new file.
9932 * io/Makefile (routines): Add them.
9933 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9934 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9935 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9936 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9937 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9938 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9939 (__openat64): Add hidden_ver.
9940 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9941 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9942
60bfd54c
RM
9943 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9944 Separately conditionalize setting of GLRO(dl_sysinfo) so
9945 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9946 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9947
83e7640f
AZ
99482013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9949
9950 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9951 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9952 definition.
9953 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9954 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9955 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9956 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9957 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9958
d5dc2af3
JM
99592013-05-03 Joseph Myers <joseph@codesourcery.com>
9960
c31a5b1e
JM
9961 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9962 test signgam value.
9963
d5dc2af3
JM
9964 * math/libm-test.inc (hypot_test): Do not use
9965 IGNORE_ZERO_INF_SIGN.
9966
164fd39d
AJ
99672013-05-03 Andreas Jaeger <aj@suse.de>
9968
9969 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9970 Linux 3.9.
9971 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9972 (PF_MAX): Adjust for VSOCK change.
9973
8237f48c
AZ
99742013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9975
9976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9977
9df02941
CD
99782013-05-02 Carlos O'Donell <carlos@redhat.com>
9979
9980 [BZ #15264]
9981 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9982 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9983 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9984
d422395e
DM
99852013-05-02 David S. Miller <davem@davemloft.net>
9986
9987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9988
a07c5731
OB
99892013-05-01 Ondřej Bílka <neleai@seznam.cz>
9990
9991 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9992
1324e37f
RM
99932013-05-01 Roland McGrath <roland@hack.frob.com>
9994
9995 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9996
0695940b
RS
99972013-05-01 Richard Smith <richard@metafoo.co.uk>
9998
bb5f27ad 9999 [BZ #14952]
0695940b
RS
10000 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10001 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10002 Use __attribute__ ((__gnu_inline__)).
10003 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10004 Don't use __attribute__ ((__gnu_inline__)).
10005
10de07f5
JM
100062013-05-01 Joseph Myers <joseph@codesourcery.com>
10007
10008 [BZ #15423]
10009 * math/s_catan.c (__catan): Handle small real or imaginary part of
10010 input specially to avoid spurious underflow.
10011 * math/s_catanf.c (__catanf): Likewise.
10012 * math/s_catanh.c (__catanh): Likewise.
10013 * math/s_catanhf.c (__catanhf): Likewise.
10014 * math/s_catanhl.c (__catanhl): Likewise.
10015 * math/s_catanl.c (__catanl): Likewise.
10016 * math/libm-test.inc (catan_test): Add more tests.
10017 (catanh_test): Likewise.
10018 * sysdeps/i386/fpu/libm-test-ulps: Update.
10019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10020
cb4d5414
AZ
100212013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10022
10023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10024
caf84319
JM
100252013-04-30 Joseph Myers <joseph@codesourcery.com>
10026
10027 [BZ #15416]
10028 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10029 accurately for denominator in atan2.
10030 * math/s_catanf.c (__catanf): Likewise.
10031 * math/s_catanh.c (__catanh): Likewise.
10032 * math/s_catanhf.c (__catanhf): Likewise.
10033 * math/s_catanhl.c (__catanhl): Likewise.
10034 * math/s_catanl.c (__catanl): Likewise.
10035 * math/libm-test.inc (catan_test): Add more tests.
10036 (catanh_test): Likewise.
10037 * sysdeps/i386/fpu/libm-test-ulps: Update.
10038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10039
d569c6ee
SP
100402013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10041
6dbe713d
SP
10042 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10043
f0ee064b
SP
10044 * benchtests/Makefile (bench): Remove slow benchmarks.
10045 * benchtests/atan-inputs: Add slow benchmark inputs.
10046 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10047 (BENCH_FUNC): Accept variant offset.
10048 (VARIANT): Define.
10049 * benchtests/bench-skeleton.c (main): Run benchmark for each
10050 variant.
10051 * benchtests/cos-inputs: Add slow benchmark inputs.
10052 * benchtests/exp-inputs: Likewise.
10053 * benchtests/pow-inputs: Likewise.
10054 * benchtests/sin-inputs: Likewise.
10055 * benchtests/slowatan-inputs: Remove.
10056 * benchtests/slowatan.c: Remove.
10057 * benchtests/slowcos-inputs: Remove.
10058 * benchtests/slowcos.c: Remove.
10059 * benchtests/slowexp-inputs: Remove.
10060 * benchtests/slowexp.c: Remove.
10061 * benchtests/slowpow-inputs: Remove.
10062 * benchtests/slowpow.c: Remove.
10063 * benchtests/slowsin-inputs: Remove.
10064 * benchtests/slowsin.c: Remove.
10065 * benchtests/slowtan-inputs: Remove.
10066 * benchtests/slowtan.c: Remove.
10067 * benchtests/tan-inputs: Add slow benchmark inputs.
10068 * scripts/bench.pl: Parse comments and directives.
10069
d569c6ee
SP
10070 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10071 in CPPFLAGS.
10072 ($(objpfx)bench-%.c): Remove *-ITER.
10073 * benchtests/bench-modf.c: Remove definition of ITER.
10074 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10075 (main): Loop for DURATION seconds instead of fixed number of
10076 iterations.
10077 * scripts/bench.pl: Don't expect iterations in parameters.
10078
a6a242fe
RM
100792013-04-29 Roland McGrath <roland@hack.frob.com>
10080
10081 * io/fchdir.c (__fchdir): Renamed from fchdir.
10082 (fchdir): Define as weak alias.
10083
f2da7793
JM
100842013-04-29 Joseph Myers <joseph@codesourcery.com>
10085
10086 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10087 (ERRNO_EDOM): Likewise.
10088 (ERRNO_ERANGE): Likewise.
10089 (noErrnoTests): New variable.
10090 (init_max_error): Set errno to 0.
10091 (test_single_errno): New function.
10092 (test_errno): Likewise.
10093 (check_float_internal): Call test_errno. Set errno to 0.
10094 (check_complex): Refer to errno tests in comment.
10095 (check_int): Call test_errno. Set errno to 0.
10096 (check_long): Likewise.
10097 (check_bool): Likewise.
10098 (check_longlong): Likewise.
10099 (cos_test): Use ERRNO_* flags for errno tests instead of
10100 check_int.
10101 (expm1_test): Likewise.
10102 (fmod_test): Likewise.
10103 (ilogb_test): Likewise.
10104 (lgamma_test): Likewise.
10105 (pow_test): Likewise.
10106 (remainder_test): Likewise.
10107 (sin_test): Likewise.
10108 (tan_test): Likewise.
10109 (yn_test): Likewise.
10110 (initialize): Set errno to 0.
10111 (main): Print number of errno tests.
10112 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10113
b1a36ceb
AJ
101142013-04-29 Andreas Jaeger <aj@suse.de>
10115
c3ed8088
AJ
10116 [BZ #15084]
10117 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10118 and RES_USEVC.
10119
f1a24198
AJ
10120 [BZ #15085]
10121 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10122 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10123 unimplemented.
10124
9ce3b2cb
AJ
10125 [BZ #15380]
10126 * stdlib/random.c (__initstate): Return NULL if
10127 __initstate fails.
10128
f1a24198 10129 [BZ #15086]
b1a36ceb
AJ
10130 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10131 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10132 RES_SNGLKUPREOP.
10133
7e7b6f36
AZ
101342013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10135
10136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10137
4d14f449
JM
101382013-04-29 Joseph Myers <joseph@codesourcery.com>
10139
10140 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10141 of individual tests.
10142 (casin_test): Likewise.
10143 (casinh_test): Likewise.
10144
5b4217d7
JM
101452013-04-27 Joseph Myers <joseph@codesourcery.com>
10146
10147 [BZ #15409]
10148 * math/s_catan.c (__catan): Handle arguments with large real or
10149 imaginary part separately without squaring.
10150 * math/s_catanf.c (__catanf): Likewise.
10151 * math/s_catanh.c (__catanh): Likewise.
10152 * math/s_catanhf.c (__catanhf): Likewise.
10153 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10154 and redefine.
10155 (__catanhl): Handle arguments with large real or imaginary part
10156 separately without squaring.
10157 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10158 and redefine.
10159 (__catanl): Handle arguments with large real or imaginary part
10160 separately without squaring.
10161 * math/libm-test.inc (catan_test): Add more tests.
10162 (catanh_test): Likewise.
10163 * sysdeps/i386/fpu/libm-test-ulps: Update.
10164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10165
4220c3ef
AJ
101662013-04-27 Andreas Jaeger <aj@suse.de>
10167
10168 [BZ #15007]
10169 * stdlib/stdlib.h: Update guards for qecvt.
10170 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10171 <stdlib.h>.
10172
4721b2d1
AM
101732013-04-27 Allan McRae <allan@archlinux.org>
10174
10175 * sysdeps/i386/fpu/libm-test-ulps: Update.
10176
f0302940
JM
101772013-04-26 Joseph Myers <joseph@codesourcery.com>
10178
9457fd95
JM
10179 [BZ #15406]
10180 * math/s_catan.c: Include <float.h>.
10181 (__catan): Ensure underflow exception occurs for underflowed
10182 result.
10183 * math/s_catanf.c: Include <float.h>.
10184 (__catanf): Ensure underflow exception occurs for underflowed
10185 result.
10186 * math/s_catanh.c: Include <float.h>.
10187 (__catanh): Ensure underflow exception occurs for underflowed
10188 result.
10189 * math/s_catanhf.c: Include <float.h>.
10190 (__catanhf): Ensure underflow exception occurs for underflowed
10191 result.
10192 * math/s_catanhl.c: Include <float.h>.
10193 (__catanhl): Ensure underflow exception occurs for underflowed
10194 result.
10195 * math/s_catanl.c: Include <float.h>.
10196 (__catanl): Ensure underflow exception occurs for underflowed
10197 result.
10198 * math/libm-test.inc (catan_test): Add more tests.
10199 (catanh_test): Likewise.
10200
f0302940
JM
10201 [BZ #15405]
10202 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10203 underflowed result.
10204 * math/s_ccoshf.c (__ccoshf): Likewise.
10205 * math/s_ccoshl.c (__ccoshl): Likewise.
10206 * math/s_csin.c (__csin): Likewise.
10207 * math/s_csinf.c (__csinf): Likewise.
10208 * math/s_csinh.c (__csinh): Likewise.
10209 * math/s_csinhf.c (__csinhf): Likewise.
10210 * math/s_csinhl.c (__csinhl): Likewise.
10211 * math/s_csinl.c (__csinl): Likewise.
10212 * math/libm-test.inc (ccos_test): Add more tests.
10213 (ccosh_test): Likewise.
10214 (csin_test): Likewise.
10215 (csinh_test): Likewise.
10216
aa630f59
AZ
102172013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10218
10219 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10220 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10221 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10222 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10223 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10224 powerpc/power5+/fpu folders.
10225 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10226
10227
1b835983
MT
102282013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10229
10230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10231
73709b26
JM
102322013-04-25 Joseph Myers <joseph@codesourcery.com>
10233
10234 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10235 additions to variable.
10236 [$(config-machine) = x86_64] (modules-names): Likewise.
10237 ($(objpfx)tst-audit3): Remove dependency.
10238 ($(objpfx)tst-audit3.out): Likewise.
10239 ($(objpfx)tst-audit4): Likewise.
10240 ($(objpfx)tst-audit4.out): Likewise.
10241 ($(objpfx)tst-audit5): Likewise.
10242 ($(objpfx)tst-audit5.out): Likewise.
10243 ($(objpfx)tst-audit6): Likewise.
10244 ($(objpfx)tst-audit6.out): Likewise.
10245 ($(objpfx)tst-audit7): Likewise.
10246 ($(objpfx)tst-audit7.out): Likewise.
10247 (tst-audit3-ENV): Remove variable.
10248 (tst-audit4-ENV): Likewise.
10249 (tst-audit5-ENV): Likewise.
10250 (tst-audit6-ENV): Likewise.
10251 (tst-audit7-ENV): Likewise.
10252 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10253 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10254 addition to variable.
10255 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10256 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10257 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10258 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10259 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10260 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10261 tst-audit3, tst-audit4 and tst-audit5.
10262 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10263 tst-audit6 and tst-audit7.
10264 [$(subdir) = elf] (modules-names): Add audit modules for those
10265 tests.
10266 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10267 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10268 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10269 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10270 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10271 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10272 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10273 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10274 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10275 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10276 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10277 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10278 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10279 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10280 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10281 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10282 Likewise.
10283 [$(subdir) = elf && $(config-cflags-avx) = yes]
10284 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10285 [$(subdir) = elf && $(config-cflags-avx) = yes]
10286 (CFLAGS-tst-auditmod4a.c): Likewise.
10287 [$(subdir) = elf && $(config-cflags-avx) = yes]
10288 (CFLAGS-tst-auditmod4b.c): Likewise.
10289 [$(subdir) = elf && $(config-cflags-avx) = yes]
10290 (CFLAGS-tst-auditmod6b.c): Likewise.
10291 [$(subdir) = elf && $(config-cflags-avx) = yes]
10292 (CFLAGS-tst-auditmod6c.c): Likewise.
10293 [$(subdir) = elf && $(config-cflags-avx) = yes]
10294 (CFLAGS-tst-auditmod7b.c): Likewise.
10295 * elf/tst-audit3.c: Move to ...
10296 * sysdeps/x86_64/tst-audit3.c: ... here.
10297 * elf/tst-audit4.c: Move to ...
10298 * sysdeps/x86_64/tst-audit4.c: ... here.
10299 * elf/tst-audit5.c: Move to ...
10300 * sysdeps/x86_64/tst-audit5.c: ... here.
10301 * elf/tst-audit6.c: Move to ...
10302 * sysdeps/x86_64/tst-audit6.c: ... here.
10303 * elf/tst-audit7.c: Move to ...
10304 * sysdeps/x86_64/tst-audit7.c: ... here.
10305 * elf/tst-auditmod3a.c: Move to ...
10306 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10307 * elf/tst-auditmod3b.c: Move to ...
10308 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10309 * elf/tst-auditmod4a.c: Move to ...
10310 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10311 * elf/tst-auditmod4b.c: Move to ...
10312 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10313 * elf/tst-auditmod5a.c: Move to ...
10314 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10315 * elf/tst-auditmod5b.c: Move to ...
10316 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10317 * elf/tst-auditmod6a.c: Move to ...
10318 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10319 * elf/tst-auditmod6b.c: Move to ...
10320 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10321 * elf/tst-auditmod6c.c: Move to ...
10322 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10323 * elf/tst-auditmod7a.c: Move to ...
10324 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10325 * elf/tst-auditmod7b.c: Move to ...
10326 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10327
1ef74943
PP
103282013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10329
10330 [BZ #15366]
10331 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10332 define unconditionally.
10333 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10334 define unconditionally.
10335 (INT8_C, INT16_C, etc.): Likewise.
10336
93fd48c5
MR
103372013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10338
ae9552cf
MR
10339 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10340 __ehdr_start with hidden visibility.
10341
93fd48c5
MR
10342 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10343
418601aa
CD
103442013-04-24 Carlos O'Donell <carlos@redhat.com>
10345
10346 * math/libm-test.inc (cos_test): Use accurate hex constants.
10347 (sincost_test): Likewise.
10348
2f38fbfe
JM
103492013-04-24 Joseph Myers <joseph@codesourcery.com>
10350
5e221800
JM
10351 * math/libm-test.inc (catan_test): Add more tests.
10352 (catanh_test): Likewise.
10353
77f143fd
JM
10354 * math/s_catanf.c (__catanf): Use suffixed floating-point
10355 constants.
10356 * math/s_catanhf.c (__catanhf): Likewise.
10357 * math/s_catanhl.c (__catanhl): Likewise.
10358 * math/s_catanl.c (__catanl): Likewise.
10359
2f38fbfe
JM
10360 [BZ #15394]
10361 * math/s_catan.c (__catan): Calculate imaginary part of result
10362 with log1p not log unless computing log of number close to 0.
10363 * math/s_catanf.c (__catanf): Likewise.
10364 * math/s_catanl.c (__catanl): Likewise.
10365 * math/s_catanh.c (__catanh): Calculate real part of result with
10366 log1p not log unless computing log of number close to 0.
10367 * math/s_catanhf.c (__catanhf): Likewise.
10368 * math/s_catanhl.c (__catanhl): Likewise.
10369 * math/libm-test.inc (catan_test): Add more tests.
10370 (catanh_test): Likewise.
10371 * sysdeps/i386/fpu/libm-test-ulps: Update.
10372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10373
45d69176
SP
103742013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10375
10376 * benchtests/Makefile: Mention files in which fast and slow
10377 paths of math functions are implemented.
10378
87f51853
RM
103792013-04-23 Roland McGrath <roland@hack.frob.com>
10380
10381 * sysdeps/posix/timespec_get.c: New file.
10382
3c026539
AZ
103832013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10384
10385 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10386 POWER.
10387 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10388 for POWER.
10389 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10390 powerpc/power5/fpu folders.
10391 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10392 * benchtests/Makefile: Add modf testcase.
10393 * benchtests/bench-modf.c: New file: Benchmark test for mo
10394
ff491d14
SP
103952013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10396
10397 [BZ #14888]
10398 * time/Makefile (tests): Add tst-strptime-whitespace.
10399 * time/strptime_l.c (get_number): Use ISSPACE.
10400 (__strptime_internal): Likewise.
10401 * time/tst-strptime-whitespace.c: New test case.
10402
7ed3f4e8
AS
104032013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10404
10405 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10406 member.
10407 (_nss_files_init): Set it here.
10408
5c95f7b6
HC
104092013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10410
10411 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10412 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10413 unsigned.
10414
d34c9158
JBG
104152013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10416
10417 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10418
2169712d
SP
104192013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10420
10421 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10422 size just once.
10423
29c5de99
DM
104242013-04-21 David S. Miller <davem@davemloft.net>
10425
10426 * po/ru.po: Update Russion translation from translation project.
10427
ccdad15d
AC
104282013-04-17 Adam Conrad <adconrad@0c3.net>
10429
10430 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10431 and setfsgid.
10432
0f122b8d
CD
104332013-04-17 Carlos O'Donell <carlos@redhat.com>
10434
5c5b07da 10435 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 10436 * configure: Regenerate.
5c5b07da 10437 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
10438 Add example to error message.
10439 * sysdeps/i386/configure: Regenerate.
10440
037714dd
SP
104412013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10442
10443 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10444 slowtan.
10445 * benchtests/cos-inputs: New file.
10446 * benchtests/slowcos-inputs: New file.
10447 * benchtests/slowcos.c: New file.
10448 * benchtests/slowtan-inputs: New file.
10449 * benchtests/slowtan.c: New file.
10450 * benchtests/tan-inputs: New file.
10451
e913141d
RM
104522013-04-16 Roland McGrath <roland@hack.frob.com>
10453
10454 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10455 considered kosher.
10456
a2964074
SP
104572013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10458
4856bcd2
SP
10459 * benchtests/Makefile: Include cppflags-iterator.mk to add
10460 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10461
a2964074
SP
10462 * Makefile.in (bench-clean): New target.
10463 * benchtests/Makefile (bench-clean): Likewise.
10464
9fbf9aca
DH
104652013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10466
10467 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10468
207d1e2a
TS
104692013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10470
10471 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10472
306dfba9
AS
104732013-04-15 Andreas Schwab <schwab@suse.de>
10474
10475 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10476 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10477 * nscd/pwdcache.c (cache_addpw): Likewise.
10478 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10479 more than recsize.
10480
206a6699
SP
104812013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10482
10483 * benchtests/Makefile (bench): Write all output to
10484 bench-out.tmp together.
10485
0582f6b3
AS
104862013-04-15 Andreas Schwab <schwab@suse.de>
10487
10488 * nscd/nscd.c (main): Don't fork again after closing files.
10489
acb4325f
SP
104902013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10491
5cb26d0a
SP
10492 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10493
acb4325f
SP
10494 * benchtests/Rules (bench-deps): Collect dependencies into a
10495 single variable. Add Makefile to dependencies.
10496 ($(objpfx)bench-%.c): Depend on bench-deps.
10497
47792506
RM
104982013-04-12 Roland McGrath <roland@hack.frob.com>
10499 Xavier Roche <roche+kml2@exalead.com>
10500
10501 [BZ #15361]
10502 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10503 just that it's a file descriptor.
10504 * manual/llio.texi (Synchronizing AIO Operations): Update description
10505 for EBADF error from aio_fsync.
10506
8fc1bee5
SP
105072013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10508
10509 * Rules (bench): Move target definition...
10510 * benchtests/Makefile: ... here.
10511
aba5e333
CD
105122013-04-11 Carlos O'Donell <carlos@redhat.com>
10513
10514 * math/libm-test.inc (cos_test): Fix PI/2 test.
10515 (sincos_test): Likewise.
10516 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10517 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10518
273cdee8
AS
105192013-04-11 Andreas Schwab <schwab@suse.de>
10520
6ecec3b6
AS
10521 [BZ #13988]
10522 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10523 accept exponent character only when digits were seen.
10524 * stdio-common/Makefile (tests): Add bug26.
10525 * stdio-common/bug26.c: New file.
10526
273cdee8
AS
10527 [BZ #14293]
10528 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10529 non-freeable.
10530
8da491f5
SP
105312013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10532
01dc6df9
SP
10533 * Makeconfig (rtld-prefix): Define built linker prefix.
10534 * Rules (run-bench): Use it.
10535 * math/Makefile (run-regen-ulps): Likewise.
10536
8da491f5
SP
10537 * Rules (bench): Remove eval.
10538
abe7f530
SP
105392013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10540 Roland McGrath <roland@hack.frob.com>
10541 Ondrej Bilka <neleai@seznam.cz>
10542
10543 [BZ #15346]
10544 * time/getdate.c: Include ctype.h and alloca.h.
10545 (__getdate_r): Trim leading and trailing spaces of input.
10546 * time/tst-getdate.c (tests): Add tests with leading and
10547 trailing spaces.
10548
61c23e62
RM
105492013-04-08 Roland McGrath <roland@hack.frob.com>
10550
10551 [BZ #14280]
10552 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10553 when computing value.
10554
7208a313
CD
105552013-04-06 Carlos O'Donell <carlos@redhat.com>
10556
085b2d41
CD
10557 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10558 Use testrun.sh to run libm tests.
10559
7208a313
CD
10560 [BZ #15309]
10561 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10562
872c0acd
MM
105632013-04-06 Marko Myllynen <myllynen@redhat.com>
10564
10565 [BZ #15264]
10566 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10567
26510bdd
CD
105682013-04-06 Carlos O'Donell <carlos@redhat.com>
10569
10570 * Makefile.in (regen-ulps): New target.
10571 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10572 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10573 [ifneq (no,$(PERL)] (regen-ulps): New target.
10574 [ifeq (no,$(PERL)] (regen-ulps): New target.
10575 * math/libm-test.inc (ulps_file_name): Define.
10576 (output_dir): New variable.
10577 (options): Add "output-dir" option.
10578 (parse_opt): Handle 'o' case.
10579 (main): If output_dir is non-NULL use it as a prefix
10580 otherwise use "".
10581 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10582
a01f19c8
CD
105832013-04-06 Carlos O'Donell <carlos@redhat.com>
10584
10585 [BZ #10060, #10062]
10586 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10587 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10588 fail configure if __sync_val_compare_and_swap is not inlined.
10589 * sysdeps/i386/configure: Regenerate.
10590 * configure.in: Build for i686 when configured for i386.
10591 * configure: Regenerate.
10592 * README: Remove i386 reference.
10593
b7a329a5
CD
105942013-04-06 Carlos O'Donell <carlos@redhat.com>
10595
10596 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10597 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10598
bf0f50df
TS
105992013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10600
ee091edf
TS
10601 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10602 (lmsnanval): New variables.
10603 (F): Add conversion tests.
10604 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10605 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10606
a8b792d6
TS
10607 * stdio-common/tstdiomisc.c (F): Properly collect individual
10608 tests' results.
10609
a1cbf437
TS
10610 [BZ #14686, #15336]
10611 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10612 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10613 Instead, use input NaN values or generate a qNaN by arithmetic
10614 operation. Also fix bugs to comply with the standard.
10615 * math/libm-test.inc (remainder_test): Add more tests.
10616
8b43a0c9
TS
10617 [BZ #15335, #15342]
10618 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10619 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10620 input NaN values or generate a qNaN by arithmetic operation.
10621
d91da4ce
TS
10622 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10623 unreachable code.
10624
bf0f50df
TS
10625 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10626 definitions.
10627
05e166c8
JM
106282013-04-03 Joseph Myers <joseph@codesourcery.com>
10629
10630 [BZ #14478]
10631 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10632 underflowed result.
10633 * math/s_cexpf.c (__cexpf): Likewise.
10634 * math/s_cexpl.c (__cexpl): Likewise.
10635 * math/libm-test.inc (cexp_test): Add more tests.
10636
1cef1b19
AS
106372013-04-03 Andreas Schwab <schwab@suse.de>
10638
10639 [BZ #15330]
10640 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10641 order arrays from heap if bigger than alloca cutoff.
10642
74d87055
TS
106432013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10644
10645 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10646 (SNAN_TESTS_double): Refer to GCC PR56831.
10647 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10648 GCC PR56828.
10649
d755bba4
SP
106502013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10651
90d5d5bb
SP
10652 * Rules (bench): Move bench.out after the run is complete.
10653
73e0cd5d
SP
10654 * Rules (bench): Echo currently running benchmark.
10655
64aabd4b
SP
10656 * benchtests/Makefile (bench): Add atan and slowatan.
10657 * benchtests/atan-inputs: New file.
10658 * benchtests/slowatan-inputs: New file.
10659 * benchtests/slowatan.c: New file.
10660
c871eccd
SP
10661 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10662 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10663 its value.
10664
d755bba4
SP
10665 [BZ #15305]
10666 * sysdeps/unix/sysv/linux/kernel-features.h
10667 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10668 __ASSUME_XFS_RESTRICTED_CHOWN.
10669 * sysdeps/unix/sysv/linux/pathconf.c
10670 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10671 Save and restore errno.
10672
52ce4860
JM
106732013-04-02 Joseph Myers <joseph@codesourcery.com>
10674
10675 [BZ #15327]
10676 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10677 arguments using __kernel_casinh.
10678 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10679 arguments using __kernel_casinhf.
10680 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10681 arguments using __kernel_casinhl.
10682 * math/libm-test.inc (cacosh_test): Add more tests.
10683 * sysdeps/i386/fpu/libm-test-ulps: Update.
10684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10685
81f311c2
SP
106862013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10687
e7906a47
SP
10688 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10689 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10690
92e3664b
SP
10691 * bench/Makefile (bench): Add sin and slowsin.
10692 * benchtests/sin-inputs: New file.
10693 * benchtests/slowsin-inputs: New file.
10694 * benchtests/slowsin.c: New file.
10695
81f311c2
SP
10696 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10697 (bench): Add slowexp and slowpow.
10698 (exp-ITER): Increase iterations.
10699 (pow-ITER): Likewise.
10700 * benchtests/exp-inputs: Change input.
10701 * benchtests/pow-inputs: Likewise.
10702 * benchtests/slowexp-inputs: New file.
10703 * benchtests/slowexp.c: New file.
10704 * benchtests/slowpow-inputs: New file.
10705 * benchtests/slowpow.c: New file.
10706
ab0f1aa9
AZ
107072013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10708
10709 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10710 instructions.
10711 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10712 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10713 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10714 * benchtests/Makefile: Add rint benchtest.
10715 * benchtests/rint-inputs: Input for rint benchtest.
10716
57267616
TS
107172013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10718
10719 * Versions.def (libm): Add GLIBC_2.18.
10720 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10721 hidden libm prototypes.
10722 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10723 * math/Makefile (libm-calls): Add s_issignaling.
10724 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10725 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10726 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10727 declaration.
10728 * math/math.h [__USE_GNU] (issignaling): New macro.
10729 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10730 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10731 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10732 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10733 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10734 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10735 * manual/arith.texi (issignaling): New section.
10736 * manual/libm-err-tab.pl (@all_functions): Update comment.
10737 * math/gen-libm-test.pl (parse_args): Apply special handling for
10738 issignaling.
10739 * math/libm-test.inc (print_float, issignaling_test): New
10740 functions.
10741 (check_float_internal): Add issignaling checks.
10742 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10743 default definition.
10744 * sysdeps/powerpc/math-tests.h: New file.
10745 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10746 tests.
10747 * math/test-snan.c (TEST_FUNC): Likewise.
10748
6142896d
DM
107492013-03-30 David S. Miller <davem@davemloft.net>
10750
10751 * po/de.po: Update from translation team.
10752
ccc8cadf
JM
107532013-03-30 Joseph Myers <joseph@codesourcery.com>
10754
10755 [BZ #10357]
10756 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10757 imaginary part less than 1.0 and real part less than 0.5
10758 specially.
10759 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10760 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10761 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10762 (cacos_test): Add more tests.
10763 (casin_test): Likewise.
10764 (casinh_test): Likewise.
10765 * sysdeps/i386/fpu/libm-test-ulps: Update.
10766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10767
0f6a8d4b
SP
107682013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10769
0d1029de
SP
10770 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10771 ONE with its value.
10772
c2d94018
SP
10773 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10774 (__pow_mp): Replace ONE and MONE with their values.
10775 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10776 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10777 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10778 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10779 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10780 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10781
27ec37f1
SP
10782 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10783
a64d7e0e
SP
10784 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10785 (__pow_mp): Replace ZERO and MZERO with their values.
10786 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10787 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10788 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10789 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10790 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10791 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10792 (__sqr): Likewise.
10793
d26dd3eb
SP
10794 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10795
0f6a8d4b
SP
10796 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10797
e57b0c61
RM
107982013-03-28 Roland McGrath <roland@hack.frob.com>
10799
10800 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10801 Declare with __attribute__ ((weak)).
10802 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10803 Call __call_tls_dtors only if it's not NULL.
10804
356b3480
RM
108052013-03-28 Roland McGrath <roland@hack.frob.com>
10806
288f7d79
RM
10807 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10808 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10809 magic __ehdr_start linker symbol if it's defined.
10810 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10811 them up here if it was already done.
10812
dc0a0263
RM
10813 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10814 (_dl_aux_init): Use const in cast when setting it.
10815 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10816 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10817 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10818
3d3436ae
RM
10819 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10820 Declare them here.
10821 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10822 * csu/libc-tls.c: Nor here.
10823 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10824
356b3480
RM
10825 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10826 (__libc_message): Never call vsyslog.
10827
b0f1246a
AM
108282013-03-28 Alan Modra <amodra@gmail.com>
10829
10830 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10831 Define as empty.
10832 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10833 Likewise.
10834
fbbe2b9a
AZ
108352013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10836
10837 [BZ #15214]
10838 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10839 underflow.
10840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10841
1728ab37
SP
108422013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10843
7a86be6e
SP
10844 [BZ #15304]
10845 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10846 Don't add gid passed as argument.
10847
1728ab37
SP
10848 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10849
3a7182a1
JM
108502013-03-27 Joseph Myers <joseph@codesourcery.com>
10851
10852 [BZ #15307]
10853 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10854 imaginary part between 1.0 and 1.5 and real part less than 0.5
10855 specially.
10856 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10857 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10858 * math/libm-test.inc (cacos_test): Add more tests.
10859 (casin_test): Likewise.
10860 (casinh_test): Likewise.
10861 * sysdeps/i386/fpu/libm-test-ulps: Update.
10862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10863
6f2e90e7
SP
108642013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10865
5739f705
SP
10866 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10867 constants.
10868 (norm): Likewise.
10869 (denorm): Likewise.
10870 (__dbl_mp): Likewise.
10871 (add_magnitudes): Likewise.
10872 (sub_magnitudes): Likewise.
10873 (__add): Likewise.
10874 (__sub): Likewise.
10875 (__mul): Likewise.
10876 (__sqr): Likewise.
10877 (__inv): Likewise.
10878 (__dvd): Likewise.
10879
e375e83d
SP
10880 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10881 commented code.
10882 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10883 (__dubcos): Likewise.
10884 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10885 (__ieee754_acos): Likewise.
10886 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10887 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10888 (__exp1): Likewise.
10889 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10890 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10891 (log1): Likewise.
10892 (my_log2): Likewise.
10893 (checkint): Likewise.
10894 * sysdeps/ieee754/dbl-64/e_remainder.c
10895 (__ieee754_remainder): Likewise.
10896 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10897 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10898 (bsloww): Likewise.
10899 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10900
6f2e90e7
SP
10901 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10902 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10903 MANTISSA_STORE_T to store computations on mantissa. Use
10904 macros for rounding and division.
10905 (denorm): Likewise.
10906 (__dbl_mp): Likewise.
10907 (add_magnitudes): Likewise.
10908 (sub_magnitudes): Likewise.
10909 (__mul): Likewise.
10910 (__sqr): Likewise.
10911 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10912 powers of two in terms of TWOPOW macro.
10913 (mp_no): Make type of mantissa as MANTISSA_T.
10914 [!RADIXI]: Define RADIXI.
10915 [!TWO52]: Define TWO52.
10916 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10917
fce14d4e
AZ
109182013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10919
10920 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10921 llroundl symbol when building for PPC32.
10922
9ad027fb
MW
109232013-03-24 Mark H Weaver <mhw@netris.org>
10924
10925 * manual/arith.texi (Normalization Functions): Fix prototypes for
10926 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10927
e42a38dd
AZ
109282013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10929
10930 [BZ #13889]
10931 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10932 high value to check if expl overflow.
10933 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10934 to check for underflow and overflow.
10935 * math/libm-test.inc: Add exp test.
10936
2e0fb521
DL
109372013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10938
10939 [BZ #11120]
10940 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10941 with NOT_IN_libc.
10942
b5784d95
AZ
109432013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10944
10945 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10946 symbol.
10947
5aa4a1a1
TS
109482013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10949
bdef0be7
TS
10950 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10951 wrap blocks consisting of several statements.
10952
5aa4a1a1
TS
10953 * sysdeps/generic/math-tests.h: New file.
10954 * sysdeps/i386/fpu/math-tests.h: Likewise.
10955 * math/test-snan.c: Include it.
10956 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10957
98c48fe5
JM
109582013-03-21 Joseph Myers <joseph@codesourcery.com>
10959
10960 [BZ #15285]
10961 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10962 (__ieee754_j0l): Do not improve calculations using cos of twice
10963 input for inputs above LDBL_MAX / 2.0L.
10964 (__ieee754_y0l): Likewise.
10965 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10966 (__ieee754_j1l): Do not improve calculations using cos of twice
10967 input for inputs above LDBL_MAX / 2.0L.
10968 (__ieee754_y1l): Likewise.
10969 * math/libm-test.inc (j0_test): Add another test.
10970 (j1_test): Likewise.
10971 (y0_test): Likewise.
10972 (y1_test): Likewise.
10973 * sysdeps/i386/fpu/libm-test-ulps: Update.
10974
3775a8bc
SP
109752013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10976
10977 * Rules ($(objpfx)bench-%.c): Include code from a C source
10978 file.
10979
0a1b2ae6
JM
109802013-03-21 Joseph Myers <joseph@codesourcery.com>
10981
10982 [BZ #15287]
10983 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10984 imaginary part 1.0 and real part less than 0.5 specially.
10985 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10986 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10987 * math/libm-test.inc (cacos_test): Add more tests.
10988 (casin_test): Likewise.
10989 (casinh_test): Likewise.
10990 * sysdeps/i386/fpu/libm-test-ulps: Update.
10991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10992
b33d4ce4
SP
109932013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10994
10995 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10996 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10997
bef0b507
JM
109982013-03-20 Joseph Myers <joseph@codesourcery.com>
10999
11000 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11001 * config.make.in (config-cflags-sse4): Remove variable.
11002 (config-cflags-avx): Likewise.
11003 (config-cflags-sse2avx): Likewise.
11004 (config-cflags-novzeroupper): Likewise.
11005 (config-asflags-i686): Likewise.
11006 (have-mfma4): Likewise.
11007 (have-as-vis3): Likewise.
11008 (MIG): Likewise.
11009 * configure.in (MIG): Do not AC_SUBST.
11010 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11011 (libc_cv_cc_sse4): Do not AC_SUBST.
11012 (libc_cv_cc_avx): Likewise.
11013 (libc_cv_cc_sse2avx): Likewise.
11014 (libc_cv_cc_novzeroupper): Likewise.
11015 (libc_cv_cc_fma4): Likewise.
11016 (libc_cv_as_i686): Likewise.
11017 (libc_cv_sparc_as_vis3): Likewise.
11018 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11019 LIBC_CONFIG_VAR.
11020 (config-asflags-i686): Likewise.
11021 (config-cflags-avx): Likewise.
11022 (config-cflags-sse2avx): Likewise.
11023 (have-mfma4): Likewise.
11024 (config-cflags-novzeroupper): Likewise.
11025 * sysdeps/mach/configure.in (MIG): Likewise.
11026 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11027 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11028 LIBC_CONFIG_VAR.
11029 (config-cflags-avx): Likewise.
11030 (config-cflags-sse2avx): Likewise.
11031 (have-mfma4): Likewise.
11032 (config-cflags-novzeroupper): Likewise.
11033 * configure: Regenerated.
11034 * sysdeps/i386/configure: Likewise.
11035 * sysdeps/mach/configure: Likewise.
11036 * sysdeps/sparc/configure: Likewise.
11037 * sysdeps/x86_64/configure: Likewise.
11038
912cc4b3
RM
110392013-03-20 Roland McGrath <roland@hack.frob.com>
11040
11041 [BZ #14812]
11042 * locale/programs/localedef.c (options): Put N_ translation marker
11043 on argument names, not just descriptions.
11044
04eed2b0
MS
110452013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11046
11047 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11048
a065ceff
OB
110492013-03-20 Ondřej Bílka <neleai@seznam.cz>
11050
9bb2a810 11051 [BZ #14176]
a065ceff
OB
11052 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11053
a600e5ce
RM
110542013-03-19 Roland McGrath <roland@hack.frob.com>
11055
11056 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11057 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11058 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11059 [!BEFORE_ABORT] (before_abort): New function.
11060 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11061 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11062 (writev_for_fatal): New function.
11063 (WRITEV_FOR_FATAL): New macro; call that.
11064 (backtrace_and_maps): New function.
11065 (BEFORE_ABORT): New macro; call that.
11066 (struct str_list): Type removed.
11067 (__libc_message, __libc_fatal): Functions removed.
11068 Include <sysdeps/posix/libc_fatal.c> instead.
11069
6b18bea6
JM
110702013-03-19 Joseph Myers <joseph@codesourcery.com>
11071
11072 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11073 constants.
11074 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11075 double constants.
11076
aaa8cb4b
AS
110772013-03-19 Andreas Schwab <schwab@suse.de>
11078
44673770
AS
11079 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11080 * sysdeps/gnu/configure: Regenerate.
11081
aaa8cb4b
AS
11082 * configure.in: Substitute libc_cv_rtlddir.
11083 * configure: Regenerate.
11084 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11085 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11086 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11087 * elf/Makefile (install-others, CFLAGS-interp.c)
11088 (ldso_install, common-ldd-rewrite): Likewise.
11089 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11090 $(inst_slibdir)/$(rtld-installed-name).
11091 * scripts/rellns-sh: Add -p option.
11092 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11093 for source.
11094
d3cfc668
SP
110952013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11096
11097 * manual/nptl.texi: Renamed to ...
11098 * manual/threads.texi: ... this.
11099 * manual/Makefile (chapters): Update.
11100
0e2b9cdd
RM
111012013-03-18 Roland McGrath <roland@hack.frob.com>
11102
11103 [BZ #14812]
11104 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11105 on argument names, not just descriptions.
0e2b9cdd
RM
11106 * malloc/memusagestat.c (options): Likewise.
11107 * nss/getent.c (options): Likewise.
63270c24
RM
11108
111092013-03-18 Benno Schulenberg <bensberg@justemail.net>
11110
11111 [BZ #14812]
11112 * iconv/iconv_prog.c (options): Put N_ translation marker
11113 on argument names, not just descriptions.
11114 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 11115
b2e1393c
OB
111162013-03-18 Ondrej Bilka <neleai@seznam.cz>
11117
11118 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11119 implementation which is faster on all x86_64 architectures.
11120 Tested on AMD, Intel Nehalem, SNB, IVB.
11121 * sysdeps/x86_64/strnlen.S: Likewise.
11122
11123 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11124 Remove all multiarch strlen and strnlen versions.
11125 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11126 Remove strlen and strnlen related parts.
11127
11128 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11129 Inline strlen part.
11130 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11131
11132 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11133 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11134 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11135 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11136 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11137 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11138
ec4ff04d
CD
111392013-03-17 Carlos O'Donell <carlos@redhat.com>
11140
11141 * manual/memory.texi (Malloc Tunable Parameters):
11142 Sort parameters alphabetically. Add comments for missing entries.
11143
cd18e90a
DM
111442013-03-17 David S. Miller <davem@davemloft.net>
11145
11146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11147
2a185d32
JM
111482013-03-16 Joseph Myers <joseph@codesourcery.com>
11149
d2f9799e
JM
11150 [BZ #15283]
11151 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11152 for arguments at most half maximum finite value.
11153 * math/libm-test.inc (j0_test): Add more tests.
11154 (j1_test): Likewise.
11155 (y0_test): Likewise.
11156 (y1_test): Likewise.
11157 * sysdeps/i386/fpu/libm-test-ulps: Update.
11158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11159
2a185d32
JM
11160 [BZ #14155]
11161 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11162 1 / x and functions P and Q for arguments above 0x1p256L.
11163 (__ieee754_y0l): Likewise.
11164 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11165 (__ieee754_y1l): Likewise.
11166 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11167 (j1_test): Likewise.
11168 (y0_test): Likewise.
11169 (y1_test): Likewise.
11170
6cbec759
TS
111712013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11172
11173 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11174 variable.
11175
bc16e260
RM
111762013-03-15 Roland McGrath <roland@hack.frob.com>
11177
aefc9b8c
RM
11178 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11179 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11180 zero since it's initialized to EXEC_PAGESIZE.
11181
bc16e260
RM
11182 * sysdeps/unix/sysv/linux/ldsodefs.h
11183 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11184 * sysdeps/generic/ldsodefs.h: ... here.
11185
a57da955
TS
111862013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11187
af00a34d
TS
11188 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11189
495ded2c
TS
11190 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11191 math/test-snan.c.
11192 * math/test-snan.c: Renamed from
11193 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11194 * math/Makefile (tests): Add test-snan.
11195 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11196 test-powerpc-snan.
11197
777b0332
TS
11198 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11199 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11200 functions.
11201 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11202 __builtin_nan family of functions.
11203 * math/libm-test.inc (initialize): Initialize qnan_value with
11204 __builtin_nan family of functions.
11205 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11206 Remove variables.
11207 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11208 Remove functions.
11209 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11210 storage class. Initialize qNaN_var and sNaN_var with
11211 __builtin_nan and __builtin_nans families of functions,
11212 respectively.
11213
64d063b8
TS
11214 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11215 (sqrt_test): Remove duplicate test with qNaN input.
11216 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11217 (round_test, signbit_test, significand_test): Note missing +/-Inf
11218 as well as qNaN tests.
11219
67e971f1
TS
11220 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11221 qNaN_var. Fix a few strings, too.
11222 * math/libm-test.inc (nan_value): Rename to qnan_value.
11223 * math/gen-libm-test.pl (%beautify): Adjust to that.
11224 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11225 * math/test-misc.c (main): Likewise.
11226 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11227 to __qnan_bytes, and __qnan_union, respectively.
11228 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11229 Likewise.
11230 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11231 and lqnanval, respectively.
11232 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11233 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11234 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11235 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11236
64487e12
TS
11237 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11238 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11239 doubles.
11240
e015e27b
TS
11241 * math/test-misc.c (main): Fix copy'n'pastos.
11242 * misc/tst-efgcvt.c (special): Likewise.
11243
a57da955
TS
11244 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11245 Remove declarations.
11246
1e380345
SP
112472013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11248
11249 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11250 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11251 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11252 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11253
ef26eece
AZ
112542013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11255
11256 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11257 macro to return vdso values correctly in IFUNC implementations.
11258 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11259 Optimization by using IFUNC.
11260
8cfdb7e0
SP
112612013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11262 Richard Henderson <rth@redhat.com>
11263 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11264
11265 * Makefile.in (bench): New target.
11266 * NEWS: Mention the benchmark framework.
11267 * Rules (bench): Likewise.
11268 (binaries-bench): Generate binaries for functions to
11269 benchmark.
11270 * benchtests/Makefile: New makefile for benchmark tests.
11271 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11272 programs.
11273 * benchtests/exp-inputs: New input file for EXP function.
11274 * benchtests/pow-inputs: New input file for POW function.
11275 * scripts/bench.pl: New script to generate source files for
11276 benchmark programs.
11277
bcda9880
SP
112782013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11279
d22ca8cd
SP
11280 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11281 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11282 computations on mantissa. Use macros for rounding and
11283 division.
11284 (denorm): Likewise.
11285 (__dbl_mp): Likewise.
11286 (add_magnitudes): Likewise.
11287 (sub_magnitudes): Likewise.
11288 (__mul): Likewise.
11289 (__sqr): Likewise.
11290 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11291 powers of two in terms of TWOPOW macro.
11292 (mp_no): Make type of mantissa as MANTISSA_T.
11293 [!RADIXI]: Define RADIXI.
11294 [!TWO52]: Define TWO52.
11295 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11296
bcda9880
SP
11297 * manual/nptl.texi (cindex): Modify threads to pthreads.
11298
06d5adfb
JM
112992013-03-15 Joseph Myers <joseph@codesourcery.com>
11300
11301 * sysdeps/x86_64/preconfigure: Regenerated.
11302
41c7328e
JM
113032013-03-14 Joseph Myers <joseph@codesourcery.com>
11304
11305 [BZ #14155]
11306 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11307 0x1p28 and above.
11308 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11309 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11310 0x1p28 and above.
11311 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11312 * math/libm-test.inc (j0_test): Do not allow one spurious
11313 underflow exception.
11314 (y1_test): Likewise.
11315
e25cfa60
SP
113162013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11317
0409959c
SP
11318 * manual/Makefile (chapters): Add nptl.
11319 * manual/debug.texi (Debugging Support): Add link to Threads
11320 chapter.
11321 * manual/nptl.texi: New file.
11322
e25cfa60
SP
11323 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11324
58a1335e
PB
113252013-03-14 Petr Baudis <pasky@ucw.cz>
11326
11327 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11328 for non-NULL pointer before the memory validity test. Pointed
11329 out by Holger Brunck <holger.brunck@keymile.com>.
11330
9dc7c64f
AS
113312013-03-13 Andreas Schwab <schwab@suse.de>
11332
11333 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11334 instead of .os.
11335
54206aa6
JM
113362013-03-13 Joseph Myers <joseph@codesourcery.com>
11337
11338 * timezone/zic.c: Update from tzcode 2013b.
11339
e98cdb38
CD
113402013-03-12 Carlos O'Donell <carlos@redhat.com>
11341
11342 * manual/install.texi (Configuring and compiling):
11343 Mention i686 and i586.
11344 * INSTALL: Regenerate.
11345
9967e003
RM
113462013-03-12 Roland McGrath <roland@hack.frob.com>
11347
11348 * sysdeps/init_array/elf-init.c: New file.
11349 * csu/elf-init.c
11350 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11351 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11352
11353 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11354 __gmon_start__ as global, but as static with a .preinit_array pointer.
11355 * sysdeps/init_array/gmon-start.c: New file. Use that.
11356 * sysdeps/init_array/crti.S: New file, empty except for comments.
11357 * sysdeps/init_array/crtn.S: Likewise.
11358
e6b5a293 113592013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
11360
11361 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11362 definining bcopy.
80f844c9
OB
11363 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11364 Remove Prefer_SSE_for_memop.
11365 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11366 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11367 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
11368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11369 memset-x86-64.
80f844c9 11370 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 11371 Remove bzero, memset ifunc support.
80f844c9
OB
11372 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11373 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11374 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11375 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11376
fb6b0fcb
AS
113772013-03-11 Andreas Schwab <schwab@suse.de>
11378
11379 [BZ #15234]
11380 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11381 by SHLIB_COMPAT.
11382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11383 (GLIBC_2.16): Remove pthread_atfork.
11384
3e6bd4b1
PP
113852013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11386
11387 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11388 (ptestcases.h): Likewise.
11389
222d7f00
RM
113902013-03-08 Roland McGrath <roland@hack.frob.com>
11391
11392 * Makeconfig ($(common-objpfx)config.status): Depend on
11393 sysdeps/*/preconfigure{,.in} too.
11394
1ba4f030
JM
113952013-03-08 Joseph Myers <joseph@codesourcery.com>
11396
a222d91a
JM
11397 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11398 (__free_hook): Use void * instead of __malloc_ptr_t.
11399 (__malloc_hook): Likewise.
11400 (__realloc_hook): Likewise.
11401 (__memalign_hook): Likewise.
11402 (__after_morecore_hook): Likewise.
11403 * malloc/arena.c (save_malloc_hook): Likewise.
11404 (save_free_hook): Likewise.
11405 * malloc/hooks.c (malloc_hook_ini): Likewise.
11406 (realloc_hook_ini): Likewise.
11407 (memalign_hook_ini): Likewise.
11408 * malloc/malloc.c (malloc_hook_ini): Likewise.
11409 (realloc_hook_ini): Likewise.
11410 (memalign_hook_ini): Likewise.
11411 (__free_hook): Likewise.
11412 (__malloc_hook): Likewise.
11413 (__realloc_hook): Likewise.
11414 (__memalign_hook): Likewise.
11415 (__libc_malloc): Likewise.
11416 (__libc_free): Likewise.
11417 (__libc_realloc): Likewise.
11418 (__libc_memalign): Likewise.
11419 (__libc_valloc): Likewise.
11420 (__libc_pvalloc): Likewise.
11421 (__libc_calloc): Likewise.
11422 (__posix_memalign): Likewise.
11423 * malloc/morecore.c (__sbrk): Likewise.
11424 (__default_morecore): Likewise.
11425
5cc45e10
JM
11426 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11427
dd54b864
JM
11428 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11429 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11430 __malloc_ptrdiff_t.
11431
1ba4f030
JM
11432 * malloc/malloc.h (__malloc_size_t): Remove macro.
11433 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11434 __malloc_size_t.
11435 (old_memalign_hook): Likewise.
11436 (old_realloc_hook): Likewise.
11437 (struct hdr): Likewise.
11438 (flood): Likewise.
11439 (mallochook): Likewise.
11440 (memalignhook): Likewise.
11441 (reallochook): Likewise.
11442 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11443 (tr_old_realloc_hook): Likewise.
11444 (tr_old_memalign_hook): Likewise.
11445 (tr_mallochook): Likewise.
11446 (tr_reallochook): Likewise.
11447 (tr_memalignhook): Likewise.
11448
edf66e57
AZ
114492013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11450
11451 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11452 default_ldbl_pack and using as default implementation.
11453 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11454 implementation.
11455 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11456 redundant definition.
11457 (ldbl_insert_mantissa): Likewise.
11458 (ldbl_canonicalize): Likewise.
11459 (ldbl_nearbyint): Likewise.
11460 (ldbl_pack): Rename to ldbl_pack_ppc.
11461 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11462 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11463 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11464
6d9145d8
SP
114652013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11466
11467 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11468 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11469 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11470 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11472 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11473 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11474 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11475
4dd4e157
AJ
114762013-03-07 Andreas Jaeger <aj@suse.de>
11477
11478 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11479 bits/mman-linux.h.
11480
adbb8027
SP
114812013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11482
ce544b5b
SP
11483 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11484 Include mpa.h and declare __MPEXP.
11485 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11486 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11487 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11488 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11489 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11490 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11491 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11492
4cc149fd
SP
11493 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11494 (__slowpow): Use long double EXPL and LOGL functions to
11495 compute POW.
11496 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11497 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11498 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11499 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11500 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11501 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11502
e6ebd4a7
SP
11503 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11504 intermediate variable to calculate exponent.
11505 (__sqr): Likewise.
11506 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11507 Likewise.
11508 (__sqr): Likewise.
11509
82a9811d
SP
11510 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11511 [!NO__SQR]: Define __sqr.
11512 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11513 and NO__SQR. Remove all code except __mul and __sqr. Include
11514 sysdeps/ieee754/dbl-64/mpa.c.
11515 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11516
adbb8027
SP
11517 [BZ #12723]
11518 * posix/Makefile (tests): Add tst-pathconf.
11519 * posix/tst-pathconf.c: New test case.
11520 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11521 _PC_PIPE_BUF.
11522 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11523
39120df9
PF
115242013-03-06 Patsy Franklin <pfrankli@redhat.com>
11525
11526 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11527
67525cb8
AJ
115282013-03-06 Andreas Jaeger <aj@suse.de>
11529
664a9ce4
AJ
11530 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11531 definition via __MAP_ANONYMOUS.
11532
8e39047d
AJ
11533 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11534 it's not part of Linux headers.
11535
67525cb8
AJ
11536 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11537 (MAP_HUGE_MASK): Define.
11538
11539 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11540 Define.
11541 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11542 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11543 Define.
11544 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11545 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11546 Define.
11547 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11548 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11549 Define.
11550 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11551
11552 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11553 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11554 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11555 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11556 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11557 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11558
11559 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11560 Handle f2fs.
11561
11562 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11563 Handle f2fs and efivarfs.
11564
11565 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11566 f2fs.
11567
11568 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11569 (EFIVARFS_MAGIC): Add.
11570 (F2FS_LINK_MAX): Add.
11571
e1b42695
PP
115722013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11573
11574 * stdio-common/vfprintf.c: Replace __builtin_expect with
11575 __glibc_unlikely.
11576
2d67d91a
JM
115772013-03-06 Joseph Myers <joseph@codesourcery.com>
11578
11579 [BZ #13550]
11580 * sysdeps/generic/bp-sym.h: Remove file.
11581 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11582 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11583 <bp-sym.h> and <bp-asm.h>.
11584 (__longjmp): Don't use BP_SYM.
11585 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11586 and <bp-asm.h>.
11587 (memcpy): Don't use BP_SYM.
11588 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11589 <bp-sym.h> and <bp-asm.h>.
11590 (memcpy): Don't use BP_SYM.
11591 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11592 <bp-asm.h>.
11593 (memcpy): Don't use BP_SYM.
11594 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11595 <bp-asm.h>.
11596 (memset): Don't use BP_SYM.
11597 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11598 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11599 (__bzero): Don't use BP_SYM.
11600 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11601 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11602 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11603 <bp-sym.h> and <bp-asm.h>.
11604 (memcmp): Don't use BP_SYM. Remove comment about bounded
11605 pointers.
11606 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11607 <bp-sym.h> and <bp-asm.h>.
11608 (memcpy): Don't use BP_SYM.
11609 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11610 <bp-sym.h> and <bp-asm.h>.
11611 (memset): Don't use BP_SYM.
11612 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11613 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11614 (__bzero): Don't use BP_SYM.
11615 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11616 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11617 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11618 <bp-sym.h> and <bp-asm.h>.
11619 (strncmp): Don't use BP_SYM. Remove comment about bounded
11620 pointers.
11621 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11622 <bp-sym.h> and <bp-asm.h>.
11623 (memcpy): Don't use BP_SYM.
11624 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11625 <bp-sym.h> and <bp-asm.h>.
11626 (memset): Don't use BP_SYM.
11627 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11628 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11629 (__bzero): Don't use BP_SYM.
11630 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11631 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11632 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11633 <bp-sym.h> and <bp-asm.h>.
11634 (__memchr): Don't use BP_SYM.
11635 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11636 <bp-sym.h> and <bp-asm.h>.
11637 (memcmp): Don't use BP_SYM. Remove comment about bounded
11638 pointers.
11639 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11640 <bp-sym.h> and <bp-asm.h>.
11641 (memcpy): Don't use BP_SYM.
11642 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11643 <bp-sym.h> and <bp-asm.h>.
11644 (__mempcpy): Don't use BP_SYM.
11645 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11646 <bp-sym.h> and <bp-asm.h>.
11647 (__memrchr): Don't use BP_SYM.
11648 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11649 <bp-sym.h> and <bp-asm.h>.
11650 (memset): Don't use BP_SYM.
11651 (__bzero): Likewise.
11652 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11653 <bp-sym.h> and <bp-asm.h>.
11654 (__rawmemchr): Don't use BP_SYM.
11655 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11656 <bp-sym.h> and <bp-asm.h>.
11657 (__STRCMP): Don't use BP_SYM.
11658 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11659 <bp-sym.h> and <bp-asm.h>.
11660 (strchr): Don't use BP_SYM.
11661 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11662 <bp-sym.h> and <bp-asm.h>.
11663 (__strchrnul): Don't use BP_SYM.
11664 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11665 <bp-sym.h> and <bp-asm.h>.
11666 (strlen): Don't use BP_SYM.
11667 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11668 <bp-sym.h> and <bp-asm.h>.
11669 (strncmp): Don't use BP_SYM. Remove comment about bounded
11670 pointers.
11671 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11672 <bp-sym.h> and <bp-asm.h>.
11673 (__strnlen): Don't use BP_SYM.
11674 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11675 <bp-sym.h> and <bp-asm.h>.
11676 (__GI__setjmp): Don't use BP_SYM.
11677 (_setjmp): Likewise.
11678 (__sigsetjmp): Likewise.
11679 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11680 (L(start_addresses)): Don't use BP_SYM.
11681 (_start): Likewise.
11682 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11683 <bp-asm.h>.
11684 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11685 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11686 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11687 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11688 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11689 <bp-asm.h>.
11690 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11691 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11692 about bounded pointers.
11693 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11694 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11695 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11696 <bp-asm.h>.
11697 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11698 about bounded pointers. Remove GKM FIXME comments.
11699 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11700 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11701 <bp-asm.h>.
11702 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11703 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11704 Remove GKM FIXME comments.
11705 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11706 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11707 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11708 <bp-asm.h>.
11709 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11710 about bounded pointers. Remove GKM FIXME comment.
11711 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11712 and <bp-asm.h>.
11713 (strncmp): Don't use BP_SYM. Remove comment about bounded
11714 pointers.
11715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11716 <bp-sym.h> and <bp-asm.h>.
11717 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11719 <bp-sym.h> and <bp-asm.h>.
11720 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11721 comment.
11722
cdcf361f
PP
117232013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11724
11725 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11726 call free(NULL).
11727
3c4a2b15
DM
117282013-03-05 David S. Miller <davem@davemloft.net>
11729
11730 * po/es.po: Update from translation team.
11731
cdcf361f 117322013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
11733
11734 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11735 <bits/mman-linux.h>.
11736 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11737 is fine.
11738 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11739 <bits/mman-linux.h> to end of file.
11740 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11741 is fine.
11742 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11743 <bits/mman-linux.h> to end of file.
11744 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11745 is fine.
11746 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11747 <bits/mman-linux.h> to end of file.
11748
11749 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11750 (MCL_CURRENT, MCL_FUTURE): Define here.
11751
5f67c04f
AK
117522013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11753
8a4473cc 11754 [BZ #15232]
5f67c04f
AK
11755 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11756 attribute_hidden.
11757 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11758
c3e94a95
AK
117592013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11760
11761 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11762 fourth parameter needed for rt_sigprocmask syscall.
11763 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11764 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11765 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11766 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11767 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11768 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11769
cfb6382a
JM
117702013-03-04 Joseph Myers <joseph@codesourcery.com>
11771
11772 [BZ #13550]
11773 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11774 comment about bounded pointers.
11775 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11776 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11777
539d8e01
AJ
117782013-03-04 Andreas Jaeger <aj@suse.de>
11779
11780 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11781 common definitions.
11782
11783 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11784 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11785 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11786 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11787 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
11788 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11789
2e167a70 117902013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
11791
11792 [BZ #15055]
11793 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11794 __ieee754_sqrl instead of __sqrl.
11795
68508633
JM
117962013-03-01 Joseph Myers <joseph@codesourcery.com>
11797
11798 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11799 * sysdeps/powerpc/fpu_control.h: ... here.
11800 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11801 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11802 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11803 * sysdeps/powerpc/bits/mathinline.h: ... here.
11804
7775448e
RM
118052013-03-01 Roland McGrath <roland@hack.frob.com>
11806
11807 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11808 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11809 to just [NEED_DL_SYSINFO_DSO].
11810 * elf/dl-support.c: Likewise.
11811 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11812 * elf/rtld.c (dl_main): Likewise.
11813 * elf/setup-vdso.h (setup_vdso): Likewise.
11814 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11815 * sysdeps/unix/sysv/linux/dl-sysdep.c
11816 (_dl_discover_osversion): Likewise.
11817
4e9b5995
CD
118182013-03-01 Carlos O'Donell <carlos@redhat.com>
11819
11820 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11821 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11822
e23872c8
SP
118232013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11824
e5c74c63
SP
11825 * NEWS: Mention libm performance improvements and non-x86 PI
11826 futex support.
11827
e23872c8
SP
11828 * csu/libc-start.c (__pthread_initialize_minimal): Change
11829 function arguments.
11830 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11831
b5510883
JM
118322013-02-28 Joseph Myers <joseph@codesourcery.com>
11833
11834 [BZ #13550]
11835 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11836 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11837 <bp-sym.h> and <bp-asm.h>.
11838 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11839 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11840 and <bp-asm.h>.
11841 (memcpy): Don't use BP_SYM.
11842 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11843 <bp-asm.h>.
11844 (__mpn_add_n): Don't use BP_SYM.
11845 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11846 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11847 and <bp-asm.h>.
11848 (__mpn_addmul_1): Don't use BP_SYM.
11849 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11850 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11851 <bp-sym.h>.
11852 (_setjmp): Don't use BP_SYM.
11853 (__novmx_setjmp): Likewise.
11854 (__GI__setjmp): Likewise.
11855 (__vmx_setjmp): Likewise.
11856 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11857 <bp-sym.h>.
11858 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11859 (__bzero): Don't use BP_SYM.
11860 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11861 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11862 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11863 <bp-sym.h> and <bp-asm.h>.
11864 (memcpy): Don't use BP_SYM.
11865 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11866 <bp-sym.h> and <bp-asm.h>.
11867 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11868 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11869 <bp-sym.h> and <bp-asm.h>.
11870 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11871 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11872 <bp-asm.h>.
11873 (__mpn_lshift): Don't use BP_SYM.
11874 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11875 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11876 <bp-asm.h>.
11877 (memset): Don't use BP_SYM.
11878 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11879 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11880 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11881 <bp-asm.h>.
11882 (__mpn_mul_1): Don't use BP_SYM.
11883 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11884 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11885 <bp-sym.h> and <bp-asm.h>.
11886 (memcmp): Don't use BP_SYM.
11887 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11888 <bp-sym.h> and <bp-asm.h>.
11889 (memcpy): Don't use BP_SYM.
11890 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11891 <bp-sym.h> and <bp-asm.h>.
11892 (memset): Don't use BP_SYM.
11893 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11894 <bp-sym.h> and <bp-asm.h>.
11895 (strncmp): Don't use BP_SYM.
11896 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11897 <bp-sym.h> and <bp-asm.h>.
11898 (memcpy): Don't use BP_SYM.
11899 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11900 <bp-sym.h> and <bp-asm.h>.
11901 (memset): Don't use BP_SYM.
11902 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11903 <bp-sym.h> and <bp-asm.h>.
11904 (__memchr): Don't use BP_SYM.
11905 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11906 <bp-sym.h> and <bp-asm.h>.
11907 (memcmp): Don't use BP_SYM.
11908 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11909 <bp-sym.h> and <bp-asm.h>.
11910 (memcpy): Don't use BP_SYM.
11911 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11912 <bp-sym.h> and <bp-asm.h>.
11913 (__mempcpy): Don't use BP_SYM.
11914 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11915 <bp-sym.h> and <bp-asm.h>.
11916 (__memrchr): Don't use BP_SYM.
11917 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11918 <bp-sym.h> and <bp-asm.h>.
11919 (memset): Don't use BP_SYM.
11920 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11921 <bp-sym.h> and <bp-asm.h>.
11922 (__rawmemchr): Don't use BP_SYM.
11923 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11924 <bp-sym.h> and <bp-asm.h>.
11925 (__STRCMP): Don't use BP_SYM.
11926 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11927 <bp-sym.h> and <bp-asm.h>.
11928 (strchr): Don't use BP_SYM.
11929 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11930 <bp-sym.h> and <bp-asm.h>.
11931 (__strchrnul): Don't use BP_SYM.
11932 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11933 <bp-sym.h> and <bp-asm.h>.
11934 (strlen): Don't use BP_SYM.
11935 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11936 <bp-sym.h> and <bp-asm.h>.
11937 (strncmp): Don't use BP_SYM.
11938 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11939 <bp-sym.h> and <bp-asm.h>.
11940 (__strnlen): Don't use BP_SYM.
11941 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11942 <bp-asm.h>.
11943 (__mpn_rshift): Don't use BP_SYM.
11944 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11945 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11946 <bp-sym.h> and <bp-asm.h>.
11947 (__sigsetjmp): Don't use BP_SYM.
11948 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11949 (L(start_addresses)): Don't use BP_SYM.
11950 (_start): Likewise.
11951 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11952 <bp-asm.h>.
11953 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11954 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11955 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11956 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11957 <bp-asm.h>.
11958 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11959 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11960 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11961 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11962 <bp-asm.h>.
11963 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11964 comments.
11965 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11966 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11967 <bp-asm.h>.
11968 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11969 FIXME comments.
11970 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11971 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11972 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11973 <bp-asm.h>.
11974 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11975 comment.
11976 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11977 and <bp-asm.h>.
11978 (strncmp): Don't use BP_SYM,
11979 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11980 <bp-asm.h>.
11981 (__mpn_sub_n): Don't use BP_SYM.
11982 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11983 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11984 and <bp-asm.h>.
11985 (__mpn_submul_1): Don't use BP_SYM.
11986 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11988 <bp-sym.h> and <bp-asm.h>.
11989 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11991 <bp-sym.h> and <bp-asm.h>.
11992 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11993 comment.
11994
8d19fe64
SP
119952013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11996
11997 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11998 Use ZK to minimize writes to Z.
11999 (sub_magnitudes): Simplify code a bit.
12000 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12001 Use ZK to minimize writes to Z.
12002 (sub_magnitudes): Simplify code a bit.
12003
85bd816a
RM
120042013-02-27 Roland McGrath <roland@hack.frob.com>
12005
12006 * csu/gmon-start.c: Add special exception to license text.
12007
b5977bf2
RH
120082013-02-27 Richard Henderson <rth@redhat.com>
12009
12010 * scripts/config.guess: Update from config.git.
12011 * scripts/config.sub: Likewise.
12012
11d6e2f2
SP
120132013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12014
09c14ed2
SP
12015 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12016
a688864e
SP
12017 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12018
6295157a
SP
12019 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12020
b8de2202
SP
12021 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12022
11d6e2f2
SP
12023 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12024
7e80ddb8
RM
120252013-02-26 Roland McGrath <roland@hack.frob.com>
12026
12027 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12028 [$(build-shared = yes].
7e80ddb8 12029
7da6d9ed
SP
120302013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12031
45f05884
SP
12032 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12033 (__mul): Reduce iterations for calculating mantissa.
12034
2236d359
SP
12035 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12036 MPTWO.
12037 (__mpranred): Likewise.
12038
7da6d9ed
SP
12039 [BZ #15160]
12040 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12041 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12042
b7688c42
PE
120432013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12044
12045 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12046 Define __attribute__.
12047
53a5c423
SP
120482013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12049
12050 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12051 unused.
12052 * posix/regex_internal.h (__attribute): Remove.
12053 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12054 (re_string_context_at): Likewise.
12055 (bitset_not): Use __attribute__ and mark function as possibly
12056 unused.
12057 (bitset_merge): Likewise.
12058 (bitset_mask): Likewise.
12059 (re_string_char_size_at): Likewise.
12060 (re_string_wchar_at): Likewise.
12061 (re_string_elem_size_at): Likewise.
12062
60f5a8b5
SP
120632013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12064
2a983a2e
SP
12065 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12066 code.
12067 (cc32): Likewise.
12068
e69804d1
SP
12069 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12070 (__acr): Likewise.
12071 (__cpy): Likewise.
12072 (norm): Likewise.
12073 (denorm): Likewise.
12074 (__dbl_mp): Likewise.
12075 (add_magnitudes): Likewise.
12076 (sub_magnitudes): Likewise.
12077 (__mul): Likewise.
12078 (__inv): Likewise.
12079
2f22a1e8
SP
12080 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12081 style.
12082
8930ddc7
SP
12083 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12084 style.
12085
dc60cb11
SP
12086 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12087 code.
12088
60f5a8b5
SP
12089 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12090 up changes with default code.
12091 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12092 Likewise.
12093
b4d1fd33
AM
120942013-02-24 Allan McRae <allan@archlinux.org>
12095
faf6f8bc
AM
12096 * manual/socket.texi (The Internet Namespace): Order menu items
12097 to match that in the file.
12098
b4d1fd33
AM
12099 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12100 node listing of the info page menu.
12101
2366713d
JM
121022013-02-21 Joseph Myers <joseph@codesourcery.com>
12103
12104 [BZ #13550]
12105 * sysdeps/i386/bp-asm.h: Remove file.
12106 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12107 (PARMS): Do not use macros from bp-asm.h.
12108 (S1): Likewise.
12109 (S2): Likewise.
12110 (SIZE): Likewise.
12111 (__mpn_add_n): Do not use BP_SYM
12112 * sysdeps/i386/addmul_1.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 (SIZE): Likewise.
12117 (__mpn_addmul_1): Do not use BP_SYM
12118 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12119 "bp-asm.h".
12120 (PARMS): Do not use macros from bp-asm.h.
12121 (SIGMSK): Likewise.
12122 (_setjmp): Likewise. Do not use BP_SYM.
12123 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12124 "bp-asm.h".
12125 (PARMS): Do not use macros from bp-asm.h.
12126 (SIGMSK): Likewise.
12127 (setjmp): Likewise. Do not use BP_SYM.
12128 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12129 "bp-asm.h".
12130 (PARMS): Do not use macros from bp-asm.h.
12131 (__frexp): Do not use BP_SYM.
12132 (frexp): Likewise.
12133 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12134 "bp-asm.h".
12135 (PARMS): Do not use macros from bp-asm.h.
12136 (__frexpf): Do not use BP_SYM.
12137 (frexpf): Likewise.
12138 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12139 "bp-asm.h".
12140 (PARMS): Do not use macros from bp-asm.h.
12141 (__frexpl): Do not use BP_SYM.
12142 (frexpl): Likewise.
12143 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12144 "bp-asm.h".
12145 (PARMS): Do not use macros from bp-asm.h.
12146 (__remquo): Do not use BP_SYM.
12147 (remquo): Likewise.
12148 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12149 "bp-asm.h".
12150 (PARMS): Do not use macros from bp-asm.h.
12151 (__remquof): Do not use BP_SYM.
12152 (remquof): Likewise.
12153 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12154 "bp-asm.h".
12155 (PARMS): Do not use macros from bp-asm.h.
12156 (__remquol): Do not use BP_SYM.
12157 (remquol): Likewise.
12158 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12159 "bp-asm.h".
12160 (PARMS): Do not use macros from bp-asm.h.
12161 (DEST): Likewise.
12162 (SRC): Likewise.
12163 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12164 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12165 "bp-asm.h".
12166 (PARMS): Do not use macros from bp-asm.h.
12167 (strlen): Do not use BP_SYM.
12168 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12169 "bp-asm.h".
12170 (PARMS): Do not use macros from bp-asm.h.
12171 (S1): Likewise.
12172 (S2): Likewise.
12173 (SIZE): Likewise.
12174 (__mpn_add_n): Do not use BP_SYM.
12175 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12176 "bp-asm.h".
12177 (PARMS): Do not use macros from bp-asm.h.
12178 (S1): Likewise.
12179 (SIZE): Likewise.
12180 (__mpn_addmul_1): Do not use BP_SYM.
12181 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12182 weak_alias.
12183 (bzero): Likewise.
12184 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12185 "bp-asm.h".
12186 (PARMS): Do not use macros from bp-asm.h.
12187 (S): Likewise.
12188 (SIZE): Likewise.
12189 (__mpn_lshift): Do not use BP_SYM.
12190 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12191 "bp-asm.h".
12192 (PARMS): Do not use macros from bp-asm.h.
12193 (DEST): Likewise.
12194 (SRC): Likewise.
12195 (LEN): Likewise.
12196 (memcpy): Likewise. Do not use BP_SYM.
12197 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12198 libc_hidden_def and weak_alias.
12199 (mempcpy): Do not use BP_SYM in weak_alias.
12200 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12201 "bp-asm.h".
12202 (PARMS): Do not use macros from bp-asm.h.
12203 (DEST): Likewise.
12204 (LEN): Likewise.
12205 [!BZERO_P] (CHR): Likewise.
12206 (memset): Likewise. Do not use BP_SYM.
12207 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12208 "bp-asm.h".
12209 (PARMS): Do not use macros from bp-asm.h.
12210 (S1): Likewise.
12211 (SIZE): Likewise.
12212 (__mpn_mul_1): Do not use BP_SYM.
12213 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12214 "bp-asm.h".
12215 (PARMS): Do not use macros from bp-asm.h.
12216 (S): Likewise.
12217 (SIZE): Likewise.
12218 (__mpn_rshift): Do not use BP_SYM.
12219 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12220 "bp-asm.h".
12221 (PARMS): Do not use macros from bp-asm.h.
12222 (STR): Likewise.
12223 (CHR): Likewise.
12224 (strchr): Likewise. Do not use BP_SYM.
12225 (index): Do not use BP_SYM in weak_alias.
12226 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12227 "bp-asm.h".
12228 (PARMS): Do not use macros from bp-asm.h.
12229 (DEST): Likewise.
12230 (SRC): Likewise.
12231 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12232 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12233 "bp-asm.h".
12234 (PARMS): Do not use macros from bp-asm.h.
12235 (strlen): Do not use BP_SYM.
12236 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12237 "bp-asm.h".
12238 (PARMS): Do not use macros from bp-asm.h.
12239 (S1): Likewise.
12240 (S2): Likewise.
12241 (SIZE): Likewise.
12242 (__mpn_sub_n): Do not use BP_SYM.
12243 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12244 "bp-asm.h".
12245 (PARMS): Do not use macros from bp-asm.h.
12246 (S1): Likewise.
12247 (SIZE): Likewise.
12248 (__mpn_submul_1): Do not use BP_SYM.
12249 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12250 "bp-asm.h".
12251 (PARMS): Do not use macros from bp-asm.h.
12252 (S1): Likewise.
12253 (S2): Likewise.
12254 (SIZE): Likewise.
12255 (__mpn_add_n): Do not use BP_SYM.
12256 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12257 weak_alias.
12258 (bzero): Likewise.
12259 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12260 "bp-asm.h".
12261 (PARMS): Do not use macros from bp-asm.h.
12262 (BLK2): Likewise.
12263 (LEN): Likewise.
12264 (memcmp): Do not use BP_SYM.
12265 (bcmp): Do not use BP_SYM in weak_alias.
12266 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12267 "bp-asm.h".
12268 (PARMS): Do not use macros from bp-asm.h.
12269 (DEST): Likewise.
12270 (SRC): Likewise.
12271 (LEN): Likewise.
12272 (memcpy): Likewise. Do not use BP_SYM.
12273 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12274 "bp-asm.h".
12275 (PARMS): Do not use macros from bp-asm.h.
12276 (DEST): Likewise.
12277 (SRC): Likewise.
12278 (LEN): Likewise.
12279 (memmove): Likewise. Do not use BP_SYM.
12280 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12281 "bp-asm.h".
12282 (PARMS): Do not use macros from bp-asm.h.
12283 (DEST): Likewise.
12284 (SRC): Likewise.
12285 (LEN): Likewise.
12286 (__mempcpy): Likewise. Do not use BP_SYM.
12287 (mempcpy): Do not use BP_SYM in weak_alias.
12288 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12289 "bp-asm.h".
12290 (PARMS): Do not use macros from bp-asm.h.
12291 (DEST): Likewise.
12292 (LEN): Likewise.
12293 [!BZERO_P] (CHR): Likewise.
12294 (memset): Likewise. Do not use BP_SYM.
12295 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12296 "bp-asm.h".
12297 (PARMS): Do not use macros from bp-asm.h.
12298 (STR2): Likewise.
12299 (strcmp): Do not use BP_SYM.
12300 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12301 "bp-asm.h".
12302 (PARMS): Do not use macros from bp-asm.h.
12303 (STR): Likewise.
12304 (DELIM): Likewise.
12305 [USE_AS_STRTOK_R] (SAVE): Likewise.
12306 (FUNCTION): Likewise. Do not use BP_SYM.
12307 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12308 aliases.
12309 (strtok_r): Likewise.
12310 (__GI___strtok_r): Likewise.
12311 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12312 (PARMS): Do not use macros from bp-asm.h.
12313 (S): Likewise.
12314 (SIZE): Likewise.
12315 (__mpn_lshift): Do not use BP_SYM.
12316 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12317 (PARMS): Do not use macros from bp-asm.h.
12318 (STR): Likewise.
12319 (CHR): Likewise.
12320 (__memchr): Do not use BP_SYM.
12321 (memchr): Do not use BP_SYM in weak_alias.
12322 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12323 (PARMS): Do not use macros from bp-asm.h.
12324 (BLK2): Likewise.
12325 (LEN): Likewise.
12326 (memcmp): Do not use BP_SYM.
12327 (bcmp): Do not use BP_SYM in weak_alias.
12328 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12329 (PARMS): Do not use macros from bp-asm.h.
12330 (S1): Likewise.
12331 (SIZE): Likewise.
12332 (__mpn_mul_1): Do not use BP_SYM.
12333 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12334 "bp-asm.h".
12335 (PARMS): Do not use macros from bp-asm.h.
12336 (STR): Likewise.
12337 (CHR): Likewise.
12338 (__rawmemchr): Do not use BP_SYM.
12339 (rawmemchr): Do not use BP_SYM in weak_alias.
12340 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12341 (PARMS): Do not use macros from bp-asm.h.
12342 (S): Likewise.
12343 (SIZE): Likewise.
12344 (__mpn_rshift): Do not use BP_SYM.
12345 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12346 (PARMS): Do not use macros from bp-asm.h.
12347 (SIGMSK): Likewise.
12348 (__sigsetjmp): Likewise. Do not use BP_SYM.
12349 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12350 (_start): Do not use BP_SYM.
12351 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12352 (PARMS): Do not use macros from bp-asm.h.
12353 (DEST): Likewise.
12354 (SRC): Likewise.
12355 (__stpcpy): Likewise. Do not use BP_SYM.
12356 (stpcpy): Do not use BP_SYM in weak_alias.
12357 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12358 "bp-asm.h".
12359 (PARMS): Do not use macros from bp-asm.h.
12360 (DEST): Likewise.
12361 (SRC): Likewise.
12362 (LEN): Likewise.
12363 (__stpncpy): Likewise. Do not use BP_SYM.
12364 (stpncpy): Do not use BP_SYM in weak_alias.
12365 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12366 (PARMS): Do not use macros from bp-asm.h.
12367 (STR): Likewise.
12368 (CHR): Likewise.
12369 (strchr): Likewise. Do not use BP_SYM.
12370 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12371 "bp-asm.h".
12372 (PARMS): Do not use macros from bp-asm.h.
12373 (STR): Likewise.
12374 (CHR): Likewise.
12375 (__strchrnul): Likewise. Do not use BP_SYM.
12376 (strchrnul): Do not use BP_SYM in weak_alias.
12377 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12378 "bp-asm.h".
12379 (PARMS): Do not use macros from bp-asm.h.
12380 (STOP): Likewise.
12381 (strcspn): Do not use BP_SYM.
12382 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12383 "bp-asm.h".
12384 (PARMS): Do not use macros from bp-asm.h.
12385 (STR): Likewise.
12386 (STOP): Likewise.
12387 (strpbrk): Likewise. Do not use BP_SYM.
12388 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12389 "bp-asm.h".
12390 (PARMS): Do not use macros from bp-asm.h.
12391 (STR): Likewise.
12392 (CHR): Likewise.
12393 (strrchr): Likewise. Do not use BP_SYM.
12394 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12395 (PARMS): Do not use macros from bp-asm.h.
12396 (SKIP): Likewise.
12397 (strspn): Do not use BP_SYM.
12398 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12399 (PARMS): Do not use macros from bp-asm.h.
12400 (STR): Likewise.
12401 (DELIM): Likewise.
12402 (SAVE): Likewise.
12403 (FUNCTION): Likewise. Do not use BP_SYM.
12404 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12405 aliases.
12406 (strtok_r): Likewise.
12407 (__GI___strtok_r): Likewise.
12408 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12409 (PARMS): Do not use macros from bp-asm.h.
12410 (S1): Likewise.
12411 (S2): Likewise.
12412 (SIZE): Likewise.
12413 (__mpn_sub_n): Do not use BP_SYM.
12414 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12415 "bp-asm.h".
12416 (PARMS): Do not use macros from bp-asm.h.
12417 (S1): Likewise.
12418 (SIZE): Likewise.
12419 (__mpn_submul_1): Do not use BP_SYM.
12420 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12421 <bp-sym.h>.
12422 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12423 and <bp-asm.h>.
12424 (PARMS): Do not use macros from bp-asm.h.
12425 (FLAGS): Likewise.
12426 (PTID): Likewise.
12427 (TLS): Likewise.
12428 (CTID): Likewise.
12429 (__clone): Do not use BP_SYM.
12430 (clone): Do not use BP_SYM in weak_alias.
12431 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12432 and <bp-asm.h>.
12433 (PARMS): Do not use macros from bp-asm.h.
12434 (LEN): Likewise.
12435 (__mmap64): Do not use BP_SYM.
12436 (mmap64): Do not use BP_SYM in weak_alias.
12437 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12438 <bp-sym.h> and <bp-asm.h>.
12439 (PARMS): Do not use macros from bp-asm.h.
12440 (__posix_fadvise64_l64): Do not use BP_SYM.
12441 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12442 (PARMS): Do not use macros from bp-asm.h.
12443 (NSOPS): Likewise.
12444 (semtimedop): Do not use BP_SYM.
12445 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12446 and <bp-asm.h>.
12447
582a3cff
AM
124482013-02-21 Allan McRae <allan@archlinux.org>
12449
12450 * manual/message.texi (Charset conversion in gettext):
12451 Move @end statement to beginning of line.
12452
bab8a695
SP
124532013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12454
80945231
SP
12455 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12456 static.
12457 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12458 Likewise.
12459
bab8a695
SP
12460 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12461 (denorm): Likewise.
12462 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12463 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12464
e21d7aa7
AK
124652013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12466
12467 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12468 tail-call to the resolved function if pltexit isn't needed.
12469
4c7a4263
SP
124702013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12471
12472 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12473 or Y being zero as being unlikely.
12474 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12475 Likewise.
12476
41f49342
CD
124772013-02-20 Carlos O'Donell <carlos@redhat.com>
12478
12479 * manual/nss.texi (System Databases and Name Service Switch):
12480 Remove frobnicate @pxref.
12481
50022a93
TS
124822013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12483
12484 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12485 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12486
08cbd996
PM
124872013-02-20 Petr Machata <pmachata@redhat.com>
12488
12489 * elf/elf.h (R_ARM_TARGET1): New macro.
12490 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12491 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12492 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12493 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12494 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12495 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12496 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12497 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12498 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12499 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12500 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12501 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12502 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12503 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12504 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12505 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12506 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12507 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12508 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12509 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12510 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12511 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12512 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12513 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12514 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12515 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12516 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12517 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12518 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12519 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12520 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12521 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12522 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12523 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12524 (R_ARM_THM_GOT_BREL12): Likewise.
12525 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12526 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12527 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12528 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12529 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12530 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12531 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12532 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12533 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12534
c7b275d6
TS
125352013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12536
12537 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12538 __attribute_used__ to __attribute__ ((unused)).
12539
20cd7fb3
SP
125402013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12541
12542 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12543 powerpc mpa.c.
12544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12545 comment formatting.
12546 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12547
92945b52
JM
125482013-02-19 Joseph Myers <joseph@codesourcery.com>
12549
12550 [BZ #13550]
12551 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12552 Remove macro.
12553 (ENTER): Remove both macro definitions.
12554 (LEAVE): Likewise.
12555 (CHECK_BOUNDS_LOW): Likewise.
12556 (CHECK_BOUNDS_HIGH): Likewise.
12557 (CHECK_BOUNDS_BOTH): Likewise.
12558 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12559 (RETURN_BOUNDED_POINTER): Likewise.
12560 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12561 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12562 (POP_ERRNO_LOCATION_RETURN): Likewise.
12563 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12564 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12565 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12566 macros.
12567 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12568 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12569 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12570 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12571 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12572 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12573 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12574 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12575 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12576 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12577 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12578 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12579 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12580 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12581 removed macros.
12582 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12583 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12584 macros.
12585 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12586 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12587 * sysdeps/i386/i586/memset.S (memset): Likewise.
12588 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12589 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12590 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12591 macros.
12592 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12593 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12594 Change uses of L(2) to L(out).
12595 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12596 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12597 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12598 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12599 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12600 removed macros.
12601 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12602 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12603 macros.
12604 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12605 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12606 (RETURN): Do not use macro LEAVE.
12607 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12608 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12609 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12610 * sysdeps/i386/i686/memset.S (memset): Likewise.
12611 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12612 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12613 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12614 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12615 Likewise.
12616 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12617 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12618 L(1_2) and L(1_3) into L(1).
12619 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12620 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12621 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12622 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12623 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12624 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12625 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12626 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12627 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12628 macros.
12629 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12630 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12631 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12632 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12633 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12634 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12635 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12636 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12637 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12638 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12639 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12640 * sysdeps/i386/strspn.S (strspn): Likewise.
12641 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12642 conditional code.
12643 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12644 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12645 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12646 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12647 L(1_3) into L(1_1).
12648 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12649 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12650 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12651 macros.
12652 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12653
2389741a
JJ
126542013-02-19 Jakub Jelinek <jakub@redhat.com>
12655
12656 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12657 macro.
12658
2016b3cd
SP
126592013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12660
e4f22324
SP
12661 * math/atest-exp.c (exp_mpn): Remove ROUND.
12662 * math/atest-exp2.c (exp_mpn): Likewise.
12663 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12664
2016b3cd
SP
12665 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12666 * stdlib/tst-tls-atexit-lib.c: Likewise.
12667 * stdlib/tst-tls-atexit.c: Likewise.
12668
4be9b544
MF
126692013-02-18 Mike Frysinger <vapier@gentoo.org>
12670
12671 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12672 and __attribute_alloc_size__.
12673
2f62b9ee
MF
126742013-02-18 Mike Frysinger <vapier@gentoo.org>
12675
12676 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12677 __attribute_alloc_size__.
12678 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12679 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12680
6ff444c4
MF
126812013-02-18 Mike Frysinger <vapier@gentoo.org>
12682
12683 * include/programs/xmalloc.h: New file.
12684 * catgets/gencat.c: Include it.
12685 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12686 * elf/pldd.c: Likewise.
12687 * iconv/iconv_charmap.c: Likewise.
12688 * iconv/iconvconfig.c: Likewise.
12689 * iconv/strtab.c: Likewise.
12690 * locale/programs/locale.c: Likewise.
12691 * locale/programs/localedef.h: Likewise.
12692 * locale/programs/simple-hash.c: Likewise.
12693 * nscd/nscd.h: Likewise.
12694 * nss/makedb.c: Likewise.
12695 * sysdeps/generic/ldconfig.h: Likewise.
12696
be179c8a
SP
126972013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12698
ba384f6e
SP
12699 * Versions.def: Add GLIBC_2.18.
12700 * include/link.h (struct link_map): New member l_tls_dtor_count.
12701 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12702 (__call_tls_dtors): Likewise.
12703 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12704 __cxa_thread_atexit_impl.
12705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12706 Likewise.
12707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12708 Likewise.
12709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12710 Likewise.
12711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12712 Likewise.
12713 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12715 Likewise.
12716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12717 Likewise.
12718 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12720 Likewise.
12721 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12722 (tests): Add test case tst-tls-atexit.
12723 (modules-names): Add shared library for tst-tls-atexit.
85891aca 12724 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
12725 (GLIBC_PRIVATE): Add __call_tls_dtors.
12726 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12727 for libstdc++.
12728 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12729 * stdlib/tst-tls-atexit.c: New test case.
12730 * stdlib/tst-tls-atexit-lib.c: New test case.
12731
ffaa74cf 12732 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 12733
be179c8a
SP
12734 * elf/Versions (ld): Add _dl_find_dso_for_object.
12735 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12736 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12737 (dl_open_worker): Use _dl_find_dso_for_object.
12738 * elf/dl-sym.c (do_sym): Likewise.
12739 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12740
f78b5caa
AK
127412013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12742
12743 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12744 Syntactic changes only.
12745 (_dl_runtime_profile): Do a tail-call to the resolved function.
12746
29691210
JM
127472013-02-17 Joseph Myers <joseph@codesourcery.com>
12748
12749 [BZ #13550]
12750 * sysdeps/x86_64/bp-asm.h: Remove file.
12751 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12752 <bp-sym.h> and <bp-asm.h>.
12753 (__clone): Do not use BP_SYM.
12754 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12755 <bp-sym.h> and <bp-asm.h>.
12756 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12757 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12758 "bp-asm.h".
12759 (_setjmp): Do not use BP_SYM.
12760 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12761 "bp-asm.h".
12762 (setjmp): Do not use BP_SYM.
12763 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12764 libc_hidden_def.
12765 (mempcpy): Do not use BP_SYM in weak_alias.
12766 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12767 "bp-asm.h".
12768 (strchr): Do not use BP_SYM.
12769 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12770 "bp-asm.h".
12771 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12772 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12773 (_start): Do not use BP_SYM.
12774 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12775 "bp-asm.h".
12776 (strcat): Do not use BP_SYM.
12777 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12778 "bp-asm.h".
12779 (STRCMP): Do not use BP_SYM.
12780 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12781 "bp-asm.h".
12782 (STRCPY): Do not use BP_SYM.
12783 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12784 "bp-asm.h".
12785 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12786 "bp-asm.h".
12787 (FUNCTION): Do not use BP_SYM.
12788 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12789 weak_alias.
12790 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12791
f238fd19
AJ
127922013-02-17 Andreas Jaeger <aj@suse.de>
12793
12794 * time/Versions: Sort entries.
12795 * string/Versions: Likewise.
12796 * resolv/Versions: Likewise.
12797 * posix/Versions: Likewise.
12798 * iconv/Versions: Likewise.
12799 * elf/Versions: Likewise.
12800 * wcsmbs/Versions: Likewise.
12801
bd07f23c 128022013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 12803
22af19f9
SP
12804 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12805 loop termination condition.
12806
4709fe76
SP
12807 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12808 variable to calculate EZ.
12809 (__sqr): Likewise.
2d0e0f29
SP
12810
12811 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12812 the lower precision input.
12813
daaa7713
JM
128142013-02-15 Joseph Myers <joseph@codesourcery.com>
12815
12816 [BZ #13550]
12817 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12818 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12819 (run-via-rtld-prefix): Do not handle %-bp tests.
12820 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12821 (all-object-suffixes): Remove .ob.
12822 (bppfx): Remove variable.
12823 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12824 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12825 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12826 [$(build-bounded) = yes] (libtype.ob): Likewise.
12827 * Makerules (elide-routines.ob): Remove variable.
12828 (do-tests-clean): Do not handle *-bp.out.
12829 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12830 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12831 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12832 (tests): Do not include $(tests-bp.out).
12833 (xtests): Do not include $(xtests-bp.out).
12834 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12835 [$(build-bounded) = yes] ($(addprefix
12836 $(objpfx),$(binaries-bounded))): Remove rule.
12837 ($(objpfx)%-bp.out): Remove rule.
12838 * config.make.in (build-bounded): Remove variable.
12839 * crypt/Makefile [$(build-bounded) = yes]
12840 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12841 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12842 append to variable.
12843 [$(build-bounded) = yes] (install-lib): Likewise.
12844 [$(build-bounded) = yes] (generated): Likewise.
12845 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12846 Remove rule.
12847 * intl/Makefile [$(build-bounded) = yes]
12848 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12849 * math/Makefile [$(build-bounded) = yes]
12850 ($(tests:%=$(objpfx)%-bp): Likewise.
12851 * misc/Makefile [$(build-bounded) = yes]
12852 ($(objpfx)tst-tsearch-bp): Likewise.
12853 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12854 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12855 Remove dependency.
12856 * string/Makefile (o-objects.ob): Remove variable.
12857 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12858 (CFLAGS-.ob): Remove variable.
12859 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12860 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12861 both definitions of variable.
12862 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12863 (ASFLAGS-.ob): Remove variable.
12864
e97ed6dd
JM
128652013-02-14 Joseph Myers <joseph@codesourcery.com>
12866
2bdd4ca6
JM
12867 [BZ #13550]
12868 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12869 Remove __BOUNDED_POINTERS__ from condition.
12870 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12871 * string/bits/string2.h [!__NO_STRING_INLINES &&
12872 !__BOUNDED_POINTERS__]: Likewise.
12873 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12874 Likewise.
12875 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12876 Remove conditional code.
12877 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12878 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12879 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12880 condition.
12881
e97ed6dd
JM
12882 [BZ #13550]
12883 * csu/libc-start.c: Do not include <bp-sym.h>.
12884 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12885 * elf/dl-open.c: Do not include <bp-sym.h>.
12886 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12887 * math/fegetenv.c: Do not include <bp-sym.h>.
12888 (fegetenv): Do not use BP_SYM in versioned symbols.
12889 * nptl/sysdeps/pthread/bits/libc-lockP.h
12890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12891 <bp-sym.h>.
12892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12893 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12895 (__pthread_mutex_destroy): Likewise.
12896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12897 (__pthread_mutex_lock): Likewise.
12898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12899 (__pthread_mutex_trylock): Likewise.
12900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12901 (__pthread_mutex_unlock): Likewise.
12902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12903 (__pthread_mutexattr_init): Likewise.
12904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12905 (__pthread_mutexattr_destroy): Likewise.
12906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12907 (__pthread_mutexattr_settype): Likewise.
12908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12909 (__pthread_rwlock_init): Likewise.
12910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12911 (__pthread_rwlock_destroy): Likewise.
12912 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12913 (__pthread_rwlock_rdlock): Likewise.
12914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12915 (__pthread_rwlock_tryrdlock): Likewise.
12916 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12917 (__pthread_rwlock_wrlock): Likewise.
12918 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12919 (__pthread_rwlock_trywrlock): Likewise.
12920 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12921 (__pthread_rwlock_unlock): Likewise.
12922 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12923 (__pthread_key_create): Likewise.
12924 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12925 (__pthread_setspecific): Likewise.
12926 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12927 (__pthread_getspecific): Likewise.
12928 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12929 Likewise.
12930 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12931 (_pthread_cleanup_push_defer): Likewise.
12932 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12933 (_pthread_cleanup_pop_restore): Likewise.
12934 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12935 (pthread_setcancelstate): Likewise.
12936 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12937 <bp-sym.h>.
12938 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12939 (memchr): Do not use BP_SYM in weak_alias.
12940 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12941 (fegetenv): Do not use BP_SYM in versioned symbols.
12942 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12943 (fesetenv): Do not use BP_SYM in versioned symbols.
12944 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12945 (feupdateenv): Do not use BP_SYM in versioned symbols.
12946 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12947 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12948 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12949 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12950 (open64): Do not use BP_SYM in weak_alias.
12951 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12952 (fegetenv): Do not use BP_SYM in versioned symbols.
12953 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12954 (fesetenv): Do not use BP_SYM in versioned symbols.
12955 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12956 (feupdateenv): Do not use BP_SYM in versioned symbols.
12957 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12958 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12959 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12960 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12961 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12962 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12963 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12964 <bp-sym.h>.
12965 (__libc_start_main): Do not use BP_SYM.
12966
d6752ccd
SP
129672013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12968
cb57ce60
SP
12969 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12970 redundant return line.
12971 (norm): Likewise.
12972 (denorm): Likewise.
12973 (dbl_mp): Likewise.
12974 (sub_magnitudes): Likewise.
12975 (__add): Likewise.
12976 (__sub): Likewise.
12977 (__mul): Likewise.
12978 (__inv): Likewise.
12979 (__dvd): Likewise.
12980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12981 (norm): Likewise.
12982 (denorm): Likewise.
12983 (dbl_mp): Likewise.
12984 (sub_magnitudes): Likewise.
12985 (__add): Likewise.
12986 (__sub): Likewise.
12987 (__mul): Likewise.
12988 (__inv): Likewise.
12989 (__dvd): Likewise.
12990
f414520d
SP
12991 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12992 instead of __mul.
12993 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12994 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12995 (cc32): Likewise.
12996
d6752ccd
SP
12997 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12998 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12999 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13000 of __mul for squares.
13001 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13002 function
13003 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13004 Likewise.
13005 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13006 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13007
70d9946a
JM
130082013-02-13 Joseph Myers <joseph@codesourcery.com>
13009
13010 [BZ #13550]
13011 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13012 code.
13013 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13014 prototype or function definition. Rename ubp_* variables and
13015 parameters. Remove argv definitions conditional on
13016 [__BOUNDED_POINTERS__].
13017 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13018 * elf/dl-runtime.c (_dl_fixup): Likewise.
13019 * include/set-hooks.h (RUN_HOOK): Likewise.
13020 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13021 definition.
13022 * string/strcpy.c (strcpy): Do not use __unbounded.
13023 * sysdeps/generic/frame.h (struct layout): Likewise.
13024 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13025 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13026 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13027 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13028 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13029 (__backtrace): Likewise.
13030 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13031 use __ptrvalue.
13032 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13033 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13034 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13035 Likewise.
13036 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13037 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13038 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13039 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13040 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13041 Do not use __unbounded.
13042 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13043 Rename __unboundedrlimits parameter to rlimits in prototype.
13044 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13045 Do not use __unbounded.
13046 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13047 not use __ptrvalue.
13048 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13049 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13050 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13051 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13052 __ptrvalue or __unbounded.
13053 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13054 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13055 use __unbounded.
13056 (__new_msgctl): Do not use __ptrvalue.
13057 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13058 __unbounded.
13059 (__libc_msgrcv): Do not use __ptrvalue.
13060 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13061 startup_info): Do not use __unbounded.
13062 (__libc_start_main): Likewise. Rename ubp_* variables and
13063 parameters. Remove argv definitions conditional on
13064 [__BOUNDED_POINTERS__].
13065 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13066 __ptrvalue.
13067 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13068 use __unbounded.
13069 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13070 or __ptrvalue.
13071 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13072 use __unbounded.
13073 (__new_shmctl): Do not use __ptrvalue.
13074 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13075 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13076 Likewise.
13077 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13078 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13079 (__libc_sigaction): Likewise.
13080 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13081 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13082 Likewise.
13083 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13084
cc7834d6
OB
130852013-02-13 Ondřej Bílka <neleai@seznam.cz>
13086
ffb1ec7b 13087 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
13088
13089 * string/mempcpy.c: Implement by calling memcpy.
13090
bdf02814
SP
130912013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13092
c2af38aa
SP
13093 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13094
4e92d59e
SP
13095 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13096 evaluation.
13097
909279a5
SP
13098 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13099 values in the mantissa.
13100
bdf02814
SP
13101 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13102 minimize writes to Z.
13103 (sub_magnitudes): Simplify code a bit.
13104
cd525923
RM
131052013-02-12 Roland McGrath <roland@hack.frob.com>
13106
13107 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13108 from the message. The linker prefixes all warnings with that already.
13109
7e2f0d2d
AS
131102013-02-12 Andreas Schwab <schwab@suse.de>
13111
a445af0b
AS
13112 [BZ #15078]
13113 * posix/regexec.c (extend_buffers): Add parameter min_len.
13114 (check_matching): Pass minimum needed length.
13115 (clean_state_log_if_needed): Likewise.
13116 (get_subexp): Likewise.
13117 * posix/Makefile (tests): Add bug-regex34.
13118 (bug-regex34-ENV): Define.
13119 * posix/bug-regex34.c: New file.
13120
7e2f0d2d
AS
13121 [BZ #11561]
13122 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13123 elements compare against the byte sequence of it, not its name.
13124 * posix/Makefile (tests): Add bug-regex35.
13125 (bug-regex35-ENV): Define.
13126 * posix/bug-regex35.c: New file.
13127
a175b684
TV
131282013-02-11 Tom de Vries <tom@codesourcery.com>
13129
13130 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13131 comment.
13132 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13133 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13134 (CHECK_EOL): Add undef.
13135
310998fe 131362013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
13137
13138 * bits/stdlib-bsearch.h: New file.
13139 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 13140 * stdlib/stdlib.h: Likewise.
41eda41d 13141
8ded91fb
RM
131422013-02-11 Roland McGrath <roland@hack.frob.com>
13143
13144 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13145 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13146 declaration.
13147 * manual/search.texi (Array Search Function): Add missing const in
13148 lfind prototype.
13149 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13150 declaration to use rlim_t.
13151 (Basic Scheduling Functions): Remove erroneous const from
13152 sched_getparam prototype. Remove erroneous * from
13153 sched_get_priority_max and sched_get_priority_min prototypes.
13154 (Resource Usage): Fix summary @comment on vtimes to refer to
13155 sys/vtimes.h rather than vtimes.h.
13156 Add missing *s in vtimes prototype.
13157 (Limits on Resources): Fix ulimit prototype to return long int.
13158 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13159 prototypes to use long int rather than double.
13160 (BSD Random): Fix initstate and setstate to use char *, not void *.
13161 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13162 prototype to make second argument 'struct aiocb64 *const[]'.
13163 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13164 (Status of AIO Operations): Remove erroneous const in aio_return and
13165 aio_return64 prototypes.
13166 (Synchronizing I/O): Fix sync prototype to return void.
13167 * manual/startup.texi (Suboptions): Remove an erroneous const in
13168 getsubopt prototype.
13169 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13170 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13171 use size_t rather than int.
13172 (Scanning All Users): Likewise for getpwent_r.
13173 (Setting Groups): Add missing const to setgroups prototype.
13174 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13175 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13176 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13177 'const void *' rather than 'const char *'.
13178 (Host Address Functions): Likewise for inet_ntop.
13179 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13180 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13181 ssize_t for return value.
13182 (Sending Data): Likewise for send, sendto, sendmsg.
13183 (Socket Option Functions): Add a missing const in setsockopt prototype.
13184 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13185 use wchar_t for the argument.
13186 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13187 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13188 take no arguments.
13189 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13190 double/float/long double for second argument.
13191 Fix return types of significand, significandf, significandl.
13192 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13193 argument in fchmod prototype.
13194 (File Owner): Use uid_t and gid_t in fchown prototype.
13195 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13196 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13197 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13198 use 'const struct dirent **' as argument types to CMP function pointer
13199 argument.
13200 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13201 (File Times): Fix summary magic @comment for struct utimbuf and utime
13202 to refer to utime.h, not time.h.
13203 * manual/string.texi (Argz Functions): Add missing const in
13204 argz_extract and argz_next prototypes.
13205 (Finding Tokens in a String): Likewise for basename.
13206 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13207 (Copying and Concatenation): Fix typo in wmemmove prototype.
13208 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13209 (Signal Stack): Remove erroneous const in sigstack prototype.
13210 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13211 prototype.
13212 (Simple Calendar Time): Likewise for stime.
13213 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13214 prototype.
13215 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13216 say sys/sysctl.h instead.
13217 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13218 and vsyslog prototypes.
13219
fe77fe6d
TV
132202013-02-11 Tom de Vries <tom@codesourcery.com>
13221
13222 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13223 Remove.
13224
3a09b620
RM
132252013-02-11 Roland McGrath <roland@hack.frob.com>
13226
13227 * misc/sys/mman.h: Fix typo in mremap comment.
13228
550a0b89
RM
132292013-02-08 Roland McGrath <roland@hack.frob.com>
13230
13231 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13232 the '\0' terminator.
13233
a2da1673
JM
132342013-02-08 Joseph Myers <joseph@codesourcery.com>
13235
13236 [BZ #13550]
13237 * debug/segfault.c: Don't include <bp-checks.h>.
13238 * sysdeps/generic/bp-checks.h: Remove file.
13239 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13240 (__GETDENTS): Don't use CHECK_N.
13241 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13242 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13243 (__getgroups): Don't use CHECK_N.
13244 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13245 (setgroups): Don't use CHECK_N.
13246 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13247 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13248 (__libc_msgrcv): Don't use CHECK_N.
13249 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13250 (__libc_msgsnd): Don't use CHECK_N.
13251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13252 <bp-checks.h>.
13253 (__libc_pread): Don't use CHECK_N.
13254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13255 include <bp-checks.h>.
13256 (__libc_pread64): Don't use CHECK_N.
13257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13258 include <bp-checks.h>.
13259 (__libc_pwrite): Don't use CHECK_N.
13260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13261 include <bp-checks.h>.
13262 (__libc_pwrite64): Don't use CHECK_N.
13263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13264 <bp-checks.h>.
13265 (__libc_pread): Don't use CHECK_N.
13266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13267 include <bp-checks.h>.
13268 (__libc_pread64): Don't use CHECK_N.
13269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13270 include <bp-checks.h>.
13271 (__libc_pwrite): Don't use CHECK_N.
13272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13273 include <bp-checks.h>.
13274 (__libc_pwrite64): Don't use CHECK_N.
13275 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13276 (do_pread): Don't use CHECK_N.
13277 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13278 (do_pread64): Don't use CHECK_N.
13279 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13280 (do_pwrite): Don't use CHECK_N.
13281 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13282 (do_pwrite64): Don't use CHECK_N.
13283 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13284 (__libc_readv): Don't use CHECK_N.
13285 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13286 (semop): Don't use CHECK_N.
13287 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13288 <bp-checks.h>.
13289 (semtimedop): Don't use CHECK_N.
13290 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13291 (__libc_pread): Don't use CHECK_N.
13292 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13293 <bp-checks.h>.
13294 (__libc_pread64): Don't use CHECK_N.
13295 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13296 <bp-checks.h>.
13297 (__libc_pwrite): Don't use CHECK_N.
13298 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13299 <bp-checks.h>.
13300 (__libc_pwrite64): Don't use CHECK_N.
13301 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13302 <bp-checks.h>.
13303 (__libc_msgrcv): Don't use CHECK_N.
13304 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13305 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13306 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13307 (__libc_writev): Don't use CHECK_N.
13308
b84660a8
RM
133092013-02-08 Roland McGrath <roland@hack.frob.com>
13310
7f3e75f8
RM
13311 * string/strcpy.c: Removed unused variable.
13312
b84660a8
RM
13313 * Makeconfig (+sysdep-includes): Define with := rather than =.
13314 Use an existing include/ subdir of each sysdeps dir before it.
13315
471514d3
CD
133162013-02-08 Carlos O'Donell <carlos@redhat.com>
13317
13318 * nscd/connection.c (register_traced_file): Comment function.
13319 [HAVE_INOTIFY] (union __inev): Define.
13320 [HAVE_INOTIFY] (inotify_check_files): New function.
13321 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13322 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13323 clear_db_cache.
13324 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13325
b2d3c3be
CD
133262013-02-08 Carlos O'Donell <carlos@redhat.com>
13327
13328 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13329 loaded if not already and that a failure is permanent.
13330
b39949d2
CD
133312013-02-08 Carlos O'Donell <carlos@redhat.com>
13332
ddacd1db 13333 [BZ #15006]
b39949d2
CD
13334 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13335 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13336
b2c9eff4
JM
133372013-02-08 Joseph Myers <joseph@codesourcery.com>
13338
f3aae3f3
JM
13339 [BZ #13550]
13340 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13341 (CHECK_1_NULL_OK): Likewise.
13342 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13343 (__fxstat): Do not use CHECK_1.
13344 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13345 <bp-checks.h>.
13346 (___fxstat64): Do not use CHECK_1.
13347 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13348 <bp-checks.h>.
13349 (__fxstatat): Do not use CHECK_1.
13350 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13351 <bp-checks.h>.
13352 (__fxstatat64): Do not use CHECK_1.
13353 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13354 <bp-checks.h>.
13355 (__fxstat): Do not use CHECK_1.
13356 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13357 <bp-checks.h>.
13358 (__fxstatat): Do not use CHECK_1.
13359 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13360 <bp-checks.h>.
13361 (__getresgid): Do not use CHECK_1.
13362 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13363 <bp-checks.h>.
13364 (__getresuid): Do not use CHECK_1.
13365 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13366 <bp-checks.h>.
13367 (__lxstat): Do not use CHECK_1.
13368 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13369 <bp-checks.h>.
13370 (__old_msgctl): Do not use CHECK_1.
13371 (__new_msgctl): Likewise.
13372 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13373 <bp-checks.h>.
13374 (__new_setrlimit): Do not use CHECK_1.
13375 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13376 <bp-checks.h>.
13377 (__old_shmctl): Do not use CHECK_1.
13378 (__new_shmctl): Likewise.
13379 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13380 <bp-checks.h>.
13381 (__xstat): Do not use CHECK_1.
13382 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13383 (__lxstat): Do not use CHECK_1.
13384 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13385 <bp-checks.h>.
13386 (___lxstat64): Do not use CHECK_1.
13387 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13388 (__old_msgctl): Do not use CHECK_1.
13389 (__new_msgctl): Likewise.
13390 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13391 <bp-checks.h>.
13392 (__gettimeofday): Do not use CHECK_1.
13393 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13394 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13395 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13396 <bp-checks.h>.
13397 (__gettimeofday): Do not use CHECK_1.
13398 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13399 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13400 (__new_shmctl): Do not use CHECK_1.
13401 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13402 <bp-checks.h>.
13403 (do_sigtimedwait): Do not use CHECK_1.
13404 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13405 <bp-checks.h>.
13406 (do_sigwaitinfo): Do not use CHECK_1.
13407 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13408 <bp-checks.h>.
13409 (msgctl): Do not use CHECK_1.
13410 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13411 <bp-checks.h>.
13412 (shmctl): Do not use CHECK_1.
13413 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13414 (ustat): Do not use CHECK_1.
13415 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13416 <bp-checks.h>.
13417 (__fxstat): Do not use CHECK_1.
13418 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13419 <bp-checks.h>.
13420 (__fxstatat): Do not use CHECK_1.
13421 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13422 <bp-checks.h>.
13423 (__lxstat): Do not use CHECK_1.
13424 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13425 <bp-checks.h>.
13426 (__xstat): Do not use CHECK_1.
13427 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13428 (__xstat): Do not use CHECK_1.
13429 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13430 (___xstat64): Do not use CHECK_1.
13431
b2c9eff4
JM
13432 [BZ #13550]
13433 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13434 definitions.
13435 (CHECK_BOUNDS_HIGH): Likewise.
13436 * string/strcpy.c: Do not include <bp-checks.h>.
13437 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13438
f1d70dad
RM
134392013-02-07 Roland McGrath <roland@hack.frob.com>
13440
13441 * nscd/nscd-client.h (__nscd_drop_map_ref):
13442 Add __attribute__ ((unused)).
13443 * nis/nss-nisplus.h (niserr2nss): Likewise.
13444
13445 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13446 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13447
13448 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13449 Remove inline keyword.
13450 * include/rounding-mode.h (round_away): Likewise.
13451 * libio/wfileops.c (adjust_wide_data): Likewise.
13452 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13453 (__m128i_strloadu_tolower): Likewise.
13454 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13455 (__m128i_strloadu_tolower): Likewise.
13456 * time/mktime.c (ydhms_diff): Likewise.
13457 * locale/elem-hash.h (elem_hash): Likewise.
13458 * locale/setlocale.c (setdata): Likewise.
13459 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13460 (re_string_wchar_at): Likewise.
13461 (bitset_not, bitset_merge, bitset_mask): Likewise.
13462 [!(__GNUC__ > 3)] (inline): Remove macro.
13463 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13464 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13465 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13466 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13467 * string/memcmp.c (memcmp_bytes): Likewise.
13468 * locale/programs/locarchive.c (compute_hashval): Likewise.
13469 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13470 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13471 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13472 * nss/getent.c (print_rpc, print_protocols): Likewise.
13473 (print_passwd, print_group, print_aliases): Likewise.
13474 * nis/nss-nisplus.h (niserr2nss): Likewise.
13475 * nscd/connections.c (restart_p): Likewise.
13476 Change return type to bool.
13477
eab55bfb
RM
134782013-02-05 Roland McGrath <roland@hack.frob.com>
13479
7bd642f5
RM
13480 * Makeconfig (all-Depend-files): Add existing
13481 $(sorted-subdirs:=/Depend) files.
13482 (all-subdirs): Remove nss.
13483 * sysdeps/unix/inet/Subdirs: Add it here instead.
13484 * hesiod/Depend: New file.
13485
573c29b2
RM
13486 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13487 instead of calling alloca.
13488
b2e25af0
RM
13489 * io/lseek.c (__lseek): Rename to __libc_lseek.
13490 Define __lseek as an alias.
13491
eab55bfb
RM
13492 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13493
9a0d1941
CD
134942013-02-04 Carlos O'Donell <carlos@redhat.com>
13495
13496 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13497 else clause and remove check for non-standard endianness.
13498
b83bbec4
DM
134992013-02-04 David S. Miller <davem@davemloft.net>
13500
13501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13502
6277fdab
JM
135032013-02-04 Joseph Myers <joseph@codesourcery.com>
13504
13505 [BZ #13550]
13506 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13507 (__ubp_memchr): Remove prototype.
13508 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13509 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13510 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13511 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13512 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13513 Remove alias.
13514 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13515 (__ubp_memchr): Likewise.
13516 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13517 (__ubp_memchr): Likewise.
13518 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13519 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13520 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13521 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13522 CHECK_STRING.
13523 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13524 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13525 (__getcwd): Do not use CHECK_STRING.
13526 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13527 <bp-checks.h>.
13528 (__real_chown): Do not use CHECK_STRING.
13529 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13530 <bp-checks.h>.
13531 (fchownat): Do not use CHECK_STRING.
13532 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13533 CHECK_STRING.
13534 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13535 <bp-checks.h>.
13536 (__lchown): Do not use CHECK_STRING.
13537 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13538 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13539 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13540 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13542 include <bp-checks.h>.
13543 (truncate64): Do not use CHECK_STRING.
13544 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13545 <bp-checks.h>.
13546 (__real_chown): Do not use CHECK_STRING.
13547 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13548 <bp-checks.h>.
13549 (__lchown): Do not use CHECK_STRING.
13550 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13551 <bp-checks.h>.
13552 (__chown): Do not use CHECK_STRING.
13553 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13554 <bp-checks.h>.
13555 (truncate64): Do not use CHECK_STRING.
13556 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13557 Likewise.
13558 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13559 (__xmknod): Do not use CHECK_STRING.
13560 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13561 <bp-checks.h>.
13562 (__xmknodat): Do not use CHECK_STRING.
13563 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13564 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13565
903ae060
AS
135662013-02-04 Andreas Schwab <schwab@suse.de>
13567
13568 [BZ #14142]
13569 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13570 * include/netdb.h: Likewise for h_errno.
13571 * elf/tst-stackguard1.c: Include <tls.h>.
13572
542f9466
JK
135732013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13574
13575 * elf/link.h (struct link_map): Extend the l_addr comment.
13576 * include/link.h (struct link_map): Likewise.
13577
e782a927
JM
135782013-02-01 Joseph Myers <joseph@codesourcery.com>
13579
13580 [BZ #13550]
13581 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13582 (BOUNDED_1): Remove macro.
13583 * debug/backtrace.c: Don't include <bp-checks.h>.
13584 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13585 (__backtrace): Likewise.
13586 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13587 <bp-checks.h>.
13588 (__backtrace): Don't use BOUNDED_1.
13589 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13590 <bp-checks.h>.
13591 (__backtrace): Don't use BOUNDED_1.
13592 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13593 (__backtrace): Don't use BOUNDED_1.
13594 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13595 (shmat): Don't use BOUNDED_N.
13596
8cf28c5e
JM
135972013-01-31 Joseph Myers <joseph@codesourcery.com>
13598
3a7ac8a0
JM
13599 [BZ #13550]
13600 * sysdeps/generic/bp-start.h: Remove file.
13601 * csu/libc-start.c: Don't include <bp-start.h>.
13602 (LIBC_START_MAIN): Set up __environ directly instead of using
13603 INIT_ARGV_and_ENVIRON.
13604 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13605 <bp-start.h>.
13606
f3499f95
JM
13607 [BZ #13550]
13608 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13609 definitions.
13610 (CHECK_FCNTL): Likewise.
13611 (CHECK_N_PAGES): Likewise.
13612
32a45bea
JM
13613 [BZ #13550]
13614 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13615 definitions.
13616 (CHECK_SIGSET_NULL_OK): Likewise.
13617 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13618 <bp-checks.h>.
13619 (sigpending): Don't use CHECK_SIGSET.
13620 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13621 <bp-checks.h>.
13622 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13623 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13624 <bp-checks.h>.
13625 (do_sigsuspend): Don't use CHECK_SIGSET.
13626 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13627 use CHECK_SIGSET.
13628 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13629 (do_sigwait): Don't use CHECK_SIGSET.
13630 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13631 use CHECK_SIGSET.
13632 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13633 include <bp-checks.h>.
13634 (sigpending): Don't use CHECK_SIGSET.
13635 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13636 include <bp-checks.h>.
13637 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13638 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13639 <bp-checks.h>.
13640 (sigpending): Don't use CHECK_SIGSET.
13641 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13642 <bp-checks.h>.
13643 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13644
2e8a5c8c
JM
13645 [BZ #13550]
13646 * sysdeps/generic/bp-semctl.h: Remove file.
13647 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13648 <bp-checks.h> and <bp-semctl.h>.
13649 (__old_semctl): Don't use CHECK_SEMCTL.
13650 (__new_semctl): Likewise.
13651 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13652 and <bp-semctl.h>.
13653 (__old_semctl): Don't use CHECK_SEMCTL.
13654 (__new_semctl): Likewise.
13655 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13656 <bp-checks.h> and <bp-semctl.h>.
13657 (__old_semctl): Don't use CHECK_SEMCTL.
13658 (__new_semctl): Likewise.
13659 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13660 <bp-checks.h> and <bp-semctl.h>.
13661 (semctl): Don't use CHECK_SEMCTL.
13662
c2d54929
JM
13663 [BZ #13550]
13664 * Makerules (elide-bp-thunks): Remove variable.
13665 (elide-routines.oS): Don't use $(elide-bp-thunks).
13666 (elide-routines.os): Likewise.
13667 (elide-routines.o): Likewise.
13668 (elide-routines.op): Likewise.
13669 (elide-routines.og): Likewise.
13670 (objects): Don't use $(bp-thunks).
13671 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13672 include.
13673 (common-generated): Do not add s-proto-bp.d.
13674 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13675 (int): Likewise.
13676 (typ): Likewise.
13677 Do not generate makefile rules for bounded-pointer thunks.
13678 * sysdeps/generic/bp-thunks.h: Remove file.
13679 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13680 * sysdeps/unix/s-proto-bp.S: Likewise.
13681
8cf28c5e
JM
13682 [BZ #15062]
13683 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13684 parts of result separately when argument is not close to line from
13685 -i to i and one part of argument is small.
13686 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13687 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13688 * math/libm-test.inc (cacos_test): Add more tests.
13689 (casin_test): Likewise.
13690 (casinh_test): Likewise.
13691 * sysdeps/i386/fpu/libm-test-ulps: Update.
13692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13693
c4e33b8d
DM
136942013-01-31 David S. Miller <davem@davemloft.net>
13695
13696 * po/de.po: Update from translation team.
13697
3b60b421
MK
136982013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13699
13700 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13701
bb931195
TS
137022013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13703
b5a5da23
TS
13704 * configure.in (_AC_PROG_CC_C89): New definition.
13705 * configure: Regenerate.
13706
bb931195
TS
13707 * configure.in (AC_PROG_CPP): New definition.
13708 * configure: Regenerate.
13709
8c53a12c
JM
137102013-01-23 Joseph Myers <joseph@codesourcery.com>
13711
13712 * debug/tst-backtrace.h: New file.
13713 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13714 (ret): Remove variable.
13715 (x): Likewise.
13716 (FAIL): Remove macro.
13717 (NO_INLINE): Likewise.
13718 (fn1): Use match function instead of strstr.
13719 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13720 (ret): Remove variable.
13721 (x): Likewise.
13722 (FAIL): Remove macro.
13723 (NO_INLINE): Likewise.
13724 (fn): Use match function instead of strstr.
13725 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13726 (ret): Remove variable.
13727 (x): Likewise.
13728 (FAIL): Remove macro.
13729 (NO_INLINE): Likewise.
13730 (handle_signal): Use match function instead of strstr.
13731 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13732 (ret): Remove variable.
13733 (x): Likewise.
13734 (FAIL): Remove macro.
13735 (NO_INLINE): Likewise.
13736 (handle_signal): Use match function instead of strstr.
13737
4858fa2a
RM
137382013-01-23 Roland McGrath <roland@hack.frob.com>
13739
13740 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13741
bae8e7f5
DM
137422013-01-23 David S. Miller <davem@davemloft.net>
13743
13744 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13745 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13746 argument of CAS if possible.
13747 * sysdeps/sparc/sparc64/bits/atomic.h
13748 (__arch_compare_and_exchange_val_32_acq): Likewise.
13749 (__arch_compare_and_exchange_val_64_acq): Likewise.
13750
9cbbc4ae
PT
137512013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13752
13753 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13754 * sysdeps/posix/ulimit.c: ... this.
92a601b8 13755 Include <limits.h>.
67b3f58c 13756 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 13757
5655a0b5
AC
137582013-01-23 Adam Conrad <adconrad@0c3.net>
13759
13760 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13761 (LDFLAGS-tst-array5): Likewise.
13762
052aff95
JM
137632013-01-23 Joseph Myers <joseph@codesourcery.com>
13764
13765 [BZ #15036]
13766 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13767 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13768 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13769 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13770
7c1e01aa
DM
137712013-01-21 David S. Miller <davem@davemloft.net>
13772
13773 * sysdeps/sparc/backtrace.c: New file.
13774 * sysdeps/sparc/sparc32/backtrace.h: New file.
13775 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13776 * sysdeps/sparc/sparc64/backtrace.h: New file.
13777 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13778 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13779 -funwind-tables.
13780
ab087e0a
AS
137812013-01-21 Andreas Schwab <schwab@suse.de>
13782
13783 [BZ #15020]
13784 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13785 closed its stdout.
13786
ed689c2f
AS
137872013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13788
13789 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13790 "mpa2.h".
13791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13792
31d470ac
JM
137932013-01-18 Joseph Myers <joseph@codesourcery.com>
13794 Mark Mitchell <mark@codesourcery.com>
13795 Tom de Vries <tom@codesourcery.com>
13796 Paul Pluzhnikov <ppluzhnikov@google.com>
13797
13798 * debug/tst-backtrace2.c: New file.
13799 * debug/tst-backtrace3.c: Likewise.
13800 * debug/tst-backtrace4.c: Likewise.
13801 * debug/tst-backtrace5.c: Likewise.
13802 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13803 (CFLAGS-tst-backtrace3.c): Likewise.
13804 (CFLAGS-tst-backtrace4.c): Likewise.
13805 (CFLAGS-tst-backtrace5.c): Likewise.
13806 (LDFLAGS-tst-backtrace2): Likewise.
13807 (LDFLAGS-tst-backtrace3): Likewise.
13808 (LDFLAGS-tst-backtrace4): Likewise.
13809 (LDFLAGS-tst-backtrace5): Likewise.
13810 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13811 tst-backtrace4 and tst-backtrace5.
13812
90567f30 138132013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
13814 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13815
13816 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13817 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13818 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13819 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13821 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13822 "+r" and remove output regs list as redundant. Add explicit inline
13823 asm to specify register of return val to work around compiler codegen
13824 bug. Remove (int) cast on return value. Add return type parameter to
13825 use in macro so that this macro does not truncate return value for
13826 64-bit values.
13827 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13828 pass to INTERNAL_VSYSCALL_NCS.
13829 (INLINE_VSYSCALL): Add 'long int' as return type to
13830 INTERNAL_VSYSCALL_NCS macro invocation.
13831 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13832 INTERNAL_VSYSCALL_NCS macro invocation.
13833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13834
d3b9ea61
SP
138352013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13836
0b57daeb
SP
13837 [BZ #14496]
13838 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13839 Fix application of SIMD FP exception mask.
13840
caa99d06
SP
13841 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13842 mp_no from a power of two.
13843 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13844 __mpexp_twomm1. Use __pow_mp.
13845
d3b9ea61
SP
13846 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13847 multiplication.
13848
1dbaee3c
DM
138492013-01-17 David S. Miller <davem@davemloft.net>
13850
13851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13852
728d7b43
JM
138532013-01-17 Joseph Myers <joseph@codesourcery.com>
13854
13855 [BZ #15023]
13856 * include/complex.h: Condition contents on [!_COMPLEX_H].
13857 (__kernel_casinhf): New prototype.
13858 (__kernel_casinh): Likewise.
13859 (__kernel_casinhl): Likewise.
13860 * math/Makefile (libm_calls): Add k_casinh.
13861 * math/k_casinh.c: New file.
13862 * math/k_casinhf.c: Likewise.
13863 * math/k_casinhl.c: Likewise.
13864 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13865 finite nonzero arguments.
13866 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13867 finite nonzero arguments.
13868 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13869 finite nonzero arguments.
13870 * math/s_casinh.c: Do not include <float.h>.
13871 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13872 * math/s_casinhf.c: Do not include <float.h>.
13873 (__casinhf): Move code for finite nonzero arguments to
13874 k_casinhf.c.
13875 * math/s_casinhl.c: Do not include <float.h>.
13876 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13877 redefine.
13878 (__casinhl): Move code for finite nonzero arguments to
13879 k_casinhl.c.
13880 * math/libm-test.inc (cacos_test): Add more tests.
13881 * sysdeps/i386/fpu/libm-test-ulps: Update.
13882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13883
2a26ef3a
PT
138842013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13885
13886 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13887 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13888 [!HAVE_MREMAP]: Remove [defined linux] case.
13889 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13890
a897655d
SP
138912013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13892
13893 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13894
881ebe89 138952013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
13896
13897 * elf/elf.h (R_386_SIZE32): New relocation.
13898 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13899 R_386_SIZE32.
13900 (elf_machine_rela): Likewise.
13901 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13902 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13903
59981e9b
JM
139042013-01-17 Joseph Myers <joseph@codesourcery.com>
13905
13906 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13907 (FP_FAST_FMA): Do not define.
13908 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13909 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13910 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13911 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13912 !_SOFT_FLOAT]: Likewise.
13913 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13914 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13915 value.
13916 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13917 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13918 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13919 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13920 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13921 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13922 file.
13923
cfa8054f
AS
139242013-01-16 Andreas Schwab <schwab@suse.de>
13925
13926 [BZ #14327]
13927 * include/stdlib.h (__mktemp): Add declaration.
13928 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13929 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13930
dd930cc5
SP
139312013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13932
881ebe89
SP
13933 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13934 definitions.
13935 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13936 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13937 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13938 definitions here.
13939 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13940 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13941 definitions.
13942 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13943 and ONE.
13944 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13945 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13946 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13947 definitions.
13948 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13949 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13950 definitions.
13951 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 13952
dd930cc5
SP
13953 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13954
c19a9f89
DM
139552013-01-15 David S. Miller <davem@davemloft.net>
13956
1aa61767
DM
13957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13958 trunc{,f} to libm-sysdep_routes.
13959 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13961 file.
13962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13964 file.
13965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13966 file.
13967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13969 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13970 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13971 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13972 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13973 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13974 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13975
c42d5e98
DM
13976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13977 nearbyint{,f} to libm-sysdep_routes.
13978 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13980 New file.
13981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13982 file.
13983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13984 New file.
13985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13986 file.
13987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13989 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13990 file.
13991 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13992 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13993 file.
13994 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13995 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13996 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13997
c19a9f89
DM
13998 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13999 libc_feholdexcept and libc_fesetenv.
14000
357679d2
MF
140012013-01-15 Mike Frysinger <vapier@gentoo.org>
14002
14003 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14004
65a82e3d
DM
140052013-01-14 David S. Miller <davem@davemloft.net>
14006
8b954ab9
DM
14007 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14008 (SPARC_ASM_VIS2_IFUNC): Likewise.
14009 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14011 use of 'siam' instruction.
14012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14013 Likewise.
14014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14015 Likewise.
14016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14017 Likewise.
14018 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14019 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14020 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14021 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14023 file.
14024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14025 file.
14026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14027 file.
14028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14029 file.
14030 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14031 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14032 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14033 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14035 new VIS2 routines.
14036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14039 Likewise.
14040 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14041 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14042 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14043 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14045 routines to libm-sysdep_routines.
14046 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14047
65a82e3d
DM
14048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14049 fdim/fdimf to libm-sysdep_routines.
14050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14051 file.
14052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14054 file.
14055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14058 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14059 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14060 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14061 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14062
e34ab705
SP
140632013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14064
2a91b573
SP
14065 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14066 to optimize copies.
14067
1066a534
SP
14068 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14069 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14070 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14071
e34ab705
SP
14072 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14073 local variable MPTWO.
14074 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14075 Likewise.
14076
aba5e596
MF
140772013-01-13 Mike Frysinger <vapier@gentoo.org>
14078
14079 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14080 GLOB_NOESCAPE.
14081
e557e9e5
MF
140822013-01-13 Mike Frysinger <vapier@gentoo.org>
14083
14084 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14085
0428cec9
MF
140862013-01-13 Mike Frysinger <vapier@gentoo.org>
14087
14088 * manual/pattern.texi (glob_t): Document gl_flags.
14089 (glob64_t): Likewise.
14090
8794a964
DM
140912013-01-11 David S. Miller <davem@davemloft.net>
14092
66438c3f
RM
14093 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14094 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14095 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
14096 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14097 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14098 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14099 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14100 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14101 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14102 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14103 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14104 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14105 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14106
4ae4244d
DM
14107 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14108 sparc V9 rather than using V8 code.
14109 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14110 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14111
8794a964
DM
14112 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14113 Move to...
14114 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14115 Here.
14116
6270516e
RM
141172013-01-11 Roland McGrath <roland@hack.frob.com>
14118
14119 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14120 not in the main loop.
14121 * configure: Regenerated.
14122
6a57d931
JM
141232013-01-11 Joseph Myers <joseph@codesourcery.com>
14124
14125 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14126 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14127 to just #else.
14128 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14129 [!__GLIBC_HAVE_LONG_LONG] case.
14130 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14131 condition to just #else.
14132 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14133 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14134 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14135 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14136 unconditional.
14137 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14138 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14139 #elif condition to just #else.
14140 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14141 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14142 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14143 #elif condition to just #else.
14144
0e8529e9
SE
141452013-01-11 Steve Ellcey <sellcey@mips.com>
14146
14147 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14148 (EF_MIPS_ARCH_64): Fix value.
14149 (EF_MIPS_ARCH_32R2): New.
14150 (EF_MIPS_ARCH_64R2): New.
14151
740b3dbe
L
141522013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14153
14154 * Makeconfig (+link-pie-before-libc): New.
14155 (+link-pie-after-libc): Likewise.
14156 (+link-pie-tests): Likewise.
14157 (+link-pie): Rewritten.
14158 (link-before-libc): Remove $(config-LDFLAGS).
14159 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14160 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14161 (config-LDFLAGS): Renamed to ...
14162 (rtld-LDFLAGS): This.
14163 (rtld-tests-LDFLAGS): New macro.
14164 (link-libc-rpath-link): Likewise.
14165 (link-libc-tests-rpath-link): Likewise.
14166 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14167 (link-libc): Prepand $(link-libc-rpath-link).
14168 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14169 (test-program-prefix): New macro.
14170 (test-via-rtld-prefix): Likewise.
14171 (test-program-cmd): Likewise.
14172 (host-test-program-cmd): Likewise.
14173 * Makefile ($(common-objpfx)testrun.sh): Replace
14174 $(run-program-prefix) with $(test-program-prefix).
14175 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14176 $(rtld-LDFLAGS).
14177 ($(common-objpfx)shlib.lds): Likewise.
14178 (build-module-helper): Likewise.
14179 ($(common-objpfx)format.lds): Likewise.
14180 * Rules (binaries-pie-tests): New.
14181 (binaries-pie-notests): Likewise.
14182 (binaries-pie): Rewritten.
14183 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14184 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14185 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14186 (make-test-out): Replace $(host-built-program-cmd) with
14187 $(host-test-program-cmd).
14188 * config.make.in (build-hardcoded-path-in-tests): New variable.
14189 * configure.in (--enable-hardcoded-path-in-tests): New configure
14190 option.
14191 (hardcoded_path_in_tests): New AC_SUBST.
14192 * configure: Regenerated.
14193 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14194 $(built-program-cmd) with $(test-program-cmd).
14195 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14196 (test_program_cmd): This.
14197 * elf/Makefile ($(objpfx)order.out): Run test with
14198 $(test-program-prefix).
14199 ($(objpfx)order2.out): Likewise.
14200 ($(objpfx)tst-initorder.out): Likewise.
14201 ($(objpfx)tst-initorder2.out): Likewise.
14202 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14203 $(test-program-cmd).
14204 ($(objpfx)tst-array1-static.out): Likewise.
14205 ($(objpfx)tst-array2.out): Likewise.
14206 ($(objpfx)tst-array3.out): Likewise.
14207 ($(objpfx)tst-array4.out): Likewise.
14208 ($(objpfx)tst-array5.out): Likewise.
14209 ($(objpfx)tst-array5-static.out): Likewise.
14210 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14211 $(test-program-cmd).
14212 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14213 $(run-program-prefix) with $(test-program-prefix).
14214 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14215 (test_program_prefix): This.
14216 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14217 $(run-program-prefix) with $(test-program-prefix).
14218 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14219 (test_program_prefix): This.
14220 * iconvdata/tst-tables.sh: Likewise.
14221 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14222 $(run-program-prefix) with $(test-program-prefix).
14223 ($(objpfx)tst-translit.out): Likewise.
14224 ($(objpfx)tst-gettext2.out): Likewise.
14225 ($(objpfx)tst-gettext4.out): Likewise.
14226 ($(objpfx)tst-gettext6.out): Likewise.
14227 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14228 (test_program_prefix): This.
14229 * intl/tst-gettext2.sh: Likewise.
14230 * intl/tst-gettext4.sh Likewise.
14231 * intl/tst-gettext6.sh: Likewise.
14232 * intl/tst-translit.sh: Likewise.
14233 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14234 with $(test-program-cmd).
14235 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14236 $(run-program-prefix) with $(test-program-prefix).
14237 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14238 (test_program_prefix): This.
14239 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14240 $(run-program-prefix) with $(test-program-prefix).
14241 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14242 (test_program_prefix): This.
14243 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14244 * posix/Makefile ($(objpfx)globtest.out): Replace
14245 $(run-via-rtld-prefix) and $(test-wrapper) with
14246 $(test-program-prefix) and $(test-via-rtld-prefix).
14247 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14248 $(test-program-prefix).
14249 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14250 $(host-test-program-cmd).
14251 (tst-spawn-ARGS): Likewise.
14252 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14253 $(test-program-prefix).
14254 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14255 (test_via_rtld_prefix): This.
14256 (test_wrapper): Renamed to ...
14257 (test_program_prefix): This.
14258 (run_program_prefix): Replaced by test_program_prefix.
14259 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14260 (test_program_prefix): This.
14261 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14262 with $(host-test-program-cmd).
14263 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14264 $(run-program-prefix) with $(test-program-prefix).
14265 ($(objpfx)tst-printf.out): Likewise.
14266 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14267 $(test-program-cmd).
14268 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14269 (test_program_prefix): This.
14270 * stdio-common/tst-unbputc.sh: Likewise.
14271 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14272 $(run-program-prefix) with $(test-program-prefix).
14273 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14274 (test_program_prefix): This.
14275 * string/Makefile ($(objpfx)tst-svc.out): Replace
14276 $(built-program-cmd) with $(test-program-cmd).
14277
c6fe55cf
AJ
142782013-01-11 Andreas Jaeger <aj@suse.de>
14279
14280 [BZ #15003]
14281 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14282 value. Sync with Linux 3.7.
14283
9e6919c8
DM
142842013-01-10 David S. Miller <davem@davemloft.net>
14285
14286 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14287 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14288 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14289
1c9f1a02
RM
142902013-01-10 Roland McGrath <roland@hack.frob.com>
14291
14292 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14293 never set.
14294 * configure: Regenerated.
14295
b9de2dde
DM
142962013-01-10 David S. Miller <davem@davemloft.net>
14297
14298 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14299 sparc V9 rather than using V8 code.
14300 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14301 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14302
e7f68ef4
RM
143032013-01-10 Roland McGrath <roland@hack.frob.com>
14304
14305 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14306 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14307 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14308 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14309 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14310 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14311 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14312 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14313 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14314 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14315 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14316 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14317 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14318 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14319 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14320 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14321 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14322 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14323 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14324 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14325 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14326 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14327 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14328 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14329 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14330 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14331 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14332
5a47cc9c
DM
143332013-01-10 David S. Miller <davem@davemloft.net>
14334
14335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14336
4cf8f209
L
143372013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14338
14339 * posix/Makefile (tests-static): New variable.
14340 (tests): Add $(tests-static).
14341 (tst-exec-static-ARGS): New variable.
14342 (tst-spawn-static-ARGS): Likewise.
14343 * posix/tst-exec-static.c: New file.
14344 * posix/tst-spawn-static.c: Likewise.
14345 * posix/tst-exec.c: Support run directly.
14346 * posix/tst-spawn.c: Likewise.
14347
fed0faa1
JM
143482013-01-10 Joseph Myers <joseph@codesourcery.com>
14349
828beb13
JM
14350 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14351 long.
14352 * math/bits/mathcalls.h (llrint): Likewise.
14353 (llround): Likewise.
14354 * stdlib/stdlib.h (struct drand48_data): Likewise.
14355 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14356 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14357 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14358 Likewise.
14359 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14360 Likewise.
14361 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14362 (elf_greg_t): Likewise.
14363 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14364 (__jmp_buf): Likewise.
14365 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14366 definitions.
14367 (llrint): Likewise, for all definitions.
14368 (llrintl): Likewise.
14369
fed0faa1
JM
14370 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14371 Remove [__GNUC__] condition.
14372 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14373 condition to just [__USE_ISOC99].
14374 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14375
1a20cb20
L
143762013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14377
14378 [BZ #14200]
14379 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14380 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14381 defined.
14382 (_POSIX_V6_ILP32_OFF32): Likewise.
14383 (_XBS5_ILP32_OFF32): Likewise.
14384 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14385 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14386
751b85f7
SP
143872013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14388
7490eb81
SP
14389 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14390
751b85f7
SP
14391 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14392 doubles __mpexp_twomm1. Adjust usage.
14393 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14394 Remove.
14395
988197f0
AS
143962013-01-10 Andreas Schwab <schwab@suse.de>
14397
14398 [BZ #14964]
14399 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14400 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14401
e83d7298
DM
144022013-01-09 David S. Miller <davem@davemloft.net>
14403
034ed64b 14404 [BZ #15003]
e83d7298
DM
14405 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14406 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14407 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14408 TCP_FASTOPEN): Define.
14409 (tcp_repair_opt): New structure.
14410 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14411 enum values.
14412 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14413 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14414 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14415 (tcp_cookie_transactions): New structure.
14416
d5e0b9bd
AB
144172013-01-09 Anton Blanchard <anton@samba.org>
14418
14419 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14420 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14421 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14422 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14423
0c07e3ea
JM
144242013-01-09 Joseph Myers <joseph@codesourcery.com>
14425
14426 * include/features.h (__USE_ANSI): Remove.
14427
232f7002
RM
144282013-01-09 Roland McGrath <roland@hack.frob.com>
14429
ad98e30c
RM
14430 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14431
232f7002
RM
14432 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14433
950c99ca
SP
144342013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14435
b5792741
SP
14436 * sysdeps/s390/fpu/libm-test-ulps: Update.
14437
47cf2278
SP
14438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14439
950c99ca
SP
14440 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14441 (__acr): Likewise.
14442 (__cpy): Likewise.
14443 (norm): Likewise.
14444 (denorm): Likewise.
14445 (__mp_dbl): Likewise.
14446 (__dbl_mp): Likewise.
14447 (add_magnitudes): Likewise.
14448 (sub_magnitudes): Likewise.
14449 (__add): Likewise.
14450 (__sub): Likewise.
14451 (__mul): Likewise.
14452 (__inv): Likewise.
14453 (__dvd): Likewise.
14454 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14455 (__acr): Likewise.
14456 (__cpy): Likewise.
14457 (norm): Likewise.
14458 (denorm): Likewise.
14459 (__mp_dbl): Likewise.
14460 (__dbl_mp): Likewise.
14461 (add_magnitudes): Likewise.
14462 (sub_magnitudes): Likewise.
14463 (__add): Likewise.
14464 (__sub): Likewise.
14465 (__mul): Likewise.
14466 (__inv): Likewise.
14467 (__dvd): Likewise.
14468 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14469 (__acr): Likewise.
14470 (__cpy): Likewise.
14471 (norm): Likewise.
14472 (denorm): Likewise.
14473 (__mp_dbl): Likewise.
14474 (__dbl_mp): Likewise.
14475 (add_magnitudes): Likewise.
14476 (sub_magnitudes): Likewise.
14477 (__add): Likewise.
14478 (__sub): Likewise.
14479 (__mul): Likewise.
14480 (__inv): Likewise.
14481 (__dvd): Likewise.
14482
eede9df9
JM
144832013-01-08 Joseph Myers <joseph@codesourcery.com>
14484
14485 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14486 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14487 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14488 2 && __USE_EXTERN_INLINES]: Likewise.
14489
c40ea3d9
AJ
144902013-01-08 Andreas Jaeger <aj@suse.de>
14491
14492 [BZ# 14985]
14493 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14494 Remove.
14495 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14496 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14497
2ccdea26
AB
144982013-01-07 Anton Blanchard <anton@samba.org>
14499
14500 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14501 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14502 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14503 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14504 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14505 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14506 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14507 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14508 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14509 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14510 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14511 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14512 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14513 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14514 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14515 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14516 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14517 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14518 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14519 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14520 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14521 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14522 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14523 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14524 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14525 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14526 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14527 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14528 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14529 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14530 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14531 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14532 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14533 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14534 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14535 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14536 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14537 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14538 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14539 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14540 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14541 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14542 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14543
a9708fed
JM
145442013-01-07 Joseph Myers <joseph@codesourcery.com>
14545
375607b9
JM
14546 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14547 (__MALLOC_PMT): Likewise.
14548 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14549 [__GNUC__], only on [_LIBC].
14550 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14551 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14552 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14553 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14554 forward declaration.
14555 (realloc_hook_ini): Likewise.
14556 (memalign_hook_ini): Likewise.
14557 (__libc_memalign): Do not use __MALLOC_PMT in variable
14558 declaration.
14559 (__libc_valloc): Likewise.
14560 (__libc_pvalloc): Likewise.
14561 (__libc_calloc): Likewise.
14562 (__posix_memalign): Likewise.
14563
a9708fed
JM
14564 [BZ #14996]
14565 * math/s_casinh.c: Include <float.h>.
14566 (__casinh): Do not do computation with squaring and square root
14567 for large arguments.
14568 * math/s_casinhf.c: Include <float.h>.
14569 (__casinhf): Do not do computation with squaring and square root
14570 for large arguments.
14571 * math/s_casinhl.c: Include <float.h>.
14572 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14573 (__casinhl): Do not do computation with squaring and square root
14574 for large arguments.
14575 * math/libm-test.inc (casin_test): Add more tests.
14576 (casinh_test): Likewise.
14577 * sysdeps/i386/fpu/libm-test-ulps: Update.
14578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14579
afec409a
L
145802013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14581
14582 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14583 (__x86_64_raw_data_cache_size): Likewise.
14584 (__x86_64_data_cache_size_half): Likewise.
14585 (__x86_64_raw_data_cache_size_half): Likewise.
14586 (__x86_64_shared_cache_size): Likewise.
14587 (__x86_64_raw_shared_cache_size): Likewise.
14588 (__x86_64_shared_cache_size_half): Likewise.
14589 (__x86_64_raw_shared_cache_size_half): Likewise.
14590 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14591 to ...
14592 (__x86_data_cache_size): This.
14593 (__x86_64_raw_data_cache_size): Renamed to ...
14594 (__x86_raw_data_cache_size): This.
14595 (__x86_64_data_cache_size_half): Renamed to ...
14596 (__x86_data_cache_size_half): This.
14597 (__x86_64_raw_data_cache_size_half): Renamed to ...
14598 (__x86_raw_data_cache_size_half): This.
14599 (__x86_64_shared_cache_size): Renamed to ...
14600 (__x86_shared_cache_size): This.
14601 (__x86_64_raw_shared_cache_size): Renamed to ...
14602 (__x86_raw_shared_cache_size): This.
14603 (__x86_64_shared_cache_size_half): Renamed to ...
14604 (__x86_shared_cache_size_half): This.
14605 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14606 (__x86_raw_shared_cache_size_half): This.
14607 * sysdeps/x86_64/memcpy.S: Updated.
14608 * sysdeps/x86_64/memset.S: Likewise.
14609 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14610 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14611 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14612
0b3986d0
DM
146132013-01-04 David S. Miller <davem@davemloft.net>
14614
14615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14616
e47686e9
AS
146172013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14618
d643bac1
AS
14619 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14620 1 to avoid redefinition warning.
14621 (__USE_GNU): Don't define.
14622 (init_signaling_nan): Protoize.
14623
e47686e9
AS
14624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14625
b18decba
SP
146262013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14627
fffb407f
SP
14628 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14629 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14630 (__cpymn): Likewise.
14631 (norm): Remove commented code.
14632 (denorm): Likewise.
14633 (__mp_dbl): Likewise.
14634 (__inv): Likewise.
14635 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14636 (__cpymn): Likewise.
14637 (norm): Remove commented code.
14638 (denorm): Likewise.
14639 (__mp_dbl): Likewise.
14640 (__inv): Likewise.
14641
b18decba
SP
14642 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14643 mp_no value for 1.0 and 2.0.
14644 (norm): Use RADIXI instead of radixi.d.
14645 (denorm): Likewise.
14646 (__mul): Use 0.0 instead of zero.d.
14647 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14648 mp_no value for 1.0 and 2.0.
14649 (norm): Use RADIXI instead of radixi.d.
14650 (denorm): Likewise.
14651 (__mul): Use 0.0 instead of zero.d.
14652
cdc1c96f
JM
146532013-01-04 Joseph Myers <joseph@codesourcery.com>
14654
14655 [BZ #14994]
14656 * math/s_casinh.c (__casinh): Reduce finite argument to first
14657 quadrant then set signs of results at the end.
14658 * math/s_casinhf.c (__casinhf): Likewise.
14659 * math/s_casinhl.c (__casinhl): Likewise.
14660 * math/libm-test.inc (casin_test): Add more tests.
14661 (casinh_test): Likewise.
14662 * sysdeps/i386/fpu/libm-test-ulps: Update.
14663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14664
302913e1
SP
146652013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14666
6420d207
SP
14667 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14668
a9e48ab4
SP
14669 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14670
b7837264
SP
14671 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14672 declarations.
14673 (denorm): Likewise.
14674 (__mp_dbl): Likewise.
14675 (__inv): Likewise.
14676
f8af25d2
SP
14677 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14678 and adjust the header comment.
14679
302913e1
SP
14680 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14681 variable name from declaration.
14682
5d7dd1ca
L
146832013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14684
14685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14686 Initialize COMMON_CPUID_INDEX_7 element.
14687 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14688 (CPUID_RTM): Likewise.
14689 (HAS_RTM): Likewise.
14690 (COMMON_CPUID_INDEX_7): New enum.
14691
2f5f40f4
AS
146922013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14693
14694 [BZ #14981]
14695 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14696 size is zero, record memory as freed.
14697
4056f4a0
AJ
146982013-01-03 Andreas Jaeger <aj@suse.de>
14699
14700 * po/ia.po: Add new Interlingua translation.
14701
ab15736f 147022012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
14703
14704 * locale/programs/localedef.c: Fix description of '--posix' flag.
14705
568035b7
JM
147062013-01-02 Joseph Myers <joseph@codesourcery.com>
14707
e6898b8d
JM
14708 * NEWS: Update dates in second copyright notice.
14709 * README: Update copyright dates in example.
14710 * manual/libc.texinfo: Update copyright dates.
14711 * scripts/test-installation.pl: Update copyright date in --version
14712 output.
14713
0e2f9562
JM
14714 * hurd/ctty-input.c: Fix copyright notice formatting.
14715 * hurd/ctty-output.c: Likewise.
14716 * hurd/dtable.c: Likewise.
14717 * hurd/hurd-raise.c: Likewise.
14718 * hurd/hurdprio.c: Likewise.
14719 * hurd/msgportdemux.c: Likewise.
14720 * misc/sys/file.h: Likewise.
14721 * misc/sys/ioctl.h: Likewise.
14722 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14723 * sysdeps/mach/hurd/chdir.c: Likewise.
14724 * sysdeps/mach/hurd/fchdir.c: Likewise.
14725 * sysdeps/mach/hurd/rename.c: Likewise.
14726 * sysdeps/mach/hurd/rmdir.c: Likewise.
14727 * sysdeps/mach/hurd/seekdir.c: Likewise.
14728 * sysdeps/mach/hurd/setsid.c: Likewise.
14729 * sysdeps/posix/wait3.c: Likewise.
14730
568035b7
JM
14731 * All files with FSF copyright notices: Update copyright dates
14732 using scripts/update-copyrights.
14733 * intl/plural.c: Regenerated.
14734 * locale/programs/charmap-kw.h: Likewise.
14735 * locale/programs/locfile-kw.h: Likewise.
14736
da08f647
SP
147372013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14738
0f5477af
SP
14739 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14740 four values.
14741
44e0d4c2
SP
14742 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14743 calculation loop and add branch prediction.
14744
4d55b4e5
SP
14745 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14746 check access beyond bounds of m1np.
14747
da08f647
SP
14748 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14749 MPTWO.
14750 (__inv): Remove local variable MPTWO to use the global
14751 constant.
14752 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14753 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14754 variable MPTWO.
14755 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14756 MP3HALFS static const.
14757
8e051029
DM
147582013-01-01 David S. Miller <davem@davemloft.net>
14759
14760 * po/ca.po: Update from translation team.
14761
f4cf5f2d
JM
147622013-01-01 Joseph Myers <joseph@codesourcery.com>
14763
14764 * scripts/update-copyrights: New file.
14765 * Makeconfig: Reformat copyright notice.
14766 * ctype/ctype.h: Likewise.
14767 * debug/swprintf_chk.c: Likewise.
14768 * elf/dl-cache.c: Likewise.
14769 * elf/dl-debug.c: Likewise.
14770 * elf/dl-object.c: Likewise.
14771 * grp/initgroups.c: Likewise.
14772 * hurd/Makefile: Likewise.
14773 * hurd/hurd/signal.h: Likewise.
14774 * hurd/hurdfault.c: Likewise.
14775 * hurd/hurdioctl.c: Likewise.
14776 * hurd/hurdlookup.c: Likewise.
14777 * hurd/intr-msg.c: Likewise.
14778 * iconv/gconv_open.c: Likewise.
14779 * libio/swprintf.c: Likewise.
14780 * locale/lc-ctype.c: Likewise.
14781 * locale/nl_langinfo.c: Likewise.
14782 * mach/Machrules: Likewise.
14783 * mach/Makefile: Likewise.
14784 * malloc/obstack.h: Likewise.
14785 * manual/Makefile: Likewise.
14786 * manual/tsort.awk: Likewise.
14787 * misc/bits/stab.def: Likewise.
14788 * nis/nis_print_group_entry.c: Likewise.
14789 * nis/nis_table.c: Likewise.
14790 * nis/nss_compat/compat-pwd.c: Likewise.
14791 * nis/nss_compat/compat-spwd.c: Likewise.
14792 * po/Makefile: Likewise.
14793 * posix/fnmatch.c: Likewise.
14794 * posix/regex.h: Likewise.
14795 * resolv/Makefile: Likewise.
14796 * resolv/nss_dns/dns-network.c: Likewise.
14797 * resolv/res_hconf.c: Likewise.
14798 * scripts/gen-sorted.awk: Likewise.
14799 * soft-fp/soft-fp.h: Likewise.
14800 * stdio-common/printf.h: Likewise.
14801 * stdlib/monetary.h: Likewise.
14802 * stdlib/random.c: Likewise.
14803 * stdlib/random_r.c: Likewise.
14804 * sysdeps/generic/Makefile: Likewise.
14805 * sysdeps/gnu/Makefile: Likewise.
14806 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14807 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14808 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14809 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14810 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14811 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14812 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14813 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14814 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14815 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14816 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14817 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14818 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14819 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14820 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14821 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14822 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14823 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14824 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14825 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14826 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14827 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14828 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14829 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14830 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14831 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14832 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14833 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14834 * sysdeps/mach/hurd/errnos.awk: Likewise.
14835 * sysdeps/mach/hurd/fork.c: Likewise.
14836 * sysdeps/mach/hurd/getcwd.c: Likewise.
14837 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14838 * sysdeps/mach/hurd/mmap.c: Likewise.
14839 * sysdeps/mach/hurd/utimes.c: Likewise.
14840 * sysdeps/mach/hurd/xmknod.c: Likewise.
14841 * sysdeps/posix/profil.c: Likewise.
14842 * sysdeps/posix/readdir_r.c: Likewise.
14843 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14844 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14845 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14846 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14848 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14849 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14850 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14852 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14853 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14854 * sysdeps/pthread/lio_listio.c: Likewise.
14855 * sysdeps/sparc/dl-procinfo.h: Likewise.
14856 * sysdeps/unix/i386/sysdep.S: Likewise.
14857 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14858 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14859 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14860 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14862 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14863 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14864 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14865 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14866 * sysdeps/wordsize-32/divdi3.c: Likewise.
14867 * time/sys/time.h: Likewise.
14868 * wcsmbs/Makefile: Likewise.
14869
0549fbba
DM
148702013-01-01 David S. Miller <davem@davemloft.net>
14871
a141f1a7
DM
14872 * po/fr.po: Update from translation team.
14873
0549fbba
DM
14874 * catgets/gencat.c: Update copyright year.
14875 * csu/version.c: Likewise.
14876 * debug/catchsegv.sh: Likewise.
14877 * debug/pcprofiledump.c: Likewise.
14878 * debug/xtrace.sh: Likewise.
14879 * elf/ldconfig.c: Likewise.
14880 * elf/ldd.bash.in: Likewise.
14881 * elf/pldd.c: Likewise.
14882 * elf/sotruss.ksh: Likewise.
14883 * elf/sprof.c: Likewise.
14884 * iconv/iconv_prog.c: Likewise.
14885 * iconv/iconvconfig.c: Likewise.
14886 * locale/programs/locale.c: Likewise.
14887 * locale/programs/localedef.c: Likewise.
14888 * login/programs/pt_chown.c: Likewise.
14889 * malloc/memusage.sh: Likewise.
14890 * malloc/memusagestat.c: Likewise.
14891 * malloc/mtrace.pl: Likewise.
14892 * nscd/nscd.c: Likewise.
14893 * nss/getent.c: Likewise.
14894 * nss/makedb.c: Likewise.
14895 * posix/getconf.c: Likewise.
14896
18ea052c
SP
148972012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14898
14899 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14900 numbers.
14901
9c89fca6
MF
149022012-12-30 Mike Frysinger <vapier@gentoo.org>
14903
14904 * math/bits/mathcalls.h (modf): Use __nonnull.
14905
085ec079
SP
149062012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14907
14908 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14909 (split): Use macro CN instead of the bare value.
14910 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14911 could be used.
14912 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14913 instead of the bare value.
14914 (power1): Likewise.
14915
6d9f97e1
SP
149162012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14917
d63f73be
SP
14918 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14919 __ATAN_TWOM.
14920 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14921
6d9f97e1
SP
14922 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14923 their values.
14924 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14925 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14926 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14927 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14928
4c4febf5
AJ
149292012-12-28 Andreas Jaeger <aj@suse.de>
14930
af5843ef
AJ
14931 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14932 values are from Linux 3.7.
14933
4c4febf5
AJ
14934 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14935 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14936
99136f82
SP
149372012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14938
2f216c3c 14939 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
14940 TRUE case.
14941
99136f82
SP
14942 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14943 (norm): Likewise.
14944 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14945 variables with preprocessor constants.
14946 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14947 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14948 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14949
7fffbdff
BH
149502012-12-27 Bruno Haible <bruno@clisp.org>
14951
14952 [BZ #14317]
14953 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14954 only if needed.
14955
b76eb5f0
SP
149562012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14957
31a7fe5c
SP
14958 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14959 and use variable directly.
14960 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14961
b76eb5f0
SP
14962 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14963 MPONE.
14964 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14965 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14966 variable MPONE.
14967 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14968 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14969 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14970 include directive. Remove local variable MPONE.
14971 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14972 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14973 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14974
2c8bfe7d
DM
149752012-12-25 David S. Miller <davem@davemloft.net>
14976
14977 * version.h (RELEASE): Set to "development".
14978 (VERSION): Set to "2.17.90".
14979 * NEWS: Add 2.18 section.
14980
147d03b0
DM
149812012-12-21 David S. Miller <davem@davemloft.net>
14982
14983 * po/hr.po: Update from translation team.
14984
a8ebb2b9
AK
149852012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14986
14987 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14988
95b4f1b6
SE
149892012-12-19 Steve Ellcey <sellcey@mips.com>
14990
b2d94007 14991 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 14992
cedb2a90
MS
149932012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14994
14995 * manual/contrib.texi (Contributors): Spelling correction.
14996
bbf527d6
DM
149972012-12-15 David S. Miller <davem@davemloft.net>
14998
14999 * po/ru.po: Update from translation team.
15000
bc38c906
DM
150012012-12-13 David S. Miller <davem@davemloft.net>
15002
85429b1a
DM
15003 * NEWS: Mention IFUNC testsuite enhancements.
15004
d283e353
DM
15005 * po/pl.po: Update from translation team.
15006 * po/bg.po: Likewise.
15007
bc38c906
DM
15008 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15009 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15010
a181b0d7
DM
150112012-12-11 David S. Miller <davem@davemloft.net>
15012
4641d57e
DM
15013 * po/sv.po: Update from translation team.
15014
f7bc6495
DM
15015 * po/vi.po: Update from translation team.
15016
6fc9048f
DM
15017 * po/cs.po: Update from translation team.
15018
a181b0d7
DM
15019 * po/de.po: Update from translation team.
15020 * po/eo.po: Likewise.
15021 * po/nl.po: Likewise.
15022
f70bfe80
SP
150232012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15024
3c8b4190
SP
15025 [BZ #14246]
15026 * manual/argp.texi (Argp Helper Functions): Move node to follow
15027 Argp Parsing State.
15028
f70bfe80
SP
15029 [BZ #14872]
15030 * manual/conf.texi (Limits on File System Capacity): Mention if
15031 terminating null is included in the max size.
15032
188f0adf
AJ
150332012-12-10 Andreas Jaeger <aj@suse.de>
15034
15035 * po/cs.po: Update from translation team.
15036
56e7d3ad
SP
150372012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15038
15039 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15040 void pointer and cast to uintptr_t.
15041 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15042 path.
15043 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15044 * sysdeps/s390/s390-64/memset.S: Likewise.
15045
76f2d2ea 150462012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
15047
15048 [BZ #14833]
15049 * menual/message.texi (Message Translation): Fix typos.
15050 (Helper programs for gettext): Likewise.
15051
67cbf9a2
AS
150522012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15053
15054 [BZ #14898]
15055 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15056 Change to -1.
15057
682d0e9a
DM
150582012-12-07 David S. Miller <davem@davemloft.net>
15059
15060 * po/libc.pot: Update.
15061
573cd484
RH
150622012-12-07 Richard Henderson <rth@redhat.com>
15063
7e9da188 15064 [BZ #10114]
573cd484
RH
15065 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15066 normal/normal case to before the switch.
15067 (_FP_DIV): Likewise.
15068
e933a943
MF
150692012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15070 Mike Frysinger <vapier@gentoo.org>
15071
15072 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15073 check for __NR_fadvise64_64.
15074
82123268
CM
150752012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15076
15077 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15078 0, not just to plain "0" as a statement.
15079 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15080 with cw.
15081
d9814526
JM
150822012-12-06 Joseph Myers <joseph@codesourcery.com>
15083
15084 * NEWS: Use sourceware.org in Bugzilla URL.
15085
7728c574
SP
150862012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15087
f16946dd
SP
15088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15089 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15090
5704bbcb
SP
15091 * stdio-common/tst-put-error.c (do_test): Add newline to the
15092 padded test to ensure flush.
15093
17aa0516
JL
150942012-12-05 Jeff Law <law@redhat.com>
15095
15096 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15097
363313b5
JM
150982012-12-05 Joseph Myers <joseph@codesourcery.com>
15099
effbd42a
JM
15100 * README: Don't refer to ports add-on as distributed separately.
15101 Mention AArch64 in list of systems supported in the ports add-on.
15102
87600365
JM
15103 * LICENSES: Add more non-FSF copyright and license notices.
15104
a0d7066a
JM
15105 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15106 ((unused)).
15107
66ca5a5b
JM
15108 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15109
363313b5
JM
15110 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15111 10000 as width of padded output.
15112
b37984ad
JM
151132012-12-04 Joseph Myers <joseph@codesourcery.com>
15114
9003570a
JM
15115 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15116
b37984ad
JM
15117 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15118 variable LX with __attribute__ ((unused)).
15119 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15120 Likewise.
15121 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15122 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15123 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15124 with __attribute__ ((unused)).
15125
c8df52ec
DM
151262012-12-04 David S. Miller <davem@abraco.davemloft.net>
15127
15128 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15129
b3b099af
JM
151302012-12-04 Joseph Myers <joseph@codesourcery.com>
15131
c33aa6e3
JM
15132 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15133 (CFLAGS-nldbl-acos.c): New variable.
15134 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15135 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15136 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15137 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15138 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15139 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15140 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15141 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15142 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15143 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15144 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15145 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15146 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15147 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15148 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15149 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15150 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15151 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15152 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15153 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15154 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15155 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15156 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15157 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15158 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15159 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15160 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15161 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15162 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15163 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15164 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15165 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15166 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15167 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15168 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15169 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15170 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15171 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15172 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15173 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15174 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15175 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15176 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15177 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15178 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15179 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15180 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15181 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15182 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15183 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15184 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15185 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15186 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15187 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15188 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15189 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15190 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15191 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15192 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15193 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15194 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15195 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15196 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15197 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15198 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15199 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15200 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15201 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15202 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15203 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15204 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15205 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15206 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15207 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15208 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15209 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15210 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15211 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15212 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15213 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15214 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15215 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15216 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15217 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15218 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15219 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15220 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15221 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15222 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15223 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15224 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15225 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15226 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15227 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15228 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15229 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15230 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15231
20f0018d
JM
15232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15233 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15234
b3b099af
JM
15235 [BZ #14914]
15236 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15237 whole low double instead of just low 47 bits when splitting values
15238 into two parts.
15239
029264d1
AM
152402012-12-03 Allan McRae <allan@archlinux.org>
15241
15242 * manual/stdio.texi (Predefined Printf Handlers): Remove
15243 @hsep and @vsep usage.
15244
c9d6789e
MF
152452012-12-03 Mike Frysinger <vapier@gentoo.org>
15246
15247 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15248 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15249
4b7634a5
JL
152502012-12-03 Jeff Law <law@redhat.com>
15251
15252 * time/sys/time.h (settimeofday): Do not mark TV argument
15253 as __nonnull.
15254
eb6cbd24
MF
152552012-12-01 Mike Frysinger <vapier@gentoo.org>
15256
15257 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15258 when currently writing and seek to current position when not.
15259 * libio/Makefile (tests): Remove bug-fclose1.
15260 * libio/bug-fclose1.c: Delete.
15261
f638872a
JM
152622012-12-01 Joseph Myers <joseph@codesourcery.com>
15263
15264 * manual/arith.texi (feenableexcept): Fix typo.
15265 (fedisableexcept): Likewise.
15266
48085d14
RM
152672012-11-30 Roland McGrath <roland@hack.frob.com>
15268
15269 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15270 second, differently-typed declaration, rather than a cast.
15271
1a538b9f
SP
152722012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15273
15274 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15275 * include/rpc/svc.h: ... here.
15276
d07f2ff1 152772012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
15278
15279 [BZ #13013]
15280 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15281 depending n and resplen2 to catch cases where answer
15282 equals answerp2.
15283
c93ec1f0
CD
152842012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15285
15286 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15287 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15288
37db69de
MF
152892012-11-29 Mike Frysinger <vapier@gentoo.org>
15290
15291 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15292
e10c4e4f
RM
152932012-11-29 Roland McGrath <roland@hack.frob.com>
15294
15295 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15296
2af1b328
JL
152972012-11-28 Jeff Law <law@redhat.com>
15298
15299 [BZ #13761]
15300 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15301 dataset_temporary. Track alloca usage into alloca_used.
15302 If dataset is large allocate and release it via malloc/free.
15303
111db5b1
FW
153042012-06-04 Florian Weimer <fweimer@redhat.com>
15305
f06cc227 15306 [BZ #14197]
111db5b1
FW
15307 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15308
dd694abd
DM
153092012-11-28 David S. Miller <davem@davemloft.net>
15310
15311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15312
9984dd01
JM
153132012-11-28 Joseph Myers <joseph@codesourcery.com>
15314
15315 [BZ #14803]
15316 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15317 of pi/2 rounded to nearest to 64 bits.
15318 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15319 nearest to 64 bits.
15320 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15321 bits.
15322
14bc93a9
JL
153232012-11-28 Jeff Law <law@redhat.com>
15324 Martin Osvald <mosvald@redhat.com>
15325
15326 [BZ #14889]
15327 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15328 * sunrpc/svc.c: Include time.h.
15329 (__svc_accept_failed): New function.
15330 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15331 any reason other than EINTR, call __svc_accept_failed.
15332 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15333 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15334
e3c6aa3a
AS
153352012-11-28 Andreas Schwab <schwab@suse.de>
15336
15337 * scripts/abilist.awk: Also handle indirect functions in .opd
15338 section.
15339
1bead169
JM
153402012-11-28 Joseph Myers <joseph@codesourcery.com>
15341
15342 [BZ #13881]
15343 * sysdeps/x86/fpu/powl_helper.c: New file.
15344 * sysdeps/x86/fpu/Makefile: Likewise.
15345 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15346 (p3): New object.
15347 (__ieee754_powl): Use __powl_helper for finite arguments except
15348 integer exponents below 8.
15349 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15350 (p3): New object.
15351 (__ieee754_powl): Use __powl_helper for finite arguments except
15352 integer exponents below 8.
15353 * math/libm-test.inc (pow_test): Add more tests and enable some
15354 previously disabled tests.
15355 * sysdeps/i386/fpu/libm-test-ulps: Update.
15356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15357
0817d63d
SP
153582012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15359 Carlos O'Donell <carlos_odonell@mentor.com>
15360
15361 * nss/makedb.c (is_prime): Assert that input is odd and greater
15362 than 4. Note that fact in a comment too.
15363 (next_prime): Add 4 to input.
15364
de2fd463
SP
153652012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15366
15367 [BZ #11741]
15368 * libio/Makefile (tests): Add test case tst-fwrite-error.
15369 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15370 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15371 * libio/tst-fwrite-error.c: New test case.
15372
c515fb51
L
153732012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15374
15375 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15376 before casting to void *.
15377 * include/libc-internal.h (__pointer_type): New macro.
15378 (__integer_if_pointer_type_sub): Likewise.
15379 (__integer_if_pointer_type): Likewise.
15380 (cast_to_integer): Likewise.
15381 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15382 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15383 before casting to atomic64_t.
15384 (atomic_exchange_acq): Likewise.
15385 (__arch_exchange_and_add_body): Likewise.
15386 (__arch_add_body): Likewise.
15387 (atomic_add_negative): Likewise.
15388 (atomic_add_zero): Likewise.
15389
4cf77aa9
JM
153902012-11-26 Joseph Myers <joseph@codesourcery.com>
15391
15392 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15393 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15394 (add_fdes): Likewise.
15395 (linear_search_fdes): Likewise.
15396 (binary_search_unencoded_fdes): Likewise.
15397
d260b3b4
AS
153982012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15399
15400 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15401
67060746
AC
154022012-11-24 Adam Conrad <adconrad@0c3.net>
15403
15404 * configure.in: Autodetect C++ header directories.
15405 * configure: Regenerated.
15406
800938a1
MF
154072012-11-23 Mike Frysinger <vapier@gentoo.org>
15408
15409 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15410
4e6e34e6
AS
154112012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15412
15413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15414
7c7feb47
JM
154152012-11-22 Joseph Myers <joseph@codesourcery.com>
15416
7184dcdf
JM
15417 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15418 LDBL_MANT_DIG == 106]: Disable some tests.
15419 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15420 Likewise.
15421 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15422 Likewise.
15423
0a42601f
JM
15424 [BZ #14871]
15425 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15426 input for small inputs. Return +/- pi/2 for large inputs.
15427 * math/libm-test.inc (atan_test): Add more tests.
15428
79c9b9fe
JM
15429 * sysdeps/generic/unwind-dw2-fde-glibc.c
15430 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15431 __attribute__ ((unused)).
15432
c60d3bf2
JM
15433 [BZ #14645]
15434 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15435 x * y if x and y are nonzero and z is zero.
15436
ef1e0867
JM
15437 [BZ #14811]
15438 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15439 nonzero exponents with absolute value below 0x1p-117 to +/-
15440 0x1p-117.
15441
1468ded3
JM
15442 [BZ #14869]
15443 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15444 up arguments below 2**-450, not just those below 2**-500.
15445 * math/libm-test.inc (hypot_test): Add another test.
15446
8e27e3cc
JM
15447 [BZ #14868]
15448 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15449 Return a+b for ratio over 2**120, not 2**60.
15450 * math/libm-test.inc (hypot_test): Add another test.
15451
c9c0279b
JM
15452 * math/libm-test.inc (clog_test): Use
15453 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15454 (clog10_test): Likewise.
15455
7c7feb47
JM
15456 [BZ #6778]
15457 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15458
fff1530e
AS
154592012-11-22 Andreas Schwab <schwab@suse.de>
15460
15461 * sysdeps/i386/fpu/libm-test-ulps: Update.
15462
94558d30
PT
154632012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15464
15465 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15466 printf output with newline.
15467
7e1be741
L
154682012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15469
6bfea974
L
15470 [BZ #14865]
15471 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15472 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15473 -z nodlopen, -z initfirst and -z execstack support.
15474 * configure: Regenerated.
15475
7e1be741
L
15476 * elf/elf.h (DF_1_NODIRECT): New macro.
15477 (DF_1_IGNMULDEF): Likewise.
15478 (DF_1_NOKSYMS): Likewise.
15479 (DF_1_NOHDR): Likewise.
15480 (DF_1_EDITED): Likewise.
15481 (DF_1_NORELOC): Likewise.
15482 (DF_1_SYMINTPOSE): Likewise.
15483 (DF_1_GLOBAUDIT): Likewise.
15484 (DF_1_SINGLETON): Likewise.
15485 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15486 DT_1_SUPPORTED_MASK bits.
15487 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15488
105ce2ce
CD
154892012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15490
15491 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15492
123be9de
TS
154932012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15494
d072f3f7
TS
15495 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15496 macro.
15497
123be9de
TS
15498 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15499 (sendmmsg): Move declarations...
15500 * socket/sys/socket.h: ... here.
15501 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15502 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15503 include it from...
15504 * socket/recvmmsg.c: ... this new file.
15505 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15506 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15507 definition of __sendmmsg hidden.
15508 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15509 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15510 Move ENOSYS stub into and include it from...
15511 * socket/sendmmsg.c: ... this new file.
15512 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15513 (sysdep_routines): Move recvmmsg and sendmmsg...
15514 * socket/Makefile (routines): ... here.
15515 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15516 (GLIBC_PRIVATE): Add __sendmmsg.
15517 * include/sys/socket.h (__sendmmsg): Add declarations.
15518 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15519 sendmmsg.
15520
cf9a5d18
JM
155212012-11-20 Joseph Myers <joseph@codesourcery.com>
15522
15523 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15524 variable I1 with __attribute__ ((unused)).
15525 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15526
ecd4caf9
JM
155272012-11-19 Joseph Myers <joseph@codesourcery.com>
15528
be14d48f
JM
15529 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15530 DUMMY variables with __attribute__ ((unused)).
15531
ecd4caf9
JM
15532 * bits/byteswap.h: Include <bits/types.h>.
15533 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15534
986cab95
PT
155352012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15536
15537 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15538 string_t. Do not manually set errno.
15539 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15540 length with __strnlen. Make sure to both set errno and return it on
15541 failure.
15542
6d33cc9d
DM
155432012-11-19 David S. Miller <davem@davemloft.net>
15544
15545 With help from Joseph Myers.
15546 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15547 very large arguments properly.
15548 * math/libm-test.inc (atan_test): New tests.
15549 (atan2_test): New tests.
15550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15551 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15552
ee663277
JM
155532012-11-19 Joseph Myers <joseph@codesourcery.com>
15554
877f2d8e
JM
15555 [BZ #14856]
15556 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15557 Define to 3.
15558
116fc08a
JM
15559 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15560 [POSIX] (EADDRNOTAVAIL): Likewise.
15561 [POSIX] (EAFNOSUPPORT): Likewise.
15562 [POSIX] (EALREADY): Likewise.
15563 [POSIX] (ECONNABORTED): Likewise.
15564 [POSIX] (ECONNREFUSED): Likewise.
15565 [POSIX] (ECONNRESET): Likewise.
15566 [POSIX] (EDESTADDRREQ): Likewise.
15567 [POSIX] (EDQUOT): Likewise.
15568 [POSIX] (EHOSTUNREACH): Likewise.
15569 [POSIX] (EIDRM): Likewise.
15570 [POSIX] (EISCONN): Likewise.
15571 [POSIX] (ELOOP): Likewise.
15572 [POSIX] (EMULTIHOP): Likewise.
15573 [POSIX] (ENETDOWN): Likewise.
15574 [POSIX] (ENETUNREACH): Likewise.
15575 [POSIX] (ENOBUFS): Likewise.
15576 [POSIX] (ENODATA): Likewise.
15577 [POSIX] (ENOLINK): Likewise.
15578 [POSIX] (ENOMSG): Likewise.
15579 [POSIX] (ENOPROTOOPT): Likewise.
15580 [POSIX] (ENOSR): Likewise.
15581 [POSIX] (ENOSTR): Likewise.
15582 [POSIX] (ENOTCONN): Likewise.
15583 [POSIX] (ENOTSOCK): Likewise.
15584 [POSIX] (EOPNOTSUPP): Likewise.
15585 [POSIX] (EOVERFLOW): Likewise.
15586 [POSIX] (EPROTO): Likewise.
15587 [POSIX] (EPROTONOSUPPORT): Likewise.
15588 [POSIX] (EPROTOTYPE): Likewise.
15589 [POSIX] (ESTALE): Likewise.
15590 [POSIX] (ETIME): Likewise.
15591 [POSIX] (ETXTBSY): Likewise.
15592 [POSIX] (EWOULDBLOCK): Likewise.
15593 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15594 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15595 [POSIX] (SEEK_CUR): Likewise.
15596 [POSIX] (SEEK_END): Likewise.
15597 [POSIX || UNIX98] (mode_t): Do not require.
15598 [POSIX] (off_t): Likewise.
15599 [POSIX] (pid_t): Likewise.
15600 [POSIX] (sys/stat.h): Do not allow header.
15601 [POSIX] (unistd.h): Likewise.
15602 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15603 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15604 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15605 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15606 require.
15607 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15608 sigevent): Specify elements.
15609 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15610 entry.
15611 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15612 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15613
a483863f
JM
15614 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15615 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15616 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15617 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15618 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15619 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15620 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15621 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15622 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15623 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15624 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15625 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15626 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15627 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15628 Likewise.
15629 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15630 Likewise.
15631 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15632 Likewise.
15633 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15634 Likewise.
15635 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15636 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15637 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15638 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15639 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15640 Specify lower bound on value.
15641 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15642 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15643 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15644 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15645 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15646 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15647 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15648 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15649 value.
15650 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15651 as optional.
15652 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15653 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15654 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15655 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15656 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15657 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15658 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15659 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15660 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15661 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15662 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15663 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15664 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15665 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15666 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15667 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15668 entry.
15669 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15670 optional.
15671 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15672 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15673 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15674 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15675 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15676 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15677 Likewise.
15678 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15679 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15680 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15681 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15682 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15683 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15684 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15685 as optional.
15686 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15687 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15688 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15689 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15690 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15691 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15692 specify as optional.
15693 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15694 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15695 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15696 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15697 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15698 [XPG3] (NL_LANGMAX): Likewise.
15699 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15700 [POSIX || XPG3] (NL_NMAX): Likewise.
15701 [POSIX || XPG3] (NL_SETMAX): Likewise.
15702 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15703 [XPG3] (NZERO): Likewise.
15704 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15705 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15706 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15707 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15708 (REG_ERANGE): Expect.
15709 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15710 optional-constant.
15711 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15712 Use (void) in prototype.
15713 [POSIX] (*_t): Allow.
15714 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15715 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15716 (WRDE_BADVAL): Expect.
15717
5ba924e3
JM
15718 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15719 expect.
15720 [XPG3 || XPG4] (O_RSYNC): Likewise.
15721 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15722 Likewise.
15723 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15724 [XPG3 || XPG4] (sigqueue): Likewise.
15725 [XPG3 || XPG4] (sigtimedwait): Likewise.
15726 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15727 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15728 [XPG3 || XPG4] (vsnprintf): Likewise.
15729 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15730 Likewise.
15731 [XPG3 || XPG4] (blksize_t): Likewise.
15732 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15733 Likewise.
15734 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15735 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15736 [XPG3 || XPG4] (struct itimerspec): Likewise.
15737 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15738 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15739 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15740 [XPG3 || XPG4] (clockid_t): Likewise.
15741 [XPG3 || XPG4] (timer_t): Likewise.
15742 [XPG3 || XPG4] (clock_getres): Likewise.
15743 [XPG3 || XPG4] (clock_gettime): Likewise.
15744 [XPG3 || XPG4] (clock_settime): Likewise.
15745 [XPG3 || XPG4] (nanosleep): Likewise.
15746 [XPG3 || XPG4] (timer_create): Likewise.
15747 [XPG3 || XPG4] (timer_delete): Likewise.
15748 [XPG3 || XPG4] (timer_gettime): Likewise.
15749 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15750 [XPG3 || XPG4] (timer_settime): Likewise.
15751 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15752 [XPG3 || XPG4] (getlogin_r): Likewise.
15753 [XPG3 || XPG4] (pread): Likewise.
15754 [XPG3 || XPG4] (pthread_atfork): Likewise.
15755 [XPG3 || XPG4] (pwrite): Likewise.
15756
ee663277
JM
15757 [BZ #14835]
15758 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15759 <bits/siginfo.h>.
15760
942caa16
PT
157612012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15762
e19af380
PT
15763 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15764 finalizing MALLSTREAM.
15765
942caa16
PT
15766 * sysdeps/mach/hurd/syncfs.c: New file.
15767
cfde9b46
SP
157682012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15769
15770 [BZ #14719]
15771 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15772 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15773 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15774 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15775 (_nss_dns_gethostbyname4_r): Likewise.
15776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15777 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15778
f6da27e5
PH
157792012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15780
15781 [BZ #13763]
15782 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15783
6665d4a2
SM
157842012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15785
1f51ee92
SM
15786 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15787 * elf/cache.c (print_entry): Print ",AArch64" for
15788 FLAG_AARCH64_LIB64
15789
6665d4a2
SM
15790 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15791 * elf/cache.c (print_entry): Print ",hard-float" for
15792 FLAG_ARM_LIBHF.
15793
05b227bd
DM
157942012-11-18 David S. Miller <davem@davemloft.net>
15795
15796 With help from Joseph Myers.
15797 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15798 cutoff to 2**-13.
15799 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15800 cutoff to 2**-25.
15801 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15802 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15803 small.
15804 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15805 * math/libm-test.inc (y0_test): New tests.
15806 (y1_test): New tests.
15807 * sysdeps/i386/fpu/libm-test-ulps: Update.
15808 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15810
786b0b67
AS
158112012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15812
15813 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15814 64-bit targets.
15815 * configure: Regenerated.
15816
8e18b86d
DM
158172012-11-17 David S. Miller <davem@davemloft.net>
15818
15819 [BZ #14811]
15820 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15821 nonzero exponents with absolute value below 0x1p-128 to +/-
15822 0x1p-128.
15823
531f1ae0
JM
158242012-11-17 Joseph Myers <joseph@codesourcery.com>
15825
12df29e2
JM
15826 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15827
150dc1a0
JM
15828 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15829
531f1ae0
JM
15830 * posix/getconf-speclist.c: New file.
15831 * posix/posix-envs.def: Likewise.
15832 * posix/confstr.c (START_ENV_GROUP): New macro.
15833 (END_ENV_GROUP): Likewise.
15834 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15835 (KNOWN_PRESENT_ENV_STRING): Likewise.
15836 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15837 (UNKNOWN_ENVIRONMENT): Likewise.
15838 (confstr): Include posix-envs.def instead of handling
15839 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15840 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15841 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15842 (END_ENV_GROUP): Likewise.
15843 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15844 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15845 (UNKNOWN_ENVIRONMENT): Likewise.
15846 (__sysconf): Include posix-envs.def instead of handling associated
15847 cases directly here.
15848 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15849 preprocessing getconf-speclist.c rather than running getconf or
15850 generating empty file.
15851
a93f9cbc
PT
158522012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15853
15854 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15855
d64d9f87
AL
158562012-11-16 Andrej Lajovic <natrij@gmail.com>
15857
15858 [BZ #14672]
15859 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15860
447885eb
DM
158612012-11-16 David S. Miller <davem@davemloft.net>
15862
15863 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15864 smaller than LDBL_EPSILON/2.0L, just return xm1.
15865
bcbf9830
L
158662012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15867
15868 * elf/tst-array1.c (init): Set constructor priority to 1000.
15869 (fini): Set destructor priority to 1000.
15870 * elf/tst-array2dep.c: Likewise.
15871
2b766585
SP
158722012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15873
15874 [BZ #11741]
15875 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15876 (_IO_new_file_xsputn): Also return EOF if none of the input
15877 data was written when overflow failed.
15878 * libio/iopadn.c (_IO_padn): Likewise.
15879 * libio/iowpadn.c (_IO_wpadn): Likewise.
15880 * stdio-common/tst-put-error.c: Add copyright notice.
15881 (do_test): Add case for printing padded string.
15882 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15883 _IO_padn returned error.
15884 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15885 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15886 return EOF.
15887
b1848fde
SP
158882012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15889
15890 * libio/libioP.h: Add comment note that the references to C++
15891 bits are now obsolete.
15892
2fd89785
MS
158932012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15894
15895 * math/libm-test.inc (check_complex): Use asprintf.
15896
e3ea5409
JM
158972012-11-14 Joseph Myers <joseph@codesourcery.com>
15898
15899 * debug/pcprofiledump.c (print_version): Update copyright year.
15900 * malloc/memusagestat.c (print_version): Likewise.
15901
2e64d265
L
159022012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15903
15904 [BZ #14831]
15905 * elf/Makefile (tests): Add tst-audit8.
15906 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15907 ($(objpfx)tst-audit8.out): New target.
15908 (tst-audit8-ENV): New variable.
15909 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15910 audit if l_reloc_result is NULL.
15911 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15912 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15913 * elf/tst-audit8.c: New file.
15914
c485e4d2
MS
159152012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15916
15917 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15918 * misc/Makefile (CFLAGS-select.c): Define.
15919 * posix/Makefile (CFLAGS-pause.c): Define.
15920
3a0d900a
DM
159212012-11-13 David S. Miller <davem@davemloft.net>
15922
15923 * crypt/Makefile: Move test targets after toplevel Rules
15924 inclusion. Grab any necessary sysdep routines when linking.
15925 * crypt/md5.c (md5_process_block): Remove define, we will always
15926 name it __md5_process_block.
15927 (md5_finish_ctx): Update md5_process_block call.
15928 (md5_stream): Likewise.
15929 (md5_process_bytes): Likewise.
15930 (md5_process_block): Rename to __md5_process_block and move to ...
15931 * crypt/md5-block.c: ... here.
15932 * crypt/sha256.c (sha256_process_block): Move to ...
15933 * crypt/sha256-block.c: ... here.
15934 * crypt/sha512.c (sha512_process_block): Move to ...
15935 * crypt/sha512-block.c: ... here.
15936 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15937 path.
15938 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15939 * sysdeps/sparc/sparc64/multiarch/Makefile
15940 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15941 crypt subdir.
15942 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15943 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15944 multiarch changes.
15945 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15946 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15947 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15948 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15949 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15950 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15951 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15952 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15953 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15954 file.
15955 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15956 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15957 file.
15958 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15959
8ca89318
JM
159602012-11-13 Joseph Myers <joseph@codesourcery.com>
15961
e27d476a
JM
15962 * timezone/tzselect.ksh: Update from tzcode git revision
15963 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15964 * timezone/zdump.c: Likewise.
15965 * timezone/zic.c: Likewise.
15966 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15967 in TZVERSION setting, not $(PKGVERSION).
15968 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15969 REPORT_BUGS_TO settings.
15970
8ca89318
JM
15971 [BZ #14838]
15972 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15973 macro.
15974
47594329
MS
159752012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15976
15977 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15978 detection to immediately after _FP_ROUND().
15979 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15980 bits are 0.
15981
640ac3f1
DM
159822012-11-11 David S. Miller <davem@davemloft.net>
15983
15984 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15985 inttypes.h
15986 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15987 __close rather than their public counterparts.
15988
3d2577bb
JM
159892012-11-10 Joseph Myers <joseph@codesourcery.com>
15990
15991 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15992 file.
15993 [UNIX98] (sem_timedwait): Do not expect.
15994 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15995 [XPG4 || UNIX98] (sockatmark): Do not expect.
15996 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15997 (clock_getcpuclockid): Do not expect.
15998 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15999 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16000 Do not expect.
16001 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16002 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16003 [UNIX98] (vwscanf): Likewise.
16004 [UNIX98] (vswscanf): Likewise.
16005
fb1ae1ee
JM
160062012-11-09 Joseph Myers <joseph@codesourcery.com>
16007
9ec6f8bd
JM
16008 * timezone/version.h: Remove file.
16009 * timezone/README: Do not refer to version.h.
16010 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16011 $(objpfx)version.h.
16012 ($(objpfx)zdump.o): Likewise.
c3f81911 16013 ($(objpfx)version.h): New target.
9ec6f8bd 16014
0aa8f8a1
JM
16015 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16016 2012i.
16017 * timezone/README: Don't mention modification to tzselect.ksh.
16018 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16019 work on unmodified tzselect.ksh. Substitute version numbers in
16020 tzselect.ksh.
16021
4e87147f
JM
16022 * Makefile (format-me): Remove.
16023 (INSTALL): Adjust indentation. Use commands directly instead of
16024 using $(format-me).
16025
8b748aed
JM
16026 * aclocal.m4 (ACX_PKGVERSION): New macro.
16027 (ACX_BUGURL): Likewise.
16028 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16029 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16030 (REPORT_BUGS_TO): Likewise.
16031 * configure: Regenerated.
16032 * config.h.in (PKGVERSION): New macro.
16033 (REPORT_BUGS_TO): Likewise.
16034 * config.make.in (PKGVERSION): New variable.
16035 (PKGVERSION_TEXI): Likewise.
16036 (REPORT_BUGS_TO): Likewise.
16037 (REPORT_BUGS_TEXI): Likewise.
16038 * Makefile (format-me): Use -I$(common-objpfx)manual.
16039 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16040 ($(common-objpfx)manual/%): New target.
16041 (manual/%): Remove target.
16042 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16043 (print_version): Use PKGVERSION.
16044 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16045 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16046 and REPORT_BUGS_TO.
16047 ($(objpfx)xtrace): Likewise.
16048 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16049 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16050 (print_version): Use PKGVERSION.
16051 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16052 (do_version): Use PKGVERSION.
16053 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16054 REPORT_BUGS_TO.
16055 (common-ldd-rewrite): Likewise.
16056 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16057 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16058 (print_version): Use PKGVERSION.
16059 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16060 * elf/pldd.c (argp_program_bug_address): Remove variable.
16061 (more_help): New function.
16062 (argp): Use more_help.
16063 (print_version): Use PKGVERSION.
16064 * elf/sln.c (main): Use PKGVERSION.
16065 (usage): Use REPORT_BUGS_TO.
16066 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16067 (top level): Use PKGVERSION.
16068 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16069 (print_version): Use PKGVERSION.
16070 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16071 (print_version): Use PKGVERSION.
16072 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16073 (print_version): Use PKGVERSION.
16074 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16075 (print_version): Use PKGVERSION.
16076 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16077 (print_version): Use PKGVERSION.
16078 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16079 (print_version): Use PKGVERSION.
16080 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16081 and BUGURL.
16082 ($(objpfx)memusage): Likewise.
16083 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16084 (do_version): Use PKGVERSION.
16085 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16086 (print_version): Use PKGVERSION.
16087 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16088 ($PKGVERSION): New variable.
16089 ($REPORT_BUGS_TO): Likewise.
16090 (usage): Use $REPORT_BUGS_TO.
16091 (top level): Use $PKGVERSION.
16092 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16093 ($(objpfx)pkgvers.texi): New rule.
16094 ($(objpfx)stamp-pkgvers): Likewise.
16095 * manual/install.texi: Include pkgvers.texi.
16096 (--with-pkgversion): Document new configure option.
16097 (--with-bugurl): Likewise.
16098 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16099 than necessarily for this particular distribution. Use
16100 REPORT_BUGS_TO for where to report bugs.
16101 * INSTALL: Regenerated.
16102 * manual/libc.texinfo: Include pkgvers.texi.
16103 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16104 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16105 (print_version): Use PKGVERSION.
16106 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16107 (print_version): Use PKGVERSION.
16108 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16109 (print_version): Use PKGVERSION.
16110 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16111 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16112 macro.
16113 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16114 (print_version): Use PKGVERSION.
16115 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16116 (print_version): Use PKGVERSION.
16117 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16118 and PKGVERSION.
16119
92e4b6a9
JM
16120 * timezone/checktab.awk: Update from tzcode 2012i.
16121 * timezone/ialloc.c: Likewise.
16122 * timezone/private.h: Likewise.
16123 * timezone/scheck.c: Likewise.
16124 * timezone/tzfile.h: Likewise.
16125 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16126 (TZVERSION): Hardcode tzcode version number.
16127 * timezone/zdump.c: Update from tzcode 2012i.
16128 * timezone/zic.c: Likewise.
16129 * timezone/version.h: New file.
16130 * timezone/README: Describe version.h. Update upstream location.
16131
9bde902c
JM
16132 [BZ #14824]
16133 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16134 (mktemp): Enable declaration.
16135 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16136 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16137 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16138 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16139 Likewise.
16140 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16141 Likewise.
16142 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16143 Likewise.
16144 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16145 Likewise.
16146 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16147 Likewise.
16148 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16149 Likewise.
16150
fb1ae1ee
JM
16151 [BZ #14821]
16152 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16153 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16154 for copies of such integer values.
16155 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16156 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16157
2c1adbcb
AJ
161582012-11-09 Andreas Jaeger <aj@suse.de>
16159
16160 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16161 definitions and declarations that are provided by
16162 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16163
d0f8457e
AK
161642012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16165
3a235abb 16166 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
16167 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16168 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16169 definition.
16170
57241e26
MS
161712012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16172
16173 * elf/elf.h: Update comment before AArch64 relocations.
16174
60e8270d
DM
161752012-11-07 David S. Miller <davem@davemloft.net>
16176
16177 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16178 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16179 (__start_context): Declare.
16180 (__makecontext_ret): Delete.
16181 (__makecontext): Hook up __start_context instead of
16182 __makecontext_ret.
16183 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16184 (sysdep_routines): Add __start_context when in stdlib.
16185
0fbb0fbc
JM
161862012-11-07 Joseph Myers <joseph@codesourcery.com>
16187
16188 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16189 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16190 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16191 hardcoded "nm".
16192 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16193 (READELF): New variable. Use it instead of hardcoded "readelf".
16194
eb48db7e
L
161952012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16196
16197 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16198 * sysdeps/x86/Makefile: Here.
16199 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16200 * sysdeps/x86/tst-xmmymm.sh: This.
16201
05bcf62a
JM
162022012-11-07 Joseph Myers <joseph@codesourcery.com>
16203
c4b6cf53
JM
16204 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16205 expectations.
16206 [UNIX98] (pthread_barrier_t): Do not expect.
16207 [UNIX98] (pthread_barrierattr_t): Likewise.
16208 [UNIX98] (pthread_spinlock_t): Likewise.
16209 [UNIX98] (pthread_barrier_destroy): Likewise.
16210 [UNIX98] (pthread_barrier_init): Likewise.
16211 [UNIX98] (pthread_barrier_wait): Likewise.
16212 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16213 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16214 [UNIX98] (pthread_barrierattr_init): Likewise.
16215 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16216 [UNIX98] (pthread_getcpuclockid): Likewise.
16217 [UNIX98] (pthread_mutex_timedlock): Likewise.
16218 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16219 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16220 [UNIX98] (pthread_sigmask): Likewise.
16221 [UNIX98] (pthread_spin_destroy): Likewise.
16222 [UNIX98] (pthread_spin_init): Likewise.
16223 [UNIX98] (pthread_spin_lock): Likewise.
16224 [UNIX98] (pthread_spin_trylock): Likewise.
16225 [UNIX98] (pthread_spin_unlock): Likewise.
16226 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16227 Do not expect.
16228 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16229 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16230 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16231 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16232 [XPG3 || XPG4] (pthread_key_t): Likewise.
16233 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16234 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16235 [XPG3 || XPG4] (pthread_once_t): Likewise.
16236 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16237 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16238 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16239 [XPG3 || XPG4] (pthread_t): Likewise.
16240
cbe6e120
JM
16241 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16242 not expect.
16243 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16244
1b126443
JM
16245 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16246 Change function return type to int.
16247
b961a573
JM
16248 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16249 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16250 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16251 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16252 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16253 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16254 [!POSIX] (posix_madvise): Likewise.
16255 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16256 && !UNIX98].
16257 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16258 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16259 (mode_t): Likewise.
16260 (posix_mem_offset): Likewise.
16261 (posix_typed_mem_get_info): Likewise.
16262 (posix_typed_mem_open): Likewise.
16263
9e188909
JM
16264 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16265 Change condition to [XOPEN2K8].
16266
05bcf62a
JM
16267 * conform/conformtest.pl: Preprocess allow-header data with -x c
16268 instead of from stdin.
16269 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16270 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16271 [C99-based standards] (cerfc): Likewise.
16272 [C99-based standards] (cexp2): Likewise.
16273 [C99-based standards] (cexpm1): Likewise.
16274 [C99-based standards] (clog10): Likewise.
16275 [C99-based standards] (clog1p): Likewise.
16276 [C99-based standards] (clog2): Likewise.
16277 [C99-based standards] (clgamma): Likewise.
16278 [C99-based standards] (ctgamma): Likewise.
16279 [C99-based standards] (cerff): Likewise.
16280 [C99-based standards] (cerfcf): Likewise.
16281 [C99-based standards] (cexp2f): Likewise.
16282 [C99-based standards] (cexpm1f): Likewise.
16283 [C99-based standards] (clog10f): Likewise.
16284 [C99-based standards] (clog1pf): Likewise.
16285 [C99-based standards] (clog2f): Likewise.
16286 [C99-based standards] (clgammaf): Likewise.
16287 [C99-based standards] (ctgammaf): Likewise.
16288 [C99-based standards] (cerfl): Likewise.
16289 [C99-based standards] (cerfcl): Likewise.
16290 [C99-based standards] (cexp2l): Likewise.
16291 [C99-based standards] (cexpm1l): Likewise.
16292 [C99-based standards] (clog10l): Likewise.
16293 [C99-based standards] (clog1pl): Likewise.
16294 [C99-based standards] (clog2l): Likewise.
16295 [C99-based standards] (clgammal): Likewise.
16296 [C99-based standards] (ctgammal): Likewise.
16297 * conform/data/inttypes.h-data [C99-based standards]: Include
16298 stdint.h-data. Remove all expectations for stdint.h contents.
16299 [C99-based standards] (PRI*): Do not allow.
16300 [C99-based standards] (SCN*): Likewise.
16301 [C99-based standards] (*_t): Likewise.
16302 [C99-based-standards] (PRId8): Expect macro.
16303 [C99-based-standards] (PRIi8): Likewise.
16304 [C99-based-standards] (PRIo8): Likewise.
16305 [C99-based-standards] (PRIu8): Likewise.
16306 [C99-based-standards] (PRIx8): Likewise.
16307 [C99-based-standards] (PRIX8): Likewise.
16308 [C99-based-standards] (SCNd8): Likewise.
16309 [C99-based-standards] (SCNi8): Likewise.
16310 [C99-based-standards] (SCNo8): Likewise.
16311 [C99-based-standards] (SCNu8): Likewise.
16312 [C99-based-standards] (SCNx8): Likewise.
16313 [C99-based-standards] (PRIdLEAST8): Likewise.
16314 [C99-based-standards] (PRIiLEAST8): Likewise.
16315 [C99-based-standards] (PRIoLEAST8): Likewise.
16316 [C99-based-standards] (PRIuLEAST8): Likewise.
16317 [C99-based-standards] (PRIxLEAST8): Likewise.
16318 [C99-based-standards] (PRIXLEAST8): Likewise.
16319 [C99-based-standards] (SCNdLEAST8): Likewise.
16320 [C99-based-standards] (SCNiLEAST8): Likewise.
16321 [C99-based-standards] (SCNoLEAST8): Likewise.
16322 [C99-based-standards] (SCNuLEAST8): Likewise.
16323 [C99-based-standards] (SCNxLEAST8): Likewise.
16324 [C99-based-standards] (PRIdFAST8): Likewise.
16325 [C99-based-standards] (PRIiFAST8): Likewise.
16326 [C99-based-standards] (PRIoFAST8): Likewise.
16327 [C99-based-standards] (PRIuFAST8): Likewise.
16328 [C99-based-standards] (PRIxFAST8): Likewise.
16329 [C99-based-standards] (PRIXFAST8): Likewise.
16330 [C99-based-standards] (SCNdFAST8): Likewise.
16331 [C99-based-standards] (SCNiFAST8): Likewise.
16332 [C99-based-standards] (SCNoFAST8): Likewise.
16333 [C99-based-standards] (SCNuFAST8): Likewise.
16334 [C99-based-standards] (SCNxFAST8): Likewise.
16335 [C99-based-standards] (PRId16): Likewise.
16336 [C99-based-standards] (PRIi16): Likewise.
16337 [C99-based-standards] (PRIo16): Likewise.
16338 [C99-based-standards] (PRIu16): Likewise.
16339 [C99-based-standards] (PRIx16): Likewise.
16340 [C99-based-standards] (PRIX16): Likewise.
16341 [C99-based-standards] (SCNd16): Likewise.
16342 [C99-based-standards] (SCNi16): Likewise.
16343 [C99-based-standards] (SCNo16): Likewise.
16344 [C99-based-standards] (SCNu16): Likewise.
16345 [C99-based-standards] (SCNx16): Likewise.
16346 [C99-based-standards] (PRIdLEAST16): Likewise.
16347 [C99-based-standards] (PRIiLEAST16): Likewise.
16348 [C99-based-standards] (PRIoLEAST16): Likewise.
16349 [C99-based-standards] (PRIuLEAST16): Likewise.
16350 [C99-based-standards] (PRIxLEAST16): Likewise.
16351 [C99-based-standards] (PRIXLEAST16): Likewise.
16352 [C99-based-standards] (SCNdLEAST16): Likewise.
16353 [C99-based-standards] (SCNiLEAST16): Likewise.
16354 [C99-based-standards] (SCNoLEAST16): Likewise.
16355 [C99-based-standards] (SCNuLEAST16): Likewise.
16356 [C99-based-standards] (SCNxLEAST16): Likewise.
16357 [C99-based-standards] (PRIdFAST16): Likewise.
16358 [C99-based-standards] (PRIiFAST16): Likewise.
16359 [C99-based-standards] (PRIoFAST16): Likewise.
16360 [C99-based-standards] (PRIuFAST16): Likewise.
16361 [C99-based-standards] (PRIxFAST16): Likewise.
16362 [C99-based-standards] (PRIXFAST16): Likewise.
16363 [C99-based-standards] (SCNdFAST16): Likewise.
16364 [C99-based-standards] (SCNiFAST16): Likewise.
16365 [C99-based-standards] (SCNoFAST16): Likewise.
16366 [C99-based-standards] (SCNuFAST16): Likewise.
16367 [C99-based-standards] (SCNxFAST16): Likewise.
16368 [C99-based-standards] (PRId32): Likewise.
16369 [C99-based-standards] (PRIi32): Likewise.
16370 [C99-based-standards] (PRIo32): Likewise.
16371 [C99-based-standards] (PRIu32): Likewise.
16372 [C99-based-standards] (PRIx32): Likewise.
16373 [C99-based-standards] (PRIX32): Likewise.
16374 [C99-based-standards] (SCNd32): Likewise.
16375 [C99-based-standards] (SCNi32): Likewise.
16376 [C99-based-standards] (SCNo32): Likewise.
16377 [C99-based-standards] (SCNu32): Likewise.
16378 [C99-based-standards] (SCNx32): Likewise.
16379 [C99-based-standards] (PRIdLEAST32): Likewise.
16380 [C99-based-standards] (PRIiLEAST32): Likewise.
16381 [C99-based-standards] (PRIoLEAST32): Likewise.
16382 [C99-based-standards] (PRIuLEAST32): Likewise.
16383 [C99-based-standards] (PRIxLEAST32): Likewise.
16384 [C99-based-standards] (PRIXLEAST32): Likewise.
16385 [C99-based-standards] (SCNdLEAST32): Likewise.
16386 [C99-based-standards] (SCNiLEAST32): Likewise.
16387 [C99-based-standards] (SCNoLEAST32): Likewise.
16388 [C99-based-standards] (SCNuLEAST32): Likewise.
16389 [C99-based-standards] (SCNxLEAST32): Likewise.
16390 [C99-based-standards] (PRIdFAST32): Likewise.
16391 [C99-based-standards] (PRIiFAST32): Likewise.
16392 [C99-based-standards] (PRIoFAST32): Likewise.
16393 [C99-based-standards] (PRIuFAST32): Likewise.
16394 [C99-based-standards] (PRIxFAST32): Likewise.
16395 [C99-based-standards] (PRIXFAST32): Likewise.
16396 [C99-based-standards] (SCNdFAST32): Likewise.
16397 [C99-based-standards] (SCNiFAST32): Likewise.
16398 [C99-based-standards] (SCNoFAST32): Likewise.
16399 [C99-based-standards] (SCNuFAST32): Likewise.
16400 [C99-based-standards] (SCNxFAST32): Likewise.
16401 [C99-based-standards] (PRId64): Likewise.
16402 [C99-based-standards] (PRIi64): Likewise.
16403 [C99-based-standards] (PRIo64): Likewise.
16404 [C99-based-standards] (PRIu64): Likewise.
16405 [C99-based-standards] (PRIx64): Likewise.
16406 [C99-based-standards] (PRIX64): Likewise.
16407 [C99-based-standards] (SCNd64): Likewise.
16408 [C99-based-standards] (SCNi64): Likewise.
16409 [C99-based-standards] (SCNo64): Likewise.
16410 [C99-based-standards] (SCNu64): Likewise.
16411 [C99-based-standards] (SCNx64): Likewise.
16412 [C99-based-standards] (PRIdLEAST64): Likewise.
16413 [C99-based-standards] (PRIiLEAST64): Likewise.
16414 [C99-based-standards] (PRIoLEAST64): Likewise.
16415 [C99-based-standards] (PRIuLEAST64): Likewise.
16416 [C99-based-standards] (PRIxLEAST64): Likewise.
16417 [C99-based-standards] (PRIXLEAST64): Likewise.
16418 [C99-based-standards] (SCNdLEAST64): Likewise.
16419 [C99-based-standards] (SCNiLEAST64): Likewise.
16420 [C99-based-standards] (SCNoLEAST64): Likewise.
16421 [C99-based-standards] (SCNuLEAST64): Likewise.
16422 [C99-based-standards] (SCNxLEAST64): Likewise.
16423 [C99-based-standards] (PRIdFAST64): Likewise.
16424 [C99-based-standards] (PRIiFAST64): Likewise.
16425 [C99-based-standards] (PRIoFAST64): Likewise.
16426 [C99-based-standards] (PRIuFAST64): Likewise.
16427 [C99-based-standards] (PRIxFAST64): Likewise.
16428 [C99-based-standards] (PRIXFAST64): Likewise.
16429 [C99-based-standards] (SCNdFAST64): Likewise.
16430 [C99-based-standards] (SCNiFAST64): Likewise.
16431 [C99-based-standards] (SCNoFAST64): Likewise.
16432 [C99-based-standards] (SCNuFAST64): Likewise.
16433 [C99-based-standards] (SCNxFAST64): Likewise.
16434 [C99-based-standards] (PRIdMAX): Likewise.
16435 [C99-based-standards] (PRIiMAX): Likewise.
16436 [C99-based-standards] (PRIoMAX): Likewise.
16437 [C99-based-standards] (PRIuMAX): Likewise.
16438 [C99-based-standards] (PRIxMAX): Likewise.
16439 [C99-based-standards] (PRIXMAX): Likewise.
16440 [C99-based-standards] (SCNdMAX): Likewise.
16441 [C99-based-standards] (SCNiMAX): Likewise.
16442 [C99-based-standards] (SCNoMAX): Likewise.
16443 [C99-based-standards] (SCNuMAX): Likewise.
16444 [C99-based-standards] (SCNxMAX): Likewise.
16445 [C99-based-standards] (PRIdPTR): Likewise.
16446 [C99-based-standards] (PRIiPTR): Likewise.
16447 [C99-based-standards] (PRIoPTR): Likewise.
16448 [C99-based-standards] (PRIuPTR): Likewise.
16449 [C99-based-standards] (PRIxPTR): Likewise.
16450 [C99-based-standards] (PRIXPTR): Likewise.
16451 [C99-based-standards] (SCNdPTR): Likewise.
16452 [C99-based-standards] (SCNiPTR): Likewise.
16453 [C99-based-standards] (SCNoPTR): Likewise.
16454 [C99-based-standards] (SCNuPTR): Likewise.
16455 [C99-based-standards] (SCNxPTR): Likewise.
16456 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16457 allow.
16458 * conform/data/stdint.h-data: Update comments to clarify
16459 requirements.
16460 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16461 type.
16462 [C99-based standards] (INT8_MAX): Likewise.
16463 [C99-based standards] (INT16_MIN): Likewise.
16464 [C99-based standards] (INT16_MAX): Likewise.
16465 [C99-based standards] (INT32_MIN): Likewise.
16466 [C99-based standards] (INT32_MAX): Likewise.
16467 [C99-based standards] (INT64_MIN): Likewise.
16468 [C99-based standards] (INT64_MAX): Likewise.
16469 [C99-based standards] (UINT8_MAX): Likewise.
16470 [C99-based standards] (UINT16_MAX): Likewise.
16471 [C99-based standards] (UINT32_MAX): Likewise.
16472 [C99-based standards] (UINT64_MAX): Likewise.
16473 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16474 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16475 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16476 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16477 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16478 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16479 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16480 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16481 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16482 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16483 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16484 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16485 [C99-based standards] (INT_FAST8_MIN): Likewise.
16486 [C99-based standards] (INT_FAST8_MAX): Likewise.
16487 [C99-based standards] (INT_FAST16_MIN): Likewise.
16488 [C99-based standards] (INT_FAST16_MAX): Likewise.
16489 [C99-based standards] (INT_FAST32_MIN): Likewise.
16490 [C99-based standards] (INT_FAST32_MAX): Likewise.
16491 [C99-based standards] (INT_FAST64_MIN): Likewise.
16492 [C99-based standards] (INT_FAST64_MAX): Likewise.
16493 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16494 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16495 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16496 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16497 [C99-based standards] (INTPTR_MIN): Likewise.
16498 [C99-based standards] (INTPTR_MAX): Likewise.
16499 [C99-based standards] (UINTPTR_MAX): Likewise.
16500 [C99-based standards] (INTMAX_MIN): Likewise.
16501 [C99-based standards] (INTMAX_MAX): Likewise.
16502 [C99-based standards] (UINTMAX_MAX): Likewise.
16503 [C99-based standards] (PTRDIFF_MIN): Likewise.
16504 [C99-based standards] (PTRDIFF_MAX): Likewise.
16505 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16506 [C99-based standards] (SIZE_MAX): Likewise.
16507 [C99-based standards] (WCHAR_MAX): Likewise.
16508 [C99-based standards] (WINT_MAX): Likewise.
16509 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16510 constraint on value.
16511 [C99-based standards] (WCHAR_MIN): Likewise.
16512 [C99-based standards] (WINT_MIN): Likewise.
16513 [C99-based standards] (*_t): Allow.
16514 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16515 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16516 Include math.h-data and complex.h-data. Remove all expectations
16517 of math.h and complex.h contents.
16518 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16519 at end of line.
16520 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16521 (struct tm): Expect tag.
16522 [C99-based-standards] (wcstof): Expect function.
16523 [C99-based-standards] (wcstold): Likewise.
16524 [C99-based-standards] (wcstoll): Likewise.
16525 [C99-based-standards] (wcstoull): Likewise.
16526 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16527 macro-int-constant. Specify type.
16528 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16529 constraint on value.
16530 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16531 Specify type.
16532 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16533 Specify value.
16534 [ISO C standards]: Do not allow headers.
16535 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16536 wcs[abcdefghijklmnopqrstuvwxyz]*.
16537 [ISO C standards] (*_t): Do not allow.
16538 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16539 Expect function.
16540 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16541 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16542 Specify type.
16543 [ISO C standards]: Do not allow headers.
16544 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16545 is[abcdefghijklmnopqrstuvwxyz]*.
16546 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16547 to[abcdefghijklmnopqrstuvwxyz]*.
16548 [ISO C standards] (*_t): Do not allow.
16549 * conform/data/stdalign.h-data: New file.
16550 * conform/data/stdbool.h-data: Likewise.
16551 * conform/data/stdnoreturn.h-data: Likewise.
16552
7514feb8
RM
165532012-11-07 Roland McGrath <roland@hack.frob.com>
16554
16555 [BZ #14815]
16556 * manual/filesys.texi (Directory Entries): Typo fix.
16557 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16558
19b2ecfc
MS
165592012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16560
16561 * elf/elf.h (EM_AARCH64): New macro.
16562 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16563 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16564 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16565 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16566 (R_AARCH64_TLSDESC): Likewise.
16567 (NT_ARM_TLS): Likewise.
16568 (NT_ARM_HW_BREAK): Likewise.
16569 (NT_ARM_HW_WATCH): Likewise.
16570
60e235ee
JM
165712012-11-07 Joseph Myers <joseph@codesourcery.com>
16572
16573 [BZ #14811]
16574 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16575 (__ieee754_powl): Saturate nonzero exponents with absolute value
16576 below 0x1p-79 to +/- 0x1p-79.
16577 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16578 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16579 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16580 nonzero exponents with absolute value below 0x1p-32 to +/-
16581 0x1p-32.
16582 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16583 (__ieee754_powl): Saturate nonzero exponents with absolute value
16584 below 0x1p-79 to +/- 0x1p-79.
16585 * math/libm-test.inc (pow_test): Add more tests.
16586
0ab234b7
AK
165872012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16588
16589 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16590 _dl_s390_cap_flags with kernel. Increase string length.
16591 (_dl_s390_platforms): Add z196 and zEC12.
16592
45832f74
JM
165932012-11-07 Joseph Myers <joseph@codesourcery.com>
16594
16595 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16596 Change XOPEN21K to XOPEN2K.
16597
19218757
MK
165982012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16599
16600 * string/memmove.c: Use memcpy when possible.
16601
c5f45721
AJ
166022012-11-06 Andreas Jaeger <aj@suse.de>
16603
16604 * po/eo.po: Update from translation team.
16605
82477c28
JM
166062012-11-06 Joseph Myers <joseph@codesourcery.com>
16607
16608 [BZ #14793]
16609 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16610 exponent and small x and y exponents, scale x or y up. Increase
16611 by 2 the exponent used in scaling up.
16612 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16613 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16614 * math/libm-test.inc (fma_test): Add more tests.
16615 (fma_test_towardzero): Likewise.
16616 (fma_test_downward): Likewise.
16617 (fma_test_upward): Likewise.
16618
99252c8c
JM
166192012-11-05 Joseph Myers <joseph@codesourcery.com>
16620
acfa885f
JM
16621 [BZ #14805]
16622 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16623 fenv_t *.
16624
99252c8c
JM
16625 [BZ #14801]
16626 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16627 namespace for names of struct fields.
16628 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16629 fenv_t fields.
16630 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16631 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16632
d6d98dea
ST
166332012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16634
16635 [BZ #3665]
16636 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16637
e10bb107
TS
166382012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16639
16640 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16641 PTR_DEMANGLE.
16642
16643 [BZ #5246]
16644 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16645 PTR_DEMANGLE.
16646
a0c2940d
JM
166472012-11-04 Joseph Myers <joseph@codesourcery.com>
16648
16649 [BZ #14797]
16650 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16651 definitely overflow as x * y not x * y + z.
16652 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16653 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16654 * math/libm-test.inc (fma_test): Add more tests.
16655 (fma_test_towardzero): Likewise.
16656 (fma_test_downward): Likewise.
16657 (fma_test_upward): Likewise.
16658
b830319d
TS
166592012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16660
16661 [BZ #157]
16662
16663 * include/stub-tag.h: Remove file.
16664 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16665 '#include' of it.
16666 * manual/maint.texi (Porting): Don't reference it.
16667 * Makerules ($(objpfx)stubs): Likewise.
16668 * dirent/closedir.c: Don't include <stub-tag.h>.
16669 * dirent/dirfd.c: Likewise.
16670 * dirent/fdopendir.c: Likewise.
16671 * dirent/getdents.c: Likewise.
16672 * dirent/getdents64.c: Likewise.
16673 * dirent/opendir.c: Likewise.
16674 * dirent/readdir.c: Likewise.
16675 * dirent/readdir64.c: Likewise.
16676 * dirent/readdir64_r.c: Likewise.
16677 * dirent/readdir_r.c: Likewise.
16678 * dirent/rewinddir.c: Likewise.
16679 * dirent/seekdir.c: Likewise.
16680 * dirent/telldir.c: Likewise.
16681 * gmon/profil.c: Likewise.
16682 * grp/setgroups.c: Likewise.
16683 * inet/if_index.c: Likewise.
16684 * io/access.c: Likewise.
16685 * io/chdir.c: Likewise.
16686 * io/chmod.c: Likewise.
16687 * io/chown.c: Likewise.
16688 * io/close.c: Likewise.
16689 * io/dup.c: Likewise.
16690 * io/dup2.c: Likewise.
16691 * io/dup3.c: Likewise.
16692 * io/euidaccess.c: Likewise.
16693 * io/faccessat.c: Likewise.
16694 * io/fchdir.c: Likewise.
16695 * io/fchmod.c: Likewise.
16696 * io/fchmodat.c: Likewise.
16697 * io/fchown.c: Likewise.
16698 * io/fchownat.c: Likewise.
16699 * io/fcntl.c: Likewise.
16700 * io/flock.c: Likewise.
16701 * io/fstatfs.c: Likewise.
16702 * io/fstatfs64.c: Likewise.
16703 * io/fstatvfs.c: Likewise.
16704 * io/fstatvfs64.c: Likewise.
16705 * io/futimens.c: Likewise.
16706 * io/fxstat.c: Likewise.
16707 * io/fxstat64.c: Likewise.
16708 * io/fxstatat.c: Likewise.
16709 * io/fxstatat64.c: Likewise.
16710 * io/getcwd.c: Likewise.
16711 * io/isatty.c: Likewise.
16712 * io/lchmod.c: Likewise.
16713 * io/lchown.c: Likewise.
16714 * io/link.c: Likewise.
16715 * io/linkat.c: Likewise.
16716 * io/lseek.c: Likewise.
16717 * io/lseek64.c: Likewise.
16718 * io/lxstat64.c: Likewise.
16719 * io/mkdir.c: Likewise.
16720 * io/mkdirat.c: Likewise.
16721 * io/mkfifo.c: Likewise.
16722 * io/mkfifoat.c: Likewise.
16723 * io/open.c: Likewise.
16724 * io/open64.c: Likewise.
16725 * io/openat.c: Likewise.
16726 * io/openat64.c: Likewise.
16727 * io/pipe.c: Likewise.
16728 * io/pipe2.c: Likewise.
16729 * io/poll.c: Likewise.
16730 * io/posix_fadvise.c: Likewise.
16731 * io/posix_fadvise64.c: Likewise.
16732 * io/posix_fallocate.c: Likewise.
16733 * io/posix_fallocate64.c: Likewise.
16734 * io/read.c: Likewise.
16735 * io/readlink.c: Likewise.
16736 * io/readlinkat.c: Likewise.
16737 * io/rmdir.c: Likewise.
16738 * io/sendfile.c: Likewise.
16739 * io/sendfile64.c: Likewise.
16740 * io/statfs.c: Likewise.
16741 * io/statfs64.c: Likewise.
16742 * io/statvfs.c: Likewise.
16743 * io/statvfs64.c: Likewise.
16744 * io/symlink.c: Likewise.
16745 * io/symlinkat.c: Likewise.
16746 * io/ttyname.c: Likewise.
16747 * io/ttyname_r.c: Likewise.
16748 * io/umask.c: Likewise.
16749 * io/unlink.c: Likewise.
16750 * io/unlinkat.c: Likewise.
16751 * io/utime.c: Likewise.
16752 * io/utimensat.c: Likewise.
16753 * io/write.c: Likewise.
16754 * io/xmknod.c: Likewise.
16755 * io/xmknodat.c: Likewise.
16756 * io/xstat.c: Likewise.
16757 * io/xstat64.c: Likewise.
16758 * login/getpt.c: Likewise.
16759 * login/grantpt.c: Likewise.
16760 * login/unlockpt.c: Likewise.
16761 * math/e_acoshl.c: Likewise.
16762 * math/e_acosl.c: Likewise.
16763 * math/e_asinl.c: Likewise.
16764 * math/e_atan2l.c: Likewise.
16765 * math/e_atanhl.c: Likewise.
16766 * math/e_coshl.c: Likewise.
16767 * math/e_expl.c: Likewise.
16768 * math/e_fmodl.c: Likewise.
16769 * math/e_gammal_r.c: Likewise.
16770 * math/e_hypotl.c: Likewise.
16771 * math/e_j0l.c: Likewise.
16772 * math/e_j1l.c: Likewise.
16773 * math/e_jnl.c: Likewise.
16774 * math/e_lgammal_r.c: Likewise.
16775 * math/e_log10l.c: Likewise.
16776 * math/e_log2l.c: Likewise.
16777 * math/e_logl.c: Likewise.
16778 * math/e_powl.c: Likewise.
16779 * math/e_rem_pio2l.c: Likewise.
16780 * math/e_sinhl.c: Likewise.
16781 * math/e_sqrtl.c: Likewise.
16782 * math/fclrexcpt.c: Likewise.
16783 * math/fedisblxcpt.c: Likewise.
16784 * math/feenablxcpt.c: Likewise.
16785 * math/fegetenv.c: Likewise.
16786 * math/fegetexcept.c: Likewise.
16787 * math/fegetround.c: Likewise.
16788 * math/feholdexcpt.c: Likewise.
16789 * math/fesetenv.c: Likewise.
16790 * math/fesetround.c: Likewise.
16791 * math/feupdateenv.c: Likewise.
16792 * math/fgetexcptflg.c: Likewise.
16793 * math/fraiseexcpt.c: Likewise.
16794 * math/fsetexcptflg.c: Likewise.
16795 * math/ftestexcept.c: Likewise.
16796 * math/k_cosl.c: Likewise.
16797 * math/k_rem_pio2l.c: Likewise.
16798 * math/k_sinl.c: Likewise.
16799 * math/k_tanl.c: Likewise.
16800 * math/s_asinhl.c: Likewise.
16801 * math/s_atanl.c: Likewise.
16802 * math/s_cbrtl.c: Likewise.
16803 * math/s_erfl.c: Likewise.
16804 * math/s_expm1l.c: Likewise.
16805 * math/s_log1pl.c: Likewise.
16806 * math/s_tanhl.c: Likewise.
16807 * misc/acct.c: Likewise.
16808 * misc/brk.c: Likewise.
16809 * misc/chflags.c: Likewise.
16810 * misc/chroot.c: Likewise.
16811 * misc/fchflags.c: Likewise.
16812 * misc/fgetxattr.c: Likewise.
16813 * misc/flistxattr.c: Likewise.
16814 * misc/fremovexattr.c: Likewise.
16815 * misc/fsetxattr.c: Likewise.
16816 * misc/fsync.c: Likewise.
16817 * misc/ftruncate.c: Likewise.
16818 * misc/futimes.c: Likewise.
16819 * misc/futimesat.c: Likewise.
16820 * misc/getdomain.c: Likewise.
16821 * misc/getdtsz.c: Likewise.
16822 * misc/gethostid.c: Likewise.
16823 * misc/gethostname.c: Likewise.
16824 * misc/getloadavg.c: Likewise.
16825 * misc/getpagesize.c: Likewise.
16826 * misc/getsysstats.c: Likewise.
16827 * misc/getxattr.c: Likewise.
16828 * misc/gtty.c: Likewise.
16829 * misc/ioctl.c: Likewise.
16830 * misc/lgetxattr.c: Likewise.
16831 * misc/listxattr.c: Likewise.
16832 * misc/llistxattr.c: Likewise.
16833 * misc/lremovexattr.c: Likewise.
16834 * misc/lsetxattr.c: Likewise.
16835 * misc/lutimes.c: Likewise.
16836 * misc/madvise.c: Likewise.
16837 * misc/mincore.c: Likewise.
16838 * misc/mlock.c: Likewise.
16839 * misc/mlockall.c: Likewise.
16840 * misc/mmap.c: Likewise.
16841 * misc/mprotect.c: Likewise.
16842 * misc/msync.c: Likewise.
16843 * misc/munlock.c: Likewise.
16844 * misc/munlockall.c: Likewise.
16845 * misc/munmap.c: Likewise.
16846 * misc/preadv.c: Likewise.
16847 * misc/preadv64.c: Likewise.
16848 * misc/ptrace.c: Likewise.
16849 * misc/pwritev.c: Likewise.
16850 * misc/pwritev64.c: Likewise.
16851 * misc/readv.c: Likewise.
16852 * misc/reboot.c: Likewise.
16853 * misc/remap_file_pages.c: Likewise.
16854 * misc/removexattr.c: Likewise.
16855 * misc/revoke.c: Likewise.
16856 * misc/select.c: Likewise.
16857 * misc/setdomain.c: Likewise.
16858 * misc/setegid.c: Likewise.
16859 * misc/seteuid.c: Likewise.
16860 * misc/sethostid.c: Likewise.
16861 * misc/sethostname.c: Likewise.
16862 * misc/setregid.c: Likewise.
16863 * misc/setreuid.c: Likewise.
16864 * misc/setxattr.c: Likewise.
16865 * misc/sstk.c: Likewise.
16866 * misc/stty.c: Likewise.
16867 * misc/swapoff.c: Likewise.
16868 * misc/swapon.c: Likewise.
16869 * misc/sync.c: Likewise.
16870 * misc/syncfs.c: Likewise.
16871 * misc/syscall.c: Likewise.
16872 * misc/truncate.c: Likewise.
16873 * misc/ualarm.c: Likewise.
16874 * misc/usleep.c: Likewise.
16875 * misc/ustat.c: Likewise.
16876 * misc/utimes.c: Likewise.
16877 * misc/vhangup.c: Likewise.
16878 * misc/writev.c: Likewise.
16879 * posix/_exit.c: Likewise.
16880 * posix/alarm.c: Likewise.
16881 * posix/execve.c: Likewise.
16882 * posix/fexecve.c: Likewise.
16883 * posix/fork.c: Likewise.
16884 * posix/fpathconf.c: Likewise.
16885 * posix/getaddrinfo.c: Likewise.
16886 * posix/getegid.c: Likewise.
16887 * posix/geteuid.c: Likewise.
16888 * posix/getgid.c: Likewise.
16889 * posix/getgroups.c: Likewise.
16890 * posix/getlogin.c: Likewise.
16891 * posix/getlogin_r.c: Likewise.
16892 * posix/getpgid.c: Likewise.
16893 * posix/getpid.c: Likewise.
16894 * posix/getppid.c: Likewise.
16895 * posix/getresgid.c: Likewise.
16896 * posix/getresuid.c: Likewise.
16897 * posix/getsid.c: Likewise.
16898 * posix/getuid.c: Likewise.
16899 * posix/glob64.c: Likewise.
16900 * posix/nanosleep.c: Likewise.
16901 * posix/pathconf.c: Likewise.
16902 * posix/pause.c: Likewise.
16903 * posix/posix_madvise.c: Likewise.
16904 * posix/pread.c: Likewise.
16905 * posix/pread64.c: Likewise.
16906 * posix/pwrite.c: Likewise.
16907 * posix/pwrite64.c: Likewise.
16908 * posix/sched_getaffinity.c: Likewise.
16909 * posix/sched_getp.c: Likewise.
16910 * posix/sched_gets.c: Likewise.
16911 * posix/sched_primax.c: Likewise.
16912 * posix/sched_primin.c: Likewise.
16913 * posix/sched_rr_gi.c: Likewise.
16914 * posix/sched_setaffinity.c: Likewise.
16915 * posix/sched_setp.c: Likewise.
16916 * posix/sched_sets.c: Likewise.
16917 * posix/sched_yield.c: Likewise.
16918 * posix/setgid.c: Likewise.
16919 * posix/setlogin.c: Likewise.
16920 * posix/setpgid.c: Likewise.
16921 * posix/setresgid.c: Likewise.
16922 * posix/setresuid.c: Likewise.
16923 * posix/setsid.c: Likewise.
16924 * posix/setuid.c: Likewise.
16925 * posix/sleep.c: Likewise.
16926 * posix/spawni.c: Likewise.
16927 * posix/sysconf.c: Likewise.
16928 * posix/times.c: Likewise.
16929 * posix/wait.c: Likewise.
16930 * posix/wait3.c: Likewise.
16931 * posix/wait4.c: Likewise.
16932 * posix/waitpid.c: Likewise.
16933 * resolv/gai_sigqueue.c: Likewise.
16934 * resource/getpriority.c: Likewise.
16935 * resource/getrlimit.c: Likewise.
16936 * resource/getrusage.c: Likewise.
16937 * resource/nice.c: Likewise.
16938 * resource/setpriority.c: Likewise.
16939 * resource/setrlimit.c: Likewise.
16940 * resource/ulimit.c: Likewise.
16941 * rt/aio_cancel.c: Likewise.
16942 * rt/aio_fsync.c: Likewise.
16943 * rt/aio_read.c: Likewise.
16944 * rt/aio_sigqueue.c: Likewise.
16945 * rt/aio_suspend.c: Likewise.
16946 * rt/aio_write.c: Likewise.
16947 * rt/clock_getres.c: Likewise.
16948 * rt/clock_gettime.c: Likewise.
16949 * rt/clock_nanosleep.c: Likewise.
16950 * rt/clock_settime.c: Likewise.
16951 * rt/lio_listio.c: Likewise.
16952 * rt/mq_close.c: Likewise.
16953 * rt/mq_getattr.c: Likewise.
16954 * rt/mq_notify.c: Likewise.
16955 * rt/mq_open.c: Likewise.
16956 * rt/mq_receive.c: Likewise.
16957 * rt/mq_send.c: Likewise.
16958 * rt/mq_setattr.c: Likewise.
16959 * rt/mq_timedreceive.c: Likewise.
16960 * rt/mq_timedsend.c: Likewise.
16961 * rt/mq_unlink.c: Likewise.
16962 * rt/shm_open.c: Likewise.
16963 * rt/shm_unlink.c: Likewise.
16964 * rt/timer_create.c: Likewise.
16965 * rt/timer_delete.c: Likewise.
16966 * rt/timer_getoverr.c: Likewise.
16967 * rt/timer_gettime.c: Likewise.
16968 * rt/timer_settime.c: Likewise.
16969 * setjmp/__longjmp.c: Likewise.
16970 * setjmp/setjmp.c: Likewise.
16971 * signal/kill.c: Likewise.
16972 * signal/killpg.c: Likewise.
16973 * signal/raise.c: Likewise.
16974 * signal/sigaction.c: Likewise.
16975 * signal/sigaltstack.c: Likewise.
16976 * signal/sigblock.c: Likewise.
16977 * signal/sigignore.c: Likewise.
16978 * signal/sigintr.c: Likewise.
16979 * signal/signal.c: Likewise.
16980 * signal/sigpause.c: Likewise.
16981 * signal/sigpending.c: Likewise.
16982 * signal/sigqueue.c: Likewise.
16983 * signal/sigreturn.c: Likewise.
16984 * signal/sigset.c: Likewise.
16985 * signal/sigsetmask.c: Likewise.
16986 * signal/sigstack.c: Likewise.
16987 * signal/sigsuspend.c: Likewise.
16988 * signal/sigtimedwait.c: Likewise.
16989 * signal/sigvec.c: Likewise.
16990 * signal/sigwait.c: Likewise.
16991 * signal/sigwaitinfo.c: Likewise.
16992 * signal/sysv_signal.c: Likewise.
16993 * socket/accept.c: Likewise.
16994 * socket/accept4.c: Likewise.
16995 * socket/bind.c: Likewise.
16996 * socket/connect.c: Likewise.
16997 * socket/getpeername.c: Likewise.
16998 * socket/getsockname.c: Likewise.
16999 * socket/getsockopt.c: Likewise.
17000 * socket/isfdtype.c: Likewise.
17001 * socket/listen.c: Likewise.
17002 * socket/recv.c: Likewise.
17003 * socket/recvfrom.c: Likewise.
17004 * socket/recvmsg.c: Likewise.
17005 * socket/send.c: Likewise.
17006 * socket/sendmsg.c: Likewise.
17007 * socket/sendto.c: Likewise.
17008 * socket/setsockopt.c: Likewise.
17009 * socket/shutdown.c: Likewise.
17010 * socket/sockatmark.c: Likewise.
17011 * socket/socket.c: Likewise.
17012 * socket/socketpair.c: Likewise.
17013 * stdio-common/ctermid.c: Likewise.
17014 * stdio-common/cuserid.c: Likewise.
17015 * stdio-common/remove.c: Likewise.
17016 * stdio-common/rename.c: Likewise.
17017 * stdio-common/renameat.c: Likewise.
17018 * stdio-common/tempname.c: Likewise.
17019 * stdlib/getcontext.c: Likewise.
17020 * stdlib/makecontext.c: Likewise.
17021 * stdlib/setcontext.c: Likewise.
17022 * stdlib/swapcontext.c: Likewise.
17023 * stdlib/system.c: Likewise.
17024 * streams/fattach.c: Likewise.
17025 * streams/fdetach.c: Likewise.
17026 * streams/getmsg.c: Likewise.
17027 * streams/getpmsg.c: Likewise.
17028 * streams/putmsg.c: Likewise.
17029 * streams/putpmsg.c: Likewise.
17030 * sysdeps/unix/bsd/getpt.c: Likewise.
17031 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17032 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17033 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17035 Likewise.
17036 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17037 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17038 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17039 * sysvipc/msgctl.c: Likewise.
17040 * sysvipc/msgget.c: Likewise.
17041 * sysvipc/msgrcv.c: Likewise.
17042 * sysvipc/msgsnd.c: Likewise.
17043 * sysvipc/semctl.c: Likewise.
17044 * sysvipc/semget.c: Likewise.
17045 * sysvipc/semop.c: Likewise.
17046 * sysvipc/semtimedop.c: Likewise.
17047 * sysvipc/shmat.c: Likewise.
17048 * sysvipc/shmctl.c: Likewise.
17049 * sysvipc/shmdt.c: Likewise.
17050 * sysvipc/shmget.c: Likewise.
17051 * termios/tcdrain.c: Likewise.
17052 * termios/tcflow.c: Likewise.
17053 * termios/tcflush.c: Likewise.
17054 * termios/tcgetattr.c: Likewise.
17055 * termios/tcgetpgrp.c: Likewise.
17056 * termios/tcsendbrk.c: Likewise.
17057 * termios/tcsetattr.c: Likewise.
17058 * termios/tcsetpgrp.c: Likewise.
17059 * time/adjtime.c: Likewise.
17060 * time/clock.c: Likewise.
17061 * time/getitimer.c: Likewise.
17062 * time/gettimeofday.c: Likewise.
17063 * time/setitimer.c: Likewise.
17064 * time/settimeofday.c: Likewise.
17065 * time/stime.c: Likewise.
17066 * time/time.c: Likewise.
17067
170682012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 17069
a20492cf
PT
17070 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17071 /usr/old/bin.
17072
72e182e3
PT
17073 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17074 instead of spaces.
17075 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17076
fbeafede
JM
170772012-11-03 Joseph Myers <joseph@codesourcery.com>
17078
5b5b04d6
JM
17079 [BZ #14796]
17080 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17081 FE_TONEAREST before applying Dekker multiplication and Knuth
17082 addition. Clear inexact exceptions and check for exact zero
17083 results afterwards.
17084 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17085 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17086 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17087 * math/libm-test.inc (fma_test): Add more tests.
17088 (fma_test_towardzero): Likewise.
17089 (fma_test_downward): Likewise.
17090 (fma_test_upward): Likewise.
17091 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17092 function.
17093 (libc_fesetround): New macro.
17094 (libc_fesetroundf): Likewise.
17095 (libc_fesetroundl): Likewise.
17096 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17097 function.
17098 (libc_fesetround_387): Likewise.
17099 (libc_fesetroundf): New macro.
17100 (libc_fesetround): Likewise.
17101 (libc_fesetroundl): Likewise.
17102 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17103 function.
17104 (libc_fesetroundf): New macro.
17105 (libc_fesetround): Likewise.
17106 (libc_fesetroundl): Likewise.
17107 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17108 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17109 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17110 libm_hidden_ver.
17111 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17112 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17113 libm_hidden_def.
17114 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17115 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17116 libm_hidden_ver.
17117 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17118 libm_hidden_def.
17119
fbeafede
JM
17120 [BZ #3439]
17121 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17122 integer constant usable in #if and use that to give value to enum
17123 constant.
17124 (FE_DIVBYZERO): Likewise.
17125 (FE_UNDERFLOW): Likewise.
17126 (FE_OVERFLOW): Likewise.
17127 (FE_INVALID): Likewise.
17128 (FE_INVALID_SNAN): Likewise.
17129 (FE_INVALID_ISI): Likewise.
17130 (FE_INVALID_IDI): Likewise.
17131 (FE_INVALID_ZDZ): Likewise.
17132 (FE_INVALID_IMZ): Likewise.
17133 (FE_INVALID_COMPARE): Likewise.
17134 (FE_INVALID_SOFTWARE): Likewise.
17135 (FE_INVALID_SQRT): Likewise.
17136 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17137 (FE_TONEAREST): Likewise.
17138 (FE_TOWARDZERO): Likewise.
17139 (FE_UPWARD): Likewise.
17140 (FE_DOWNWARD): Likewise.
17141 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17142 (FE_DIVBYZERO): Likewise.
17143 (FE_OVERFLOW): Likewise.
17144 (FE_UNDERFLOW): Likewise.
17145 (FE_INEXACT): Likewise.
17146 (FE_TONEAREST): Likewise.
17147 (FE_DOWNWARD): Likewise.
17148 (FE_UPWARD): Likewise.
17149 (FE_TOWARDZERO): Likewise.
17150 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17151 (FE_UNDERFLOW): Likewise.
17152 (FE_OVERFLOW): Likewise.
17153 (FE_DIVBYZERO): Likewise.
17154 (FE_INVALID): Likewise.
17155 (FE_TONEAREST): Likewise.
17156 (FE_TOWARDZERO): Likewise.
17157 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17158 (FE_OVERFLOW): Likewise.
17159 (FE_UNDERFLOW): Likewise.
17160 (FE_DIVBYZERO): Likewise.
17161 (FE_INEXACT): Likewise.
17162 (FE_TONEAREST): Likewise.
17163 (FE_TOWARDZERO): Likewise.
17164 (FE_UPWARD): Likewise.
17165 (FE_DOWNWARD): Likewise.
17166 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17167 (FE_DIVBYZERO): Likewise.
17168 (FE_OVERFLOW): Likewise.
17169 (FE_UNDERFLOW): Likewise.
17170 (FE_INEXACT): Likewise.
17171 (FE_TONEAREST): Likewise.
17172 (FE_DOWNWARD): Likewise.
17173 (FE_UPWARD): Likewise.
17174 (FE_TOWARDZERO): Likewise.
17175
105ca950
CM
171762012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17177
17178 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17179
a542b389
AS
171802012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17181
17182 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17183 commands. Quote $PWD.
17184 (blacklist_exports): Don't use remove_newlines. Replace "declare
17185 -x" by "export".
17186 (remove_newlines): Remove.
17187
f62c8abc
L
171882012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17189
17190 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17191 * stdlib/stdlib.h (atof): Moved to ...
17192 * include/bits/stdlib-float.h: Here. New file.
17193 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17194 * stdlib/bits/stdlib-float.h: New file.
17195 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17196 -mno-sse -mno-mmx.
17197 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17198 <xmmintrin.h>.
17199
0155d5b2
JM
172002012-11-02 Joseph Myers <joseph@codesourcery.com>
17201
a68d0680
JM
17202 * conform/conformtest.pl (@headers): Add fenv.h.
17203 * conform/data/fenv.h-data: New file.
17204 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17205 include of <math/fenv.h>.
17206
caf7f573
JM
17207 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17208 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17209 && !UNIX98]. Enables tests for XOPEN2K8.
17210 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17211 POSIX2008]: Likewise.
17212
6c073ad6
JM
17213 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17214 (struct rusage): Do not expect type or its members.
17215
0155d5b2
JM
17216 [BZ #3439]
17217 * math/math.h (FP_NAN): Define macro to integer constant usable in
17218 #if and use that to give value to enum constant.
17219 (FP_INFINITE): Likewise.
17220 (FP_ZERO): Likewise.
17221 (FP_SUBNORMAL): Likewise.
17222 (FP_NORMAL): Likewise.
17223
b5dcacb4
AS
172242012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17225
17226 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17227 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17228 arguments.
17229
f7934be8
RM
172302012-11-02 Roland McGrath <roland@hack.frob.com>
17231
17232 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17233 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17234 autoconf-time if not.
17235 * configure.in: Remove AC_PREREQ.
17236
d7d08bde
TMQMF
172372012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17238
17239 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17240 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17241 of the internal implementation.
17242
dcdae19a
JM
172432012-11-02 Joseph Myers <joseph@codesourcery.com>
17244
17245 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17246 except include of <misc/sys/syslog.h>.
17247
d6cffd3e
AS
172482012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17249
17250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17251 function returns with a NULL context exit with zero.
17252
b3563932
TMQMF
172532012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17254
17255 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17256
b288a93d
L
172572012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17258
17259 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17260 (run_program_cmd): This.
17261 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17262 (tst_langinfo): New variable. Use it.
17263
a2421a68
SAS
172642012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17265
17266 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17267 floating point opcodes.
17268
6f796e1b
TS
172692012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17270
7402596b
TS
17271 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17272 variable.
17273
d0d4f868
TS
17274 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17275
6f796e1b
TS
17276 * sysdeps/mach/hurd/powerpc: Remove directory.
17277 * sysdeps/mach/powerpc: Likewise.
17278
4da224a2
AS
172792012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17280
17281 * scripts/check-local-headers.sh: Ignore c++ headers.
17282
341dd673
TS
172832012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17284
17285 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17286 __libc_cleanup_region_start argument.
17287
473611b2
JM
172882012-11-01 Joseph Myers <joseph@codesourcery.com>
17289
17290 [BZ #14784]
17291 [BZ #14785]
17292 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17293 x * y using scaling, not as x * y + z.
17294 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17295 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17296 * math/libm-test.inc (fma_test): Add more tests.
17297 (fma_test_towardzero): Likewise.
17298 (fma_test_downward): Likewise.
17299 (fma_test_upward): Likewise.
17300
4078da3d
TS
173012012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17302
17303 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17304
903252aa
JM
173052012-10-31 Joseph Myers <joseph@codesourcery.com>
17306
17307 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17308 New variable.
17309
cbc818d0
TS
173102012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17311
17312 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17313
5a03cb1e
AS
173142012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17315
17316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17317 Fix sort order.
17318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17319 Likewise.
17320
90aff2ff
TMQMF
173212012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17322
17323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17324 Fix the order of the list for glibc 2.17.
17325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17326 Likewise.
17327
1818fcb7
AS
173282012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17329
17330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17331
ef82f4da
JM
173322012-10-31 Joseph Myers <joseph@codesourcery.com>
17333
16a0e2ec
JM
17334 [BZ #14610]
17335 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17336 for low part of x being zero before using __atanl (y).
17337 * math/libm-test.inc (atan2_test): Add another test.
17338
0eb69512
JM
17339 * manual/install.texi (Configuring and compiling): Document
17340 general use of test-wrapper and test-wrapper-env.
17341 * INSTALL: Regenerated.
17342
ef82f4da
JM
17343 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17344 (__fma): Do not extract and scale down low bits on after-rounding
17345 systems when result rounded to normal precision would have normal
17346 exponent.
17347 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17348 (__fmal): Do not extract and scale down low bits on after-rounding
17349 systems when result rounded to normal precision would have normal
17350 exponent.
17351 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17352 (__fmal): Do not extract and scale down low bits on after-rounding
17353 systems when result rounded to normal precision would have normal
17354 exponent.
17355 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17356 macro.
17357 (fma_test): Add more tests.
17358 (fma_test_towardzero): Likewise.
17359 (fma_test_downward): Likewise.
17360 (fma_test_upward): Likewise.
17361
954ef0d9
L
173622012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17363
17364 * sysdeps/i386/tininess.h: Renamed to ...
17365 * sysdeps/x86/tininess.h: This.
17366 * sysdeps/x86_64/tininess.h: Removed.
17367
df61ffb2
JM
173682012-10-30 Joseph Myers <joseph@codesourcery.com>
17369
17370 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17371 input. Use $(build-program-cmd).
17372 ($(objpfx)tst-array1-static.out): Likewise.
17373 ($(objpfx)tst-array2.out): Likewise.
17374 ($(objpfx)tst-array3.out): Likewise.
17375 ($(objpfx)tst-array4.out): Likewise.
17376 ($(objpfx)tst-array5.out): Likewise.
17377 ($(objpfx)tst-array5-static.out): Likewise.
17378
01767843
CM
173792012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17380
47cc1490
CM
17381 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17382 if defined.
17383
01767843
CM
17384 * nss/nsswitch.h (nss_interface_function): Provide new
17385 macro for use with NSS functions.
17386 * grp/initgroups.c: Use new macro.
17387 * nss/getXXbyYY.c: Likewise.
17388 * nss/getXXbyYY_r.c: Likewise.
17389 * nss/getXXent.c: Likewise.
17390 * nss/getXXent_r.c: Likewise.
17391 * sysdeps/posix/getaddrinfo.c: Likewise.
17392
8321aa97
AJ
173932012-10-30 Andreas Jaeger <aj@suse.de>
17394
17395 * po/ru.po: Update Russion translation from translation project.
17396
2a27fd6d
JM
173972012-10-30 Joseph Myers <joseph@codesourcery.com>
17398
8627a232
JM
17399 [BZ #14152]
17400 [BZ #14783]
17401 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17402 result and shift together with sticky bit instead of replicating
17403 round-to-nearest rounding.
17404 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17405 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17406 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17407 missing underflow exceptions.
17408 (fma_test_towardzero): Add more tests.
17409 (fma_test_downward): Likewise.
17410 (fma_test_upward): Likewise.
17411
2a27fd6d
JM
17412 [BZ #14047]
17413 * sysdeps/generic/tininess.h: New file.
17414 * sysdeps/i386/tininess.h: Likewise.
17415 * sysdeps/sh/tininess.h: Likewise.
17416 * sysdeps/x86_64/tininess.h: Likewise.
17417 * stdlib/tst-strtod-underflow.c: Likewise.
17418 * stdlib/tst-tininess.c: Likewise.
17419 * stdlib/strtod_l.c: Include <tininess.h>.
17420 (round_and_return): Do not set errno for exact underflow cases.
17421 Force an underflow exception when setting errno for underflow.
17422 Determine underflow based on rounding to normal precision if
17423 TININESS_AFTER_ROUNDING.
17424 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17425 ERANGE for exact underflow cases.
17426 * stdlib/Makefile (tests): Add tst-tininess and
17427 tst-strtod-underflow.
17428 ($(objpfx)tst-tininess): Use $(link-libm).
17429 ($(objpfx)tst-strtod-underflow): Likewise.
17430
e7170363
AJ
174312012-10-30 Andreas Jaeger <aj@suse.de>
17432
e5088dc6
AJ
17433 [BZ#14767]
17434 * elf/Makefile (tests): Remove conditional for have-initfini-array
17435 since this is now always required and the variable does not exist
17436 anymore.
17437 (tests-static): Likewise.
17438 (modules-names): Likewise.
17439
e7170363 17440 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
17441
17442 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17443 merged with constructor/destructor.
17444 (init_array): Likewise.
17445 * elf/tst-array2dep.c (fini_array): Likewise.
17446 (init_array): Likewise.
17447
60457d8a
MF
174482012-10-29 Mike Frysinger <vapier@gentoo.org>
17449
17450 * manual/message.texi: Delete @cartouche tags.
17451
8bece752
PT
174522012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17453
94ce799f
PT
17454 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17455 EOPNOTSUPP.
17456 * sysdeps/mach/hurd/fsync.c: Likewise.
17457
8bece752
PT
17458 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17459 [_POSIX_REALTIME_SIGNALS]: Change condition to
17460 [_POSIX_REALTIME_SIGNALS > 0].
17461
86ebe6b1
AJ
174622012-10-27 Andreas Jaeger <aj@suse.de>
17463
17464 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17465 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17466 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17467 [__WORDSIZE != 64]: Likewise.
17468
54399c08
L
174692012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17470
17471 * iconvdata/tst-table.sh: Remove ${SHELL}.
17472 * iconvdata/tst-tables.sh: Likewise.
17473
e2211bed
DM
174742012-10-25 David S. Miller <davem@davemloft.net>
17475
17476 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17477 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17478 of strtoull.
17479
f303f97c
DM
17480 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17481 ifunc-impl-list.c
17482 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17483 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17484 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17485 file.
17486
1e9d84cd
RM
174872012-10-25 Roland McGrath <roland@hack.frob.com>
17488
17489 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17490 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17491 __getdirentries.
17492
df381762
JM
174932012-10-25 Joseph Myers <joseph@codesourcery.com>
17494 Jim Blandy <jimb@codesourcery.com>
17495
17496 * scripts/cross-test-ssh.sh: New file.
17497 * manual/install.texi (Configuring and compiling): Document use of
17498 cross-test-ssh.sh.
17499 * INSTALL: Regenerated.
17500
bff64913
PT
175012012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17502
17503 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17504 EOPNOTSUPP.
17505
25fe8932
JM
175062012-10-25 Joseph Myers <joseph@codesourcery.com>
17507
17508 * Makeconfig (run-program-prefix): Fix comment.
17509
cc1290d0
JM
175102012-10-24 Joseph Myers <joseph@codesourcery.com>
17511 Jim Blandy <jimb@codesourcery.com>
17512
17513 * Makeconfig (test-wrapper): New variable,
17514 (test-wrapper-env): Likewise.
17515 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17516 (run-built-tests): Define to yes.
17517 (run-program-prefix): Use $(test-wrapper).
17518 (built-program-cmd): Likewise.
17519 * Rules (make-test-out): Use $(test-wrapper-env) and
17520 $(host-built-program-cmd).
17521 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17522 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17523 tst-pathopt.sh.
17524 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17525 $(test-wrapper-env) to tst-rtld-load-self.sh.
17526 ($(objpfx)order2.out): Use $(test-wrapper).
17527 ($(objpfx)tst-initorder.out): Likewise.
17528 ($(objpfx)tst-initorder2.out): Likewise.
17529 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17530 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17531 (test_wrapper_env): New variable. Use it to run ld.so.
17532 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17533 Use it to run ld.so.
17534 (test_wrapper_env): Likewise.
17535 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17536 $(test-wrapper) to run-iconv-test.sh.
17537 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17538 (ICONV): Use $test_wrapper.
17539 * posix/Makefile ($(objpfx)globtest.out): Pass
17540 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17541 globtest.sh, not $(run-program-prefix).
17542 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17543 (test_wrapper): Likewise.
17544 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17545 set together with run_via_rtld_prefix.
17546 (run_program_prefix): Define in terms of test_wrapper and
17547 run_via_rtld_prefix.
17548
6e6249d0
RM
175492012-10-24 Roland McGrath <roland@hack.frob.com>
17550
17551 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17552 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17553 Targets removed.
17554
17555 [BZ #14743]
17556 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17557 Declare __clock_getres, __clock_gettime, __clock_settime,
17558 __clock_nanosleep, and __clock_getcpuclockid.
17559 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17560 Remove librt_hidden_def (clock_gettime).
17561 * sysdeps/unix/clock_gettime.c: Likewise.
17562 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17563 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17564 * rt/clock_getres.c: Define __clock_getres as an alias.
17565 * sysdeps/posix/clock_getres.c: Likewise.
17566 * rt/clock_settime.c: Define __clock_settime as an alias.
17567 * sysdeps/unix/clock_settime.c: Likewise.
17568 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17569 * sysdeps/unix/clock_nanosleep.c: Likewise.
17570 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17571 * rt/clock-compat.c: New file.
17572 * rt/Makefile (librt-routines): Add clock-compat and move
17573 $(clock-routines) to ...
17574 (routines): ... here, new variable.
17575 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17576 Don't add get_clockfreq here.
17577 * rt/Versions (libc: GLIBC_2.17): New version set.
17578 Add clock_* symbols here.
17579 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17580 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17581 (GLIBC_2.17): Add clock_* symbols.
17582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17584 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17586 Likewise.
17587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17588 Likewise.
17589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17593 * NEWS: Mention the move.
17594
17595 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17596 Use __open, __read, __close rather than their public counterparts.
17597 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17598 (__get_clockfreq_via_cpuinfo): Likewise.
17599 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17600 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17601
17602 * config.h.in (HAVE_IFUNC): New #undef.
17603 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17604 was successful.
17605 * configure: Regenerated.
17606
0cae3f4b
MF
176072012-10-24 Mike Frysinger <vapier@gentoo.org>
17608
17609 * configure.in: Move READELF check to start of file.
17610 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17611 libc_cv_asm_gnu_indirect_function in the process.
17612 * configure: Regenerated.
17613
8175a253
MF
176142012-10-24 Mike Frysinger <vapier@gentoo.org>
17615
17616 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17617 send the output to /dev/null.
17618 (libc_cv_cc_with_libunwind): Likewise.
17619 (libc_cv_as_noexecstack): Likewise.
17620 * configure: Regenerate.
17621
0708a7d1
JM
176222012-10-24 Joseph Myers <joseph@codesourcery.com>
17623
10b40d85
JM
17624 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17625
0708a7d1
JM
17626 * posix/globtest.sh (TMPDIR): Do not set.
17627 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17628 (testout): Likewise.
17629
9fddec1a
AJ
176302012-10-24 Andreas Jaeger <aj@suse.de>
17631
3a8db22f
AJ
17632 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17633 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17634 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17635 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17636 posix_fadvise64, posix_fallocate64.
17637
9fddec1a
AJ
17638 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17639 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17640 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17641 Likewise.
17642 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17643 Likewise.
17644 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17645
17646 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17647 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17648 <bits/fcntl-linux.h>.
17649 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17650
17651 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17652 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17653 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17654 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17655 [__WORDSIZE != 64]: Likewise.
17656
ebfd1bbd
JM
176572012-10-23 Joseph Myers <joseph@codesourcery.com>
17658
03ac099f
JM
17659 * Makeconfig (run-built-tests): New variable.
17660 * Rules [$(cross-compiling) = yes]: Change condition to
17661 [$(run-built-tests) = no].
17662 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17663 to [$(run-built-tests) = yes].
17664 * elf/Makefile [$(cross-compiling) = no]: Likewise
17665 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17666 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17667 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17668 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17669 * io/Makefile [$(cross-compiling) = no]: Likewise.
17670 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17671 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17672 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17673 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17674 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17675 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17676 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17677 * string/Makefile [$(cross-compiling) = no]: Likewise.
17678
ebfd1bbd
JM
17679 * posix/Makefile ($(objpfx)globtest.out): Pass
17680 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17681 $(rtld-installed-name).
17682 * posix/globtest.sh (elf_objpfx): Remove variable.
17683 (rtld_installed_name): Likewise.
17684 (library_path): Likewise.
17685 (run_program_prefix): New variable. Use for running globtest
17686 binary.
17687
166bca24
JB
176882012-10-23 Jim Blandy <jimb@codesourcery.com>
17689 Joseph Myers <joseph@codesourcery.com>
17690
17691 * Makeconfig (host-built-program-cmd): New variable.
17692 * elf/Makefile (tst-stackguard1-ARGS): Use
17693 $(host-built-program-cmd).
17694 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17695 (tst-spawn-ARGS): Likewise.
17696 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17697
88866099
JM
176982012-10-23 Joseph Myers <joseph@codesourcery.com>
17699 Jim Blandy <jimb@codesourcery.com>
17700
17701 * Makeconfig (run-via-rtld-prefix): New variable.
17702 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17703 (built-program-cmd): Likewise.
17704
b4b4c296
AJ
177052012-10-22 Andreas Jaeger <aj@suse.de>
17706
17707 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17708 __O_RSYNC if it exists, otherwise to O_SYNC.
17709
6fb54a22
JB
177102012-10-22 Jim Blandy <jimb@codesourcery.com>
17711 Joseph Myers <joseph@codesourcery.com>
17712
17713 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17714 /dev/null.
17715 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17716 from /dev/null
17717 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17718 /dev/null.
17719
481b90b9
AJ
177202012-10-22 Andreas Jaeger <aj@suse.de>
17721
2a0e2669
AJ
17722 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17723 Define always.
17724 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17725
76e38f9a
AJ
17726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17727 bits/fcntl-linux.h.
17728
7cd37b43
AJ
17729 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17730 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17731
481b90b9
AJ
17732 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17733 to __O_LARGEFILE.
17734 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17735 to __O_LARGEFILE.
17736
aba75984
JB
177372012-10-21 Jim Blandy <jimb@codesourcery.com>
17738 Joseph Myers <joseph@codesourcery.com>
17739
17740 * config.make.in (NM): New variable.
17741
88d4247f
AJ
177422012-10-21 Andreas Jaeger <aj@suse.de>
17743
17744 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17745 definitions and declarations that are provided by
17746 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17747
f2eed205
L
177482012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17749
17750 [BZ #14683]
17751 * elf/Makefile (tests-static): Add tst-leaks1-static.
17752 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17753 ($(objpfx)tst-leaks1-static): New rule.
17754 ($(objpfx)tst-leaks1-static-mem): Likewise.
17755 (tst-leaks1-static-ENV): New macro.
17756 * elf/dl-open.c (dl_open_worker): Check the main application
17757 only if SHARED is defined.
17758 * elf/tst-leaks1-static.c: New file.
17759
335e6931
AJ
177602012-10-20 Andreas Jaeger <aj@suse.de>
17761
17762 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17763 generic values for Linux.
17764 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17765 and declarations that are provided by <bits/fcntl-linux.h> and
17766 include <bits/fcntl-linux.h>.
17767 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17768 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17769
ac5c94d3
RM
177702012-10-20 Roland McGrath <roland@hack.frob.com>
17771
17772 * io/fcntl.h: Move include of <bits/types.h> to the top and
17773 include it unconditionally.
17774
de54b33a
L
177752012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17776
228cfb01
L
17777 * wcsmbs/Makefile (tests-ifunc): New variable.
17778 (tests): Add $(tests-ifunc).
17779 * wcsmbs/test-wcschr-ifunc.c: New file.
17780 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17781 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17782 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17783 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17784 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17785
69f07e5f
L
17786 * string/Makefile (tests-ifunc): New variable.
17787 (tests): Add $(tests-ifunc).
17788 * string/test-memccpy.c (TEST_NAME): New macro.
17789 * string/test-memchr.c (TEST_NAME): Likewise.
17790 * string/test-memcmp.c (TEST_NAME): Likewise.
17791 * string/test-memcpy.c (TEST_NAME): Likewise.
17792 * string/test-memmem.c (TEST_NAME): Likewise.
17793 * string/test-memmove.c (TEST_NAME): Likewise.
17794 * string/test-memset.c (TEST_NAME): Likewise.
17795 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17796 * string/test-stpcpy.c (TEST_NAME): Likewise.
17797 * string/test-stpncpy.c (TEST_NAME): Likewise.
17798 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17799 * string/test-strcasestr.c (TEST_NAME): Likewise.
17800 * string/test-strcat.c (TEST_NAME): Likewise.
17801 * string/test-strchr.c (TEST_NAME): Likewise.
17802 * string/test-strcmp.c(TEST_NAME): Likewise.
17803 * string/test-strcpy.c (TEST_NAME): Likewise.
17804 * string/test-strcspn.c (TEST_NAME): Likewise.
17805 * string/test-strlen.c (TEST_NAME): Likewise.
17806 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17807 * string/test-strncmp.c (TEST_NAME): Likewise.
17808 * string/test-strncpy.c (TEST_NAME): Likewise.
17809 * string/test-strnlen.c (TEST_NAME): Likewise.
17810 * string/test-strpbrk.c (TEST_NAME): Likewise.
17811 * string/test-strrchr.c (TEST_NAME): Likewise.
17812 * string/test-strspn.c (TEST_NAME): Likewise.
17813 * string/test-strstr.c (TEST_NAME): Likewise.
17814 * string/test-bcopy-ifunc.c: New file.
17815 * string/test-bzero-ifunc.c: Likewise.
17816 * string/test-memccpy-ifunc.c: Likewise.
17817 * string/test-memchr-ifunc.c: Likewise.
17818 * string/test-memcmp-ifunc.c: Likewise.
17819 * string/test-memcpy-ifunc.c: Likewise.
17820 * string/test-memmem-ifunc.c: Likewise.
17821 * string/test-memmove-ifunc.c: Likewise.
17822 * string/test-mempcpy-ifunc.c: Likewise.
17823 * string/test-memset-ifunc.c: Likewise.
17824 * string/test-rawmemchr-ifunc.c: Likewise.
17825 * string/test-stpcpy-ifunc.c: Likewise.
17826 * string/test-stpncpy-ifunc.c: Likewise.
17827 * string/test-strcasecmp-ifunc.c: Likewise.
17828 * string/test-strcasestr-ifunc.c: Likewise.
17829 * string/test-strcat-ifunc.c: Likewise.
17830 * string/test-strchr-ifunc.c: Likewise.
17831 * string/test-strchrnul-ifunc.c: Likewise.
17832 * string/test-strcmp-ifunc.c: Likewise.
17833 * string/test-strcpy-ifunc.c: Likewise.
17834 * string/test-strcspn-ifunc.c: Likewise.
17835 * string/test-strlen-ifunc.c: Likewise.
17836 * string/test-strncasecmp-ifunc.c: Likewise.
17837 * string/test-strncat-ifunc.c: Likewise.
17838 * string/test-strncmp-ifunc.c: Likewise.
17839 * string/test-strncpy-ifunc.c: Likewise.
17840 * string/test-strnlen-ifunc.c: Likewise.
17841 * string/test-strpbrk-ifunc.c: Likewise.
17842 * string/test-strrchr-ifunc.c: Likewise.
17843 * string/test-strspn-ifunc.c: Likewise.
17844 * string/test-strstr-ifunc.c: Likewise.
17845
de54b33a
L
17846 * debug/Makefile (tests-ifunc): New variable.
17847 (tests): Add $(tests-ifunc).
17848 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17849 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17850 * debug/test-stpcpy_chk-ifunc.c: New file.
17851 * debug/test-strcpy_chk-ifunc.c: Likewise.
17852
88481c16
SP
178532012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17854
17855 [BZ #13601]
17856 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17857 header is not read in.
17858
135948bd
JM
178592012-10-19 Joseph Myers <joseph@codesourcery.com>
17860
89f1c388
JM
17861 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17862 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17863 directly. Pass built executable to script as
17864 $(built-program-cmd).
17865 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17866 $testprogram without using LD_LIBRARY_PATH and $ldso.
17867
e40a0d21
JM
17868 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17869 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17870 $(rtld-installed-name).
17871 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17872 (rtld_installed_name): Likewise.
17873 (library_path): Likewise.
17874 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17875 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17876 $(run-program-prefix) to tst-tables.sh.
17877 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17878 it to run tst-table-from and tst-table-to.
17879 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17880 Pass it to tst-table.sh.
17881 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17882 $(run-program-prefix) to tst-gettext.sh.
17883 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17884 tst-translit.sh.
17885 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17886 tst-gettext2.sh.
17887 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17888 to run tst-gettext.
17889 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17890 to run tst-gettext2.
17891 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17892 to run tst-translit.
17893 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17894 $(run-program-prefix) to tst-mtrace.sh.
17895 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17896 to run tst-mtrace.
17897 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17898 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17899 $(rtld-installed-name).
17900 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17901 (rtld_installed_name): Likewise.
17902 (run_program_prefix): New variable. Use it to run wordexp-test.
17903
728e272a
JM
17904 * Makeconfig (ARCH): Remove all definitions.
17905 (machine): Likewise.
17906 [ARCH]: Remove conditional code.
17907 [!objdir]: Give error.
17908 [!objdir] (objpfx): Remove.
17909 [!objdir] (common-objpfx): Likewise.
17910 [!objdir] (common-objdir): Likewise.
17911 * configure.in (config_makefile): Remove. Hardcode Makefile in
17912 AC_CONFIG_FILES call.
17913 * configure: Regenerated.
17914
d528cdcf
JM
17915 [BZ #13888]
17916 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17917 or TMPDIR.
17918 (testout): Likewise.
17919
135948bd
JM
17920 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17921 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17922 $(rtld-installed-name).
17923 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17924 (rtld_installed_name): Likwise.
17925 (runit): Remove function.
17926 (run_getconf): New variable, Use it for running getconf binary.
17927
38c78296
L
179282012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17929
17930 [BZ #14716]
17931 * string/test-memmem.c (check_result): New function.
17932 (do_one_test): Use it.
17933 (check1): New function.
17934 (test_main): Use it.
17935
d077f65f
MT
179362012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17937
17938 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17939
ced52c71
JM
179402012-10-18 Joseph Myers <joseph@codesourcery.com>
17941
17942 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17943 (_G_LSEEK64): Likewise.
17944 (_G_MMAP64): Likewise.
17945 (_G_FSTAT64): Likewise.
17946 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17947 (_G_LSEEK64): Likewise.
17948 (_G_MMAP64): Likewise.
17949 (_G_FSTAT64): Likewise.
17950 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17951 unconditional. Call __mmap64 directly.
17952 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17953 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17954 __lseek64 directly.
17955 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17956 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17957 __mmap64 directly.
17958 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17959 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17960 __lseek64 directly.
17961 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17962 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17963 __lseek64 directly.
17964 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17965 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17966 __lseek64 directly.
17967 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17968 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17969 __fxstat64 directly.
17970 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17971 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17972 unconditional.
17973 (freopen64) [!_G_OPEN64]: Remove conditional code.
17974 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17975 unconditional.
17976 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17977 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17978 unconditional.
17979 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17980 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17981 unconditional.
17982 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17983 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17984 unconditional.
17985 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17986 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17987 unconditional.
17988 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17989 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17990 unconditional.
17991 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17992 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17993 unconditional.
17994 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17995
b741de23
SP
179962012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17997
17998 [BZ #12140]
17999 * manual/memory.texi (Malloc Tunable Parameters): Add note
18000 about free list pointers overwriting some perturb bytes.
18001 Wording suggested by Roland McGrath.
18002
f9b9d9c9
JM
180032012-10-17 Joseph Myers <joseph@codesourcery.com>
18004
18005 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18006 (lgamma_test): Likewise.
18007 (tgamma_test): Likewise.
18008
172a631a
FW
180092012-10-16 Florian Weimer <fweimer@redhat.com>
18010
18011 [BZ #14700]
18012 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18013 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18014
e9f37252
MK
180152012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18016
18017 * NEWS: Mention BZ #14716.
18018 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18019 when removing AVAILABLE1_USES_J macro.
18020
d394eb74
L
180212012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18022
18023 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18024 (__bswap_64): __uint64_t for unsigned 64-bit int.
18025
ca38dc17
AS
180262012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18027
18028 * include/string.h (memmem): Declare libc hidden alias.
18029 * string/memmem.c (memmem): Define libc hidden alias.
18030 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18031 __read, __close instead of open, read, close.
18032
9a387d1f
L
180332012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18034
ac49ecaf
L
18035 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18036 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18037 global and hidden.
18038 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18039 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18040 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18041 Likewise.
18042 (__rawmemchr_sse2): Likewise.
18043 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18044 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18045 (__strchr_sse2): Likewise.
18046 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18047 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18048 (__strcasecmp_sse2): Likewise.
18049 (__strncasecmp_sse2): Likewise.
18050 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18051 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18052 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18053 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18054 (__strrchr_sse2): Likewise.
18055 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18056 ifunc-impl-list.c.
18057 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18058 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18059 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18060 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18061 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18062 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18063 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18064 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18065 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18066 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18067 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18068 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18069 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18070 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18071 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18072 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18073 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18074 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18075 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18076 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18077 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18078 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18079 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18080 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18081 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18082 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18083 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18084 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18085 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18086 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18087
b090e8ea
L
18088 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18089 global and hidden.
18090 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18091 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18092 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18093 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18094 Likewise.
18095 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18096 Likewise.
18097 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18098 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18099 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18100 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18101 ifunc-impl-list.c.
18102 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18103 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18104 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18105 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18106 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18107 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18108 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18109 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18110 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18111 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18112 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18113 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18114 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18115 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18116 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18117 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18118 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18119 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18120 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18121 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18122 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18123 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18124 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18125 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18126 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18127 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18128 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18129 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18130 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18131 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18132 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18133 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18134 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18135 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18136 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18137 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18138 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18139 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18140 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18141 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18142 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18143
11dd4af6
L
18144 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18145 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18146 * include/ifunc-impl-list.h: New file.
18147 * misc/ifunc-impl-list.c: Likewise.
18148 * misc/Makefile (routines): Add ifunc-impl-list.
18149 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18150 * string/test-string.h: Include <ifunc-impl-list.h>.
18151 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18152 impl_array): New variables.
18153 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18154 are defined.
18155 (test_init): Call __libc_ifunc_impl_list to initialize
18156 func_list if TEST_IFUNC and TEST_NAME are defined.
18157
9a387d1f
L
18158 * string/Makefile (strop-tests): Add bcopy and bzero.
18159 * string/test-bcopy.c: New file.
18160 * string/test-bzero.c: Likewise.
18161 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18162 defined.
18163 * string/test-memset.c: Support bzero test if TEST_BZERO is
18164 defined.
18165 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18166 __libc_memmove.
18167 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18168 __libc_memset.
18169 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18170 of memset.
18171
472371b9
JM
181722012-10-10 Joseph Myers <joseph@codesourcery.com>
18173
1e4a9536
JM
18174 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18175 * configure: Regenerated.
18176
d173d12e
JM
18177 * Makeconfig (+link-static-before-libc): Don't include
18178 $(link-static-libc).
18179
472371b9
JM
18180 * libio/libio.h (_IO_pos_t): Remove.
18181
89a3ad0b
AO
181822012-10-10 Alexandre Oliva <aoliva@redhat.com>
18183
18184 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18185 McGrath.
18186
e7451425
AO
181872012-10-10 Alexandre Oliva <aoliva@redhat.com>
18188
18189 * crypt/crypt-entry.c: Include fips-private.h.
18190 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18191 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18192 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18193 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18194
4ba74a35
AO
181952012-10-10 Alexandre Oliva <aoliva@redhat.com>
18196
18197 * crypt/crypt-private.h: Include stdbool.h.
18198 (_ufc_setup_salt_r): Return bool.
18199 * crypt/crypt-entry.c: Include errno.h.
18200 (__crypt_r): Return NULL with EINVAL for bad salt.
18201 * crypt/crypt_util.c (bad_for_salt): New.
18202 (_ufc_setup_salt_r): Check that salt is long enough and within
18203 the specified alphabet.
18204 * crypt/badsalttest.c: New file.
18205 * crypt/Makefile (tests): Add it.
18206 ($(objpfx)badsalttest): New.
18207
f96f1242
MK
182082012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18209
18210 * NEWS: Add entry for BZ #14602.
18211
0e8e0c1c
JM
182122012-10-09 Joseph Myers <joseph@codesourcery.com>
18213
18214 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18215 type-generic.
18216 * math/libm-test.inc: Update comment listing what functions and
18217 macros are tested.
18218 (isgreater_test): New function.
18219 (isgreaterequal_test): Likewise.
18220 (isless_test): Likewise.
18221 (islessequal_test): Likewise.
18222 (islessgreater_test): Likewise.
18223 (isunordered_test): Likewise.
18224 (main): Call the new functions.
18225
273edc5e
RM
182262012-10-09 Roland McGrath <roland@hack.frob.com>
18227
b8493de0
RM
18228 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18229 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18230 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18231 * sysdeps/i386/configure: Regenerated.
18232 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18233 * sysdeps/mach/configure: Regenerated.
18234 * sysdeps/mach/hurd/configure: Regenerated.
18235 * sysdeps/powerpc/configure: Regenerated.
18236 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18237 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18238 * sysdeps/s390/s390-32/configure: Regenerated.
18239 * sysdeps/s390/s390-64/configure: Regenerated.
18240 * sysdeps/sh/configure: Regenerated.
18241 * sysdeps/sparc/configure: Regenerated.
18242 * sysdeps/unix/sysv/linux/configure: Regenerated.
18243 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18244 * sysdeps/x86_64/configure: Regenerated.
18245
273edc5e
RM
18246 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18247 defined. Don't check if MAP is NULL.
18248
c8450f70
JM
182492012-10-09 Joseph Myers <joseph@codesourcery.com>
18250
18251 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18252 (_G_stat64): Likewise.
18253 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18254 (_G_stat64): Likewise.
18255 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18256 instead of struct _G_stat64.
18257 * libio/fileops.c (mmap_remap_check): Likewise.
18258 (decide_maybe_mmap): Likewise.
18259 (_IO_new_file_seekoff): Likewise.
18260 (_IO_file_stat): Likewise.
18261 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18262 _G_off64_t.
18263 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18264 instead of struct _G_stat64.
18265 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18266
57e605ba
MK
182672012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18268
18269 [BZ #14602]
18270 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18271 Replace with ...
18272 (CHECK_EOL): New macro.
18273 (two_way_short_needle): Check beginning of haystack for EOL. Use
18274 CHECK_EOL.
18275 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18276 Replace with CHECK_EOL.
18277 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18278 Replace with CHECK_EOL.
18279
ef1bb361
JM
182802012-10-08 Joseph Myers <joseph@codesourcery.com>
18281
18282 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18283 type-generic.
18284 * math/libm-test.inc: Update comment listing what functions and
18285 macros are tested.
18286 (finite_test): New function.
18287 (isinf_test): Likewise.
18288 (isnan_test): Likewise.
18289 (fpclassify_test): Test subnormal input.
18290 (isfinite_test): Likewise.
18291 (isnormal_test): Likewise.
18292 (main): Call the new functions.
18293
55f11534
JN
182942012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18295
18296 [BZ #14660]
18297 * Makerules (%.dynsym): Force C locale when running
18298 $(OBJDUMP) --dynamic-syms.
18299
1ab29350
AS
183002012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18301
18302 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18303 <stdint.h>.
18304
f1ecb7ef
DM
183052012-10-06 David S. Miller <davem@davemloft.net>
18306
18307 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18308 upper 32-bits of the length value in %o2 since we use branch-on-register
18309 tests which consider the entire 64-bit register.
18310
5d41d91a
L
183112012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18312
18313 * string/test-strstr.c (check2): Add a test for page boundary.
18314
3baddb72
DM
183152012-10-05 David S. Miller <davem@davemloft.net>
18316
18317 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18318 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18319 file.
18320 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18321 sysdep_routines.
18322 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18323 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18324 and bzero when HWCAP_SPARC_CRYPTO is present.
18325
9cee5585
L
183262012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18327
d7e0dab9
L
18328 [BZ #14602]
18329 * string/test-strstr.c (check2): New function.
18330 (test_main): Call check2.
18331
03759f47
L
18332 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18333 and bug-strchr1.
18334 * string/bug-strcasestr1.c (do_test): Moved to ...
18335 * string/test-strcasestr.c (check1): Here. New function.
18336 (do_one_test): Break out result checking code into ...
18337 (check_result): This. New function.
18338 (do_one_test): Call check_result.
18339 (test_main): Call check1.
18340 * string/bug-strchr1.c (do_test): Moved to ...
18341 * string/test-strchr.c (check1): Here. New function.
18342 (do_one_test): Break out result checking code into ...
18343 (check_result): This. New function.
18344 (do_one_test): Call check_result.
18345 (test_main): Call check1.
18346 * string/bug-strstr1.c (main): Moved to ...
046f153e 18347 * string/test-strstr.c (check1): Here. New function.
03759f47
L
18348 (do_one_test): Break out result checking code into ...
18349 (check_result): This. New function.
18350 (do_one_test): Call check_result.
18351 (test_main): Call check1.
18352 * string/bug-strcasestr1.c: Removed.
18353 * string/bug-strchr1.c: Likewise.
18354 * string/bug-strstr1.c: Likewise.
18355
53cea63e
L
18356 * elf/Makefile (dl-routines): Add hwcaps.
18357 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18358 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18359 (_dl_important_hwcaps): Moved to ...
18360 * elf/dl-hwcaps.c: Here. New file.
18361 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18362
9cee5585 18363 [BZ #14557]
bb859b06
L
18364 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18365 if IS_IN_rtld isn't defined.
18366
9cee5585
L
18367 * elf/dl-support.c (_dl_sysinfo_map): New.
18368 Include "get-dynamic-info.h" and "setup-vdso.h".
18369 (_dl_non_dynamic_init): Call setup_vdso.
18370 * elf/dynamic-link.h: Don't include <assert.h>.
18371 (elf_get_dynamic_info): Moved to ...
18372 * elf/get-dynamic-info.h: Here. New file.
18373 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18374 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18375 * elf/setup-vdso.h: Here. New file.
18376 * elf/rtld.c: Include "setup-vdso.h".
18377 (dl_main): Call setup_vdso.
18378
23c31b76
JM
183792012-10-05 Joseph Myers <joseph@codesourcery.com>
18380
28234b07
JM
18381 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18382 creal in comment listing functions tested. List finite, isinf,
18383 isnan, isless, islessequal, isgreater, isgreaterequal,
18384 islessgreater, isunordered, lgamma_r and pow10 as functions and
18385 macros not tested. Mention which functions not tested are aliases
18386 for other functions. Fix typo. Note that signs of NaNs are not
18387 tested.
18388
23c31b76
JM
18389 * scripts/config.guess: Update from config.git.
18390 * scripts/config.sub: Likewise.
18391
9043e228
RM
183922012-10-04 Roland McGrath <roland@hack.frob.com>
18393
18394 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18395 * misc/madvise.c (madvise): Renamed to __madvise.
18396 Make madvise a weak alias.
18397 * include/sys/mman.h: Declare __madvise.
18398 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18399 * sysdeps/unix/syscalls.list
18400 (madvise): Make __madvise the strong name, and madvise a weak alias.
18401 * sysdeps/unix/sysv/linux/syscalls.list
18402 (madvise, mmap): Remove redundant entries.
18403 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18404 * malloc/malloc.c (mtrim): Likewise.
18405 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18406
f57f8055
RM
184072012-10-03 Roland McGrath <roland@hack.frob.com>
18408
18409 * sysdeps/mach/hurd/dl-cache.c: File removed.
18410 * config.h.in (USE_LDCONFIG): New #undef.
18411 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18412 * configure: Regenerated.
18413 * elf/Makefile (dl-routines): Add dl-cache only under
18414 [$(use-ldconfig) = yes].
18415 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18416 cache on [USE_LDCONFIG].
18417 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18418 [USE_LDCONFIG].
18419 * elf/rtld.c (dl_main): Likewise.
18420
5bb0c10a
PT
184212012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18422
18423 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18424 _SC_LEVEL4_CACHE_LINESIZE.
18425
010188c6
RM
184262012-10-03 Roland McGrath <roland@hack.frob.com>
18427
18428 * sysdeps/unix/bsd/confstr.h: File removed.
18429
b6c5ec07
AO
184302012-10-02 Alexandre Oliva <aoliva@redhat.com>
18431
18432 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18433 sys/sdt-config.h.
18434
408223d4
RM
184352012-10-02 Roland McGrath <roland@hack.frob.com>
18436
18437 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18438 Make 'mapoff' field ElfW(Off) rather than off_t.
18439
bb9510dc
DL
184402012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18441
fc997c6e
DL
18442 * nscd/Makefile: Remove nscd-cflags and all its users.
18443 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18444 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18445
bb9510dc
DL
18446 [BZ #10631]
18447 * malloc.c (malloc_printerr): Clarify error message.
18448
05699367
L
184492012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18450
18451 [BZ #14648]
18452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18453 Set bit_FMA_Usable if FMA is supported.
18454 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18455 macro.
18456 (bit_FMA4_Usable): Updated.
18457 (index_FMA_Usable): New macro.
18458 (CPUID_FMA): Likewise
18459 (HAS_FMA): Defined with bit_FMA_Usable.
18460
51367701
RM
184612012-10-01 Roland McGrath <roland@hack.frob.com>
18462
18463 * bits/types.h (__swblk_t): Type removed.
18464 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18465 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18466 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18467 (__SWBLK_T_TYPE): Likewise.
18468 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18469 (__SWBLK_T_TYPE): Likewise.
18470 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18471 (__SWBLK_T_TYPE): Likewise.
18472 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18473 (__SWBLK_T_TYPE): Likewise.
18474
4d57bf63 184752012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 18476 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
18477
18478 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18479 (xdr_mapname): Use YPMAXMAP as maxsize.
18480 (xdr_peername): Use YPMAXPEER as maxsize.
18481 (xdr_keydat): Use YPAXRECORD as maxsize.
18482 (xdr_valdat): Use YPMAXRECORD as maxsize.
18483
93c65d43
RM
184842012-10-01 Roland McGrath <roland@hack.frob.com>
18485
497a03d6
RM
18486 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18487
93c65d43
RM
18488 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18489 * csu/init-first.c: ... here.
18490 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18491 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18492 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18493 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18494 * sysdeps/i386/init-first.c: File removed.
18495 * sysdeps/sh/init-first.c: File removed.
18496
bec749fd
JM
184972012-10-01 Joseph Myers <joseph@codesourcery.com>
18498
18499 [BZ #14645]
18500 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18501 if x * y might underflow to zero and z is zero.
18502 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18503 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18504 * math/libm-test.inc (min_subnorm_value): New variable.
18505 (fma_test): Add more tests.
18506 (fma_test_towardzero): Likewise.
18507 (fma_test_downward): Likewise
18508 (fma_test_upward): Likewise.
18509 (initialize): Set min_subnorm_value.
18510
8ec5b013
JM
185112012-09-29 Joseph Myers <joseph@codesourcery.com>
18512
18513 [BZ #14638]
18514 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18515 0 + 0.
18516 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18517 mode for addition resulting in exact zero.
18518 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18519 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18520 exact 0 + 0.
18521 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18522 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18523 * math/libm-test.inc (fma_test): Add more tests.
18524 (fma_test_towardzero): New function.
18525 (fma_test_downward): Likewise.
18526 (fma_test_upward): Likewise.
18527 (main): Call the new functions.
18528
b1fa802e
DM
185292012-09-28 David S. Miller <davem@davemloft.net>
18530
18531 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18532
d3b9fd9e
RM
185332012-09-28 Roland McGrath <roland@hack.frob.com>
18534
ea4d37b3
RM
18535 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18536 instead of SIGALRM.
18537
ac51c949
RM
18538 * sysdeps/gnu/_G_config.h: Moved to ...
18539 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18540 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18541 * sysdeps/generic/_G_config.h: ... here.
18542
28c195f7
RM
18543 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18544
848917f9
RM
18545 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18546
6bacf05b
RM
18547 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18548 Conditionalize target on [libnss_test1.so-version].
18549
91363dbb
RM
18550 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18551
cc87f7d8
RM
18552 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18553 (elfobjdir): Move out of conditionals.
18554
b1c608fe
RM
18555 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18556 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18557 (__nss_lookup_function): Conditionalize label remove_from_tree on
18558 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 18559
1d9a6d96
DM
185602012-09-28 David S. Miller <davem@davemloft.net>
18561
18562 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18563 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18564 file.
18565 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18566 sysdep_routines.
18567 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18568 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18569 when HWCAP_SPARC_CRYPTO is present.
18570
72581615
PT
185712012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18572
18573 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18574
715a900c
JL
185752012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18576
18577 [BZ #6530]
18578 * stdio-common/vfprintf.c (process_string_arg): Revert
18579 2000-07-22 change.
18580
185812011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18582
18583 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18584 for testcase.
18585 * stdio-common/tst-sprintf.c: Include <locale.h>
18586 (main): Test sprintf's handling of incomplete multibyte
18587 characters.
18588
9bac1d86
L
185892012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18590
18591 * elf/dl-runtime.c (VERSYMIDX): Removed.
18592 * elf/dl-version.c (VERSYMIDX): Likewise.
18593 * elf/do-rel.h (VERSYMIDX): Likewise.
18594 (VALIDX): Likewise.
18595 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18596 * elf/rtld.c (VALIDX): Likewise.
18597 (ADDRIDX): Likewise.
9bac1d86
L
18598 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18599 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18600 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
18601 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18602 (VALIDX): Likewise.
18603 (ADDRIDX): Likewise.
9bac1d86 18604
b31606c0
PT
186052012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18606
18607 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18608
11541177
JL
186092012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18610
18611 [BZ #11438]
18612 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18613 to global scope.
18614 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18615 addresses are in the same scope as 192.0.2/24.
18616 * posix/gai.conf: Document new scope table defaults.
18617
adb26fae
SP
186182012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18619
18620 [BZ #5298]
18621 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18622 for ftell. Compute offsets from write pointers instead.
18623 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18624
4573c6b0
SP
186252012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18626
18627 [BZ #14543]
18628 * libio/Makefile (tests): New test case tst-fseek.
18629 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18630 combination works in wide mode.
18631 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18632 state when the external buffer state changes.
18633
aa9bbfe6
DM
186342012-09-27 David S. Miller <davem@davemloft.net>
18635
18636 [BZ #14376]
18637 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18638 pass reloc->r_addend in as the 'high' argument to
18639 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18640
784421e7
DM
18641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18642
c39bc8b8
PT
186432012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18644
18645 * rt/tst-aio2.c: Include <pthread.h>.
18646 * rt/tst-aio3.c: Likewise.
18647
1ccc2399
SE
186482012-09-27 Steve Ellcey <sellcey@mips.com>
18649
18650 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18651
31ed4153
L
186522012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18653
25f5f885
L
18654 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18655 contents on [SHARED].
31ed4153 18656
b7bfe116
MP
186572012-09-26 Marek Polacek <polacek@redhat.com>
18658
18659 [BZ #14530]
18660 [BZ #13741]
18661 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18662 for C++ and GCC <4.3 as well as for non GCC compilers.
18663
43c4edba
MT
186642012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18665
18666 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18667
6a1bf82f
RM
186682012-09-25 Roland McGrath <roland@hack.frob.com>
18669
18670 * Makefile.in (all, install): Declare with .PHONY.
18671 Reported by Michael Hope <michael.hope@linaro.org>.
18672
8ad11b9a
TMQMF
186732012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18674
18675 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18676 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18677 system header.
18678 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18679 Likewise.
18680 (sydep_routines): Add the new and the internal functions.
18681 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18682 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18684 (GLIBC_2.17): Add the new function.
18685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18686 (GLIBC_2.17): Likewise.
18687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18688 (GLIBC_2.17): Likewise.
18689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18690 (GLIBC_2.17): Likewise.
18691 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18692
7e2fca8d
AM
186932012-09-25 Alan Modra <amodra@gmail.com>
18694
18695 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18696 Add release barrier before setting once_control to say
18697 initialisation is done. Add hints on lwarx. Use macro in
18698 place of isync.
18699 (clear_once_control): Add release barrier.
18700
b87c4b24
JM
187012012-09-25 Joseph Myers <joseph@codesourcery.com>
18702
d032e0d2
JM
18703 [BZ #13629]
18704 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18705 specially.
18706 * math/s_clog10.c (__clog10): Likewise.
18707 * math/s_clog10f.c (__clog10f): Likewise.
18708 * math/s_clog10l.c (__clog10l): Likewise.
18709 * math/s_clogf.c (__clogf): Likewise.
18710 * math/s_clogl.c (__clogl): Likewise.
18711 * math/Makefile (libm-calls): Add x2y2m1.
18712 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18713 (__x2y2m1): Likewise.
18714 (__x2y2m1l): Likewise.
18715 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18716 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18717 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18718 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18719 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18720 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18721 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18722 * sysdeps/i386/fpu/libm-test-ulps: Update.
18723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18724
b87c4b24
JM
18725 [BZ #14621]
18726 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18727 int as type of variable DEPTH.
18728 (glob): Use size_t instead of int as type of variables NEWCOUNT
18729 and OLD_PATHC.
18730
6d3bf199
LD
187312012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18732
22bf5c17
LD
18733 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18734 Add s_sincosf-sse2.
18735 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18736 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18737 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18738 macros for using routine as __sincosf_ia32.
18739 Use macro for function declaration and weak_alias.
18740 * sysdeps/i386/fpu/libm-test-ulps: Update.
18741
18742 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18743 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18744
18745 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
18746 subnormal argument.
18747 * math/s_cexpf.c (__cexpf): Likewise.
18748 * math/s_csinf.c (__csinf): Likewise.
18749 * math/s_csinhf.c (__csinhf): Likewise.
18750 * math/s_ctanf.c (__ctanf): Likewise.
18751 * math/s_ctanhf.c (__ctanhf): Likewise.
18752 * math/s_ccosh.c (__ccoshf): Likewise.
18753 * math/s_cexp.c (__cexpl): Likewise.
18754 * math/s_csin.c (__csin): Likewise.
18755 * math/s_csinh.c (__csinh): Likewise.
18756 * math/s_ctan.c (__ctan): Likewise.
18757 * math/s_ctanh.c (ctanh): Likewise.
18758 * math/s_ccoshl.c (__ccoshl): Likewise.
18759 * math/s_cexpl.c (__cexpl): Likewise.
18760 * math/s_csinl.c (__csinl): Likewise.
18761 * math/s_csinhl.c (__csinhl): Likewise.
18762 * math/s_ctanl.c (__ctanl): Likewise.
18763 * math/s_ctanhl.c (__ctanhl): Likewise.
18764
203e5603
JM
187652012-09-25 Joseph Myers <joseph@codesourcery.com>
18766
18767 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18768 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18769 (_IO_off_t): Define to __off_t, not _G_off_t.
18770 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18771 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18772 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18773 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18774 type of __dummy and __dummy2 fields.
18775 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18776 (_G_ssize_t): Likewise.
18777 (_G_off_t): Likewise.
18778 (_G_pid_t): Likewise.
18779 (_G_uid_t): Likewise.
18780 (_G_wchar_t): Likewise.
18781 (_G_wint_t): Likewise.
18782 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18783 (_G_ssize_t): Likewise.
18784 (_G_off_t): Likewise.
18785 (_G_pid_t): Likewise.
18786 (_G_uid_t): Likewise.
18787 (_G_wchar_t): Likewise.
18788 (_G_wint_t): Likewise.
18789 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18790 (_G_ssize_t): Likewise.
18791 (_G_off_t): Likewise.
18792 (_G_pid_t): Likewise.
18793 (_G_uid_t): Likewise.
18794 (_G_wchar_t): Likewise.
18795 (_G_wint_t): Likewise.
18796
9fab36eb
SP
187972012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18798
18799 * malloc/arena.c: Include malloc-sysdep.h.
18800 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18801 is sufficient to shrink the heap or an unmap is needed.
18802 * sysdeps/generic/malloc-sysdep.h: New file. Define
18803 new function check_may_shrink_heap.
18804 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18805 new function check_may_shrink_heap.
18806
2b4f00d1
SP
188072012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18808
18809 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18810 comments.
18811
9a9028b1
DL
188122012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18813
57c69bef
DL
18814 * catgets/test-gencat.sh: Add "set -e".
18815 * elf/tst-pathopt.sh: Likewise.
18816 * grp/tst_fgetgrent.sh: Likewise.
18817 * iconvdata/run-iconv-test.sh: Likewise.
18818 * intl/tst-gettext.sh: Likewise.
18819 * intl/tst-gettext2.sh: Likewise.
18820 * intl/tst-gettext4.sh: Likewise.
18821 * intl/tst-gettext6.sh: Likewise.
18822 * intl/tst-translit.sh: Likewise.
18823 * io/ftwtest-sh: Likewise.
18824 * libio/test-freopen.sh: Likewise.
18825 * malloc/tst-mtrace.sh: Likewise.
18826 * posix/globtest.sh: Likewise.
18827 * posix/tst-getconf.sh: Likewise.
18828 * posix/wordexp-tst.sh: Likewise.
18829 * stdio-common/tst-printf.sh: Likewise.
18830 * stdio-common/tst-unbputc.sh: Likewise.
18831 * stdlib/tst-fmtmsg.sh: Likewise.
18832 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18833 * catgets/Makefile: Do not specify -e option when running
18834 testsuite shell scripts.
18835 * elf/Makefile: Likewise.
18836 * grp/Makefile: Likewise.
18837 * iconvdata/Makefile: Likewise.
18838 * intl/Makefile: Likewise.
18839 * io/Makefile: Likewise.
18840 * libio/Makefile: Likewise.
18841 * malloc/Makefile: Likewise.
18842 * posix/Makefile: Likewise.
18843 * stdio-common/Makefile: Likewise.
18844 * stdlib/Makefile: Likewise.
18845 * sysdeps/x86_64/Makefile: Likewise.
18846
9a9028b1
DL
18847 * io/ftwtest-sh: Add copyright header.
18848 * posix/globtest.sh: Likewise.
18849 * posix/tst-getconf.sh: Likewise.
18850 * posix/wordexp-tst.sh: Likewise.
18851 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18852
ced6f16e
L
188532012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18854
94b32c39
L
18855 [BZ #13679]
18856 * Makeconfig (+link): Defined as $(+link-static) if
18857 $(build-shared) isn't yes.
18858 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18859 isn't yes.
18860 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18861
189e935b
L
18862 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18863
ced6f16e
L
18864 [BZ #14562]
18865 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18866 new chunk size with MALLOC_ALIGN_MASK.
18867
a9f8e53a
JM
188682012-09-24 Joseph Myers <joseph@codesourcery.com>
18869
18870 [BZ #5044]
18871 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18872 <rounding-mode.h>.
18873 (__printf_fphex): Determine rounding using get_rounding_mode and
18874 round_away.
18875 * stdio-common/tst-printf-round.c (struct hex_test): New
18876 structure.
18877 (hex_tests): New variable.
18878 (test_hex_in_one_mode): New function.
18879 (do_test): Also run tests for hex float output.
18880
43153109
JM
188812012-09-21 Joseph Myers <joseph@codesourcery.com>
18882
18883 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18884 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18885 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18886 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18887 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18888 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18889 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18890 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18891
8a26625d
JM
188922012-09-20 Joseph Myers <joseph@codesourcery.com>
18893
18894 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18895 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18896 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18897 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18898
f3fd569c
DL
188992012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18900
18901 [BZ #14579]
18902 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18903 mode only.
18904 * elf/tst-rtld-load-self.sh: New test.
18905 * elf/Makefile: Run it.
18906
63bbedd4
JM
189072012-09-18 Joseph Myers <joseph@codesourcery.com>
18908
18909 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18910 (tst-writev-ENV): Remove.
18911 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18912
626f8b6a
CM
189132012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18914
18915 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18916
b7aaa4d6
JM
189172012-09-17 Joseph Myers <joseph@codesourcery.com>
18918
18919 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18920 unconditional.
18921 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18922 Likewise.
18923 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18924 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18925 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18926 Likewise.
18927
65513990
L
189282012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18929
18930 [BZ #14587]
18931 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18932 * config.make.in (have-cpp-asm-debuginfo): Removed.
18933 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18934 * configure: Regenerated.
18935
784761be
JM
189362012-09-14 Joseph Myers <joseph@codesourcery.com>
18937
18938 [BZ #5044]
18939 * stdio-common/printf_fp.c: Include <stdbool.h> and
18940 <rounding-mode.h>.
18941 (___printf_fp): Determine rounding using get_rounding_mode and
18942 round_away.
18943 * stdio-common/tst-printf-round.c: New file.
18944 * stdio-common/Makefile (tests): Add tst-printf-round.
18945 (link-libm): New variable.
18946 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18947
9503345f
L
189482012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18949
18950 [BZ #14576]
18951 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18952 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18953 Likewise.
18954 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18955 Likewise.
18956
ad35fc00
JM
189572012-09-13 Joseph Myers <joseph@codesourcery.com>
18958
18959 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18960 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18961 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18962 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18963
6c9b0f68
JM
189642012-09-12 Joseph Myers <joseph@codesourcery.com>
18965
18966 [BZ #14518]
18967 * include/rounding-mode.h: New file.
18968 * sysdeps/generic/get-rounding-mode.h: Likewise.
18969 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18970 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18971 (MAX_VALUE): New macro.
18972 (MIN_VALUE): Likewise.
18973 (overflow_value): New function.
18974 (underflow_value): Likewise.
18975 (round_and_return): Use overflow_value and underflow_value to
18976 determine return values in overflow and underflow cases. Use
18977 round_away to determine rounding depending on rounding mode.
18978 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18979 determine return values in overflow and underflow cases.
18980 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18981 (struct test_results): New structure.
18982 (struct test): Use struct test_results to store expected results
18983 for all rounding modes.
18984 (TEST): Include expected results for all rounding modes.
18985 (test_in_one_mode): New function.
18986 (do_test): Use test_in_one_mode to compute and check results.
18987 Check results for all rounding modes.
18988 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18989 $(link-libm).
18990
19fcedd5
AM
189912012-12-09 Allan McRae <allan@archlinux.org>
18992
1e9d84cd 18993 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 18994
8bbfd2f1
JM
189952012-09-11 Joseph Myers <joseph@codesourcery.com>
18996
18997 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18998 (_G_int32_t): Likewise.
18999 (_G_uint16_t): Likewise.
19000 (_G_uint32_t): Likewise.
19001 (_G_HAVE_BOOL): Likewise.
19002 (_G_HAVE_ATEXIT): Likewise.
19003 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19004 (_G_HAVE_IO_FILE_OPEN): Likewise.
19005 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19006 (_G_int32_t): Likewise.
19007 (_G_uint16_t): Likewise.
19008 (_G_uint32_t): Likewise.
19009 (_G_HAVE_BOOL): Likewise.
19010 (_G_HAVE_ATEXIT): Likewise.
19011 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19012 (_G_HAVE_IO_FILE_OPEN): Likewise.
19013 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19014 (_G_int32_t): Likewise.
19015 (_G_uint16_t): Likewise.
19016 (_G_uint32_t): Likewise.
19017 (_G_HAVE_BOOL): Likewise.
19018 (_G_HAVE_ATEXIT): Likewise.
19019 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19020 (_G_HAVE_IO_FILE_OPEN): Likewise.
19021
b1dc5912
L
190222012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19023
19024 * csu/libc-tls.c: Update copyright years.
19025
0e886ef9
JM
190262012-09-10 Joseph Myers <joseph@codesourcery.com>
19027
28361c5e
JM
19028 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19029 [!_G_USING_THUNKS]: Remove conditional code.
19030 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19031 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19032
0e886ef9
JM
19033 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19034 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19035 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19036 (_G_VTABLE_LABEL_PREFIX): Likewise.
19037 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19038 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19039 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19040 (_G_VTABLE_LABEL_PREFIX): Likewise.
19041 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19042 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19043 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19044 (_G_VTABLE_LABEL_PREFIX): Likewise.
19045 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19046
bcba7aa2
L
190472012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19048
19049 * libio/Makefile: Include ../Makeconfig before tests.
19050 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19051 only if $(build-shared) is yes.
19052
06585ee8
L
19053 * iconv/gconv_db.c: Update copyright years.
19054
80ccd52c
LD
190552012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19056
19057 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19058 unwind info if defined PIC. Fix special cases description.
19059 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19060
19061 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19062 DP_HI_MASK entry.
19063 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19064
691bc9c1
L
190652012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19066
3d9b46b3
L
19067 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19068
de2139a9
L
19069 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19070 is NULL.
19071
5ca78dd0
L
19072 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19073 (LDLIBS-tst-chk4): This.
19074 (LDFLAGS-tst-chk5): Renamed to ...
19075 (LDLIBS-tst-chk5): This.
19076 (LDFLAGS-tst-chk6): Renamed to ...
19077 (LDLIBS-tst-chk6): This.
19078 (LDFLAGS-tst-lfschk4): Renamed to ...
19079 (LDLIBS-tst-lfschk4): This.
19080 (LDFLAGS-tst-lfschk5): Renamed to ...
19081 (LDLIBS-tst-lfschk5): This.
19082 (LDFLAGS-tst-lfschk6): Renamed to ...
19083 (LDLIBS-tst-lfschk6): This.
19084
691bc9c1
L
19085 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19086 on $(common-objpfx)soversions.mk.
19087
65cafb1c
JM
190882012-09-07 Joseph Myers <joseph@codesourcery.com>
19089
19090 [BZ #10014]
19091 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19092 example host name.
19093
c78ab094
SP
190942012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19095
19096 * malloc/arena.c (arena_get_retry): New function that gets
19097 another arena for the caller to try its request on.
19098 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19099 current arena cannot fulfill the request.
19100 (__libc_memalign): Likewise.
19101 (__libc_memalign): Likewise.
19102 (__libc_pvalloc): Likewise.
19103 (__libc_calloc): Likewise.
19104
01f49f59
JT
191052012-09-05 John Tobey <john.tobey@gmail.com>
19106
19107 [BZ #13542]
19108 * manual/arith.texi (Operations on Complex): Fix description
19109 of carg branch cut.
19110
4c23fed5
JM
191112012-09-06 Joseph Myers <joseph@codesourcery.com>
19112
1d3c8572
JM
19113 [BZ #10014]
19114 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19115 host name.
19116
4c23fed5
JM
19117 [BZ #10038]
19118 * manual/memory.texi (Memory): Make order of menu items match
19119 order of sections.
19120
04570aaa
L
191212012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19122
19123 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19124 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19125 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19126
b80af2f4
L
191272012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19128
19129 * csu/libc-tls.c (static_dtv): Renamed to ...
19130 (_dl_static_dtv): This. Make it global.
19131 (_dl_initial_dtv): Removed.
19132 (__libc_setup_tls): Updated.
19133 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19134 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19135 DL_INITIAL_DTV.
19136
2abe9f15
PM
191372012-09-06 Petr Machata <pmachata@redhat.com>
19138
19139 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19140 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19141 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19142 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19143
0948c3af
L
191442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19145
19146 [BZ #14545]
19147 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19148 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19149 freeing dtv[-1].
19150
a5055ad1
L
191512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19152
19153 [BZ #14544]
19154 * Makeconfig (link-static-before-libc): Replace $(+prector)
19155 with $(+prectorT).
19156 (link-static-after-libc): Replace $(+postctor) with
19157 $(+postctorT).
19158 (link-bounded): Replace $(+prector)/$(+postctor) with
19159 $(+prectorT)/$(+postctorT).
19160 (+prectorT): New macro.
19161 (+postctorT): Likewise.
19162
ed8c2ecd
JM
191632012-09-06 Joseph Myers <joseph@codesourcery.com>
19164
19165 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19166 (round_str): Handle values above the maximum for IBM long double
19167 as inexact.
19168 * stdlib/tst-strtod-round.c (tests): Regenerated.
19169
14c996c8
AK
191702012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19171
19172 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19173 assembler flag.
19174 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19175 zarch_nohighgprs around the zarch optimized routines.
19176 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19177 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19178 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19179 for zarch.
19180
430d6ce6
DM
191812012-09-05 David S. Miller <davem@davemloft.net>
19182
19183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19184
ff04dda4
DM
19185 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19186 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19187 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19188 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19189 entries.
19190
24d4e01b
AO
191912012-09-05 Alexandre Oliva <aoliva@redhat.com>
19192
19193 * malloc/arena.c: Fold copyright years.
19194 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19195
61d58174
AO
191962012-09-05 Alexandre Oliva <aoliva@redhat.com>
19197
19198 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19199
20196a5e
AO
192002012-09-05 Alexandre Oliva <aoliva@redhat.com>
19201
19202 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19203
5c447383
AO
192042012-09-05 Alexandre Oliva <aoliva@redhat.com>
19205
19206 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19207 change internal state upon failure.
19208
fad64255
AO
192092012-09-05 Alexandre Oliva <aoliva@redhat.com>
19210
19211 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19212 * malloc/memusage.c (mmap): Likewise.
19213 (mmap64, mremap): Likewise. Adjust name in comment.
19214
1ffb8c90
SP
192152012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19216
19217 * libio/fileops.c: Fix typos in comments.
19218 * libio/oldfileops.c: Likewise.
19219 * libio/wfileops.c: Likewise.
19220
6ef9cc37
SP
192212012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19222
19223 [BZ #1349]
19224 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19225 (tst-malloc-usable-ENV): Set environment for test case.
19226 * malloc/hooks.c (malloc_check_get_size): New function to get
19227 requested size.
19228 * malloc/malloc.c (musable): Use malloc_check_get_size.
19229 * malloc/tst-malloc-usable.c: New test case.
19230
4d038ae3
AS
192312012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19232
19233 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19234
c4e85184
AM
192352012-09-05 Allan McRae <allan@archlinux.org>
19236
b9dafc56 19237 [BZ #13966]
c4e85184
AM
19238 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19239 determine header location.
19240 * configure: Regenerated.
19241
e1343020
AS
192422012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19243
19244 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19245 float format.
19246 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
19247 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19248 format.
e1343020
AS
19249 (test): Regenerate.
19250
0a9f1987
DM
192512012-09-04 David S. Miller <davem@davemloft.net>
19252
19253 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19254 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19255 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19256
29237804
FW
192572012-09-04 Florian Weimer <fweimer@redhat.com>
19258
19259 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19260 failures.
19261
edb3cb88
FW
19262 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19263
60160d83
JM
192642012-09-04 Joseph Myers <joseph@codesourcery.com>
19265
19266 [BZ #9914]
19267 * libio/iogetdelim.c: Include <limits.h>.
19268 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19269 + len + 1 would overflow.
19270
bcd6c8dc
AJ
192712012-09-03 Andreas Jaeger <aj@suse.de>
19272
19273 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19274 * sysdeps/i386/fpu/libm-test-ulps: Update.
19275
4ffffbd2
LD
192762012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19277
19278 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19279 Add s_sinf-sse2, s_conf-sse2.
19280
19281 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19282 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19283 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19284 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19285
19286 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19287 for using routine as __sinf_ia32.
19288 Use macro for function declaration and weak_alias.
19289 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19290 for using routine as __cosf_ia32.
19291 Use macro for function declaration and weak_alias.
19292
19293 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19294 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19295
19296 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19297 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19299
19300 * math/libm-test.inc (cos_test): Add more test cases.
19301 (sin_test): Likewise.
19302 (sincos_test): Likewise.
19303
511fa286
AK
193042012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19305
19306 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19307 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19308 hidden.
19309 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19310
5f30cfec
L
193112012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19312
19313 [BZ #14538]
19314 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19315 first element of the GOT.
19316 (elf_machine_load_address): Return the difference between
19317 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19318
0786794f
AM
193192012-09-01 Allan McRae <allan@archlinux.org>
19320
5f30cfec
L
19321 [BZ #13412]
19322 * configure.in (AWK): Require gawk version 3.0 or later.
19323 * configure: Regenerated.
0786794f 19324
26889eac
JM
193252012-09-01 Joseph Myers <joseph@codesourcery.com>
19326
19327 * sysdeps/unix/sysv/linux/kernel-features.h
19328 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19329 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19330 [__NR_clock_getres]: Make code unconditional.
19331 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19332 (clock_getcpuclockid): Remove code left unreachable by removal of
19333 conditionals.
19334 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19335 code unconditional.
19336 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19337 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19338 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19339 Make code unconditional.
19340 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19341 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19342 * sysdeps/unix/sysv/linux/clock_settime.c
19343 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19344 conditional code.
19345 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19346 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19347
d22e28b0
L
193482012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19349
19350 [BZ #14476]
19351 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19352 scripts/test-installation.pl.
19353
19354 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19355 and $ld_so_version if it is set.
19356
050af9c4
SP
193572012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19358
19359 [BZ #14516]
19360 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19361 failure if reading from procfs failed.
19362 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19363
ad845c0b
JM
193642012-08-27 Joseph Myers <joseph@codesourcery.com>
19365
19366 * sysdeps/unix/sysv/linux/kernel-features.h
19367 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19368 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19369 Remove conditional code.
19370 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19371 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19372 Remove conditional code.
19373 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19374 * sysdeps/unix/sysv/linux/i386/fxstat.c
19375 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19376 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19377 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19378 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19379 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19380 * sysdeps/unix/sysv/linux/i386/lxstat.c
19381 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19382 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19383 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19384 Remove conditional code.
19385 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19386 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19387 Remove conditional code.
19388 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19389 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19390 <kernel-features.h>.
19391 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19392 Remove.
19393 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19394 Remove conditional code.
19395 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19396 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19397 Remove conditional.
19398
5dbf56af
MF
193992012-08-27 Mike Frysinger <vapier@gentoo.org>
19400
19401 [BZ #5400]
19402 * NEWS: Add fixed bug number.
19403
d6e70f43
JM
194042012-08-27 Joseph Myers <joseph@codesourcery.com>
19405
7efb4737
JM
19406 [BZ #14519]
19407 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19408 underflowing exponent in case of negative sign.
19409 * stdlib/tst-strtod-round-data: Add more tests.
19410 * stdlib/tst-strtod-round.c (tests): Regenerated.
19411
af92131a
JM
19412 [BZ #3479]
19413 * stdlib/strtod_l.c (NDIG): Remove.
19414 (HEXNDIG): Likewise.
19415 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19416 smallest representable value.
19417 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19418 lie within an exact representation of 1/2 ulp of the result.
19419 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19420 unconditionally.
19421 (TENS_P9_IDX): Define unconditionally.
19422 (TENS_P9_SIZE): Likewise.
19423 (TENS_P10_IDX): Likewise.
19424 (TENS_P10_SIZE): Likewise.
19425 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19426 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19427 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19428 entries for 10^2^13 and 10^2^14.
19429 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19430 (TENS_P13_IDX): Define.
19431 (TENS_P13_SIZE): Likewise.
19432 (TENS_P14_IDX): Likewise.
19433 (TENS_P14_SIZE): Likewise.
19434 (_fpioconst_pow10): Change array size to
19435 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19436 unconditional.
19437 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19438 1024]: Add entries for 10^2^13 and 10^2^14.
19439 [LAST_POW10 > _LAST_POW10]: Remove #error.
19440 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19441 (_fpioconst_pow10): Change array size to
19442 FPIOCONST_POW10_ARRAY_SIZE.
19443 * stdlib/gen-fpioconst.c: New file.
19444 * stdlib/gen-tst-strtod-round.c: Likewise.
19445 * stdlib/tst-strtod-round-data: Likewise.
19446 * stdlib/tst-strtod-round.c: Likewise.
19447 * stdlib/Makefile (tests): Add tst-strtod-round.
19448
d6e70f43
JM
19449 [BZ #14459]
19450 * stdlib/strtod_l.c: Include <stdint.h>.
19451 (NDEBUG): Do not define.
19452 (round_and_return): Change EXPONENT parameter to type intmax_t.
19453 Rearrange calculations to avoid internal overflow possibilities.
19454 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19455 Rearrange calculations to avoid internal overflow possibilities.
19456 Assert that number fits inside MPNSIZE limbs.
19457 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19458 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19459 calculations and add assertions to avoid internal overflow
19460 possibilities. Add casts to avoid signed/unsigned operations.
19461 * stdlib/tst-strtod-overflow.c: New file.
19462 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19463
1f529f7d
MP
194642012-08-25 Marek Polacek <polacek@redhat.com>
19465
19466 * time/time.h: Fix some typos in comments.
19467
59a629f1
RM
194682012-08-23 Roland McGrath <roland@hack.frob.com>
19469
19470 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19471 * posix/tst-rfc3484-2.c: Likewise.
19472 * posix/tst-rfc3484-3.c: Likewise.
19473
d3bafbc9
SM
194742012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19475
19476 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19477 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19478
4efcc022
JM
194792012-08-23 Joseph Myers <joseph@codesourcery.com>
19480
19481 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19482 #include of fxstatat64.c.
19483
3cc3ef96
RM
194842012-08-22 Roland McGrath <roland@hack.frob.com>
19485
f04e2132
RM
19486 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19487 * shadow/getspent_r.c: Likewise.
19488 * shadow/getspnam.c: Likewise.
19489 * shadow/getspnam_r.c: Likewise.
19490 * gshadow/getsgent.c: Likewise.
19491 * gshadow/getsgent_r.c: Likewise.
19492 * gshadow/getsgnam.c: Likewise.
19493 * gshadow/getsgnam_r.c: Likewise.
19494 * inet/getnetbyad.c: Likewise.
19495 * inet/getnetbyad_r.c: Likewise.
19496 * inet/getnetbynm.c: Likewise.
19497 * inet/getnetbynm_r.c: Likewise.
19498 * inet/getnetent.c: Likewise.
19499 * inet/getnetent_r.c: Likewise.
19500 * inet/getproto.c: Likewise.
19501 * inet/getproto_r.c: Likewise.
19502 * inet/getprtent.c: Likewise.
19503 * inet/getprtent_r.c: Likewise.
19504 * inet/getprtname.c: Likewise.
19505 * inet/getprtname_r.c: Likewise.
19506 * inet/getrpcbyname.c: Likewise.
19507 * inet/getrpcbyname_r.c: Likewise.
19508 * inet/getrpcbynumber.c: Likewise.
19509 * inet/getrpcbynumber_r.c: Likewise.
19510 * inet/getrpcent.c: Likewise.
19511 * inet/getrpcent_r.c: Likewise.
19512 * inet/getaliasent.c: Likewise.
19513 * inet/getaliasent_r.c: Likewise.
19514 * inet/getaliasname.c: Likewise.
19515 * inet/getaliasname_r.c: Likewise.
19516 * nscd/getgrgid_r.c: Likewise.
19517 * nscd/getgrnam_r.c: Likewise.
19518 * nscd/gethstbyad_r.c: Likewise.
19519 * nscd/gethstbynm3_r.c: Likewise.
19520 * nscd/getpwnam_r.c: Likewise.
19521 * nscd/getpwuid_r.c: Likewise.
19522 * nscd/getsrvbynm_r.c: Likewise.
19523 * nscd/getsrvbypt_r.c: Likewise.
19524 * nscd/gai.c: Likewise.
19525
c53d909c
RM
19526 * configure.in (build_nscd): New substituted variable, set
19527 by --disable-build-nscd and defaults to $use_nscd.
19528 * configure: Regenerated.
19529 * config.make.in (build-nscd): New substituted variable.
19530 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19531 Change conditional to require [$(build-nscd) = yes] as well.
19532 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19533
3cc3ef96
RM
19534 [BZ# 13696]
19535 * configure.in (use_nscd): New substituted variable, set by
19536 --disable-nscd. If enabled, define USE_NSCD.
19537 * configure: Regenerated.
19538 * config.h.in: Add USE_NSCD.
19539 * config.make.in (use-nscd): New substituted variable.
19540 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19541 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19542 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19543 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19544 (CFLAGS-getgrnam_r.c): Likewise.
19545 (CFLAGS-initgroups.c): Likewise.
19546 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19547 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19548 Variables removed.
19549 * inet/getnetgrent_r.c
19550 (nscd_setnetgrent): New function, broken out of ...
19551 (setnetgrent): ... here. Call it.
19552 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19553 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19554 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19555 * nscd/Makefile (routines, aux): Move definitions after include of
19556 Makeconfig. Conditionalize on [$(use-nscd) != no].
19557 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19558 Conditionalize on [USE_NSCD].
19559 (is_nscd, nscd_init_cb): Likewise.
19560 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19561 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19562 * nss/nss_db/db-init.c: Likewise.
19563 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19564 [USE_NSCD].
19565 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19566 (make_request): Use it.
19567 (cache_valid_p): New function.
19568 (__check_pf): Use it.
19569 * NEWS: Add item for --disable-nscd.
19570
07e51550
DL
195712012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19572
19573 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19574 to support sed >= 4.2.1-20-ga9bf076.
19575 * configure: Regenerated.
19576
35a5b08b
RM
195772012-08-22 Roland McGrath <roland@hack.frob.com>
19578
19579 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19580 Conditionalize whole body on [IREL].
19581
8479f23a
JL
195822012-08-22 Jeff Law <law@redhat.com>
19583
19584 [BZ #14505]
19585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19586 if the family is PF_UNSPEC.
19587
48da0b21
MF
195882012-08-22 Mike Frysinger <vapier@gentoo.org>
19589
19590 * Makerules (lib-version): Rename from V.
19591 (install-lib-nosubdir): Change V to lib-version.
19592
15d0da8c
WS
195932012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19594
19595 [BZ #14252]
19596 * powerpc32/power6/wcschr.c: New file.
19597 * powerpc32/power6/wcscpy.c: New file.
19598 * powerpc32/power6/wcsrchr.c: New file.
19599 * powerpc64/power6/wcschr.c: New file.
19600 * powerpc64/power6/wcscpy.c: New file.
19601 * powerpc64/power6/wcsrchr.c: New file.
19602
bcca0895
MK
196032012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19604
19605 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19606 (two_way_short_needle): Use it.
5a4aaa33
RM
19607 * string/strstr.c (AVAILABLE1_USES_J): Define.
19608 * string/strcasestr.c: Likewise.
99677e57
MK
19609
19610 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19611 array references.
19612 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19613
400726de
MK
19614 [BZ #11607]
19615 * NEWS: Add an entry.
19616 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19617 define their defaults.
19618 (two_way_short_needle): Detect end-of-string on-the-fly.
19619 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19620 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19621 * string/bug-strcasestr1.c: New test.
19622 * string/Makefile: Run it.
19623
20a71f2c
MK
196242012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19625
19626 [BZ #11607]
19627 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19628 the first character.
19629
21ad0558
RM
196302012-08-21 Roland McGrath <roland@hack.frob.com>
19631
19632 * csu/elf-init.c (__libc_csu_irel): Function removed.
19633 * csu/libc-start.c (apply_irel): New function.
19634 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19635
0e1d9911
JM
196362012-08-21 Joseph Myers <joseph@codesourcery.com>
19637
19638 * sysdeps/unix/sysv/linux/kernel-features.h
19639 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19640 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19641 <kernel-features.h>.
19642 [__NR_fadvise64_64]: Make code unconditional.
19643 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19644 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19645 !__NR_fadvise64_64)]: Likewise.
19646 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19647 !__NR_fadvise64_64))]: Likewise.
19648 [__NR_fadvise64]: Make code unconditional.
19649 [!__NR_fadvise64]: Remove conditional code.
19650 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19651 <kernel-features.h>.
19652 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19653 unconditional.
19654 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19655 conditional code.
19656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19657 not include <kernel-features.h>.
19658 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19659 unconditional.
19660 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19661 conditional code.
19662 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19663 include <kernel-features.h>.
19664 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19665 unconditional.
19666 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19667 conditional code.
19668
14a50c9d
WS
196692012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19670
19671 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19672 slight instruction rearrangements per scrollpipe analysis.
19673 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19674
c0f4faf0
RM
196752012-08-20 Roland McGrath <roland@hack.frob.com>
19676
696da859
RM
19677 * manual/syslog.texi (syslog; vsyslog, closelog):
19678 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19679 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19680
c0f4faf0
RM
19681 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19682 DSOCAPS to match condition on defining it.
19683
348363b2
JM
196842012-08-20 Joseph Myers <joseph@codesourcery.com>
19685
a35cbf28
JM
19686 * sysdeps/unix/sysv/linux/kernel-features.h
19687 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19689 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19690 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19692 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19693 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19695 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19696 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19697
445f7ecd
JM
19698 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19699 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19700
348363b2
JM
19701 * sysdeps/unix/sysv/linux/kernel-features.h
19702 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19703 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19704 unconditional.
19705 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19706 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19707 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19708 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19709 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19710 Make code unconditional.
19711 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19712 (__mmap64) [!__NR_mmap2]: Likewise.
19713 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19714 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19715 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19716 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19717 [__NR_mmap2]: Make code unconditional.
19718 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19719 (__mmap64) [!__NR_mmap2]: Likewise.
19720
bc5bc0e5
AK
197212012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19722
19723 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19724
88d506de
AJ
197252012-08-18 Andreas Jaeger <aj@suse.de>
19726
19727 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19728
493387d2
MF
197292012-08-18 Mike Frysinger <vapier@gentoo.org>
19730
19731 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19732 * include/unistd.h (__have_sock_cloexec): Likewise.
19733 (__have_pipe2): Likewise.
19734 (__have_dup3): Likewise.
19735
a277af22
MF
197362012-08-18 Mike Frysinger <vapier@gentoo.org>
19737
19738 [BZ #9685]
19739 * include/unistd.h (__have_pipe2): Change define into an extern int.
19740 (__have_dup3): Likewise.
19741 * socket/have_sock_cloexec.c: Include fcntl.h.
19742 (__have_pipe2): New variable.
19743 (__have_dup3): Likewise.
19744
fdab8fd3
MF
197452012-08-17 Mike Frysinger <vapier@gentoo.org>
19746
19747 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19748
31035e80
MP
197492012-08-17 Marek Polacek <polacek@redhat.com>
19750
19751 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19752 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19753
3bd9e993
RM
197542012-08-17 Roland McGrath <roland@hack.frob.com>
19755
c91c505f
RM
19756 * configure.in: Add AC_SUBST for sysheaders.
19757 * configure: Regenerated.
19758 * config.make.in (sysheaders): New substituted variable.
19759
7c6f9d53
RM
19760 * sysdeps/unix/mkfifo.c: Moved ...
19761 * sysdeps/posix/mkfifo.c: ... here.
19762 * sysdeps/unix/mkfifoat.c: Moved ...
19763 * sysdeps/posix/mkfifoat.c: ... here.
19764
19765 * sysdeps/unix/utime.c: Moved ...
19766 * sysdeps/posix/utime.c: ... here.
19767
19768 * sysdeps/unix/time.c: Moved ...
19769 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
19770 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19771 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
19772
19773 * sysdeps/unix/nice.c: Moved ...
19774 * sysdeps/posix/nice.c: ... here.
19775
19776 * sysdeps/unix/alarm.c: Moved ...
19777 * sysdeps/posix/alarm.c: ... here.
19778
3bd9e993
RM
19779 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19780
d1f09384
JL
197812012-08-17 Jeff Law <law@redhat.com>
19782
19783 * intl/Makefile (codeset_mo): New variable.
19784 ($(codeset_mo)): New target.
19785 (tst-codeset.out): Depend on that. Remove explicit rule.
19786 (tst-gettext3.out, tst-gettext5.out): Likewise.
19787 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19788 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19789 * intl/tst-codeset.sh: Remove.
19790 * intl/tst-gettext3.sh: Likewise.
19791 * intl/tst-gettext5.sh: Likewise.
19792
2ae1ae5c
RM
197932012-08-17 Roland McGrath <roland@hack.frob.com>
19794
c31fdb83
RM
19795 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19796 * sysdeps/unix/syscalls.list: ... here.
19797
a0844057
RM
19798 * sysdeps/posix/getaddrinfo.c
19799 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19800 (gaiconf_init, gaiconf_reload): Use them.
19801 [!_STATBUF_ST_NSEC]
19802 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19803 Define using time_t rather than struct timespec.
19804
750c1f2a
RM
19805 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19806 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19807 Macros removed.
19808 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19809 [!NO_THREADS].
19810 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19811 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19812 Likewise.
19813
2ae1ae5c
RM
19814 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19815 __libc_cleanup_push argument.
19816
e66a42f5
RM
19817 * bits/param.h: New file.
19818 * misc/sys/param.h: New file.
19819 * include/sys/param.h: New file.
19820 * misc/Makefile (headers): Add bits/param.h.
19821 * sysdeps/generic/sys/param.h: File removed.
19822 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19823 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19824 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 19825 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 19826
b7c08a66
RM
19827 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19828 last change.
19829
b2e1c562
RM
19830 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19831 [_IO_MTSAFE_IO].
19832 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19833 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19834 New macros.
19835
c75ccd4c
RM
19836 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19837 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19838 rather than -D_IO_MTSAFE_IO conditionally.
19839 * stdio-common/Makefile (CPPFLAGS): Likewise.
19840 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19841 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19842 Use $(libio-mtsafe).
19843 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19844 of -D_IO_MTSAFE_IO.
19845 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19846 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19847 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19848 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19849 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19850 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19851 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19852 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19853 (CFLAGS-fread_u_chk.c): Likewise.
19854 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19855 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19856 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19857 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19858 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19859 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19860 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19861 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19862 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19863
19864 * libio/Makefile: Test [$(libc-reentrant) = yes]
19865 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19866
19867 * Makeconfig
19868 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19869 * sysdeps/pthread/configure: File removed.
19870 * sysdeps/pthread/Makeconfig: New file.
19871 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19872 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19873
d9195db8
GB
198742012-08-16 Gary Benson <gbenson@redhat.com>
19875
19876 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19877 unmapping the first object in a namespace.
19878
86466cd9
RM
198792012-08-16 Roland McGrath <roland@hack.frob.com>
19880
19881 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19882 (__internal_setnetgrent): ... this. Add internal_function to
19883 definition. Add libc_hidden_def.
19884 (setnetgrent): Update caller.
19885 (internal_endnetgrent): Renamed to ...
19886 (__internal_endnetgrent): ... this. Add internal_function to
19887 definition. Add libc_hidden_def.
19888 (endnetgrent): Update caller.
19889 (internal_getnetgrent_r): Renamed to ...
19890 (__internal_getnetgrent_r): ... this. Add internal_function to
19891 definition. Add libc_hidden_def.
19892 (__getnetgrent_r): Update caller.
19893 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19894
c3c8283c
JM
198952012-08-16 Joseph Myers <joseph@codesourcery.com>
19896
19897 * stdlib/longlong.h: Update from GCC.
19898
db1ee0a8
RM
198992012-08-16 Roland McGrath <roland@hack.frob.com>
19900
19901 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19902 on _QL, which is set by umul_ppmm but never used.
19903 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19904 variables, which are set by GMP macros but never used.
19905 * stdio-common/_itowa.c (_itowa): Likewise.
19906 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19907 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19908
30f69637
CD
199092012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19910
19911 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19912 struct La_sh_regs is not constant.
19913 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19914 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19915 and struct La_sparc64_regs are not constant.
19916
93a78ac4
JM
199172012-08-16 Joseph Myers <joseph@codesourcery.com>
19918
19919 * sysdeps/unix/sysv/linux/kernel-features.h
19920 (__ASSUME_POSIX_TIMERS): Remove.
19921 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19922 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19923 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19924 Make code unconditional.
19925 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19926 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19927 Make code unconditional.
19928 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19929 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19930 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19931 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19932 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19933 Make code unconditional.
19934 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19935 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19936 (__libc_missing_posix_timers): Remove.
19937
dd924cd7
RM
199382012-08-15 Roland McGrath <roland@hack.frob.com>
19939
4b4f2771
RM
19940 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19941 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19942
601c888b
RM
19943 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19944
176790a7
RM
19945 * elf/dl-sym.c: Include <stdlib.h>.
19946
329bc018
RM
19947 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19948 constants, which avoids warnings in 32-bit builds.
19949
e04e272d
RM
19950 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19951 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19952
952bf94a
RM
19953 * misc/lseek.c: File moved to ...
19954 * io/lseek.c: ... here.
19955
7c99b50a
RM
19956 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19957
dd924cd7
RM
19958 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19959 shifting LEN more than 31 bits at once.
19960
b3f479a8
LD
199612012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19962
19963 [BZ #14195]
8c4ae0d4
RM
19964 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19965 segmentation fault for a case of two empty input strings.
b3f479a8
LD
19966 * string/test-strncasecmp.c (check1): Renamed to...
19967 (bz12205): ...this.
19968 (bz14195): Add new testcase for two empty input strings and N > 0.
19969 (test_main): Call new testcase, adapt for renamed function.
19970
9c55864e
AJ
199712012-08-15 Andreas Jaeger <aj@suse.de>
19972
19973 [BZ #14090]
19974 * crypt/md5test2.c: New test, based on test supplied by Serge
19975 Belyshev <belyshev@depni.sinp.msu.ru>.
19976 * crypt/Makefile (xtests): Add md5test-giant..
19977 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19978
02dcb6c5
PE
199792012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19980
19981 [BZ #14090]
19982 * crypt/md5.c (md5_process_block): Don't assume the buffer
19983 length is less than 2**32.
19984 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19985 length is less than 2**64.
19986
a3f95dcc
RM
199872012-08-15 Roland McGrath <roland@hack.frob.com>
19988
be75d758
RM
19989 * string/str-two-way.h: Include <sys/param.h>.
19990 (MAX): Macro removed.
19991
7312ca90
RM
19992 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19993 Move #define and #undef of memmove to just before and after
19994 including <string.h>.
19995
9a0a5486
RM
19996 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19997 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19998 and after including <string.h>. Move declarations of
19999 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20000 to before #include "string/memmove.c".
20001
67cc348d
RM
20002 * include/dirent.h: Declare __getdirentries.
20003
a3f95dcc
RM
20004 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20005 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20006
ca98e171
MF
200072012-08-14 Mike Frysinger <vapier@gentoo.org>
20008
20009 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20010 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20011 * sysdeps/i386/configure: Regenerated.
20012 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20013 STABS_CURRENT_FILE, and STABS_FUN.
20014 (END): Remove call to STABS_FUN_END.
20015 (STABS_CURRENT_FILE1): Delete.
20016 (STABS_CURRENT_FILE): Likewise.
20017 (STABS_FUN): Likewise.
20018 (STABS_FUN_END): Likewise.
20019 (STABS_FUN2): Likewise.
20020 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20021 * sysdeps/x86_64/configure: Regenerated.
20022
5908bf46
RM
200232012-08-14 Roland McGrath <roland@hack.frob.com>
20024
20025 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 20026 * elf/dl-lookup.c: Likewise.
5908bf46 20027
f2c05b9e
JM
200282012-08-14 Joseph Myers <joseph@codesourcery.com>
20029
20030 * sysdeps/unix/sysv/linux/kernel-features.h
20031 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20032 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20033 unconditionally.
20034 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20035 unconditionally.
20036 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20037 condition on __ASSUME_CLONE_THREAD_FLAGS.
20038
e11f5155
AJ
200392012-08-14 Andreas Jaeger <aj@suse.de>
20040
20041 * sysdeps/i386/fpu/libm-test-ulps: Update.
20042
51a9ba86
MK
200432012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20044
2fdd4f78
AJ
20045 * include/atomic.h (atomic_exchange_and_add): Split into ...
20046 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20047 New atomic macros.
51a9ba86 20048
ba6cba9e
MT
200492012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20050
20051 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20052
42443a47
JL
200532012-08-13 Jeff Law <law@redhat.com>
20054
20055 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20056 null byte in the output string.
20057
121dce05
JM
200582012-08-10 Joseph Myers <joseph@codesourcery.com>
20059
20060 * sysdeps/unix/sysv/linux/kernel-features.h
20061 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20062 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20063 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20064 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20065 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20066 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20067 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20068
bf51f568
JL
200692012-08-09 Jeff Law <law@redhat.com>
20070
20071 [BZ #13939]
20072 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20073 When avoid_arena is set, don't retry in the that arena. Pick the
20074 next one, whatever it might be.
20075 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20076 (arena_lock): Pass in new parameter to arena_get2.
20077 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20078 arena_get2.
20079 (__libc_malloc): Unify retrying after main arena failure with
20080 __libc_memalign version.
20081 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20082
f85fa270
L
200832012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20084
20085 [BZ #14166]
20086 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20087 to __redirect_strstr.
20088 (__strstr_sse42): Use typeof __redirect_strstr.
20089 (__strstr_ia32): Likewise.
20090 (__libc_strstr): New prototype.
20091 (strstr): Renamed to ...
20092 (__libc_strstr): This.
20093 (strstr): New strong alias of __libc_strstr.
20094 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20095 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20096 __redirect_time.
20097 Include <time.h>.
20098 (__libc_time): New prototype.
20099 (time_ifunc): Replace time with __libc_time.
20100 (time): New strong alias and hidden definition of __libc_time.
20101 (__GI_time): Remove strong alias.
20102 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20103 Include <stddef.h>.
20104 (memmove): Redefined to __redirect_memmove.
20105 (__memmove_sse2): Use typeof __redirect_memmove.
20106 (__memmove_ssse3): Likewise.
20107 (__memmove_ssse3_back): Likewise.
20108 (__libc_memmove): New prototype.
20109 (memmove): Renamed to ...
20110 (__libc_memmove): This.
20111 (memmove): New strong alias of __libc_memmove.
20112
33b4a91e
MS
201132012-08-08 Mark Salter <msalter@redhat.com>
20114
20115 * elf/elf.h
20116 (R_MN10300_TLS_GD): Define.
20117 (R_MN10300_TLS_LD): Likewise.
20118 (R_MN10300_TLS_LDO): Likewise.
20119 (R_MN10300_TLS_GOTIE): Likewise.
20120 (R_MN10300_TLS_IE): Likewise.
20121 (R_MN10300_TLS_LE): Likewise.
20122 (R_MN10300_TLS_DTPMOD): Likewise.
20123 (R_MN10300_TLS_DTPOFF): Likewise.
20124 (R_MN10300_TLS_TPOFF): Likewise.
20125 (R_MN10300_SYM_DIFF): Likewise.
20126 (R_MN10300_ALIGN): Likewise.
20127 (R_MN10300_NUM): Update.
20128
b36137f1
JM
201292012-08-08 Joseph Myers <joseph@codesourcery.com>
20130
20131 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20132 Remove.
20133
cdd915fd
RM
201342012-08-08 Roland McGrath <roland@hack.frob.com>
20135
a2433aac
RM
20136 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20137
cdd915fd
RM
20138 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20139 sysdeps/unix -> sysdeps/posix move.
20140 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20141
bf9b740a
AM
201422012-08-07 Allan McRae <allan@archlinux.org>
20143
20144 [BZ #14303]
20145 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20146 (SUNOS_CPP): Likewise.
20147 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20148 not found.
20149 (open_input): Call CPP using execvp.
20150
93df14ee
JM
201512012-08-07 Joseph Myers <joseph@codesourcery.com>
20152
20153 * sysdeps/unix/sysv/linux/kernel-features.h
20154 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20155 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20156 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20157 (__ASSUME_WAITID_SYSCALL): Likewise.
20158 * sysdeps/unix/sysv/linux/dl-execstack.c
20159 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20160 code unconditional.
20161 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20162 conditional code.
20163 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20164 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20165 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20166 code.
20167 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20168 unconditional.
20169 [__ASSUME_WAITID_SYSCALL]: Likewise.
20170 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20171
d34689de
RM
201722012-08-07 Roland McGrath <roland@hack.frob.com>
20173
a281decc
RM
20174 * sysdeps/unix/closedir.c: Renamed to ...
20175 * sysdeps/posix/closedir.c: ... here.
20176 * sysdeps/unix/dirfd.c: Renamed to ...
20177 * sysdeps/posix/dirfd.c: ... here.
20178 * sysdeps/unix/dirstream.h: Renamed to ...
20179 * sysdeps/posix/dirstream.h: ... here.
20180 * sysdeps/unix/fdopendir.c: Renamed to ...
20181 * sysdeps/posix/fdopendir.c: ... here.
20182 * sysdeps/unix/opendir.c: Renamed to ...
20183 * sysdeps/posix/opendir.c: ... here.
20184 * sysdeps/unix/readdir.c: Renamed to ...
20185 * sysdeps/posix/readdir.c: ... here.
20186 * sysdeps/unix/readdir_r.c: Renamed to ...
20187 * sysdeps/posix/readdir_r.c: ... here.
20188 * sysdeps/unix/rewinddir.c: Renamed to ...
20189 * sysdeps/posix/rewinddir.c: ... here.
20190 * sysdeps/unix/seekdir.c: Renamed to ...
20191 * sysdeps/posix/seekdir.c: ... here.
20192 * sysdeps/unix/telldir.c: Renamed to ...
20193 * sysdeps/posix/telldir.c: ... here.
20194 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20195 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20196 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20197 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20198
22895b47
RM
20199 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20200 * bits/fcntl.h: ... here.
20201
707a53b6
RM
20202 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20203 not 0.
20204 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20205 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20206 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20207 (struct flock): Move l_start, l_len to the beginning.
20208 Use __pid_t for l_pid.
20209 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20210 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20211 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20212 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20213 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20214 [__USE_LARGEFILE64] (struct flock64): New type.
20215 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20216
f0bd3e25
RM
20217 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20218 * bits/dirent.h: ... here.
20219
d34689de
RM
20220 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20221 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20222
6dad2c06
JM
202232012-08-07 Joseph Myers <joseph@codesourcery.com>
20224
20225 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20226 Change from 2.6.0 to 2.6.16.
20227 * sysdeps/unix/sysv/linux/configure: Regenerated.
20228 * sysdeps/unix/sysv/linux/kernel-features.h
20229 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20230 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20231 version.
20232 (__ASSUME_UTIMES): Likewise.
20233 (__ASSUME_CLONE_STOPPED): Remove.
20234 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20235 architectures, not kernel version.
20236 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20237 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20238 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20239 (__ASSUME_WAITID_SYSCALL): Likewise.
20240 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20241 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20242 * README: State 2.6.16 as minimum Linux kernel version. Do not
20243 refer to older versions.
20244
03af9520
RM
202452012-08-06 Roland McGrath <roland@hack.frob.com>
20246
8e49df1d
RM
20247 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20248 Define alphasort64 as an alias.
20249 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20250 Define versionsort64 as an alias.
20251 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20252 Define scandir64 as an alias.
20253 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20254 Define scandirat64 as an alias.
20255 * dirent/alphasort64.c (alphasort64):
20256 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20257 * dirent/versionsort64.c: Likewise.
20258 * dirent/scandir64.c: Likewise.
20259 * dirent/scandirat64.c: Likewise.
20260 * sysdeps/wordsize-64/alphasort.c: File removed.
20261 * sysdeps/wordsize-64/alphasort64.c: File removed.
20262 * sysdeps/wordsize-64/scandir.c: File removed.
20263 * sysdeps/wordsize-64/scandir64.c: File removed.
20264 * sysdeps/wordsize-64/scandirat.c: File removed.
20265 * sysdeps/wordsize-64/scandirat64.c: File removed.
20266 * sysdeps/wordsize-64/versionsort.c: File removed.
20267 * sysdeps/wordsize-64/versionsort64.c: File removed.
20268 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20269 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20270 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20271 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20272 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20273 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20274 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20275 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20276
20277 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20278 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20279 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20280 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20281 [defined __arch64__ || defined __sparcv9]
20282 (__INO_T_MATCHES_INO64_T): New macro.
20283 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20284 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20285 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20286 * sysdeps/unix/sysv/linux/bits/dirent.h
20287 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20288 (_DIRENT_MATCHES_DIRENT64): New macro.
20289
03af9520
RM
20290 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20291 Define lockf64 as an alias.
20292 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20293 Define fseeko64 as an alias.
20294 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20295 Define ftello64 as an alias.
20296 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20297 Define _IO_fgetpos64 and fgetpos64 as aliases.
20298 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20299 Define _IO_fsetpos64 and fsetpos64 as aliases.
20300 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20301 Conditionalize body on this.
20302 * libio/fseeko64.c: Likewise.
20303 * libio/ftello64.c: Likewise.
20304 * libio/iofgetpos64.c: Likewise.
20305 * libio/iofsetpos64.c: Likewise.
20306 * sysdeps/wordsize-64/lockf.c: File removed.
20307 * sysdeps/wordsize-64/lockf64.c: File removed.
20308 * sysdeps/wordsize-64/fseeko.c: File removed.
20309 * sysdeps/wordsize-64/fseeko64.c: File removed.
20310 * sysdeps/wordsize-64/ftello.c: File removed.
20311 * sysdeps/wordsize-64/ftello64.c: File removed.
20312 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20313 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20314 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20315 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20316 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20317 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20318 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20319 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20320 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20321 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20322 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20323 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20324 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20325 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20326
20327 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20328 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20329 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20330 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20331 [defined __arch64__ || defined __sparcv9]
20332 (__OFF_T_MATCHES_OFF64_T): New macro.
20333 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20334 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20335 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20336 (__OFF_T_MATCHES_OFF64_T): New macro.
20337
c5757acd
L
203382012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20339
20340 * stdlib/secure-getenv.c (__secure_getenv): Replace
20341 GLIBC_2_16 with GLIBC_2_17.
20342
3a31811e
L
203432012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20344
20345 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20346 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20347
faa2bccb
DM
203482012-08-03 David S. Miller <davem@davemloft.net>
20349
20350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20351
85fe1997
JM
203522012-08-03 Joseph Myers <joseph@codesourcery.com>
20353
20354 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20355 Remove.
20356 (__ASSUME_CORRECT_SI_PID): Likewise.
20357 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20358 (__ASSUME_TMPFS_NAME): Likewise.
20359 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20360 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20361 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20362 (HAVE_AUX_SECURE): Make definition unconditional.
20363 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20364 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20365
4f75b7a0
RM
203662012-08-03 Roland McGrath <roland@hack.frob.com>
20367
20368 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20369 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20370 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20371 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20372 __eloop_threshold instead of SYMLOOP_MAX.
20373
20374 * sysdeps/generic/eloop-threshold.h: New file.
20375 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20376 of MAXSYMLINKS.
20377 * elf/chroot_canon.c (chroot_canon): Likewise.
20378
7aab07e4
JM
203792012-08-03 Joseph Myers <joseph@codesourcery.com>
20380
20381 [BZ #13717]
20382 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20383 Change to 2.6.0 everywhere.
20384 * sysdeps/unix/sysv/linux/configure: Regenerated.
20385 * sysdeps/unix/sysv/linux/kernel-features.h
20386 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20387 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20388 kernel versions.
20389 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20390 (__ASSUME_FUTEX_REQUEUE): Remove.
20391 (__ASSUME_STATFS64): Define unconditionally.
20392 (__ASSUME_AT_SECURE): Likewise.
20393 (__ASSUME_CORRECT_SI_PID): Likewise.
20394 (__ASSUME_TGKILL): Define without depending on kernel version for
20395 i386.
20396 (__ASSUME_UTIMES): Likewise.
20397 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20398 kernel version.
20399 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20400 (__ASSUME_TMPFS_NAME): Likewise.
20401 * README: Update reference to Linux kernel versions.
20402
b67e9372
MP
204032012-08-02 Marek Polacek <polacek@redhat.com>
20404
1f529f7d 20405 [BZ# 14150]
b67e9372
MP
20406 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20407 libc_cv_asm_type_prefix with %.
20408 * configure: Regenerated.
d2441631
RM
20409 * include/libc-symbols.h: Remove comment about
20410 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
20411 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20412 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20413 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20414 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20415 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20416 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20417 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20418 * elf/tst-unique2mod1.c: Likewise.
20419 * elf/tst-unique1mod2.c: Likewise.
20420 * elf/tst-unique1mod1.c: Likewise.
20421 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20422 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20423 Replace ASM_TYPE_DIRECTIVE with .type.
20424 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20425 * sysdeps/i386/sysdep.h: Likewise.
20426 * sysdeps/x86_64/sysdep.h: Likewise.
20427 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
20428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20429 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 20430 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
20431 * sysdeps/powerpc/powerpc32/sysdep.h:
20432 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
20433 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20434 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20435 * sysdeps/i386/fpu/e_powf.S: Likewise.
20436 * sysdeps/i386/fpu/e_expl.S: Likewise.
20437 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20438 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20439 * sysdeps/i386/fpu/e_pow.S: Likewise.
20440 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20441 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20442 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20443 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20444 * sysdeps/i386/fpu/e_log2.S: Likewise.
20445 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20446 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20447 * sysdeps/i386/fpu/e_powl.S: Likewise.
20448 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20449 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20450 * sysdeps/i386/fpu/e_logl.S: Likewise.
20451 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20452 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20453 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20454 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20455 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20456 * sysdeps/i386/fpu/e_log.S: Likewise.
20457 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20458 * sysdeps/i386/fpu/e_logf.S: Likewise.
20459 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20460 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20461 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20462 * sysdeps/i386/fpu/e_log10.S: Likewise.
20463 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20464 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20465 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20466 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20467 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20468 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20469 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20470 * sysdeps/i386/i686/strtok.S: Likewise.
20471 * sysdeps/i386/i386-mcount.S: Likewise.
20472 * sysdeps/i386/strtok.S: Likewise.
20473 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20474 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20475 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20476 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20477 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20478 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20479 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20480 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20481 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20482 * sysdeps/x86_64/_mcount.S: Likewise.
20483 * sysdeps/x86_64/strtok.S: Likewise.
20484 * sysdeps/sh/_mcount.S: Likewise.
20485
2747bf9a
RM
204862012-08-01 Roland McGrath <roland@hack.frob.com>
20487
20488 * libio/iofopen.c: Include <fcntl.h>.
20489 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20490 (_IO_fopen64, fopen64): Define as aliases.
20491 * libio/iofopen64.c: Include <fcntl.h>.
20492 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20493 Conditionalize body on this.
20494 * sysdeps/wordsize-64/iofopen.c: File removed.
20495 * sysdeps/wordsize-64/iofopen64.c: File removed.
20496
3fb791b8
MP
204972012-08-01 Marek Polacek <polacek@redhat.com>
20498
20499 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20500 Use dlfcn directly instead of a variable.
20501 (binfmt-subdir): Do not define.
20502 (dlfcn): Likewise.
20503
a9f1039f
JM
205042012-08-01 Joseph Myers <joseph@codesourcery.com>
20505
23bddc06
JM
20506 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20507 Remove all definitions.
20508 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20509 <kernel-features.h>.
20510 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20511 (miss_F_GETOWN_EX): Remove all definitions.
20512 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20513 macro definition.
20514 [!__ASSUME_FCNTL64]: Remove conditional code.
20515 [__ASSUME_FCNTL64]: Make code unconditional.
20516 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20517 <kernel-features.h>.
20518 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20519 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20520 (lockf64) [__NR_fcntl64]: Make code unconditional.
20521 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20522
a9f1039f
JM
20523 * sysdeps/unix/sysv/linux/kernel-features.h
20524 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20525 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20526 Make code unconditional.
20527 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20528 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20530 [__NR_vfork]: Make code unconditional.
20531 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20532 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20534 [__NR_vfork]: Make code unconditional.
20535 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20536 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20537
09c0ee5f
RM
205382012-08-01 Roland McGrath <roland@hack.frob.com>
20539
48aec5b9
RM
20540 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20541 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20542
cd97c966
RM
20543 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20544 Define mkstemp64 as an alias.
3f55550c
RM
20545 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20546 Define mkstemps64 as an alias.
cd97c966
RM
20547 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20548 Define mkostemp64 as an alias.
b8625cfc
RM
20549 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20550 Define mkostemps64 as an alias.
cd97c966
RM
20551 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20552 Conditionalize body on this.
20553 * misc/mkostemp64.c: Likewise.
b8625cfc 20554 * misc/mkostemps64.c: Likewise.
3f55550c 20555 * misc/mkstemps64.c: Likewise.
cd97c966
RM
20556 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20557 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20558 * sysdeps/wordsize-64/mkostemp.c: File removed.
20559 * sysdeps/wordsize-64/mkstemp.c: File removed.
20560 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20561 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20562 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20563 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20564
09c0ee5f
RM
20565 [BZ #14138]
20566 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20567 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20568 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20569 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20570
20571 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20572 compat_symbol macros from <shlib-compat.h> rather than the underlying
20573 default_symbol_version and symbol_version macros, so that DEFAULT
20574 lines in shlib-versions are respected.
20575 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20576
7e66ee51
FW
205772012-08-01 Florian Weimer <fweimer@redhat.com>
20578
20579 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20580 Declare with warn_unused_result.
20581 (setgid, setregid, setegid, setresgid): Likewise.
20582 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20583 Likewise.
20584 * WUR-REPORT: Remove set*id functions.
20585
d2a54255
PT
205862012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20587
20588 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20589
7ecdb005
RM
205902012-07-31 Roland McGrath <roland@hack.frob.com>
20591
b4180a5e 20592 [BZ #10191]
789bd351
RM
20593 * include/sys/socket.h (__libc_accept, __libc_accept4):
20594 Add attribute_hidden.
20595 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20596
40ce302d
RM
20597 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20598 use of PTR_MANGLE.
20599 * inet/getnetgrent_r.c (setup): Likewise.
20600
7ecdb005
RM
20601 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20602
e2eabb2c
DM
206032012-07-31 David S. Miller <davem@davemloft.net>
20604
20605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20606
d0419dbf
JM
206072012-07-31 Joseph Myers <joseph@codesourcery.com>
20608
20609 [BZ #13629]
20610 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20611 value between 1.0 and 2.0 and smaller part has absolute value less
20612 than 1.0.
20613 * math/s_clog10.c (__clog10): Likewise.
20614 * math/s_clog10f.c (__clog10f): Likewise.
20615 * math/s_clog10l.c (__clog10l): Likewise.
20616 * math/s_clogf.c (__clogf): Likewise.
20617 * math/s_clogl.c (__clogl): Likewise.
20618 * math/libm-test.inc (clog_test): Add more tests.
20619 (clog10_test): Likewise.
20620 * sysdeps/i386/fpu/libm-test-ulps: Update.
20621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20622
2bc13872
FW
206232012-07-31 Florian Weimer <fweimer@redhat.com>
20624
20625 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20626 Exit with zero in case no suitable GID is found, and write a
20627 message to standard error.
20628
bea9b193
RM
206292012-07-30 Roland McGrath <roland@hack.frob.com>
20630
20631 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20632 rather than to 1.
20633 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20634 (MAXPATHLEN): Removed.
20635 (NOGROUP, NODEV): New macros.
20636 (setbit, clrbit, isset, isclr): New macros.
20637 (howmany, roundup, powerof2): New macros.
20638 (DEV_BSIZE): New macro.
20639
20640 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20641 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20642
20643 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20644 definition on [!__NO_LONG_DOUBLE_MATH].
20645
20646 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20647 PTR_MANGLE and PTR_DEMANGLE.
20648
20649 * socket/accept4.c (accept4): Rename to __libc_accept4.
20650 Define accept4 as a weak alias.
20651
20652 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20653 on [_DIRENT_HAVE_D_TYPE].
20654 * io/ftw.c (ftw_dir): Likewise.
20655
20656 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20657
20658 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20659
20660 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20661 Use the BSD numbers rather than the arbitrary ones we had.
20662 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20663 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20664 (SIGXCPU, SIGXFSZ): New macros.
20665 (_NSIG): Now 32.
20666
20667 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20668 initializer on [_LIBC_REENTRANT].
20669
20670 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20671 definitions inside [_POSIX_MAPPED_FILES].
20672
20673 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20674
20675 * dirent/opendir.c: Include <fcntl.h>.
20676
20677 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20678 (__libc_getspecific): Likewise.
20679 (__libc_key_create): Likewise.
20680
20681 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20682 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20683 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20684 (tmpfile64): Define as alias.
20685 * sysdeps/wordsize-64/tmpfile.c: File removed.
20686 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20687 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20688 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20689
20690 * stdio-common/vfscanf.c: Include <stdbool.h>.
20691 * nss/makedb.c: Likewise.
20692 * stdio-common/_i18n_number.h: Likewise.
20693 * argp/argp-help.c: Likewise.
20694 * posix/wordexp.c: Likewise.
20695 * sysdeps/posix/spawni.c: Likewise.
20696 * nss/nss_files/files-initgroups.c: Likewise.
20697 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20698 * nss/nss_files/files-initgroups.c: Likewise.
20699 * nss/nss_db/db-netgrp.c: Likewise.
20700 * nss/nss_db/db-initgroups.c: Likewise.
20701 * io/fchmodat.c: Include <sys/stat.h>.
20702
20703 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20704 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20705
20706 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20707 [HAVE_MMAP].
20708
20709 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20710 Add multiple inclusion protection.
20711
e5abc686
DM
207122012-07-27 David S. Miller <davem@davemloft.net>
20713
20714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20715
815e6fa3
GB
207162012-07-27 Gary Benson <gbenson@redhat.com>
20717
20718 [BZ #14298]
20719 * elf/rtld.c: Include <stap-probe.h>.
20720 (dl_main): Added static probes "init_start" and "init_complete".
20721 * elf/dl-load.c: Include <stap-probe.h>.
20722 (lose): Take new parameter "nsid".
20723 Added static probe "map_failed".
20724 (_dl_map_object_from_fd): Pass namespace id to lose.
20725 Added static probe "map_start".
20726 (open_verify): Pass namespace id to lose.
20727 * elf/dl-open.c: Include <stap-probe.h>.
20728 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20729 and "reloc_complete".
20730 * elf/dl-close.c: Include <stap-probe.h>.
20731 (_dl_close_worker): Added static probes "unmap_start" and
20732 "unmap_complete".
20733 * elf/rtld-debugger-interface.txt: New file documenting the above.
20734
9f98c16c
RM
207352012-07-26 Roland McGrath <roland@hack.frob.com>
20736
20737 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20738 rather than a string variable.
20739 * sunrpc/rpc_main.c (h_output): Likewise.
20740 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20741
f3c22df3
PT
207422012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20743
20744 * inet/check_native.c: New file.
20745
3129cfc6
JM
207462012-07-26 Joseph Myers <joseph@codesourcery.com>
20747
da865e95
JM
20748 [BZ #13629]
20749 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20750 if larger part has absolute value 1.0.
20751 * math/s_clog10.c (__clog10): Likewise.
20752 * math/s_clog10f.c (__clog10f): Likewise.
20753 * math/s_clog10l.c (__clog10l): Likewise.
20754 * math/s_clogf.c (__clogf): Likewise.
20755 * math/s_clogl.c (__clogl): Likewise.
20756 * math/libm-test.inc (clog_test): Add more tests.
20757 (clog10_test): Likewise.
20758 * sysdeps/i386/fpu/libm-test-ulps: Update.
20759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20760
3129cfc6
JM
20761 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20762 (pltexit): Likewise.
20763 (La_regs): Likewise.
20764 (La_retval): Likewise.
20765 (int_retval): Likewise.
20766 Update #error for removed macros to refer only to definitions in
20767 tst-audit.h.
20768 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20769 macro.
20770 (pltexit): Likewise.
20771 (La_regs): Likewise.
20772 (La_retval): Likewise.
20773 (int_retval): Likewise.
20774 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20775 macro.
20776 (pltexit): Likewise.
20777 (La_regs): Likewise.
20778 (La_retval): Likewise.
20779 (int_retval): Likewise.
20780 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20781 macro.
20782 (pltexit): Likewise.
20783 (La_regs): Likewise.
20784 (La_retval): Likewise.
20785 (int_retval): Likewise.
20786 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20787 macro.
20788 (pltexit): Likewise.
20789 (La_regs): Likewise.
20790 (La_retval): Likewise.
20791 (int_retval): Likewise.
20792 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20793 macro.
20794 (pltexit): Likewise.
20795 (La_regs): Likewise.
20796 (La_retval): Likewise.
20797 (int_retval): Likewise.
20798 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20799 macro.
20800 (pltexit): Likewise.
20801 (La_regs): Likewise.
20802 (La_retval): Likewise.
20803 (int_retval): Likewise.
20804 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20805 macro definitions in tst-audit.h.
20806 * sysdeps/i386/tst-audit.h: New file.
20807 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20808 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20809 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20810 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20811 * sysdeps/sh/tst-audit.h: Likewise.
20812 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20813 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20814 * sysdeps/x86_64/tst-audit.h: Likewise.
20815
bfc07087
AJ
208162012-07-26 Andreas Jaeger <aj@suse.de>
20817
b1b2aaf8
AJ
20818 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20819 ptrace.
20820
20821 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20822 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20823 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20824 PTRACE_O_MASK.
20825 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20826 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20827 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20828
bfc07087
AJ
20829 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20830 value.
20831
20832 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20833 _sigsys.
20834 (si_call_addr, si_syscall, si_arch): Define new macro.
20835 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20836 _sigsys.
20837 (si_call_addr, si_syscall, si_arch): Define new marcro.
20838 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20839 _sigsys.
20840 (si_call_addr, si_syscall, si_arch): Define new macro.
20841 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20842 _sigsys.
20843 (si_call_addr, si_syscall, si_arch): Define new macro.
20844
89b4b02f
JM
208452012-07-25 Joseph Myers <joseph@codesourcery.com>
20846
20847 [BZ #13717]
20848 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20849 Change to 2.4.21 where previously 2.4.1.
20850 * sysdeps/unix/sysv/linux/configure: Regenerated.
20851 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20852 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20853 Linux kernel version.
20854 (__ASSUME_STD_AUXV): Remove.
20855 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20856 kernel version.
20857 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20858 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20859 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20860 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20861 (__ASSUME_NETLINK_SUPPORT): Likewise.
20862 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20863 (__no_netlink_support): Remove conditional definition.
20864 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20865 Remove.
20866 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20867 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20868 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20869 (if_nameindex_ioctl): Remove.
20870 (if_nameindex_netlink): Do not handle __no_netlink_support.
20871 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20872 code.
20873 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20874 Remove conditional code.
20875 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20876 code.
20877 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20878 unconditional.
20879 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20880 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20881 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20882 Remove.
20883 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20884 [!__ASSUME_STD_AUXV]: Remove conditional code.
20885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20886 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20887 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20889 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20890 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20891 code.
20892 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20894 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20895 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20896 conditional code.
20897 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20899 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20900 code.
20901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20902 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20903 conditional code.
20904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20905 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20906 code unconditional.
20907 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20908 conditional code.
20909 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20910 unconditional.
20911 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20912 conditional code.
20913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20914 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20915 unconditional.
20916 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20917 conditional code.
20918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20919 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20920 code unconditional.
20921 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20922 conditional code.
20923 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20924 unconditional.
20925 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20926 conditional code.
20927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20928 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20929 code unconditional.
20930 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20931 conditional code.
20932 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20933 unconditional.
20934 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20935 conditional code.
20936
842a39cd
AS
209372012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20938
20939 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20940 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20941 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20942 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20943 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20944 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20945 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20946 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20947 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20948 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20949 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20950 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20951 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20952 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20953 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20954 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20955 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20956 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20957 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20958 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20959 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20960 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20961 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20962
84b3fd84
FW
209632012-07-25 Florian Weimer <fweimer@redhat.com>
20964
20965 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
20966 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20967 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20968 Introduce __libc_secure_getenv.
0c7936d5
FW
20969 * stdlib/Versions (2.17): Add secure_getenv
20970 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20971 * stdlib/secure-getenv.c: Rename __secure_getenv to
20972 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20973 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
20974 * stdlib/tst-secure-getenv.c: New.
20975 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
20976 * manual/startup.texi (Environment Access): Document
20977 secure_getenv.
84b3fd84
FW
20978 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20979 __libc_secure_getenv.
20980 * inet/ruserpass.c (ruserpass): Likewise.
20981 * malloc/mtrace.c (mtrace): Likewise.
20982 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 20983 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
20984 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20985 * sysdeps/posix/tempname.c: Likewise. Evaluate
20986 HAVE_SECURE_GETENV.
20987 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 20988 __secure_getenv to __libc_secure_getenv.
84b3fd84 20989 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
20990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20991 Likewise.
20992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20993 Likewise.
20994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20996 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 21001
56e49b71
JM
210022012-07-25 Joseph Myers <joseph@codesourcery.com>
21003
21004 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21005 (struct La_i86_retval): Likewise.
21006 (struct La_x86_64_regs): Likewise.
21007 (struct La_x86_64_retval): Likewise.
21008 (struct La_x32_regs): Likewise.
21009 (struct La_x32_retval): Likewise.
21010 (struct La_ppc32_regs): Likewise.
21011 (struct La_ppc32_retval): Likewise.
21012 (struct La_ppc64_regs): Likewise.
21013 (struct La_ppc64_retval): Likewise.
21014 (struct La_sh_regs): Likewise.
21015 (struct La_sh_retval): Likewise.
21016 (struct La_s390_32_regs): Likewise.
21017 (struct La_s390_32_retval): Likewise.
21018 (struct La_s390_64_regs): Likewise.
21019 (struct La_s390_64_retval): Likewise.
21020 (struct La_sparc32_regs): Likewise.
21021 (struct La_sparc32_retval): Likewise.
21022 (struct La_sparc64_regs): Likewise.
21023 (struct La_sparc64_retval): Likewise.
21024 (struct audit_ifaces): Remove architecture-specific pltenter and
21025 pltexit members.
21026 * sysdeps/i386/ldsodefs.h: New file.
21027 * sysdeps/powerpc/ldsodefs.h: Likewise.
21028 * sysdeps/s390/ldsodefs.h: Likewise.
21029 * sysdeps/sh/ldsodefs.h: Likewise.
21030 * sysdeps/sparc/ldsodefs.h: Likewise.
21031 * sysdeps/x86_64/ldsodefs.h: Likewise.
21032
354691b7
MP
210332012-07-25 Marek Polacek <polacek@redhat.com>
21034
21035 [BZ #6808]
21036 * math/libm-test.inc (yn_test): Add another test.
21037 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21038 to ERANGE when the result is +-Inf.
21039 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21040 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21041 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21042 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21043
bf9e2071
JM
210442012-07-24 Joseph Myers <joseph@codesourcery.com>
21045
21046 * conform/data/time.h-data (NULL): Use macro-constant. Require
21047 equal to 0.
21048 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21049 clock_t.
21050 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21051
57633811
TS
210522012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21053
21054 * configure.in <sysdeps resolving>: Correct printing
21055 Implies_before.
21056 * configure: Regenerate.
21057
c23c33b0
TS
210582012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21059
21060 * math/w_ilogb.c: Include <limits.h>.
21061 * math/w_ilogbl.c: Likewise.
21062
b5982523
JM
210632012-07-20 Joseph Myers <joseph@codesourcery.com>
21064
21065 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21066 va_copy. Document allowing for unavailable va_copy only as
21067 pre-C99 compatibility.
21068 * manual/string.texi (Copying and Concatenation): Use va_copy
21069 instead of __va_copy in concat example.
21070
ac4ea442
PT
210712012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21072
21073 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21074 (__sendto): Use create_address_port. Initialize APORT and deallocate
21075 it if not null.
21076
f98eafbd
PT
21077 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21078 with O_NOLINK passed to __file_name_lookup.
21079
898c7aab
PT
21080 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21081 with O_NOLINK passed to __file_name_lookup.
21082
0ced335a
PT
21083 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21084 negative N or less than NGIDS.
21085
b3404dbd
PT
21086 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21087 type to string_t. Set ERANGE as errno and return it if NAME is not big
21088 enough. Use memcpy instead of strncpy.
21089
0f48659e
JM
210902012-07-20 Joseph Myers <joseph@codesourcery.com>
21091
21092 * elf/Makefile (check-data): Remove.
21093 (localplt.data): New vpath directive.
21094 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21095 instead of $(check-data).
21096 * scripts/data/localplt-generic.data: Move to ...
21097 * sysdeps/generic/localplt.data: ... here.
21098 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21099 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21100 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21102 ... here.
21103 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21105 ... here.
21106 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21108 ... here.
21109 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21111 ... here.
21112 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21114 ... here.
21115 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21117 ... here.
21118
d37cbdaa
AZ
211192012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21120
21121 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21122 PPC32 and PPC64 files.
21123 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21124 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21125
46f85fc2
AK
211262012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21127
21128 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21129 __makecontext_ret to ...
21130 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21131 ... here and call exit if uc_link is NULL. New file.
21132 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21133 __makecontext_ret.S.
21134 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21135 __makecontext_ret to ...
21136 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21137 ... here and call exit if uc_link is NULL. New file.
21138 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21139 __makecontext_ret.S.
21140
08f43f9b
AK
211412012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21142
21143 * elf/elf.h (R_390_IRELATIVE): New definition.
21144 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21145 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21146 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21147 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21148 (elf_machine_lazy_rel): Likewise.
21149 * sysdeps/s390/dl-irel.h: New file.
21150 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21151 * sysdeps/s390/s390-64/memset.S: New asm code.
21152 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21153 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21154 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21155 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21156 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21157 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21158 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21159 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21160 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21161 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21162 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21163 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21164 * sysdeps/s390/s390-32/memset.S: New asm code.
21165 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21166
3b05db33
MP
211672012-07-17 Marek Polacek <polacek@redhat.com>
21168
21169 [BZ #14349]
21170 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21171 * sysdeps/s390/s390-64/configure.in: Likewise.
21172 * sysdeps/sparc/configure.in: Likewise.
21173 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21174 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21175 * sysdeps/i386/configure.in: Likewise.
21176 * sysdeps/x86_64/configure.in: Likewise.
21177 * sysdeps/sh/configure.in: Likewise.
21178 * sysdeps/s390/s390-32/configure: Regenerated.
21179 * sysdeps/s390/s390-64/configure: Likewise.
21180 * sysdeps/x86_64/configure: Likewise.
21181 * sysdeps/sh/configure: Likewise.
21182 * sysdeps/powerpc/powerpc64/configure: Likewise.
21183 * sysdeps/powerpc/powerpc32/configure: Likewise.
21184 * sysdeps/sparc/configure: Likwise.
21185 * sysdeps/i386/configure: Likewise.
21186
a66877c6
MP
21187 * elf/dl-open.c: Comment fixes.
21188
cfc82fd8
JM
211892012-07-17 Joseph Myers <joseph@codesourcery.com>
21190
bd29910a
JM
21191 * Makefile [CXX] (check-data): Remove.
21192 [CXX] (c++-types.data): New vpath directive.
21193 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21194 vpath. Do not allow for C++ type data being missing.
21195 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21196 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21197 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21198 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21199 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21200 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21201 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21203 ... here.
21204 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21206 ... here.
21207 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21209 ... here.
21210 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21212 ... here.
21213 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21215 ... here.
21216 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21218 ... here.
21219 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21221 ... here.
21222 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21224
cfc82fd8
JM
21225 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21226 definitions to architecture-specific files.
21227 (TLS_IE): Likewise.
21228 (TLS_LD): Likewise.
21229 (TLS_GD): Likewise.
21230 * sysdeps/i386/tls-macros.h: New file.
21231 * sysdeps/powerpc/tls-macros.h: Likewise.
21232 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21233 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21234 * sysdeps/sh/tls-macros.h: Likewise.
21235 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21236 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21237 * sysdeps/x86_64/tls-macros.h: Likewise.
21238
f7db3170
TS
212392012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21240
07cbfc23
TS
21241 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21242 zero value for regular exit case.
21243
f7db3170
TS
21244 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21245 (__start_context): Preserve zero value for regular exit case.
21246
dc97c227
TS
212472012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21248 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21249
21250 * manual/setjmp.texi (setcontext): Clarify normal process
21251 termination when uc_link is the null pointer.
21252 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21253 exit call.
21254
d0cd7d02
AS
212552012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21256
21257 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21258 preprocessor. Test for each exception mask separately.
21259
dd318934
AJ
212602012-07-16 Andreas Jaeger <aj@suse.de>
21261
21262 * po/ru.po: Update from translation team.
21263
8048311a
JM
212642012-07-15 Joseph Myers <joseph@codesourcery.com>
21265
21266 * conform/data/string.h-data (NULL): Use macro-constant. Require
21267 equal to 0.
21268 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21269 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21270 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21271 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21272 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21273
b637d46e
AJ
212742012-07-13 Andreas Jaeger <aj@suse.de>
21275
21276 * po/fr.po: Update from translation team.
21277
541428fe
MP
212782012-07-12 Marek Polacek <polacek@redhat.com>
21279
21280 [BZ #14173]
21281 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21282 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21283 loop condition.
21284
ec332e94
JM
212852012-07-12 Joseph Myers <joseph@codesourcery.com>
21286
21287 [BZ #13717]
21288 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21289 Change to 2.4.1 where previously 2.4.0.
21290 * sysdeps/unix/sysv/linux/configure: Regenerated.
21291 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21292 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21293 version.
21294 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21295 (__ASSUME_AT_CLKTCK): Remove.
21296 (__ASSUME_AT_PAGESIZE): Likewise.
21297 (__ASSUME_AT_XID): Likewise.
21298 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21299 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21300 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21301 unconditionally.
21302 (HAVE_AUX_PAGESIZE): Likewise.
21303 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21304 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21305 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21306
7b6e99be
JB
213072012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21308
21309 [BZ #14307]
21310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21311 the temporary buffer used to invoke __gethostbyname2_r,
21312 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21313 host_data / struct gaih_addrtuple.
21314 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21315 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21316 header file nss/nsswitch.h.
21317 * nss/nsswitch.h (global scope): Add definition of implementation
21318 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21319 resolv/nss_dns/dns-host.c).
21320
608404eb
AJ
213212012-07-11 Andreas Jaeger <aj@suse.de>
21322
21323 * po/fr.po: Update from translation team.
21324
71220aca
AJ
21325 * po/sv.po: Update from translation team
21326 * po/fr.po: Another update from translation team.
21327
28cfe843
AZ
213282012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21329
21330 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21331 for subnormals or multiply small sinh result by itself.
21332 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21334
6b90f981
DM
213352012-07-11 David S. Miller <davem@davemloft.net>
21336
21337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21338
c6825772
AS
213392012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21340
21341 [BZ #14347]
21342 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21343 (INTERNAL_MARK): Shift it here.
21344
7b8e0d49
MP
213452012-07-10 Marek Polacek <polacek@redhat.com>
21346
21347 [BZ #14151]
21348 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21349 libc_cv_asm_global_directive with .globl.
21350 * configure: Regenerated.
21351 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21352 with .globl.
21353 * sysdeps/i386/configure: Regenerated.
21354 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21355 with .globl.
21356 * sysdeps/x86_64/configure: Regenerated.
21357 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21358 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21359 * elf/tst-unique2mod2.c: Likewise.
21360 * elf/tst-unique2mod1.c: Likewise.
21361 * elf/tst-unique1mod2.c: Likewise.
21362 * elf/tst-unique1mod1.c: Likewise.
21363 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21364 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21365 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21366 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21367 * sysdeps/mach/sysdep.h: Likewise.
21368 * sysdeps/i386/sysdep.h: Likewise.
21369 * sysdeps/i386/i386-mcount.S: Likewise.
21370 * sysdeps/x86_64/_mcount.S: Likewise.
21371 * sysdeps/x86_64/sysdep.h: Likewise.
21372 * sysdeps/sh/_mcount.S: Likewise.
21373 * sysdeps/sh/sysdep.h: Likewise.
21374 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21375 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21376 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21377 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21378 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21379 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21380 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21381 * locale/localeinfo.h: Likewise.
21382 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21383 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21384
6c55cda3
RM
213852012-07-09 Roland McGrath <roland@hack.frob.com>
21386
21387 [BZ #14336]
21388 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21389 system".
21390 * manual/message.texi (The Uniforum approach): Likewise.
21391 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21392 (glibc iconv Implementation): Likewise.
21393
638a572e
JM
213942012-07-09 Joseph Myers <joseph@codesourcery.com>
21395
21396 [BZ #14337]
21397 * math/s_clog.c (__clog): Avoid scaling a value down where that
21398 could result in underflow.
21399 * math/s_clog10.c (__clog10): Likewise.
21400 * math/s_clog10f.c (__clog10f): Likewise.
21401 * math/s_clog10l.c (__clog10l): Likewise.
21402 * math/s_clogf.c (__clogf): Likewise.
21403 * math/s_clogl.c (__clogl): Likewise.
21404 * math/libm-test.inc (clog_test): Add more tests.
21405 (clog10_test): Likewise.
21406 * sysdeps/i386/fpu/libm-test-ulps: Update.
21407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21408
261f4859
AS
214092012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21410
0abaf3e4
AS
21411 [BZ #14283]
21412 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21413 by 7 not 8 to examine high bit of fractional part.
21414
261f4859
AS
21415 [BZ #14042]
21416 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21417 for call to __mcount_internal.
21418 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21419 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21420 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21421
f17ac40d
JM
214222012-07-06 Joseph Myers <joseph@codesourcery.com>
21423
9ad63c23
JM
21424 [BZ #14154]
21425 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21426 approximation for values within 0x1p-13f of an odd multiple of
21427 pi/4.
21428 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21429 exception. Add more tests.
21430 * sysdeps/i386/fpu/libm-test-ulps: Update.
21431
f17ac40d
JM
21432 [BZ #6778]
21433 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21434 inputs and return -1 for them. Do not check for +Inf in case not
21435 reachable for +Inf.
21436 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21437 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21438 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21439 and return -1 for them. Do not check for +Inf in case not
21440 reachable for +Inf.
21441 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21442 define.
21443 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21444 and return -1 for them. Do not check for +Inf in case not
21445 reachable for +Inf.
21446 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21447 spurious underflow.
21448 * sysdeps/i386/fpu/libm-test-ulps: Update.
21449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21450
fb21f89b
MF
214512012-07-06 Mike Frysinger <vapier@gentoo.org>
21452
21453 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21454
cdfe2c5e
JM
214552012-07-05 Joseph Myers <joseph@codesourcery.com>
21456
21457 [BZ #14157]
21458 [BZ #14331]
21459 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21460 could result in spurious underflow. Scale down values above
21461 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21462 * math/s_csqrtf.c (__csqrtf): Likewise.
21463 * math/s_csqrtl.c (__csqrtl): Likewise.
21464 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21465 spurious underflow.
21466 * sysdeps/i386/fpu/libm-test-ulps: Update.
21467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21468
70d35b67
AS
214692012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21470
704bc459
AS
21471 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21472 xopen-msg.sed.
21473 * catgets/xopen-msg.awk: New file.
21474 * catgets/xopen-msg.sed: Removed.
21475
70d35b67
AS
21476 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21477 po2text.sed.
21478 * intl/po2test.awk: New file.
21479 * intl/po2test.sed: Removed.
21480
ca61cf32
JM
214812012-07-04 Joseph Myers <joseph@codesourcery.com>
21482
21483 [BZ #14328]
21484 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21485 or multiply small sinh result by itself.
21486 * math/s_ctanf.c (__ctanf): Likewise.
21487 * math/s_ctanh.c (__ctanh): Likewise.
21488 * math/s_ctanhf.c (__ctanhf): Likewise.
21489 * math/s_ctanhl.c (__ctanhl): Likewise.
21490 * math/s_ctanl.c (__ctanl): Likewise.
21491 * math/libm-test.inc (ctan_test_tonearest): New function.
21492 (ctan_test_towardzero): Likewise.
21493 (ctan_test_downward): Likewise.
21494 (ctan_test_upward): Likewise.
21495 (ctanh_test_tonearest): Likewise.
21496 (ctanh_test_towardzero): Likewise.
21497 (ctanh_test_downward): Likewise.
21498 (ctanh_test_upward): Likewise.
21499 (main): Call these new functions.
21500 * sysdeps/i386/fpu/libm-test-ulps: Update.
21501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21502
ca48a46a
MF
215032012-07-03 Mike Frysinger <vapier@gentoo.org>
21504
21505 * .gitignore: Delete /ports entry.
21506
9d63d37d
AJ
215072012-07-03 Andreas Jaeger <aj@suse.de>
21508
21509 * po/bg.po: Update from translation team.
21510 * po/cs.po: Likewise.
21511 * po/de.po: Likewise.
21512 * po/hr.po: Likewise.
21513 * po/nl.pl: Likewise.
21514 * po/pl.po: Likewise.
21515 * po/vi.po: Likewise.
21516
370ca3d2
JM
215172012-07-03 Joseph Myers <joseph@codesourcery.com>
21518
95f5a9a8
JM
21519 * Makeconfig [!+link] (+link-before-libc): New variable.
21520 [!+link] (+link-after-libc): Likewise.
21521 [!+link] (+link-tests): Likewise.
21522 [!+link] (+link): Define in terms of $(+link-before-libc) and
21523 $(+link-after-libc).
21524 [!+link-static] (+link-static-before-libc): New variable.
21525 [!+link-static] (+link-static-after-libc): Likewise.
21526 [!+link-static] (+link-static-tests): Likewise.
21527 [!+link-static] (+link-static): Define in terms of
21528 $(+link-static-before-libc) and $(+link-static-after-libc).
21529 [build-shared] (link-libc-before-gnulib): New variable.
21530 [build-shared] (link-libc-tests): Likewise.
21531 [build-shared] (link-libc): Define in terms of
21532 $(link-libc-before-gnulib).
21533 [!build-shared] (link-libc-tests): New variable.
21534 (link-libc-static-tests): New variable.
21535 [!gnulib] (gnulib-arch): New variable.
21536 [!gnulib] (gnulib-tests): Likewise.
21537 [!gnulib] (static-gnulib-arch): Likewise.
21538 [!gnulib] (static-gnulib-tests): Likewise.
21539 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21540 Define with "=" instead of ":=".
21541 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21542 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21543 * Rules (binaries-all-notests): New variable.
21544 (binaries-all-tests): Likewise.
21545 (binaries-static-notests): Likewise.
21546 (binaries-static-tests): Likewise.
21547 (binaries-all): Define using $(binaries-all-notests) and
21548 $(binaries-all-tests).
21549 (binaries-static): Define using $(binaries-static-notests) and
21550 $(binaries-static-tests).
21551 (binaries-shared-tests): New variable.
21552 (binaries-shared-notests): Likewise.
21553 (binaries-shared): Remove variable.
21554 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21555 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21556 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21557 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21558 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21559 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21560 * elf/Makefile (sln-modules): New variable.
21561 (extra-objs): Add $(sln-modules:=.o).
21562 (ldconfig-modules): Add static-stubs.
21563 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21564 * elf/static-stubs.c: New file.
21565
7a845b2c
JM
21566 [BZ #14283]
21567 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21568 by 7 not 8 to examine high bit of fractional part. Use volatile
21569 variables when splitting into final array of floats if
21570 __FLT_EVAL_METHOD__ != 0.
21571 * math/libm-test.inc (cos_test): Add another test.
21572 (sin_test): Likewise.
21573 * sysdeps/i386/fpu/libm-test-ulps: Update.
21574
e2283f38
JM
21575 [BZ #14273]
21576 * math/libm-test.inc (cosh_test): Add more tests.
21577
370ca3d2
JM
21578 * version.h (RELEASE): Set to "development".
21579 (VERSION): Set to "2.16.90".
21580
ee9247c3
CD
215812012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21582
21583 * NEWS: Update copyright. Remove last-updated date.
21584 Mention math library bug fixes and timezone data changes.
21585 * README: Mention GNU/Hurd, x32, and HPPA support status.
21586
4648c381
TS
215872012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21588
21589 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21590
aac78a43
AJ
215912012-06-27 Andreas Jaeger <aj@suse.de>
21592
21593 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21594
ed3dbfad
AJ
215952012-06-25 Andreas Jaeger <aj@suse.de>
21596
21597 * sysdeps/s390/fpu/libm-test-ulps: Update.
21598
4d0ee855
AS
215992012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21600 Thomas Schwinge <thomas@codesourcery.com>
21601
21602 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21603 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21604 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21605 fanotify_mark.
21606
af1bce34
TS
216072012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21608
a9fa33ba
TS
21609 * sysdeps/mach/start.c: Remove file.
21610 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21611 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21612 * sysdeps/sh/init-first.c: Likewise.
21613
58f902b8
TS
21614 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21615 registers for frame unwinding purposes, add CFI directives.
21616 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21617 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21618 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21619 Likewise.
21620
1518f58b
TS
21621 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21622 __fortify_fail returning.
21623 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21624
db9b5059
TS
21625 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21626 sysdeps/sh/____longjmp_chk.S.
21627 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21628 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21629 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21630 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21631
967705fe
TS
21632 * sysdeps/sh/abort-instr.h: New file.
21633 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21634 process in case exit returns.
21635
a9def8c4
TS
21636 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21637 initialize the GOT register before use.
21638
2a649725
TS
21639 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21640 calculation of ARGC > 4.
21641
af1bce34
TS
21642 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21643 meaningful names to some local labels.
21644
d230f50a
KK
216452012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21646 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21647
21648 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21649 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21650 (__arch_compare_and_exchange_val_16_acq): Likewise.
21651 (__arch_compare_and_exchange_val_32_acq): Likewise.
21652 (atomic_exchange_and_add): Fix gUSA sequence.
21653 (atomic_add): Likewise.
21654 (atomic_add_negative): Likewise.
21655 (atomic_add_zero): Likewise.
21656 (atomic_bit_test_set): Likewise.
21657
0479b305
AS
216582012-06-22 Andreas Schwab <schwab@redhat.com>
21659
21660 [BZ #13579]
21661 * include/link.h (struct link_map): Add l_free_initfini.
21662 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21663 l_initfini.
21664 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21665 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21666 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21667 set.
21668
0e3933b9
CD
216692012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21670
21671 * configure.in: Use AC_LANG_SOURCE.
21672 * configure: Regenerate.
21673
4248b1b1
RM
216742012-06-22 Roland McGrath <roland@hack.frob.com>
21675
21676 * configure.in (libc_cv_localstatedir): New substituted variable.
21677 * configure: Regenerated.
21678 * config.make.in (localstatedir): New variable, substituted from
21679 libc_cv_localstatedir.
21680 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21681 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21682 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21683 * sysdeps/gnu/configure: Regenerated.
21684
006dd861
JL
216852012-06-21 Jeff Law <law@redhat.com>
21686
21687 [BZ #14277]
21688 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21689 free. Simplify list management for _LIBC case.
21690
79662d42
JM
216912012-06-21 Joseph Myers <joseph@codesourcery.com>
21692
b7abb4bf
JM
21693 [BZ #14273]
21694 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21695 Clear sign bit of 64-bit integer value before comparing against
21696 overflow value.
21697
79662d42
JM
21698 * sysdeps/mach/configure: Regenerated.
21699
1f150908
L
217002012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21701
21702 [BZ #14278]
21703 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21704
28363bbf
JL
217052012-06-21 Jeff Law <law@redhat.com>
21706
21707 [BZ #13882]
21708 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21709 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 21710 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
21711 * elf/dl-open.c (dl_open_worker): Likewise.
21712
09615db4
CD
217132012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21714
21715 * scripts/list-sources.sh: Scan PORTS for translations.
21716 * po/libc.pot: Regenerated.
21717
2174c6dd
AJ
217182012-06-21 Andreas Jaeger <aj@suse.de>
21719
21720 [BZ #12194]
21721 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21722 warning.
21723 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21724 * bits/byteswap-16.h (__bswap_16): Likewise.
21725 * bits/byteswap.h (__bswap_constant_16): Likewise.
21726
3ee947b1
L
217272012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21728
21729 [BZ #14117]
a2f34833
L
21730 * sysdeps/i386/fpu_control.h: Removed.
21731 * sysdeps/x86_64/fpu_control.h: Moved to ...
21732 * sysdeps/x86/fpu_control.h: Here.
21733
3ee947b1
L
21734 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21735 (_FPU_SETCW): Likewise.
21736
ed1825f8
L
217372012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21738
25f1282a
L
21739 [BZ #14117]
21740 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21741 * sysdeps/x86/fpu/bits/mathinline.h: This.
21742 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21743
ed1825f8
L
21744 [BZ #14050]
21745 [BZ #14117]
21746 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21747 functions if __x86_64__ is defined.
21748
36d54b74
CLT
217492012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21750
21751 * string/endian.h: Add !__ASSEMBLER__ condition for including
21752 conversion interfaces.
21753
10285c21
JM
217542012-06-15 Joseph Myers <joseph@codesourcery.com>
21755
21756 [BZ #14241]
21757 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21758 of ABS(x) in calculating zero to negative powers other than odd
21759 integers.
21760 * math/libm-test.inc (pow_test): Add more tests.
21761
06c5abbd
AJ
217622012-06-15 Andreas Jaeger <aj@suse.de>
21763
21764 * manual/contrib.texi (Contributors): Update entry of Liubov
21765 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21766 Machado Filho.
21767
a3aeac40
CH
217682012-06-15 Cyril Hrubis <metan@ucw.cz>
21769
21770 * string/string.h: Add __wur to GNU version of strerror_r.
21771
49bdf4c1
L
217722012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21773
21774 [BZ #14229]
21775 * string/Makefile (tests): Add tst-strtok_r.
21776 * string/tst-strtok_r.c: New file.
21777 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21778 RAX_LP/RDX_LP on SAVE_PTR.
21779
834f9b8d
RM
217802012-06-14 Roland McGrath <roland@hack.frob.com>
21781
21782 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21783
75fa1921
JM
217842012-06-14 Joseph Myers <joseph@codesourcery.com>
21785
21786 * libm_test.inc (csqrt_test): Allow more spurious underflow
21787 exceptions.
21788 (j0_test): Likewise.
21789 (j1_test): Likewise.
21790 (y0_test): Likewise.
21791 (y1_test): Likewise.
21792
771766df
CD
217932012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21794
21795 * po/Makefile (libc.pot): Use UTF-8 charset.
21796
ceb9e56b
PP
217972012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21798
21799 [BZ #14210]
21800 Suppress sign-conversion warning from FD_SET.
21801 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21802 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21803 not unsigned long int.
21804 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21805
ddb28975
L
218062012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21807
21808 [BZ #14050]
21809 [BZ #14117]
21810 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21811 __extern_always_inline instead of __extern_inline.
21812 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21813 (__signbit): Likewise.
21814 (__signbitl): Support C++ namespace.
21815 (lrintf): New inline function.
21816 (lrint): Likewise.
21817 (llrintf): Likewise.
21818 (llrint): Likewise.
21819 (fmaxf): Likewise.
21820 (fmax): Likewise.
21821 (fminf): Likewise.
21822 (fmin): Likewise.
21823 (rint): Likewise.
21824 (rintf): Likewise.
21825 (ceil): Likewise.
21826 (ceilf): Likewise.
21827 (floor): Likewise.
21828 (floorf): Likewise.
21829 (nearbyint): Likewise.
21830 (nearbyintf): Likewise.
21831
d7b4fb26
TS
218322012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21833
21834 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21835 non-default versions.
21836
eb55f5c2
RM
218372012-06-11 Roland McGrath <roland@hack.frob.com>
21838
21839 [BZ #14218]
21840 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21841
366af02c
TS
218422012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21843
99ff6e5c
TS
21844 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21845 (FE_UPWARD, FE_DOWNWARD): Don't define.
21846 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21847 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21848
366af02c
TS
21849 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21850 reading it.
21851 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21852 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21853
793ea851
KK
218542012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21855
21856 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21857 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21858 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21859 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21860
a728a38f
L
218612012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21862
21863 [BZ #14117]
c08010c7
L
21864 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21865 * sysdeps/i386/fpu/Implies: New file.
21866 * sysdeps/x86_64/fpu/Implies: Likewise.
21867 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21868 * sysdeps/x86/fpu/bits/fenv.h: This.
21869
a728a38f
L
21870 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21871 __SSE_MATH__.
21872
6e230d11
SP
218732012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21874
21875 [BZ #14134]
21876 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21877 character 0xffff that matches the last element of the
21878 conversion table.
21879
1b671feb
AZ
218802012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21881
21882 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21883 fmodl commit.
21884
6043738b
AZ
218852012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21886
21887 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21888 values higher than 25.6283.
21889
34ae0b32
AZ
218902012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21891
21892 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21893 subnormal exponent extraction and add some __builtin_expect.
21894 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21895 Fix for subnormal mantissa calculation.
21896
1214ec8f
MF
218972012-06-04 Mike Frysinger <vapier@gentoo.org>
21898
21899 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21900 cpu2 is -1 and errno is not ENOSYS.
21901
f3d1f93c
L
219022012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21903
21904 [BZ #14117]
0e4a3cd7
L
21905 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21906 * sysdeps/x86/bits/string.h: This.
21907 * sysdeps/x86_64/bits/string.h: Removed.
21908
6704c645
L
21909 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21910 if not compiling for x86-64, but compiling for >= i486.
21911
48495318
L
21912 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21913 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21914
14adcbfc
L
21915 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21916 New macro from Linux kernel 3.4.0.
21917 (FP_XSTATE_MAGIC2): Likewise.
21918 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21919 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21920 (struct _fpx_sw_bytes): New struct.
21921 (struct _xsave_hdr): Likewise.
21922 (struct _ymmh_state): Likewise.
21923 (struct _xstate): Likewise.
21924
68e408ab
L
21925 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21926 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21927 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21928 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21929 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21930 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21931
f3d1f93c
L
21932 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21933 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21934 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21935 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21936 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21937 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21938
d9dc34cd
TMQMF
219392012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21940
21941 [BZ #13743]
21942 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21943 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21944 (sysdep_headers): Include sys/platform/ppc.h.
21945 * sysdeps/powerpc/test-gettimebase.c: Test for
21946 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21947 * manual/Makefile (appendices): Include platform.texi.
21948 * manual/contrib.texi (Contributors): Update @node pointers.
21949 * manual/maint.texi (Maintenance): Likewise.
21950 (Platform): New node.
21951 * manual/platform.texi: New file. Document the new features.
21952
4af3879c
SP
219532012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21954 Jakub Jelinek <jakub@redhat.com>
21955
21956 [BZ #14188]
21957 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21958 where __builtin_expect is unavailable.
21959
2fd6ff13
DM
219602012-06-03 David S. Miller <davem@davemloft.net>
21961
21962 * stdlib/longlong.h: Updated from GCC.
21963
173f7220
AS
219642012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21965
21966 [BZ #14042]
21967 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21968 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21969 __mcount_internal.
21970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21971 (GLIBC_2.16): Likewise.
21972
f34a1c6f
L
219732012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21974
21975 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21976
88a4576f
JM
219772012-06-01 Joseph Myers <joseph@codesourcery.com>
21978
ea32bcdd
JM
21979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21980 (default-abi): New variable.
21981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21982 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21983 variable.
21984 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21985 Likewise.
21986 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21987 Likewise.
21988 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21989 Likewise.
21990
88a4576f
JM
21991 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21992 definition. Document in comment.
21993
402fe938
DM
219942012-06-01 David S. Miller <davem@davemloft.net>
21995
21996 * stdlib/longlong.h: Updated from GCC.
21997
3553723f
L
219982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21999
22000 [BZ #14117]
3bd872c4
L
22001 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22002 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22003 sys/debugreg.h sys/io.h here.
22004 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22005 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22006 sys/io.h.
22007 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22008 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22009 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22010 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22011 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22012 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22013
3553723f
L
22014 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22015 Define only if __x86_64__ is defined.
22016
4842e4fe
JM
220172012-06-01 Joseph Myers <joseph@codesourcery.com>
22018
c5bfe3d5
JM
22019 [BZ #14048]
22020 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22021 Use int64_t for variable i.
22022 * math/libm-test.inc (fmod_test): Add more tests.
22023
4842e4fe
JM
22024 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22025 z computation is not scheduled after fetestexcept.
22026 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22027 Use math_force_eval instead of asm to ensure calculation scheduled
22028 before exception test.
22029 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22030 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22031
efb73488
AJ
220322012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22033
22034 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22035 computation is not scheduled after fetestexcept.
22036
29bcce7c
L
220372012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22038
22039 [BZ #14117]
22040 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22041 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22042
73a68f94
AZ
220432012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22044
22045 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22046 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22047
67b6df78
L
220482012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22049
edf2933a 22050 [BZ #14117]
ebc64a18
L
22051 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22052 <bits/wordsize.h>.
22053 (__WCHAR_MIN): Support __WORDSIZE == 64.
22054 (__WCHAR_MAX): Likewise.
22055
edf2933a
L
22056 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22057 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22058
57c6cf40
L
22059 [BZ #14183]
22060 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22061 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22062
67b6df78 22063 [BZ #14117]
8eb6281e
L
22064 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22065 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22066
aac639f4
L
22067 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22068 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22069
67b6df78
L
22070 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22071 Defined to 1 if __x86_64__ isn't defined.
22072 (_STAT_VER_LINUX_OLD): New.
22073 (st_atime): Remove duplicate.
22074 (st_mtime): Likewise.
22075 (st_ctime): Likewise.
22076
1c2cfe81
DM
220772012-05-31 David S. Miller <davem@davemloft.net>
22078
22079 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22080 entries.
22081
5be8418c
AS
220822012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22083
e7725326
AS
22084 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22085 gen-libm-test.pl.
22086
5be8418c
AS
22087 [BZ #14132]
22088 * elf/dl-reloc.c: Include <_itoa.h>.
22089 (_dl_reloc_bad_type): Remove use of INTUSE.
22090 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22091 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22092 * stdio-common/psiginfo.c (psiginfo): Likewise.
22093 * stdio-common/psignal.c (psignal): Likewise.
22094 * string/strsignal.c (strsignal): Likewise.
22095 * include/signal.h (_sys_siglist): Declare hidden proto.
22096 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22097 INTVARDEF with libc_hidden_data_def.
22098 * stdio-common/itoa-udigits.c: Likewise.
22099 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22100 (_itoa_lower_digits_internal): Remove declaration.
22101 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22102 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22103 (_sys_sigabbrev_internal): Remove aliases.
22104 (_sys_siglist): Define hidden alias.
22105
507352f1
MT
221062012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22107
22108 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22109 bits/sysctl.h.
22110
42bbb1c3
L
221112012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22112
22113 [BZ #14117]
6bd784b6
L
22114 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22115 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22116
8bca20f0
L
22117 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22118 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22119 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22120 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22121 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22122 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22123
f9e890a9
L
22124 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22125 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22126 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22127
471101a1
L
22128 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22129 with __addr.
22130 (insw): Likewise.
22131 (insl): Likewise.
22132 (outsb): Likewise.
22133 (outsw): Likewise.
22134 (outsl): Likewise.
22135
6451c862
L
22136 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22137 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22138 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22139
a254b8c9
L
22140 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22141 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22142 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22143 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22144 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22145 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22146
b8dfdd92
L
22147 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22148 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22149
578cd270
L
22150 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22151 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22152
de662f5f
L
22153 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22154 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22155 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22156
25653439
L
22157 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22158 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22159 to ...
22160 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22161
6bad24a0
L
22162 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22163 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22164 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22165
42bbb1c3
L
22166 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22167 for x86-64.
22168 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22169
2d10d547
JM
221702012-05-31 Joseph Myers <joseph@codesourcery.com>
22171
22172 * math/math.h (M_El): Use two more decimal places.
22173 (M_LOG2El): Likewise.
22174 (M_LOG10El): Likewise.
22175 (M_LN2l): Likewise.
22176 (M_LN10l): Likewise.
22177 (M_PIl): Likewise.
22178 (M_PI_2l): Likewise.
22179 (M_PI_4l): Likewise.
22180 (M_1_PIl): Likewise.
22181 (M_2_PIl): Likewise.
22182 (M_2_SQRTPIl): Likewise.
22183 (M_SQRT2l): Likewise.
22184 (M_SQRT1_2l): Likewise.
22185
f230c29b
DM
221862012-05-31 David S. Miller <davem@davemloft.net>
22187
22188 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22189 values between float registers.
22190 * sysdeps/sparc/sparc64/memset.S: Likewise.
22191 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22192
fed806c3
MF
221932012-05-31 Mike Frysinger <vapier@gentoo.org>
22194
22195 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22196 -D_FORTIFY_SOURCE=1.
22197 (CPPFLAGS-tst-longjmp_chk.c): Define.
22198 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22199 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22200 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22201 CFLAGS-tst-wchar-h.c.
22202
30917259
MP
222032012-05-31 Marek Polacek <polacek@redhat.com>
22204
22205 [BZ #14132]
22206 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22207 __endmntent_internal): Remove declaration.
22208 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22209 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22210 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22211
1c58d5dc
DM
222122012-05-30 David S. Miller <davem@davemloft.net>
22213
22214 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22215 (___Q_simulate_exceptions): Use real FP ops rather than writing
22216 into the %fsr.
22217 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22218 Likewise.
22219
7dc00e0d
L
222202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22221
22222 [BZ #14117]
0bd53985
L
22223 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22224 * sysdeps/x86/bits/xtitypes.h: This.
22225
3a257e66
L
22226 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22227 * sysdeps/x86/bits/wordsize.h: This.
22228
62f62904
L
22229 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22230 * sysdeps/x86/bits/huge_vall.h: This.
22231
404fe9d9
L
22232 * sysdeps/i386/bits/select.h: Removed.
22233 * sysdeps/x86_64/bits/select.h: Renamed to ...
22234 * sysdeps/x86/bits/select.h: This.
22235
d48d0446
L
22236 * sysdeps/i386/bits/setjmp.h: Removed.
22237 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22238 * sysdeps/x86/bits/setjmp.h: This.
22239
7dc00e0d
L
22240 * sysdeps/i386/bits/mathdef.h: Removed.
22241 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22242 * sysdeps/x86/bits/mathdef.h: This.
22243
03277f8f
AS
222442012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22245
22246 [BZ #14132]
22247 * include/sys/socket.h (__connect_internal)
22248 (__libc_sa_len_internal): Remove declaration.
22249 (__connect, __libc_sa_len): Declare hidden_proto.
22250 (SA_LEN): Remove use of INTUSE.
22251 * socket/connect.c: Add libc_hidden_def.
22252 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22253 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22254 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22255 alias.
22256 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22257 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22258 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22259 of adding _internal alias.
22260
13764867
L
222612012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22262
22263 [BZ #14117]
6bd97696
L
22264 * sysdeps/i386/bits/link.h: Removed.
22265 * sysdeps/i386/bits/linkmap.h: Likewise.
22266 * sysdeps/x86_64/bits/link.h: Renamed to ...
22267 * sysdeps/x86/bits/link.h: This.
22268 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22269 * sysdeps/x86/bits/linkmap.h: This.
22270
f726f0bb
L
22271 * sysdeps/i386/bits/endian.h: Removed.
22272 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22273 * sysdeps/x86/bits/endian.h: This.
22274
13764867
L
22275 * sysdeps/i386/bits/byteswap.h: Removed.
22276 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22277 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22278 * sysdeps/x86/bits/byteswap.h: This.
22279 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22280 * sysdeps/x86/bits/byteswap-16.h: This.
22281 * sysdeps/i386/Implies: Add x86.
22282 * sysdeps/x86_64/Implies: Likewise.
22283
ae251b0b
DM
222842012-05-30 David S. Miller <davem@davemloft.net>
22285
22286 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22287 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22288 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22289 (FP_TRAPPING_EXCEPTIONS): Define.
22290 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22291 (FP_TRAPPING_EXCEPTIONS): Define.
22292 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22293 subnormals only when inexact has been signalled or underflow
22294 exceptions are enabled.
22295 (_FP_PACK_CANONICAL): Likewise.
22296
d5c90867
L
222972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22298
22299 [BZ #14183]
22300 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22301 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22302
63f1549e
RH
223032012-05-30 Richard Henderson <rth@twiddle.net>
22304
8d8f2279
RH
22305 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22306 with #ifndef NOT_IN_libc.
22307
63f1549e
RH
22308 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22309 marked to avoid plt entry.
22310
0ab0291b
L
223112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22312
22313 [BZ #14112]
22314 * Makeconfig (default-abi): New macro.
22315 (abi-includes): Likewise.
22316 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22317 $(abi-$(default-abi)-lib-soname) for soname if defined.
22318 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22319 abi-variants.
22320 * Makefile (installed-stubs): Likewise.
22321 * include/stubs-biarch.h: Removed.
22322 * scripts/lib-names.awk: Only handle one library at a time.
22323 * scripts/soversions.awk: Remove WORDSIZE support.
22324 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22325 entries.
22326 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22327 Removed.
22328 (syscall-list-default-condition): Likewise.
22329 (syscall-list-default-condition): Likewise.
22330 (syscall-list-includes): Likewise.
22331 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22332 syscall-list-* with abi-*. Handle undefined abi-variants.
22333 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22334 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22335 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22336 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22337 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22338 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22339 Removed.
22340 (syscall-list-32-options): Likewise.
22341 (syscall-list-32-condition): Likewise.
22342 (syscall-list-64-options): Likewise.
22343 (syscall-list-64-condition): Likewise.
22344 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22345 macro.
22346 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22347 Renamed to ...
22348 (abi-*): This.
22349 (abi-64-ld-soname): New macro.
22350 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22351 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22352 Renamed to ...
22353 (abi-*): This.
22354 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22355 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22356
4da0431d
JM
223572012-05-30 Joseph Myers <joseph@codesourcery.com>
22358
3a85279c
JM
22359 * sysdeps/unix/sysv/linux/kernel-features.h
22360 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22361 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22362 include <kernel-features.h>.
22363 [!__NR_ftruncate64]: Remove conditional code.
22364 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22365 [__NR_ftruncate64]: Make code unconditional.
22366 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22367 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22368 include <kernel-features.h>.
22369 [!__NR_ftruncate64]: Remove conditional code.
22370 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22371 [__NR_ftruncate64]: Make code unconditional.
22372 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22374 include <kernel-features.h>.
22375 [!__NR_ftruncate64]: Remove conditional code.
22376 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22377 [__NR_ftruncate64]: Make code unconditional.
22378 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22380 include <kernel-features.h>.
22381 [!__NR_ftruncate64]: Remove conditional code.
22382 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22383 [__NR_ftruncate64]: Make code unconditional.
22384 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22385
4da0431d
JM
22386 * configure.in (libc_cv_fpie): Weaken to a compile test using
22387 LIBC_TRY_CC_OPTION.
22388 * configure: Regenerated.
22389
11ef492c
AK
223902012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22391
22392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22396 Refreshed.
22397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22403 Refreshed.
22404
d66ef399
DM
224052012-05-27 David S. Miller <davem@davemloft.net>
22406
22407 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22408 (___Q_zero): New.
22409 (__Q_simulate_exceptions): Return void. Change to simulate
22410 exceptions by writing into the %fsr.
22411 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22412 (__Qp_handle_exceptions): Likewise.
22413 (numbers): Delete.
22414 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22415 __Qp_handle_exceptions.
22416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22417 __Qp_handle_exceptions.
22418 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22419 as unused and give dummy FP_RND_NEAREST initializer.
22420 (FP_INHIBIT_RESULTS): Define.
22421 (___Q_simulate_exceptions): Update declaration.
22422 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22423 formatting.
22424 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22425 as unused and give dummy FP_RND_NEAREST initializer.
22426 (__Qp_handle_exceptions): Update declaration.
22427 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22428 formatting.
22429
04fb54b5
TS
224302012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22431
22432 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22433 the temporary FPU control word.
22434 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22435 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22436 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22437 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22438 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22439 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22440 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22441 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22442 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22443 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22444 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22445
3f99608f
KK
224462012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22447
22448 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22449 fields.
22450
65a4de4e
CLT
224512012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22452
22453 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22454 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22455 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22456 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22457 Likewise.
22458 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22459 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22460 Likewise.
22461
15749d40
UD
224622012-05-27 Ulrich Drepper <drepper@gmail.com>
22463
22464 * po/h.po: Update from translation team.
22465
25dbcb27
AS
224662012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22467
3d3f8e55
AS
22468 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22469
25dbcb27
AS
22470 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22471 handling of denormals.
22472 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22473 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22474 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22475 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22476 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22477 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22478 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22479 Likewise.
22480
7ad47a80 224812012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
22482
22483 [BZ #14152]
22484 * math/libm-test.inc (fma_test): Don't always expect underflow
22485 exception.
22486
9c6ea9fa
SP
224872012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22488
22489 [BZ #12416]
22490 * elf/tst-execstack.c: Include stackinfo.h.
22491 (do_test): Adjust test case to ensure that pthread_getattr_np
22492 behaviour remains the same after marking stack executable.
22493
a8239222
JM
224942012-05-25 Joseph Myers <joseph@codesourcery.com>
22495
22496 * sysdeps/unix/sysv/linux/kernel-features.h
22497 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22498 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22499 kernel-features.h.
22500 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22501 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22502 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22503 kernel-features.h.
22504 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22505 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22506
918b5606
L
225072012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22508
22509 * configure.in: Define the default includes to being none.
22510 * configure: Regenerated.
22511
3a097cc7
RM
225122012-05-25 Roland McGrath <roland@hack.frob.com>
22513
8422c9a5
RM
22514 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22515 * sysdeps/x86_64/setjmp.S: Likewise.
22516 * sysdeps/i386/bsd-setjmp.S: Likewise.
22517 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22518 * sysdeps/i386/setjmp.S: Likewise.
22519 * sysdeps/i386/__longjmp.S: Likewise.
22520 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22521 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22522
3a097cc7
RM
22523 * include/stap-probe.h: New file.
22524 * configure.in: Handle --enable-systemtap.
22525 * configure: Regenerated.
22526 * config.h.in (USE_STAP_PROBE): New #undef.
22527 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22528 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22529 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22530
21708942
JM
225312012-05-25 Joseph Myers <joseph@codesourcery.com>
22532
22533 [BZ #13717]
22534 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22535 to 2.4.0 where earlier.
22536 * sysdeps/unix/sysv/linux/configure: Regenerated.
22537 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22538 <kernel-features.h>.
22539 [__ASSUME_32BITUIDS]: Make code unconditional.
22540 [!__ASSUME_32BITUIDS]: Remove conditional code.
22541 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22542 <kernel-features.h>.
22543 [__ASSUME_32BITUIDS]: Make code unconditional.
22544 [!__ASSUME_32BITUIDS]: Remove conditional code.
22545 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22546 [__ASSUME_32BITUIDS]: Make code unconditional.
22547 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22548 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22549 <kernel-features.h>.
22550 [__ASSUME_32BITUIDS]: Make code unconditional.
22551 [!__ASSUME_32BITUIDS]: Remove conditional code.
22552 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22553 <kernel-features.h>.
22554 [__ASSUME_32BITUIDS]: Make code unconditional.
22555 [!__ASSUME_32BITUIDS]: Remove conditional code.
22556 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22557 <kernel-features.h>.
22558 [__ASSUME_32BITUIDS]: Make code unconditional.
22559 [!__ASSUME_32BITUIDS]: Remove conditional code.
22560 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22561 <kernel-features.h>.
22562 [__ASSUME_32BITUIDS]: Make code unconditional.
22563 [!__ASSUME_32BITUIDS]: Remove conditional code.
22564 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22565 <kernel-features.h>.
22566 [__ASSUME_32BITUIDS]: Make code unconditional.
22567 [!__ASSUME_32BITUIDS]: Remove conditional code.
22568 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22569 <kernel-features.h>.
22570 [__ASSUME_32BITUIDS]: Make code unconditional.
22571 [!__ASSUME_32BITUIDS]: Remove conditional code.
22572 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22573 <kernel-features.h>.
22574 [__ASSUME_32BITUIDS]: Make code unconditional.
22575 [!__ASSUME_32BITUIDS]: Remove conditional code.
22576 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22577 <kernel-features.h>.
22578 [__ASSUME_32BITUIDS]: Make code unconditional.
22579 [!__ASSUME_32BITUIDS]: Remove conditional code.
22580 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22581 <kernel-features.h>.
22582 [__ASSUME_32BITUIDS]: Make code unconditional.
22583 [!__ASSUME_32BITUIDS]: Remove conditional code.
22584 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22585 <kernel-features.h>.
22586 [__ASSUME_32BITUIDS]: Make code unconditional.
22587 [!__ASSUME_32BITUIDS]: Remove conditional code.
22588 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22589 <kernel-features.h>.
22590 [__NR_setresgid] (__setresgid): Do not declare.
22591 [__ASSUME_32BITUIDS]: Make code unconditional.
22592 [!__ASSUME_32BITUIDS]: Remove conditional code.
22593 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22594 <kernel-features.h>.
22595 [__NR_setresuid] (__setresuid): Do not declare.
22596 [__ASSUME_32BITUIDS]: Make code unconditional.
22597 [!__ASSUME_32BITUIDS]: Remove conditional code.
22598 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22599 <kernel-features.h>.
22600 [__ASSUME_32BITUIDS]: Make code unconditional.
22601 [!__ASSUME_32BITUIDS]: Remove conditional code.
22602 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22603 <kernel-features.h>.
22604 [__ASSUME_32BITUIDS]: Make code unconditional.
22605 [!__ASSUME_32BITUIDS]: Remove conditional code.
22606 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22607 <kernel-features.h>.
22608 [__ASSUME_32BITUIDS]: Make code unconditional.
22609 [!__ASSUME_32BITUIDS]: Remove conditional code.
22610 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22611 <kernel-features.h>.
22612 [__ASSUME_32BITUIDS]: Make code unconditional.
22613 [!__ASSUME_32BITUIDS]: Remove conditional code.
22614 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22615 <kernel-features.h>.
22616 [__ASSUME_32BITUIDS]: Make code unconditional.
22617 [!__ASSUME_32BITUIDS]: Remove conditional code.
22618 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22619 <kernel-features.h>.
22620 [__ASSUME_32BITUIDS]: Make code unconditional.
22621 [!__ASSUME_32BITUIDS]: Remove conditional code.
22622 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22623 <kernel-features.h>.
22624 [__ASSUME_32BITUIDS]: Make code unconditional.
22625 [!__ASSUME_32BITUIDS]: Remove conditional code.
22626 * sysdeps/unix/sysv/linux/i386/setreuid.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/i386/setuid.c: Do not include
22631 <kernel-features.h>.
22632 [__ASSUME_32BITUIDS]: Make code unconditional.
22633 [!__ASSUME_32BITUIDS]: Remove conditional code.
22634 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22635 <kernel-features.h>.
22636 [__ASSUME_32BITUIDS]: Make code unconditional.
22637 [!__ASSUME_32BITUIDS]: Remove conditional code.
22638 * sysdeps/unix/sysv/linux/kernel-features.h
22639 (__ASSUME_SETRESUID_SYSCALL): Remove.
22640 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22641 (__ASSUME_32BITUIDS): Likewise.
22642 (__ASSUME_LDT_WORKS): Likewise.
22643 (__ASSUME_O_DIRECTORY): Likewise.
22644 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22645 architecture but not kernel version.
22646 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22647 (__ASSUME_MMAP2_SYSCALL): Likewise.
22648 (__ASSUME_STAT64_SYSCALL): Likewise.
22649 (__ASSUME_IPC64): Likewise.
22650 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22651 <kernel-features.h>.
22652 [__ASSUME_32BITUIDS]: Make code unconditional.
22653 [!__ASSUME_32BITUIDS]: Remove conditional code.
22654 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22655 <kernel-features.h>.
22656 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22657 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22658 132096]: Remove conditional code.
22659 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22660 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22661 <kernel-features.h>.
22662 [__ASSUME_32BITUIDS]: Make code unconditional.
22663 [!__ASSUME_32BITUIDS]: Remove conditional code.
22664 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22665 <kernel-features.h>.
22666 [__ASSUME_32BITUIDS]: Make code unconditional.
22667 [!__ASSUME_32BITUIDS]: Remove conditional code.
22668 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22669 <kernel-features.h>.
22670 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22671 unconditional.
22672 (__setresgid): Do not declare.
22673 [__ASSUME_32BITUIDS]: Make code unconditional.
22674 [!__ASSUME_32BITUIDS]: Remove conditional code.
22675 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22676 <kernel-features.h>.
22677 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22678 unconditional.
22679 (__setresuid): Do not declare.
22680 [__ASSUME_32BITUIDS]: Make code unconditional.
22681 [!__ASSUME_32BITUIDS]: Remove conditional code.
22682 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22683 <kernel-features.h>.
22684 [__ASSUME_32BITUIDS]: Make code unconditional.
22685 [!__ASSUME_32BITUIDS]: Remove conditional code.
22686 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22687 <kernel-features.h>.
22688 [__ASSUME_32BITUIDS]: Make code unconditional.
22689 [!__ASSUME_32BITUIDS]: Remove conditional code.
22690
a386f1cc
RH
226912012-05-25 Richard Henderson <rth@twiddle.net>
22692
22693 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22694 dl_hwcap to ifunc resolver.
22695 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22696 elf_ifunc_invoke.
22697 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22698 dl_hwcap to ifunc resolver.
22699 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22700
b6550497
JM
227012012-05-24 Joseph Myers <joseph@codesourcery.com>
22702
22703 [BZ #14153]
22704 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22705 for |x| <= 2**-26, not 2**-57.
22706 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22707 exception.
22708
b0bc23a1
JL
227092012-05-24 Jeff Law <law@redhat.com>
22710
22711 * stdio-common/Makefile (tests): Add bug25.
22712 * stdio-common/bug25.c: New test.
22713
347c92e9
L
227142012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22715
22716 [BZ #13576]
22717 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22718 multiple of MALLOC_ALIGNMENT in size.
22719 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22720
6bcc8b3f
JM
227212012-05-24 Joseph Myers <joseph@codesourcery.com>
22722
22723 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22724 Require >= 256.
22725 (FILENAME_MAX): Use macro-int-constant.
22726 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22727 (_IOFBF): Use macro-int-constant.
22728 (_IOLBF): Likewise.
22729 (_IONBF): Likewise.
22730 (SEEK_CUR): Likewise.
22731 (SEEK_END): Likewise.
22732 (SEEK_SET): Likewise.
22733 (TMP_MAX): Likewise.
22734 (EOF): Use macro-int-constant. Require < 0.
22735 (NULL): Use macro-constant. Require == 0.
22736 (stdin): Require type to be FILE *.
22737 (stdout): Likewise.
22738 (stderr): Likewise.
22739 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22740 macro-int-constant.
22741 (EXIT_SUCCESS): Likewise.
22742 (NULL): Use macro-constant. Require == 0.
22743 (RAND_MAX): Use macro-int-constant.
22744 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22745 [C99-based standards] (strtof): Require function.
22746 [C99-based standards] (strtold): Likewise.
22747 [C99-based standards] (strtoll): Likewise.
22748 [C99-based standards] (strtoull): Likewise.
22749 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22750 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22751 [ISO || ISO99 || ISO11] (math.h): Likewise.
22752 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22753 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22754 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22755
d18ea0c5
AS
227562012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22757
22758 [BZ #14132]
56d25bb8
AS
22759 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22760 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22761 * intl/dgettext.c (DCGETTEXT): Likewise.
22762 * intl/gettext.c (DCGETTEXT): Likewise.
22763 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22764 * posix/regex_internal.h (gettext): Likewise.
22765 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22766 Remove declaration.
22767 * include/argz.h (__argz_count_internal)
22768 (__argz_stringify_internal): Remove declaration.
22769 (__argz_count, __argz_stringify): Declare hidden proto.
22770 * intl/dcgettext.c: Remove use of INTDEF.
22771 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22772 * string/argz-stringify.c: Likewise.
22773 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22774 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22775 Declare hidden proto.
d18ea0c5
AS
22776 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22777 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22778 Declare hidden proto.
22779 * include/stdio.h (__asprintf_internal): Don't declare.
22780 (__asprintf): Don't define as macro. Declare hidden proto.
22781 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22782 (__fsetlocking): Declare hidden proto.
22783 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22784 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22785 hidden proto.
22786 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22787 (_IO_setlinebuf): Remove use of INTUSE.
22788 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22789 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22790 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22791 Remove declaration.
22792 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22793 (_IO_do_flush): Remove use of INTUSE.
22794 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22795 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22796 (_IO_adjust_column, _IO_least_wmarker)
22797 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22798 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22799 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22800 (_IO_default_doallocate, _IO_wdefault_doallocate)
22801 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22802 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22803 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22804 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22805 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22806 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22807 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22808 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22809 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22810 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22811 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22812 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22813 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22814 proto.
22815 (_IO_flush_all_internal, _IO_adjust_column_internal)
22816 (_IO_default_uflow_internal, _IO_default_finish_internal)
22817 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22818 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22819 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22820 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22821 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22822 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22823 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22824 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22825 (_IO_file_close_internal, _IO_file_close_it_internal)
22826 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22827 (_IO_file_init_internal, _IO_file_attach_internal)
22828 (_IO_file_fopen_internal, _IO_file_read_internal)
22829 (_IO_file_sync_internal, _IO_file_seek_internal)
22830 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22831 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22832 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22833 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22834 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22835 (_IO_list_all_internal, _IO_link_in_internal)
22836 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22837 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22838 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22839 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22840 (_IO_do_write_internal, _IO_padn_internal)
22841 (_IO_getline_info_internal, _IO_getline_internal)
22842 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22843 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22844 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22845 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22846 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22847 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22848 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22849 with libc_hidden_ver, remove use of INTUSE.
22850 * libio/genops.c: Likewise.
22851 * libio/freopen.c: Likewise.
22852 * libio/freopen64.c: Likewise.
22853 * libio/iofclose.c: Likewise.
22854 * libio/iofdopen.c: Likewise.
22855 * libio/iofflush.c: Likewise.
22856 * libio/iofflush_u.c: Likewise.
22857 * libio/iofgets.c: Likewise.
22858 * libio/iofgets_u.c: Likewise.
22859 * libio/iofopen.c: Likewise.
22860 * libio/iofopncook.c: Likewise.
22861 * libio/iofread.c: Likewise.
22862 * libio/iofread_u.c: Likewise.
22863 * libio/ioftell.c: Likewise.
22864 * libio/iofwrite.c: Likewise.
22865 * libio/iogetline.c: Likewise.
22866 * libio/iogets.c: Likewise.
22867 * libio/iogetwline.c: Likewise.
22868 * libio/iopadn.c: Likewise.
22869 * libio/iopopen.c: Likewise.
22870 * libio/ioseekoff.c: Likewise.
22871 * libio/ioseekpos.c: Likewise.
22872 * libio/iosetbuffer.c: Likewise.
22873 * libio/iosetvbuf.c: Likewise.
22874 * libio/ioungetc.c: Likewise.
22875 * libio/ioungetwc.c: Likewise.
22876 * libio/iovdprintf.c: Likewise.
22877 * libio/iovsprintf.c: Likewise.
22878 * libio/iovsscanf.c: Likewise.
22879 * libio/memstream.c: Likewise.
22880 * libio/obprintf.c: Likewise.
22881 * libio/oldfileops.c: Likewise.
22882 * libio/oldiofclose.c: Likewise.
22883 * libio/oldiofdopen.c: Likewise.
22884 * libio/oldiofopen.c: Likewise.
22885 * libio/oldiopopen.c: Likewise.
22886 * libio/oldstdfiles.c: Likewise.
22887 * libio/putc.c: Likewise.
22888 * libio/setbuf.c: Likewise.
22889 * libio/setlinebuf.c: Likewise.
22890 * libio/stdfiles.c: Likewise.
22891 * libio/strops.c: Likewise.
22892 * libio/vasprintf.c: Likewise.
22893 * libio/vscanf.c: Likewise.
22894 * libio/vsnprintf.c: Likewise.
22895 * libio/vswprintf.c: Likewise.
22896 * libio/wfiledoalloc.c: Likewise.
22897 * libio/wfileops.c: Likewise.
22898 * libio/wgenops.c: Likewise.
22899 * libio/wmemstream.c: Likewise.
22900 * libio/wstrops.c: Likewise.
22901 * libio/__fpurge.c: Likewise.
22902 * libio/__fsetlocking.c: Likewise.
22903 * assert/assert.c: Likewise.
22904 * debug/fgets_chk.c: Likewise.
22905 * debug/fgets_u_chk.c: Likewise.
22906 * debug/fread_chk.c: Likewise.
22907 * debug/fread_u_chk.c: Likewise.
22908 * debug/gets_chk.c: Likewise.
22909 * debug/obprintf_chk.c: Likewise.
22910 * debug/vasprintf_chk.c: Likewise.
22911 * debug/vdprintf_chk.c: Likewise.
22912 * debug/vsnprintf_chk.c: Likewise.
22913 * debug/vsprintf_chk.c: Likewise.
22914 * malloc/mtrace.c: Likewise.
22915 * misc/error.c: Likewise.
22916 * misc/syslog.c: Likewise.
22917 * stdio-common/asprintf.c: Likewise.
22918 * stdio-common/fxprintf.c: Likewise.
22919 * stdio-common/getw.c: Likewise.
22920 * stdio-common/isoc99_fscanf.c: Likewise.
22921 * stdio-common/isoc99_scanf.c: Likewise.
22922 * stdio-common/isoc99_vfscanf.c: Likewise.
22923 * stdio-common/isoc99_vscanf.c: Likewise.
22924 * stdio-common/isoc99_vsscanf.c: Likewise.
22925 * stdio-common/printf-prs.c: Likewise.
22926 * stdio-common/printf_fp.c: Likewise.
22927 * stdio-common/printf_fphex.c: Likewise.
22928 * stdio-common/printf_size.c: Likewise.
22929 * stdio-common/putw.c: Likewise.
22930 * stdio-common/scanf.c: Likewise.
22931 * stdio-common/sprintf.c: Likewise.
22932 * stdio-common/tmpfile.c: Likewise.
22933 * stdio-common/vfprintf.c: Likewise.
22934 * stdio-common/vfscanf.c: Likewise.
22935 * stdlib/strfmon_l.c: Likewise.
22936 * sunrpc/openchild.c: Likewise.
22937 * sunrpc/xdr_stdio.c: Likewise.
22938 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22939 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22940
d6c33fda
RM
229412012-05-24 Roland McGrath <roland@hack.frob.com>
22942
c1487492
RM
22943 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22944
22945 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22946 in the third column, to generate for the shared library an IFUNC
22947 that uses _dl_vdso_vsym.
22948 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22949 * Makeconfig (object-suffixes-noshared): New variable.
22950
22951 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22952 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22953 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22954 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22955
d6c33fda
RM
22956 [BZ #14132]
22957 * include/sys/time.h (__gettimeofday): Remove macro.
22958 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22959 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22960 Remove INTDEF.
22961 (__gettimeofday): Add libc_hidden_def.
22962 (gettimeofday): Add libc_hidden_weak.
22963 * sysdeps/mach/gettimeofday.c: Likewise.
22964 * sysdeps/posix/gettimeofday.c: Likewise.
22965 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22966 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22967 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22968 (__gettimeofday_internal): Remove strong_alias.
22969 (__gettimeofday): Add libc_hidden_def.
22970 (gettimeofday): Add libc_hidden_weak.
22971 * sysdeps/unix/syscalls.list (gettimeofday):
22972 Remove __gettimeofday_internal alias.
22973
b5a2bbe6
L
229742012-05-24 Daniel Jacobowitz <drow@false.org>
22975 H.J. Lu <hongjiu.lu@intel.com>
22976
22977 [BZ #12495]
22978 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22979 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22980 (largebin_index_32_big): New.
22981 (largebin_index): Use it for 16-byte alignment.
22982 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22983 correction with front_misalign.
22984
cfba4fda
L
229852012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22986
7f907421
L
22987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22989 Likewise.
22990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22991 Likewise.
22992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22993 Likewise.
22994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22995 Likewise.
22996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22997 Likewise.
22998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22999 Likewise.
23000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23001 Likewise.
23002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23003 Likewise.
23004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23005 Likewise.
23006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23007 Likewise.
23008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23009 Likewise.
23010 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23011 Likewise.
23012
cfba4fda
L
23013 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23014 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23015
80bad0cc
JM
230162012-05-24 Joseph Myers <joseph@codesourcery.com>
23017
7a25eb06
JM
23018 [BZ #10846]
23019 [BZ #14036]
23020 * math/libm-test.inc (exp_test): Add test from bug 14036.
23021 (pow_test): Add test from bug 10846.
23022
795405f9
JM
23023 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23024 and other flags.
23025 (special_function): Do not include flags in test name.
23026 (parse_args): Likewise.
23027 * sysdeps/i386/fpu/libm-test-ulps: Update.
23028 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23029 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23030 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23032
80bad0cc
JM
23033 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23034 exceptions.
23035 * math/libm-test.inc ("Philosophy"): Update comment about
23036 exception testing.
23037 (UNDERFLOW_EXCEPTION): New macro.
23038 (UNDERFLOW_EXCEPTION_OK): Likewise.
23039 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23040 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23041 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23042 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23043 (INVALID_EXCEPTION_OK): Update value.
23044 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23045 (OVERFLOW_EXCEPTION_OK): Likewise.
23046 (IGNORE_ZERO_INF_SIGN): Likewise.
23047 (test_exceptions): Handle underflow exceptions.
23048 (acos_test): Update for underflow exception expectations.
23049 (cexp_test): Likewise.
23050 (clog_test): Likewise.
23051 (clog10_test): Likewise.
23052 (csqrt_test): Likewise.
23053 (ctan_test): Likewise.
23054 (ctanh_test): Likewise.
23055 (exp_test): Likewise.
23056 (exp10_test): Likewise.
23057 (exp2_test): Likewise.
23058 (expm1_test): Likewise.
23059 (fma_test): Likewise.
23060 (j0_test): Likewise.
23061 (jn_test): Likewise.
23062 (nexttoward_test): Likewise.
23063 (pow_test): Likewise.
23064 (scalbn_test): Likewise.
23065 (scalbln_test): Likewise.
23066 (tan_test): Likewise.
23067 (y1_test): Likewise.
23068 * sysdeps/i386/fpu/libm-test-ulps: Update.
23069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23070
9e0e3d0b
DM
230712012-05-23 David S. Miller <davem@davemloft.net>
23072
23073 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23074 (__libc_sigaction): Remove unused local variables.
23075
ccd0a08f
L
230762012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23077
23078 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23079
62bdf9a6
PE
230802012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23081
f8591f80
PE
23082 mktime: avoid signed integer overflow
23083 * time/mktime.c (__mktime_internal): Do not mishandle the case
23084 where diff == INT_MIN.
23085
94c7d826
PE
23086 mktime: simplify computation of average
23087 * time/mktime.c (ranged_convert): Use new time_t_avg function
23088 instead of rolling our own (probably-slower) code.
23089
ce73d683
PE
23090 mktime: do not assume signed right shift propagates sign bit
23091 * time/mktime.c (isdst_differ): New static function.
23092 (__mktime_internal): No need to normalize tm_isdst now.
23093 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23094 tm_isdst values.
23095
72a22e59
PE
23096 mktime: merge another wrapv change from gnulib
23097 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23098 from some compilers.
23099
68605433
PE
23100 mktime: remove incorrect attempt at unusual arithmetics
23101 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23102 The code didn't really work on such machines anyway.
23103 (TYPE_MINIMUM): Assume two's complement.
23104 (twos_complement_arithmetic): Verify that long_int and time_t
23105 are two's complement (or unsigned, in the latter case).
23106
03cf7fe3
PE
23107 mktime: check signed shifts on long_int and time_t, too
23108 * time/mktime.c (SHR): Check that shifts work as desired
23109 on the types long_int and time_t too, as SHR is used on
23110 such types.
23111
f04dfbc2
PE
23112 mktime: do not assume 'long' is wide enough
23113 * time/mktime.c (verify): Move decl up.
23114 (long_int): New type.
23115 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23116 to remove assumption in the code that 'long' is wide enough to
23117 store year values. This assumption is not true on x32 and on
23118 some non-glibc platforms.
23119
62bdf9a6
PE
23120 mktime: merge wrapv change from gnulib
23121 * time/mktime.c (WRAPV): New macro.
23122 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23123 (guess_time_tm, __mktime_internal): Do not assume that signed
23124 integer overflow wraps around; modern compilers generate code
23125 where this assumption is no longer valid.
23126
5e292e4f
L
231272012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23128
23129 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23130 Replace "jmp L(pseudo_end)" with "ret".
23131 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23132 Likewise.
23133
8caf8c87
AJ
231342012-05-23 Andreas Jaeger <aj@suse.de>
23135
23136 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23137 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23138
1a09dc56
AJ
231392012-05-23 Andreas Jaeger <aj@suse.de>
23140 Maximilian Attems <max@stro.at>
23141
23142 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23143 New macros.
23144
1c87aba0
L
231452012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23146
23147 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23148 code so that pseudo_end is just ret and the stack pointer is
23149 correct also for static library in error case.
23150
40e45bd5
JM
231512012-05-23 Joseph Myers <joseph@codesourcery.com>
23152
c2670533
JM
23153 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23154 move to syscalls.list.
23155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23159
40e45bd5
JM
23160 * manual/install.texi (Running make install): Do not mention Linux
23161 kernel version for which pt_chown is not needed.
23162 (Linux): Do not mention problems with nscd with 2.0 kernels.
23163 * INSTALL: Regenerated.
23164
be08eda5
AJ
231652012-05-23 Andreas Jaeger <aj@suse.de>
23166
23167 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23168 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23169 macro.
23170 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23171 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23172 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23173 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23174 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23175 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23176 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23177 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23178 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23179 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23180 * sysdeps/unix/sysv/linux/bits/in.h
23181 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23182
a6a056bb
RM
231832012-05-22 Roland McGrath <roland@hack.frob.com>
23184
23185 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23186 (PREPARE_VERSION): Just use assert instead, it will be elided
23187 under [NDEBUG] anyway.
23188
c9009328
L
231892012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23190
23191 * sysdeps/unix/sysv/linux/Makefile: Include
23192 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 23193 (sysdep_routines): Remove sysctl.
c9009328
L
23194 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23195 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23196 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23197 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23198 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23199
73338355
AJ
232002012-05-22 Andreas Jaeger <aj@suse.de>
23201
23202 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23203 that pseudo_end is just ret and the stack pointer is correct also
23204 for static library in error case.
23205
d44638b0
PP
232062012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23207
23208 [BZ #14122]
23209 * nss/nsswitch.c (defconfig_entries): New variable.
23210 (__nss_database_lookup): Don't leak defconfig entries.
23211 (nss_parse_service_list): Don't leak on error paths.
23212 (free_database_entries): New function.
23213 (free_defconfig): New function.
23214 (free_mem): Move common code to free_database_entries.
23215
31a39bd8
L
232162012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23217
da0331a8
L
23218 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23219 Add arch_prctl.
23220 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23221
31a39bd8
L
23222 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23223 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23224 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23225 New macro.
23226 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23227 (INTERNAL_SYSCALL_TYPES): Likewise.
23228 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23229 (LOAD_REGS_TYPES_[1-6]): Likewise.
23230 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23231 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23232
45470df3
AZ
232332012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23234
23235 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23236 copysignl for GLIBC_2_0.
23237 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23238 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23239 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23240 logbl for GLIBC_2_0.
23241 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23242 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23243
98a61bcb
L
232442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23245
a4f6e481
L
23246 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23247 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23248
f63d5db6
L
23249 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23250 Use "neg %eax".
23251
98a61bcb
L
23252 * time/mktime.c: Update copyright years.
23253
95770f14
PE
232542012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23255
6226efbd
PE
23256 mktime: merge comment-quoting-style change from gnulib
23257 * time/mktime.c: Quote 'like this' in comments.
23258 The GNU coding standards suggest that we no longer quote `like this',
23259 as "`" and "'" are typically rendered asymmetrically nowadays.
23260 The typical gnulib style is to quote 'like this' when quoting
23261 code, and "like this" when quoting English.
23262
b99e4f78
PE
23263 * time/mktime.c (compile-command): Add "-I.".
23264
643e01e6
PE
23265 mktime: merge mktime-internal.h change from gnulib
23266 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23267
2554247d
PE
23268 mktime: merge time_r change from gnulib
23269 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23270
826dd0ab
PE
23271 mktime: merge DEBUG change from gnulib
23272 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23273 case system <time.h> has a #define.
23274
bd83aabe
PE
23275 mktime: merge <sys/types.h> change from gnulib
23276 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23277 since <time.t> is now guaranteed to define time_t.
23278
95770f14
PE
23279 mktime: merge HAVE_CONFIG_H change from gnulib
23280 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23281
5e1a27a9
L
232822012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23283
0e44a77e
L
23284 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23285 Use "neg %eax".
23286
5e1a27a9
L
23287 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23288 __rlim_t cast.
23289 (struct rusage): Use anonymous union to pad each field to
23290 __syscall_slong_t.
23291
46259bec
DM
232922012-05-21 David S. Miller <davem@davemloft.net>
23293
23294 * Makefules (o-iterator): Remove .s cases.
23295 (compile-command.s): Delete.
23296 (COMPILE.s): Delete.
23297 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23298
59f0c22e
JM
232992012-05-21 Joseph Myers <joseph@codesourcery.com>
23300
23301 * configure.in (libc_cv_predef_stack_protector): Only consider
23302 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23303 * configure: Regenerated.
23304
20c07380
L
233052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23306
bbb3154b
L
23307 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23308 New macro. Use R*LP on int and pointer.
23309 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
23310 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23311 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
23312 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23313
20c07380
L
23314 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23315 [__WORDSIZE_TIME64_COMPAT32] instead of
23316 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23317 (struct utmp): Likewise.
23318 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23319 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23320 Renamed to ...
23321 (__WORDSIZE_TIME64_COMPAT32): This.
23322 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23323 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23324 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23325 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23326 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23327 (__WORDSIZE_TIME64_COMPAT32): New macro.
23328
d8d1017e
AJ
233292012-05-21 Andreas Jaeger <aj@suse.de>
23330
23331 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23332 only if [SHARED]. Add prototype for __wcschr_ia32.
23333
6c7fb145
RM
233342012-05-21 Roland McGrath <roland@hack.frob.com>
23335
23336 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23337 of %rbp unmolested in the jmp_buf while mangling the low bits.
23338 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23339 unmolested high bits of %rbp while demangling the low bits.
23340 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23341
66274218
AJ
233422012-05-21 Andreas Jaeger <aj@suse.de>
23343
07c58f8f
AJ
23344 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23345 * sunrpc/svc_simple.c: Use it for registerrpc.
23346 * sunrpc/xcrypt.c: Use it for passwd2des.
23347
66274218
AJ
23348 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23349
61f65140
L
233502012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23351
23352 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23353 Don't define if [__SYSCALL_WORDSIZE != 32].
23354 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23355 New macro.
23356
5fefb436
AJ
233572012-05-21 Bruno Haible <bruno@clisp.org>
23358 Andreas Jaeger <aj@suse.de>
23359
23360 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23361 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23362 inptr and inend for must_buffer_ch.
23363 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23364 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23365 * stdio-common/Makefile (tests): Remove bug15.
23366 (bug15-ENV): Remove macro.
23367 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23368 anymore.
23369
d8e272ab
AJ
233702012-05-19 Andreas Jaeger <aj@suse.de>
23371 Roland McGrath <roland@hack.frob.com>
23372
23373 * manual/contrib.texi: Completely rewritten. It contains now an
23374 alphabetical list of contributors and their contributions.
23375
4a56a162
RH
233762012-05-21 Richard Henderson <rth@twiddle.net>
23377
23378 * misc/getauxval.c (__getauxval): Use unsigned long int.
23379 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23380 (getauxval): Use unsigned long int.
23381
d024d23c
L
233822012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23383
23384 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23385
cbc00a03
RM
233862012-05-21 Roland McGrath <roland@hack.frob.com>
23387
23388 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23389 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23390 __alignof__ (long double).
23391
478143fa
AZ
233922012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23393
23394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23395
c7683a6d
RH
233962012-05-20 Richard Henderson <rth@twiddle.net>
23397
23398 * misc/getauxval.c: New file.
23399 * misc/sys/auxv.h: New file.
23400 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23401 (routines): Add getauxval.
23402 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23403 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23404 * elf/dl-sysdep.c (_dl_auxv): Remove.
23405 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23406 * elf/dl-support.c (_dl_auxv): New variable.
23407 (_dl_aux_init): Initialize it.
23408 * manual/startup.texi (Auxiliary Vector): New node.
23409 * sysdeps/generic/bits/hwcap.h: New file.
23410 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23411 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23412 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23413 * sysdeps/sparc/sysdep.h: ... here. Include it.
23414 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23415 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
23416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23417 Update.
c7683a6d
RH
23418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23421 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23425 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23426
a6f1845d
AZ
234272012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23428
23429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23430
cbcbe830
DM
234312012-05-19 David S. Miller <davem@davemloft.net>
23432
23433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23434
e0b16cc2
JM
234352012-05-19 Joseph Myers <joseph@codesourcery.com>
23436
23437 [BZ #14123]
23438 * math/s_ccosh.c: Include <float.h>
23439 (__ccosh): Avoid internal overflow calculating sinh and cosh
23440 values before multiplying by sin and cos values.
23441 * math/s_ccoshf.c: Likewise.
23442 * math/s_ccoshl.c: Likewise.
23443 * math/s_csin.c: Likewise.
23444 * math/s_csinf.c: Likewise.
23445 * math/s_csinl.c: Likewise.
23446 * math/s_csinh.c: Likewise.
23447 * math/s_csinhf.c: Likewise.
23448 * math/s_csinhl.c: Likewise.
23449 * math/libm-test.inc (ccos_test): Add more tests.
23450 (ccosh_test): Likewise.
23451 (csin_test): Likewise.
23452 (csinh_test): Likewise.
23453 * sysdeps/i386/fpu/libm-test-ulps: Update.
23454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23455
6ad13e08
L
234562012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23457
f66f0ce8
L
23458 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23459 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23460
6ad13e08
L
23461 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23462
b1d072a7
JM
234632012-05-19 Joseph Myers <joseph@codesourcery.com>
23464
23465 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23466 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23467 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23468 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23469 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23470 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23471 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23472 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23473 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23474 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23475 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23476 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23477 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23478 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23479 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23480 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23481 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23482 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23483 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23484 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23485 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23486 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23487 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23488 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23489 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23490 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23491 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23492 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23493 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23494 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23495 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23496
9eae47cb
AJ
234972012-05-18 Andreas Jaeger <aj@suse.de>
23498
23499 * csu/.gitignore: Delete.
23500
bb07f69f
L
235012012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23502
23503 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23504 (timex): Use __syscall_slong_t.
23505
e6bdb741
AJ
235062012-05-18 Andreas Jaeger <aj@suse.de>
23507 Carlos O'Donell <carlos_odonell@mentor.com>
23508
23509 * manual/install.texi (Configuring and compiling): Update
23510 description about files modified in the source directory.
d6c33fda 23511 * INSTALL: Regenerated.
e6bdb741 23512
1b74487e
L
235132012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23514
23515 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23516 value. Use "or" to set return value to -1.
23517 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23518 negate return value.
23519
a88b64b9
TMQMF
235202012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23521
23522 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23523 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23524 failure if the compiler has Graphite support disabled.
23525 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23526 Likewise.
23527 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23528 CFLAGS-memmove.c): Likewise.
23529 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23530 Likewise.
23531
3707636e
L
235322012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23533
610b8622
L
23534 * sysdeps/x86_64/x32/_itoa.h: New file.
23535
7cd195df
L
23536 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23537 getdents system call only if kernel and user dirents have the
23538 same d_ino and d_off.
23539
94b07d20
L
23540 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23541 LLONG_MAX != LONG_MAX.
23542 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23543 (_fitoa_word): Likewise.
23544
18298070
L
23545 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23546 years.
23547 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23548 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23549 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23550
553c7ea4
L
23551 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23552 include <bits/wordsize.h>. Check __x86_64__ instead of
23553 __WORDSIZE.
23554 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23555 if __x86_64__ is defined. Use anonymous union on fpstate.
23556
3707636e
L
23557 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23558 anonymous union.
23559
b53ef01a
AS
235602012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23561
37fb1dc0
AS
23562 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23563 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23564 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23565 Refer to _rtld_local_ro instead of _rtld_global_ro.
23566 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23567 Likewise.
23568 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23569 Likewise.
23570 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23571 Likewise.
23572 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23573 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23574 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23575
b53ef01a
AS
23576 * sysdeps/powerpc/powerpc32/dl-machine.c
23577 (__elf_machine_runtime_setup) [PROF]: Don't reference
23578 _dl_prof_resolve.
23579
7a185db2
AJ
235802012-05-18 Andreas Jaeger <aj@suse.de>
23581
23582 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23583 function only available for GCCs before 3.4 since GCC 3.4
23584 introduced a builtin.
23585 (lrint): Likewise.
23586 (llrintf): Likewise.
23587 (llrint): Likewise.
23588 (fmaxf): Likewise.
23589 (fmax): Likewise.
23590 (fminf): Likewise.
23591 (fmin): Likewise.
23592 (rint): Likewise.
23593 (rintf): Likewise.
23594 (nearbyint): Likewise.
23595 (nearbyintf): Likewise.
23596 (ceil): Likewise.
23597 (ceilf): Likewise.
23598 (floor): Likewise.
23599 (floorf): Likewise.
23600
3e5aef87
L
236012012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23602
428bd707
L
23603 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23604 on both fields and cast pointer to __syscall_ulong_t.
23605
3e5aef87
L
23606 * bits/types.h (__fsword_t): New type.
23607 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23608 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23609 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23610 (__FSWORD_T_TYPE): Likewise.
23611 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23612 (__FSWORD_T_TYPE): Likewise.
23613 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23614 (__FSWORD_T_TYPE): Likewise.
23615 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23616 (__FSWORD_T_TYPE): Likewise.
23617 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23618 __SWORD_TYPE with __fsword_t.
23619 (statfs64): Likewise.
23620
1ba7c3dc
DM
236212012-05-17 David S. Miller <davem@davemloft.net>
23622
23623 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23624
59910343
AJ
236252012-05-17 Andreas Jaeger <aj@suse.de>
23626
23627 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23628 warning.
23629
2e4c1e9e
L
236302012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23631
23632 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23633
de7f5ce7
AJ
236342012-05-17 Andreas Jaeger <aj@suse.de>
23635
23636 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23637 when it is used.
23638
286abc3d
CM
236392012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23640
23641 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23642
477cc68e
L
236432012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23644
23645 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23646 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23647
1a0994f5
CD
236482012-05-17 Andreas Jaeger <aj@suse.de>
23649 Carlos O'Donell <carlos_odonell@mentor.com>
23650
23651 [BZ #14059]
23652 * sysdeps/x86_64/multiarch/init-arch.h
23653 (bit_YMM_Usable): Rename to...
23654 (bit_AVX_Usable): ... this.
23655 (bit_FMA4_Usable): New macro.
23656 (bit_XMM_state): New macro.
23657 (bit_YMM_state): New macro.
23658 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23659 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23660 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23661 (CPUID_OSXSAVE): New macro.
23662 (CPUID_AVX): New macro.
23663 (CPUID_FMA4): New macro.
23664 (index_YMM_Usable): Rename to...
23665 (index_AVX_Usable): ... this.
23666 (HAS_AVX): Use HAS_ARCH_FEATURE.
23667 (HAS_FMA4): Likewise.
23668 (HAS_YMM_USABLE): Remove.
23669 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23670 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23671 are present.
23672 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23673 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23674 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23675 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23676 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23677
0af797de
CM
236782012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23679
23680 * math/libm-test.c: Support platforms without multiple rounding modes.
23681 * math/bug-nextafter.c: Support platforms without FP exceptions.
23682 * math/bug-nexttoward.c: Likewise.
23683 * math/test-fenv.c: Likewise.
23684 * math/test-misc.c: Likewise.
23685 * stdlib/bug-getcontext.c: Likewise.
23686
e39745ff
AJ
236872012-05-17 Andreas Jaeger <aj@suse.de>
23688
23689 * manual/examples/search.c (critter_cmp): Change signature to
23690 avoid warnings.
23691 * manual/string.texi (Collation Functions): Likewise.
23692
48970aba
L
236932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23694
23695 * bits/types.h: Fold copyright years.
23696 * bits/typesizes.h: Likewise.
23697 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23698 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23699 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23700 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23701 * time/time.h: Likewise.
23702
bedee953
PP
237032012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23704
23705 [BZ #208]
23706 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23707 in instead of returning them. Return void.
23708 (__libc_mallinfo): Accumulate over all arenas.
23709 (__malloc_stats): Adjust for change in int_mallinfo interface.
23710
61653dfb
RM
237112012-05-16 Roland McGrath <roland@hack.frob.com>
23712
30b99d79
RM
23713 [BZ #10375]
23714 * configure.in (NM): Add AC_CHECK_TOOL for it.
23715 (libc_extra_cflags): New substituted variable.
23716 Check for -fstack-protector being used implicitly.
23717 * configure: Regenerated.
23718 * config.make.in (config-extra-cflags): New variable,
23719 gets @libc_extra_cflags@.
23720 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23721
61653dfb
RM
23722 [BZ #10375]
23723 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23724 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23725 * configure: Regenerated.
23726 * config.make.in (CPPUNDEFS): New substituted variable.
23727 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23728 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23729 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23730
661768bb
L
237312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23732
23733 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23734 (mq_attr): Use __syscall_slong_t.
23735
d4261567
L
237362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23737
23738 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23739 Check __x86_64__ instead of __WORDSIZE.
23740 (_STAT_VER_LINUX): Likewise.
23741 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23742 __syscall_ulong_t and __syscall_slong_t.
23743 (stat64): Likewise.
23744
cf3ff365
L
237452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23746
23747 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23748
76cf3e4d
L
237492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23750
23751 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23752
a637753a
L
237532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23754
23755 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23756 __syscall_ulong_t.
23757
d5e05119
L
23758 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23759 include <bits/wordsize.h>. Check __x86_64__ instead of
23760 __WORDSIZE.
23761 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23762 defined.
23763 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23764
f62ee380
L
23765 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23766 include <bits/wordsize.h>. Check __x86_64__ instead of
23767 __WORDSIZE.
23768 (user_regs_struct): Use "__extension__ unsigned long long"
23769 instead of "unsigned long" if __x86_64__ is defined.
23770 (user): Likewise. Pad after pointer field if __ILP32__ is
23771 defined.
23772
4e124ced
JM
237732012-05-16 Joseph Myers <joseph@codesourcery.com>
23774
6a3951a0
JM
23775 * configure.in (makeinfo): Require version 4.5 or later. Allow
23776 versions 5 to 9.
23777 * configure: Regenerated.
23778 * manual/install.texi (texinfo): Increase version requirement to
23779 4.5 or later.
23780 * INSTALL: Regenerated.
23781
4e124ced
JM
23782 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23783
953ca31a
L
237842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23785
23786 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23787
617aca05
L
23788 * sysdeps/x86_64/x32/ffs.c: New file.
23789
5762f7ae
L
23790 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23791 __syscall_ulong_t.
23792 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23793 defined. Use __syscall_ulong_t.
23794 (shminfo): Use __syscall_ulong_t.
23795 (shm_info): Likewise.
23796
a26b6856
L
23797 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23798 __syscall_ulong_t.
23799
cb2b9ef7
L
23800 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23801 <bits/wordsize.h>.
23802 (msgqnum_t): Use __syscall_ulong_t.
23803 (msglen_t): Likewise.
23804 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23805 __syscall_ulong_t.
23806
34683bb0
L
23807 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23808 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23809
84a68786
L
23810 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23811
48baa5f1
L
23812 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23813 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23814
180be88b
L
23815 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23816 __syscall_slong_t.
23817
5e90c8ad
L
23818 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23819 include <bits/wordsize.h>. Check __x86_64__ instead of
23820 __WORDSIZE.
23821
23dfb58b
L
23822 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23823 "unsigned long long int" if __x86_64__ is defined.
23824 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23825
ce5d54b0
L
23826 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23827 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23828 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23829
13dc9eac
L
23830 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23831 <stdint.h>.
23832 (GET_PC): Cast to uintptr_t first.
23833 (GET_FRAME): Likewise.
23834 (GET_STACK): Likewise.
23835
a7895d15
L
23836 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23837 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23838 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23839 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23840 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23841 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23842 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23843 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23844 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23845 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23846 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23847 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23848 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23849 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23850 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23851 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23852 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23853 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23854 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23855 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23856 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23857 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23858 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23859 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23860 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23861 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23862 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23863 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23864 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23865
656416c9
AS
238662012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23867
5bd66283
AS
23868 * Makerules (+depfiles): Also collect depfiles from .oS in
23869 $(extra-objs).
23870 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23871 .oS, $(libnldbl-routines)).
23872
656416c9
AS
23873 * Makerules (native-compile-mkdep-flags): Define.
23874 * sunrpc/Makefile (extra-objs): Add $(addprefix
23875 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23876 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23877 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23878 calling $(make-target-directory).
23879
a46f2169
L
238802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23881
23882 * bits/types.h (__snseconds_t): Removed.
23883 * time/time.h (struct timespec): Replace __snseconds_t with
23884 __syscall_slong_t.
23885 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23886 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23887 Likewise.
23888 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23889 (__SNSECONDS_T_TYPE): Likewise.
23890 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23891 (__SNSECONDS_T_TYPE): Likewise.
23892 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23893 (__SNSECONDS_T_TYPE): Likewise.
23894
6af6528b
L
238952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23896
23897 * sysdeps/mach/hurd/bits/typesizes.h
23898 (__SYSCALL_SLONG_TYPE): New macro.
23899 (__SYSCALL_ULONG_TYPE): Likewise.
23900
de986b56
L
239012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23902
23903 * bits/types.h (__syscall_slong_t): New type.
23904 (__syscall_ulong_t): Likewise.
23905
23906 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23907 (__SYSCALL_ULONG_TYPE): Likewise.
23908 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23909 (__SYSCALL_SLONG_TYPE): Likewise.
23910 (__SYSCALL_ULONG_TYPE): Likewise.
23911 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23912 (__SYSCALL_SLONG_TYPE): Likewise.
23913 (__SYSCALL_ULONG_TYPE): Likewise.
23914 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23915 (__SYSCALL_SLONG_TYPE): Likewise.
23916 (__SYSCALL_ULONG_TYPE): Likewise.
23917
85736dc7
L
239182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23919
23920 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23921 Add sigaltstack-offsets.sym.
23922 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23923 <sigaltstack-offsets.h>.
23924 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23925 longjmp_msg pointer.
23926 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23927 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23928 signal stack.
23929 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23930
cc03b296
JM
239312012-05-15 Joseph Myers <joseph@codesourcery.com>
23932
a9538892
JM
23933 * elf/stackguard-macros.h: Remove file.
23934 * sysdeps/generic/stackguard-macros.h: New file.
23935 * sysdeps/i386/stackguard-macros.h: Likewise.
23936 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23937 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23938 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23939 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23940 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23941 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23942 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23943 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23944 <elf/stackguard-macros.h>.
23945
cc03b296
JM
23946 [BZ #14109]
23947 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23948 __aligned__ in attribute.
23949 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23950 (gregset_t): Likewise.
23951
93171016
L
239522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23953
23954 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23955 * sysdeps/x86_64/64/Implies-after: Here. New file.
23956 * sysdeps/x86_64/x32/Implies-after: New file.
23957
d86813a0
L
239582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23959
23960 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23961 and access return value for _dl_profile_fixup. Use R10_LP to
23962 load frame size.
23963
2953ec75
L
239642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23965
23966 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23967
3b550e9e
L
239682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23969
23970 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23971 * sysdeps/x86_64/x32/sysdep.h: New file.
23972
eda41706
L
239732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23974
23975 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23976 * sysdeps/x86_64/setjmp.S: Likewise.
23977
9ea01d93
AZ
239782012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23979
23980 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23981 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23982 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23983 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23984 remove unused global constant.
23985
02a91938
CM
239862012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23987
23988 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23989 include of <not-cancel.h>.
23990
6540185f
RM
239912012-05-15 Roland McGrath <roland@hack.frob.com>
23992
23993 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23994
509072a0
AJ
239952012-05-15 Jeff Law <law@redhat.com>
23996 Andreas Jaeger <aj@suse.de>
23997
23998 [BZ #13594]
23999 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24000 out from...
24001 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24002 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24003 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24004 code changing __hst_map_handle.map.
24005
ba75122d
RM
240062012-05-15 Roland McGrath <roland@hack.frob.com>
24007
24008 * configure.in (sysnames): Look for Implies-before and Implies-after
24009 files.
24010 * configure: Regenerated.
24011
890d8bd8
L
240122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24013
24014 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24015 8-byte data alignment with LP_SIZE alignment.
24016
f6ee6623
L
240172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24018
24019 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24020 into R10_LP.
24021
ea2626f6
L
240222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24023
24024 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24025
085f715e
L
240262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24027
24028 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24029 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24030 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24031 Likewise.
24032 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24033
be8498fc
L
240342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24035
24036 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24037 (stackinfo_sub_sp): Likewise.
24038
70bc83b9
L
240392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24040
24041 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24042 RAX_LP.
24043
9bc0b730
L
240442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24045
24046 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24047 into R*_LP.
24048
6d2850e7
L
240492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24050
24051 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24052 sizes into R*_LP.
24053
3cb84561
L
240542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24055
24056 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24057
54e2ed81
L
240582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24059
24060 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24061 into R11_LP and load __x86_64_shared_cache_size_half into
24062 R8_LP.
24063
8a17f349
L
240642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24065
24066 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24067 R8_LP.
24068
777b1eea
AZ
240692012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24070
24071 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24072 logb for POWER7.
24073 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24074 logbf for POWER7.
24075 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24076 logbl for POWER7.
24077 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24078 powerpc32/power7/fpu/s_logb.c via #include.
24079 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24080 powerpc32/power7/fpu/s_logbf.c via #include.
24081 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24082 powerpc32/power7/fpu/s_logbl.c via #include.
24083
d20d4ac2
JM
240842012-05-15 Joseph Myers <joseph@codesourcery.com>
24085
24086 * README.libm: Remove file.
24087
6cdef1ab
L
240882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24089
24090 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24091 count for x32. Use R*_LP and omit operand-size suffix.
24092
0b254d8f
L
240932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24094
24095 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24096 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24097 * sysdeps/x86_64/x32/shlib-versions: New file.
24098
ceb809dc
RM
240992012-05-14 Roland McGrath <roland@hack.frob.com>
24100
24101 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24102 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24103 Use _dl_fatal_printf instead.
24104
37f1abd4
JM
241052012-05-14 Joseph Myers <joseph@codesourcery.com>
24106
24107 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24108 set if not set by the user. Do not allow for being unset.
24109 * sysdeps/unix/sysv/linux/configure: Regenerated.
24110
11de3a33
L
241112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24112
24113 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24114 the `q' suffix from lea and replace .quad with ASM_ADDR.
24115
e02f153a
L
241162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24117
24118 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24119 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24120 instead of $17.
24121 (PTR_DEMANGLE): Likewise.
24122
520ae0fd
L
241232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24124
24125 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24126 (LP_OP): Likewise.
24127 (ASM_ADDR): Likewise.
24128 (RAX_LP): Likewise.
24129 (RBP_LP): Likewise.
24130 (RBX_LP): Likewise.
24131 (RCX_LP): Likewise.
24132 (RDI_LP): Likewise.
24133 (RSI_LP): Likewise.
24134 (RSP_LP): Likewise.
24135 (R8_LP): Likewise.
24136 (R9_LP): Likewise.
24137 (R10_LP): Likewise.
24138 (R10_LP): Likewise.
24139 (R11_LP): Likewise.
24140 (R12_LP): Likewise.
24141 (R13_LP): Likewise.
24142 (R14_LP): Likewise.
24143 (R15_LP): Likewise.
24144
b985be81
L
241452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24146
24147 * sysdeps/x86_64/x32/dl-machine.h: New file.
24148
6a4888ff
AJ
241492012-05-14 Andreas Jaeger <aj@suse.de>
24150
24151 * manual/Makefile (subdir): Remove export of subdir.
24152 (all): Remove target.
24153 (.PHONY): Remove all from list.
24154 (mkinstalldirs): Remove.
24155 (.PHONY): Remove installdirs from list.
24156 ($(inst_infodir)/libc.info): Use make-target-directory.
24157 (installdirs): Remove.
24158 (subdir_%): Remove.
24159 (glibc-targets): Remove.
24160 (lib): Remove.
24161 (stubs): Remove.
24162 ($(objpfx)stubs ../po/manual.pot): Remove.
24163 ($(objpfx)stamp%): Remove.
24164 (make-target-directory): Remove.
24165 (subdir_install): Remove.
24166 (routines): Remove.
24167 (aux): Remove.
24168 (sources): Remove.
24169 (objects): Remove.
24170 (headers): Remove.
24171
24172 [BZ #13750]
24173 * manual/.gitignore: Remove, it's not needed anymore.
24174 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24175 all files in it.
24176 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24177 directory.
24178 (texis): Renamed to $(objpfx)texis.
24179 (texis-path): New, contains path to generated files.
24180 (chapters.%): Use texis-path for complete path, add extra argument
24181 libc-texinfo.sh.
24182 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24183 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24184 (summary,texi, stamp-summary): Use complete path of
24185 files. Generate files in build dir.
24186 (dir-add.texi): Build in build dir.
24187 (libm-err.texi,stamp-libm-err): Likewise.
24188 (version.texi, stamp-version): Likewise.
24189 (.%c.texi): Likewise.
24190 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24191 (mostlyclean): Remove target.
24192 (realclean): Remove target.
24193 (generated): Add new variable with contents from mostlyclean and
24194 realclean, remove entries duplicated in common-mostlyclean, add
24195 stamp-libm-err and stamp-version.
24196 (generated-dirs): Add libc directory.
24197 ($(inst_infodir)/libc.info): Install files from build dir.
24198
24199 * manual/install.texi (Configuring and compiling): Adjust since
24200 the info files are not part of the tar ball anymore.
24201
7ac77294
AJ
242022012-05-14 Andreas Jaeger <aj@suse.de>
24203
24204 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24205 variable.
24206
ffb7875d
JM
242072012-05-14 Joseph Myers <joseph@codesourcery.com>
24208
24209 [BZ #13717]
24210 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24211 to 2.2.0 where earlier.
24212 * sysdeps/unix/sysv/linux/configure: Regenerated.
24213 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24214 Remove conditional code.
24215 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24216 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24217 Remove conditional code.
24218 [!__NR_lchown]: Likewise.
24219 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24220 [__NR_lchown]: Likewise.
24221 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24222 comment referencing __ASSUME_LCHOWN_SYSCALL.
24223 * sysdeps/unix/sysv/linux/i386/sigaction.c
24224 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24225 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24226 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24227 Remove conditional code.
24228 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24229 (__protocol_available): Remove #if 0 code.
24230 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24231 conditional code.
24232 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24233 * sysdeps/unix/sysv/linux/kernel-features.h
24234 (__ASSUME_GETCWD_SYSCALL): Don't define.
24235 (__ASSUME_REALTIME_SIGNALS): Likewise.
24236 (__ASSUME_PREAD_SYSCALL): Likewise.
24237 (__ASSUME_PWRITE_SYSCALL): Likewise.
24238 (__ASSUME_POLL_SYSCALL): Likewise.
24239 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24240 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24241 non-SPARC.
24242 (__ASSUME_SIOCGIFNAME): Don't define.
24243 (__ASSUME_MSG_NOSIGNAL): Likewise.
24244 (__ASSUME_SENDFILE): Define unconditionally.
24245 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24246 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24247 conditional code.
24248 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24249 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24250 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24251 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24252 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24253 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24254 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24256 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24257 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24259 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24260 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24262 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24263 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24265 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24266 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24268 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24269 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24271 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24272 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24274 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24275 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24277 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24278 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24279 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24280 Remove conditional code.
24281 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24282 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24283 Remove conditional code.
24284 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24285 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24286 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24287 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24288 Remove conditional code.
24289 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24290 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24291 Remove conditional code.
24292 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24293 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24294 Remove conditional code.
24295 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24296 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24297 Remove conditional code.
24298 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24299 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24300 Remove conditional code.
24301 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24302 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24303 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24304 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24305 * sysdeps/unix/sysv/linux/sigaction.c
24306 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24307 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24308 * sysdeps/unix/sysv/linux/sigpending.c
24309 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24310 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24311 * sysdeps/unix/sysv/linux/sigprocmask.c
24312 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24313 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24314 * sysdeps/unix/sysv/linux/sigsuspend.c
24315 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24316 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24317 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24318 (__libc_missing_rt_sigs): Remove.
24319 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24320 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24321 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24322 Remove conditional code.
24323 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24324 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24325 return 1.
24326 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24327 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24328 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24329 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24330
1bfb7291
AJ
243312012-05-14 Andreas Jaeger <aj@suse.de>
24332
caae5a81
AJ
24333 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24334 it's not used in glibc.
24335 (__coshm1): Likewise.
24336 (__acosh1p): Likewise.
24337 (__sgn): Likewise.
24338
1bfb7291
AJ
24339 * manual/string.texi (Copying and Concatenation): Add missing
24340 variable in concat example.
24341 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24342
c044d724
L
243432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24344
144c5467 24345 [BZ #14103]
c044d724
L
24346 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24347 __builtin_clzl with __builtin_clzll.
24348
2523c62b
L
243492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24350
24351 [BZ #14104]
24352 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24353 libc_freeres_ptr.
24354
d7bb4c42
LD
243552012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24356
24357 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24358 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24359 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24360 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24361
9dc4e1fb
MF
243622012-05-14 Mike Frysinger <vapier@gentoo.org>
24363
24364 * NEWS: Update ia64 info.
24365
c7df0112
AS
243662012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24367
24368 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24369 used as bcopy.
24370
dc70356c
TS
243712012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24372
24373 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24374 * sysdeps/unix/syscalls.list (dup3): Likewise.
24375 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24376 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24377
9fb1a21f
L
243782012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24379
24380 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24381 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24382
4822a2a5
L
243832012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24384
24385 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24386 thread pointer.
24387 (TLS_IE): Use mov/add instead of movq/addq to load thread
24388 pointer.
24389 (TLS_GD_PREFIX): New.
24390 (TLS_GD): Use it.
24391
842b81d6
DM
243922012-05-11 David S. Miller <davem@davemloft.net>
24393
24394 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24395 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24396 (_FPU_SETCW): Likewise.
24397
1cf463cd
L
243982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24399
24400 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24401 is 32-byte aligned.
24402
60cc4a18
AS
244032012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24404
24405 [BZ #11837]
24406 * iconvdata/gb18030.c: Update tables.
24407 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24408 characters specially.
24409 (BODY for TO_LOOP): Add encoding of missing ranges.
24410
febb44a4
TS
244112012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24412
24413 [BZ #13673]
24414 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24415 * sysdeps/mach/hurd/dup3.c: Likewise.
24416 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24417 * sysdeps/powerpc/memmove.c:: Likewise.
24418
0a10fb9e
L
244192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24420
24421 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24422 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24423
df8a552f
L
244242012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24425
24426 * elf/elf.h (R_X86_64_RELATIVE64): New.
24427 (R_X86_64_NUM): Updated.
24428 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24429 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24430 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24431 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24432 tst-quad1pie tst-quad2pie
24433 (modules-names): Add tst-quadmod1 tst-quadmod2.
24434 ($(objpfx)tst-quad1): New dependency.
24435 ($(objpfx)tst-quad2): Likewise.
24436 ($(objpfx)tst-quad1pie): Likewise.
24437 ($(objpfx)tst-quad2pie): Likewise.
24438 * sysdeps/x86_64/tst-quad1.c: New file.
24439 * sysdeps/x86_64/tst-quad1pie.c: New file.
24440 * sysdeps/x86_64/tst-quad2.c: Likewise.
24441 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24442 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24443 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24444 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24445 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24446
f34d6f84
ST
244472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24448
f42d41d1
ST
24449 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24450 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24451 * streams/stropts.h (t_scalar_t): Define type.
24452
3c3571fc
ST
24453 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24454 (_PATH_PRESERVE): Set to "/var/lib".
24455 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24456
61f06bd3
ST
24457 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24458 instead of int.
24459
918d4d71
ST
24460 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24461 if __dir_mkfile succeeded.
24462
f34d6f84
ST
24463 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24464 checking for _hurd_dtablesize. Unlock it right after having
24465 finished _hurd_dtable allocation.
24466
10589b4a
TS
244672012-05-10 Thomas Schwinge <thomas@schwinge.name>
24468
674cdbc7
TS
24469 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24470 * sysdeps/mach/hurd/configure: Regenerated.
24471 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24472 special-casing to...
24473 * sysdeps/gnu/configure.in: ... this new file.
24474 * sysdeps/unix/sysv/linux/configure: Regenerated.
24475 * sysdeps/gnu/configure: New generated file.
24476
8e41b99f
TS
24477 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24478 for Linux: use nsec instead of usec, as well as:
24479 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24480 members of type struct timespec.
24481 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24482 New macros.
24483 (struct stat64): Likewise.
24484 (_STATBUF_ST_NSEC): New macro.
24485 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24486
10589b4a
TS
24487 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24488 __strtoul_internal rather than strtoul.
24489
63643c85
PT
244902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24491
24492 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24493 and reject them.
24494
3faebe6a
ST
244952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24496
24497 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24498 which preserves existing values.
24499 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24500
c6474b07
PT
245012012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24502
24503 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24504 TIMEOUT values. Return EINVAL for NFDS values either negative or
24505 greater than FD_SETSIZE.
24506
1043890b
ST
245072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24508
24509 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24510 allocated, call __vm_protect to finish enabling the existing space, and
24511 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24512 allocate the remainder.
24513
37ed8b9b
PT
245142012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24515
24516 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24517 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24518
db653660
ST
245192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24520
37ed8b9b
PT
24521 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24522 sysdeps/mach/hurd/readlink.c.
b29d4053 24523
db653660
ST
24524 * posix/tst-sysconf.c (posix_options): Only use
24525 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24526 _POSIX_SYNCHRONIZED_IO when they are defined
24527 * sysdeps/mach/hurd/bits/posix_opt.h:
24528 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24529 (_XOPEN_REALTIME): Undefine macro.
24530 (_XOPEN_REALTIME_THREADS): Undefine macro.
24531 (_XOPEN_SHM): Undefine macro.
24532 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24533 macro to -1.
24534 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24535 macro to -1.
24536 (_POSIX_ASYNC_IO): Undefine macro.
24537 (_POSIX_PRIORITIZED_IO): Undefine macro.
24538 (_POSIX_SPIN_LOCKS): Define macro to -1.
24539
ee16e894
ST
24540 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24541 SA_NODEFER, SA_RESETHAND.
24542 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24543 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24544 F_DUPFD_CLOEXEC.
24545
6103ae3b
TS
245462012-05-10 Thomas Schwinge <thomas@schwinge.name>
24547
24548 * elf/Makefile (pldd-modules): Define unconditionally.
24549
80b4e5f3
TS
245502012-05-10 Thomas Schwinge <thomas@schwinge.name>
24551
24552 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24553
edadcbd6
ST
245542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24555
24556 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24557 Return ENOENT when name is empty.
24558 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24559
80694780
TS
245602012-05-10 Thomas Schwinge <thomas@schwinge.name>
24561
1792c087
TS
24562 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24563
80694780
TS
24564 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24565
6b645f0d
ST
245662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24567
80694780
TS
24568 Fix mlock in all cases except non-readable pages.
24569 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24570 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 24571
6b645f0d
ST
24572 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24573 (__mkdir): When path is `/', just fail with EEXIST.
24574 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24575
e468f8a3
TS
245762012-05-10 Thomas Schwinge <thomas@schwinge.name>
24577
24578 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24579 <sys/uio.h> (for writev).
24580 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24581 and <sys/param.h> (for MIN).
24582
a4186cff
PT
245832012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24584
24585 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24586 REQUESTED_TIME. Properly set the remaining time and return EINTR
24587 if interrupted.
24588
510bbf14
TS
245892012-05-10 Thomas Schwinge <thomas@schwinge.name>
24590
24591 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24592 Depend on against $(link-rpcuserlibs).
24593
5d5722e8
ST
245942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24595
a4186cff
PT
24596 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24597 (__libc_stack_end): Do not use attribute_relro.
24598 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24599 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 24600 to libthread-provided value.
a4186cff
PT
24601 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24602 attribute_relro.
5d5722e8 24603
37233df9
TS
246042012-05-10 Thomas Schwinge <thomas@schwinge.name>
24605
be971a2b
TS
24606 [BZ #3748]
24607 * bits/libc-lock.h (__libc_once_get): New macro.
24608 * sysdeps/mach/bits/libc-lock.h: Likewise.
24609 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24610 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24611 instead of using implementation details.
24612
37233df9
TS
24613 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24614 * libio/freopen.c: Likewise.
24615 * libio/freopen64.c: Likewise.
24616 * misc/syslog.c: Likewise.
24617 * nscd/connections.c: Likewise.
24618 * nscd/netgroupcache.c: Likewise.
24619 * sysdeps/posix/getcwd.c: Likewise.
24620
38de94a5
RM
246212012-05-10 Roland McGrath <roland@hack.frob.com>
24622
24623 * math/w_ilogbf.c: Add #include <limits.h>.
24624
67530489
ST
246252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24626
a4186cff 24627 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
24628 path instead of returning without unlocking.
24629
67530489
ST
24630 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24631 immediate-write ioctls.
24632 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24633
5aa3a74a
TS
246342012-05-10 Thomas Schwinge <thomas@schwinge.name>
24635
18bad2ae
TS
24636 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24637 __builtin_frame_address instead of making assumptions about the
24638 location of the return address relative to DATA. Force early load of
24639 the return address.
24640 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24641 __builtin_frame_address.
24642
5aa3a74a
TS
24643 dup3 for GNU Hurd.
24644 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24645 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24646 implement dup3 and do some further code clean-ups.
24647 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24648 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24649
ecd0de9a
ST
246502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24651
cd9fa985
ST
24652 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24653
a4186cff
PT
24654 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24655 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24656 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24657 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24658 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24659 d->port.lock.
802ca5a5 24660
a4186cff
PT
24661 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24662 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24663 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 24664
bcf55240
TS
246652012-05-10 Thomas Schwinge <thomas@schwinge.name>
24666
6960eb42
TS
24667 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24668 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24669 definitions.
24670
eb43375f
TS
24671 accept4 for GNU Hurd.
24672 * include/sys/socket.h (__libc_accept4): New prototype.
24673 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24674 to implement __libc_accept4.
24675 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24676 __libc_accept4.
24677 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24678
bcf55240
TS
24679 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24680 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24681 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24682 signal-defines.sym.
24683
6178c55b
ST
246842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24685
a4186cff 24686 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 24687
6f080c2f
TS
246882012-05-10 Thomas Schwinge <thomas@schwinge.name>
24689
24690 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24691 assertion on O_CLOEXEC flag.
24692 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24693 * hurd/intern-fd.c: Likewise.
24694 * hurd/port2fd.c: Likewise.
24695
bcfe3a54
ST
246962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24697
24698 [BZ #3906]
24699 * bits/in.h (IPV6_PKTINFO): Define new macro.
24700 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24701
89c9aa49
AZ
247022012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24703
24704 [BZ #13954]
24705 [BZ #13955]
24706 [BZ #13956]
24707 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24708 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24709 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24710 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24711 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24712 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24713 * math/libm-test.inc (logb_test) : Additional logb tests.
24714
021db4be
AJ
247152012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24716 Andreas Jaeger <aj@suse.de>
24717
24718 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24719 * configure: Regenerated.
24720 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24721 * config.make.in (link-obsolete-rpc): New substituted variable.
24722 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24723 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24724 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24725 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24726 so that libc.a contains the symbols.
24727 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24728 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24729 * sunrpc/auth_none.c: Likewise.
24730 * sunrpc/auth_unix.c: Likewise.
24731 * sunrpc/authdes_prot.c: Likewise.
24732 * sunrpc/authuxprot.c: Likewise.
24733 * sunrpc/clnt_gen.c: Likewise.
24734 * sunrpc/clnt_perr.c: Likewise.
24735 * sunrpc/clnt_raw.c: Likewise.
24736 * sunrpc/clnt_simp.c: Likewise.
24737 * sunrpc/clnt_tcp.c: Likewise.
24738 * sunrpc/clnt_udp.c: Likewise.
24739 * sunrpc/clnt_unix.c: Likewise.
24740 * sunrpc/des_crypt.c: Likewise.
24741 * sunrpc/des_soft.c: Likewise.
24742 * sunrpc/get_myaddr.c: Likewise.
24743 * sunrpc/key_call.c: Likewise.
24744 * sunrpc/key_prot.c: Likewise.
24745 * sunrpc/netname.c: Likewise.
24746 * sunrpc/pm_getmaps.c: Likewise.
24747 * sunrpc/pm_getport.c: Likewise.
24748 * sunrpc/pmap_clnt.c: Likewise.
24749 * sunrpc/pmap_prot.c: Likewise.
24750 * sunrpc/pmap_prot2.c: Likewise.
24751 * sunrpc/pmap_rmt.c: Likewise.
24752 * sunrpc/publickey.c: Likewise.
24753 * sunrpc/rpc_cmsg.c: Likewise.
24754 * sunrpc/rpc_common.c: Likewise.
24755 * sunrpc/rpc_dtable.c: Likewise.
24756 * sunrpc/rpc_prot.c: Likewise.
24757 * sunrpc/rpc_thread.c: Likewise.
24758 * sunrpc/rtime.c: Likewise.
24759 * sunrpc/svc.c: Likewise.
24760 * sunrpc/svc_auth.c: Likewise.
24761 * sunrpc/svc_raw.c: Likewise.
24762 * sunrpc/svc_run.c: Likewise.
24763 * sunrpc/svc_tcp.c: Likewise.
24764 * sunrpc/svc_udp.c: Likewise.
24765 * sunrpc/svc_unix.c: Likewise.
24766 * sunrpc/svcauth_des.c: Likewise.
24767 * sunrpc/xcrypt.c: Likewise.
24768 * sunrpc/xdr.c: Likewise.
24769 * sunrpc/xdr_array.c: Likewise.
24770 * sunrpc/xdr_float.c: Likewise.
24771 * sunrpc/xdr_intXX_t.c: Likewise.
24772 * sunrpc/xdr_mem.c: Likewise.
24773 * sunrpc/xdr_rec.c: Likewise.
24774 * sunrpc/xdr_ref.c: Likewise.
24775 * sunrpc/xdr_sizeof.c: Likewise.
24776 * sunrpc/xdr_stdio.c: Likewise.
24777
b5c086a2
RM
247782012-05-10 Roland McGrath <roland@hack.frob.com>
24779
24780 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24781 change. Update copyright years.
24782
6d74dd09
JM
247832012-05-10 Joseph Myers <joseph@codesourcery.com>
24784
24785 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24786
28e72501
MK
247872012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24788 Joseph Myers <joseph@codesourcery.com>
24789 Paul Pluzhnikov <ppluzhnikov@google.com>
24790
24791 [BZ #14012]
24792 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24793 requiring rpcgen.
24794 [cross-compiling] (extra-libs): Likewise.
24795 [cross-compiling] (extra-libs-others): Likewise.
24796 [cross-compiling] (librpcsvc-routines): Likewise.
24797 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24798 [cross-compiling] (omit-deps): Likewise.
24799 (sunrpc-CPPFLAGS): New variable.
24800 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24801 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24802 (cross-rpcgen-objs): New variable.
24803 (extra-objs): Append $(cross-rpcgen-objs).
24804 ($(cross-rpcgen-objs)): New rule.
24805 ($(objpfx)cross-rpcgen): Likewise.
24806 (rpcgen-cmd): Define to use $(built-program-file). Expand
24807 comment.
24808 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24809 ($(objpfx)x%.stmp): Likewise.
24810 * sunrpc/proto.h [IS_IN_build] (_): Define.
24811 [IS_IN_build] (_libc_intl_domainname): Likewise.
24812
c8c59454
L
248132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24814
24815 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24816 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24817 and R_X86_64_TPOFF64.
24818
6f27cd16
JM
248192012-05-10 Joseph Myers <joseph@codesourcery.com>
24820
24821 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24822 sysdeps/unix/sysv/syscalls.list.
24823 (stime): Likewise.
24824 (utime): Likewise.
24825 * sysdeps/unix/sysv/syscalls.list: Remove file.
24826
02467e1c
PE
248272012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24828
24829 [BZ #3440]
24830 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24831 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24832 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24833 (__LC_IDENTIFICATION): Make these macros useful in #if
24834 expressions, as required by C99.
24835
da392631
AS
248362012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24837
24838 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24839 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24840 after this.
24841
8115f29b
L
248422012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24843
24844 * stdlib/longlong.h: Updated from GCC.
24845
bdd74070
AJ
248462012-05-09 Andreas Jaeger <aj@suse.de>
24847
edfe0dbe
AJ
24848 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24849 default is first entry.
24850 (run_mode): Set type.
24851 (main): Remove informal message about syslog.
24852 (options): Fix typo.
24853
bcfe3a54
ST
24854 [BZ #14053]
24855 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 24856 to asm.
bcfe3a54
ST
24857 (lrint): Likewise.
24858 (llrintf): Likewise.
24859 (llrint): Likewise.
24860 (rint): Likewise.
24861 (rintf): Likewise.
24862 (nearbyint): Likewise.
24863 (nearbyintf): Likewise.
bdd74070 24864
91d8d69e
AJ
248652012-05-09 Andreas Jaeger <aj@suse.de>
24866 Pedro Alves <palves@redhat.com>
24867
24868 * nscd/nscd.c (run_mode): Use enum.
24869 (main): Cleanup coding style issue.
24870
bb90b80b
AJ
248712012-05-09 Alexandre Oliva <aoliva@redhat.com>
24872 Andreas Jaeger <aj@suse.de>
24873
bcfe3a54
ST
24874 * nscd/nscd.c (go_background): Replaced with...
24875 (run_mode): ... this.
bb90b80b 24876 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
24877 (options): Add -F --foreground.
24878 (main): Implement it.
24879 (parse_opt): Parse it.
bb90b80b 24880
1a4b75a1
AJ
248812012-05-09 Andreas Jaeger <aj@suse.de>
24882
24883 [BZ #14083]
24884 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24885 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24886 -Wconversion warning.
24887 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24888 Likewise.
24889
b1cc2472
JM
248902012-05-09 Joseph Myers <joseph@codesourcery.com>
24891
24892 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24893 == 0.
24894 (LC_ALL): Use macro-int-constant.
24895 (LC_COLLATE): Likewise.
24896 (LC_CTYPE): Likewise.
24897 (LC_MESSAGES): Likewise.
24898 (LC_MONETARY): Likewise.
24899 (LC_NUMERIC): Likewise.
24900 (LC_TIME): Likewise.
24901 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24902 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24903 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24904 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24905 Specify type.
24906 [C99-based standards] (float_t): Expect type.
24907 [C99-based standards] (double_t): Expect type.
24908 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24909 type.
24910 [C99-based standards] (HUGE_VALL): Likewise.
24911 [C99-based standards] (INFINITY): Likewise.
24912 [C99-based standards] (NAN): Likewise.
24913 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24914 [C99-based standards] (FP_NAN): Likewise.
24915 [C99-based standards] (FP_NORMAL): Likewise.
24916 [C99-based standards] (FP_SUBNORMAL): Likewise.
24917 [C99-based standards] (FP_ZERO): Likewise.
24918 [C99-based standards] (FP_FAST_FMA): Use
24919 optional-macro-int-constant. Specify type. Require == 1.
24920 [C99-based standards] (FP_FAST_FMAF): Likewise.
24921 [C99-based standards] (FP_FAST_FMAL): Likewise.
24922 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24923 [C99-based standards] (FP_ILOGBNAN): Likewise.
24924 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24925 Specify type.
24926 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24927 [C99-based standards] (math_errhandling): Specify type.
24928 [ISO99 || ISO11] (signgam): Do not allow.
24929 [non-C99-based standards] (copysignf): Do not allow.
24930 [non-C99-based standards] (exp2f): Likewise.
24931 [non-C99-based standards] (log2f): Likewise.
24932 [non-C99-based standards] (modff): Allow.
24933 [non-C99-based standards] (erff): Do not allow.
24934 [non-C99-based standards] (erfcf): Likewise.
24935 [non-C99-based standards] (gammaf): Likewise.
24936 [non-C99-based standards] (hypotf): Likewise.
24937 [non-C99-based standards] (j0f): Likewise.
24938 [non-C99-based standards] (j1f): Likewise.
24939 [non-C99-based standards] (jnf): Likewise.
24940 [non-C99-based standards] (lgammaf): Likewise.
24941 [non-C99-based standards] (tgammaf): Likewise.
24942 [non-C99-based standards] (y0f): Likewise.
24943 [non-C99-based standards] (y1f): Likewise.
24944 [non-C99-based standards] (ynf): Likewise.
24945 [non-C99-based standards] (isnanf): Likewise.
24946 [non-C99-based standards] (acoshf): Likewise.
24947 [non-C99-based standards] (asinhf): Likewise.
24948 [non-C99-based standards] (atanhf): Likewise.
24949 [non-C99-based standards] (cbrtf): Likewise.
24950 [non-C99-based standards] (expm1f): Likewise.
24951 [non-C99-based standards] (ilogbf): Likewise.
24952 [non-C99-based standards] (log1pf): Likewise.
24953 [non-C99-based standards] (logbf): Likewise.
24954 [non-C99-based standards] (nextafterf): Likewise.
24955 [non-C99-based standards] (remainderf): Likewise.
24956 [non-C99-based standards] (rintf): Likewise.
24957 [non-C99-based standards] (scalbf): Likewise.
24958 [non-C99-based standards] (copysignl): Likewise.
24959 [non-C99-based standards] (exp2l): Likewise.
24960 [non-C99-based standards] (log2l): Likewise.
24961 [non-C99-based standards] (modfl): Allow.
24962 [non-C99-based standards] (erfl): Do not allow.
24963 [non-C99-based standards] (erfcl): Likewise.
24964 [non-C99-based standards] (gammal): Likewise.
24965 [non-C99-based standards] (hypotl): Likewise.
24966 [non-C99-based standards] (j0l): Likewise.
24967 [non-C99-based standards] (j1l): Likewise.
24968 [non-C99-based standards] (jnl): Likewise.
24969 [non-C99-based standards] (lgammal): Likewise.
24970 [non-C99-based standards] (tgammal): Likewise.
24971 [non-C99-based standards] (y0l): Likewise.
24972 [non-C99-based standards] (y1l): Likewise.
24973 [non-C99-based standards] (ynl): Likewise.
24974 [non-C99-based standards] (isnanl): Likewise.
24975 [non-C99-based standards] (acoshl): Likewise.
24976 [non-C99-based standards] (asinhl): Likewise.
24977 [non-C99-based standards] (atanhl): Likewise.
24978 [non-C99-based standards] (cbrtl): Likewise.
24979 [non-C99-based standards] (expm1l): Likewise.
24980 [non-C99-based standards] (ilogbl): Likewise.
24981 [non-C99-based standards] (log1pl): Likewise.
24982 [non-C99-based standards] (logbl): Likewise.
24983 [non-C99-based standards] (nextafterl): Likewise.
24984 [non-C99-based standards] (remainderl): Likewise.
24985 [non-C99-based standards] (rintl): Likewise.
24986 [non-C99-based standards] (scalbl): Likewise.
24987 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24988 [non-C99-based standards] (FP_*): Do not allow.
24989 [C99-based standards] (FP_*): Change to
24990 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24991 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24992 allow.
24993 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24994 (SIG_ERR): Likewise.
24995 [X/Open-based standards] (SIG_HOLD): Likewise.
24996 (SIG_IGN): Likewise.
24997 (SIGABRT): Use macro-int-constant. Specify type. Require
24998 positive value.
24999 (SIGFPE): Likewise.
25000 (SIGILL): Likewise.
25001 (SIGINT): Likewise.
25002 (SIGSEGV): Likewise.
25003 (SIGTER): Likewise.
25004 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25005 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25006 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25007 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25008 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25009 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25010 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25011 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25012 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25013 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25014 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25015 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25016 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25017 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25018 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25019 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25020 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25021 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25022 [X/Open-based standards] (SIGTRAP): Likewise.
25023 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25024 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25025 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25026 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25027 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25028 allow.
25029
b9f1922d
IW
250302012-05-08 Ian Wienand <ianw@vmware.com>
25031
25032 [BZ #14080]
25033 * time/tzset.c (__tzset_parse_tz): Update default rules for
25034 daylight time changes in the Energy Policy Act of 2005.
25035
1db86e88
AJ
250362012-05-09 Andreas Jaeger <aj@suse.de>
25037
25038 [BZ #13983]
25039 * elf/ldconfig.c (parse_conf): Change string to make clear that
25040 ldconfig only issued a warning if ld.so.conf does not exist.
25041
dee4a4e3
DM
250422012-05-08 David S. Miller <davem@davemloft.net>
25043
ee0db190
DM
25044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25045 movxtod instead of popping the value on the stack.
25046
dee4a4e3
DM
25047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25048
6a43ec98
CD
250492012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25050
25051 * config.h.in: Add HAVE_ARM_PCS_VFP.
25052
05c2c961
RMG
250532012-05-08 Roland Mc Grath <roland@hack.frob.com>
25054
bcfe3a54
ST
25055 [BZ #13979]
25056 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25057 checking but the checks are disabled for any reason.
05c2c961 25058
4b30f61a
L
250592012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25060
25061 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25062 and ELF64_R_TYPE with ELFW(R_TYPE).
25063
eee2bc67
JM
250642012-05-08 Joseph Myers <joseph@codesourcery.com>
25065
7ea5391a
JM
25066 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25067 (ulimit): Likewise.
25068
eee2bc67
JM
25069 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25070 (settimeofday): Likewise.
25071
abb66a67
MF
250722012-05-08 Mike Frysinger <vapier@gentoo.org>
25073
25074 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25075 a struct th_u2 inside the union, and move tu_block/tu_code into
25076 a new th_u3 union of tu_block/tu_code inside of that. Move
25077 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25078 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25079 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25080 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25081 (th_stuff): Change to th_u1.tu_stuff.
25082 (th_data): Define.
25083 (th_msg): Change to th_u1.th_u2.tu_data.
25084
7f18b530
DM
250852012-05-07 David S. Miller <davem@davemloft.net>
25086
05760585
DM
25087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25088
7f18b530
DM
25089 [BZ #14074]
25090 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25091 (SETUP_PIC_REG): Use it.
25092 (SETUP_PIC_REG_LEAF): Use it.
25093
495fd99f
JM
250942012-05-07 Joseph Myers <joseph@codesourcery.com>
25095
25096 [BZ #13885]
25097 [BZ #13923]
25098 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25099 USE_AS_EXPM1L.
25100 (EXPL_FINITE): Likewise.
25101 (FLDLOG): Likewise.
25102 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25103 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25104 e_expl.S.
25105 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25106 USE_AS_EXPM1L.
25107 (EXPL_FINITE): Likewise.
25108 (FLDLOG): Likewise.
25109 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25110 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25111 e_expl.S.
25112 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25113 test of -max_value argument for long double.
25114 * sysdeps/i386/fpu/libm-test-ulps: Update.
25115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25116
6693d694
DM
251172012-05-06 David S. Miller <davem@davemloft.net>
25118
25119 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25120 quad soft-float symbols whose references which are compiler
25121 generated.
25122 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25123
6c23e11c
JM
251242012-05-06 Joseph Myers <joseph@codesourcery.com>
25125
d8b82cad
JM
25126 [BZ #13884]
25127 [BZ #13914]
25128 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25129 USE_AS_EXP10L.
25130 (EXPL_FINITE): Likewise.
25131 (FLDLOG): Likewise.
25132 (c0): Likewise.
25133 (c1): Likewise.
25134 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25135 Adjust comments for base varying.
25136 (__expl_finite): Change alias to EXPL_FINITE.
25137 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25138 e_expl.S.
25139 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25140 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25141 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25142 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25143 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25144 USE_AS_EXP10L.
25145 (EXPL_FINITE): Likewise.
25146 (FLDLOG): Likewise.
25147 (c0): Likewise.
25148 (c1): Likewise.
25149 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25150 Adjust comments for base varying.
25151 (__expl_finite): Change alias to EXPL_FINITE.
25152 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25153 tests for bugs.
25154 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25155
6c23e11c
JM
25156 [BZ #14064]
25157 * math/libm-test.inc (check_float_internal): Correct ulp
25158 calculation for subnormal expected results.
25159
29ba805c
AJ
251602012-05-06 Andreas Jaeger <aj@suse.de>
25161
25162 * Makeconfig (+math-flags): New, set to -frounding-math.
25163 (+cflags): Add +math-flags so that all of glibc gets compiled with
25164 it.
25165
25166 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25167
7b17aeda
JM
251682012-05-05 Joseph Myers <joseph@codesourcery.com>
25169
5779f134
JM
25170 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25171 Disable one test.
25172
41498f4d
JM
25173 [BZ #13787]
25174 [BZ #13922]
25175 [BZ #14036]
25176 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25177 (__ieee754_expl): Allow for and saturate large arguments.
25178 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25179 (u_threshold): Likewise.
25180 (__exp): Call __ieee754_exp before checking for overflow and
25181 underflow.
25182 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25183 (u_threshold): Likewise.
25184 (__expf): Call __ieee754_expf before checking for overflow and
25185 underflow.
25186 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25187 (u_threshold): Likewise.
25188 (__expl): Call __ieee754_expl before checking for overflow and
25189 underflow.
25190 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25191 (__ieee754_expl): Allow for and saturate large arguments.
25192 * math/libm-test.inc (exp_test): Add another test. Do not allow
25193 missing overflow exception on overflow.
25194 (expm1_test): Do not allow missing overflow exception on overflow.
25195
6698b8bf
JM
25196 * sysdeps/i386/fpu/e_expl.c: Move to ...
25197 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25198 rather than using inline asm.
25199 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25200 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25201 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25202
7b17aeda
JM
25203 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25204 (nice): Likewise.
25205 (poll): Likewise.
25206 (signal): Likewise.
25207 (time): Likewise.
25208 (times): Likewise.
25209
f7c85819
JM
252102012-05-04 Joseph Myers <joseph@codesourcery.com>
25211
25212 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25213 sysdeps/unix/common/syscalls.list.
25214 (fchmod): Likewise.
25215 (fchown): Likewise.
25216 (ftruncate): Likewise.
25217 (getrusage): Likewise.
25218 (gettimeofday): Likewise.
25219 (setpgid): Likewise.
25220 (setregid): Likewise.
25221 (setreuid): Likewise.
25222 (sigaction): Likewise.
25223 (truncate): Likewise.
25224 (vhangup): Likewise.
25225 * sysdeps/unix/common/syscalls.list: Remove file.
25226 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25227 * sysdeps/unix/sysv/linux/Implies: Likewise.
25228
336270d0
L
252292012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25230
25231 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25233 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25234 Moved to ...
25235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25236 Here.
25237 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25238 to ...
25239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25240 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25241 to ...
25242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25243 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25244 to ...
25245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25246 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25247 to ...
25248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25249 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25250 to ...
25251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25252 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25253 to ...
25254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25255 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25256 to ...
25257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25258 Here.
25259 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25260 to ...
25261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25262 Here.
25263 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25264 to ...
25265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25266 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25267 Moved to ...
25268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25269 Here.
25270 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25271 to ...
25272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25273
d128e450
JM
252742012-05-04 Joseph Myers <joseph@codesourcery.com>
25275
fa8ee516
JM
25276 * sysdeps/unix/common/bits/dirent.h: Remove file.
25277 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25278
d128e450
JM
25279 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25280 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25281 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25282 * sysdeps/unix/bsd/isatty.c: Likewise.
25283 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25284 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25285 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25286
ff8faaf0 252872012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 25288
62881be4 25289 [BZ #13563]
31dc8730
AZ
25290 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25291 long double comparison inaccuracies.
25292 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25294
6fef930c
AS
252952012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25296
25297 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25298 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25299
8f203e6c
JM
253002012-05-04 Joseph Myers <joseph@codesourcery.com>
25301
25302 [BZ #14049]
25303 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25304 nonzero digits before rounding a hex value.
25305 * stdlib/tst-strtod.c (tests): Add another test.
25306
5197d9c2
AK
253072012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25308
25309 * sysdeps/s390/fpu/libm-test-ulps: Update.
25310
f0c1dedf
AJ
253112012-05-03 Andreas Jaeger <aj@suse.de>
25312
25313 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25314 does not get optimized out.
25315 (malloc_opt_barrier): New.
25316
a65ef2ae 253172012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 25318 Roland McGrath <roland@hack.frob.com>
a65ef2ae 25319
2b942cb7 25320 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 25321 intermediate file deletion.
2b942cb7 25322 (generated): Add .symlist files.
a65ef2ae 25323
54b71e02
JM
253242012-05-03 Joseph Myers <joseph@codesourcery.com>
25325
25326 [BZ #13775]
25327 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25328 Redirect under this condition.
25329 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25330 [__USE_GNU] (__dprintf_chk): Not under this condition.
25331 [__USE_GNU] (__vdprintf_chk): Likewise.
25332 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25333 under this condition.
25334 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25335 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25336 [__USE_XOPEN2K8] (vdprintf): Likewise.
25337 [__USE_GNU] (__dprintf_chk): Not under this condition.
25338 [__USE_GNU] (__vdprintf_chk): Likewise.
25339 [__USE_GNU] (dprintf): Likewise.
25340 [__USE_GNU] (vdprintf): Likewise.
25341
d3dfcc41
RM
253422012-05-03 Roland McGrath <roland@hack.frob.com>
25343
25344 * elf/Makefile (common-generated): Set this instead of generated for
25345 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25346 $(all-built-dso)-derived lists.
25347
7ac30cc5
AJ
253482012-05-03 Andreas Jaeger <aj@suse.de>
25349
0c51e550
AJ
25350 * sysdeps/i386/fpu/libm-test-ulps: Update.
25351
7ac30cc5
AJ
25352 * FAQ: Removed.
25353 * FAQ.in: Likewise.
25354 * scripts/gen-FAQ.pl: Likewise.
25355 * manual/install.texi (Installation): Point to online location of
25356 FAQ.
25357 * Makefile (files-for-dist): Remove FAQ.
25358 (FAQ): Remove.
25359
d4c2917f
AM
253602012-05-02 Allan McRae <allan@archlinux.org>
25361
25362 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25363 (LDFLAGS-reldepmod5.so): Likewise.
25364 (LDFLAGS-reldep6mod1.so): Likewise.
25365 (LDFLAGS-reldep6mod4.so): Likewise.
25366 (LDFLAGS-reldep8mod3.so): Likewise.
25367 (LDFLAGS-unload4mod1.so): Likewise.
25368 (LDFLAGS-unload4mod2.so): Likewise.
25369 (LDFLAGS-tst-initorder): Likewise.
25370 (LDFLAGS-tst-initordera2.so): Likewise.
25371 (LDFLAGS-tst-initordera3.so): Likewise.
25372 (LDFLAGS-tst-initordera4.so): Likewise.
25373 (LDFLAGS-tst-initorderb2.so): Likewise.
25374 (LDFLAGS-noload): Likewise.
25375 (LDFLAGS-next): Likewise.
25376 (LDFLAGS-order2mod1.so): Likewise.
25377 (LDFLAGS-order2mod2.so): Likewise.
25378 (LDFLAGS-tst-initorder2): Likewise.
25379 (LDFLAGS-tst-initorder2a.so): Likewise.
25380 (LDFLAGS-tst-initorder2b.so): Likewise.
25381 (LDFLAGS-tst-initorder2c.so): Likewise.
25382 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25383
d77f993f
DM
253842012-05-02 David S. Miller <davem@davemloft.net>
25385
25386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25387
171a70b4
PP
253882012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25389
25390 [BZ #14055]
25391 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25392
0be196ad
AJ
253932012-05-02 Andreas Jaeger <aj@suse.de>
25394
25395 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25396 since we manipulate rounding mode.
25397 (CPPFLAGS-test-idouble.c): Likewise.
25398 (CPPFLAGS-test-ifloat.c): Likewise.
25399 (CFLAGS-test-ldouble.c): Likewise.
25400 (CFLAGS-test-double.c): Likewise.
25401 (CFLAGS-test-float.c): Likewise.
25402 (CFLAGS-test-misc.c): Likewise.
25403 (CFLAGS-test-test-fenv.c): Likewise.
25404
4f9d04aa
AZ
254052012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25406
2b942cb7
RM
25407 [BZ #2550]
25408 [BZ #2570]
25409 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25410 comparisons to determine direction to adjust input.
4f9d04aa 25411
82a79e7d
RM
254122012-05-01 Roland McGrath <roland@hack.frob.com>
25413
f5a01ca9
RM
25414 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25415 output to the target.
25416
90fe4186
RM
25417 * scripts/localplt.awk: New file.
25418 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25419 (check-localplt-CFLAGS): Variable removed.
25420 ($(all-built-dso:=.jmprel)): New static pattern rule.
25421 (generated): Add those targets.
25422 (localplt-built-dso): New variable.
25423 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25424
25425 * elf/check-localplt.c: File removed.
25426
82397ed6
RM
25427 * scripts/check-execstack.awk: New file.
25428 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25429 (check-execstack-CFLAGS): Variable removed.
25430 ($(objpfx)check-execstack.h): Target removed.
25431 ($(objpfx)execstack-default): New target.
25432 (generated): Add that instead of check-execstack.h.
25433 ($(all-built-dso:=.phdr)): New static pattern rule.
25434 (generated): Add those targets.
25435 * elf/check-execstack.c: File removed.
25436
82a79e7d
RM
25437 * scripts/check-textrel.awk: New file.
25438 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25439 (check-textrel-CFLAGS): Variable removed.
25440 (all-built-dso): Use := to define.o
25441 ($(all-built-dso:=.dyn)): New static pattern rule.
25442 (generated): Add those targets.
25443 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25444 * config.make.in (READELF): New substituted variable.
25445 * elf/check-textrel.c: File removed.
25446
62fde54f 254472012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 25448
615605c9
JM
25449 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25450 allow.
25451 * conform/data/ctype.h-data [C99-based standards] (isblank):
25452 Expect function.
25453 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25454 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25455 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25456 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25457 Specify type. Require positive value.
25458 (EILSEQ): Likewise.
25459 (ERANGE): Likewise.
25460 [ISO || POSIX] (EILSEQ): Do not expect.
25461 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25462 Specify type. Require positive value.
25463 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25464 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25465 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25466 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25467 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25468 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25469 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25470 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25471 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25472 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25473 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25474 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25475 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25476 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25477 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25478 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25479 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25480 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25481 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25482 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25483 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25484 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25485 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25486 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25487 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25488 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25489 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25490 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25491 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25492 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25493 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25494 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25495 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25496 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25497 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25498 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25499 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25500 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25501 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25502 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25503 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25504 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25505 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25506 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25507 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25508 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25509 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25510 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25511 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25512 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25513 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25514 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25515 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25516 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25517 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25518 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25519 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25520 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25521 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25522 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25523 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25524 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25525 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25526 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25527 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25528 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25529 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25530 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25531 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25532 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25533 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25534 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25535 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25536 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25537 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25538 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25539 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25540 Require >= 2.
25541 (FLT_ROUNDS): Expect as macro, not constant.
25542 (FLT_MANT_DIG): Use macro-int-constant.
25543 (DBL_MANT_DIG): Likewise.
25544 (LDBL_MANT_DIG): Likewise.
25545 (FLT_DIG): Likewise.
25546 (DBL_DIG): Likewise.
25547 (LDBL_DIG): Likewise.
25548 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25549 (DBL_MIN_EXP): Likewise.
25550 (LDBL_MIN_EXP): Likewise.
25551 (FLT_MAX_EXP): Use macro-int-constant.
25552 (DBL_MAX_EXP): Likewise.
25553 (LDBL_MAX_EXP): Likewise.
25554 (FLT_MAX_10_EXP): Likewise.
25555 (DBL_MAX_10_EXP): Likewise.
25556 (LDBL_MAX_10_EXP): Likewise.
25557 (FLT_MAX): Use macro-constant.
25558 (DBL_MAX): Likewise.
25559 (LDBL_MAX): Likewise.
25560 (FLT_EPSILON): Use macro-constant. Give upper bound.
25561 (DBL_EPSILON): Likewise.
25562 (LDBL_EPSILON): Likewise.
25563 (FLT_MIN): Likewise.
25564 (DBL_MIN): Likewise.
25565 (LDBL_MIN): Likewise.
25566 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25567 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25568 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25569 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25570 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25571 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25572 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25573 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25574 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25575 [ISO11] (FLT_TRUE_MIN): Likewise.
25576 [ISO11] (LDBL_TRUE_MIN): Likewise.
25577 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25578 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25579 (SCHAR_MIN): Use macro-int-constant. Specify type.
25580 (SCHAR_MAX): Likewise.
25581 (UCHAR_MAX): Likewise.
25582 (CHAR_MIN): Likewise.
25583 (CHAR_MAX): Likewise.
25584 (MB_LEN_MAX): Use macro-int-constant.
25585 (SHRT_MIN): Use macro-int-constant. Specify type.
25586 (SHRT_MAX): Likewise.
25587 (USHRT_MAX): Likewise.
25588 (INT_MAX): Likewise.
25589 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25590 bound negative.
25591 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25592 bound with "U".
25593 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25594 bound with "L".
25595 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25596 bound negative. Suffix upper bound with "L".
25597 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25598 bound with "UL".
25599 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25600 Specify type.
25601 [C99-based standards] (LLONG_MAX): Likewise.
25602 [C99-based standards] (ULLONG_MAX): Likewise.
25603 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25604 == 0.
25605 [ISO11] (max_align_t): Require type.
25606 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25607
c9140a62
JM
25608 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25609 from $CFLAGS, without defining away __attribute__ calls.
25610 (checknamespace): Use $CFLAGS_namespace.
25611
9af0bf29
JM
25612 * conform/conformtest.pl (@keywords): Only include C99 keywords
25613 for standards based on C99 or C11.
25614
343222a2
JM
25615 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25616 Disable tests.
25617 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25618 UNIX98]: Likewise.
25619
661f8cf0
JM
25620 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25621 usability of symbols in #if.
25622
ee74b9cb
JM
25623 * conform/conformtest.pl: If macro or constant types start
25624 "promoted:", expect the symbol to be of the following type
25625 promoted by the integer promotions.
62fde54f 25626
aafc49b3
JM
25627 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25628 in one place. Also handle "macro-constant".
25629
fefdf574
JM
25630 * conform/conformtest.pl: Only accept expected macro values with
25631 "==". Parse all "macro" lines in one place.
25632 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25633
f2d922fe
JM
25634 * conform/conformtest.pl: Handle braced types on "constant" lines
25635 instead of handling "typed-constant".
25636 * conform/data/signal.h-data: Use "constant" instead of
25637 "typed-constant".
25638
d22956c9
JM
25639 * conform/conformtest.pl: Handle "optional-" at start of lines in
25640 one place rather than duplicating several cases. Handle each
25641 format of "macro" line with initial "optional-".
25642
028e2e38
JM
25643 * conform/conformtest.pl: Only accept expected constant or
25644 optional-constant values with "==". Parse all "constant" lines in
25645 one place. Parse all "optional-constant" lines in one place.
25646 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25647 * conform/data/fmtmsg.h-data: Likewise.
25648 * conform/data/netinet/in.h-data: Likewise.
25649 * conform/data/tar.h-data: Likewise.
25650 * conform/data/limits.h-data: Use "==" form on "constant" and
25651 "optional-constant" lines.
25652
1b8f2850
JM
25653 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25654 Use -std=c99 for XOPEN2K.
25655 (@knownproblems): Remove.
25656 (newtoken): Don't check %isknown.
25657
a05a144b
JM
25658 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25659 Do not expect macro.
25660 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25661 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25662 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25663 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25664 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25665 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25666 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25667 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25668 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25669 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25670 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25671 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25672 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25673 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25674 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25675 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25676 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25677 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25678 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25679 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25680 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25681 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25682 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25683 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25684 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25685 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25686 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25687 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25688 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25689 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25690 [XPG3] (acosh): Likewise.
25691 [XPG3] (asinh): Likewise.
25692 [XPG3] (atanh): Likewise.
25693 [XPG3] (cbrt): Likewise.
25694 [XPG3] (expm1): Likewise.
25695 [XPG3] (ilogb): Likewise.
25696 [XPG3] (log1p): Likewise.
25697 [XPG3] (logb): Likewise.
25698 [XPG3] (nextafter): Likewise.
25699 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25700 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25701 [XPG3] (remainder): Likewise.
25702 [XPG3] (rint): Likewise.
25703 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25704 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25705 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25706 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25707 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25708 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25709 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25710 [UNIX98 || XOPEN2K] (scalb): Expect.
25711 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25712 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25713 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25714 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25715 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25716 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25717 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25718 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25719 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25720 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25721 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25722 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25723 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25724 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25725 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25726 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25727 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25728 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25729 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25730 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25731 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25732 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25733 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25734 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25735 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25736 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25737 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25738 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25739 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25740 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25741 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25742 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25743 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25744 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25745 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25746 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25747 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25748 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25749 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25750 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25751 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25752 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25753 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25754 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25755 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25756 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25757 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25758 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25759 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25760 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25761 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25762 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25763 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25764 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25765 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25766 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25767 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25768 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25769 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25770 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25771 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25772 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25773 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25774 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25775 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25776 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25777 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25778 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25779 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25780 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25781 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25782 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25783 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25784 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25785 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25786 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25787 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25788 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25789 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25790 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25791 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25792 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25793 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25794 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25795 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25796 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25797 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25798 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25799 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25800 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25801 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25802 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25803 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25804 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25805 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25806 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25807 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25808 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25809 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25810 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25811 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25812 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25813 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25814 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25815 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25816 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25817 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25818 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25819 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25820 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25821 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25822 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25823 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25824 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25825 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25826 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25827 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25828 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25829 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25830 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25831 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25832 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25833 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25834 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25835 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25836 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25837 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25838 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25839 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25840 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25841 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25842 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25843 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25844 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25845 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25846 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25847 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25848
73c5ebe3
JM
25849 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25850 _XOPEN_SOURCE_EXTENDED for XPG4.
25851
39c33b6c
JM
25852 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25853
62fde54f
JM
25854 * Makeconfig (localtime): Remove variable.
25855 (inst_localtime-file): Likewise.
25856
0741d64c
AS
258572012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25858
25859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25860 Update.
25861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25862 Update.
25863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25864 Update.
25865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25866 Update.
25867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25868 Update.
25869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25870 Update.
25871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25872 Update.
25873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25874 Update.
25875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25876 Update.
25877
7cb029ee
JM
258782012-05-01 Joseph Myers <joseph@codesourcery.com>
25879
25880 [BZ #2550]
25881 [BZ #2570]
25882 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25883 comparisons to determine direction to adjust input.
25884 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25885 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25886 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25887 Likewise.
25888 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25889 Likewise.
25890 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25891 Likewise.
25892 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25893 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25894 Likewise.
25895 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25896 Likewise.
25897 * math/libm-test.inc (nexttoward_test): Add more tests.
25898
412bd966
AS
258992012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25900
25901 [BZ #14040]
25902 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25903 in version GLIBC_2.1, not GLIBC_2.0.
25904 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25905 Likewise.
25906
9568c0c2
JM
259072012-04-30 Joseph Myers <joseph@codesourcery.com>
25908
adfbc8ac
JM
25909 [BZ #13942]
25910 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25911 (1 - x) * (1 + x).
25912 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25913 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25914 * math/libm-test.inc (acos_test): Add more tests.
25915 (asin_test): Likewise.
25916 * sysdeps/i386/fpu/libm-test-ulps: Update.
25917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25918
5ba3cc69
JM
25919 [BZ #14034]
25920 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25921 of square root.
25922 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25923 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25924 * math/libm-test.inc (acos_test_tonearest): New function.
25925 (acos_test_towardzero): Likewise.
25926 (acos_test_downward): Likewise.
25927 (acos_test_upward): Likewise.
25928 (asin_test_tonearest): Likewise.
25929 (asin_test_towardzero): Likewise.
25930 (asin_test_downward): Likewise.
25931 (asin_test_upward): Likewise.
25932 (main): Call the new functions.
25933 * sysdeps/i386/fpu/libm-test-ulps: Update.
25934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25935
9568c0c2
JM
25936 [BZ #13884]
25937 [BZ #13924]
25938 * math/e_exp10.c: Include <float.h>.
25939 (__ieee754_exp10): Handle underflow here rather than multiplying
25940 large negative argument by M_LN10.
25941 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25942 of __ieee754_expf.
25943 * math/e_exp10l.c: Include <float.h>.
25944 (__ieee754_exp10l): Handle underflow here rather than multiplying
25945 large negative argument by M_LN10l.
25946 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25947 spurious overflow exception on underflow.
25948
5ac3ea17
MP
259492012-04-29 Marek Polacek <polacek@redhat.com>
25950
25951 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25952 (__fortify_function): New macro.
25953 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25954 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25955 __extern_always_inline.
25956 * libio/bits/stdio2.h: Likewise.
25957 * libio/bits/stdio.h: Likewise.
25958 * string/string.h: Likewise.
25959 * string/bits/string3.h: Likewise.
25960 * include/stdio.h: Likewise.
25961 * stdlib/bits/stdlib.h: Likewise.
25962 * stdlib/stdlib.h: Likewise.
25963 * rt/bits/mqueue2.h: Likewise.
25964 * rt/mqueue.h: Likewise.
25965 * posix/bits/unistd.h: Likewise.
25966 * posix/unistd.h: Likewise.
25967 * io/bits/poll2.h: Likewise.
25968 * io/bits/fcntl2.h: Likewise.
25969 * io/fcntl.h: Likewise.
25970 * io/sys/poll.h: Likewise.
25971 * misc/bits/syslog.h: Likewise.
25972 * misc/bits/syslog-ldbl.h: Likewise.
25973 * misc/sys/syslog.h: Likewise.
25974 * socket/bits/socket2.h: Likewise.
25975 * socket/sys/socket.h: Likewise.
25976 * debug/tst-chk1.c: Likewise.
25977 * wcsmbs/bits/wchar2.h: Likewise.
25978 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25979 * wcsmbs/wchar.h: Likewise.
25980
ecf0ebfb
AJ
259812012-04-29 Andreas Jaeger <aj@suse.de>
25982
25983 * Makerules (tests): Remove enable-check-abi protection.
25984 (check-abi-warn): Remove.
25985 (check-abi-%): Remove check-abi-warn usage.
25986
25987 * configure.in: Remove check-abi configure option.
25988 * configure: Regenerated.
25989 * config.make.in (enable-check-abi): Remove.
25990
6d5c57fa
AS
259912012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25992
24c5d07e 25993 [BZ #14033]
ded5180a
AS
25994 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25995 double functions to double *_finite functions.
25996
7e0d315d
AS
25997 [BZ #13941]
25998 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25999 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26000 LDBL_MIN_EXP.
26001 * stdio-common/Makefile (tests): Add tst-sprintf3.
26002 * stdio-common/tst-sprintf3.c: New file.
26003
6d5c57fa
AS
26004 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26005 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26006
0749ff8b
JM
260072012-04-28 Joseph Myers <joseph@codesourcery.com>
26008
26009 * conform/conformtest.pl: Remove duplicate typed-constant
26010 handling.
26011
8dbd5d7b
DM
260122012-04-28 David S. Miller <davem@davemloft.net>
26013
26014 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26015 (check-abi-%): Remove AWK script prerequisite and explicit
26016 abilist directory.
26017 (check-abi): Rewrite to just diff the symlist with the abilist.
26018 (config-tls, config-abi-config): Delete, no longer used.
26019 (update-abi-%): Remove AWK script and explicit abilist directory.
26020 (update-abi): Rewrite to simply compare and conditionally copy the
26021 symlist and the sysdep abilist file. Remove update-abi-config
26022 checks.
26023 * abilist/ld.abilist: Remove.
26024 * abilist/libBrokenLocale.abilist: Remove.
26025 * abilist/libanl.abilist: Remove.
26026 * abilist/libcrypt.abilist: Remove.
26027 * abilist/libdl.abilist: Remove.
26028 * abilist/librt.abilist: Remove.
26029 * abilist/libthread_db.abilist: Remove.
26030 * abilist/libutil.abilist: Remove.
26031 * scripts/extract-abilist.awk: Remove.
26032 * scripts/merge-abilist.awk: Remove.
26033 * sysdeps/generic/libcidn.abilist: New file.
26034 * sysdeps/generic/libnss_compat.abilist: New file.
26035 * sysdeps/generic/libnss_db.abilist: New file.
26036 * sysdeps/generic/libnss_dns.abilist: New file.
26037 * sysdeps/generic/libnss_files.abilist: New file.
26038 * sysdeps/generic/libnss_hesiod.abilist: New file.
26039 * sysdeps/generic/libnss_nis.abilist: New file.
26040 * sysdeps/generic/libnss_nisplus.abilist: New file.
26041 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26042 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26043 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26044 file.
26045 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26046 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26047 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26048 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26049 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26050 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26051 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26052 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26053 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26054 file.
26055 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26056 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26057 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26058 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26059 file.
26060 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26061 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26062 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26063 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26064 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26065 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26066 file.
26067 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26068 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26069 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26070 file.
26071 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26072 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26073 New file.
26074 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26075 New file.
26076 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26077 New file.
26078 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26079 New file.
26080 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26081 New file.
26082 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26083 New file.
26084 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26085 New file.
26086 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26087 New file.
26088 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26089 New file.
26090 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26091 New file.
26092 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26093 New file.
26094 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26095 New file.
26096 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26097 New file.
26098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26099 file.
26100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26101 New file.
26102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26103 New file.
26104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26105 file.
26106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26107 New file.
26108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26109 New file.
26110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26111 file.
26112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26113 New file.
26114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26115 New file.
26116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26117 New file.
26118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26119 New file.
26120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26121 New file.
26122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26123 New file.
26124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26126 file.
26127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26128 New file.
26129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26130 file.
26131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26132 file.
26133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26134 file.
26135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26136 file.
26137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26138 file.
26139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26140 New file.
26141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26142 file.
26143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26144 file.
26145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26146 New file.
26147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26148 file.
26149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26151 file.
26152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26153 New file.
26154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26155 file.
26156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26157 file.
26158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26159 file.
26160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26161 file.
26162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26163 file.
26164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26165 New file.
26166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26167 file.
26168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26169 file.
26170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26171 New file.
26172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26173 file.
26174 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26175 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26176 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26177 file.
26178 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26179 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26180 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26181 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26182 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26183 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26184 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26185 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26186 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26187 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26190 file.
26191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26192 New file.
26193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26194 file.
26195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26196 file.
26197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26198 file.
26199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26200 file.
26201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26202 file.
26203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26204 New file.
26205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26206 New file.
26207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26208 file.
26209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26210 New file.
26211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26212 file.
26213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26215 file.
26216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26217 New file.
26218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26219 file.
26220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26221 file.
26222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26223 file.
26224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26225 file.
26226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26227 file.
26228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26229 New file.
26230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26231 New file.
26232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26233 file.
26234 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26235 New file.
26236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26237 file.
26238
41d73a1b
JM
262392012-04-28 Joseph Myers <joseph@codesourcery.com>
26240
26241 * conform/conformtest.pl: Fix typo in handling typed-constant from
26242 allow-header.
26243
28aeeda4
JM
262442012-04-27 Joseph Myers <joseph@codesourcery.com>
26245
adae8f5e
JM
26246 * README: Cut down references to pre-2.6 Linux kernels and
26247 Linuxthreads. Update lists of configurations in libc and ports
26248 and sort alphabetically. Say "or newer" with Linux kernel version
26249 requirements.
26250
28aeeda4
JM
26251 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26252
a462cb63
RA
262532012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26254
26255 [BZ #887]
26256 * math/libm-test.inc (logb_test_downward): New test to expose
26257 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26258 rounding mode.
26259
6ad3493e
JM
262602012-04-27 Joseph Myers <joseph@codesourcery.com>
26261
26262 [BZ #14027]
26263 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26264 to be done.
26265 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26266 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26267
2ce4f015
JM
262682012-04-26 Joseph Myers <joseph@codesourcery.com>
26269
5aeb141a
JM
26270 * sysdeps/unix/i386/brk.S: Remove file.
26271 * sysdeps/unix/i386/dl-brk.S: Likewise.
26272 * sysdeps/unix/i386/pipe.S: Likewise.
26273 * sysdeps/unix/i386/sigreturn.S: Likewise.
26274 * sysdeps/unix/i386/syscall.S: Likewise.
26275 * sysdeps/unix/i386/vfork.S: Likewise.
26276 * sysdeps/unix/i386/wait.S: Likewise.
26277
7143acae
JM
26278 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26279 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26280
2ce4f015
JM
26281 * configure.in (arm*-none*): Do not allow without
26282 --enable-hacker-mode.
26283 (netbsd*): Remove case setting base_os.
26284 (386bsd*): Likewise.
26285 (freebsd*): Likewise.
26286 (bsdi*): Likewise.
26287 (osf*): Likewise.
26288 (sunos*): Likewise.
26289 (ultrix*): Likewise.
26290 (newsos*): Likewise.
26291 (dynix*): Likewise.
26292 (*bsd*): Likewise.
26293 (sysv*): Likewise.
26294 (isc*): Likewise.
26295 (esix*): Likewise.
26296 (sco*): Likewise.
26297 (minix*): Likewise.
26298 (irix4*): Likewise.
26299 (irix6*): Likewise.
26300 (solaris[2-9]*): Likewise.
26301 (none): Likewise.
26302 * configure: Regenerated.
26303
0ac229c8
AZ
263042012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26305
26306 [BZ #11521]
26307 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26308 overflow or cancellation in calculating denominator.
26309 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26310 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26311 down expression to avoid unexpected rounding in newer GCCs.
26312 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26313
33f244f4
DM
263142012-04-26 David S. Miller <davem@davemloft.net>
26315
26316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26317 long-double compat symbols.
26318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26331
cfa1f3e8
DM
263322012-04-25 David S. Miller <davem@davemloft.net>
26333
26334 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26335 HWCAP_* values only after the memory barriers have been defined.
26336 (atomic_full_barrier): Define.
26337 (atomic_read_barrier): Define.
26338 (atomic_write_barrier): Define.
26339
6e236b92
SP
263402012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26341
26342 * shlib-versions: Add libgcc_s version information.
26343 * sysdeps/generic/libgcc_s.h: Remove.
26344 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26345 libgcc_s.h.
26346 * sysdeps/gnu/unwind-resume.c: Likewise.
26347 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26348
aab39a09
DM
263492012-04-25 David S. Miller <davem@davemloft.net>
26350
26351 * sysdeps/unix/sparc/brk.S: Delete.
26352 * sysdeps/unix/sparc/dl-brk.S: Delete.
26353 * sysdeps/unix/sparc/pipe.S: Delete.
26354 * sysdeps/unix/sparc/sysdep.S: Delete.
26355 * sysdeps/unix/sparc/sysdep.h: Delete.
26356 * sysdeps/unix/sparc/vfork.S: Delete.
26357 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26358 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26359 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26360 ret_ERRVAL, r0, r1, MOVE): Define.
26361 (JUMPTARGET): Remove.
26362 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26363 sysdeps/unix/sparc/sysdep.h
26364 (ENTRY, END): Remove.
26365 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26366
a3cc4f48
JM
263672012-04-25 Joseph Myers <joseph@codesourcery.com>
26368
2ed8cda2
JM
26369 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26370 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26371 -DIS_IN_build.
26372
35d76d59
JM
26373 * timezone/README: Update upstream location and email address for
26374 tzcode and tzdata.
26375 * timezone/zdump.c: Update from tzcode 2012b.
26376 * timezone/zic.c: Likewise.
26377
a3cc4f48
JM
26378 * configure.in (libc_cv_as_needed): Remove test.
26379 * configure: Regenerated.
26380 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26381 conditional definition.
26382 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26383 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26384 * config.make.in (have-as-needed): Remove variable.
26385
ceab42c3
SP
263862012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26387 Paul Pluzhnikov <ppluzhnikov@google.com>
26388
26389 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26390 strings correctly.
26391
3ce2865f
CLT
263922012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26393
26394 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26395 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26396 * sysdeps/sh/strlen.S: Likewise.
26397
f37e0d68
JM
263982012-04-24 Joseph Myers <joseph@codesourcery.com>
26399
ae186e9a
JM
26400 * sysdeps/unix/fork.S: Remove file.
26401 * sysdeps/unix/i386/fork.S: Likewise.
26402 * sysdeps/unix/sparc/fork.S: Likewise.
26403
b96914af
JM
26404 * sysdeps/unix/system.c: Remove file.
26405 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26406
f37e0d68
JM
26407 * sysdeps/unix/getegid.S: Remove file.
26408 * sysdeps/unix/geteuid.S: Likewise.
26409
87ef29ca
RM
264102012-04-24 Roland McGrath <roland@hack.frob.com>
26411
83bcd236
RM
26412 * scripts/check-localplt.awk: New file.
26413 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26414 of diff.
26415 * scripts/data/localplt-generic.data: Add a comment.
26416
87ef29ca
RM
26417 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26418 NODE when __dir_mkfile failed.
26419 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26420 Reported by Ludovic Courtès <ludo@gnu.org>.
26421
e5a6e567
AJ
264222012-04-24 Andreas Jaeger <aj@suse.de>
26423
26424 * Makerules (common-clean): Also remove gen-as-const-headers
26425 files.
26426
c1820385
JM
264272012-04-24 Joseph Myers <joseph@codesourcery.com>
26428
26429 * Makerules (native-compile): Do not change working directory for
26430 build. Use $(OUTPUT_OPTION) in command.
26431 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26432
94e02fc4
AZ
264332012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26434
26435 [BZ #13886]
26436 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26437 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26438 * math/libm-test.inc (floor_test): Add more tests.
26439 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26440
3a533ca3
JM
264412012-04-24 Joseph Myers <joseph@codesourcery.com>
26442
940ab4b3
JM
26443 * sysdeps/unix/getdents.c: Remove file.
26444 * sysdeps/unix/sysv/getdents.c: Likewise.
26445 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26446
90e037bd
JM
26447 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26448 sysdeps/unix/mman/syscalls.list.
26449 (mmap): Likewise.
26450 (mprotect): Likewise.
26451 (msync): Likewise.
26452 (munmap): Likewise.
26453 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26454 * sysdeps/unix/mman/syscalls.list: Remove.
26455 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26456
3a533ca3
JM
26457 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26458 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26459 * configure: Regenerated.
26460 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26461 $(libgcc_s_suffix).
26462 * config.make.in (libgcc_s_suffix): Remove variable.
26463
1ad743de
JM
264642012-04-23 Joseph Myers <joseph@codesourcery.com>
26465
4ad451e2
JM
26466 * sysdeps/unix/sysv/gethostname.c: Move to ...
26467 * sysdeps/posix/gethostname.c: ... here.
26468
5e37ce39
JM
26469 * sysdeps/unix/execve.S: Remove file.
26470
1ad743de
JM
26471 * sysdeps/unix/_exit.S: Remove file.
26472
4e681b5b
AJ
264732012-04-23 Andreas Jaeger <aj@suse.de>
26474
26475 [BZ #13739]
26476 * manual/Makefile: Remove make dist support, there's no
26477 need for a stand-alone documentation tar ball.
26478 (TEXI2DVI): Define always, it's not in Makeconfig.
26479 (dist): Removed.
26480 (tar-it): Removed.
26481 (edition): Removed.
26482 (glibc-doc-$(edition).tar): Removed
26483 (%.Z): Removed.
26484 (%.gz): Removed.
26485 (%.uu): Removed.
26486 (ETAGS): Remove, it's in Makeconfig.
26487 (move-if-change): Remove, it's in Makeconfig.
26488
38686a03 264892012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
26490
26491 [BZ #13970]
26492 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26493 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26494 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26495 (strtod_l, strtof_l, strtold_l): Remove __wur.
26496 It is not necessarily an error to ignore strtol's return value.
26497 One can reliably look at the stored endptr to decide whether
26498 the number had valid syntax.
26499
7c0616fa
AJ
265002012-04-21 Andreas Jaeger <aj@suse.de>
26501
803cb6b7 26502 [BZ #13739]
7c0616fa
AJ
26503 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26504
b0fe253f
JM
265052012-04-21 Joseph Myers <joseph@codesourcery.com>
26506
26507 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26508 * sysdeps/unix/sysv/Versions: Remove file.
26509
8280f22d
MT
265102012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26511
26512 [BZ #13927]
26513 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26514
75ce411f 265152012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
26516
26517 [BZ #7064]
26518 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26519 version from __vm86.
26520
097d59fa
JM
265212012-04-20 Joseph Myers <joseph@codesourcery.com>
26522
a90f3bcb
JM
26523 * sysdeps/unix/common/lxstat.c: Remove file.
26524 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26525
edc7ea78
JM
26526 * sysdeps/unix/sysv/Makefile: Remove file.
26527
cb78c221
JM
26528 * sysdeps/unix/sysv/direct.h: Remove file.
26529
efa6a45f
JM
26530 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26531 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26532 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26533 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26534 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26535 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26536 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26537
9c9f2d0c
JM
26538 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26539
4541c83b
JM
26540 * sysdeps/unix/xmknod.c: Remove file.
26541 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26542
f5d153a0
JM
26543 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26544
aa746595
JM
26545 * sysdeps/unix/sysv/i386/time.S: Remove file.
26546
cce5905e
JM
26547 * sysdeps/unix/fxstat.c: Remove file.
26548 * sysdeps/unix/xstat.c: Likewise.
26549 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26550
37fa3841
JM
26551 * sysdeps/unix/sysv/sigaction.c: Remove file.
26552
ff1962a3
JM
26553 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26554 (sysdep_headers): Remove variable.
26555 [termio.h not in sysdep_headers] (generated): Likewise.
26556 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26557 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26558 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26559 * sysdeps/unix/sysv/tcflow.c: Likewise.
26560 * sysdeps/unix/sysv/tcflush.c: Likewise.
26561 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26562 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26563 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26564 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26565 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26566
e7740d31
JM
26567 * sysdeps/unix/siglist.c: Remove file.
26568
ee06f18b
JM
26569 * sysdeps/unix/getppid.S: Remove file.
26570
097d59fa
JM
26571 * sysdeps/unix/mkdir.c: Remove file.
26572 * sysdeps/unix/rmdir.c: Likewise.
26573
ff3d51ec
AS
265742012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26575
26576 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26577 ERR_MAX value.
26578 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26579 errlist-compat value.
26580
50f81fd7
DM
265812012-04-18 David S. Miller <davem@davemloft.net>
26582
26583 * sysdeps/generic/memcopy.h (reg_char): Delete.
26584 * debug/strcat_chk.c: Use char, not reg_char.
26585 * debug/strcpy_chk.c: Likewise.
26586 * debug/strncat_chk.c: Likewise.
26587 * debug/strncpy_chk.c: Likewise.
26588 * string/memchr.c: Likewise.
26589 * string/memrchr.c: Likewise.
26590 * string/rawmemchr.c: Likewise.
26591 * string/strcat.c: Likewise.
26592 * string/strchr.c: Likewise.
26593 * string/strchrnul.c: Likewise.
26594 * string/strcmp.c: Likewise.
26595 * string/strcpy.c: Likewise.
26596 * string/strncat.c: Likewise.
26597 * string/strncmp.c: Likewise.
26598 * string/strncpy.c: Likewise.
26599
8ff41c46
WS
266002012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26601
26602 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26603 __builtin_memcopy is called when src and dest ranges are known to not
26604 overlap.
26605
6b652f46
WS
266062012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26607
26608 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26609 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26610 fwd_align_merge macro call.
26611 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26612 bwd_align_merge macro call.
26613 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26614
b282631e
WS
266152012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26616
26617 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26618 bwd_align_merge macros.
26619 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26620 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26621 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26622
95aa737c
DM
266232012-04-18 David S. Miller <davem@davemloft.net>
26624
26625 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26626
7a99a614
AJ
266272012-04-18 Andreas Jaeger <aj@suse.de>
26628
26629 [BZ# 6794]
26630 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26631 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26632 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26633
26634 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26635 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26636 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26637
26638 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26639 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26640 Adjust for changed ldbl-128 files.
26641
26642 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26643 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26644 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26645
e5270c23
DM
266462012-04-17 David S. Miller <davem@davemloft.net>
26647
26648 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26649
fb5e92c9
AS
266502012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26651
26652 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26653 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26654 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26655 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26656 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26657 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26658
76da7265
AZ
266592012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26660
26661 [BZ #6794]
26662 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26663 * math/libm-test.inc: Add ilogb errno and exception tests.
26664 * math/w_ilogb.c: New file: ilogb wrapper.
26665 * math/w_ilogbf.c: New file: ilogbf wrapper.
26666 * math/w_ilogbl.c: New file: ilogbl wrapper.
26667 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26668 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26669 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26670 exception being thrown with 0.0 as argument.
26671 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26672 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26673 exception being thrown with 0.0 as argument.
26674 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26675 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26676 exception being thrown with 0.0 as argument.
26677 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26678 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26679 exception being thrown with 0.0 as argument.
26680 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26681 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 26682 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
26683 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26684 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26685 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26686 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26687 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26688 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26689
0396e69d
PB
266902012-04-17 Petr Baudis <pasky@ucw.cz>
26691
26692 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26693 with altivec.
26694
750b5926
MP
266952012-04-16 Marek Polacek <polacek@redhat.com>
26696
26697 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26698
751728a1
MP
266992012-04-16 Marek Polacek <polacek@redhat.com>
26700
26701 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26702 operands of fdivp instruction.
26703
34a27407
L
267042012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26705
26706 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26707 * elf/tst-auditmod3b.c: Likewise.
26708 * elf/tst-auditmod4b.c: Likewise.
26709 * elf/tst-auditmod5b.c: Likewise.
26710 * elf/tst-auditmod6b.c: Likewise.
26711 * elf/tst-auditmod6c.c: Likewise.
26712 * elf/tst-auditmod7b.c: Likewise.
26713 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26714 * sysdeps/x86_64/preconfigure.in: Likewise.
26715 * sysdeps/x86_64/preconfigure: Regenerated.
26716
7e73e17d
L
267172012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26718
26719 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26720 __ILP32__.
26721
c7a6ab72
AB
267222012-04-13 Antoine Balestrat <merkil33@gmail.com>
26723
26724 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26725 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26726
a9e8e0e0
CL
267272012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26728
26729 [BZ #13973]
26730 * locale/iso-639.def: Fix gl language name. Spotted by
26731 Yaron Shahrabani.
26732
ec98af7d
RM
267332012-04-12 Roland McGrath <roland@hack.frob.com>
26734
26735 [BZ #2074]
26736 * libio/libio.h (__io_write_fn): Update comment.
26737
247c3ede
PB
267382012-04-12 Petr Baudis <pasky@ucw.cz>
26739
26740 [BZ #2074]
26741 * stdio.texi (Hook Functions): The user provided writer function
26742 is not allowed to return -1.
26743
55939d6d
DM
267442012-04-11 David S. Miller <davem@davemloft.net>
26745
26746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26747
90020f5a
MF
267482012-04-11 Mike Frysinger <vapier@gentoo.org>
26749
26750 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26751 Add a leading slash to rtkaio.
26752
288f9098
JM
267532012-04-11 Jim Meyering <meyering@redhat.com>
26754
90020f5a
MF
26755 [BZ #11959]
26756 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26757 It is not necessarily an error to ignore fwrite's return
26758 value. One can reliably use ferror to test for errors after
26759 the fact.
288f9098 26760
4be2b570
L
267612012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26762
26763 * bits/types.h (__snseconds_t): New type.
26764 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26765
26766 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26767 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26768 (__SNSECONDS_T_TYPE): Likewise.
26769 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26770 (__SNSECONDS_T_TYPE): Likewise.
26771 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26772 (__SNSECONDS_T_TYPE): Likewise.
26773
288f9098 267742012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
26775
26776 [BZ #2636]
26777 * manual/time.texi (Processor Time): Return type of times is
26778 elapsed real time since an arbitrary point in the past.
26779 (CPU Time): Move CLK_TCK from here...
26780 (Processor Time): ...to here. Correct description.
26781 * manual/conf.texi (Constants for Sysconf): Correct description of
26782 _SC_CLK_TCK.
26783
d7dd4413
DM
267842012-04-10 David S. Miller <davem@davemloft.net>
26785
26786 [BZ #13967]
26787 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26788 where the is a gap between DT_REL(A) and DT_JMPREL.
26789
b46068fc
L
267902012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26791
26792 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26793 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26794 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26795
73d65cc3
SP
267962012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26797
26798 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26799 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26800 (dl_main): Handle --inhibit-cache.
26801 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26802 _dl_inhibit_cache.
26803 * elf/dl-load.c (_dl_map_object): Use it.
26804 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26805
bcc8d661
JM
268062012-04-09 Joseph Myers <joseph@codesourcery.com>
26807
8f9a2fae
JM
26808 [BZ #13872]
26809 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26810 (__ieee754_powl): Saturate large exponents rather than testing for
26811 overflow of y*log2(x).
26812 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26813 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26814 exceptions.
26815
bcc8d661
JM
26816 [BZ #11521]
26817 * math/s_ctan.c: Include <float.h>.
26818 (__ctan): Avoid internal overflow or cancellation in calculating
26819 denominator.
26820 * math/s_ctanf.c: Likewise.
26821 * math/s_ctanl.c: Likewise.
26822 * math/s_ctanh.c: Likewise.
26823 * math/s_ctanhf.c: Likewise.
26824 * math/s_ctanhl.c: Likewise.
26825 * math/libm-test.inc (ctan_test): Add more tests.
26826 (ctanh_test): Likewise.
26827 * sysdeps/i386/fpu/libm-test-ulps: Update.
26828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26829
823fbbb4
AJ
268302012-04-09 Andreas Jaeger <aj@suse.de>
26831
03879793
AJ
26832 [BZ #6894]
26833 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26834 is an optional BSD extension.
26835
823fbbb4
AJ
26836 [BZ #10254]
26837 * manual/stdio.texi (Opening Streams): Document additional fopen
26838 parameters.
26839
8de131cb
RM
268402012-04-09 Roland McGrath <roland@hack.frob.com>
26841
26842 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26843 %eax without telling the compiler.
26844
c0ed9d7d
CD
268452012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26846
26847 [BZ # 13963]
26848 * manual/install.texi: Use sourceware.org.
26849
c483f6b4
JM
268502012-04-09 Joseph Myers <joseph@codesourcery.com>
26851
d7dd9453
JM
26852 [BZ #13873]
26853 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26854 (__ieee754_pow): Generate overflow and underflow using huge*huge
26855 and tiny*tiny rather than just returning constant infinity or zero
26856 for large exponents.
26857 * math/libm-test.inc (pow_test): Require overflow exceptions for
26858 applicable cases of large exponents.
26859
c483f6b4
JM
26860 [BZ #706]
26861 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26862 (__ieee754_pow): Use iterative multiplication algorithm only for
26863 integer exponents with absolute value below 1024. Check for odd
26864 integer exponents when using algorithm for real exponents.
26865 * math/libm-test.inc (pow_test): Add more tests.
26866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26867
d2de7579
JM
268682012-04-08 Joseph Myers <joseph@codesourcery.com>
26869
26870 [BZ #13705]
26871 * math/libm-test.inc (exp_test): Do not allow overflow exception
26872 on underflow test.
26873
f77f1232
AJ
268742012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26875
26876 [BZ #13705]
26877 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26878 instead of __kernel_standard_f.
26879
3884932b
MF
268802012-04-08 Mike Frysinger <vapier@gentoo.org>
26881
26882 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26883 * sysdeps/x86_64/memset_chk.S: Likewise.
26884
54472e9c
AJ
268852012-04-08 Andreas Jaeger <aj@suse.de>
26886
6ab0fbfc
AJ
26887 [BZ #10153]
26888 * manual/startup.texi (Environment Access): Describe return value
26889 for putenv and setenv.
26890
61efba8c
AJ
26891 [BZ #6895]
26892 * manual/filesys.texi (Directory Entries): Add description for
26893 DT_LNK.
26894
95c3f29a
AJ
26895 [BZ #6890]
26896 * manual/filesys.texi (Directory Entries): Clarify that it's file
26897 system not operating system in the description of DT_UNKNOWN.
26898
54472e9c
AJ
26899 [BZ #6578]
26900 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26901
624254b1
SC
269022012-04-08 Stephen Compall <s11@member.fsf.org>
26903
26904 [BZ #6649]
26905 * manual/llio.texi (Opening and Closing Files): Add cross
26906 reference to explain mode argument.
26907
1e4920e0
MF
269082012-04-07 Mike Frysinger <vapier@gentoo.org>
26909
26910 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26911 * sysdeps/x86_64/memset_chk.S: Likewise.
26912
5ed848f3
DM
269132012-04-07 David S. Miller <davem@davemloft.net>
26914
26915 * elf/elf.h (R_SPARC_WDISP10): Define.
26916 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26917 R_SPARC_SIZE32.
26918 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26919 R_SPARC_SIZE64 and R_SPARC_H34.
26920
96154cd8
CD
269212012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26922
26923 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26924 conditions and remove no longer applicable assertion.
26925
9904dc47
L
269262012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26927
26928 * bits/byteswap.h: Include <features.h>.
26929 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26930 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26931
f8887d0a
L
269322012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26933
26934 * bits/byteswap.h (__bswap_16): Removed.
26935 Include <bits/byteswap-16.h> to get __bswap_16.
26936 * sysdeps/i386/bits/byteswap.h: Likewise.
26937 * sysdeps/s390/bits/byteswap.h: Likewise.
26938 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26939 * bits/byteswap-16.h: New file.
26940 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26941 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26942 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26943 * string/Makefile (headers): Add bits/byteswap-16.h.
26944
62470f60
PP
269452012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26946
26947 [BZ #13895]
26948 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26949 extra indirection.
26950 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26951 * nss/tst-nss-static.c: New.
26952
4dad7bab
RM
269532012-04-06 Robert Millan <rmh@gnu.org>
26954
26955 [BZ #6486]
26956 * manual/llio.texi (File Position Primitive): lseek
26957 refers to WHENCE when it really means OFFSET.
26958
e9142a17
AJ
269592012-04-06 Andreas Jaeger <aj@suse.de>
26960
2c040eff
AJ
26961 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26962 strncmp declarations.
26963
e9142a17
AJ
26964 * abilist/libc.abilist: Add __poll and __ppoll.
26965
ff9f1c5f
DM
269662012-04-05 David S. Miller <davem@davemloft.net>
26967
dcd2ae90
DM
26968 * scripts/check-local-headers.sh: Accept a host triplet in the
26969 path matched by the exclude regexp.
26970
993eb054
DM
26971 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26972 definition.
26973 * sysdeps/powerpc/powerpc32/dl-machine.h
26974 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26975 * sysdeps/s390/s390-32/dl-machine.h
26976 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26977 * sysdeps/sparc/sparc32/dl-machine.h
26978 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26979 * sysdeps/sparc/sparc64/dl-machine.h
26980 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26981
ff9f1c5f
DM
26982 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26983 lazy binding.
48e2e132 26984 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
26985 undefined symbol errors.
26986
48e2e132 26987 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
26988 DT_NEEDED entries.
26989
e80d6f94
MM
269902012-04-05 Michael Matz <matz@suse.de>
26991
26992 [BZ #13592]
26993 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26994
349fa79f
AJ
269952012-04-05 Andreas Jaeger <aj@suse.de>
26996
26997 [BZ #13908]
26998 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26999 comment.
27000
f402708f
KK
270012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27002
27003 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27004 which ROUND is no valid rounding mode.
27005
2ecccfc9
KK
270062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27007
27008 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27009 read again.
27010 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27011
8a53f50f
KK
270122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27013
27014 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27015 an exception using FPU order intentionally.
27016
270172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27018
27019 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27020 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27021 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27022 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27023
d653abb7
SJ
270242012-04-05 Simon Josefsson <simon@josefsson.org>
27025
27026 [BZ #12340]
27027 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27028 EINVAL when BUFLEN is too smal.
27029
c3b1bf7d
TS
270302012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27031
27032 [BZ #13553]
27033 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27034 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27035
b1aa60f3
AJ
270362012-04-03 Andreas Jaeger <aj@suse.de>
27037
c3b1bf7d 27038 [BZ #13938]
67f60a26
AJ
27039 * manual/setjmp.texi (System V contexts): Fix sentence.
27040
b1aa60f3
AJ
27041 [BZ #13926]
27042 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27043 New macro for this case.
27044 [!__GNUC__] (__bswap_64): New inline function for this case.
27045 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27046 * bits/byteswap.h: Likewise.
27047 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27048 ull, guard with __GLIBC_HAVE_LONG_LONG.
27049
27050 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27051 __GLIBC_HAVE_LONG_LONG.
27052
27053 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27054 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27055
39c59c35
TMQMF
270562012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27057
27058 [BZ #13691]
27059 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27060 inptr and inend, rather than using last_ch.
27061
135ffda8
DM
270622012-04-02 David S. Miller <davem@davemloft.net>
27063
27064 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27065 * stdio-common/printf-parse.h (read_int): Change return type to
27066 'int', return -1 on INT_MAX overflow.
27067 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27068 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27069 overflows INT_MAX. Check for overflow of in-format-string precision
27070 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27071 SIZE_MAX not INT_MAX for integer overflow test.
27072 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27073 skip the construct in the format string but do not record anything.
27074 * stdio-common/bug22.c: Adjust to test both width/prevision
27075 INT_MAX overflow as well as total length INT_MAX overflow. Check
27076 explicitly for proper errno values.
27077
228c019e
TS
270782012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27079
302cadd3
TS
27080 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27081 CHAR_MAX.
27082 * string/test-strcmp.c [! WIDE]: Likewise.
27083 * time/tst-mktime2.c: Likewise for INT_MAX.
27084 * string/test-string.h: #include <sys/param.h> for MIN.
27085
228c019e
TS
27086 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27087 * sysdeps/i386/init-first.c (init): Likewise.
27088 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27089 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27090 * sysdeps/sh/init-first.c (init): Likewise.
27091
cfa633f5
UD
270922012-04-01 Ulrich Drepper <drepper@gmail.com>
27093
27094 * po/ru.po: Update from translation team.
d1635ef8 27095 * po/vi.po: Likewise.
cfa633f5 27096
6cd0a5ea
SP
270972012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27098
27099 * resolv/nss_dns/dns-host.c: Merge copyright years.
27100
4b43400f
LD
271012012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27102
27103 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27104 Optimize memcpy with prefetch if
27105 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27106 src, dst pointers have unequal 16 byte alignments.
27107
48c41d04
SP
271082012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27109
27110 [BZ #13928]
27111 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27112 from a CNAME entry and return the minimum ttl for the query.
27113 (gaih_getanswer_slice): Likewise.
27114
b8dc394d
JL
271152012-03-30 Jeff Law <law@redhat.com>
27116
27117 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27118 due to long keys.
27119 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27120 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27121
2f5a5ed0
JL
27122 * resolv/nss_dns/dns-host.c: Update copyright year.
27123
1d39e359
UD
271242012-03-30 Ulrich Drepper <drepper@gmail.com>
27125
c030f70c 27126 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 27127 requests to save a system call. Fix check that all bytes are sent.
c030f70c 27128
1d39e359
UD
27129 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27130 comments for sendmmsg.
27131
271322012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
27133
27134 [BZ #13691]
27135 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27136 with only 1 character between 0x0041 and 0x01b0.
27137 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27138 * wcsmbs/tst-mbsnrtowcs.c: New file.
27139
20fde227
DM
271402012-03-29 David S. Miller <davem@davemloft.net>
27141
27142 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27143 small copies by hand.
27144
984a4237
JL
271452012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27146
27147 [BZ #13761]
27148 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27149 _nss_compat_initgroups_dyn): Fall back to malloc/free
27150 for large group memberships.
27151
18c9d62b
DM
271522012-03-28 David S. Miller <davem@davemloft.net>
27153
88d85d4f
DM
27154 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27155 that branches into memcpy.
27156 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27157 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27158 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27159 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27160 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27161 bits.
27162 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27163 implementation too.
27164 * sysdeps/sparc/mempcpy.S: New file.
27165
e5aa83e1
DM
27166 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27167 the IFUNC routine in the libc case.
27168 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27169
88570753
DM
27170 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27171 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27172 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27173 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27174 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27175 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27176 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27177 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27178
249d7567
DM
27179 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27180 loop to 256 bytes instead of 64 bytes and fix test signedness.
27181
18c9d62b
DM
27182 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27183 * sysdeps/sparc/sparc32/Makefile: rather than here...
27184 * sysdeps/sparc/sparc64/Makefile: and here.
27185
05f3d1f6
UD
271862012-03-28 Ulrich Drepper <drepper@gmail.com>
27187
27188 * malloc/mallocbug.c: Avoid warnings about unused variables.
27189
86ae07a8
JL
271902012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27191
27192 [BZ #13760]
27193 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27194 in the right place. Discard and retry query if response is
27195 larger than input buffer size.
27196
41bf21a1
JM
271972012-03-28 Joseph Myers <joseph@codesourcery.com>
27198
d6270972
JM
27199 [BZ #369]
27200 [BZ #2678]
27201 [BZ #3866]
27202 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27203 x for large integer exponent.
27204 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27205 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27206 sign of result as needed afterwards.
27207 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27208 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27209 result for underflowing pow the same as for overflow.
27210 (__kernel_standard_l): Handle powl overflow and underflow here
27211 rather than calling __kernel_standard.
27212 * math/libm-test.inc (pow_test): Add more tests.
27213
414fca03 27214 [BZ #3868]
41bf21a1
JM
27215 [BZ #13879]
27216 [BZ #13910]
27217 [BZ #13911]
27218 [BZ #13912]
27219 [BZ #13913]
27220 [BZ #13915]
27221 [BZ #13916]
27222 [BZ #13917]
27223 [BZ #13918]
27224 [BZ #13919]
27225 [BZ #13920]
27226 [BZ #13921]
27227 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27228 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27229 (__kernel_standard_l): New function.
27230 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27231 __kernel_standard.
27232 * math/w_acosl.c (__acosl): Likewise.
27233 * math/w_asinl.c (__asinl): Likewise.
27234 * math/w_atan2l.c (__atan2l): Likewise.
27235 * math/w_atanhl.c (__atanhl): Likewise.
27236 * math/w_coshl.c (__coshl): Likewise.
27237 * math/w_exp10l.c (__exp10l): Likewise.
27238 * math/w_exp2l.c (__exp2l): Likewise.
27239 * math/w_fmodl.c (__fmodl): Likewise.
27240 * math/w_hypotl.c (__hypotl): Likewise.
27241 * math/w_j0l.c (__j0l, __y0l): Likewise.
27242 * math/w_j1l.c (__j1l, __y1l): Likewise.
27243 * math/w_jnl.c (__jnl, __ynl): Likewise.
27244 * math/w_lgammal.c (__lgammal): Likewise.
27245 * math/w_log10l.c (__log10l): Likewise.
27246 * math/w_log2l.c (__log2l): Likewise.
27247 * math/w_logl.c (__logl): Likewise.
27248 * math/w_powl.c (__powl): Likewise.
27249 * math/w_remainderl.c (__remainderl): Likewise.
27250 * math/w_scalbl.c (sysv_scalbl): Likewise.
27251 * math/w_sinhl.c (__sinhl): Likewise.
27252 * math/w_sqrtl.c (__sqrtl): Likewise.
27253 * math/w_tgammal.c (__tgammal): Likewise.
27254 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27255 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27256 * math/libm-test.inc (acos_test): Add more tests.
27257 (acosh_test): Likewise.
27258 (asin_test): Likewise.
27259 (atanh_test): Likewise.
27260 (exp_test): Likewise.
27261 (exp10_test): Likewise.
27262 (exp2_test): Likewise.
27263 (expm1_test): Likewise.
27264 (lgamma_test): Likewise.
27265 (log_test): Likewise.
27266 (log10_test): Likewise.
27267 (log1p_test): Likewise.
27268 (log2_test): Likewise.
27269 (pow_test): Do not allow some spurious overflow exceptions.
27270 (sqrt_test): Add more tests.
27271 (tgamma_test): Likewise.
27272 (y0_test): Likewise.
27273 (y1_test): Likewise.
27274 (yn_test): Likewise.
27275
dd62fda6
AB
272762012-03-27 Anton Blanchard <anton@samba.org>
27277
27278 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27279 MAP_HUGETLB.
27280 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27281 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27282 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27283
1e3cdfda
AJ
272842012-03-27 David S. Miller <davem@davemloft.net>
27285
b855ab85
DM
27286 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27287
1e3cdfda
AJ
27288 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27289 have-as-vis3 check.
27290
272912012-03-27 Andreas Jaeger <aj@suse.de>
27292
27293 * sysdeps/x86_64/elf/configure.in: Moved to ...
27294 * sysdeps/x86_64/configure.in: ... here.
27295 * sysdeps/x86_64/elf/start.S: Moved to ...
27296 * sysdeps/x86_64/start.S: ... here.
27297 * sysdeps/x86_64/elf/configure: Delete.
27298
27299 * sysdeps/x86_64/configure.in: Merge contents from
27300 sysdeps/i386/configure.in (without i686 check).
27301
27302 * sysdeps/i386/elf/Versions: Merge into ...
27303 * sysdeps/i386/Versions: ... this.
27304 * sysdeps/i386/elf/Versions: Delete file.
27305 * sysdeps/i386/elf/start.S: Moved to ...
27306 * sysdeps/i386/start.S: ...here.
27307 * sysdeps/i386/elf/configure.in: Merge into...
27308 * sysdeps/i386/configure.in: ...here.
27309 * sysdeps/i386/elf/configure.in: Delete file.
27310 * sysdeps/i386/elf/configure: Delete file.
27311
27312 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27313 * debug/backtracesyms.c: ... here.
27314 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27315 * debug/backtracesymsfd.c: ... here.
27316 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27317 * sysdeps/generic/ifunc-sel.h: ... here.
27318
27319 * sysdeps/unix/i386/start.c: Delete file.
27320 * sysdeps/unix/sparc/start.c: Delete file.
27321 * sysdeps/unix/start.c: Delete file.
27322
27323 * sysdeps/sh/elf/configure.in: Moved to ...
27324 * sysdeps/sh/configure.in: ... here.
27325 * sysdeps/sh/elf/start.S: Moved to ...
27326 * sysdeps/sh/start.S: ... here.
27327 * sysdeps/sh/elf/configure: Delete file.
27328
27329 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27330 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27331 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27332 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27333 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27334 * sysdeps/powerpc/powerpc64/start.S: here.
27335 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27336 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27337 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27338 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27339 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27340
27341 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27342 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27343 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27344 * sysdeps/powerpc/powerpc32/start.S: ... here.
27345 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27346 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27347 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27348
27349 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27350 * sysdeps/powerpc/ifunc-sel.h: ... here.
27351 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27352 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27353
27354 * sysdeps/sparc/elf/configure.in: Moved to ...
27355 * sysdeps/sparc/configure.in: ... here.
27356 * sysdeps/sparc/elf/configure: Delete file.
27357 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27358 * sysdeps/sparc/sparc32/start.S: ... here.
27359 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27360 * sysdeps/sparc/sparc64/start.S: ... here.
27361 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27362 * sysdeps/sparc/sparc32/Makefile: ... this.
27363 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27364 * sysdeps/sparc/sparc64/Makefile: ... this.
27365
27366 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27367 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27368 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27369 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27370 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27371 * sysdeps/s390/s390-32/setjmp.S: ... here.
27372 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27373 * sysdeps/s390/s390-32/configure.in: ... here.
27374 * sysdeps/s390/s390-32/elf/configure: Delete file.
27375 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27376 * sysdeps/s390/s390-32/start.S: ... here.
27377
27378 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27379 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27380 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27381 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27382 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27383 * sysdeps/s390/s390-64/setjmp.S: ... here.
27384 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27385 * sysdeps/s390/s390-64/configure.in: ... here
27386 * sysdeps/s390/s390-64/elf/configure: Delete file.
27387 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27388 * sysdeps/s390/s390-64/start.S: ... here.
27389 * sysdeps/s390/s390-64/elf/configure: Delete.
27390
27391 * configure.in: Remove support for elf directories in sysdeps.
27392
27393 * configure: Regenerated.
27394 * sysdeps/i386/configure: Regenerated.
27395 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27396 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27397 * sysdeps/s390/s390-32/configure: Regenerated.
27398 * sysdeps/s390/s390-64/configure: Regenerated.
27399 * sysdeps/sh/configure: Regenerated.
27400 * sysdeps/sparc/configure: Regenerated.
27401 * sysdeps/x86_64/configure: Regenerated.
27402
a3f61311
AS
274032012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27404
c876e002
AS
27405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27406
a3f61311
AS
27407 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27408 denormal result into account.
27409
ac4c54f0
RM
274102012-03-25 Roland McGrath <roland@hack.frob.com>
27411
27412 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27413 Reported by Allan McRae <allan@archlinux.org>.
27414
6a9b9c02
JL
274152012-03-23 Jeff Law <law@redhat.com>
27416
27417 * nss/getnssent.c (__nss_getent): Fix typo.
27418
4c42a0c1
DM
274192012-03-23 David S. Miller <davem@davemloft.net>
27420
27421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27422
1532c7ac
L
274232012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27424
27425 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27426 to pad to uint64_t for each field.
27427 (dl_tls_index): Replace unsigned long with uint64_t.
27428
3ff42526
PP
274292012-03-23 Daniel Jacobowitz <dmj@google.com>
27430 Paul Pluzhnikov <ppluzhnikov@google.com>
27431
27432 [BZ #6528]
27433 * grp/Makefile (otherlibs): Don't set it.
27434 * inet/Makefile (otherlibs): Likewise.
27435 * login/Makefile (otherlibs): Likewise.
27436 * nscd/Makefile (otherlibs): Likewise.
27437 * posix/Makefile (otherlibs): Likewise.
27438 * pwd/Makefile (otherlibs): Likewise.
27439 * rt/Makefile (otherlibs): Likewise.
27440 * sunrpc/Makefile (otherlibs): Likewise.
27441 * nss/Makefile (otherlibs): Likewise.
27442 Add libnss_files to routines and static-only-routines.
27443 ($(objpfx)getent): Remove rule.
27444 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27445 static-only-routines.
27446
7c69cd14
JM
274472012-03-22 Joseph Myers <joseph@codesourcery.com>
27448
27449 [BZ #13892]
27450 * math/s_cexp.c: Include <float.h>.
27451 (__cexp): Handle exp result overflowing not necessarily
27452 overflowing both real and imaginary parts of result.
27453 * math/s_cexpf.c: Likewise.
27454 * math/s_cexpl.c: Likewise.
27455 * math/libm-test.inc (cexp_test): Add more tests.
27456 * sysdeps/i386/fpu/libm-test-ulps: Update.
27457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27458
81b035fe
L
274592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27460
27461 * include/link.h (ELFW): New macro.
27462 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27463 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27464
1da7940c
L
274652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27466
27467 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27468 with uint64_t.
27469
b749dbb9
L
274702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27471
27472 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27473 declaration.
27474 (struct La_x32_retval): Likewise.
27475
2ff87f3f
L
274762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27477
27478 * sysdeps/x86_64/preconfigure.in: New file.
27479 * sysdeps/x86_64/preconfigure: New generated file.
27480
c0df8e69
JM
274812012-03-22 Joseph Myers <joseph@codesourcery.com>
27482
48e44791
JM
27483 [BZ #13824]
27484 * math/e_exp2l.c: Include <float.h>.
27485 (__ieee754_exp2l): Handle overflow and underflow cases
27486 separately. Only pass fractional part of argument to
27487 __ieee754_expl.
27488 * math/libm-test.inc (exp2_test): Add more tests.
27489
c0df8e69
JM
27490 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27491 negating x to take absolute value.
27492 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27493 Likewise.
27494 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27495 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27496 Likewise.
27497 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27498 computing low part if x was negated.
27499 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27500
c8e43ba7
L
275012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27502
27503 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27504 la_x32_gnu_pltexit.
27505 (pltexit): Cast int_retval to ptrdiff_t.
27506 * elf/tst-auditmod3b.c: Likewise.
27507 * elf/tst-auditmod4b.c: Likewise.
27508 * elf/tst-auditmod5b.c: Likewise.
27509 * elf/tst-auditmod6b.c: Likewise.
27510 * elf/tst-auditmod6c.c: Likewise.
27511 * elf/tst-auditmod7b.c: Likewise.
27512
27513 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27514 and x32_gnu_pltexit.
27515
27516 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27517 __ELF_NATIVE_CLASS.
27518 (La_x32_regs): New macro.
27519 (La_x32_retval): Likewise.
27520 (la_x32_gnu_pltenter): New function prototype.
27521 (la_x32_gnu_pltexit): Likewise.
27522
7998fa78
AS
275232012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27524
dcb33988
AS
27525 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27526 exponent.
27527
233fc563
AS
27528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27529
7998fa78
AS
27530 * configure.in (libc_cv_cc_nofma): Check for option to disable
27531 generation of FMA instructions.
27532 * configure: Regenerate.
27533 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27534 * sysdeps/ieee754/dbl-64/Makefile: New file.
27535 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27536 Remove brandred-fma4.
27537 (CFLAGS-brandred-fma4.c): Remove.
27538 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27539 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27540 define.
27541 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27542 define.
27543
8e95c99a
L
275442012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27545
27546 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27547 LLONG_MAX != LONG_MAX.
27548 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27549 (_fitoa_word): Likewise.
27550 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27551 LLONG_MAX != LONG_MAX.
27552 * stdio-common/_itowa.h: Include <_itoa.h>.
27553 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27554 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27555 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27556 only if not defined.
27557 (_ITOA_WORD_TYPE): Likewise.
27558 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27559 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27560
6f4db457
DM
275612012-03-21 David S. Miller <davem@davemloft.net>
27562
27563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27564
7785fe5a
L
275652012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27566
27567 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27568 of x86_64 when setting libc_cv_slibdir, libdir and
27569 libc_cv_localedir.
27570 * sysdeps/unix/sysv/linux/configure: Regenerated.
27571
4535cd55
JM
275722012-03-21 Joseph Myers <joseph@codesourcery.com>
27573
27574 * manual/lang.texi (Old Varargs): Remove section.
27575 (How Variadic): Update menu.
27576 (va_start): Do not mention varargs.h.
27577
17228132
TS
275782012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27579 Joseph Myers <joseph@codesourcery.com>
27580
27581 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27582 link test.
27583 * configure: Regenerated.
27584
8149f976
TS
275852012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27586
05f3d1f6
UD
27587 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27588 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27589 conformtest.pl
8149f976 27590
1a4ac776
JM
275912012-03-21 Joseph Myers <joseph@codesourcery.com>
27592
be22ce65
JM
27593 * NOTES: Remove.
27594 * Makefile (files-for-dist): Remove NOTES.
27595 (NOTES): Remove rule.
27596 * README: Don't refer to NOTES.
27597 * manual/creature.texi: Don't include macros.texi.
27598 * manual/intro.texi (creature.texi): Remove comment referring to
27599 NOTES.
27600
40b601fb
JM
27601 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27602 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27603 * configure: Regenerated.
27604 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27605 LIBC_TRY_CC_OPTION.
27606 (libc_cv_as_i686): Likewise.
27607 (libc_cv_cc_avx): Likewise.
27608 (libc_cv_cc_sse2avx): Likewise.
27609 (libc_cv_cc_fma4): Likewise.
27610 (libc_cv_cc_novzeroupper): Likewise.
27611 * sysdeps/i386/configure: Regenerated.
27612
1a4ac776
JM
27613 [BZ #13883]
27614 * sysdeps/i386/fpu/s_cexp.S: Remove.
27615 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27616 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27617 * math/libm-test.inc (cexp_test): Add more tests.
27618 * sysdeps/i386/fpu/libm-test-ulps: Update.
27619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27620
a458e7fe
AM
276212012-03-21 Allan McRae <allan@archlinux.org>
27622
27623 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27624
0cb7efc5
JM
276252012-03-21 Joseph Myers <joseph@codesourcery.com>
27626
27627 [BZ #13871]
27628 * math/w_exp2.c: Do not include <float.h>.
27629 (o_threshold, u_threshold): Remove.
27630 (__exp2): Calculate result before checking finiteness and calling
27631 __kernel_standard.
27632 * math/w_exp2f.c: Likewise.
27633 * math/w_exp2l.c: Likewise.
27634 * math/libm-test.inc (exp2_test): Require overflow exception for
27635 1e6 input.
2460d3aa
JM
27636
27637 [BZ #3866]
27638 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27639 range of signed 64-bit integers before using fistpll. Remove
27640 checks for whether integers fit in mantissa bits.
27641 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27642 the range of signed 32-bit integers before using fistpl. Remove
27643 checks for whether integers fit in mantissa bits.
27644 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27645 (__ieee754_powl): Test for y outside the range of signed 64-bit
27646 integers before using fistpll. Reduce 64-bit values to 63-bit
27647 ones as needed.
27648 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27649 divide-by-zero is raised for zero to large negative powers.
27650 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27651 (__ieee754_powl): Test for y outside the range of signed 64-bit
27652 integers before using fistpll. Reduce 64-bit values to 63-bit
27653 ones as needed.
27654 * math/libm-test.inc (pow_test): Add more tests.
27655
eb96ffb0
L
276562012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27657
27658 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27659 <stdio-common/_itoa.h>.
27660 * debug/segfault.c: Likewise.
27661 * elf/dl-cache.c: Likewise.
27662 * elf/dl-minimal.c: Likewise.
27663 * elf/dl-misc.c: Likewise.
27664 * elf/dl-sysdep.c: Likewise.
27665 * elf/dl-version.c: Likewise.
27666 * elf/rtld.c: Likewise.
27667 * hurd/hurdsock.c: Likewise.
27668 * hurd/lookup-retry.c: Likewise.
27669 * malloc/malloc.c: Likewise.
27670 * malloc/mtrace.c: Likewise.
27671 * nscd/nscd_getgr_r.c: Likewise.
27672 * nscd/nscd_getpw_r.c: Likewise.
27673 * nscd/nscd_getserv_r.c: Likewise.
27674 * posix/getopt_init.c: Likewise.
27675 * posix/wordexp.c: Likewise.
27676 * stdio-common/_itoa.c: Likewise.
27677 * stdio-common/printf_fphex.c: Likewise.
27678 * stdio-common/vfprintf.c: Likewise.
27679 * string/_strerror.c: Likewise.
27680 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27681 * sysdeps/i386/i686/hp-timing.h: Likewise.
27682 * sysdeps/mach/_strerror.c: Likewise.
27683 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27684 * sysdeps/mach/hurd/sethostid.c: Likewise.
27685 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27686 * sysdeps/mach/xpg-strerror.c: Likewise.
27687 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27688 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27689 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27690 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27691 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27692 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27693 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27694 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27695 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27696 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27697 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27698 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27699 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27700 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27701 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27702 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27703 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27704 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27705 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27706 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27707 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27708
27709 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27710
27711 * stdio-common/_itoa.h: Moved to ...
27712 * sysdeps/generic/_itoa.h: Here.
27713
27714 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27715
27716 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27717 instead of "_itoa.h" and "_itowa.h".
27718 * stdio-common/vfprintf.: Likewise.
27719
d1af992d
L
277202012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27721
27722 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27723 <bits/wordsize.h>.
27724 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27725 (__signbit): Likwise.
27726 (llrintf): Likwise.
27727 (llrint): Likwise.
27728
114883e0
L
277292012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27730
27731 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27732 __WORDSIZE != 64.
27733
c135cc1b
JM
277342012-03-20 Joseph Myers <joseph@codesourcery.com>
27735
27736 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27737 OVERFLOW_EXCEPTION_OK.
27738 * math/libm-test.inc ("Philosophy"): Update comment about
27739 exception testing.
27740 (OVERFLOW_EXCEPTION): Define.
27741 (OVERFLOW_EXCEPTION_OK): Likewise.
27742 (INVALID_EXCEPTION_OK): Renumber.
27743 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27744 (IGNORE_ZERO_INF_SIGN): Likewise.
27745 (test_exceptions): Handle FE_OVERFLOW.
27746 (exp10_test): Expect overflow exceptions.
27747 (exp2_test): Likewise.
27748 (expm1_test): Likewise.
27749 (nextafter_test): Likewise.
27750 (pow_test): Likewise.
27751 (scalbn_test): Likewise.
27752 (scalbln_test): Likewise.
27753
95443d88
L
277542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27755
27756 * sysdeps/x86_64/bits/atomic.h
27757 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27758 64bit integer.
27759 (atomic_exchange_acq): Likewise.
27760 (__arch_exchange_and_add_body): Likewise.
27761 (__arch_add_body): Likewise.
27762 (atomic_add_negative): Likewise.
27763 (atomic_add_zero): Likewise.
27764
490df6c4
L
277652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27766
c2722551 27767 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
27768 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27769
5e52b189
L
277702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27771
27772 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27773 Check __x86_64__ instead of __WORDSIZE.
27774
a9879d4c
L
277752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27776
27777 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27778
5df98260
DM
277792012-03-19 David S. Miller <davem@davemloft.net>
27780
e1497744
DM
27781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27782
5df98260
DM
27783 * sysdeps/sparc/fpu/fenv_private.h: New file.
27784 * sysdeps/sparc/fpu/math_private.h: Use it.
27785 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27786 Remove.
27787 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27788 (libc_feholdexcept_setroundl): Remove.
27789 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27790 Remove.
27791 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27792 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27793
b4c35121
L
277942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27795
27796 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27797 int64_t instead of long int.
27798 (INSERT_WORDS64): Likwise.
27799
56965fd7
L
278002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27801
27802 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27803 _Unwind_GetCFA return to _Unwind_Ptr first.
27804
83d1aec8
JM
278052012-03-19 Joseph Myers <joseph@codesourcery.com>
27806
1897ad44
JM
27807 [BZ #13629]
27808 * math/s_clog.c: Include <float.h>.
27809 (__clog): Scale large or subnormal inputs.
27810 * math/s_clogf.c: Likewise.
27811 * math/s_clogl.c: Likewise.
27812 * math/s_clog10.c: Include <float.h>.
27813 (M_LOG10_2): Define.
27814 (__clog10): Scale large or subnormal inputs.
27815 * math/s_clog10f.c: Likewise.
27816 * math/s_clog10l.c: Likewise.
27817 * math/libm-test.inc (clog_test): Add more tests.
27818 (clog10_test): Likewise.
27819 * sysdeps/i386/fpu/libm-test-ulps: Update.
27820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27821
7726d6a9
JM
27822 [BZ #11451]
27823 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27824 x and y.
27825 * math/libm-test.inc (atan2_test): Add another test.
27826
83d1aec8
JM
27827 * Makerules (common-objdir-compile): Remove.
27828 * sysdeps/unix/Makefile (config-generated): Do not add
27829 $(unix-generated) to variable.
27830 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27831 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27832 Remove rule.
27833 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27834 Likewise.
27835 [generic bits/local_lim.h] (before-compile): Do not append to
27836 variable.
27837 [generic bits/local_lim.h] (common-generated): Likewise.
27838 [generic sys/param.h] (before-compile): Do not append to variable.
27839 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27840 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27841 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27842 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27843 include.
27844 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27845 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27846 [generic sys/param.h] ($(addprefix
27847 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27848 [generic sys/param.h] (common-generated): Do not append to
27849 variable.
27850 [generic sys/param.h] (sysdep_headers): Likewise.
27851 [generic bits/errno.h] (before-compile): Do not append to
27852 variable.
27853 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27854 rule.
27855 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27856 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27857 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27858 [generic bits/errno.h] (common-generated): Do not append to
27859 variable.
27860 [generic bits/ioctls.h] (before-compile): Do not append to
27861 variable.
27862 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27863 rule.
27864 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27865 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27866 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27867 rule.
27868 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27869 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27870 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27871 [generic bits/ioctls.h] (common-generated): Do not append to
27872 variable.
27873 [generic sys/syscall.h] (syscall.h): Remove variable.
27874 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27875 rule.
27876 [generic sys/syscall.h] (before-compile): Do not append to
27877 variable.
27878 [generic sys/syscall.h] (common-generated): Likewise.
27879 * sysdeps/unix/errnos-tmpl.c: Remove file.
27880 * sysdeps/unix/errnos.awk: Likewise.
27881 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27882 * sysdeps/unix/ioctls.awk: Likewise.
27883 * sysdeps/unix/mk-local_lim.c: Likewise.
27884 * sysdeps/unix/snarf-ioctls: Likewise.
27885
4851a949
RH
278862012-03-19 Richard Henderson <rth@twiddle.net>
27887
bd37f2ee
RH
27888 * sysdeps/i386/fpu/fenv_private.h: New file.
27889 * sysdeps/i386/fpu/math_private.h: Use it.
27890 (math_opt_barrier, math_force_eval): Remove.
27891 (libc_feholdexcept_setround_53bit): Remove.
27892 (libc_feupdateenv_53bit): Remove.
27893 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27894 (math_opt_barrier, math_force_eval): Remove.
27895 (libc_feholdexcept): Remove.
27896 (libc_feholdexcept_setround): Remove.
27897 (libc_fetestexcept, libc_fesetenv): Remove.
27898 (libc_feupdateenv_test): Remove.
27899 (libc_feupdateenv, libc_feholdsetround): Remove.
27900 (libc_feresetround): Remove.
27901
d0adc922
RH
27902 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27903 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27904
0fe0f1f8
RH
27905 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27906 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27907 (libc_feupdateenv_testl): New.
27908 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27909 (libc_feupdateenv_testf): New.
27910 (libc_feupdateenv): Use libc_feupdateenv_test.
27911 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27912 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27913
eb92c487
RH
27914 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27915 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27916 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27917 (libc_feresetround_noex): New.
27918 (libc_feresetround_noexf): New.
27919 (libc_feresetround_noexl): New.
27920 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27921 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27922 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27923 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27924 SET_RESTORE_ROUND.
27925 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27926 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27927 (__cos): Likewise.
27928 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27929 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27930 SET_RESTORE_ROUND_NOEX.
27931 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27932 SET_RESTORE_ROUND_NOEXF.
27933 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27934 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27935 (libc_feholdsetroundf): New.
27936 (libc_feresetround, libc_feresetroundf): New.
27937
7d2e8012
RH
27938 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27939 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27940 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27941
b4dabbb4
RH
27942 * sysdeps/generic/math_private.h: Include <fenv.h>.
27943 (default_libc_feholdexcept): New.
27944 (default_libc_feholdexcept_setround): New.
27945 (default_libc_fesetenv, default_libc_feupdateenv): New.
27946 (libc_feholdexcept): Only define if undefined.
27947 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27948 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27949 (libc_feholdexcept_setroundl): Likewise.
27950 (libc_feholdexcept_setround_53bit): Likewise.
27951 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27952 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27953 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27954 (libc_feupdateenv_53bit): Likewise.
27955 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27956 (libc_feholdexcept): Convert from macro to inline function.
27957 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27958 (libc_fesetenv, libc_feupdateenv): Likewise.
27959
4851a949
RH
27960 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27961 not previously defined.
27962 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27963 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27964 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27965 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27966 * sysdeps/ieee754/flt-32/math_private.h: New file.
27967 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27968 math_private.h below SET_FLOAT_WORD.
27969 (__isnan, __isinf_ns, __finite): Remove.
27970 (__isnanf, __isinf_nsf, __finitef): Remove.
27971
e79d442e
AS
279722012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27973
27974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27975
90b80344
DM
279762012-03-17 David S. Miller <davem@davemloft.net>
27977
27978 [BZ #6471]
27979 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27980 for 2.16.
27981
edc21804
DM
279822012-03-16 David S. Miller <davem@davemloft.net>
27983
77e927af
DM
27984 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27985 warnings.
27986
374976dd
DM
27987 [BZ #6471]
27988 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27989 properly.
27990 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27991 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27992 sysdep_routines when subdir is sysvipc.
27993 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27994 __getshmlba helper.
27995
edc21804
DM
27996 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27997
473c3ef3
L
279982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27999
28000 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28001 [__LP64__].
28002
eb0f39b6
L
280032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28004
28005 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28006 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28007 (__lround): Renamed to ...
28008 (__llround): This. Replace long int with long long int.
28009 Define lround functions as aliases of llround functions.
28010 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28011
6b6cd74b
L
280122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28013
28014 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28015 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28016 adresses to uintptr_t. Replace "long int" and "unsigned long
28017 int" with "greg_t" on va_arg.
28018
f1a77b01
L
280192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28020
28021 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28022 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28023
28024 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28025 Move e_machine check before EI_CLASS check. Handle x32
28026 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28027 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28028 SKIP_EM_IA_64 and include
28029 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28030
28031 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28032 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28033 (add_system_dir): New macro.
28034
28035 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28036 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28037
11b90b9f
JM
280382012-03-16 Joseph Myers <joseph@codesourcery.com>
28039
c36e1d23
JM
28040 [BZ #2551]
28041 [BZ #2552]
28042 [BZ #2553]
28043 [BZ #2554]
28044 [BZ #2562]
28045 [BZ #2563]
28046 [BZ #2565]
28047 [BZ #2566]
28048 [BZ #2576]
28049 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28050 (y0): Likewise.
28051 * math/w_j0f.c (j0f): Likewise.
28052 (y0f): Likewise.
28053 * math/w_j0l.c (__j0l): Likewise.
28054 (__y0l): Likewise.
28055 * math/w_j1.c (j1): Likewise.
28056 (y1): Likewise.
28057 * math/w_j1f.c (j1f): Likewise.
28058 (y1f): Likewise.
28059 * math/w_j1l.c (__j1l): Likewise.
28060 (__y1l): Likewise.
28061 * math/w_jn.c (jn): Likewise.
28062 (yn): Likewise.
28063 * math/w_jnf.c (jnf): Likewise.
28064 (ynf): Likewise.
28065 * math/w_jnl.c (__jnl): Likewise.
28066 (__ynl): Likewise.
28067 * math/libm-test.inc (j0_test): Add more tests.
28068 (j1_test): Likewise.
28069 (jn_test): Likewise. Add trailing semicolon to existing test.
28070 (y0_test): Likewise.
28071 (y1_test): Likewise.
28072 * sysdeps/i386/fpu/libm-test-ulps: Update.
28073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28074
11b90b9f
JM
28075 [BZ #13851]
28076 [BZ #13854]
28077 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28078 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28079 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28080 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28081 (__tanl): Set errno for infinite argument.
28082 * sysdeps/i386/fpu/mptan.c: Remove.
28083 * sysdeps/i386/fpu/s_tan.S: Likewise.
28084 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28085 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28086 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28087 * math/libm-test.inc (tan_test): Add more tests and enable more
28088 tests for double and long double.
28089 * sysdeps/i386/fpu/libm-test-ulps: Update.
28090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28091
6a1bd2a1
JK
280922012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28093
28094 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28095 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28096
10a803e0
RM
280972012-03-16 Roland McGrath <roland@hack.frob.com>
28098
28099 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28100 * configure.in: Use it for both main tree and add-ons.
28101 * configure: Regenerated.
28102
f196c7f7
L
281032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28104
28105 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28106
8848d99d
JM
281072012-03-16 Joseph Myers <joseph@codesourcery.com>
28108
96cbe7f4
JM
28109 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28110 in comment.
28111
8848d99d
JM
28112 [BZ #13851]
28113 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28114 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28115 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28116 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28117 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28118 infinite argument.
28119 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28120 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28121 != 0 for prec == 2.
28122 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28123 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28124 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28125 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28126 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28127 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28128 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28129 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28130 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28131 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28132 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28133 * math/libm-test.inc (cos_test): Add more tests and enable more
28134 tests for long double.
28135 (sin_test): Likewise.
28136 (sincos_test): Likewise.
28137 * sysdeps/i386/fpu/libm-test-ulps: Update.
28138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28139
dd7f4703
DM
281402012-03-16 David S. Miller <davem@davemloft.net>
28141
28142 * sysdeps/sparc/fpu/math_private.h: New file.
28143
006f1daa
DM
281442012-03-15 David S. Miller <davem@davemloft.net>
28145
c0c83bc8
DM
28146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28147 file.
e6a62e18 28148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
28149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28150 file.
e6a62e18
DM
28151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28156 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28157 sysdep routines.
28158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28159
88cb87d9
DM
28160 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28161 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28162
006f1daa 28163 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
28164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28165 sparc-ifunc.h
006f1daa 28166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
28167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28168 Likewise.
28169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28170 Likewise.
006f1daa
DM
28171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
28174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28175 Likewise.
006f1daa
DM
28176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
28180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28181 Likewise.
28182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28183 Likewise.
006f1daa
DM
28184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28188 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28189 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28190 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28191 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28192 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28193 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28196 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28197 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28198 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28199 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28200 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28201 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28202 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28203 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28204 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28205 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28206 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28207 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28208
11e0098e
AS
282092012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28210
28211 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28212 scaling.
28213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28214
e85b09d0
AJ
282152012-03-15 Andreas Jaeger <aj@suse.de>
28216
28217 [BZ #13852]
28218 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28219 ieee754/flt-32 implementation for sin, cos and sincos.
28220 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28221 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28222 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28223 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28224 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28225 ieee754/flt-32 implementation for tan.
28226
28227 * math/libm-test.inc (cos_test): Enable some large input tests for
28228 float as well
28229 (sin_test): Likewise.
28230 (sincos_test): Likewise.
28231 (tan_test): Add tests for large input.
28232
28233 * sysdeps/i386/fpu/libm-test-ulps: Update.
28234
81c64153
AJ
282352012-03-15 Andreas Jaeger <aj@suse.de>
28236
28237 [BZ #13658]
28238 * math/libm-test.inc (cos_test): Add more test cases.
28239 (sin_test): Likewise.
28240 (sincos_test): Likewise.
28241
7bbfa5c6
AJ
282422012-03-15 Andreas Jaeger <aj@suse.de>
28243
28244 [BZ #13837]
28245 * math/libm-test.inc (cos_test): Add a test case for large input
28246 value.
28247 (sin_test): Likewise.
28248 (sincos_test): Likewise.
28249
282502012-03-15 Andreas Jaeger <aj@suse.de>,
28251 Joseph Myers <joseph@codesourcery.com>
28252
28253 [BZ #13658]
0671f479 28254 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
28255 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28256 * sysdeps/i386/fpu/branred.c: Likewise.
28257 * sysdeps/i386/fpu/dosincos.c: Likewise.
28258 * sysdeps/i386/fpu/mpa.c: Likewise.
28259 * sysdeps/i386/fpu/s_cos.S: Likewise.
28260 * sysdeps/i386/fpu/s_sin.S: Likewise.
28261 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28262 * sysdeps/i386/fpu/sincos32.c: Likewise.
28263
28264 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28265 Define.
28266 (libc_feupdateenv_53bit): Define.
28267 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28268 Define.
28269 (libc_feupdateenv_53bit): Define.
28270
28271 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28272 53 bit (without extend i386 double precision).
28273
28274 * math/libm-test.inc (sincos_test): Add tests for large input.
28275 (sin): Likewise.
28276 (cos): Likewise.
28277
28278 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28279
9cad04ea
AS
282802012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28281
28282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28283
f7062b9a
DM
282842012-03-15 David S. Miller <davem@davemloft.net>
28285
28286 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28287 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28288 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28289 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28294 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28295 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
28301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28302 file.
f7062b9a 28303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
28304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28305 file.
f7062b9a 28306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
28307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28308 file.
f7062b9a 28309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
28310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28311 file.
f7062b9a
DM
28312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28313 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28314 fmin/fmax sysdep routines.
28315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28316
7bd951ff
DM
283172012-03-14 David S. Miller <davem@davemloft.net>
28318
559398ab
DM
28319 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28320 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28321 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28322 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28323 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28324 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28325 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28326 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28327 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28328 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28329 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28330 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28331 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28332 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28333 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28334 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28335 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28336 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28337 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28338 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28339 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28340 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28341 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28342 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28343 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28344 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28345 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28346 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28347 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28348 routines.
28349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28350 file.
559398ab 28351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
28352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28353 file.
559398ab 28354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
28355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28356 file.
559398ab 28357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
28358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28359 file.
559398ab 28360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
28361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28362 file.
559398ab 28363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
28364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28365 file.
28366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28367 file.
28368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28369 file.
28370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28371 file.
28372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28373 New file.
28374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28375 file.
28376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28377 file.
559398ab 28378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
28379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28380 file.
559398ab 28381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28383 file.
559398ab 28384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
28385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28386 file.
559398ab 28387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
28388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28389 VIS3 routines.
559398ab
DM
28390
28391 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28392 New file.
28393
5a1c1e32
DM
28394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28395
eae47a36
DM
28396 * sysdeps/sparc/configure.in: New file.
28397 * sysdeps/sparc/configure: Generate.
28398 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28399 * configure: Regenerate.
28400 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28401 * config.make.in (have-as-vis3): New.
28402 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28403 available use -Av9d instead of -Av9a.
28404 * sysdeps/sparc/sparc64/Makefile: Likewise.
28405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
28406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28407 New file.
28408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28409 file.
28410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28411 New file.
28412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28413 file.
eae47a36
DM
28414 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28415 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28416 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28417 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28418 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28419
c0c83bc8
DM
28420 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28421 fzeros/fnegs to load 0x80000000 into a float register instead of
28422 using the stack.
7bd951ff
DM
28423 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28424
bd951ccb
JM
284252012-03-14 Joseph Myers <joseph@codesourcery.com>
28426
28427 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28428 bits/syscall.h.
28429 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28430 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28431 ($(inst_includedir)/bits/syscall.h): Remove rule.
28432 ($(objpfx)bits/syscall.d): Include instead of
28433 $(objpfx)syscall-list.d.
28434 (generated): Change syscall-list.h and syscall-list.d to
28435 bits/syscall.h and bits/syscall.d.
28436
bb4e6db2
RM
284372012-03-14 Roland McGrath <roland@hack.frob.com>
28438
28439 [BZ #13846]
28440 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28441
aa4a2ae1
JM
284422012-03-14 Joseph Myers <joseph@codesourcery.com>
28443
e456826d
JM
28444 [BZ #13841]
28445 * math/s_csqrt.c: Include <float.h>.
28446 (__csqrt): Scale large or subnormal inputs.
28447 * math/s_csqrtf.c: Likewise.
28448 * math/s_csqrtl.c: Likewise.
28449 * math/libm-test.inc (csqrt_test): Add more tests.
28450 * sysdeps/i386/fpu/libm-test-ulps: Update.
28451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28452
aa4a2ae1
JM
28453 [BZ #13840]
28454 * math/libm-test.inc (hypot_test): Add more tests.
28455
7c10fd35
DM
284562012-03-13 David S. Miller <davem@davemloft.net>
28457
28458 [BZ #13840]
28459 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28460 double-precision for the calculation instead of scaling.
28461
f453b98b
JM
284622012-03-13 Joseph Myers <joseph@codesourcery.com>
28463
28464 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28465 manipulate bits before adding and subtracting TWO52[sx].
28466 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28467 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28468 Likewise.
28469 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28470
09a3453f
DM
284712012-03-13 David S. Miller <davem@davemloft.net>
28472
8e59da90
DM
28473 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28474 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28475 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28476 rtld-global-offsets.h
28477 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28478
2a8ab7f2
DM
28479 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28480 large parameters.
28481
10f62770
DM
28482 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28483
5f0bdb18
DM
28484 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28485 'err' in the ifdef scope in which it is actually used.
28486
09a3453f
DM
28487 * nss/nss_db/db-init.c: Include string.h
28488
b4b2eb5e
DM
284892012-03-12 David S. Miller <davem@davemloft.net>
28490
98bb2f1c
DM
28491 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28492 masking out of the most significant byte of random value used.
28493 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28494 Fix coding style in previous change.
28495
b4b2eb5e
DM
28496 * sysdeps/unix/sysv/linux/kernel-features.h
28497 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28498 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28499 expression.
28500 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28501 later.
28502
6e226b09
DM
285032012-03-11 David S. Miller <davem@davemloft.net>
28504
a1bcbd40
DM
28505 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28506 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28507 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28508 for 'resultvar' otherwise things get truncated on 64-bit.
28509
cb9d6174
DM
28510 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28511 Fix masking out of the most significant byte of random value used.
28512
6e226b09
DM
28513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28514
058c132d
AS
285152012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28516
28517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28518
2d2cd515
DM
285192012-03-09 David S. Miller <davem@davemloft.net>
28520
28521 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28522 variables with appropriate CPP guards.
28523 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28524 frame pointer, not the stack pointer. Correct layout comments. Fix test
28525 on resulting framesize and the management of the outregs buffer for pltexit.
28526 Preserve floating point return values across _dl_call_pltexit call.
28527 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28528 framesize and the management of the outregs buffer for pltexit.
28529 Preserve floating point return values across _dl_call_pltexit
28530 call.
28531 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28532 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28533 (print_exit): Fix format string for return register value.
28534
9a07f9d0
JM
285352012-03-10 Joseph Myers <joseph@codesourcery.com>
28536
28537 * sunrpc/Makefile (others): Add rpcgen.
28538 ($(objpfx)rpcgen): Remove special build rule and dependency on
28539 libc.
28540 * sunrpc/rpcgen.c: New file.
28541
547b5e30
PE
285422012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28543
c524201a
PE
28544 [BZ #13673]
28545 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28546 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28547 * sysdeps/i386/crti.S: Likewise.
28548 * sysdeps/i386/crtn.S: Likewise.
28549 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28550 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28551 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28552 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28553 * sysdeps/sh/crti.S: Likewise.
28554 * sysdeps/sh/crtn.S: Likewise.
28555 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28556
7b6235f2
PE
28557 [BZ #13673]
28558 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28559 with URL.
28560 * locale/programs/locfile-kw.gperf: Likewise.
28561 * locale/programs/charmap-kw.h: Regenerated.
28562 * locale/programs/locfile-kw.h: Likewise.
28563
547b5e30
PE
28564 [BZ #13673]
28565 * intl/plural.y: Replace FSF snail mail address with URL.
28566 * intl/plural.c: Regenerated.
28567
5f0a5dae
RH
285682012-03-09 Richard Henderson <rth@twiddle.net>
28569
28570 * include/math_private.h: Remove file.
28571 * math/math_private.h: Move file ...
28572 * sysdeps/generic/math_private.h: ... here.
28573
b8c03620
RH
28574 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28575 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28576 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28577
4e234f5d 28578 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
28579 and <math_private.h>.
28580 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28581 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28582 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28583 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28584 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28585 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28586 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28587 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28588 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28589 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28590 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28591 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28592 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28593 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28594 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28595 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28596 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28597 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28598 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28599 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28600 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28601 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28602 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28603 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28604 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28605 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28606 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28607 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28608 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28609 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28610 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28611 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28612 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28613 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28614 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28615 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28616 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28617 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28618 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28619 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28620 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28621 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28622 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28623 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28624 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28625 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28626 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28627 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28628 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28629 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28630 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28631 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28632 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28633 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28634 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28635 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28636 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28637 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28638 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28639 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28640 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28641 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28642 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28643 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28644 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28645 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28646 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28647 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28648 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28649 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28650 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28651 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28652 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28653 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28654 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28655 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28656 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28657 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28658 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28659 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28660 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28661 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28662 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28663 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28664 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28665 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28666 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28667 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28668 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28669 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28670 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28671 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28672 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28673 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28674 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28675 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28676 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28677 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28678 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28679 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28680 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28681 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28682 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28683 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28684 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28685 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28686 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28687 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28688 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28689 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28690 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28691 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28692 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28693 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28694 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28695 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28696 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28697 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28698 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28699 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28700 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28701 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28702 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28703 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28704 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28705 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28706 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28707 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28708 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28709 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28710 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28711 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28712 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28713 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28714 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28715 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28716 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28717 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28718 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28719 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28720 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28721 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28722 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28723 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28724 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28725 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28726 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28727 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28728 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28729 * sysdeps/ieee754/k_standard.c: Likewise.
28730 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28731 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28732 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28733 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28734 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28735 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28736 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28737 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28738 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28739 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28740 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28741 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28742 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28743 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28744 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28745 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28746 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28747 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28748 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28749 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28750 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28751 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28752 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28753 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28754 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28755 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28756 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28757 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28758 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28759 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28760 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28761 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28762 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28763 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28764 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28765 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28766 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28767 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28768 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28769 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28770 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28771 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28772 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28773 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28774 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28775 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28776 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28777 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28778 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28779 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28780 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28781 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28782 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28783 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28784 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28785 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28786 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28787 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28788 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28789 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28790 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28791 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28792 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28793 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28794 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28795 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28796 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28797 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28798 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28799 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28800 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28801 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28802 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28803 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28804 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28805 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28806 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28807 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28808 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28809 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28810 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28811 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28812 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28813 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28814 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28815 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28816 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28817 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28818 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28819 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28820 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28821 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28822 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28823 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28824 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28825 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28826 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28827 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28828 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28829 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28830 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28831 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28832 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28833 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28834 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28835 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28836 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28837 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28838 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28839 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28840 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28841 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28842 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28843 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28844 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28845 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28846 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28847 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28848 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28849 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28850 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28851 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28852 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28853 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28854 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28855 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28856 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28857 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28858 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28859 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28860 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28861 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28862 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28863 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28864 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28865 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28866 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28867 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28868 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28869 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28870 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28871 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28872 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28873 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28874 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28875 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28876 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28877 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28878 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28879 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28880 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28881 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28882 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28883 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28884 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28885 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28886 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28887 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28888 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28889 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28890 * sysdeps/ieee754/s_lib_version.c: Likewise.
28891 * sysdeps/ieee754/s_matherr.c: Likewise.
28892 * sysdeps/ieee754/s_signgam.c: Likewise.
28893 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28894 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28895 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28896 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28897 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28898 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28899 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28900 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28901 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28902 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28903 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28904 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28905 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28906 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28907 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28908 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28909 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28910 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28911 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28912 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28913 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 28914
1991fa03
JM
289152012-03-09 Joseph Myers <joseph@codesourcery.com>
28916
28917 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28918 * sunrpc/rpc_main.c: Likewise.
28919 * sunrpc/rpc_svcout.c: Likewise.
28920
60d6f5a6
DM
289212012-03-09 David S. Miller <davem@davemloft.net>
28922
28923 * include/math_private.h: New file.
28924
4962050e
JM
289252012-03-09 Joseph Myers <joseph@codesourcery.com>
28926
02a6f887
JM
28927 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28928 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28929 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28930 from <bits/socket_type.h>.
28931 (enum __socket_type): Don't define here.
28932 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28934 bits/socket_type.h.
28935
c6e013c1
JM
28936 [BZ #13566]
28937 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28938 checking __USE_GNU.
28939
4962050e
JM
28940 * Makerules ($(inst_includedir)/%.h): New rule.
28941 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28942 (install-others): Remove variable setting.
28943 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28944
38842f45
RH
289452012-03-08 Richard Henderson <rth@twiddle.net>
28946
67bb6da6
RH
28947 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28948 from macro to inline function; merge with the
28949 !__LIBC_INTERNAL_MATH_INLINES version.
28950 (__ieee754_sqrtf): Likewise.
28951
15194b4b
RH
28952 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28953 to inline function.
28954 (__rintf, __floor, __floorf): Likewise.
28955
64e21ede
RH
28956 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28957 macro to inline function.
28958 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28959
38842f45
RH
28960 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28961 not <math/math_private.h>.
28962
c64bf5fe
DM
289632012-03-08 David S. Miller <davem@davemloft.net>
28964
28965 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28966 copyright year.
28967 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28968
82d86f28
TS
289692012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28970
28971 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28972 normalization.
28973 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28974 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28975
aea5d727
UD
289762012-03-08 Ulrich Drepper <drepper@gmail.com>
28977
28978 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28979 be defined individually, they must be defined as a block. Define
28980 S for printing a string instead of hidint the different by using a
28981 macro for adding the 'l'.
28982 * stdio-common/tst-fphex-wide.c: Adjust.
28983
70bca0a3
MP
289842012-03-07 Marek Polacek <polacek@redhat.com>
28985
28986 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28987
65b81130
MP
289882012-03-08 Marek Polacek <polacek@redhat.com>
28989
28990 [BZ #13806]
28991 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28992 * stdio-common/tst-fphex.c: Define a few macros to make the
28993 test reusable. Use them.
28994 * stdio-common/tst-fphex-wide.c: New file.
28995
07037eeb
JM
289962012-03-08 Joseph Myers <joseph@codesourcery.com>
28997
a7a93d50
JM
28998 [BZ #6911]
28999 * manual/macros.texi (gnusystems): New macro.
29000 (nongnusystems): Likewise.
29001 (gnulinuxhurdsystems): Likewise.
29002 (gnuhurdsystems): Likewise..
29003 (gnulinuxsystems): Likewise.
29004 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29005 variants of the GNU system, not "GNU system".
29006 * manual/conf.texi: Likewise.
29007 * manual/errno.texi: Likewise. Update example of errno macro
29008 expansion.
29009 * manual/filesys.texi: Likewise.
29010 (getumask): Document as specific to GNU/Hurd.
29011 * manual/install.texi: Likewise. Reword some references to
29012 GNU/Linux.
29013 * manual/intro.texi: Likewise.
29014 * manual/io.texi: Likewise.
29015 (File Name Portability): Detail which constraints are inapplicable
29016 to all GNU systems and which are only inapplicable to GNU/Hurd.
29017 * manual/job.texi: Likewise.
29018 * manual/llio.texi: Likewise.
29019 (O_NOCTTY): Document as present on GNU/Linux.
29020 * manual/maint.texi: Likewise.
29021 * manual/memory.texi: Likewise.
29022 * manual/pattern.texi: Likewise.
29023 * manual/pipe.texi: Likewise.
29024 * manual/process.texi: Likewise.
29025 * manual/resource.texi: Likewise.
29026 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29027 child on GNU/Hurd.
29028 * manual/setjmp.texi: Likewise.
29029 * manual/signal.texi: Likewise.
29030 * manual/startup.texi: Likewise.
29031 * manual/stdio.texi: Likewise.
29032 * manual/terminal.texi: Likewise.
29033 (ONLCR): Document as POSIX.
29034 (OXTABS): Document availability on GNU/Linux as XTABS.
29035 (ONOEOT): Document availability separately from other bits.
29036 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29037 * manual/time.texi: Likewise.
29038 * manual/users.texi: Likewise.
29039 * INSTALL: Regenerated.
29040 * sysdeps/gnu/errlist.c: Regenerated.
29041
07037eeb
JM
29042 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29043 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29044 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29045 puts.
29046 * configure: Regenerated.
29047
d1d3431a
JM
290482012-03-07 Joseph Myers <joseph@codesourcery.com>
29049
af6a1e37
JM
29050 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29051 default includes instead of AC_HEADER_CHECK.
29052 * sysdeps/i386/configure: Regenerated.
29053
d1d3431a
JM
29054 [BZ #10716]
29055 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29056 * math/s_cacoshf.c (__cacoshf): Likewise.
29057 * math/s_cacoshl.c (__cacoshl): Likewise.
29058 * math/s_casinh.c (__casinh): Set signs of result from argument.
29059 * math/s_casinhf.c (__casinhf): Likewise.
29060 * math/s_casinhl.c (__casinhl): Likewise.
29061 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29062 (casinh_test): Add more tests.
29063 * sysdeps/i386/fpu/libm-test-ulps: Update.
29064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29065
482ff4da
UD
290662012-03-07 Ulrich Drepper <drepper@gmail.com>
29067
872fda05
UD
29068 * po/zh_TW.po: Update from translation team.
29069
a4300c7a
UD
29070 * login/Makefile (distribute): Remove variable.
29071 * catgets/Makefile: Likewise.
29072 * mach/Makefile: Likewise.
29073 * malloc/Makefile: Likewise.
29074 * misc/Makefile: Likewise.
29075 * iconv/Makefile: Likewise.
29076 * nscd/Makefile: Likewise.
29077 * hurd/Makefile: Likewise.
29078 * manual/Makefile: Likewise.
29079 * locale/Makefile: Likewise.
29080 * intl/Makefile: Likewise.
29081 * conform/Makefile: Likewise.
29082 * nss/Makefile: Likewise.
29083 * time/Makefile: Likewise.
29084 * soft-fp/Makefile: Likewise.
29085 * dirent/Makefile: Likewise.
29086 * gmon/Makefile: Likewise.
29087 * po/Makefile: Likewise.
29088 * rt/Makefile: Likewise.
29089 * socket/Makefile: Likewise.
29090 * math/Makefile: Likewise.
29091 * signal/Makefile: Likewise.
29092 * debug/Makefile: Likewise.
29093 * elf/Makefile: Likewise.
29094 * timezone/Makefile: Likewise.
29095 * stdlib/Makefile: Likewise.
29096 * iconvdata/Makefile: Likewise.
29097 * sunrpc/Makefile: Likewise.
29098 * io/Makefile: Likewise.
29099 * argp/Makefile: Likewise.
29100 * inet/Makefile: Likewise.
29101 * hesiod/Makefile: Likewise.
29102 * grp/Makefile: Likewise.
29103 * csu/Makefile: Likewise.
29104 * wctype/Makefile: Likewise.
29105 * crypt/Makefile: Likewise.
29106 * libio/Makefile: Likewise.
29107 * string/Makefile: Likewise.
29108 * nis/Makefile: Likewise.
29109 * resolv/Makefile: Likewise.
29110 * stdio-common/Makefile: Likewise.
29111 * wcsmbs/Makefile: Likewise.
29112 * dlfcn/Makefile: Likewise.
29113 * posix/Makefile: Likewise.
29114
3b7c4e74 29115 [BZ #6959]
482ff4da
UD
29116 * timezone/Makefile: Don't install timezone files, just the programs
29117 and scripts.
29118
f72ed77d
UD
291192012-03-06 Ulrich Drepper <drepper@gmail.com>
29120
a000466f
UD
29121 * nss/databases.def: Add missing gshadow entry.
29122
f72ed77d
UD
29123 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29124
a53b7a4e
MP
291252012-03-06 Marek Polacek <polacek@redhat.com>
29126
29127 [BZ #13726]
29128 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29129 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29130 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29131 * stdio-common/tst-long-dbl-fphex.c: New file.
29132
e9258400
DM
291332012-03-06 David S. Miller <davem@davemloft.net>
29134
29135 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29136 (set_obp_int): New function.
29137 (get_obp_int): New function.
29138 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
29139 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29140 Avoid unused variable warnings on 'val' and use builtin_expect.
29141 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29142 __builtin_expect.
e9258400
DM
29143 (INLINE_CLONE_SYSCALL): Likewise.
29144
3bd2c723
DM
291452012-03-05 David S. Miller <davem@davemloft.net>
29146
29147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29148
bbb78d03
AS
291492012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29150
884c5db4
AS
29151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29152
bbb78d03
AS
29153 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29154 only for |x| >= 40.
29155 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29156
1c9f702a 291572012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
29158
29159 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29160 Replace gettimeofday with __vdso_gettimeofday.
29161
7be16f82
RM
29162 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29163 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29164 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
29165
29166 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29167 time with __vdso_time.
29168
ed58a00f
JM
291692012-03-05 Joseph Myers <joseph@codesourcery.com>
29170
29171 * manual/lang.texi (size_t): Note types to which size_t may be
29172 equivalent with the GNU C Library, but do not describe when
29173 differences between them are significant.
29174
30ee4ced
AJ
291752012-03-05 Andreas Jaeger <aj@suse.de>
29176
29177 * sysdeps/i386/fpu/libm-test-ulps: Update.
29178
b7cd39e8
JM
291792012-03-05 Joseph Myers <joseph@codesourcery.com>
29180
29181 [BZ #3976]
29182 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29183 (__ieee754_pow): Save and restore rounding mode and use
29184 round-to-nearest for main computations.
29185 * math/libm-test.inc (pow_test_tonearest): New function.
29186 (pow_test_towardzero): Likewise.
29187 (pow_test_downward): Likewise.
29188 (pow_test_upward): Likewise.
29189 (main): Call the new functions.
29190 * sysdeps/i386/fpu/libm-test-ulps: Update.
29191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
29192
29193 [BZ #3976]
29194 * math/libm-test.inc (cosh_test_tonearest): New function.
29195 (cosh_test_towardzero): Likewise.
29196 (cosh_test_downward): Likewise.
29197 (cosh_test_upward): Likewise.
29198 (sinh_test_tonearest): Likewise.
29199 (sinh_test_towardzero): Likewise.
29200 (sinh_test_downward): Likewise.
29201 (sinh_test_upward): Likewise.
29202 (main): Call the new functions.
29203 * sysdeps/i386/fpu/libm-test-ulps: Update.
29204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29205
6c6a98c9
TV
292062012-03-05 Tom de Vries <tom@codesourcery.com>
29207
29208 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29209 default stack guard is set in last bytes.
29210 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29211
21bb2d2e 292122012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 29213
21bb2d2e 29214 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 29215
21bb2d2e
AJ
29216 [BZ #13656]
29217 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29218 possibly allocate from heap instead of stack.
29219 * stdio-common/bug-vfprintf-nargs.c: New file.
29220 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 29221
c6922934
AS
292222012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29223
29224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29225
bc957d53
MP
292262012-03-03 Marek Polacek <polacek@redhat.com>
29227
29228 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29229 * math/math_private.h: Likewise.
29230 * stdlib/tst-strtod.c: Likewise.
29231 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29232 * sysdeps/x86_64/bits/atomic.h: Likewise.
29233
6358490d
DM
292342012-03-02 David S. Miller <davem@davemloft.net>
29235
29236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29240 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29241 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29242 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29243 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29244
01ae168d
RM
292452012-03-02 Roland McGrath <roland@hack.frob.com>
29246
d9a17c07
RM
29247 [BZ #13792]
29248 * manual/examples/README: New file, says the example source files
29249 can be used under GPL>=2.
29250 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29251 line containing just "*/".
29252 * manual/examples/add.c: Add copyright header (GPL>=2).
29253 * manual/examples/argp-ex1.c: Likewise.
29254 * manual/examples/argp-ex2.c: Likewise.
29255 * manual/examples/argp-ex3.c: Likewise.
29256 * manual/examples/argp-ex4.c: Likewise.
29257 * manual/examples/atexit.c: Likewise.
29258 * manual/examples/db.c: Likewise.
29259 * manual/examples/dir.c: Likewise.
29260 * manual/examples/dir2.c: Likewise.
29261 * manual/examples/execinfo.c: Likewise.
29262 * manual/examples/filecli.c: Likewise.
29263 * manual/examples/filesrv.c: Likewise.
29264 * manual/examples/fmtmsgexpl.c: Likewise.
29265 * manual/examples/genpass.c: Likewise.
29266 * manual/examples/inetcli.c: Likewise.
29267 * manual/examples/inetsrv.c: Likewise.
29268 * manual/examples/isockad.c: Likewise.
29269 * manual/examples/longopt.c: Likewise.
29270 * manual/examples/memopen.c: Likewise.
29271 * manual/examples/memstrm.c: Likewise.
29272 * manual/examples/mkfsock.c: Likewise.
29273 * manual/examples/mkisock.c: Likewise.
29274 * manual/examples/mygetpass.c: Likewise.
29275 * manual/examples/pipe.c: Likewise.
29276 * manual/examples/popen.c: Likewise.
29277 * manual/examples/rprintf.c: Likewise.
29278 * manual/examples/search.c: Likewise.
29279 * manual/examples/select.c: Likewise.
29280 * manual/examples/setjmp.c: Likewise.
29281 * manual/examples/sigh1.c: Likewise.
29282 * manual/examples/sigusr.c: Likewise.
29283 * manual/examples/stpcpy.c: Likewise.
29284 * manual/examples/strdupa.c: Likewise.
29285 * manual/examples/strftim.c: Likewise.
29286 * manual/examples/strncat.c: Likewise.
29287 * manual/examples/subopt.c: Likewise.
29288 * manual/examples/swapcontext.c: Likewise.
29289 * manual/examples/termios.c: Likewise.
29290 * manual/examples/testopt.c: Likewise.
29291 * manual/examples/testpass.c: Likewise.
29292 * manual/examples/timeval_subtract.c: Likewise.
29293
01ae168d
RM
29294 [BZ #13792]
29295 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29296 function to ...
29297 * manual/timeval_subtract.c.texi: ... here, new file.
29298
49efa33d
DM
292992012-03-02 David S. Miller <davem@davemloft.net>
29300
29301 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29302
28afd92d
JM
293032012-03-02 Joseph Myers <joseph@codesourcery.com>
29304
804360ed
JM
29305 [BZ #3976]
29306 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29307 (__sin): Save and restore rounding mode and use round-to-nearest
29308 for all computations.
29309 (__cos): Save and restore rounding mode and use round-to-nearest
29310 for all computations.
29311 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29312 <fenv.h>.
29313 (tan): Save and restore rounding mode and use round-to-nearest for
29314 all computations.
29315 * math/libm-test.inc (cos_test_tonearest): New function.
29316 (cos_test_towardzero): Likewise.
29317 (cos_test_downward): Likewise.
29318 (cos_test_upward): Likewise.
29319 (sin_test_tonearest): Likewise.
29320 (sin_test_towardzero): Likewise.
29321 (sin_test_downward): Likewise.
29322 (sin_test_upward): Likewise.
29323 (tan_test_tonearest): Likewise.
29324 (tan_test_towardzero): Likewise.
29325 (tan_test_downward): Likewise.
29326 (tan_test_upward): Likewise.
29327 (main): Call the new functions.
29328 * sysdeps/i386/fpu/libm-test-ulps: Update.
29329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29330
a6d06d7b
JM
29331 [BZ #10135]
29332 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29333 small n, then large n, before computing and testing k+n.
29334 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29335 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29336 Likewise.
29337 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29338 Likewise.
29339 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29340 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29341 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29342 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29343 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29344 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29345 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29346 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29347 * math/libm-test.inc (scalbn_test): Add more tests.
29348 (scalbln_test): Likewise.
29349
07e12bb3
JM
29350 * manual/filesys.texi (mode_t): Describe constraints on size and
29351 signedness, not exact equivalence to a particular type.
29352 (ino_t): Likewise.
29353 (ino64_t): Likewise.
29354 (dev_t): Likewise.
29355 (nlink_t): Likewise.
29356 (blkcnt_t): Likewise.
29357 (blkcnt64_t): Likewise.
29358 * manual/llio.texi (off_t): Likewise.
29359
28afd92d
JM
29360 [BZ #3976]
29361 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29362 (__ieee754_exp): Save and restore rounding mode and use
29363 round-to-nearest for all computations.
29364 * math/libm-test.inc (exp_test_tonearest): New function.
29365 (exp_test_towardzero): Likewise.
29366 (exp_test_downward): Likewise.
29367 (exp_test_upward): Likewise.
29368 (main): Call the new functions.
29369 * sysdeps/i386/fpu/libm-test-ulps: Update.
29370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29371
b1eeb65d
CD
293722012-03-01 Chris Demetriou <cgd@google.com>
29373
29374 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29375 have predictable order.
29376
53362a4b
DM
293772012-03-01 David S. Miller <davem@davemloft.net>
29378
3c969083
DM
29379 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29380
759707de
DM
29381 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29382 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29383 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29384 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29385
dfdb8ff2
DM
29386 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29387 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29388 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29390 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29391 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29392 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29393 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29394 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29395
ead89f96
DM
29396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29397
7f66bd07
DM
29398 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29399 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29400 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29401
53362a4b
DM
29402 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29403 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29404 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29405 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29406 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29407 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29408 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29409 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29410 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29411 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29412 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29413 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29414 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29415 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29416 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29417 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29418 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29419 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29420 * sysdeps/sparc/elf/configure: Regenerated.
29421
7b1902cb
JM
294222012-03-01 Joseph Myers <joseph@codesourcery.com>
29423
bec039bc
JM
29424 * configure.in (AS, LD): Require binutils 2.20 or later.
29425 * configure: Regenerated.
29426 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29427 as required minimum version.
29428 * INSTALL: Regenerated.
29429
7b1902cb
JM
29430 [BZ #2541]
29431 [BZ #4108]
29432 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29433 before squaring exponent.
29434 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29435 bottom long double and 27 bits of top long double before squaring
29436 exponent.
29437 * math/libm-test.inc (erfc_test): Add more tests.
29438 * sysdeps/i386/fpu/libm-test-ulps: Update.
29439 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29441
f775c276
KT
294422012-03-01 Kai Tietz <ktietz@redhat.com>
29443
29444 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29445 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29446 containing bit-fields.
29447 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29448 * soft-fp/single.h (_FP_UNION_S): Likewise.
29449 * soft-fp/double.h (_FP_UNION_D): Likewise.
29450
5b8a4d4a
JM
294512012-02-29 Joseph Myers <joseph@codesourcery.com>
29452
0bab47b6
JM
29453 [BZ #13786]
29454 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29455 not include ../strcmp.S.
29456 [USE_AS_STRNCASECMP_L]: Likewise.
29457 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29458 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29459 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29460 (__strncasecmp_l_ia32): Define as alias to
29461 __strncasecmp_l_nonascii.
29462
0fcad3e2
JM
29463 [BZ #5794]
29464 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29465 * sysdeps/i386/fpu/libm-test-ulps: Update.
29466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29467
5b8a4d4a
JM
29468 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29470
8fdceb2e
JL
294712012-02-29 Jeff Law <law@redhat.com>
29472
29473 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29474 out of bounds read.
29475
1f393a11
MP
294762012-02-29 Marek Polacek <polacek@redhat.com>
29477
29478 [BZ #13706]
29479 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29480 * elf/Makefile: Add rules to run tst-unused-dep.out.
29481
8847f037
DM
294822012-02-28 David S. Miller <davem@davemloft.net>
29483
29484 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29485 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29486 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29487 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29488 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29489 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29490
169d7f11
JM
294912012-02-29 Joseph Myers <joseph@codesourcery.com>
29492
29493 * math/libm-test.inc (llround_test): Move one test from
29494 lround_test. Use TEST_f_L in moved test.
29495 (lround_test): Move misplaced test to llround_test. Add testcase
29496 from bug 2561.
29497
39adf059
UD
294982012-02-28 Ulrich Drepper <drepper@gmail.com>
29499
29500 * sysdeps/x86_64/fpu/e_expf.S: New file.
29501 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29502
71b5d1c5
SB
295032012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29504
29505 [BZ #13637]
29506 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29507 of remain_len that may cause incomplete multi-byte character and
29508 false match.
29509 * posix/bug-regex33.c: New file.
29510 * posix/Makefile (tests): Add bug-regex33.
29511
1f77f049
JM
295122012-02-28 Joseph Myers <joseph@codesourcery.com>
29513
29514 * manual/macros.texi: New file.
29515 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29516 * manual/libc.texinfo: Include macros.texi.
29517 * manual/creatute.texi: Likewise.
29518 * manual/install.texi: Likewise.
29519 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29520 @glibcadj{} in references to the GNU C Library.
29521 * manual/charset.texi: Likewise.
29522 * manual/conf.texi: Likewise.
29523 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29524 when not using those macros.
29525 * manual/creature.texi: Likewise.
29526 * manual/crypt.texi: Likewise.
29527 * manual/errno.texi: Likewise.
29528 * manual/filesys.texi: Likewise.
29529 * manual/header.texi: Likewise.
29530 * manual/install.texi: Likewise.
29531 * manual/intro.texi: Likewise.
29532 * manual/io.texi: Likewise.
29533 * manual/job.texi: Likewise.
29534 * manual/lang.texi: Likewise.
29535 * manual/libc.texiinfo: Likewise.
29536 * manual/llio.texi: Likewise.
29537 * manual/locale.texi: Likewise.
29538 * manual/maint.texi: Likewise.
29539 * manual/math.texi: Likewise.
29540 * manual/memory.texi: Likewise.
29541 * manual/message.texi: Likewise.
29542 * manual/nss.texi: Likewise.
29543 * manual/pattern.texi: Likewise.
29544 * manual/process.texi: Likewise.
29545 * manual/resource.texi: Likewise.
29546 * manual/search.texi: Likewise.
29547 * manual/setjmp.texi: Likewise.
29548 * manual/signal.texi: Likewise.
29549 * manual/socket.texi: Likewise.
29550 * manual/startup.texi: Likewise.
29551 * manual/stdio.texi: Likewise.
29552 * manual/string.texi: Likewise.
29553 * manual/sysinfo.texi: Likewise.
29554 * manual/syslog.texi: Likewise.
29555 * manual/terminal.texi: Likewise.
29556 * manual/time.texi: Likewise.
29557 * manual/users.texi: Likewise.
29558 * INSTALL: Regenerated.
29559 * NOTES: Regenerated.
d40c5d54 29560 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 29561
450bf206
AS
295622012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29563
29564 * include/dirent.h: Include <dirstream.h> before
29565 <dirent/dirent.h>.
29566
741a235b
DM
295672012-02-28 David S. Miller <davem@davemloft.net>
29568
29569 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29570 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29571 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29572 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29573
d6b5aa58
DM
295742012-02-27 David S. Miller <davem@davemloft.net>
29575
1aff59a3
DM
29576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29578 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29579 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29580
d6b5aa58
DM
29581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29582 frame pointer instead of stack pointer relative arg slot.
29583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29584 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29585 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29586
433f48bf
CD
295872012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29588
29589 [BZ #3992]
29590 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29591
d674b76d
DM
295922012-02-27 David S. Miller <davem@davemloft.net>
29593
29594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29598 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29599 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29600 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29601 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29602
0e7727f7
JM
296032012-02-27 Joseph Myers <joseph@codesourcery.com>
29604
29605 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29606 later. Allow versions 5-9.
43be4ca2 29607 * configure: Regenerated.
0e7727f7
JM
29608 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29609 required minimum version and 4.6 as recommended version. Do not
29610 mention bugs in GCC 2.7 and 2.8.
43be4ca2 29611 * INSTALL: Regenerated.
0e7727f7 29612
a78bc654
DM
296132012-02-27 David S. Miller <davem@davemloft.net>
29614
428d5830
DM
29615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29619 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29620 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29621 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29622 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29623
a78bc654
DM
29624 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29625 manipulate bits before adding and subtracting TWO112[sx].
29626 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29627
4579f81c
RM
296282012-02-27 Roland McGrath <roland@hack.frob.com>
29629
36c8acb4
RM
29630 [BZ #13775]
29631 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29632 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29633 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29634 being in POSIX, because they are in 1003.1-2008.
29635
84ad622b
RM
29636 * rt/tst-aio.c: Include <fcntl.h>.
29637 * rt/tst-aio7.c: Likewise.
29638 * rt/tst-aio64.c: Likewise.
29639
4579f81c
RM
29640 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29641
abd923db
JM
296422012-02-27 Joseph Myers <joseph@codesourcery.com>
29643
29644 * manual/install.texi (--with-headers): Describe headers as
29645 interface headers, not private headers.
29646 (Specific advice for GNU/Linux systems): Describe use of headers
29647 from "make headers_install", not private headers from older
29648 kernels.
43be4ca2 29649 * INSTALL: Regenerated.
abd923db
JM
29650 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29651 Change to 2.6.19.
29652 * sysdeps/unix/sysv/linux/configure: Regenerated.
29653
6664049b
JM
29654 * manual/llio.texi (fclean): Remove documentation.
29655
bb8b6697
JM
29656 * manual/Makefile (libc-texi-generated): New variable. Include
29657 version.texi.
29658 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29659 $(libc-texi-generated), not duplicated list of files.
29660 (version.texi, stamp-version): New rules.
29661 (realclean): Remove $(libc-texi-generated), not individual files
29662 from that list. Do not remove dir-add.texinfo.
29663 * manual/libc.texinfo: Comment out uses of edition numbers and
29664 references to printed manual. Remove last-updated dates.
29665 (EDITION): Comment out.
29666 (ISBN): Likewise.
29667 (VERSION, UPDATED): Remove.
29668 (version.texi): Include.
29669
12e5c3b9
AS
296702012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29671
29672 * sysdeps/posix/spawni.c: Include <signal.h>.
29673 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29674 * sysdeps/pthread/aio_fsync.c: Likewise.
29675
4efeffc1 296762012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 29677
ba63ba08
UD
29678 * conform/Makefile (tests): Run only when not cross-compiling and
29679 when fast-check is not defined.
29680
d94a4670
UD
29681 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29682 * conform/data/limits.h-data: Fixes for POSIX2008.
29683 * conform/run-conformtest.sh: Run all tests.
29684 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29685 headers.
29686 * include/bits/dlfcn.h: Likewise.
29687 * include/langinfo.h: Likewise.
29688 * include/monetary.h: Likewise.
29689 * include/sys/poll.h: Likewise.
29690
29691 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29692 for __USE_GNU.
29693 * posix/spawn.h: Define __need_sigset_t.
29694 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29695 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29696 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29697 to get sigevent_t only.
29698 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29699 only for __USE_GNU.
29700 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29701 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29702 process_vm_writev only for __USE_GNU.
29703 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
29704
29705 * conform/Makefile: For now ignore errors from run-conformtest.
29706 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29707 POSIX to avoid namespace pollution. Don't prepend headers.
29708 * conform/data/aio.h-data: Fixes for POSIX testing.
29709 * conform/data/fcntl.h-data: Likewise.
29710 * conform/data/glob.h-data: Likewise.
29711 * conform/data/grp.h-data: Likewise.
29712 * conform/data/pthread.h-data: Likewise.
29713 * conform/data/pwd.h-data: Likewise.
29714 * conform/data/signal.h-data: Likewise.
29715 * conform/data/spawn.h-data: Likewise.
29716 * conform/data/stdio.h-data: Likewise.
29717 * conform/data/stdlib.h-data: Likewise.
29718 * conform/data/stropts.h-data: Likewise.
29719 * conform/data/sys/mman.h-data: Likewise.
29720 * conform/data/sys/stat.h-data: Likewise.
29721 * conform/data/sys/types.h-data: Likewise.
29722 * conform/data/sys/wait.h-data: Likewise.
29723 * conform/data/time.h-data: Likewise.
29724 * conform/data/unistd.h-data: Likewise.
29725 * conform/data/utime.h-data: Likewise.
29726
29727 * io/sys/stat.h: fchmod was always in POSIX.
29728 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29729 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29730 * rt/aio.h: Define __need_timespec before including <time.h>.
29731 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29732 struct. Add forward declaration of pthread_attr_t and use it in
29733 sigevent.
29734 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29735 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29736 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29737 always remove CLK_TCK definition.
29738
c20105c3
AS
297392012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29740
29741 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29742
7a270350
UD
297432012-02-25 Ulrich Drepper <drepper@gmail.com>
29744
31341567
UD
29745 * conform/run-conformtest.sh: New file.
29746 * conform/Makefile: Run run-conformtest for tests.
29747 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29748 support.
29749
29750 * conform/data/uchar.h-data: New file.
29751 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29752 * conform/data/arpa/inet.h-data: Likewise.
29753 * conform/data/assert.h-data: Likewise.
29754 * conform/data/complex.h-data: Likewise.
29755 * conform/data/cpio.h-data: Likewise.
29756 * conform/data/ctype.h-data: Likewise.
29757 * conform/data/dirent.h-data: Likewise.
29758 * conform/data/dlfcn.h-data: Likewise.
29759 * conform/data/errno.h-data: Likewise.
29760 * conform/data/fcntl.h-data: Likewise.
29761 * conform/data/float.h-data: Likewise.
29762 * conform/data/fmtmsg.h-data: Likewise.
29763 * conform/data/fnmatch.h-data: Likewise.
29764 * conform/data/ftw.h-data: Likewise.
29765 * conform/data/glob.h-data: Likewise.
29766 * conform/data/grp.h-data: Likewise.
29767 * conform/data/iconv.h-data: Likewise.
29768 * conform/data/inttypes.h-data: Likewise.
29769 * conform/data/langinfo.h-data: Likewise.
29770 * conform/data/libgen.h-data: Likewise.
29771 * conform/data/limits.h-data: Likewise.
29772 * conform/data/locale.h-data: Likewise.
29773 * conform/data/math.h-data: Likewise.
29774 * conform/data/monetary.h-data: Likewise.
29775 * conform/data/mqueue.h-data: Likewise.
29776 * conform/data/ndbm.h-data: Likewise.
29777 * conform/data/net/if.h-data: Likewise.
29778 * conform/data/netdb.h-data: Likewise.
29779 * conform/data/netinet/in.h-data: Likewise.
29780 * conform/data/nl_types.h-data: Likewise.
29781 * conform/data/poll.h-data: Likewise.
29782 * conform/data/pthread.h-data: Likewise.
29783 * conform/data/pwd.h-data: Likewise.
29784 * conform/data/regex.h-data: Likewise.
29785 * conform/data/sched.h-data: Likewise.
29786 * conform/data/search.h-data: Likewise.
29787 * conform/data/semaphore.h-data: Likewise.
29788 * conform/data/setjmp.h-data: Likewise.
29789 * conform/data/signal.h-data: Likewise.
29790 * conform/data/spawn.h-data: Likewise.
29791 * conform/data/stdarg.h-data: Likewise.
29792 * conform/data/stdio.h-data: Likewise.
29793 * conform/data/stdlib.h-data: Likewise.
29794 * conform/data/string.h-data: Likewise.
29795 * conform/data/strings.h-data: Likewise.
29796 * conform/data/stropts.h-data: Likewise.
29797 * conform/data/sys/ipc.h-data: Likewise.
29798 * conform/data/sys/mman.h-data: Likewise.
29799 * conform/data/sys/msg.h-data: Likewise.
29800 * conform/data/sys/resource.h-data: Likewise.
29801 * conform/data/sys/select.h-data: Likewise.
29802 * conform/data/sys/sem.h-data: Likewise.
29803 * conform/data/sys/shm.h-data: Likewise.
29804 * conform/data/sys/socket.h-data: Likewise.
29805 * conform/data/sys/stat.h-data: Likewise.
29806 * conform/data/sys/statvfs.h-data: Likewise.
29807 * conform/data/sys/time.h-data: Likewise.
29808 * conform/data/sys/timeb.h-data: Likewise.
29809 * conform/data/sys/times.h-data: Likewise.
29810 * conform/data/sys/types.h-data: Likewise.
29811 * conform/data/sys/uio.h-data: Likewise.
29812 * conform/data/sys/un.h-data: Likewise.
29813 * conform/data/sys/utsname.h-data: Likewise.
29814 * conform/data/sys/wait.h-data: Likewise.
29815 * conform/data/syslog.h-data: Likewise.
29816 * conform/data/tar.h-data: Likewise.
29817 * conform/data/termios.h-data: Likewise.
29818 * conform/data/utime.h-data: Likewise.
29819 * conform/data/utmpx.h-data: Likewise.
29820 * conform/data/varargs.h-data: Likewise.
29821 * conform/data/wchar.h-data: Likewise.
29822 * conform/data/wctype.h-data: Likewise.
29823 * conform/data/wordexp.h-data: Likewise.
29824
29825 * include/stropts.h: New file.
29826 * include/uchar.h: New file.
29827 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29828 * include/assert.h: Likewise.
29829 * include/ctype.h: Likewise.
29830 * include/dirent.h: Likewise.
29831 * include/dlfcn.h: Likewise.
29832 * include/fcntl.h: Likewise.
29833 * include/fnmatch.h: Likewise.
29834 * include/glob.h: Likewise.
29835 * include/grp.h: Likewise.
29836 * include/libio.h: Likewise.
29837 * include/locale.h: Likewise.
29838 * include/math.h: Likewise.
29839 * include/net/if.h: Likewise.
29840 * include/netdb.h: Likewise.
29841 * include/netinet/in.h: Likewise.
29842 * include/pthread.h: Likewise.
29843 * include/pwd.h: Likewise.
29844 * include/regex.h: Likewise.
29845 * include/sched.h: Likewise.
29846 * include/search.h: Likewise.
29847 * include/setjmp.h: Likewise.
29848 * include/signal.h: Likewise.
29849 * include/stdio.h: Likewise.
29850 * include/stdlib.h: Likewise.
29851 * include/string.h: Likewise.
29852 * include/sys/cdefs.h: Likewise.
29853 * include/sys/mman.h: Likewise.
29854 * include/sys/msg.h: Likewise.
29855 * include/sys/resource.h: Likewise.
29856 * include/sys/select.h: Likewise.
29857 * include/sys/socket.h: Likewise.
29858 * include/sys/stat.h: Likewise.
29859 * include/sys/statvfs.h: Likewise.
29860 * include/sys/time.h: Likewise.
29861 * include/sys/times.h: Likewise.
29862 * include/sys/uio.h: Likewise.
29863 * include/sys/utsname.h: Likewise.
29864 * include/sys/wait.h: Likewise.
29865 * include/termios.h: Likewise.
29866 * include/time.h: Likewise.
29867 * include/ulimit.h: Likewise.
29868 * include/unistd.h: Likewise.
29869 * include/utime.h: Likewise.
29870 * include/wchar.h: Likewise.
29871 * include/wctype.h: Likewise.
29872 * include/wordexp.h: Likewise.
29873
29874 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29875
7a270350
UD
29876 * time/time.h: TIME_UTC must be a macro.
29877 Make timespec_get available for ISO C11 only as well.
29878
7724defc
UD
298792012-02-24 Ulrich Drepper <drepper@gmail.com>
29880
29881 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29882 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29883
6b1d1d46
JM
298842012-02-24 Joseph Myers <joseph@codesourcery.com>
29885
29886 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 29887
0f8bbd69
JM
298882012-02-24 Joseph Myers <joseph@codesourcery.com>
29889
29890 * manual/texinfo.tex: Update to version 2012-01-19.16.
29891
66ab80bc
JM
298922012-02-24 Joseph Myers <joseph@codesourcery.com>
29893
29894 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29895
74981cc5
RM
298962012-02-24 Roland McGrath <roland@hack.frob.com>
29897
ee968201
RM
29898 [BZ #13738]
29899 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29900 * manual/fdl-1.3.texi: New file.
29901 * manual/fdl-1.1.texi: File removed.
29902
74981cc5
RM
29903 [BZ #13738]
29904 * manual/libc.texinfo (FDL_VERSION): New @set.
29905 Use it for mention of FDL in cover text.
29906 (Documentation License): Use it in @include file name.
29907
7bb764bc
JM
299082012-02-22 Joseph Myers <joseph@codesourcery.com>
29909 Roland McGrath <roland@hack.frob.com>
29910
29911 [BZ #5461]
29912 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29913 not LONG_LONG_MAX and LONG_LONG_MIN.
29914 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29915 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29916 name.
29917 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29918
6cbeae47
JM
299192012-02-22 Joseph Myers <joseph@codesourcery.com>
29920
29921 [BZ #2547]
29922 [BZ #11365]
29923 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29924 manipulate bits before adding and subtracting TWO23[sx].
29925 * math/libm-test.inc (nearbyint_test): Add more tests.
29926
fe45ce09
JM
299272012-02-22 Joseph Myers <joseph@codesourcery.com>
29928
29929 [BZ #2548]
29930 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29931 bits before adding and subtracting TWO23[sx].
29932 * math/libm-test.inc (rint_test): Add more tests.
29933 (rint_test_tonearest): Likewise.
29934 (rint_test_towardzero): Likewise.
29935 (rint_test_downward): Likewise.
29936 (rint_test_upward: Likewise.
29937
ff3b3d82
JM
299382012-02-22 Joseph Myers <joseph@codesourcery.com>
29939
29940 [BZ #10110]
29941 * include/stdc-predef.h: New file. Extracted from features.h.
29942 * include/features.h: Include stdc-predef.h.
29943 * Makefile (headers): Add stdc-predef.h.
29944 * CONFORMANCE (Compiler limitations): Update.
29945
ef0aab35
JM
299462012-02-22 Joseph Myers <joseph@codesourcery.com>
29947
29948 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29949
58639409
DM
299502012-02-21 David S. Miller <davem@davemloft.net>
29951
29952 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29953 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29954
c0e70b25
DM
299552012-02-20 David S. Miller <davem@davemloft.net>
29956
29957 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29958 using a normal save/restore sequence, rather than allocating a
29959 dummy stack frame just to store a frame pointer and restore.
29960 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29961
fb06851d
JM
299622012-02-21 Joseph Myers <joseph@codesourcery.com>
29963
29964 * manual/install.texi: Fix stray word in line-wrapped comment.
29965
7a8b71c3
DM
299662012-02-20 David S. Miller <davem@davemloft.net>
29967
d510c123
DM
29968 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29969 both binutils and gcc support GOTDATA.
29970
0722d7c2
DM
29971 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29972 "rd %pc" in the PIC register setup sequences.
29973
3d2b3019
DM
29974 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29975 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29976 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29977 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29978 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29979 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29980 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29981 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29982 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29983 (SYSCALL_ERROR_HANDLER): Likewise.
29984 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29985 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29986 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29987 (SYSCALL_ERROR_HANDLER): Likewise.
29988
c80098a9
DM
29989 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29990 (HAVE_GCC_GOTDATA): New.
29991 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29992 relocation support in both binutils and gcc.
29993 * sysdeps/sparc/elf/configure: Regenerate.
29994
3a2545a0
DM
29995 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29996 * sysdeps/sparc/sparc32/elf/configure: Delete.
29997 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29998 * sysdeps/sparc/sparc64/elf/configure: Delete.
29999 * sysdeps/sparc/elf/configure.in: New file.
30000 * sysdeps/sparc/elf/configure: Generate.
30001
7a8b71c3
DM
30002 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30003 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30004 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30005 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30006 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30007
f1e86fca
JM
300082012-02-21 Joseph Myers <joseph@codesourcery.com>
30009
30010 * manual/install.texi: Do not mention specific glibc version
30011 numbers.
30012 * manual/libc.texinfo (VERSION, UPDATED): Update.
30013 (@copying): Use @copyright{} and range of years.
30014
0e7dfaef
JM
300152012-02-21 Joseph Myers <joseph@codesourcery.com>
30016
30017 [BZ #13695]
30018 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30019 [crti.S not in sysdirs] (generated): Do not append.
30020 [crti.S not in sysdirs] (omit-deps): Likewise.
30021 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30022 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30023 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30024 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30025 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30026 Likewise.
30027 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30028 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30029 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30030 * csu/defs.awk: Remove file.
30031 * sysdeps/generic/initfini.c: Likewise.
30032 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30033 variable.
30034 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30035 Likewise.
30036
599af3ca
JM
300372012-02-20 Joseph Myers <joseph@codesourcery.com>
30038
30039 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30040 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30041 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30042 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30043 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30044 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30045 <bits/epoll.h>.
30046 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30047 (__EPOLL_PACKED): Define to empty if not defined by
30048 <bits/epoll.h>.
30049 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30050 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30051 bits/epoll.h.
30052
0e499750
JM
300532012-02-20 Joseph Myers <joseph@codesourcery.com>
30054
30055 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30056 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30057 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30058 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30059 <bits/timerfd.h>.
30060 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30062 bits/timerfd.h.
30063
5ad91f6e
JM
300642012-02-20 Joseph Myers <joseph@codesourcery.com>
30065
30066 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30067 in C locale.
30068 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30069 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30070 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30072
06b99b02
AJ
300732012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30074
30075 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30076 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30077
7638c0fd
AS
300782012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30079
30080 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30081 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30082 defined.
30083 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30084 Likewise.
30085 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30086 entry for 2.16.
30087
92221550
AJ
300882012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30089
30090 * math/w_acos.c: Use non-signaling floating-point comparisons.
30091 * math/w_acosf.c: Likewise.
30092 * math/w_acosh.c: Likewise.
30093 * math/w_acoshf.c: Likewise.
30094 * math/w_acoshl.c: Likewise.
30095 * math/w_acosl.c: Likewise.
30096 * math/w_asin.c: Likewise.
30097 * math/w_asinf.c: Likewise.
30098 * math/w_asinl.c: Likewise.
30099 * math/w_atanh.c: Likewise.
30100 * math/w_atanhf.c: Likewise.
30101 * math/w_atanhl.c: Likewise.
30102 * math/w_exp2.c: Likewise.
30103 * math/w_exp2f.c: Likewise.
30104 * math/w_exp2l.c: Likewise.
30105 * math/w_j0.c: Likewise.
30106 * math/w_j0f.c: Likewise.
30107 * math/w_j0l.c: Likewise.
30108 * math/w_j1.c: Likewise.
30109 * math/w_j1f.c: Likewise.
30110 * math/w_j1l.c: Likewise.
30111 * math/w_jn.c: Likewise.
30112 * math/w_jnf.c: Likewise.
30113 * math/w_log.c: Likewise.
30114 * math/w_log10.c: Likewise.
30115 * math/w_log10f.c: Likewise.
30116 * math/w_log10l.c: Likewise.
30117 * math/w_log2.c: Likewise.
30118 * math/w_log2f.c: Likewise.
30119 * math/w_log2l.c: Likewise.
30120 * math/w_logf.c: Likewise.
30121 * math/w_logl.c: Likewise.
30122 * math/w_sqrt.c: Likewise.
30123 * math/w_sqrtf.c: Likewise.
30124 * math/w_sqrtl.c: Likewise.
30125 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30126 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30127 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30128 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30129 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30130
ebaf36eb
JM
301312012-02-19 Joseph Myers <joseph@codesourcery.com>
30132
30133 [BZ #9739]
30134 * manual/string.texi (strnlen): Use correct parameter name in
30135 equivalent expression.
30136
71c254a6
JM
301372012-02-19 Joseph Myers <joseph@codesourcery.com>
30138
30139 [BZ #11174]
30140 * manual/users.texi (seteuid): Consistently use neweuid for
30141 argument name.
30142
16d2c631
JM
301432012-02-19 Joseph Myers <joseph@codesourcery.com>
30144
30145 [BZ #13704]
30146 * manual/nss.texi (Services in the NSS configuration): Correct
30147 list of services in example configuration file.
30148
cd837b09
NB
301492012-02-19 Nick Bowler <nbowler@draconx.ca>
30150
30151 [BZ #11322]
30152 * manual/arith.texi: Remove statements about negative zero
30153 behaving identically to zero.
30154
02c4bbad
JM
301552012-02-18 Joseph Myers <joseph@codesourcery.com>
30156
30157 [BZ #5993]
30158 * manual/install.texi: Do not document upgrading from libc5.
30159
366842e7
JM
301602012-02-18 Joseph Myers <joseph@codesourcery.com>
30161
30162 [BZ #4596]
30163 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30164
dd54084d
DM
301652012-02-18 David S. Miller <davem@davemloft.net>
30166
30167 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30168 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30169 %o7 across the call.
30170 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30171 instead.
30172 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30173 SETUP_PIC_REG_LEAF.
30174 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30175 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30176 * sysdeps/sparc/crtn.S: Likewise.
30177
2bcc53a3
UD
301782012-02-17 Ulrich Drepper <drepper@gmail.com>
30179
30180 * aout/Makefile: Remove.
30181
09c093b5
RK
301822012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30183
30184 [BZ #13058]
30185 * manual/examples/argp-ex1.c (main): Format definition in GNU
30186 style.
30187 * manual/examples/argp-ex2.c (main): Likewise.
30188 * manual/examples/argp-ex3.c (main): Likewise.
30189 * manual/examples/argp-ex4.c (main): Likewise.
30190 * manual/examples/longopt.c (main): Use new-style prototype
30191 definition.
30192 * manual/examples/strncat.c (main): Specify return type and use
30193 (void) for arguments.
30194 * manual/examples/subopt.c (main): Use char **argv argument.
30195
2ee633a2
JM
301962012-02-17 Joseph Myers <joseph@codesourcery.com>
30197
30198 [BZ #5077]
30199 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30200 rounding modes.
30201
0520adde
FB
302022012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30203
30204 [BZ #6907]
30205 * manual/string.texi (strchr): Change when strchrnul is
30206 recommended.
30207
3f4081cd
DGM
302082012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30209
30210 [BZ #174]
30211 * manual/locale.texi (setlocale): Document LOCPATH.
30212
d1b10e78
JM
302132012-02-17 Joseph Myers <joseph@codesourcery.com>
30214
30215 [BZ #10210]
30216 * manual/process.texi (execle): Move @dots{} before last argument.
30217
79c6869c
PB
302182012-02-17 Paul Bolle <pebolle@tiscali.nl>
30219
30220 [BZ #12047]
30221 * manual/charset.texi (Generic Charset Conversion): Fix typo
30222 (LC_TYPE -> LC_CTYPE).
30223
cc6e48bc
NB
302242012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30225
30226 [BZ #5805]
30227 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30228 (scalbnf): Likewise.
30229 (scalbnl): Likewise.
30230 (scalbln): Likewise.
30231 (scalblnf): Likewise.
30232 (scalblnl): Likewise.
30233 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30234 (vwarnx): Likewise.
30235 (verr): Likewise.
30236 (verrx): Likewise.
30237 * manual/filesys.texi (telldir): Use braces around return type.
30238 * manual/llio.texi (mmap): Add space after comma.
30239 (mmap64): Likewise.
30240 * manual/math.texi (jn): Use @var{} on parameter names.
30241 (jnf): Likewise.
30242 (jnl): Likewise.
30243 (yn): Likewise.
30244 (ynf): Likewise.
30245 (ynl): Likewise.
30246 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30247 line.
30248 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30249 "...".
30250 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30251 (sched_get_priority_max): Likewise.
30252 * manual/signal.texi (sigvec): Add space after comma.
30253 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30254 names.
30255 (if_indextoname): Likewise.
30256 (if_freenameindex): Likewise.
30257 (sendto): Use ',' instead of '.' in prototype.
30258 * manual/startup.texi (syscall): Use @dots{} instead of literal
30259 "...".
30260 * manual/stdio.texi (__fpending): Separate initial words of
30261 paragraph from @deftypefun line.
30262 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30263 "...".
30264 (vsyslog): Use @var{} on parameter names.
30265 * manual/terminal.texi (stty): Use @var{} on parameter names.
30266 * manual/users.texi (getutmp): Use @var{} on parameter names.
30267 (getutmpx): Likewise.
30268
5b23062f
JM
302692012-02-17 Joseph Myers <joseph@codesourcery.com>
30270
30271 [BZ #6884]
30272 * manual/stdio.texi (fopen): Fix typos in description of
30273 ",ccs=STRING".
30274
8dee4833
AJ
302752012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30276
30277 [BZ #4026]
30278 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30279 get clock_id definition.
30280
9078ce93
TS
302812012-02-17 Thomas Schwinge <thomas@schwinge.name>
30282
30283 [BZ #4822]
30284 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30285 (madvise): Cast every argument to void on its own.
30286
3835c55f
JM
302872012-02-17 Joseph Myers <joseph@codesourcery.com>
30288
30289 [BZ #9902]
30290 * manual/startup.texi (Exit Status): Fix typo.
30291
35c47e37
JM
302922012-02-17 Joseph Myers <joseph@codesourcery.com>
30293
30294 [BZ #10140]
30295 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30296 * manual/examples/argp-ex2.c: Likewise.
30297 * manual/examples/argp-ex3.c: Likewise.
30298
e3b69ca7
RH
302992012-02-16 Richard Henderson <rth@redhat.com>
30300
30301 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30302 * sysdeps/s390/s390-32/initfini.c: Remove.
30303 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30304 * sysdeps/s390/s390-64/initfini.c: Remove.
30305
df83af67
KK
303062012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30307
30308 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30309 compiler output for sysdeps/generic/initfini.c.
30310 * sysdeps/sh/elf/initfini.c: Remove file.
30311
f63f3380
DM
303122012-02-16 David S. Miller <davem@davemloft.net>
30313
fb59b3a4
DM
30314 [BZ #11494]
30315 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30316
f63f3380
DM
30317 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30318 * sysdeps/sparc/crti.S: New file.
30319 * sysdeps/sparc/crtn.S: New file.
30320 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30321 * sysdeps/sparc/sparc64/Makefile: Likewise.
30322
df6a4a4a
MF
303232012-02-15 Mike Frysinger <vapier@gentoo.org>
30324
6dd8f3dc 30325 [BZ #3335]
df6a4a4a
MF
30326 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30327
1cac7236
RM
303282012-02-15 Roland McGrath <roland@hack.frob.com>
30329
d2c736f8
RM
30330 [BZ #4822]
30331 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30332
1cac7236
RM
30333 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30334 (write, read, close): Likewise.
30335 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30336
8e475601
JM
303372012-02-15 Joseph Myers <joseph@codesourcery.com>
30338
30339 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30340 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30341 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30342 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30343 <bits/signalfd.h>.
30344 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30345 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30346 bits/signalfd.h.
30347
ed656b40
MP
303482012-02-14 Marek Polacek <polacek@redhat.com>
30349
30350 * sysdeps/x86_64/crti.S: New file.
30351 * sysdeps/x86_64/crtn.S: New file.
30352 * sysdeps/x86_64/elf/initfini.c: Remove file.
30353
2a979d3a
JM
303542012-02-13 Joseph Myers <joseph@codesourcery.com>
30355
30356 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30357 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30358 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30359 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30360 <bits/inotify.h>.
30361 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30362 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30363 bits/inotify.h.
30364
2a418ac3
JM
303652012-02-13 Joseph Myers <joseph@codesourcery.com>
30366
30367 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30368 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30369 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30370 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30371 <bits/eventfd.h>.
30372 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30374 bits/eventfd.h.
30375
fb779be7
TS
303762012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30377
e19e83c5
RM
30378 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30379 __feraiseexcept instead of feraiseexcept.
7c35ffed 30380
fb779be7
TS
30381 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30382 nanosleep invocations.
30383 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30384 strings, and add error checking for a nanosleep invocations.
30385
59ba27a6
PE
303862012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30387
30388 Replace FSF snail mail address with URLs, as per GNU coding standards.
30389 Most of the snail mail addresses were wrong anyway, and omitting
30390 them makes the source code easier to maintain. Almost all of the
30391 changes are to license notices and to locale LC_IDENTIFICATION
30392 addresses, except for this one:
30393 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30394 not its snail mail address.
30395
57b957eb
RH
303962012-02-09 Richard Henderson <rth@twiddle.net>
30397
af850b1c
RH
30398 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30399 of kernel-features.h.
30400
57b957eb
RH
30401 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30402
6b73181a
MP
304032012-02-08 Marek Polacek <polacek@redhat.com>
30404
30405 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30406 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30407 * sysdeps/gnu/_G_config.h: Likewise.
30408 * sysdeps/generic/_G_config.h: Likewise.
30409
26ecc33a
AS
304102012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30411
6c6dbc63
AS
30412 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30413 tests.
30414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30415
e216c012
AS
30416 * sysdeps/powerpc/powerpc32/crti.S: New file.
30417 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30418 * sysdeps/powerpc/powerpc64/crti.S: New file.
30419 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30420
26ecc33a
AS
30421 * Makeconfig (have-initfini): Don't set.
30422 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30423 * configure.in (nopic_initfini): Don't substitute.
30424 * config.h.in (HAVE_INITFINI): Don't #undef.
30425 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30426 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30427
3add8e13
JM
304282012-02-08 Joseph Myers <joseph@codesourcery.com>
30429
30430 Support crti.S and crtn.S provided directly by architectures.
30431 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30432 [crti.S in sysdirs] (omit-deps): Likewise.
30433 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30434 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30435 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30436 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30437 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30438 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30439 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30440 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30441 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30442 compiler output for sysdeps/generic/initfini.c.
30443 * sysdeps/i386/elf/Makefile: Remove file.
30444 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30445
a22f12b4
MP
304462012-02-07 Marek Polacek <polacek@redhat.com>
30447
30448 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30449 * sysdeps/gnu/_G_config.h: Likewise.
30450 * sysdeps/mach/hurd/_G_config.h: Likewise.
30451
148cf100
MP
304522012-02-07 Marek Polacek <polacek@redhat.com>
30453
30454 * math/Makefile (tests): Add tst-CMPLX2.
30455 * math/tst-CMPLX2.c: New file.
30456
cfdc0dd7
AS
304572012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30458
84ba42c4
AS
30459 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30460
cfdc0dd7
AS
30461 * math/libm-test.inc (jn_test): Add missing L suffix.
30462
622c86f4
MP
304632012-02-06 Marek Polacek <polacek@redhat.com>
30464
30465 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30466 * sysdeps/i386/fpu/e_powf.S: Likewise.
30467 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30468 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30469 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30470 * sysdeps/i386/fpu/e_pow.S: Likewise.
30471 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30472 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30473 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30474 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30475 * sysdeps/i386/fpu/e_log2.S: Likewise.
30476 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30477 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30478 * sysdeps/i386/fpu/e_powl.S: Likewise.
30479 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30480 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30481 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30482 * sysdeps/i386/fpu/e_logl.S: Likewise.
30483 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30484 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30485 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30486 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30487 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30488 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30489 * sysdeps/i386/fpu/e_log.S: Likewise.
30490 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30491 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30492 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30493 * sysdeps/i386/fpu/e_logf.S: Likewise.
30494 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30495 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30496 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30497 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30498 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30499 * sysdeps/i386/fpu/e_log10.S: Likewise.
30500 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30501 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30502 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30503 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30504 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30505 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30506 * sysdeps/i386/asm-syntax.h: Likewise.
30507 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30508 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30509 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30510 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30511 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30512 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30513 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30514 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30515 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30516 * sysdeps/powerpc/sysdep.h: Likewise.
30517 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30518 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30519
d4a54ac6
JM
305202012-02-06 Joseph Myers <joseph@codesourcery.com>
30521
30522 [BZ #411]
30523 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30524
314054ea
JM
305252012-02-06 Joseph Myers <joseph@codesourcery.com>
30526
30527 * sysdeps/i386/sysdep.h: Include <features.h>.
30528 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30529 version.
30530
d8e0ca50
JM
305312012-02-05 Joseph Myers <joseph@codesourcery.com>
30532
30533 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30534 Define.
30535 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30536 LOAD_PIC_REG_STR.
30537
b1da7dd9
JM
305382012-02-03 Joseph Myers <joseph@codesourcery.com>
30539
30540 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30541 (SETUP_PIC_REG): Use GET_PC_THUNK.
30542 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30543 macro.
30544
9a1d9254
JM
305452012-02-03 Joseph Myers <joseph@codesourcery.com>
30546
30547 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30548 for non-PIC compilation.
30549 (SETUP_PIC_REG): Add .p2align directive.
30550 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30551 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30552 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30553 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30554 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30555 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30556 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30557 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30558 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30559 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30560 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30561 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30562 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30563 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30564 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30565 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30566 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30567 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30568 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30569 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30570 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30571 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30572 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30573 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30574 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30575 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30576 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30577 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30578 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30579 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30580 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30581 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30582 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30583 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30584 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30585 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30586 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30587 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30588 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30589 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30590 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30591
65dc3b75
JM
305922012-02-03 Joseph Myers <joseph@codesourcery.com>
30593
30594 * math/tst-CMPLX.c: Include <stdio.h>.
30595
d55bf177
JM
305962012-01-31 Joseph Myers <joseph@codesourcery.com>
30597
30598 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30599 float.
30600 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30601 * sysdeps/sparc/bits/mathdef.h: Likewise.
30602
69db4f8f
MP
306032012-01-31 Marek Polacek <polacek@redhat.com>
30604
30605 * libio/libio.h: Don't define _PARAMS.
30606 * locale/programs/config.h: Don't define PARAMS.
30607 * stdlib/strtol_l.c: Likewise.
30608 (__strtol_l): Remove PARAMS from the prototype.
30609
41b81892
UD
306102012-01-31 Ulrich Drepper <drepper@gmail.com>
30611
3b49edc0
UD
30612 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30613 names. Just use the correct names. Remove unnecessary wrapper
30614 functions.
30615 * malloc/arena.c: Likewise.
30616 * malloc/hooks.c: Likewise.
30617
41b81892
UD
30618 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30619 ARENA_TEST says not to. Simplify test for creation of a new arena.
30620 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30621
27a25b6e
UD
306222012-01-30 Ulrich Drepper <drepper@gmail.com>
30623
30624 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30625 into tail calls.
30626 (update_get_addr): New function.
30627 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30628 GET_ADDR_MODULE parameter.
30629
c8a89e7d
JM
306302012-01-30 Joseph Myers <joseph@codesourcery.com>
30631
30632 * crypt/cert.c: Remove __STDC__ conditionals.
30633 * crypt/crypt-entry.c: Likewise.
30634 * crypt/crypt_util.c: Likewise.
30635 * libio/filedoalloc.c: Likewise.
30636 * libio/fileops.c: Likewise.
30637 * libio/genops.c: Likewise.
30638 * libio/iofclose.c: Likewise.
30639 * libio/iofdopen.c: Likewise.
30640 * libio/iofopen.c: Likewise.
30641 * libio/iofopen64.c: Likewise.
30642 * libio/iogetdelim.c: Likewise.
30643 * libio/iopopen.c: Likewise.
30644 * libio/obprintf.c: Likewise.
30645 * libio/oldfileops.c: Likewise.
30646 * libio/oldiofclose.c: Likewise.
30647 * libio/oldiofdopen.c: Likewise.
30648 * libio/oldiofopen.c: Likewise.
30649 * libio/oldiopopen.c: Likewise.
30650 * libio/wfiledoalloc.c: Likewise.
30651 * libio/wgenops.c: Likewise.
30652 * locale/programs/xmalloc.c: Likewise.
30653 * misc/syslog.c: Likewise.
30654 * stdio-common/xbug.c: Likewise.
30655 * string/memchr.c: Likewise.
30656 * string/memcmp.c: Likewise.
30657 * string/memrchr.c: Likewise.
30658 * string/rawmemchr.c: Likewise.
30659 * sysdeps/posix/getcwd.c: Likewise.
30660 * time/strftime_l.c: Likewise.
30661
3b100462
JM
306622012-01-30 Joseph Myers <joseph@codesourcery.com>
30663
30664 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
30665 * config.make.in (config-cflags-sse2avx): Define.
30666 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30667 Fix typo.
30668
607998af
CM
306692012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30670
30671 * scripts/config.guess: Update from upstream config git repository.
30672 * scripts/config.sub: Likewise.
30673
3601428f
CM
306742012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30675
3ac8b282
CM
30676 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30677 (EM_NUM): Update.
30678 (R_TILEPRO_*, R_TILEGX_*): New macros.
30679
e034841e
CM
30680 * scripts/firstversions.awk: Fix bug in version range handling.
30681
540d7568
CM
30682 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30683
3601428f
CM
30684 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30685
463de862
CM
30686 * include/sys/epoll.h: New file.
30687 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30688 libc_hidden_def.
30689
73139a76
UD
306902012-01-28 Ulrich Drepper <drepper@gmail.com>
30691
96bc5b45
UD
30692 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30693 Avoid unnecessary __WORDSIZE == 64 test.
30694 (fmaxf): Use VEX format if possible.
30695 (fmax): Likewise.
30696 (fminf): Likewise.
30697 (fmin): Likewise.
30698
56f6f6a2
UD
30699 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30700 * math/math_private.h: Remove libc_fegetround* and
30701 libc_fesetround*.
30702 * sysdeps/i386/configure.in: Check for -msse2avx.
30703 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30704 also if SSE2AVX is defined.
30705 Remove libc_fegetround* and libc_fesetround*.
30706 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30707 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30708 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30709 of HAS_YMM_USABLE.
30710 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30711 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30712 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30713 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30714 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30715
73139a76
UD
30716 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30717
d73f93a4
AZ
307182012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30719
30720 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30721 size is not set.
30722 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30723
6ee65ed6
UD
307242012-01-27 Ulrich Drepper <drepper@gmail.com>
30725
30726 [BZ #13618]
30727 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30728 relocation.
30729 * Makeconfig (libm): Define.
30730 * elf/Makefile: Add rules to build and run tst-relsort1.
30731 * elf/tst-relsort1.c: New file.
30732 * elf/tst-relsort1mod1.c: New file.
30733 * elf/tst-relsort1mod2.c: New file.
30734
8db21882
JM
307352012-01-27 Joseph Myers <joseph@codesourcery.com>
30736
30737 * math/s_ldexp.c: Remove __STDC__ conditionals.
30738 * math/s_ldexpf.c: Likewise.
30739 * math/s_ldexpl.c: Likewise.
30740 * math/s_nextafter.c: Likewise.
30741 * math/s_nexttowardf.c: Likewise.
30742 * math/s_significand.c: Likewise.
30743 * math/s_significandf.c: Likewise.
30744 * math/s_significandl.c: Likewise.
30745 * math/w_jnl.c: Likewise.
30746 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30747 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30748 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30749 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30750 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30751 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30752 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30753 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30754 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30755 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30756 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30757 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30758 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30759 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30760 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30761 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30762 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30763 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30764 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30765 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30766 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30767 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30768 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30769 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30770 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30771 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30772 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30773 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30774 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30775 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30776 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30777 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30778 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30779 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30780 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30781 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30782 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30783 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30784 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30785 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30786 * sysdeps/ieee754/k_standard.c: Likewise.
30787 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30788 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30789 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30790 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30791 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30792 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30793 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30794 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30795 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30796 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30797 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30798 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30799 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30800 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30801 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30802 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30803 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30804 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30805 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30806 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30807 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30808 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30809 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30810 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30811 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30812 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30813 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30814 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30815 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30816 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30817 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30818 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30819 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30820 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30821 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30822 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30823 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30824 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30825 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30826 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30827 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30828 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30829 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30830 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30831 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30832 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30833 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30834 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30835 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30836 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30837 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30838 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30839 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30840 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30841 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30842 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30843 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30844 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30845 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30846 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30847 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30848 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30849 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30850 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30851 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30852 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30853 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30854 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30855 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30856 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30857 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30858 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30859 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30860 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30861 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30862 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30863 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30864 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30865 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30866 * sysdeps/ieee754/s_matherr.c: Likewise.
30867 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30868 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30869 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30870 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30871
965a54a4
JM
308722012-01-26 Joseph Myers <joseph@codesourcery.com>
30873
30874 * crypt/md5.h: Remove __STDC__ conditionals.
30875 * libio/libioP.h: Likewise.
30876 * locale/programs/config.h: Likewise.
30877 * sysdeps/generic/sysdep.h: Likewise.
30878 * sysdeps/i386/asm-syntax.h: Likewise.
30879 * sysdeps/s390/asm-syntax.h: Likewise.
30880 * sysdeps/unix/sysdep.h: Likewise.
30881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30883
7071ad79
JM
308842012-01-26 Joseph Myers <joseph@codesourcery.com>
30885
30886 * libio/libio.h: Remove __STDC__ conditionals.
30887 * malloc/obstack.h: Likewise.
30888 * math/complex.h: Likewise.
30889 * math/math.h: Likewise.
30890 * sysdeps/generic/_G_config.h: Likewise.
30891 * sysdeps/gnu/_G_config.h: Likewise.
30892 * sysdeps/mach/hurd/_G_config.h: Likewise.
30893 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30894 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30895 * sysdeps/sparc/bits/mathdef.h: Likewise.
30896
afc5ed09
UD
308972012-01-26 Ulrich Drepper <drepper@gmail.com>
30898
30899 [BZ #13583]
30900 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 30901 Clean up HAS_* macros.
afc5ed09 30902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
30903 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30904 possible.
30905 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30906 HAS_AVX.
30907 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30908 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30909 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30910 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30911 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 30912
bdb6de1d
JM
309132012-01-25 Joseph Myers <joseph@codesourcery.com>
30914
30915 * elf/tst-unique3.cc (gets): Remove declaration.
30916 * elf/tst-unique3lib.cc (gets): Likewise.
30917 * elf/tst-unique3lib2.cc (gets): Likewise.
30918 * elf/tst-unique4.cc (gets): Likewise.
30919
b15549e6
UD
309202012-01-24 Ulrich Drepper <drepper@gmail.com>
30921
30922 * include/stdio.h: Add C++ protection. Add gets declarations and
30923 definitions.
30924 * debug/tst-chk1.c: Don't declare gets here.
30925 * stdio-common/tst-gets.c: Likewise.
30926
a037381f
JM
309272012-01-24 Joseph Myers <joseph@codesourcery.com>
30928
30929 * posix/glob: Remove directory.
30930
f1d4aa75
JM
309312012-01-24 Joseph Myers <joseph@codesourcery.com>
30932
30933 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30934
81c0c964
PT
309352012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30936
30937 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30938 of the non-standard EPFNOSUPPORT.
30939
0ea698ae
ST
309402011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30941
30942 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30943 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30944 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30945
d220b117
UD
309462012-01-21 Ulrich Drepper <drepper@gmail.com>
30947
30948 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30949
3e1aa84e
UD
309502012-01-20 Ulrich Drepper <drepper@gmail.com>
30951
30952 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30953 transient errors.
30954 * nscd/grpcache.c (cache_addgr): Likewise.
30955 * nscd/hstcache.c (cache_addhst): Likewise.
30956 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30957 * nscd/pwdcache.c (cache_addpw): Likewise.
30958 * nscd/servicescache.c (cache_addserv): Likewise.
30959
400aa020
UD
309602012-01-16 Ulrich Drepper <drepper@gmail.com>
30961
d77e7869
UD
30962 * malloc/malloc.c: Various cleanups.
30963 * malloc/hooks.c: Likewise.
30964
400aa020
UD
30965 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30966 * stdlib/bug-fmtmsg1.c: New file.
30967
30968 * stdlib/fmtmsg.c (init): Add missing unlock.
30969 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30970
e0a309cf
MP
309712012-01-12 Marek Polacek <polacek@redhat.com>
30972
30973 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30974 and _GNU_SOURCE.
30975
929d11c7
WS
309762012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30977
30978 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30979 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30980 macro to ensure uniqueness of label name.
30981 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30982 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30983
41d0e869
UD
309842012-01-11 Ulrich Drepper <drepper@gmail.com>
30985
0cc5ed3b
UD
30986 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30987
41d0e869
UD
30988 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30989 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30990 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30991 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30992
a47a831a
UD
309932012-01-10 Ulrich Drepper <drepper@gmail.com>
30994
daa891c0
UD
30995 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30996
30997 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30998 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30999 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31000
e58ef0f2
UD
31001 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31002
a47a831a 31003 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
31004 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31005 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 31006 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
31007
31008 * math/bits/math-finite.h: Add ldexp support.
31009
a0bfc9c7
MP
310102012-01-10 Marek Polacek <polacek@redhat.com>
31011
31012 * locale/programs/localedef.h (show_archive_content): Add noreturn
31013 attribute.
31014
d6e97a1d
UD
310152012-01-09 Ulrich Drepper <drepper@gmail.com>
31016
31017 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31018
d5835c26
UD
310192012-01-08 Ulrich Drepper <drepper@gmail.com>
31020
e5f484c6
UD
31021 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31022
d5835c26
UD
31023 * io/Makefile (headers): Add bits/poll2.h.
31024
d1f741e9
WS
310252011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31026
31027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31028 typo #include statement.
31029
ec09c1c4
UD
310302012-01-08 Ulrich Drepper <drepper@gmail.com>
31031
31032 * include/sys/cdefs.h: Define __attribute_alloc_size.
31033 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31034 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31035 * elf/pldd.c: Likewise.
31036 * iconv/iconv_charmap.c: Likewise.
31037 * iconv/iconvconfig.c: Likewise.
31038 * iconv/strtab.c: Likewise.
31039 * locale/programs/locale.c: Likewise.
31040 * locale/programs/localedef.h: Likewise.
31041 * locale/programs/simple-hash.c: Likewise.
31042 * nscd/nscd.h: Likewise.
31043 * nss/makedb.c: Likewise.
31044 * sysdeps/generic/ldconfig.h: Likewise.
31045 * locale/programs/localedef.c: Remove xmalloc prototype.
31046 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31047
20b38e03
PP
310482012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31049
31050 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31051 appropriate.
31052
a0da5fe1
UD
310532012-01-08 Ulrich Drepper <drepper@gmail.com>
31054
1d5a644a 31055 * math/Makefile (tests): Add tst-CMPLX.
669704fd 31056 * math/tst-CMPLX.c: New file.
1d5a644a 31057
8784a6db
UD
31058 * math/complex.h (CMPLXL): Fix typo.
31059
d9a216c0
UD
31060 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31061 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31062 GLIBC_2.16.
31063 * debug/tst-chk1.c: Add poll and ppoll tests.
31064 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31065 * include/sys/poll.h: Add hidden proto for ppoll.
31066 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31067 * sysdeps/mach/hurd/ppoll.c: Likewise.
31068 * io/ppoll.c: Likewise.
31069 * debug/poll_chk.c: New file.
31070 * debug/ppoll_chk.c: New file.
31071 * include/bits/poll2.h: New file.
31072 * io/bits/poll2.h: New file.
31073
ac097f5c
UD
31074 [BZ #1350]
31075 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31076
2119dcfa
UD
31077 * configure.in: static is always set to yes. Remove.
31078 * config.make.in: Don't set build-static.
31079 * Makeconfig: Remove use of build-static.
31080 * dlfcn/Makefile: Likewise.
31081 * elf/Makefile: Likewise.
31082 * math/Makefile: Likewise.
31083 * misc/Makefile: Likewise.
31084 * nptl/Makefile: Likewise.
31085 * sysdeps/mach/hurd/Makefile: Likewise.
31086
121766a9
UD
31087 * configure.in: PWD_P is not used anymore.
31088 * config.make.in: Remove PWD_P entry.
31089
51a1d39c 31090 * configure.in: Remove last remnants of RANLIB.
8720d066 31091 No need to check for signed size_t anymore.
215f4bdc
UD
31092 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31093 and IA-64.
3857022a 31094 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
31095 * aclocal.m4: Likewise.
31096
d3ed7225
UD
31097 * wcsmbs/mbrtoc16.c: Implement using towc function.
31098 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31099 * wcsmbs/wcsmbsload.c: Likewise.
31100 * iconv/gconv_simple.c: Likewise.
31101 * iconv/gconv_int.h: Likewise.
31102 * iconv/gconv_builtin.h: Likewise.
31103 * iconv/iconv_prog.c: Remove CHAR16 handling.
31104
31105 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31106
31107 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31108
a0da5fe1
UD
31109 * configure.in: Remove --with-elf and --enable-bounded options.
31110 Dont set base_machine for ia64. More non-ELF conditions removed.
31111 Remove testing and setting of leading underscore information.
31112 * config.make.in (build-bounded): Set to no.
31113 * config.h.in: Remove NO_UNDERSCORES entry.
31114 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31115 them.
31116 * csu/start.c: Remove !NO_UNDERSCORE code.
31117 * locale/localeinfo.h: Likewise.
31118 * sysdeps/generic/machine-gmon.h: Likewise.
31119 * sysdeps/generic/sysdep.h: Likewise.
31120 * sysdeps/i386/sysdep.h: Likewise.
31121 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31122 * sysdeps/mach/sysdep.h: Likewise.
31123 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31124 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31125 * sysdeps/sh/sysdep.h: Likewise.
31126 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31127 * sysdeps/unix/i386/sysdep.S: Likewise.
31128 * sysdeps/unix/sparc/start.c: Likewise.
31129 * sysdeps/unix/sparc/sysdep.S: Likewise.
31130 * sysdeps/unix/sparc/sysdep.h: Likewise.
31131 * sysdeps/unix/start.c: Likewise.
31132 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31133 * sysdeps/x86_64/sysdep.h: Likewise.
31134
df78418a
UD
311352012-01-07 Ulrich Drepper <drepper@gmail.com>
31136
a784e502
UD
31137 [BZ #13553]
31138 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31139 for non-gcc.
31140 * argp/argp-fmtstream.h: Use const instead __const.
31141 * argp/argp.h: Likewise.
31142 * assert/assert.h: Likewise.
31143 * bits/fenv.h: Likewise.
31144 * bits/sched.h: Likewise.
31145 * bits/sigset.h: Likewise.
31146 * bits/sigthread.h: Likewise.
31147 * catgets/nl_types.h: Likewise.
31148 * conform/data/pthread.h-data: Likewise.
31149 * crypt/crypt-private.h: Likewise.
31150 * crypt/crypt.h: Likewise.
31151 * crypt/crypt_util.c: Likewise.
31152 * ctype/ctype.h: Likewise.
31153 * debug/execinfo.h: Likewise.
31154 * debug/mbsnrtowcs_chk.c: Likewise.
31155 * debug/mbsrtowcs_chk.c: Likewise.
31156 * debug/wcsnrtombs_chk.c: Likewise.
31157 * debug/wcsrtombs_chk.c: Likewise.
31158 * debug/wcstombs_chk.c: Likewise.
31159 * dirent/dirent.h: Likewise.
31160 * dlfcn/dlfcn.h: Likewise.
31161 * elf/neededtest4.c: Likewise.
31162 * grp/grp.h: Likewise.
31163 * gshadow/gshadow.h: Likewise.
31164 * iconv/gconv.h: Likewise.
31165 * iconv/gconv_int.h: Likewise.
31166 * iconv/gconv_simple.c: Likewise.
31167 * iconv/iconv.h: Likewise.
31168 * iconv/loop.c: Likewise.
31169 * iconv/skeleton.c: Likewise.
31170 * include/aio.h: Likewise.
31171 * include/aliases.h: Likewise.
31172 * include/argz.h: Likewise.
31173 * include/arpa/inet.h: Likewise.
31174 * include/assert.h: Likewise.
31175 * include/dirent.h: Likewise.
31176 * include/dlfcn.h: Likewise.
31177 * include/execinfo.h: Likewise.
31178 * include/fcntl.h: Likewise.
31179 * include/fenv.h: Likewise.
31180 * include/glob.h: Likewise.
31181 * include/grp.h: Likewise.
31182 * include/libintl.h: Likewise.
31183 * include/mntent.h: Likewise.
31184 * include/netdb.h: Likewise.
31185 * include/pwd.h: Likewise.
31186 * include/rpc/netdb.h: Likewise.
31187 * include/sched.h: Likewise.
31188 * include/search.h: Likewise.
31189 * include/shadow.h: Likewise.
31190 * include/signal.h: Likewise.
31191 * include/stdio.h: Likewise.
31192 * include/stdlib.h: Likewise.
31193 * include/string.h: Likewise.
31194 * include/sys/socket.h: Likewise.
31195 * include/sys/stat.h: Likewise.
31196 * include/sys/statfs.h: Likewise.
31197 * include/sys/statvfs.h: Likewise.
31198 * include/sys/syslog.h: Likewise.
31199 * include/sys/time.h: Likewise.
31200 * include/sys/uio.h: Likewise.
31201 * include/time.h: Likewise.
31202 * include/unistd.h: Likewise.
31203 * include/utmp.h: Likewise.
31204 * include/wchar.h: Likewise.
31205 * include/wctype.h: Likewise.
31206 * inet/aliases.h: Likewise.
31207 * inet/arpa/inet.h: Likewise.
31208 * inet/netinet/ether.h: Likewise.
31209 * inet/netinet/in.h: Likewise.
31210 * intl/libintl.h: Likewise.
31211 * io/bits/fcntl2.h: Likewise.
31212 * io/fcntl.h: Likewise.
31213 * io/ftw.h: Likewise.
31214 * io/sys/poll.h: Likewise.
31215 * io/sys/stat.h: Likewise.
31216 * io/sys/statfs.h: Likewise.
31217 * io/sys/statvfs.h: Likewise.
31218 * io/utime.h: Likewise.
31219 * libio/bits/stdio.h: Likewise.
31220 * libio/bits/stdio2.h: Likewise.
31221 * libio/libio.h: Likewise.
31222 * libio/libioP.h: Likewise.
31223 * libio/stdio.h: Likewise.
31224 * locale/lc-ctype.c: Likewise.
31225 * locale/locale.h: Likewise.
31226 * login/utmp.h: Likewise.
31227 * malloc/arena.c: Likewise.
31228 * malloc/malloc.c: Likewise.
31229 * malloc/malloc.h: Likewise.
31230 * malloc/mcheck.c: Likewise.
31231 * malloc/mtrace.c: Likewise.
31232 * math/bits/mathcalls.h: Likewise.
31233 * math/fenv.h: Likewise.
31234 * math/math_private.h: Likewise.
31235 * misc/bits/error.h: Likewise.
31236 * misc/bits/syslog.h: Likewise.
31237 * misc/err.h: Likewise.
31238 * misc/error.h: Likewise.
31239 * misc/fstab.h: Likewise.
31240 * misc/mntent.h: Likewise.
31241 * misc/regexp.h: Likewise.
31242 * misc/search.h: Likewise.
31243 * misc/sgtty.h: Likewise.
31244 * misc/sys/mman.h: Likewise.
31245 * misc/sys/syslog.h: Likewise.
31246 * misc/sys/uio.h: Likewise.
31247 * misc/sys/xattr.h: Likewise.
31248 * misc/ttyent.h: Likewise.
31249 * nis/rpcsvc/ypclnt.h: Likewise.
31250 * nss/nss.h: Likewise.
31251 * posix/bits/unistd.h: Likewise.
31252 * posix/fnmatch.h: Likewise.
31253 * posix/glob.h: Likewise.
31254 * posix/sched.h: Likewise.
31255 * posix/spawn.h: Likewise.
31256 * posix/sys/wait.h: Likewise.
31257 * posix/unistd.h: Likewise.
31258 * posix/wordexp.h: Likewise.
31259 * pwd/pwd.h: Likewise.
31260 * resolv/netdb.h: Likewise.
31261 * resource/sys/resource.h: Likewise.
31262 * rt/aio.h: Likewise.
31263 * rt/bits/mqueue2.h: Likewise.
31264 * rt/mqueue.h: Likewise.
31265 * shadow/shadow.h: Likewise.
31266 * signal/signal.h: Likewise.
31267 * socket/send.c: Likewise.
31268 * socket/sendto.c: Likewise.
31269 * socket/sys/socket.h: Likewise.
31270 * stdio-common/printf.h: Likewise.
31271 * stdlib/bits/stdlib.h: Likewise.
31272 * stdlib/fmtmsg.h: Likewise.
31273 * stdlib/monetary.h: Likewise.
31274 * stdlib/stdlib.h: Likewise.
31275 * stdlib/ucontext.h: Likewise.
31276 * streams/stropts.h: Likewise.
31277 * string/argz.h: Likewise.
31278 * string/bits/string2.h: Likewise.
31279 * string/string.h: Likewise.
31280 * string/strings.h: Likewise.
31281 * sunrpc/rpc/auth.h: Likewise.
31282 * sunrpc/rpc/auth_des.h: Likewise.
31283 * sunrpc/rpc/clnt.h: Likewise.
31284 * sunrpc/rpc/netdb.h: Likewise.
31285 * sunrpc/rpc/pmap_clnt.h: Likewise.
31286 * sunrpc/rpc/xdr.h: Likewise.
31287 * sysdeps/generic/inttypes.h: Likewise.
31288 * sysdeps/generic/net/if.h: Likewise.
31289 * sysdeps/generic/sys/swap.h: Likewise.
31290 * sysdeps/gnu/net/if.h: Likewise.
31291 * sysdeps/gnu/utmpx.h: Likewise.
31292 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31293 * sysdeps/i386/i486/bits/string.h: Likewise.
31294 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31295 * sysdeps/s390/bits/string.h: Likewise.
31296 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31297 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31298 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31299 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31300 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31301 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31302 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31303 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31304 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31305 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31306 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31307 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31308 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31309 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31310 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31311 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31312 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31313 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31314 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31315 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31316 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31317 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31318 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31319 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31320 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31321 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31322 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31323 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31324 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31325 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31326 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31327 * sysvipc/sys/ipc.h: Likewise.
31328 * sysvipc/sys/msg.h: Likewise.
31329 * sysvipc/sys/sem.h: Likewise.
31330 * sysvipc/sys/shm.h: Likewise.
31331 * termios/termios.h: Likewise.
31332 * time/sys/time.h: Likewise.
31333 * time/time.h: Likewise.
31334 * wcsmbs/bits/wchar2.h: Likewise.
31335 * wcsmbs/uchar.h: Likewise.
31336 * wcsmbs/wchar.h: Likewise.
31337 * wctype/wctype.h: Likewise.
31338
0269750c
UD
31339 [BZ #13551]
31340 * Makeconfig: Remove all but ELF support including AIX support.
31341 * Makerules: Likewise.
31342 * config.h.in: Likewise.
31343 * config.make.in: Likewise.
31344 * configure: Likewise.
31345 * configure.in: Likewise.
31346 * csu/Makefile: Likewise.
31347 * csu/version.c: Likewise.
31348 * debug/Makefile: Likewise.
31349 * dlfcn/Makefile: Likewise.
31350 * elf/Makefile: Likewise.
31351 * extra-lib.mk: Likewise.
31352 * iconv/Makefile: Likewise.
31353 * include/libc-symbols.h: Likewise.
31354 * include/shlib-compat.h: Likewise.
31355 * resolv/Makefile: Likewise.
31356 * resolv/res_libc.c: Likewise.
31357 * rt/Makefile: Likewise.
31358 * sysdeps/i386/asm-syntax.h: Likewise.
31359 * sysdeps/i386/sysdep.h: Likewise.
31360 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31361 * sysdeps/mach/sysdep.h: Likewise.
31362 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31363 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31364 * sysdeps/s390/asm-syntax.h: Likewise.
31365 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31366 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31367 * sysdeps/sh/sysdep.h: Likewise.
31368 * sysdeps/unix/sparc/sysdep.h: Likewise.
31369 * sysdeps/wordsize-32/divdi3.c: Likewise.
31370 * sysdeps/x86_64/sysdep.h: Likewise.
31371
00bbd29b
UD
31372 * argp/Versions: Remove _argp_unlock_xxx.
31373
31374 [BZ #13559]
31375 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31376 * abilist/libBrokenLocale.abilist: Likewise.
31377 * abilist/libanl.abilist: Likewise.
31378 * abilist/libc.abilist: Likewise.
31379 * abilist/libcrypt.abilist: Likewise.
31380 * abilist/libdl.abilist: Likewise.
31381 * abilist/libm.abilist: Likewise.
31382 * abilist/libnsl.abilist: Likewise.
31383 * abilist/libpthread.abilist: Likewise.
31384 * abilist/libresolv.abilist: Likewise.
31385 * abilist/librt.abilist: Likewise.
31386 * abilist/libthread_db.abilist: Likewise.
31387 * abilist/libutil.abilist: Likewise.
31388 * abilist/libnss_db.abilist: New file.
31389
31390 * scripts/abilist.awk: Add support for indirect functions.
31391
a2693a0e
UD
31392 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31393
3f05895f
UD
31394 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31395
ecb6fb48
UD
31396 * shlib-versions: Remove entries for ports architectures.
31397
664f8cb9
UD
31398 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31399 files in ports.
31400 * elf/stackguard-macros.h: Remove support for IA-64.
31401 * elf/tst-auditmod1.c: Likewise.
31402 * sysdeps/generic/ldsodefs.h: Likewise.
31403
7ae81d88
UD
31404 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31405 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31406 configure files.
31407
bdeba135
UD
31408 [BZ #13552]
31409 * configure.in: Remove --enable-omitfp support.
31410 * FAQ.in: Adjust.
31411 * config.make.in: Likewise.
31412 * Makeconfig: Likewise.
31413 * manual/install.texi: Likewise.
31414
d75a0a62
UD
31415 In case anyone cares, the IA-64 architecture could move to ports.
31416 * sysdeps/ia64/*: Removed.
31417 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 31418 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 31419
dcc9756b
UD
31420 [BZ #13555]
31421 * configure.in: Remove entries for unsupported architectures.
31422
d3761ebc 31423 [BZ #13533]
9954432e
UD
31424 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31425 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31426 routines.
31427 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31428 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31429 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31430 fall back to using wcrtomb.
31431 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31432 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31433 renaming.
31434 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31435 * wcsmbs/tst-c16c32-1.c: New file.
31436
31437 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31438 local variable.
31439
c3a87236
UD
31440 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31441
28926a1b
UD
31442 * elf/tst-unique3.cc: Add explicit declaration of gets.
31443 * elf/tst-unique3lib.cc: Likewise.
31444 * elf/tst-unique3lib2.cc: Likewise.
31445 * elf/tst-unique4.cc: Likewise.
31446
df78418a
UD
31447 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31448
8ecd6b2a
JM
314492012-01-06 Joseph Myers <joseph@codesourcery.com>
31450
31451 [BZ #13566]
31452 * assert/assert.h (static_assert): Don't define for C++.
31453 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31454 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31455
9f115170
UD
314562012-01-03 Ulrich Drepper <drepper@gmail.com>
31457
5e0d0300
UD
31458 * iconv/loop.c (single loop): Fix assertion in storing of
31459 remaining bytes.
31460
9f115170
UD
31461 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31462
81fb02b0
UD
314632012-01-01 Ulrich Drepper <drepper@gmail.com>
31464
31465 * posix/getconf.c: Update copyright year.
31466 * nss/getent.c: Likewise.
a316c1f6 31467 * nss/makedb.c: Likewise.
81fb02b0
UD
31468 * iconv/iconvconfig.c: Likewise.
31469 * iconv/iconv_prog.c: Likewise.
31470 * elf/ldconfig.c: Likewise.
a316c1f6
UD
31471 * elf/pldd.c: Likewise.
31472 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
31473 * catgets/gencat.c: Likewise.
31474 * csu/version.c: Likewise.
31475 * elf/ldd.bash.in: Likewise.
31476 * elf/sprof.c (print_version): Likewise.
31477 * locale/programs/locale.c: Likewise.
31478 * locale/programs/localedef.c: Likewise.
a316c1f6 31479 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
31480 * nscd/nscd.c (print_version): Likewise.
31481 * debug/xtrace.sh: Likewise.
31482 * malloc/memusage.sh: Likewise.
31483 * malloc/mtrace.pl: Likewise.
31484 * debug/catchsegv.sh: Likewise.
31485
2ba92745
JJ
314862011-12-30 Jakub Jelinek <jakub@redhat.com>
31487
31488 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31489 pure attribute.
31490
dadebdae
UD
314912011-12-24 Ulrich Drepper <drepper@gmail.com>
31492
d3761ebc 31493 [BZ #13533]
db6af3eb
UD
31494 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31495 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31496 transformations.
31497 * iconv/gconv_int.h: Likewise.
31498 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31499 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31500 from libc for GLIBC_2.16.
31501 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31502 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31503 * wcsmbs/uchar.h: Really define mbstate_t.
31504 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31505 * wcsmbs/c16rtomb.c: New file.
31506 * wcsmbs/mbrtoc16.c: New file.
31507 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31508 for C/POSIX locale.
31509 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31510 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31511
dadebdae
UD
31512 * wcsmbs/wchar.h: Add missing __restrict.
31513
67371b56
UD
315142011-12-23 Ulrich Drepper <drepper@gmail.com>
31515
74033a25
UD
31516 [BZ #13532]
31517 * time/Makefile (routines): Add timespec_get.
31518 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31519 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31520 timespec for ISO C11.
31521 * time/timespec_get.c: New file.
31522 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31523 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31524
380d7e87
UD
31525 [BZ #13531]
31526 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31527 * stdlib/stdlib.h: Declare aligned_alloc.
31528 * Versions.def: Add GLIBC_2.16 for libc.
31529 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31530
4e9e7a35
UD
31531 [BZ 13527]
31532 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31533 ISO C11.
31534
380d7e87 31535 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
31536 code.
31537
03a71829
UD
31538 [BZ #13528]
31539 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31540
839e283e
UD
31541 [BZ #13529]
31542 * assert/assert.h (static_assert): Define.
31543
ce5294e2 31544 * version.h: Update for 2.16 development version.
90fa7312 31545
8d44e150 31546 [BZ #13526]
d7809905
UD
31547 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31548 _ISOC11_SOURCE.
31549
c0da14cd
UD
31550 * version.h (RELEASE): Bump for 2.15 release.
31551 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31552
530a3249
MP
31553 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31554 Patch by Marek Polacek <mpolacek@redhat.com>.
31555
67371b56
UD
31556 * bits/byteswap.h: Protect long long constants with __extension__.
31557 * sysdeps/i386/bits/byteswap.h: Likewise.
31558 * sysdeps/ia64/bits/byteswap.h: Likewise.
31559 * sysdeps/s390/bits/byteswap.h: Likewise.
31560 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31561
15db4de1
LD
315622011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31563
31564 [BZ #13540]
bbe315ea
LD
31565 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31566 destination buffer.
15db4de1
LD
31567 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31568
2b2596b1
MP
315692011-12-23 Marek Polacek <polacek@redhat.com>
31570
31571 * elf/dl-addr.c (determine_info): Add inline keyword.
31572 * elf/tst-auditmod4b.c (check_avx): Likewise.
31573 * elf/tst-auditmod6b.c (check_avx): Likewise.
31574 * elf/tst-auditmod6c.c (check_avx): Likewise.
31575 * elf/tst-auditmod7b.c (check_avx): Likewise.
31576
70c6c246
UD
315772011-12-23 Ulrich Drepper <drepper@gmail.com>
31578
31579 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31580 !__SSE_MATH__.
31581
c044cf14
LD
315822011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31583
15db4de1 31584 [BZ #13540]
c044cf14
LD
31585 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31586 processing for last bytes.
31587
6b13d9d9
BH
315882011-08-06 Bruno Haible <bruno@clisp.org>
31589
d455f537
BH
31590 [BZ #13061]
31591 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31592 U+0385, not to U+1FEE.
31593
6b13d9d9
BH
31594 [BZ #13062]
31595 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31596 entry for U+00A5 U+0301.
31597
db910efd
UD
315982011-12-22 Ulrich Drepper <drepper@gmail.com>
31599
27deeafc
UD
31600 [BZ #13166]
31601 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31602 buffer for the output is too small.
31603
aed9d171
UD
31604 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31605 optimization.
31606
db910efd
UD
31607 [BZ #13185]
31608 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31609 SSE flags if possible.
31610
2bd779ae
LD
316112011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31612
e7f9dac3 31613 [BZ #13540]
2bd779ae
LD
31614 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31615 processing for last bytes.
31616
154bfc16
JM
316172011-12-22 Joseph Myers <joseph@codesourcery.com>
31618
31619 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31620 (syscall-list-default-options, syscall-list-default-condition)
31621 (syscall-list-includes): Define.
31622 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31623 list of ABIs and options and #if conditions for each ABI. Do not
31624 handle common syscalls between ABIs specially.
31625 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31626 Remove.
31627 (syscall-list-variants, syscall-list-32bit-options)
31628 (syscall-list-32bit-condition, syscall-list-64bit-options)
31629 (syscall-list-64bit-condition): Define.
31630 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31631 (syscall-list-variants, syscall-list-32bit-options)
31632 (syscall-list-32bit-condition, syscall-list-64bit-options)
31633 (syscall-list-64bit-condition): Define.
31634 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31635 Remove.
31636 (syscall-list-variants, syscall-list-32bit-options)
31637 (syscall-list-32bit-condition, syscall-list-64bit-options)
31638 (syscall-list-64bit-condition): Define.
31639 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31640 Remove.
31641 (syscall-list-variants, syscall-list-32bit-options)
31642 (syscall-list-32bit-condition, syscall-list-64bit-options)
31643 (syscall-list-64bit-condition): Define.
31644
21eaf3a5
UD
316452011-12-22 Ulrich Drepper <drepper@gmail.com>
31646
16c6f992
UD
31647 * locale/iso-639.def: Add brx entry.
31648
41043168
UD
31649 [BZ #13328]
31650 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31651 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31652
21eaf3a5
UD
31653 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31654 __feraiseexcept_renamed.
31655
e3a851a2
UD
316562011-12-21 Ulrich Drepper <drepper@gmail.com>
31657
4920765e
UD
31658 [BZ #13538]
31659 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31660 EPOLLET with unsigned values.
31661 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31662 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31663
e3a851a2
UD
31664 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31665 to large cancellation.
31666 * math/s_cacoshf.c: Likewise.
31667 * math/s_cacoshl.c: Likewise.
31668
b27e24b8
RK
316692011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31670
31671 [BZ #13305]
aebefeee 31672 [BZ #12786]
b27e24b8
RK
31673 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31674 * math/s_cacoshf.c: Likewise.
31675 * math/s_cacoshl.c: Likewise.
31676
ee190f67
UD
316772011-12-21 Ulrich Drepper <drepper@gmail.com>
31678
31679 [BZ #13439]
31680 * iconv/gconv.h: Define __GCONV_SWAP.
31681 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31682 * iconvdata/utf-16.c: Likewise.
31683 * iconvdata/utf-32.c: Likewise.
31684
707f25df
AS
316852011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31686
31687 [BZ #13524]
31688 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31689 numerator after shifting it by one limb.
31690
d2daaa1e
RÁE
316912011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31692
31693 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31694 under [__USE_EXTERN_INLINES].
31695
a4647e72
UD
316962011-12-17 Ulrich Drepper <drepper@gmail.com>
31697
31698 [BZ #13446]
31699 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31700
f0b264f1
AZ
317012011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31702
31703 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31704 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31705 optimized code.
31706 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31707 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31708 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31709 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31710 for strncasecmp/strncasecmp_l compilation.
31711 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31712 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31713
8ef4f244
MP
317142011-12-08 Marek Polacek <mpolacek@redhat.com>
31715
31716 [BZ #13484]
31717 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31718 of __asm__.
31719
97ac2654
UD
317202011-12-17 Ulrich Drepper <drepper@gmail.com>
31721
31722 [BZ #13506]
31723 * time/tzfile.c (__tzfile_read): Check values from file header.
31724
91d2a845
WS
317252011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31726
31727 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31728 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31729 * powerpc/powerpc32/dl-start.S: Likewise.
31730 * powerpc/powerpc32/elf/start.S: Likewise.
31731 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31732 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31733 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31734 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31735 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31736 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31737 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31738 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31739 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31740 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31741 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31742 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31743 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31744 * powerpc/powerpc32/memset.S: Likewise.
31745 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31746 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31747 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31748 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31749 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31750 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31751 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31752 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31753 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31754 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31755 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31756 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31757 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31758
a1267ba1
AZ
317592011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31760
31761 * math/libm-test.inc: Added more nearbyint tests.
31762 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31763 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31764 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31765 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31766
ad8ac1bd
RL
317672011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31768
31769 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31770 FD_CLOEXEC.
31771
1d3e4b61
UD
317722011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31773
31774 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31775 Add wcscpy-ssse3 wcscpy-c.
31776 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31777 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31778 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31779 * sysdeps/x86_64/wcschr.S: New file.
31780 * sysdeps/x86_64/wcsrchr.S: New file.
31781 * string/test-strcmp.c: Remove checking of wcscmp function for
31782 wrong alignments.
31783 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31784 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31785 wcsrchr-sse2 wcsrchr-c.
31786 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31787 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31788 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31789 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31790 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31791 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31792 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31793 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31794 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31795 * wcsmbc/wcschr.c (WCSCHR): New macro.
31796
5b330a2d
UD
317972011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31798
31799 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31800 * wcsmbs/test-wcsrchr.c: New file.
31801 * string/test-strrchr.c: Add wcsrchr support.
31802 (WIDE): New macro.
31803 * wcsmbs/test-wcscpy.c: New file.
31804 * string/test-strcpy.c: Add wcscpy support.
31805 (WIDE): New macro.
26428b7c 31806
f039c043
UD
318072011-12-10 Ulrich Drepper <drepper@gmail.com>
31808
31809 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31810 the inner loop.
31811
850fb039
AS
318122011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31813
31814 [BZ #13472]
31815 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31816
4efbd5cb
UD
318172011-12-04 Ulrich Drepper <drepper@gmail.com>
31818
52ff5dd0 31819 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 31820 Minor optimizations.
52ff5dd0 31821
4efbd5cb
UD
31822 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31823 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31824 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31825
8a426e12
UD
318262011-12-03 Ulrich Drepper <drepper@gmail.com>
31827
aff2453d
UD
31828 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31829 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31830 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31831 for gcc to avoid warnings.
31832 * inet/Makefile (tests): Add tst-checks.
31833 * inet/tst-checks.c: New file.
31834
31835 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31836 warning.
31837
31838 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31839 __wmemcmp_sse2.
31840
31841 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31842 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31843
8a426e12
UD
31844 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31845
9bea3473
UD
318462011-12-02 Ulrich Drepper <drepper@gmail.com>
31847
3a965496
UD
31848 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31849 problem.
31850
9bea3473
UD
31851 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31852
f101631b
UD
318532011-11-29 Joseph Myers <joseph@codesourcery.com>
31854
31855 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31856 conditional on GCC version.
31857 (__arch_compare_and_exchange_val_8_acq)
31858 (__arch_compare_and_exchange_val_16_acq)
31859 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31860 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31861 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31862
a98275aa
UD
318632011-12-02 Joseph Myers <joseph@codesourcery.com>
31864
31865 * sysdeps/sh/backtrace.c: New file.
31866
d4cc29a2
AS
318672011-12-02 Andreas Schwab <schwab@redhat.com>
31868
31869 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31870 parenthesis.
31871
6257af2d
AS
318722011-12-01 Andreas Schwab <schwab@redhat.com>
31873
31874 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31875 falling back to utime.
31876
b5f44c1a
AS
318772011-11-30 Andreas Schwab <schwab@redhat.com>
31878
31879 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31880 expectations for float.
31881
f3a6cc0a
AS
318822011-11-29 Andreas Schwab <schwab@redhat.com>
31883
31884 * locale/weight.h (findidx): Add parameter len.
31885 * locale/weightwc.h (findidx): Likewise.
31886 * posix/fnmatch_loop.c (FCT): Adjust caller.
31887 * posix/regcomp.c (build_equiv_class): Likewise.
31888 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31889 * posix/regexec.c (check_node_accept_bytes): Likewise.
31890 * string/strcoll_l.c (STRCOLL): Likewise.
31891 * string/strxfrm_l.c (STRXFRM): Likewise.
31892
9d65ea3a
UD
318932011-11-17 Ulrich Drepper <drepper@gmail.com>
31894
31895 * Makefile.in: Remove CVSOPT handling.
31896 * configure.in: Remove use of AC_REVISION.
31897 * iconvdata/Makefile (distribute): No need to filter out CVS.
31898 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31899 handling.
31900
5583a086
AS
319012011-11-16 Andreas Schwab <schwab@redhat.com>
31902
31903 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31904 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31905 [USE_AS_STRNCASECMP_L]: Likewise.
31906 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31907 NO_TLS_DIRECT_SEG_REFS.
31908 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31909 Fix argument offsets for non-PIC.
31910 [USE_AS_STRNCASECMP_L]: Likewise.
31911 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31912 NO_TLS_DIRECT_SEG_REFS.
31913
d62a8200
UD
319142011-11-15 Ulrich Drepper <drepper@gmail.com>
31915
9d65ea3a 31916 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
31917 O_CLOEXEC.
31918 * locale/loadlocale.c (_nl_load_locale): Likewise.
31919
09f93bd3
AS
319202011-11-15 Andreas Schwab <schwab@redhat.com>
31921
446514f9
AS
31922 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31923 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31924 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31925 (SYSCALL_GETTIME): Set errno on error.
31926
09f93bd3
AS
31927 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31928 count references to noai6ai_cached.
31929
312be3f9
UD
319302011-11-15 Ulrich Drepper <drepper@gmail.com>
31931
31932 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31933
31934 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31935 FD_CLOEXEC for /proc/self/maps.
31936
31937 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31938 FD_CLOEXEC for /proc/meminfo.
31939
31940 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31941 gai.conf.
31942
31943 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31944 FD_CLOEXEC for given file.
31945
31946 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31947
31948 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31949 FD_CLOEXEC for /etc/hosts.
31950 (_gethtent): Likewise.
31951
31952 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31953
31954 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31955 cancellation and set FD_CLOEXEC for /etc/netgroup.
31956
31957 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31958 reading /etc/publickey.
31959
31960 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31961 allow cancellation when reading /etc/group.
31962
31963 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31964 cancellation.
31965 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31966
31967 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31968 when using data file.
31969
31970 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31971
31972 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31973 (write_nis_obj): Use "c" and "e" in fopen.
31974
31975 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31976
31977 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31978
31979 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31980
31981 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31982
31983 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31984 locale.alias.
31985
31986 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31987
31988 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31989
31990 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31991
31992 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31993 file parsing and set FD_CLOEXEC.
31994
82af0fa8
UD
319952011-11-14 Ulrich Drepper <drepper@gmail.com>
31996
31997 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31998
a5fb313c
AS
319992011-11-14 Andreas Schwab <schwab@redhat.com>
32000
32001 * malloc/arena.c (arena_get2): Don't call reused_arena when
32002 _int_new_arena failed.
32003
6abf3465
UD
320042011-11-14 Ulrich Drepper <drepper@gmail.com>
32005
32006 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32007 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32008 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32009 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32010 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32011 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32012 to compile strcasecmp and strncasecmp.
32013 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32014 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32015
32016 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32017
76e3966e
UD
320182011-11-13 Ulrich Drepper <drepper@gmail.com>
32019
32020 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32021 locale-defines.sym to gen-as-const-headers.
32022 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32023 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32024 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32025 to compile strcasecmp and strncasecmp.
32026 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32027 strcasecmp_l and strncasecmp_l.
32028 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32029 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32030 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32031 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32032 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32033 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32034 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32035 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32036 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32037 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32038 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32039
ab26144e
UD
320402011-11-12 Ulrich Drepper <drepper@gmail.com>
32041
7edb22ef
UD
32042 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32043 result of SYSDEP_GETTIME_CPU to retval.
32044 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32045 parameter list to macro. Remove trailing semicolon. Adjust users.
32046
9694fc44
UD
32047 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32048 variable.
32049
8ad89ef8
UD
32050 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32051 mantissa words.
32052 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32053
0c822ef9
UD
32054 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32055 from unused variable.
32056
874e0564
UD
32057 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32058 DWARF definitions.
32059 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32060 for assembling.
32061
3a2edc79
UD
32062 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32063 over namespaces.
32064
f3c2577f
UD
32065 * sunrpc/rpc_prot.c (rejected): Fix case value.
32066
294ce126
UD
32067 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32068 unsigned long long int to avoid warnings in shift.
32069
5e2b63c6
UD
32070 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32071 of use of trans.
32072 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32073 variable tmp.
32074
e7f4b08e
UD
32075 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32076 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32077 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32078
ab26144e
UD
32079 * nis/nis_table.c (nis_list): Use variable of correct type for
32080 result of __follow_path call.
32081
8a6d5255
AZ
320822011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32083
32084 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32085 of math functions ceil, trunc, floor, round, and sqrt, when
32086 avaliable on the platform.
32087 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32088 name clash.
32089 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32090 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32091 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32092
aaddc98c
MP
320932011-10-30 Marek Polacek <mpolacek@redhat.com>
32094
32095 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32096 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32097
95b7042b
RM
320982011-11-11 Roland McGrath <roland@hack.frob.com>
32099
32100 * include/unistd.h: Fix __readlink return type.
32101 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32102
57769839
UD
321032011-11-11 Ulrich Drepper <drepper@gmail.com>
32104
32105 * stdlib/ucontext.h: Undo last change for makecontext.
32106
edc5984d
AS
321072011-11-11 Andreas Schwab <schwab@redhat.com>
32108
98591e58
AS
32109 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32110
edc5984d
AS
32111 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32112 * setjmp/setjmp.h: Mark functions as non-leaf.
32113 * setjmp/bits/setjmp2.h: Likewise.
32114 * stdlib/ucontext.h: Likewise.
32115
77cdc054
AS
321162011-11-10 Andreas Schwab <schwab@redhat.com>
32117
32118 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32119 (reused_arena): Don't check arena limit.
32120 (arena_get2): Atomically check arena limit.
32121
fe72eebd
UD
321222011-11-08 Ulrich Drepper <drepper@gmail.com>
32123
5f078c32
UD
32124 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32125 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32126
fe72eebd
UD
32127 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32128 instructions.
32129
ae1bc2fa
AS
321302011-11-07 Andreas Schwab <schwab@redhat.com>
32131
7583a88d
AS
32132 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32133 handler when locking.
32134
ae1bc2fa
AS
32135 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32136 Fix size of allocated buffer.
32137
10fb0bfa
AS
321382011-11-04 Andreas Schwab <schwab@redhat.com>
32139
998832a4
AS
32140 [BZ #10103]
32141 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32142 declarations for long double functions.
32143 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32144
10fb0bfa
AS
32145 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32146
3d7ba52b
AS
321472011-11-03 Andreas Schwab <schwab@redhat.com>
32148
a9ae54a1
AS
32149 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32150 installed.
32151
3d7ba52b
AS
32152 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32153 is disabled.
32154
bc8db248
ST
321552011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32156
32157 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32158
45b96dd6
AS
321592011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32160
647776f6
AS
32161 * include/alloca.h (stackinfo_alloca_round): Define.
32162 (extend_alloca): Use it.
32163 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32164 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32165 here.
32166
d91a8b93
AS
32167 * scripts/check-local-headers.sh: Ignore libaudit.h.
32168
45b96dd6
AS
32169 * nscd/Makefile (extra-objs): Make recursively expanded.
32170
432d41ce
UD
321712011-11-01 Ulrich Drepper <drepper@gmail.com>
32172
34372fc6
UD
32173 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32174 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32175
fadb59f8
UD
32176 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32177 * posix/tst-rfc3484-2.c: Likewise.
32178 * posix/tst-rfc3484-3.c: Likewise.
32179
78239589
UD
32180 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32181 process_vm_writev.
32182 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32183 process_vm_writev.
32184 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32185 process_vm_writev from libc using GLIBC_2.15 version.
32186
432d41ce
UD
32187 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32188
02f9c6cf
PP
321892011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32190
32191 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32192 stack usage.
32193
3a2c0242
UD
321942011-10-31 Ulrich Drepper <drepper@gmail.com>
32195
f4ec4833
UD
32196 [BZ #13367]
32197 * nss/getent.c (initgroups_keys): Show error message in case no group
32198 names are given.
32199
3a2c0242
UD
32200 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32201 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32202 __bump_nl_timestamp.
32203 * nscd/connections (nscd_init): When host database is served open
32204 netlink socket and request notification about configuration changes.
32205 (main_loop_poll): Track netlink file descriptor and bump timestamp
32206 in case data becomes available.
32207 (main_loop_epoll): Likewise.
32208 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32209 (database_pers_head): Add extra_data fileds.
32210 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32211 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32212 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32213 Adjust caller.
32214 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32215 in6ai data, call __free_in6ai.
32216 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32217 Add -DHAVE_NETLINK.
32218 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32219 interface information. Reuse previous data if netlink timestamp
32220 is not changed.
32221 (__bump_nl_timestamp): New function.
32222 (__free_in6ai): New function.
32223
636064eb
UD
322242011-10-30 Ulrich Drepper <drepper@gmail.com>
32225
32226 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32227 close_not_cancel_no_status here.
32228 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32229
9beb2334
UD
322302011-10-29 Ulrich Drepper <drepper@gmail.com>
32231
6ef76f3b
UD
32232 [BZ #13276]
32233 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32234 return value.
32235
0ffc4f3e 32236 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
32237 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32238 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32239
cb95113e
UD
322402011-07-03 Andreas Jaeger <aj@suse.de>
32241
32242 [BZ #10709]
32243 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32244 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32245 * math/libm-test.inc (sin_test): Add test case.
32246
a1b560ff
UD
322472011-10-29 Ulrich Drepper <drepper@gmail.com>
32248
c9aaface
UD
32249 [BZ #13337]
32250 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32251 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32252
d272e7f1
UD
32253 * elf/chroot_canon.c (chroot_canon): Cleanups.
32254
1bc33071
UD
32255 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32256
1760874d
TJ
32257 [BZ #13335]
32258 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32259 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32260
51d91b18
UD
32261 * string/test-strchr.c: Make usable for strchrnul testing.
32262 * string/test-strchrnul.c: New file.
32263 * string/Makefile (strop-tests): Add strchrnul.
32264
a1b560ff 32265 * po/it.po: Update from translation team.
b611fb81 32266 * po/es.po: Likewise.
a1b560ff 32267
a5b81e1f
UD
322682011-10-28 Ulrich Drepper <drepper@gmail.com>
32269
fd52bc6d
UD
32270 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32271 the three constants needed as parameters. Drop the others.
32272 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32273 __m128i_strloadu_tolower.
52e4b9eb
UD
32274 Create and initialize variable zero and use it in all the places
32275 where _mm_setzero_si128 was used.
fd52bc6d 32276
a5b81e1f
UD
32277 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32278 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32279 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32280 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32281 anymore.
32282 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32283 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32284 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32285 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32286 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32287 __mpranred, __mptan.
32288 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32289 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32290 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32291 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32292 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32293 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32294 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32295 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32296 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32297
b4343346
AS
322982011-10-28 Andreas Schwab <schwab@redhat.com>
32299
0c92d8a8
AS
32300 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32301 redefine if SHARED.
32302 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32303
b4343346
AS
32304 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32305 wide char related routines to wcsmbs subdir.
32306
3871f58f
AS
323072011-10-27 Andreas Schwab <schwab@redhat.com>
32308
32309 [BZ #13344]
32310 * misc/sys/cdefs.h (__THROWNL): Define.
32311 * posix/unistd.h: Use __THREADNL instead of __THREAD
32312 for memory synchronization functions.
32313
94d44d9f
RM
323142011-10-26 Roland McGrath <roland@hack.frob.com>
32315
21b64b15 32316 [BZ #13349]
94d44d9f
RM
32317 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32318 doesn't exist.
32319 * manual/stdio.texi (Obstack Streams): Node removed.
32320
f6ce9294
AS
323212011-10-26 Andreas Schwab <schwab@redhat.com>
32322
80479147
AS
32323 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32324 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32325 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32326
f6ce9294
AS
32327 * math/math_private.h (math_force_eval): Allow non-addressable
32328 arguments.
32329 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32330
618280a1
UD
323312011-10-25 Ulrich Drepper <drepper@gmail.com>
32332
e0016b11
UD
32333 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32334 file is not needed.
32335
32336 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32337 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32338 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32339 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32340 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32341 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32342 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32343 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32344 Add AVX variants.
32345 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32346 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32347 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32348 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32349 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32350 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32351 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32352 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32353 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32354 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32355 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32356 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32357 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32358 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32359 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32360 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32361 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32362 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32363 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32364
32365 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32366 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32367
618280a1
UD
32368 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32369 place. Use VEX encoding when compiling for AVX.
32370
37822576
AS
323712011-10-25 Andreas Schwab <schwab@redhat.com>
32372
1f1e1947
AS
32373 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32374 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32375
37822576
AS
32376 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32377
31ea014d
UD
323782011-10-25 Ulrich Drepper <drepper@gmail.com>
32379
d7826aa1 32380 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 32381 useless if() expression.
d7826aa1
UD
32382 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32383 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32384 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32385 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32386 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32387 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32388 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32389 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32390 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32391 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32392 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32393 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32394 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32395 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32396 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32397 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32398 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32399 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32400 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32401
31ea014d
UD
32402 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32403
16437fec
AS
324042011-10-25 Andreas Schwab <schwab@redhat.com>
32405
32406 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32407 condition.
32408 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32409
31d3cc00
UD
324102011-10-25 Ulrich Drepper <drepper@gmail.com>
32411
32412 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32413 .text section. Avoid duplicate constants.
32414 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32415 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32416 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32417 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
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/halfulp.c: Likewise.
32422 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32423 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32424 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32425 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32426 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32427 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32428 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32429 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32430 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32431 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32432 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32433 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32434 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32435 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32436 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32437 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32438 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32439 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32440 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32441 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32442 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32443 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32444 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32445 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32446 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32447 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32448 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32449 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32450 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32451 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32452 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32453 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32454 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32455 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32456 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32457 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32458 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32459
58985aa9
UD
324602011-10-24 Ulrich Drepper <drepper@gmail.com>
32461
202c9deb
UD
32462 * sysdeps/x86_64/dla.h: Move to ...
32463 * sysdeps/x86_64/fpu/dla.h: ...here.
32464 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32465 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 32466
af968f62
UD
32467 * config.make.in: Add have-mfma4 entry.
32468 * configure.in: Substitute libc_cv_cc_fma4.
32469 * math/Makefile (dbl-only-routines): Add sincostab.
32470 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32471 Use __sincostab not sincos.
32472 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32473 name is a macro.
32474 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32475 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32476 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32477 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32478 using __copysign.
32479 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32480 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32481 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32482 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32483 and __inv.
32484 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32485 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32486 __copysign.
32487 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32488 define aliases when function name is a macro.
32489 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32490 sysdeps/ieee754/dbl-64/sincos.tbl.
32491 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32492 fma4-enabled routines.
32493 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32494 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32495 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32496 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32497 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32498 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32499 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32500 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32501 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32502 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32503 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32504 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32505 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32506 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32507 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32508 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32509 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32510 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32511 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32512 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32513 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32514 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32515 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32516 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32517 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32518 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32519 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32520 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32521 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32522 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32523
58985aa9
UD
32524 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32525 rename.
32526 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32527 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32528 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32529 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32530 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32531 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32532 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32533 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32534
a201fbcf
AS
325352011-10-24 Andreas Schwab <schwab@redhat.com>
32536
32537 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32538
fc2ee42a
LD
325392011-10-23 Ulrich Drepper <drepper@gmail.com>
32540
bb3129bd
UD
32541 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32542
0275fff8
UD
32543 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32544 prediction.
32545 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32546
2fa2ae85
UD
32547 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32548 Remove unused variable magic_bits.
32549 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32550
fc2ee42a
LD
32551 * string/strnlen.c: Define and use STRNLEN macro.
32552 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32553 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32554 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32555 * wcsmbs/wcslen.c: Define and use WCSLEN.
32556 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32557 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32558 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32559 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32560 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32561 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32562 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32563
ce7dd29f
LD
325642011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32565
32566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32567 strnlen-sse2-no-bsf.
32568 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32569 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32570 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32571 Add strnlen support.
32572 (USE_AS_STRNLEN): New macro.
32573 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32574 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32575 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32576 * sysdeps/x86_64/wcslen.S: New file.
32577
979c70a3
MZ
325782011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32579
32580 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32581 XMM-moves are used for copying on small sizes.
32582
2d09f82f
LD
325832011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32584
32585 * wcsmbs/Makefile (strop-tests): Add wcschr.
32586 * wcsmbs/test-wcschr.c: New file.
32587 * string/test-strchr.c: Update.
32588 Add wcschr support.
32589 (WIDE): New macro.
32590
619fccca
LD
325912011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32592
2d09f82f 32593 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
32594 * wcsmbs/test-wcslen.c: New file.
32595 * string/test-strlen.c: Update.
32596 Add wcslen support.
32597 (WIDE): New macro.
32598
09f699ea
UD
325992011-10-23 Ulrich Drepper <drepper@gmail.com>
32600
32601 * po/it.po: Update from translation team.
32602
95584d3b
LD
326032011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32604
32605 * sysdeps/x86_64/wcscmp.S: Update.
32606 Fix wrong comparison semantics.
32607 wcscmp shall use signed comparison not unsigned.
32608 Don't use substraction to avoid overflow bug.
32609 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32610 * wcsmbc/wcscmp.c: Likewise.
32611 * string/test-strcmp.c: Likewise.
32612 Add new tests to check cases with negative values.
32613
c8b3296b
UD
326142011-10-23 Ulrich Drepper <drepper@gmail.com>
32615
32616 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32617 * sysdeps/x86_64/dla.h: ...here. New file.
32618 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32619 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32620 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32621 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32622 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32623 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32624 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32625 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32626 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32627
246ad57a
AS
326282011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32629
32630 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32631 __ynl_finite aliases.
32632
a1a87169
UD
326332011-10-22 Ulrich Drepper <drepper@gmail.com>
32634
0d355eb7
UD
32635 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32636
a1a87169
UD
32637 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32638 define DLA_FMA.
32639 [DLA_FMA] (EMULV): Use DLA_FMA.
32640 [DLA_FMA] (MUL12): Use EMULV.
32641 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32642 that are not needed.
32643 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32644 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32645 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32646 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32647 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32648 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32649 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32650
ee2aafe0
AS
326512011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32652
32653 * math/s_nan.c: Undef __nan.
32654 * math/s_nanf.c: Undef __nanf.
32655 * math/s_nanl.c: Undef __nanl.
32656 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32657 "math_private.h".
32658
bc62c2fb
UD
326592011-10-22 Ulrich Drepper <drepper@gmail.com>
32660
77425c63
UD
32661 * math/s_catan.c: Add branch predictions.
32662 * math/s_catanf.c: Likewise.
32663 * math/s_catanh.c: Likewise.
32664 * math/s_catanhf.c: Likewise.
32665 * math/s_catanhl.c: Likewise.
32666 * math/s_catanl.c: Likewise.
32667 * math/s_cexp.c: Likewise.
32668 * math/s_cexpf.c: Likewise.
32669 * math/s_cexpl.c: Likewise.
32670 * math/s_clog.c: Likewise.
32671 * math/s_clog10.c: Likewise.
32672 * math/s_clog10f.c: Likewise.
32673 * math/s_clog10l.c: Likewise.
32674 * math/s_clogf.c: Likewise.
32675 * math/s_clogl.c: Likewise.
32676 * math/s_csqrt.c: Likewise.
32677 * math/s_csqrtf.c: Likewise.
32678 * math/s_csqrtl.c: Likewise.
32679 * math/s_ctanf.c: Likewise.
32680 * math/s_ctanh.c: Likewise.
32681 * math/s_ctanhf.c: Likewise.
32682 * math/s_ctanhl.c: Likewise.
32683 * math/s_ctanl.c: Likewise.
32684
bc62c2fb
UD
32685 * math/math_private.h: Define __nan, __nanf, __nanl.
32686 * math/s_cacosh.c: Include <math_private.h>.
32687 * math/s_cacoshl.c: Likewise.
32688 * math/s_casinh.c: Likewise.
32689 * math/s_casinhf.c: Likewise.
32690 * math/s_casinhl.c: Likewise.
32691 * math/s_ccos.c: Rely entire on ccosh.
32692 * math/s_ccosf.c: Rely entire on ccoshf.
32693 * math/s_ccosl.c: Rely entirely on ccoshl.
32694 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32695 Remove tests for FE_INVALID.
32696 * math/s_ccoshf.c: Likewise.
32697 * math/s_ccoshl.c: Likewise.
32698 * math/s_csin.c: Likewise.
32699 * math/s_csinf.c: Likewise.
32700 * math/s_csinh.c Likewise.
32701 * math/s_csinhf.c: Likewise.
32702 * math/s_csinhl.c: Likewise.
32703 * math/s_csinl.c: Likewise.
32704 * math/s_ctan.c: Likewise.
32705 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32706 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32707 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32708
8ec250a4
UD
327092011-10-21 Ulrich Drepper <drepper@gmail.com>
32710
c196fed8
UD
32711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32712 compilation problems.
32713
8ec250a4
UD
32714 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32715 __builtin_expect.
32716
8d4f46c6
UD
327172011-10-20 Ulrich Drepper <drepper@gmail.com>
32718
ed72b654
UD
32719 * sysdeps/i386/configure.in: Test for -mfma4 option.
32720 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32721 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32722 COMMON_CPUID_INDEX_80000001.
32723 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32724 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32725 use it if FMA3 is not supported.
32726 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32727
8d4f46c6
UD
32728 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32729 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32730
d45c60c2
AS
327312011-10-20 Andreas Schwab <schwab@redhat.com>
32732
32733 [BZ #12892]
32734 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32735 it would create a cycle with a link time dependency.
32736
d9a4d2ab
UD
327372011-10-19 Ulrich Drepper <drepper@gmail.com>
32738
855d1560
UD
32739 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32740 instruction.
32741 * string/Makefile (strop-tests): Add rawmemchr.
32742 * string/test-rawmemchr.c: New file.
32743
d9a4d2ab
UD
32744 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32745 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32746 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32747 when compiling str{,n}casecmp and when AVX is available. Hook up
32748 new optimized code in initializers.
32749
8f3b1ffe
AS
327502011-10-19 Andreas Schwab <schwab@redhat.com>
32751
32752 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32753 __feraiseexcept instead of feraiseexcept.
32754
d38f1dba
UD
327552011-10-18 Ulrich Drepper <drepper@gmail.com>
32756
d9a8d0ab
UD
32757 * math/math_private.h: Define defaults for libc_fetestexcept and
32758 libc_feupdateenv.
32759 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32760 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32761 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32762 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32763 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32764 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32765 libc_fetestexcept and libc_feupdateenv.
32766
4855e3dd
UD
32767 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32768 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32769 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32770 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32771 libc_feholdexcept_setround.
32772
581d30e3
UD
32773 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32774 Add s_nearbyint-c and s_nearbyintf-c.
32775 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32776 nearbyintf inlines.
32777 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32778 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32779 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32780 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32781
d38f1dba
UD
32782 * math/math_private.h: Define defaults for libc_fegetround,
32783 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32784 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32785 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32786 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32787 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32788 standard functions.
32789 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32790 Remove comments and hacks for old compiler versions.
32791 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32792 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32793 libc_feholdexceptl.
32794
caa6c9d8
AS
327952011-10-18 Andreas Schwab <schwab@redhat.com>
32796
32797 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
32798 (__feraiseexcept_renamed): Add __NTH.
32799 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
32800 namespace violations.
32801
97c066e6
UD
328022011-10-17 Ulrich Drepper <drepper@gmail.com>
32803
99ce7b04
UD
32804 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32805
1004d182
UD
32806 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32807
228a984d
UD
32808 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32809 recently added interfaces.
32810 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32811
c8553a6a
UD
32812 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32813 about macro parameter expansion.
32814
ed22dcf6
UD
32815 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32816 __NO_MATH_INLINES is defined. Cleanups.
32817
32818 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32819 and __floorf is target has SSE4.1.
32820 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32821 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32822 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32823 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32824
b171c137
UD
32825 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32826 name.
32827 (floorf): Likewise.
32828
97c066e6
UD
32829 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32830
629f62ef
AS
328312011-10-17 Andreas Schwab <schwab@redhat.com>
32832
49a43d80
AS
32833 * misc/sys/cdefs.h: Fix last change.
32834
629f62ef
AS
32835 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32836 database lookup.
32837
e453f6cd
UD
328382011-10-16 Ulrich Drepper <drepper@gmail.com>
32839
aa78043a
UD
32840 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32841
ad0f5cad
UD
32842 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32843 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32844 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32845 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32846 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32847 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32848 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32849 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32850 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32851 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32852 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32853 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32854 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32855 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32856 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32857 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32858 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32859 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32860 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32861 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32862 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32863 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32864
32865 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32866 ceil, ceilf, floor, floorf.
32867
32868 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32869 Perform IRELATIVE relocations last.
32870
e453f6cd
UD
32871 * elf/do-rel.h: Add another parameter nrelative, replacing the
32872 local variable with the same name. Change name of the function
32873 to end in Rel or Rela (uppercase).
32874 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32875 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32876 elf_dynamic_do_##reloc function.
32877
fd5bdc09
UD
328782011-10-15 Ulrich Drepper <drepper@gmail.com>
32879
79b195b5
UD
32880 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32881 is sufficient, at least on modern CPUs.
32882
d4a28569
UD
32883 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32884
b61099b5
UD
32885 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32886 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32887
bcf01e6d
UD
32888 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32889 __expl_finite.
32890 * math/bits/math-finite.h: Add entries for exp.
32891 * math/e_expl.c: Add __*_finite alias.
32892 * sysdeps/i386/fpu/e_exp.S: Likewise.
32893 * sysdeps/i386/fpu/e_expf.S: Likewise.
32894 * sysdeps/i386/fpu/e_expl.c: Likewise.
32895 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32896 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32897 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32898 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32899 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32900 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32901 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32902
ba1a0d59
UD
32903 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32904 is sufficient, at least on modern CPUs.
32905
fd5bdc09
UD
32906 * ctype/ctype-info.c (__ctype_init): Define.
32907 * include/ctype.h (__ctype_init): Declare.
32908 (__ctype_b_loc): The variable is always initialized.
32909 (__ctype_toupper_loc): Likewise.
32910 (__ctype_tolower_loc): Likewise.
32911 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32912 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32913
7872cfb0
AS
329142011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32915
b468825a
AS
32916 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32917
7872cfb0
AS
32918 * configure.in: Also look in $cxxmachine/include for C++ system
32919 headers.
32920
be13f7bf
LD
329212011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32922
32923 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32924 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32925 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32926 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32927 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32928 (USE_AS_WMEMCMP): New macro.
32929 Fixing indents.
32930 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32931 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32932 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32933 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32934 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32935 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32936 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32937 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32938 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32939 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32940 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32941 (USE_AS_WMEMCMP): New macro.
32942 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32943 * sysdeps/string/test-memcmp.c: Update.
32944 Fix simple_wmemcmp.
32945 Add new tests.
32946 * wcsmbs/wmemcmp.c: Update.
32947 (WMEMCMP): New macro.
32948 Fix overflow bug.
32949
556a2007
AJ
329502011-10-12 Andreas Jaeger <aj@suse.de>
32951
32952 [BZ #13268]
32953 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32954
538faaa7
UD
329552011-10-15 Ulrich Drepper <drepper@gmail.com>
32956
ab6737ff
UD
32957 * libio/iofwide.c (do_length): Avoid warning.
32958
538faaa7
UD
32959 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32960
396a21b1
UD
329612011-10-14 Ulrich Drepper <drepper@gmail.com>
32962
cdf2901f
UD
32963 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32964
38ad40ce
UD
32965 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32966 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32967 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32968 * sysdeps/i386/i686/fpu/e_log.S: New file.
32969 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32970 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32971
396a21b1
UD
32972 * ctype/ctype.h: Add support for inlined isXXX functions when
32973 compiling C++ code.
32974
6b1f68c9
AS
329752011-10-14 Andreas Schwab <schwab@redhat.com>
32976
349290c0
AS
32977 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32978
6b1f68c9
AS
32979 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32980
f2282d42
RM
329812011-10-13 Roland McGrath <roland@hack.frob.com>
32982
32983 [BZ #13291]
32984 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32985
5298ffa8
AS
329862011-10-13 Andreas Schwab <schwab@redhat.com>
32987
714fad23
AS
32988 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32989 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32990 feraiseexcept.
32991
81dcc7fb
AS
32992 * sysdeps/x86_64/memrchr.S: Check for zero size.
32993
5298ffa8
AS
32994 * string/stratcliff.c: Add memrchr tests.
32995
951fbcec
LD
329962011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32997
32998 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32999 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33000 rawmemchr-sse2 rawmemchr-sse2-bsf.
33001 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33002 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33003 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33004 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33005 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33006 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33007 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33008 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33009 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33010 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33011 * string/memrchr.c (MEMRCHR): New macro.
33012
0ac5ae23
UD
330132011-10-12 Ulrich Drepper <drepper@gmail.com>
33014
33015 Add integration with gcc's -ffinite-math-only and optimize wrapper
33016 functions in libm.
33017 * Versions.def: Define GLIBC_2.15 version for libm.
33018 * math/Makefile (headers): Add bits/math-finite.h.
33019 * math/bits/math-finite.h: New file.
33020 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33021 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33022 * math/e_acoshl.c: Add __*_finite alias.
33023 * math/e_acosl.c: Likewise.
33024 * math/e_asinl.c: Likewise.
33025 * math/e_atan2l.c: Likewise.
33026 * math/e_atanhl.c: Likewise.
33027 * math/e_coshl.c: Likewise.
33028 * math/e_exp10.c: Likewise.
33029 * math/e_exp10f.c: Likewise.
33030 * math/e_exp10l.c: Likewise.
33031 * math/e_exp2l.c: Likewise.
33032 * math/e_fmodl.c: Likewise.
33033 * math/e_gammal_r.c: Likewise.
33034 * math/e_hypotl.c: Likewise.
33035 * math/e_j0l.c: Likewise.
33036 * math/e_j1l.c: Likewise.
33037 * math/e_jnl.c: Likewise.
33038 * math/e_lgammal_r.c: Likewise.
33039 * math/e_log10l.c: Likewise.
33040 * math/e_log2l.c: Likewise.
33041 * math/e_logl.c: Likewise.
33042 * math/e_powl.c: Likewise.
33043 * math/e_sinhl.c: Likewise.
33044 * math/e_sqrtl.c: Likewise.
33045 * math/e_scalb.c: Completely rewritten and optimized.
33046 * math/e_scalbf.c: Likewise.
33047 * math/e_scalbl.c: Likewise.
33048 * math/w_acos.c: Likewise.
33049 * math/w_acosf.c: Likewise.
33050 * math/w_acosl.c: Likewise.
33051 * math/w_acosh.c: Likewise.
33052 * math/w_acoshf.c: Likewise.
33053 * math/w_acoshl.c: Likewise.
33054 * math/w_asin.c: Likewise.
33055 * math/w_asinf.c: Likewise.
33056 * math/w_asinl.c: Likewise.
33057 * math/w_atan2.c: Likewise.
33058 * math/w_atan2f.c: Likewise.
33059 * math/w_atan2l.c: Likewise.
33060 * math/w_atanh.c: Likewise.
33061 * math/w_atanhf.c: Likewise.
33062 * math/w_atanhl.c: Likewise.
33063 * math/w_exp10.c: Likewise.
33064 * math/w_exp10f.c: Likewise.
33065 * math/w_exp10l.c: Likewise.
33066 * math/w_fmod.c: Likewise.
33067 * math/w_fmodf.c: Likewise.
33068 * math/w_fmodl.c: Likewise.
33069 * math/w_j0.c: Likewise.
33070 * math/w_j0f.c: Likewise.
33071 * math/w_j0l.c: Likewise.
33072 * math/w_j1.c: Likewise.
33073 * math/w_j1f.c: Likewise.
33074 * math/w_j1l.c: Likewise.
33075 * math/w_jn.c: Likewise.
33076 * math/w_jnf.c: Likewise.
33077 * math/w_log.c: Likewise.
33078 * math/w_logf.c: Likewise.
33079 * math/w_logl.c: Likewise.
33080 * math/w_log10.c: Likewise.
33081 * math/w_log10f.c: Likewise.
33082 * math/w_log10l.c: Likewise.
33083 * math/w_log2.c: Likewise.
33084 * math/w_log2f.c: Likewise.
33085 * math/w_log2l.c: Likewise.
33086 * math/w_pow.c: Likewise.
33087 * math/w_powf.c: Likewise.
33088 * math/w_powl.c: Likewise.
33089 * math/w_remainder.c: Likewise.
33090 * math/w_remainderf.c: Likewise.
33091 * math/w_remainderl.c: Likewise.
33092 * math/w_scalb.c: Likewise.
33093 * math/w_scalbf.c: Likewise.
33094 * math/w_scalbl.c: Likewise.
33095 * math/w_sqrt.c: Likewise.
33096 * math/w_sqrtf.c: Likewise.
33097 * math/w_sqrtl.c: Likewise.
33098 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33099 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33100 used.
33101 * math/math_private.h: Declare __kernel_standard_f.
33102 * math/w_cosh.c: Remove cruft and optimize a bit.
33103 * math/w_coshf.c: Likewise.
33104 * math/w_coshl.c: Likewise.
33105 * math/w_exp2.c: Likewise.
33106 * math/w_exp2f.c: Likewise.
33107 * math/w_exp2l.c: Likewise.
33108 * math/w_hypot.c: Likewise.
33109 * math/w_hypotf.c: Likewise.
33110 * math/w_hypotl.c: Likewise.
33111 * math/w_lgamma.c: Likewise.
33112 * math/w_lgamma_r.c: Likewise.
33113 * math/w_lgammaf.c: Likewise.
33114 * math/w_lgammaf_r.c: Likewise.
33115 * math/w_lgammal.c: Likewise.
33116 * math/w_lgammal_r.c: Likewise.
33117 * math/w_sinh.c: Likewise.
33118 * math/w_sinhf.c: Likewise.
33119 * math/w_sinhl.c: Likewise.
33120 * math/w_tgamma.c: Likewise.
33121 * math/w_tgammaf.c: Likewise.
33122 * math/w_tgammal.c: Likewise.
33123 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33124 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33125 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33126 Minor optimizations. Pretty printing. Remove cruft.
33127 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33128 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33129 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33130 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33131 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33132 * sysdeps/i386/fpu/e_asin.S: Likewise.
33133 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33134 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33135 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33136 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33137 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33138 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33139 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33140 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33141 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33142 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33143 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33144 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33145 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33146 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33147 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33148 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33149 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33150 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33151 * sysdeps/i386/fpu/e_log.S: Likewise.
33152 * sysdeps/i386/fpu/e_log10.S: Likewise.
33153 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33154 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33155 * sysdeps/i386/fpu/e_log2.S: Likewise.
33156 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33157 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33158 * sysdeps/i386/fpu/e_logf.S: Likewise.
33159 * sysdeps/i386/fpu/e_logl.S: Likewise.
33160 * sysdeps/i386/fpu/e_pow.S: Likewise.
33161 * sysdeps/i386/fpu/e_powf.S: Likewise.
33162 * sysdeps/i386/fpu/e_powl.S: Likewise.
33163 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33164 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33165 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33166 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33167 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33168 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33169 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33170 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33171 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33172 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33173 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33174 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33175 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33176 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33177 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33178 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33179 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33180 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33181 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33182 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33183 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33184 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33185 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33186 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33187 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33188 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33189 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33190 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33191 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33192 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33193 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33194 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33195 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33196 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33197 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33198 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33199 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33200 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33201 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33202 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33203 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33204 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33205 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33206 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33207 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33208 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33209 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33210 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33211 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33212 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33213 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33214 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33215 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33216 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33217 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33218 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33219 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33220 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33221 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33222 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33223 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33224 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33225 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33226 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33227 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33228 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33229 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33230 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33231 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33232 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33233 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33234 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33235 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33236 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33237 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33238 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33239 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33240 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33241 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33242 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33243 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33244 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33245 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33246 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33247 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33248 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33249 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33250 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33251 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33252 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33253 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33254 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33255 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33256 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33257 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33258 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33259 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33260 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33261 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33262 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33263 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33264 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33265 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33266 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33267 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33268 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33269 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33270 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33271 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33272 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33273 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33274 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33275 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33276 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33277 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33278 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33279 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33280 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33281 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33282 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33283 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33284 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33285 (__isnanf): Likewise.
33286 (__isinf_ns): Likewise.
33287 (__isinf_nsf): Likewise.
33288 (__finite): Likewise.
33289 (__finitef): Likewise.
33290 (__ieee754_sqrt): Define as macro.
33291 (__ieee754_sqrtf): Define as macro.
33292 (__ieee754_sqrtl): Define as macro.
33293 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33294 inlined copy.
33295 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33296 __FINITE_MATH_ONLY__ consistent.
33297 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33298
12cc2fcd
AS
332992011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33300
a843a204
AS
33301 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33302 of rawmemchr.
33303
12cc2fcd
AS
33304 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33305
c853acd5
UD
333062011-10-09 Ulrich Drepper <drepper@gmail.com>
33307
33308 * po/ja.po: Update from translation team.
33309
c658d255
RM
333102011-10-08 Roland McGrath <roland@hack.frob.com>
33311
110946e4
RM
33312 * locale/programs/locarchive.c (prepare_address_space): New function.
33313 (create_archive, enlarge_archive, open_archive): Use it.
33314
50604220
RM
33315 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33316 inside [SHARED], where it is used.
33317
c658d255
RM
33318 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33319
33320 * nss/getent.c (netgroup_keys): Remove unused variable.
33321 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33322
6a621eb7
UD
333232011-10-08 Ulrich Drepper <drepper@gmail.com>
33324
7edb55ce
UD
33325 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33326 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33327 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33328 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33329 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33330 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33331 * math/Makefile (libm-calls): Add s_isinf_ns.
33332 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33333 * math/multc3.c: Likewise.
33334 * math/s_casin.c: Likewise.
33335 * math/s_casinf.c: Likewise.
33336 * math/s_casinl.c: Likewise.
33337 * math/s_ccos.c: Likewise.
33338 * math/s_ccosf.c: Likewise.
33339 * math/s_ccosl.c: Likewise.
33340 * math/s_ctan.c: Likewise.
33341 * math/s_ctanf.c: Likewise.
33342 * math/s_ctanh.c: Likewise.
33343 * math/s_ctanhf.c: Likewise.
33344 * math/s_ctanhl.c: Likewise.
33345 * math/s_ctanl.c: Likewise.
33346 * math/w_fmod.c: Likewise.
33347 * math/w_fmodf.c: Likewise.
33348 * math/w_fmodl.c: Likewise.
33349 * math/w_remainder.c: Likewise.
33350 * math/w_remainderf.c: Likewise.
33351 * math/w_remainderl.c: Likewise.
33352 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33353 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33354 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33355 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33356 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33357 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33358 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33359 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33360
187da0ae
UD
33361 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33362 of the number.
33363 * stdio-common/printf_fphex.c: Likewise.
33364 * stdio-common/printf_size.c: Likewise.
33365
9277c064
UD
33366 * math/e_exp10.c: Include math_private.h using <...> not "...".
33367 * math/e_exp10f.c: Likewise.
33368 * math/e_exp10l.c: Likewise.
33369 * math/e_exp2l.c: Likewise.
33370 * math/e_j0l.c: Likewise.
33371 * math/e_j1l.c: Likewise.
33372 * math/e_jnl.c: Likewise.
33373 * math/e_lgammal_r.c: Likewise.
33374 * math/e_rem_pio2l.c: Likewise.
33375 * math/e_scalb.c: Likewise.
33376 * math/e_scalbf.c: Likewise.
33377 * math/e_scalbl.c: Likewise.
33378 * math/k_cosl.c: Likewise.
33379 * math/k_sinl.c: Likewise.
33380 * math/k_tanl.c: Likewise.
33381 * math/s_cacoshf.c: Likewise.
33382 * math/s_catan.c: Likewise.
33383 * math/s_catanf.c: Likewise.
33384 * math/s_catanh.c: Likewise.
33385 * math/s_catanhf.c: Likewise.
33386 * math/s_catanhl.c: Likewise.
33387 * math/s_catanl.c: Likewise.
33388 * math/s_ccosh.c: Likewise.
33389 * math/s_ccoshf.c: Likewise.
33390 * math/s_ccoshl.c: Likewise.
33391 * math/s_cexp.c: Likewise.
33392 * math/s_cexpf.c: Likewise.
33393 * math/s_cexpl.c: Likewise.
33394 * math/s_clog.c: Likewise.
33395 * math/s_clog10.c: Likewise.
33396 * math/s_clog10f.c: Likewise.
33397 * math/s_clog10l.c: Likewise.
33398 * math/s_clogf.c: Likewise.
33399 * math/s_clogl.c: Likewise.
33400 * math/s_csin.c: Likewise.
33401 * math/s_csinf.c: Likewise.
33402 * math/s_csinh.c: Likewise.
33403 * math/s_csinhf.c: Likewise.
33404 * math/s_csinhl.c: Likewise.
33405 * math/s_csinl.c: Likewise.
33406 * math/s_csqrt.c: Likewise.
33407 * math/s_csqrtf.c: Likewise.
33408 * math/s_csqrtl.c: Likewise.
33409 * math/s_ctan.c: Likewise.
33410 * math/s_ctanf.c: Likewise.
33411 * math/s_ctanh.c: Likewise.
33412 * math/s_ctanhf.c: Likewise.
33413 * math/s_ctanhl.c: Likewise.
33414 * math/s_ctanl.c: Likewise.
33415 * math/s_ldexp.c: Likewise.
33416 * math/s_ldexpf.c: Likewise.
33417 * math/s_ldexpl.c: Likewise.
33418 * math/s_significand.c: Likewise.
33419 * math/s_significandf.c: Likewise.
33420 * math/s_significandl.c: Likewise.
33421 * math/w_acos.c: Likewise.
33422 * math/w_acosf.c: Likewise.
33423 * math/w_acosh.c: Likewise.
33424 * math/w_acoshf.c: Likewise.
33425 * math/w_acoshl.c: Likewise.
33426 * math/w_acosl.c: Likewise.
33427 * math/w_asin.c: Likewise.
33428 * math/w_asinf.c: Likewise.
33429 * math/w_asinl.c: Likewise.
33430 * math/w_atan2.c: Likewise.
33431 * math/w_atan2f.c: Likewise.
33432 * math/w_atan2l.c: Likewise.
33433 * math/w_atanh.c: Likewise.
33434 * math/w_atanhf.c: Likewise.
33435 * math/w_atanhl.c: Likewise.
33436 * math/w_cosh.c: Likewise.
33437 * math/w_coshf.c: Likewise.
33438 * math/w_coshl.c: Likewise.
33439 * math/w_dremf.c: Likewise.
33440 * math/w_exp10.c: Likewise.
33441 * math/w_exp10f.c: Likewise.
33442 * math/w_exp10l.c: Likewise.
33443 * math/w_exp2.c: Likewise.
33444 * math/w_exp2f.c: Likewise.
33445 * math/w_fmod.c: Likewise.
33446 * math/w_fmodf.c: Likewise.
33447 * math/w_fmodl.c: Likewise.
33448 * math/w_hypot.c: Likewise.
33449 * math/w_hypotf.c: Likewise.
33450 * math/w_hypotl.c: Likewise.
33451 * math/w_j0.c: Likewise.
33452 * math/w_j0f.c: Likewise.
33453 * math/w_j0l.c: Likewise.
33454 * math/w_j1.c: Likewise.
33455 * math/w_j1f.c: Likewise.
33456 * math/w_j1l.c: Likewise.
33457 * math/w_jn.c: Likewise.
33458 * math/w_jnf.c: Likewise.
33459 * math/w_jnl.c: Likewise.
33460 * math/w_lgamma.c: Likewise.
33461 * math/w_lgamma_r.c: Likewise.
33462 * math/w_lgammaf.c: Likewise.
33463 * math/w_lgammaf_r.c: Likewise.
33464 * math/w_lgammal.c: Likewise.
33465 * math/w_lgammal_r.c: Likewise.
33466 * math/w_log.c: Likewise.
33467 * math/w_log10.c: Likewise.
33468 * math/w_log10f.c: Likewise.
33469 * math/w_log10l.c: Likewise.
33470 * math/w_log2.c: Likewise.
33471 * math/w_log2f.c: Likewise.
33472 * math/w_log2l.c: Likewise.
33473 * math/w_logf.c: Likewise.
33474 * math/w_logl.c: Likewise.
33475 * math/w_pow.c: Likewise.
33476 * math/w_powf.c: Likewise.
33477 * math/w_powl.c: Likewise.
33478 * math/w_remainder.c: Likewise.
33479 * math/w_remainderf.c: Likewise.
33480 * math/w_remainderl.c: Likewise.
33481 * math/w_scalb.c: Likewise.
33482 * math/w_scalbf.c: Likewise.
33483 * math/w_scalbl.c: Likewise.
33484 * math/w_sinh.c: Likewise.
33485 * math/w_sinhf.c: Likewise.
33486 * math/w_sinhl.c: Likewise.
33487 * math/w_sqrt.c: Likewise.
33488 * math/w_sqrtf.c: Likewise.
33489 * math/w_sqrtl.c: Likewise.
33490 * math/w_tgamma.c: Likewise.
33491 * math/w_tgammaf.c: Likewise.
33492 * math/w_tgammal.c: Likewise.
33493
6a621eb7
UD
33494 * po/ja.po: Update from translation team.
33495
bf582445
AJ
334962011-09-29 Andreas Jaeger <aj@suse.de>
33497
f9efbf3a
AJ
33498 [BZ #13179]
33499 * sunrpc/netname.c (netname2host): Fix logic.
33500
bf582445
AJ
33501 [BZ #6779]
33502 [BZ #6783]
33503 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33504 correctly.
33505 * math/w_remainder.c (__remainder): Likewise.
33506 * math/w_remainderf.c (__remainderf): Likewise.
33507 * math/libm-test.inc (remainder_test): Add test cases.
33508
48693bea
AK
335092011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33510
33511 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33512 sdiv_qrnnd.
33513
42622229
LD
335142011-10-07 Ulrich Drepper <drepper@gmail.com>
33515
33516 * string/test-memcmp.c: Avoid unncessary #defines.
33517 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33518
093ecf92
LD
335192011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33520
33521 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33522 Use new sse2 version for core i3 - i7 as it's faster
33523 than sse42 version.
33524 (bit_Prefer_PMINUB_for_stringop): New.
33525 * sysdeps/x86_64/rawmemchr.S: Update.
33526 Replace with faster SSE2 version.
33527 * sysdeps/x86_64/memrchr.S: New file.
33528 * sysdeps/x86_64/memchr.S: Update.
33529 Replace with faster SSE2 version.
33530
fde56e5c
MP
335312011-09-12 Marek Polacek <mpolacek@redhat.com>
33532
33533 * elf/dl-load.c (lose): Add cast to avoid warning.
33534
21fd49a9
UD
335352011-10-07 Ulrich Drepper <drepper@gmail.com>
33536
5a06e643
UD
33537 * po/ca.po: Update from translation team.
33538
684ae515
UD
33539 * inet/getnetgrent_r.c: Hook up nscd.
33540 * nscd/Makefile (routines): Add nscd_netgroup.
33541 (nscd-modules): Add netgroupcache.
33542 (CFLAGS-netgroupcache.c): Define.
33543 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33544 (cache_search): Add const to second parameter.
33545 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33546 INNETGR.
33547 (dbs): Add netgrdb entry.
33548 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33549 (verify_persistent_db): Handle netgrdb.
33550 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33551 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33552 GETFDNETGR.
33553 (netgroup_response_header): Define.
33554 (innetgroup_response_header): Define.
33555 (datahead): Add netgroup_response_header and innetgroup_response_header
33556 elements.
33557 * nscd/nscd.conf: Add entries for netgroup cache.
33558 * nscd/nscd.h (dbtype): Add netgrdb.
33559 (_PATH_NSCD_NETGROUP_DB): Define.
33560 (netgroup_iov_disabled): Declare.
33561 (xmalloc, xcalloc, xrealloc): Move declarations here.
33562 (cache_search): Adjust prototype.
33563 Add netgroup-related prototypes.
33564 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33565 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33566 (__nscd_innetgr): Declare.
33567 * nscd/selinux.c (perms): Use access_vector_t as element type and
33568 add netgroup-related initializers.
33569 * nscd/netgroupcache.c: New file.
33570 * nscd/nscd_netgroup.c: New file.
33571 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33572 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33573 For four parameters use innetgr.
33574 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33575 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33576 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33577 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33578
21fd49a9
UD
33579 * nscd/connections.c (register_traced_file): Don't register file
33580 for disabled databases.
33581
054c0457
UD
335822011-10-06 Ulrich Drepper <drepper@gmail.com>
33583
32b63198
UD
33584 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33585
054c0457
UD
33586 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33587 from tree and freeing node.
33588
64031225
JO
335892011-09-25 Jiri Olsa <jolsa@redhat.com>
33590
33591 * nss/nsswitch.c (__nss_database_lookup): Handle
33592 nss_parse_service_list out of memory case.
33593
0490345c
JO
335942011-09-15 Jiri Olsa <jolsa@redhat.com>
33595
33596 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33597 out of memory case.
33598
3a62d00d
AS
335992011-10-04 Andreas Schwab <schwab@redhat.com>
33600
33601 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33602 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33603 pass it down.
33604 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33605 elf_machine_rela, elf_machine_lazy_rel.
33606 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33607 (ELF_DYNAMIC_DO_REL): Likewise.
33608 (ELF_DYNAMIC_DO_RELA): Likewise.
33609 (ELF_DYNAMIC_RELOCATE): Likewise.
33610 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33611 to ELF_DYNAMIC_DO_REL.
33612 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33613 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33614 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33615 elf_machine_rela.
33616 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33617 skip_ifunc, don't call ifunc function if non-zero.
33618 (elf_machine_rela): Likewise.
33619 (elf_machine_lazy_rel): Likewise.
33620 (elf_machine_lazy_rela): Likewise.
33621 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33622 (elf_machine_lazy_rel): Likewise.
33623 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33624 Likewise.
33625 (elf_machine_lazy_rel): Likewise.
33626 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33627 Likewise.
33628 (elf_machine_lazy_rel): Likewise.
33629 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33630 (elf_machine_lazy_rel): Likewise.
33631 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33632 (elf_machine_lazy_rel): Likewise.
33633 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33634 (elf_machine_lazy_rel): Likewise.
33635 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33636 (elf_machine_lazy_rel): Likewise.
33637 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33638 (elf_machine_lazy_rel): Likewise.
33639 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33640 (elf_machine_lazy_rel): Likewise.
33641
68577918
UD
336422011-09-28 Ulrich Drepper <drepper@gmail.com>
33643
33644 * nss/nss_files/files-init.c (_nss_files_init): Use static
33645 initialization for all the *_traced_file variables.
33646
68822d74
AS
336472011-09-28 Andreas Schwab <schwab@redhat.com>
33648
33649 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33650
2056100b
RM
336512011-09-27 Roland McGrath <roland@hack.frob.com>
33652
33653 [BZ #13226]
33654 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33655
32c76b63
AS
336562011-09-27 Andreas Schwab <schwab@redhat.com>
33657
33658 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33659 Reread the line before reparsing it.
33660
bf972c9d
AS
336612011-09-26 Andreas Schwab <schwab@redhat.com>
33662
33663 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33664
e057a1b5
JM
336652011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33666 Maxim Kuvyrkov <maxim@codesourcery.com>
33667 Joseph Myers <joseph@codesourcery.com>
33668
33669 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33670 if needed for __stack_chk_guard.
33671
bc7e1c36
RM
336722011-09-19 Roland McGrath <roland@hack.frob.com>
33673
ecb1482f
RM
33674 * sysdeps/posix/spawni.c (script_execute): Always define it.
33675 It will be optimized away if unused.
33676 (maybe_script_execute): New function.
33677 (__spawni): Call it.
33678
bc7e1c36
RM
33679 * Makerules: Don't include tls.make.
33680 (config-tls): Always set to thread.
33681 * tls.make.c: File removed.
33682
1c3b002b
MF
336832011-09-19 Mike Frysinger <vapier@gentoo.org>
33684
33685 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33686 * config.make.in (CPPFLAGS-config): New substituted variable.
33687
2840865d
UD
336882011-09-15 Ulrich Drepper <drepper@gmail.com>
33689
88738eb6
UD
33690 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33691
cbf645a6 33692 [BZ #13192]
2840865d
UD
33693 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33694 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33695
b402e91a
RM
336962011-09-15 Roland McGrath <roland@hack.frob.com>
33697
33698 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33699 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33700 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33701 (CALL_FAIL): Likewise.
33702 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33703 (CALL_FAIL): Macro removed.
33704 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33705
4c1a1f71
UD
337062011-09-15 Ulrich Drepper <drepper@gmail.com>
33707
33708 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33709 for __FINITE_MATH_ONLY__ == 1.
33710
edc121be
AS
337112011-09-15 Andreas Schwab <schwab@redhat.com>
33712
33713 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33714 __ieee754_sqrt instead of sqrt.
33715 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33716 __ieee754_sqrtf instead of sqrtf.
33717 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33718 __floorf instead of floorf.
33719 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33720 __floorf, __truncf instead of floorf, truncf.
33721
cd205654
UD
337222011-09-14 Ulrich Drepper <drepper@gmail.com>
33723
ee4d0315
UD
33724 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33725
cd205654
UD
33726 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33727 __extern_always_inline.
33728 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33729 32-bit.
33730
48b67d71
AS
337312011-09-14 Andreas Schwab <schwab@redhat.com>
33732
33733 * elf/rtld.c (dl_main): Also relocate in dependency order when
33734 doing symbol dependency testing.
33735
1ae12c75
AS
337362011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33737
33738 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33739 Always define `refsym'.
33740
995a80df
AS
337412011-09-13 Andreas Schwab <schwab@redhat.com>
33742
e529793b
AS
33743 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33744 (__FD_ELT): Renamed from __FDELT.
33745 * misc/bits/select2.h (__FD_ELT): Likewise.
33746 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33747 __FD_MASK instead of __FDELT, __FDMASK.
33748 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33749 Likewise.
33750 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33751 Likewise.
33752
52d4fef8
AS
33753 * elf/Makefile (gen-ldd): Fix pattern.
33754
995a80df
AS
33755 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33756 (init_tls): Likewise.
33757
8682f8b0
UD
337582011-09-12 Ulrich Drepper <drepper@gmail.com>
33759
33760 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33761
de82006d
AS
337622011-09-12 Andreas Schwab <schwab@redhat.com>
33763
a7c8e6a1
AS
33764 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33765 `struct cmsghdr *' instead of `void *'.
33766 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33767 Likewise.
33768
0f31fe77
AS
337692011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33770
33771 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33772 if non-absolute.
33773 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33774 ldd_rewrite_script.
0f31fe77 33775
32b4c839
UD
337762011-09-11 Ulrich Drepper <drepper@gmail.com>
33777
83cd1420
UD
33778 * configure.in: Remove --with-tls option.
33779 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33780 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33781 out in case it is missing.
33782 * sysdeps/ia64/elf/configure.in: Likewise.
33783 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33784 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33785 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33786 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33787 * sysdeps/sh/elf/configure.in: Likewise.
33788 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33789 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33790 * sysdeps/x86_64/elf/configure.in: Likewise.
33791 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33792 * sysdeps/mach/hurd/tls.h: Likewise.
33793
633f745d
UD
33794 [BZ #13067]
33795 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33796
f318beb8
UD
33797 [BZ #13090]
33798 * configure.in: Fix use of AC_INIT.
33799
32b4c839
UD
33800 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33801
3ce1f295
UD
338022011-09-10 Ulrich Drepper <drepper@gmail.com>
33803
bb016596
UD
33804 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33805 __set_errno.
8e58439c
UD
33806 * malloc/hooks.c: Likewise.
33807
aebae053 33808 [BZ #11929]
02d46fc4
UD
33809 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33810 variables statically.
33811 (narenas): Initialize.
33812 (list_lock): Initialize.
bb016596
UD
33813 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33814 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
33815 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33816 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33817 Add initializers to main_arena and mp_.
33818 (malloc_state): Remove pagesize member. Change all users to use
33819 GLRO(dl_pagesize).
33820
33821 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33822 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33823 is always initialized.
33824
22a89187
UD
33825 * malloc/malloc.c: Removed unused configurations and dead code.
33826 * malloc/arena.c: Likewise.
33827 * malloc/hooks.c: Likewise.
02d46fc4 33828 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 33829
d063d164
UD
33830 * include/tls.h: Removed. USE___THREAD must always be defined.
33831 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33832 * elf/dl-libc.c: Likewise.
33833 * elf/dl-tsd.c: Likewise.
33834 * include/errno.h: Likewise.
33835 * include/netdb.h: Likewise.
33836 * include/resolv.h: Likewise.
33837 * inet/herrno-loc.c: Likewise.
33838 * inet/herrno.c: Likewise.
33839 * malloc/arena.c: Likewise.
33840 * malloc/hooks.c: Likewise.
33841 * malloc/malloc.c: Likewise.
33842 * resolv/res-state.c: Likewise.
33843 * resolv/res_libc.c: Likewise.
33844 * sysdeps/i386/dl-machine.h: Likewise.
33845 * sysdeps/ia64/dl-machine.h: Likewise.
33846 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33847 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33848 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33849 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33850 * sysdeps/sh/dl-machine.h: Likewise.
33851 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33852 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33853 * sysdeps/unix/i386/sysdep.S: Likewise.
33854 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33855 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33856 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33857 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33858 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33859 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33860 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33861 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33862 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33863 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33864 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33865 * sysdeps/x86_64/dl-machine.h: Likewise.
33866 * tls.make.c: Likewise.
33867
3ce1f295
UD
33868 * configure.in: Remove --with-__thread option. Make tests for
33869 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33870 tls_model attribute fail if no support is available. Remove
33871 USE_IN_LIBIO.
33872 * Makeconfig: Adjust for dropped configure option. All features are
33873 now mandatory.
33874 * Makerules: Likewise.
33875 * Versions.def: Likewise.
33876 * argp/argp-fmtstream.c: Likewise.
33877 * argp/argp-fmtstream.h: Likewise.
33878 * argp/argp-help.c: Likewise.
33879 * assert/assert.c: Likewise.
33880 * config.h.in: Likewise.
33881 * config.make.in: Likewise.
33882 * configure: Likewise.
33883 * configure.in: Likewise.
33884 * csu/Versions: Likewise.
33885 * csu/init.c: Likewise.
33886 * elf/tst-audit2.c: Likewise.
33887 * elf/tst-tls10.c: Likewise.
33888 * elf/tst-tls10.h: Likewise.
33889 * elf/tst-tls11.c: Likewise.
33890 * elf/tst-tls12.c: Likewise.
33891 * elf/tst-tls14.c: Likewise.
33892 * elf/tst-tlsmod11.c: Likewise.
33893 * elf/tst-tlsmod12.c: Likewise.
33894 * elf/tst-tlsmod13.c: Likewise.
33895 * elf/tst-tlsmod13a.c: Likewise.
33896 * elf/tst-tlsmod14a.c: Likewise.
33897 * elf/tst-tlsmod15b.c: Likewise.
33898 * elf/tst-tlsmod16a.c: Likewise.
33899 * elf/tst-tlsmod16b.c: Likewise.
33900 * elf/tst-tlsmod7.c: Likewise.
33901 * elf/tst-tlsmod8.c: Likewise.
33902 * elf/tst-tlsmod9.c: Likewise.
33903 * gmon/gmon.c: Likewise.
33904 * grp/fgetgrent_r.c: Likewise.
33905 * grp/putgrent.c: Likewise.
33906 * hurd/fopenport.c: Likewise.
33907 * include/libc-symbols.h: Likewise.
33908 * include/tls.h: Likewise.
33909 * intl/gettextP.h: Likewise.
33910 * intl/loadinfo.h: Likewise.
33911 * locale/global-locale.c: Likewise.
33912 * locale/localeinfo.h: Likewise.
33913 * mach/devstream.c: Likewise.
33914 * malloc/arena.c: Likewise.
33915 * malloc/set-freeres.c: Likewise.
33916 * misc/err.c: Likewise.
33917 * misc/getttyent.c: Likewise.
33918 * misc/mntent_r.c: Likewise.
33919 * posix/getopt.c: Likewise.
33920 * posix/wordexp.c: Likewise.
33921 * pwd/fgetpwent_r.c: Likewise.
33922 * resolv/Versions: Likewise.
33923 * resolv/res_hconf.c: Likewise.
33924 * shadow/fgetspent_r.c: Likewise.
33925 * shadow/putspent.c: Likewise.
33926 * stdio-common/printf_fphex.c: Likewise.
33927 * stdio-common/tmpfile.c: Likewise.
33928 * stdlib/abort.c: Likewise.
33929 * stdlib/fmtmsg.c: Likewise.
33930 * sunrpc/auth_unix.c: Likewise.
33931 * sunrpc/clnt_perr.c: Likewise.
33932 * sunrpc/clnt_tcp.c: Likewise.
33933 * sunrpc/clnt_udp.c: Likewise.
33934 * sunrpc/clnt_unix.c: Likewise.
33935 * sunrpc/openchild.c: Likewise.
33936 * sunrpc/svc_simple.c: Likewise.
33937 * sunrpc/svc_tcp.c: Likewise.
33938 * sunrpc/svc_udp.c: Likewise.
33939 * sunrpc/svc_unix.c: Likewise.
33940 * sunrpc/xdr.c: Likewise.
33941 * sunrpc/xdr_array.c: Likewise.
33942 * sunrpc/xdr_rec.c: Likewise.
33943 * sunrpc/xdr_ref.c: Likewise.
33944 * sunrpc/xdr_stdio.c: Likewise.
33945
1248c1c4
PB
339462011-09-09 Ulrich Drepper <drepper@gmail.com>
33947
33948 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33949
339502011-07-03 Andreas Jaeger <aj@suse.de>
33951
33952 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33953 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33954 regenerate with gen-libm-tests.pl.
33955
339562010-05-12 Petr Baudis <pasky@suse.cz>
33957
33958 [BZ #11589]
33959 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33960 around j0() zero points by switching to j1().
33961 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33962 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33963 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33964 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33965
f22e1074
UD
339662011-09-09 Ulrich Drepper <drepper@gmail.com>
33967
f19009c1
UD
33968 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33969 instead of 0.
33970 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 33971 instead of 0.
f19009c1
UD
33972 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33973 Patch in part by Pavel Roskin <proski@gnu.org>.
33974
3f8cc204
UD
33975 [BZ #13138]
33976 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33977 realloc.
33978 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33979 Free memory block if necessary.
33980
f22e1074
UD
33981 [BZ #12847]
33982 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33983 be NULL. Don't lock in this case.
33984
0a2349f9
RM
339852011-09-09 Roland McGrath <roland@hack.frob.com>
33986
33987 * elf/elf.h (ELFOSABI_GNU): New macro.
33988 (ELFOSABI_LINUX): Define to that.
33989
f3cdd467
DZ
339902011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33991
33992 * string/strncat.c (strncat): Undef the symbol in case it has been
33993 defined in bits/string.h.
33994
74718d13
UD
339952011-09-09 Ulrich Drepper <drepper@gmail.com>
33996
633e9e0f
UD
33997 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33998
0a2349f9 33999 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
34000 link map.
34001
f9924780
AJ
340022011-08-17 Andreas Jaeger <aj@suse.de>
34003
34004 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34005
7f5517aa
PP
340062011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34007 Ian Lance Taylor <iant@google.com>
34008
34009 * math/libm-test.inc (lround_test): New testcase.
34010 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34011
762011fe
UD
340122011-09-08 Ulrich Drepper <drepper@gmail.com>
34013
92963737
UD
34014 * Makefile: Remove support for automatic cvs check-ins.
34015 * Makerules: Likewise.
34016 * config.make.in: Likewise.
34017 * configure.in: Likewise.
34018 * intl/Makefile: Likewise.
34019 * locale/Makefile: Likewise.
34020 * po/Makefile: Likewise.
34021 * posix/Makefile: Likewise.
34022 * sysdeps/gnu/Makefile: Likewise.
34023 * sysdeps/mach/hurd/Makefile: Likewise.
34024 * sysdeps/sparc/sparc32/Makefile: Likewise.
34025
b0727fd8
JS
34026 [BZ #13118]
34027 * posix/Makefile (bug-regex32-ENV): Define.
34028 Patch by John Stanley <jpsinthemix@verizon.net>.
34029
a0f33f99
UD
34030 * misc/Makefile (headers): Add bits/select2.h.
34031 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34032 * misc/bits/select2.h: New file.
34033 * include/bits/select2.h: New file.
34034 * debug/Makefile (routines): Add fdelt_chk.
34035 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34036 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34037 FD_ISSET.
34038 * debug/fdelt_chk.c: New file.
34039
762011fe
UD
34040 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34041 * wcsmbs/test-wmemcmp.c: Likewise.
34042 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 34043 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
34044
340452011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34046
34047 * string/Makefile (strop-tests): Add memcmp.
34048 * string/test-wmemcmp.c: New file.
34049 * string/test-memcmp.c: Add wmemcmp support.
34050
7f513ec8
RM
340512011-09-08 Roland McGrath <roland@hack.frob.com>
34052
0442afb4
RM
34053 [BZ #13153]
34054 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34055 2011-07-19 change.
34056
7f513ec8
RM
34057 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34058 garbage value in a __mach_port_mod_refs call in the cases of the
34059 task-self and thread-self ports.
34060
a12b2239
ST
340612011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34062
34063 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34064
610f9ab4
AS
340652011-09-08 Andreas Schwab <schwab@redhat.com>
34066
7f513ec8 34067 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 34068
48882a1a
LD
340692011-09-07 Ulrich Drepper <drepper@gmail.com>
34070
b49865be
UD
34071 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34072
fdc86bc9
UD
34073 * elf/dl-libc.c (dlerror_run): Pass back error code from
34074 dl_catch_error.
34075
c966526a
UD
34076 [BZ #13123]
34077 * elf/dl-load.c (lose): Free l_origin if it is valid.
34078
48882a1a
LD
34079 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34080 names.
34081 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34082 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34083 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34084 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34085 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34086 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34087
77a2a8b4
AZ
340882011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34089
34090 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34091 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34092 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34093 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34094 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34095 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34096 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34097 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34098 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34099 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34100
24f579d8
AM
341012011-08-15 Alan Modra <amodra@gmail.com>
34102
34103 [BZ #13092]
34104 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34105 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34106 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34107 ppc_mcount to static-only-routines.
34108 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34109 __mcount_internal.
34110 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34111 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34112
3d4837df
UD
341132011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34114
34115 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34116 for finite and infinity parameters.
34117
22700377
WS
341182011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34119
34120 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34121 and add nop instructions for throughput optimization.
34122 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34123
5025581e
WS
341242011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34125
34126 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34127 aligned copy for power7 with vector-scalar instructions.
34128 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34129
08a300c9
L
341302011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34131
34132 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34133 AVX check.
34134
59178ef9
AS
341352011-09-07 Andreas Schwab <schwab@redhat.com>
34136
34137 [BZ #13144]
34138 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34139 last change.
34140
e38ba7ab
UD
341412011-09-07 Ulrich Drepper <drepper@gmail.com>
34142
34143 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34144 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34145 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34146 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34147 clock_gettime.
34148
d53a73ac
UD
341492011-09-06 Ulrich Drepper <drepper@gmail.com>
34150
fc8bffcc
UD
34151 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34152 Forgot to demangle the pointer.
34153
ceaa0c5d
UD
34154 * sysdeps/i386/sysdep.h: Define atom_text_section.
34155 * sysdeps/x86_64/sysdep.h: Likewise.
34156 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34157 section with atom_text_section.
34158 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34159 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34160 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34161 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34162 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34163
a77d3c17
UD
34164 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34165 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34166 already be defined. Change to take two parameters and don't assign
34167 result to variable. Adjust all users.
34168 Define INTERNAL_GETTIME if not already defined.
34169 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34170 call.
34171 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34172 HAVE_CLOCK_GETTIME_VSYSCALL.
34173 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34174
d53a73ac
UD
34175 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34176 gettimeofday vsyscall, just use time.
34177
a8f84144
AS
341782011-09-06 Andreas Schwab <schwab@redhat.com>
34179
34180 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34181 <errno.h>.
34182
ef606249
UD
341832011-09-06 Ulrich Drepper <drepper@gmail.com>
34184
34185 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34186 syscall on x86-64.
34187 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34188 syscall.
34189 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34190 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34191 syscall if possible.
34192
6585cb60
UD
341932011-09-05 Ulrich Drepper <drepper@gmail.com>
34194
34195 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34196 e_ident. Don't pass to find_mapsXX.
34197 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34198
a5f524e4
LD
341992011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34200
34201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34202 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34203 * sysdeps/x86_64/multiarch/strchr.S: Update.
34204 Check bit_slow_BSF bit.
34205 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34206 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34207 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34208
554881ef
UD
342092011-09-05 Ulrich Drepper <drepper@gmail.com>
34210
d96de963
UD
34211 [BZ #13134]
34212 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34213 before glibc 2.15.
34214 (tryshell): Define.
34215 (__spawni): Change last parameter to be flag. Test
34216 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34217 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34218 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34219 * posix/spawni.c: Likewise.
34220 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34221 * posix/spawnp.c: Likewise. Change normal version to use
34222 SPAWN_XFLAGS_USE_PATH.
34223 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34224 SPAWN_XFLAGS_TRY_SHELL.
34225
d48e5868
UD
34226 [BZ #13150]
34227 * posix/glob.h: Remove gcc 1.x support.
34228
554881ef
UD
34229 [BZ #13068]
34230 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34231
693fb948
LD
342322011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34233
34234 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34235 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34236 strrchr-sse2-bsf
34237 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34238 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34239 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34240 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34241 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34242 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34243
1b48c537
UD
342442011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34245
49d42c37
UD
34246 * sysdeps/x86_64/wcscmp.S: New file.
34247
1b48c537
UD
34248 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34249 wcscmp-c wcscmp-sse2
34250 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34251 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34252 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34253 * wcsmbs/wcscmp.c: Allow renaming.
34254
15c95c5d
DM
342552011-09-05 David S. Miller <davem@davemloft.net>
34256
34257 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34258 stack slot, rather than the struct return pointer slot.
34259 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34260 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34262 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34263
2f0ad8f3
UD
342642011-09-05 Ulrich Drepper <drepper@gmail.com>
34265
d88ae418
UD
34266 * po/ja.po: Update from translation team.
34267
2f0ad8f3
UD
34268 [BZ #13144]
34269 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34270 kernel in 64-bit binaries.
34271
5f4318d1
DM
342722011-09-01 David S. Miller <davem@davemloft.net>
34273
34274 * elf/elf.h (HWCAP_SPARC_*): Move to..
34275 * sysdeps/sparc/sysdep.h: this new file and add new values.
34276 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34277 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34278 _DL_HWCAP_COUNT to 24.
34279 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34280 entries.
34281 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34282 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34283 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34284 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34285 instead of magic constants.
34286 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34287
3ba57516
DM
342882011-08-31 David S. Miller <davem@davemloft.net>
34289
34290 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34291 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34292 Reimplement to do errno handling inline.
34293 (SYSCALL_ERROR_HANDLER): New macro.
34294 (__SYSCALL_STRING): Do not do errno handling in asm.
34295 (__CLONE_SYSCALL_STRING): Delete.
34296 (__INTERNAL_SYSCALL_STRING): Delete.
34297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34298 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34299 (PSEUDO): Reimplement to do errno handling inline.
34300 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34301 (SYSCALL_ERROR_HANDLER): New macro.
34302 (__SYSCALL_STRING): Do not do errno handling in asm.
34303 (__CLONE_SYSCALL_STRING): Delete.
34304 (__INTERNAL_SYSCALL_STRING): Delete.
34305 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34306 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34307 i386.
34308 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34309 (inline_syscall*): Add 'err' argument.
34310 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34311 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34312 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34313 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34314
34315 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34316 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34317
2bc17433
AS
343182011-08-30 Andreas Schwab <schwab@redhat.com>
34319
34320 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34321
fbeb5f4d
JO
343222011-08-29 Jiri Olsa <jolsa@redhat.com>
34323
34324 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34325 directive.
34326
ad69cc26
DM
343272011-08-24 David S. Miller <davem@davemloft.net>
34328
34329 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34330
39dd69df
AS
343312011-08-24 Andreas Schwab <schwab@redhat.com>
34332
34333 * elf/Makefile: Add rules to build and run unload8 test.
34334 * elf/unload8.c: New file.
34335 * elf/unload8mod1.c: New file.
34336 * elf/unload8mod1x.c: New file.
34337 * elf/unload8mod2.c: New file.
34338 * elf/unload8mod3.c: New file.
34339
34340 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34341 it wasn't used.
34342
2c0b250a
DM
343432011-08-23 David S. Miller <davem@davemloft.net>
34344
34345 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34346 subtract stack bias.
34347 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34348 %sp not %fp in calculations.
34349 (_JMPBUF_UNWINDS_ADJ): Likewise.
34350
22044b48
DM
34351 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34352 (aio_suspend): Call it to force an exception region around the
34353 AIO_MISC_WAIT() invocation.
34354
2cae4995
AS
343552011-08-23 Andreas Schwab <schwab@redhat.com>
34356
34357 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34358 backslash.
34359
873a772e
AJ
343602011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34361
34362 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34363 protection macro.
34364 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34365 and <dl-machine.h>.
34366 (Elf64_FuncDesc): Remove.
34367
25ad0df1
DM
343682011-08-22 David S. Miller <davem@davemloft.net>
34369
34370 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34371 sigaltstack check, add missing cfi directives.
34372 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34373 missing cfi directives, and sigaltstack handling.
34374
e888bcbe
AS
343752011-08-16 Andreas Schwab <schwab@redhat.com>
34376
34377 [BZ #11724]
34378 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34379 object is seen twice.
34380 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34381
34382 * elf/Makefile (distribute): Add tst-initorder2.c.
34383 (tests): Add tst-initorder2.
34384 (modules-names): Add tst-initorder2a tst-initorder2b
34385 tst-initorder2c tst-initorder2d. Add rules to build them.
34386 ($(objpfx)tst-initorder2.out): New rule.
34387 * elf/tst-initorder2.c: New file.
34388 * elf/tst-initorder2.exp: New file.
34389
87162f46
AS
343902011-08-22 Andreas Schwab <schwab@redhat.com>
34391
70538b7f
AS
34392 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34393
f55ffe58
AS
34394 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34395 dependencies back to end of function.
34396
87162f46
AS
34397 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34398 $(elfobjdir)/ld.so.
34399
91b392a4
UD
344002011-08-21 Ulrich Drepper <drepper@gmail.com>
34401
34402 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34403 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34404 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34405 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34406 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34407 of __vdso_gettimeofday.
34408 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34409 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34410 attribute_hidden.
34411 (_libc_vdso_platform_setup): Remove initialization of
34412 __vdso_gettimeofday and __vdso_time.
34413
5c43483f
UD
344142011-08-20 Ulrich Drepper <drepper@gmail.com>
34415
775a77e7
UD
34416 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34417 and fgetc_unlocked.
34418 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34419 getc_unlocked.
89f447ed 34420
49c74ba9
UD
34421 * elf/dl-open.c (add_to_global): Report additions to the global scope
34422 for LD_DEBUG=scopes.
34423 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 34424 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 34425
5c43483f
UD
34426 [BZ #13114]
34427 * stdio-common/Makefile (tests): Add bug24.
34428 * stdio-common/bug24.c: New file.
34429
a101b025
AJ
344302011-08-19 Andreas Jaeger <aj@suse.de>
34431
34432 [BZ #13114]
34433 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34434 non-existant file when using close-on-exec mode.
34435
c88f1766
UD
344362011-08-20 Ulrich Drepper <drepper@gmail.com>
34437
0276a718
UD
34438 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34439 the very first instruction.
34440
c88f1766
UD
34441 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34442 the CFI state in the end.
34443 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34444 inclusion of dl-trampoline.h.
34445 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34446
51ccffa0
AS
344472011-08-19 Andreas Schwab <schwab@redhat.com>
34448
94d7165f
AS
34449 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34450 expectations for long double.
34451
51ccffa0
AS
34452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34453 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34454
fd708658 344552011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
34456
34457 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34458 artificual limit depends upon the system page size.
34459
44f0a71e
UD
344602011-08-17 Ulrich Drepper <drepper@gmail.com>
34461
34462 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34463 * resolv/Makefile: Define CFLAGS-libresolv.
34464
8de79a24
AS
344652011-08-17 Andreas Schwab <schwab@redhat.com>
34466
34467 * nss/makedb.c (compute_tables): Make variables used in nested
34468 function static.
34469
27724598
UD
344702011-08-17 Ulrich Drepper <drepper@gmail.com>
34471
c5305d88
UD
34472 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34473 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34474 if buffer was too small.
34475
27724598
UD
34476 * elf/pldd.c (main): Attach to all threads in the process.
34477 Rewrite /proc handling to use *at functions.
34478
076fe015
UD
344792011-08-16 Ulrich Drepper <drepper@gmail.com>
34480
174baab3
UD
34481 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34482 specifies first scope to show.
34483 (dl_open_worker): Update callers. Move printing scope of new
34484 object to before the relocation.
44f0a71e 34485 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
34486 * sysdeps/generic/ldsodefs.h: Update declaration.
34487
076fe015
UD
34488 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34489 string for the scope number.
34490
a60df2c3
UD
344912011-08-14 Ulrich Drepper <drepper@gmail.com>
34492
34493 * nscd/servicescache.c (cache_addserv): Make sure written is always
34494 initialized.
34495
5e4287d1
RM
344962011-08-14 Roland McGrath <roland@hack.frob.com>
34497
85ae0589
RM
34498 * sysdeps/i386/i486/bits/atomic.h
34499 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34500 statement expression, so as to suppress "set but not used" warning.
34501 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34502
69f63097
RM
34503 * string/strncat.c (STRNCAT): Use prototype definition.
34504
675456ef
RM
34505 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34506 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34507 -Iprograms here.
34508 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34509 (localedef-modules): Add localedef.
34510 (locale-modules): Add locale.
34511
5e4287d1
RM
34512 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34513 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34514 to avoid a warning.
34515
9c96ff23
DM
345162011-08-14 David S. Miller <davem@davemloft.net>
34517
34518 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34519 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34520
f9ddf089
UD
345212011-08-13 Ulrich Drepper <drepper@gmail.com>
34522
44f0a71e 34523 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
34524 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34525 * elf/rtld.c (dl_main): Set l_name of vDSO.
34526 Call _dl_show_scope when DL_DEBUG_SCOPES.
34527 (process_dl_debug): Recognize scopes flag and also set it for all.
34528 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34529 Declare _dl_show_scope.
34530
1dc27704
UD
34531 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34532 (do_dlopen): Pass caller_dlopen to dl_open.
34533 (__libc_dlopen_mode): Initialize caller_dlopen.
34534
f9ddf089
UD
34535 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34536 of libc. Make tolower call locale-independent. Optimize a bit by
34537 using isdigit instead of isalnum.
34538 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34539
9ac533d3
UD
345402011-08-12 Ulrich Drepper <drepper@gmail.com>
34541
34542 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34543 was a dependency or dynamically loaded.
34544
89edf2e9
UD
345452011-08-11 Ulrich Drepper <drepper@gmail.com>
34546
8e999d29
UD
34547 * intl/l10nflist.c: Allow architecture-specific pop function.
34548 * sysdeps/x86_64/l10nflist.c: New file.
34549
89edf2e9
UD
34550 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34551 classification.
34552
14d96785
AS
345532011-08-10 Andreas Schwab <schwab@redhat.com>
34554
34555 * include/dirent.h: Add libc_hidden_proto for scandirat and
34556 scandirat64. Don't declare __scandirat64.
34557 * dirent/scandirat.c: Add libc_hidden_def.
34558 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34559 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34560
6761ac04
DM
345612011-08-10 David S. Miller <davem@davemloft.net>
34562
34563 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34564 enum.
34565 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34566 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34567 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34568
c55fbd1e
UD
345692011-08-09 Ulrich Drepper <drepper@gmail.com>
34570
34571 * Versions.def [libc]: Add GLIBC_2.15.
34572 * dirent/Makefile (routines): Add scandirat and scandirat64.
34573 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34574 GLIBC_2.15.
34575 * dirent/dirent.h: Declare scandirat and scandirat64.
34576 * dirent/scandirat.c: New file.
34577 * dirent/scandirat64.c: New file.
34578 * sysdeps/wordsize-64/scandirat.c: New file.
34579 * sysdeps/wordsize-64/scandirat64.c: New file.
34580 * dirent/opendir.c: Define opendirat.
34581 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34582 using scandirat.
34583 * dirent/scandir64.c: Adjust for scandir.c change.
34584 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34585 __scandirat64, and __scandir_cancel_handler.
34586 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34587 additional parameter and use openat instead of open (outside of ld.so).
34588 Add new __opendir as wrapper around __opendirat.
34589 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34590 here without requiring old scandirat implementation.
34591
879165f2
UD
345922011-08-08 Ulrich Drepper <drepper@gmail.com>
34593
34594 * dirent/scandir.c (cancel_handler): Renamed to
34595 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34596 defined. Adjust users.
34597 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34598 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34599
cb7e923b
UD
346002011-08-04 Ulrich Drepper <drepper@gmail.com>
34601
16292edd
UD
34602 * string/test-string.h (IMPL): Use __STRING to expand name and then
34603 stringify it.
34604
cb7e923b
UD
34605 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34606 of cleanups.
34607
cff82933
LD
346082011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34609
34610 * string/Makefile: Update.
34611 (strop-tests): Append strncat.
34612 * string/test-wcscmp.c: New file.
34613 New comprehensive test for wcscmp.
34614 * string/test-strcmp.c: Update.
34615 (WIDE): New define.
34616
9be9bfcc
AS
346172011-07-22 Andreas Schwab <schwab@redhat.com>
34618
34619 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34620 line.
34621
2e96f1c7
AS
346222011-07-26 Andreas Schwab <schwab@redhat.com>
34623
34624 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34625 encoding to ACE if AI_IDN.
34626
85188888
JJ
346272011-08-01 Jakub Jelinek <jakub@redhat.com>
34628
34629 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34630 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34631
5fa16e9b
LD
346322011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34633
34634 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34635 Fix overflow bug in strncat.
34636 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34637
34638 * string/test-strncat.c: Update.
34639 Add new tests for checking overflow bugs.
34640
346412011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34642
34643 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34644 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34645 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34646 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34647 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34648 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34649 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34650 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34651 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34652
34653 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34654 (USE_AS_STRCAT): Define.
34655 Add strcat and strncat support.
34656 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34657
8c1a459f
AS
346582011-07-25 Andreas Schwab <schwab@redhat.com>
34659
34660 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34661 __n bigger than INT_MAX+1.
34662 (__strncmp_g): Likewise.
34663
bba33c28
UD
346642011-07-23 Ulrich Drepper <drepper@gmail.com>
34665
798be72d
UD
34666 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34667 * libio/stido.h: Likewise.
34668
8accd4dc
UD
34669 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34670 (AF_NFC): Define.
34671 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34672 (AF_NFC): Define.
34673
cbff0d96
UD
34674 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34675 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34676 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34677 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34678 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34679
9191c04a
UD
34680 [BZ #13021]
34681 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34682 installed.
34683
bba33c28
UD
34684 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34685 typo.
34686 (_dl_x86_64_save_sse): Likewise.
34687
90f139dd
UD
346882011-07-22 Ulrich Drepper <drepper@gmail.com>
34689
1aae088a
UD
34690 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34691 OSXSAVE.
34692 (_dl_x86_64_save_sse): Likewise.
34693
8e2045f5
UD
34694 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34695
90f139dd
UD
34696 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34697
1d002f25
AS
346982011-07-21 Andreas Schwab <schwab@redhat.com>
34699
34700 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34701 change.
34702 (_dl_x86_64_save_sse): Use correct AVX check.
34703
21137f89
UD
347042011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34705
34706 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34707 bug in strncpy/strncat.
34708 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34709
a65c0b7a
UD
347102011-07-21 Ulrich Drepper <drepper@gmail.com>
34711
34712 * string/tester.c (test_strcat): Add tests for different alignments
34713 of source and destination.
34714 (test_strncat): Likewise.
34715
6986b98a
UD
347162011-07-20 Ulrich Drepper <drepper@gmail.com>
34717
90bb2039
UD
34718 [BZ #12852]
34719 * posix/glob.c (glob): Check passed in values before using them in
34720 expressions to avoid some overflows.
34721 (glob_in_dir): Likewise.
34722
5644ef54
UD
34723 [BZ #13007]
34724 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34725 check for AVX enablement so that we don't crash with old kernels and
34726 new hardware.
34727 * elf/tst-audit4.c: Add same checks here.
34728 * elf/tst-audit6.c: Likewise.
34729
34730 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 34731
bfc9dc9b
AS
347322011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34733
34734 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34735
702e64bb
UD
347362011-07-20 Ulrich Drepper <drepper@gmail.com>
34737
34738 * po/cs.po: Update from translation team.
34739 * po/bg.po: Likewise.
34740
295e904f
MP
347412011-07-12 Marek Polacek <mpolacek@redhat.com>
34742
34743 * misc/sys/cdefs.h: Add support for const attribute.
34744 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34745 to gnu_dev_{major,minor,makedev} functions.
34746
3ff94596
MP
347472011-07-20 Marek Polacek <mpolacek@redhat.com>
34748
34749 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34750
28b59fca
AS
347512011-07-20 Andreas Schwab <schwab@redhat.com>
34752
34753 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34754 strlen results.
34755
19df733e
AK
347562011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34757
34758 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34759 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34760 register in order to avoid conflicts with the soft frame pointer
34761 being held in r11 when necessary.
34762 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34763 (INTERNAL_VSYSCALL_NCS): Likewise.
34764
c8835729
MP
347652011-07-14 Marek Polacek <mpolacek@redhat.com>
34766
34767 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34768 * elf/dl-fini.c (_dl_fini): Adjust caller.
34769 * elf/dl-close.c (_dl_close_worker): Likewise.
34770 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34771
b902330c
MP
347722011-07-15 Marek Polacek <mpolacek@redhat.com>
34773
8991e135
MP
34774 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34775 "aux_cache->nlibs < 0".
34776
b902330c
MP
34777 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34778 in the reload-count case.
34779
99710781
LD
347802011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34781
34782 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34783 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34784 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34785 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34786 * sysdeps/x86_64/multiarch/strcat.S: New file.
34787 * sysdeps/x86_64/multiarch/strncat.S: New file.
34788 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34789 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34790 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34791 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34792 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34793 (USE_AS_STRCAT): Define.
34794 Add strcat and strncat support.
34795 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34796 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34797 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34798 * string/strncat.c: Update.
34799 (USE_AS_STRNCAT): Define.
34800 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34801 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34802 and i7.
34803 * sysdeps/x86_64/multiarch/init-arch.h
34804 (bit_Prefer_PMINUB_for_stringop): New.
34805 (index_Prefer_PMINUB_for_stringop): Likewise.
34806 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34807 bit_Prefer_PMINUB_for_stringop.
34808
7dc6bd90
UD
348092011-07-19 Ulrich Drepper <drepper@gmail.com>
34810
34811 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34812 buffer64.
34813 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34814 of casting of buffer.
34815 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34816 buffer32 and buffer64.
34817 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34818 writes instead of casting of buffer.
34819 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34820 buffer32.
34821 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34822 casting of buffer.
34823
e0e72284
AS
348242011-07-19 Andreas Schwab <schwab@redhat.com>
34825
34826 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34827
feb1eb0b
UD
348282011-07-19 Ulrich Drepper <drepper@gmail.com>
34829
34830 * nscd/nscd.c (termination_handler): Don't do anything for a database
34831 if it has not yet been initialized.
34832
298711ff
UD
348332011-07-18 Ulrich Drepper <drepper@gmail.com>
34834
34835 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34836
348372011-07-15 Marek Polacek <mpolacek@redhat.com>
34838
34839 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34840
f9d68389
UD
348412011-07-18 Ulrich Drepper <drepper@gmail.com>
34842
34843 * po/nl.po: Update from translation team.
34844 * po/sv.po: Likewise.
34845
db290cf5
RM
348462011-07-16 Roland McGrath <roland@hack.frob.com>
34847
34848 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34849 now disallowed by GCC.
5c550700 34850
fd5e21c7
RM
34851 * configure.in (use-default-link): Default to yes if a test -shared
34852 link meets our qualifications.
34853 * configure: Regenerated.
34854
5c550700
RM
34855 * config.make.in (output-format): New variable.
34856 * configure.in: Check for ld --print-output-format support.
34857 * configure: Regenerated.
34858 * Makerules ($(common-objpfx)format.lds)
34859 [$(output-format) != unknown]: Just use $(output-format),
34860 instead of the linker-script munging.
34861
9fa2c032
RM
348622011-07-14 Roland McGrath <roland@hack.frob.com>
34863
a6928d51
RM
34864 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34865 of $(common-objpfx)shlib.lds.
34866 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34867
661607b3
RM
34868 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34869 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34870
9fa2c032
RM
34871 * configure.in (-z relro check): Adjust test code to add a large
34872 writable data section after it.
34873 * configure: Regenerated.
34874
defe9061
RM
348752011-07-11 Roland McGrath <roland@hack.frob.com>
34876
34877 * configure.in (-z relro check): Fix test code to make the variable
34878 truly const.
34879 * configure: Regenerated.
34880
319b9ad4
UD
348812011-07-11 Ulrich Drepper <drepper@gmail.com>
34882
34883 * nscd/nscd.h (struct traced_file): Define.
34884 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34885 elements. Add traced_files.
34886 (inotify_fd): Declare.
34887 (register_traced_file): Declare.
34888 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34889 (inotify_fd): Export.
34890 (resolv_conf_descr): Remove.
34891 (nscd_init): Move inotify descriptor creation to main.
34892 Don't register files for notification here.
34893 (register_traced_file): New function.
34894 (invalidate_cache): Don't use reset_res to determine whether to call
34895 res_init, go through the list of registered files.
34896 (main_loop_poll): The inotify descriptors are now stored in the
34897 structures for the traced files.
34898 (main_loop_epoll): Likewise
34899 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34900 to __nss_disable_nscd.
34901 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34902 for a database anymore. Check the records for all the registered
34903 files instead.
34904 * nss/Makefile (libnss_files-routines): Add files-init.
34905 (libnss_db-routines): Add db-init.
34906 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34907 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34908 * nss/nss_db/db-init.c: New file.
34909 * nss/nss_files/files-init.c: New file.
34910 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34911 __nss_lookup_function.
34912 (__nss_lookup_function): Call nss_load_library.
34913 (nss_load_all_libraries): New function.
34914 (__nss_disable_nscd): Take parameter with callback function for files
34915 to register. Set is_nscd. Load all the DSOs for the NSS modules
34916 used for the cached services.
34917 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34918 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34919 options for features to all the files in nscd.
34920
34921 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34922
23bee3e8
RM
349232011-07-10 Roland McGrath <roland@hack.frob.com>
34924
34925 * csu/elf-init.c (__libc_csu_init): Comment typo.
34926
46a5b7f0
UD
349272011-07-09 Ulrich Drepper <drepper@gmail.com>
34928
34929 * po/pl.po: Update from translation team.
34930 * po/ja.po: Likewise.
34931 * po/ru.po: Likewise.
34932 * po/ko.po: Likewise.
34933 * po/fr.po: Likewise.
34934
d30cf5bb
RM
349352011-07-09 Roland McGrath <roland@hack.frob.com>
34936
113ddea4
RM
34937 * configure.in (.ctors/.dtors header and trailer check):
34938 Use an empirical test on a built program.
34939 * configure: Regenerated.
34940
574920b4
RM
34941 * configure.in (-z relro check): Use an empirical test on a built DSO.
34942 Detect, but do not require, on ia64.
34943 * configure: Regenerated.
34944
d30cf5bb
RM
34945 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34946 Update tests that use readelf to use $READELF instead.
34947 * configure: Regenerated.
34948
8538fdb3
UD
349492011-07-08 Ulrich Drepper <drepper@gmail.com>
34950
34951 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34952 if the result is not used.
34953
04d08991
AJ
349542011-07-05 Andreas Jaeger <aj@suse.de>
34955
34956 [BZ#9696]
34957 * stdlib/tst-strtod.c: Add testcase.
34958
de283087
AD
349592011-07-07 Ulrich Drepper <drepper@gmail.com>
34960
4e5f31c8 34961 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 34962 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
34963 The latter has a higher limit. Take additional parameter to pass to
34964 the new function.
34965 (__pathconf): Pass file to __statfs_link_max.
34966 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34967 __statfs_link_max.
34968 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34969 __statfs_link_max.
34970
de283087
AD
34971 [BZ #12868]
34972 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34973 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34974 Handle Lustre.
34975 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34976 (__statfs_filesize_max): Likewise.
34977 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34978
c75fa153
AJ
349792011-07-05 Andreas Jaeger <aj@suse.de>
34980
34981 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34982
1a544854
UD
349832011-07-06 Marek Polacek <mpolacek@redhat.com>
34984
34985 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34986 `status' variable.
34987 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34988 Likewise.
34989
6f0eec67
UD
349902011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34991
34992 * Makefile (strop-tests): Add strncat.
34993 * string/test-strncat.c: New file.
34994
aae30307
UD
349952011-06-30 Marek Polacek <mpolacek@redhat.com>
34996
34997 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34998
c0cfb5eb
UD
349992011-06-21 Andreas Jaeger <aj@suse.de>
35000
35001 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35002 Copy rule from iconvdata/Makefile.
35003
01636b21
UD
350042011-07-06 Ulrich Drepper <drepper@gmail.com>
35005
35006 [BZ #12922]
35007 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35008 but no long options are defined, just return 'W'.
35009
9895c8bc
UD
350102011-06-22 Marek Polacek <mpolacek@redhat.com>
35011
35012 [BZ #9696]
35013 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35014
5d4cf042
UD
350152011-07-06 Ulrich Drepper <drepper@gmail.com>
35016
35017 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35018 netgroups to read.
960e5535 35019 (innetgr): Likewise.
5d4cf042 35020
751eb97e
RM
350212011-07-05 Roland McGrath <roland@hack.frob.com>
35022
35023 * config.make.in (install_root): Default to $(DESTDIR).
35024
f15f1e45
UD
350252011-07-05 Ulrich Drepper <drepper@gmail.com>
35026
35027 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35028
4e34ac6a
RM
350292011-07-02 Roland McGrath <roland@hack.frob.com>
35030
5e9b6af4
RM
35031 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35032
84f9ea0f
RM
35033 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35034 containing directory rather than embedding absolute directory names.
35035
ea5ee9f7
RM
35036 * scripts/check-local-headers.sh: Rewritten using awk.
35037 Match by word, not by line. Print error messages for matches.
35038 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35039
1b74661a
RM
35040 * Makerules [shlib-lds-flags empty]:
35041 ($(common-objpfx)libc_pic.opts): New target.
35042 ($(common-objpfx)libc_pic.os.clean): New target.
35043 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35044
35045 * config.make.in (OBJCOPY): New variable.
35046 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35047 * configure: Regenerated.
35048
f781ef40
RM
35049 * config.make.in (use-default-link): New variable.
35050 * configure.in (use_default_link): Grok --with-default-link to set it.
35051 * configure: Regenerated.
35052 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35053 (shlib-lds, shlib-lds-flags): Define to empty.
35054
2d4fa81e
RM
35055 * Makerules (shlib-lds): New variable.
35056 (shlib-lds-flags): New variable.
35057 (build-shlib, build-moduile, build-module-asneeded): Use it.
35058 ($(common-objpfx)libc.so): Use $(shlib-lds).
35059 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35060 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35061
31fffa6b
RM
35062 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35063 DT_FLAGS/DT_FLAGS_1 with zero flags.
35064
4e34ac6a
RM
35065 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35066 linker script munging.
35067
fcfc776b
UD
350682011-07-02 Ulrich Drepper <drepper@gmail.com>
35069
35070 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35071 as 128-bit value.
35072 * crypt/sha512.c (sha512_process_block): Perform total addition using
35073 128-bit if possible.
35074 (__sha512_finish_ctx): Likewise.
35075 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35076 as 64-bit value.
35077 * crypt/sha256.c (SWAP64): Define.
35078 (sha256_process_block): Perform total addition using 64-bit if
35079 possible.
35080 (__sha256_finish_ctx): Likewise.
35081
99231d9a
UD
350822011-07-01 Ulrich Drepper <drepper@gmail.com>
35083
35084 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35085 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35086 * nscd/hstcache.c (cache_addhst): Likewise.
35087 * nscd/grpcache.c (cache_addgr): Likewise.
35088 * nscd/aicache.c (addhstaiX): Likewise
35089 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35090
445b4a53
TK
350912011-07-01 Thorsten Kukuk <kukuk@suse.de>
35092
35093 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35094 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35095 * nscd/hstcache.c (cache_addhst): Likewise.
35096 * nscd/grpcache.c (cache_addgr): Likewise.
35097 * nscd/aicache.c (addhstaiX): Likewise
35098
6d4d8e8e
AS
350992011-07-01 Andreas Schwab <schwab@redhat.com>
35100
35101 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35102 domain only when needed.
35103
89f654c5
AS
351042011-06-30 Andreas Schwab <schwab@redhat.com>
35105
35106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35107 is always restored.
35108
cf3b23ff
UD
351092011-06-29 Ulrich Drepper <drepper@gmail.com>
35110
35111 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35112 are re-adding the entry.
35113 * nscd/servicescache.c (cache_addserv): Likewise.
35114
751626f9
AJ
351152011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35116
35117 * sysdeps/generic/dl-irel.h: fix protection against multiple
35118 inclusions.
35119 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35120
9113ea1f
UD
351212011-06-28 Ulrich Drepper <drepper@gmail.com>
35122
5c0b8d90
UD
35123 [BZ #12935]
35124 * malloc/memusage.sh: Fix quoting in message.
35125 * debug/xtrace.sh: Likewise.
35126
9113ea1f
UD
35127 * configure.in: Remove support for --experimental-malloc option, make
35128 it the default.
35129 * config.make.in: Likewise.
35130 * malloc/Makefile: Likewise.
35131
a4172181
AS
351322011-06-27 Andreas Schwab <schwab@redhat.com>
35133
35134 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35135 two-byte characters.
35136
78a7eee7
RM
351372011-06-27 Roland McGrath <roland@hack.frob.com>
35138
62bede13
RM
35139 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35140 AC_CACHE_CHECK invocation.
35141 * configure: Regenerated.
35142
78a7eee7
RM
35143 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35144
5ce33a62
UD
351452011-06-27 Ulrich Drepper <drepper@gmail.com>
35146
034807a9
UD
35147 [BZ #12350]
35148 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35149 bit from old_res_options.
35150
4902da17
UD
35151 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35152
5ce33a62
UD
35153 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35154 value type for setfct.
35155
c2344f56
L
351562011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35157
35158 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35159 __gettimeofday instead of gettimeofday.
35160
68468076
UD
351612011-06-26 Ulrich Drepper <drepper@gmail.com>
35162
35163 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35164
acb0d739
L
351652011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35166
35167 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35168
35169 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35170 info.
35171
8912479f
L
351722011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35173
35174 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35175 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35176 strcpy-sse2-unaligned strncpy-sse2-unaligned
35177 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35178 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35179 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35180 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35181 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35182 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35183 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35184 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35185 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35186 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35187 (STRCPY): Support SSE2 and SSSE3 versions.
35188
d5495a11
UD
351892011-06-24 Ulrich Drepper <drepper@gmail.com>
35190
35191 [BZ #12874]
35192 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35193 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35194 kernels which artificially limit size of requests.
35195
0b1cbaae
L
351962011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35197
35198 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35199 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35200 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35201 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35202 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35203 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35204 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35205 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35206 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35207 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35208 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35209 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35210 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35211 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35212 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35214 Enable unaligned load optimization for Intel Core i3, i5 and i7
35215 processors.
35216 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35217 Define.
35218 (index_Fast_Unaligned_Load): Define.
35219 (HAS_FAST_UNALIGNED_LOAD): Define.
35220
07f494a0
MP
352212011-06-23 Marek Polacek <mpolacek@redhat.com>
35222
35223 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35224
fa3fc0fe
UD
352252011-06-22 Ulrich Drepper <drepper@gmail.com>
35226
35227 [BZ #12907]
35228 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35229 until it is clear that the information is realy needed.
35230 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35231
e12df166
AS
352322011-06-22 Andreas Schwab <schwab@redhat.com>
35233
35234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35235
852eb34d
UD
352362011-06-22 Ulrich Drepper <drepper@gmail.com>
35237
84e2a551
UD
35238 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35239 /sys/devices/system/cpu/online if it is usable.
35240
852eb34d
UD
35241 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35242 reading the information from the /proc filesystem to once a second.
35243
6e502e19
UD
352442011-06-21 Andreas Jaeger <aj@suse.de>
35245
35246 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35247 NULL after inclusion of kernel headers.
35248
75d39ff2
UD
352492011-06-21 Ulrich Drepper <drepper@gmail.com>
35250
51f9aa6a
UD
35251 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35252 calls to internal_setent.
35253
c0244a9d
UD
35254 [BZ #12885]
35255 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35256 addresses using gethostbyname4_r ignore IPv4 addresses.
35257
c5e3c2ae
UD
35258 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35259 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35260
75d39ff2
UD
35261 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35262
42675c6f
DM
352632011-06-20 David S. Miller <davem@davemloft.net>
35264
35265 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35266 inclusions.
35267 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35268
35269 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35270 (elf_irel): Use it.
35271 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35272 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35273 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35274 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35275 * sysdeps/x86_64/dl-irel.h: Likewise.
35276
35277 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35278 * elf/dl-sym.c: Likewise.
35279
57912a71
UD
352802011-06-15 Ulrich Drepper <drepper@gmail.com>
35281
35282 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35283 need to dereference resplen2.
35284
ee22793d
AS
352852011-06-14 Andreas Schwab <schwab@redhat.com>
35286
35287 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35288
a9e836b0
UD
352892011-06-15 Ulrich Drepper <drepper@gmail.com>
35290
77fb9117
UD
35291 * Makeconfig: Define vardbdir and inst_vardbdir.
35292 * nss/Makefile: Add rules to install db-Makefile.
35293
40c1b22c
UD
35294 * nss/nss_db/db-XXX.c: Cleanup.
35295
9f2da732
UD
35296 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35297 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35298 GLIBC_PRIVATE.
35299 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35300 * nss/makedb.c: Implement -g option to specify that value strings
35301 are generated and should not be added to table iterated over for
35302 get*ent calls.
35303 * nss/nss_db/db-initgroups.c: New file.
35304
82e9a1f7
UD
35305 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35306 interface.
35307
c41af17e
UD
35308 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35309 (internal_getgrouplist): Adjust to name change.
35310 Update use_initgroups_entry if this is not the first call.
35311 * nss/databases.def: Add initgroups entry.
35312
a9e836b0
UD
35313 * nss/makedb.c (compute_tables): Check result of multiple hash table
35314 sizes to minimize maximum chain length.
35315
2666d441
UD
353162011-06-14 Ulrich Drepper <drepper@gmail.com>
35317
35318 * Versions.def: Add entry for libnss_db.
35319 * shlib-versions: Likewise.
35320 * nss/Makefile: Add rules to build libnss_db.
35321 * nss/Versions: Add libnss_db information. Organize libnss_files
35322 entries better.
35323 * nss/db-Makefile: Add gshadow support. Change rules for the new
35324 makedb progra. Some minor improvements to generate smaller files.
35325 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35326 here from...
35327 * nss/makedb.c: ...here.
35328 Improve database format to be smaller and require less memory at
35329 runtime.
35330 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35331 db anymore.
35332 * nss/nss_db/db-netgrp.c: Likewise.
35333 * nss/nss_db/db-open.c: Likewise.
35334 * nss/nss_files/flies-XXX.x: Adjust comments.
35335 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35336 * nss/nss_files/files-grp.c: Likewise.
35337 * nss/nss_files/files-hosts.c: Likewise.
35338 * nss/nss_files/files-network.c: Likewise.
35339 * nss/nss_files/files-proto.c: Likewise.
35340 * nss/nss_files/files-pwd.c: Likewise.
35341 * nss/nss_files/files-rpc.c: Likewise.
35342 * nss/nss_files/files-service.c: Likewise.
35343 * nss/nss_files/files-sgrp.c: Likewise.
35344 * nss/nss_files/files-spwd.c: Likewise.
35345 * nss/nss_db/db-alias.c: Removed.
35346 * nss/nss_db/dummy-db.h: Removed.
35347
9ee76b5a
UD
353482011-06-02 Ulrich Drepper <drepper@gmail.com>
35349
35350 * nss/makedb.c: Rewritten to not use database library.
35351 * nss/Makefile: Update to build new makedb program.
35352
c71ca1f8
AJ
353532011-06-14 Andreas Jaeger <aj@suse.de>
35354
35355 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35356 memset declaration.
35357
3154bfb8
UD
353582011-06-10 Andreas Schwab <schwab@redhat.com>
35359
35360 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35361 tmpbuf.
35362
b350afab
RM
353632011-06-10 Roland McGrath <roland@hack.frob.com>
35364
decd4e50
RM
35365 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35366 * elf/Makefile ($(objpfx)ld.so): Likewise.
35367
5615eaf2
RM
35368 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35369 Don't list ld.so twice in dependencies.
35370
35371 * posix/bug-regex31.c: Include <stdlib.h>.
35372
35373 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35374
35375 * nis/nss_compat/compat-spwd.c
35376 (getspent_next_nss_netgr): Remove unused variable.
35377 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35378
35379 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35380 nonmembers" output to use the right array.
35381
35382 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35383
35384 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35385
35386 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35387 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35388 * catgets/gencat.c (read_input_file): Likewise.
35389 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35390
35391 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35392 variable definition inside #if's controlling its use.
35393
35394 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35395
35396 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35397
35398 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35399
35400 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35401 unreachable code.
35402
35403 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35404
b68e08db
RM
35405 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35406 * configure: Regenerated.
35407
b350afab
RM
35408 * Makerules: Revert last change.
35409 * elf/Makefile: Likewise.
35410
28368601
RM
354112011-06-09 Roland McGrath <roland@hack.frob.com>
35412
35413 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35414 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35415 (reloc-link): Likewise.
35416
11988f8f
UD
354172011-06-09 Ulrich Drepper <drepper@gmail.com>
35418
35419 * elf/Makefile: Add rules to build pldd.
35420 * elf/pldd.c: New file.
35421 * elf/pldd-xx.c: New file.
35422
e80fab37
UD
354232011-06-07 Ulrich Drepper <drepper@gmail.com>
35424
35425 * version.h: Update for 2.15 development version.
35426
9b849836
DM
354272011-06-07 David S. Miller <davem@davemloft.net>
35428
35429 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35430 ifuncs.
35431 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35432 elf_machine_lazy_rel): Likewise.
35433 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35434 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35435 elf_machine_lazy_rel): Likewise.
35436 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35437 dl_hwcap via passed in argument.
35438 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35439 Likewise.
35440
5a31b283
AK
354412011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35442
35443 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35444
069e52f8
RM
354452011-06-06 Roland McGrath <roland@hack.frob.com>
35446
35447 [BZ #12849]
35448 * manual/fdl-1.1.texi: New file, verbatim from:
35449 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35450 * manual/lgpl-2.1.texi: New file, verbatim from:
35451 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35452 * manual/Makefile (licenses): New variable, list those new file names.
35453 (texis): Use it.
35454 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35455
35456 * manual/fdl.texi: File removed.
35457 * manual/lesser.texi: File removed.
35458 * manual/libc.texinfo (Copying, Documentation License):
35459 Use new @include file names, put @appendix directive before @include.
35460
f16846a5
JJ
354612011-06-04 Jakub Jelinek <jakub@redhat.com>
35462
35463 [BZ #12841]
35464 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35465 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35466 (mq_open): Add __NTH.
35467
3d29045b
L
354682011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35469
35470 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35471 Assume Intel Core i3/i5/i7 processor if AVX is available.
35472
8c297311
UD
354732011-05-31 Ulrich Drepper <drepper@gmail.com>
35474
35475 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35476 typo.
35477
c8fc0c91
UD
354782011-05-31 Andreas Schwab <schwab@redhat.com>
35479
35480 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35481 memory. Use alloca_account. Fix memory leak when retrying.
35482
5b27a807
UD
354832011-05-31 Ulrich Drepper <drepper@gmail.com>
35484
356f8bc6
UD
35485 * version.h (RELEASE): Bump for 2.14 release.
35486 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35487
5b27a807
UD
35488 * config.make.in (RANLIB): Remove entry.
35489
01f16ab0
UD
354902011-05-30 Ulrich Drepper <drepper@gmail.com>
35491
41fce8bd
UD
35492 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35493 (libc.pot): Work around missing support for .ksh extension in xgettext.
35494
4769ae77
UD
35495 [BZ #12684]
35496 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35497 if both request failed.
35498 (send_dg): In case of server errors clear resplen or *resplen2.
35499
6b1e7d19
UD
35500 [BZ #12454]
35501 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35502 when there are multiple maps.
35503 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35504 (_dl_fini): Remove test here.
35505
01f16ab0
UD
35506 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35507
b1ebd700
UD
355082011-05-29 Ulrich Drepper <drepper@gmail.com>
35509
7ae22829
UD
35510 [BZ #12350]
35511 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35512 bit from old_res_options.
35513 (gaih_inet): Likewise.
35514
553149f6 35515 [BZ #11099]
18a84741 35516 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
35517 as signed.
35518
652ffab1
UD
35519 * resolv/res_init.c (res_setoptions): Make the code more compact.
35520
16985fd0
UD
35521 [BZ #11558]
35522 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35523 set RES_USEVC.
35524
0464f746
UD
35525 [BZ #11634]
35526 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35527
7d17596c
UD
35528 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35529
cf6bbbd7
UD
35530 [BZ #11781]
35531 * malloc/malloc.h: Declare malloc hook variables as volatile.
35532
13f1ab36
UD
35533 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35534 in last patch.
35535
b1ebd700
UD
35536 [BZ #11799]
35537 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 35538 raise in the comment.
80e2212d
UD
35539 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35540 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35541 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 35542
ce67228d
UD
355432011-05-28 Ulrich Drepper <drepper@gmail.com>
35544
8887a920
UD
35545 [BZ #12811]
35546 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35547 grow the buffers more if it already has to be sufficient.
35548 (build_wcs_upper_buffer): Likewise.
35549 * posix/regexec.c (check_matching): Likewise.
35550 (clean_state_log_if_needed): Likewise.
35551 (extend_buffers): Don't enlarge buffers beyond size of the input
35552 buffer.
35553 Patches mostly by Emil Wojak <emil@wojak.eu>.
35554 * posix/bug-regex32.c: New file.
35555 * posix/Makefile (tests): Add bug-regex32.
35556
4f031072
UD
35557 * locale/findlocale.c (_nl_find_locale): Return right away if
35558 _nl_explode_name failed.
35559 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35560
d0478f0c
UD
35561 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35562
de81b246
UD
35563 * debug/xtrace.sh: Unify messages.
35564 * malloc/memusage.sh: Likewise.
35565
c738465a
UD
35566 [BZ #12813]
35567 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35568 time symbol from vDSO. Substitute with vsyscall if not available.
35569 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35570 __vdso_time.
35571
f1f929d7
UD
35572 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35573 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35574 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35575 Add sendmmsg and internal_sendmmsg.
35576 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35577 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35578 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35579
ce67228d
UD
35580 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35581 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35582 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35583
e57420c6
UD
355842011-05-27 Ulrich Drepper <drepper@gmail.com>
35585
a8509ca5
UD
35586 [BZ #12813]
35587 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35588 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35589 available.
35590 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35591 __vdso_getcpu.
35592
e57420c6
UD
35593 [BZ #12814]
35594 * iconvdata/Makefile (tests): Add bug-iconv9.
35595 * iconvdata/bug-iconv9.c: New file.
35596
4d07db15
AS
355972011-05-27 Andreas Schwab <schwab@redhat.com>
35598
35599 [BZ #12814]
35600 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35601
ea486f69
JJ
356022011-05-25 Jakub Jelinek <jakub@redhat.com>
35603
35604 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35605 (struct user_regs_struct): Change intcs field back to cs.
35606
6f038433
UD
356072011-05-25 Ulrich Drepper <drepper@gmail.com>
35608
35609 * po/ja.po: Update from translation team.
35610
67f86a25
UD
356112011-05-23 Ulrich Drepper <drepper@gmail.com>
35612
35613 [BZ #12795]
35614 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35615 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35616
def7fbd6
AS
356172011-05-20 Andreas Schwab <schwab@redhat.com>
35618
35619 * stdlib/longlong.h: Update from GCC.
35620
f50ef8f1
AS
356212011-05-23 Andreas Schwab <schwab@redhat.com>
35622
35623 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35624 parameter name.
35625 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35626 Add parameter name.
35627 (__sysconf): Pass it down.
35628
de7ce8f1
UD
356292011-05-22 Ulrich Drepper <drepper@gmail.com>
35630
f2962a71
UD
35631 [BZ #12671]
35632 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35633 some situations.
35634 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35635 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35636 add in in __libc_use_alloca calls. Adjust callers.
35637 (glob): Use malloc in some situations.
35638
de7ce8f1
UD
35639 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35640 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35641 pltexit.
35642
aec84f53
UD
356432011-05-21 Ulrich Drepper <drepper@gmail.com>
35644
05bb4a68
UD
35645 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35646 and CLOCK_BOOTTIME_ALARM.
35647
7ea72f99
UD
35648 [BZ #12782]
35649 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35650 is returned.
35651
7e4afad5
UD
35652 * string/_strerror.c (__strerror_r): Print negative errors as signed
35653 numbers.
35654
8e211fec
UD
35655 [BZ #12777]
35656 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35657 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35658 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35659
f7d82dc9
UD
35660 * configure.in: Fix typo in redirection and correct removal of test
35661 files in two cases.
35662
cc9e536d
UD
35663 [BZ #12788]
35664 * locale/setlocale.c (new_composite_name): Fix test to check for
35665 identical name of all categories.
35666
aec84f53
UD
35667 [BZ #12792]
35668 * libio/filedoalloc.c (local_isatty): New function.
35669 (_IO_file_doallocate): Use local_isatty.
35670 * stdio-common/perror.c (perror): In case a new stream is used
35671 forward the stream error.
35672 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35673 error flag.
35674
78e64fdc
RT
356752011-05-20 Ulrich Drepper <drepper@gmail.com>
35676
34a9094f
UD
35677 [BZ #11869]
35678 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35679 alloca.
35680 * include/alloca.h (extend_alloca_account): Define.
35681
78e64fdc
RT
35682 [BZ #11857]
35683 * posix/regex.h: Fix comments with documentation of user-accessible
35684 fields after compilation and describe correct free'ing of pattern
35685 after re_compile_pattern.
35686 Patch by Reuben Thomas <rrt@sc3d.org>.
35687
457bddfc
RA
356882011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35689
35690 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35691 and -mno-altivec to prevent the compiler from using Altivec and/or
35692 VSX instructions when the corresponding registers are not available.
35693
a4527b51
AS
356942011-05-19 Andreas Schwab <schwab@redhat.com>
35695
35696 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35697
ed690b2f
UD
356982011-05-19 Ulrich Drepper <drepper@gmail.com>
35699
35700 * libio/freopen.c (freopen): Use __dup2, not dup2.
35701 * libio/freopen64.c (freopen64): Likewise.
35702
8db73634
L
357032011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35704
35705 [BZ #12775]
35706 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35707 * math/Makefile (tests): Add test-powl.
35708 (CFLAGS-test-powl.c): Define.
35709 * math/test-powl.c: New file.
35710
0a197a9d
L
357112011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35712
35713 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35714
ee30c380
UD
357152011-05-17 Ulrich Drepper <drepper@gmail.com>
35716
35717 [BZ #11837]
35718 * iconvdata/gb18030.c: Update to GB18020-2005.
35719
6ce75379
UD
357202011-05-16 Ulrich Drepper <drepper@gmail.com>
35721
a4b89fd8
AR
35722 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35723 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35724 Patch by Aharon Robbins <arnold@skeeve.com>.
35725
ea389b12
UD
35726 [BZ #11892]
35727 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35728 on the stack.
35729
68a3f91f
UD
35730 [BZ #11895]
35731 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35732 through underflows.
35733
15cc7dd1
UD
35734 [BZ #12766]
35735 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35736 point to strings before performing equality test for error_one_per_line
35737 mode.
35738
f3799213
UD
35739 [BZ #11697]
35740 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35741
d79a9c94
UD
35742 [BZ #11820]
35743 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35744 (struct user_fpregs_struct): Avoid __uint*_t types.
35745
56e5eb46
UD
35746 [BZ #6420]
35747 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35748 symbol info. Use it instead of calling _dl_addr locally.
35749 (lock_and_info): New function.
35750 (tr_freehook): Call lock_and_info and pass symbol info as additional
35751 parameter to tr_where.
35752 (tr_mallochook): Likewise.
35753 (tr_reallochook): Likewise.
35754 (tr_memalignhook): Likewise.
35755
6ce75379
UD
35756 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35757 used and couldn't be at all thread-safe.
35758
f8a3b5bf
UD
357592011-05-15 Ulrich Drepper <drepper@gmail.com>
35760
94b7cc37
UD
35761 * libio/freopen.c (freopen): Don't close old file descriptor
35762 before the new one is opened. Instead dup the new file descriptor
35763 to the old one after the new stream is created.
35764 * libio/freopen64.c (freopen64): Likewise.
35765 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35766 * libio/fileops.c (_IO_new_file_close_it): Handle new
35767 _IO_FLAGS2_NOCLOSE flag.
35768 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35769 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35770 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35771 _IO_FLAGS2_NOCLOSE flag.
35772 * include/unistd.h: Add hidden_proto for dup3.
35773 Define __have_dup3.
35774 * io/dup3.c: Define hidden symbol.
35775 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35776
bd25564e
UD
35777 [BZ #7101]
35778 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35779 when an incomplete long option is used.
35780 * posix/tst-getopt_long1.c: New file.
35781 * posix/Makefile (tests): Add tst-getopt_long1.
35782
c84cfef4
UD
35783 [BZ #10138]
35784 * scripts/config.guess: Update from autoconf-2.68.
35785 * scripts/config.sub: Likewise.
35786
3b85df27
UD
35787 [BZ #10157]
35788 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35789 tests into ...
35790 (has_cpuclock): ...this. New function.
35791 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35792 macro here based on has_cpuclock code.
35793
15a856b1
UD
35794 [BZ #10149]
35795 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35796 First byte (not low byte) is now always NUL.
35797 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35798
05f399e6
UD
35799 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35800 Use non-cancelable interfaces.
35801
10a52685 35802 [BZ #9809]
94ecc67d
UD
35803 * locale/iso-639.def: Add entry for Sorani.
35804
f8a3b5bf
UD
35805 [BZ #11901]
35806 * include/stdlib.h: Move include protection to the right place.
35807 Define abort_msg_s. Declare __abort_msg with it.
35808 * stdlib/abort.c (__abort_msg): Adjust type.
35809 * assert/assert.c (__assert_fail_base): New function. Majority
35810 of code from __assert_fail. Allocate memory for __abort_msg with
35811 mmap.
35812 (__assert_fail): Now call __assert_fail_base.
35813 * assert/assert-perr.c: Remove bulk of implementation. Use
35814 __assert_fail_base.
35815 * include/assert.hL Declare __assert_fail_base.
35816 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35817 mmap.
35818 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35819
1af4e298
UD
358202011-05-14 Ulrich Drepper <drepper@gmail.com>
35821
f8a3b5bf 35822 [BZ #11952]
d26dfc60
MG
35823 [BZ #12453]
35824 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35825 until all modules are registered in the DTV.
35826 * elf/Makefile: Add rules to build and run tst-tls19.
35827 * elf/tst-tls19.c: New file.
35828 * elf/tst-tls19mod1.c: New file.
35829 * elf/tst-tls19mod2.c: New file.
35830 * elf/tst-tls19mod3.c: New file.
35831 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35832
2fc54d6f
UD
35833 [BZ #12083]
35834 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35835 correctly.
35836
98d76b46
UD
35837 [BZ #12601]
35838 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35839 two-byte sequence errors.
35840 * iconvdata/Makefile (tests): Add bug-iconv8.
35841 * iconvdata/bug-iconv8.c: New file.
35842
da3c19ef
UD
35843 [BZ #12626]
35844 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35845 buf2 definition.
35846
ca408c15
UD
35847 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35848
d6f67f7d
UD
35849 [BZ #12432]
35850 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35851 (dummy_getcfa): New function.
35852 (init): Get _Unwind_GetCFA address, use dummy if not found.
35853 (backtrace_helper): In recursion check, also check whether CFA changes.
35854 (__backtrace): Completely initialize arg.
35855
1af4e298 35856 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
35857 storing incomplete byte sequence in state object. Avoid testing for
35858 guaranteed too small input if we know there is enough data available.
1af4e298 35859
da62f81b
AS
358602011-05-11 Andreas Schwab <schwab@redhat.com>
35861
35862 * Makeconfig (+link-pie): Indent.
35863 * Rules (binaries-pie): Define if $(have-fpie) and
35864 $(build-shared).
35865 (binaries-shared): Also filter out $(binaries-pie).
35866 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35867 * nscd/Makefile (others-pie): Add nscd.
35868 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35869 ($(objpfx)nscd): Remove command override.
35870 * login/Makefile (others-pie): Add pt_chown.
35871 ($(objpfx)pt_chown): Remove command override.
35872 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35873 remove command overrides.
35874
fcabc0f8
UD
358752011-05-13 Ulrich Drepper <drepper@gmail.com>
35876
20030ae6
UD
35877 * libio/tst_putwc.c: Fix error messages.
35878
fcabc0f8
UD
35879 [BZ #12724]
35880 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35881 currently writing and seek to current position when not.
35882 * libio/Makefile (tests): Add bug-fclose1.
35883 * libio/bug-fclose1.c: New file.
35884
320a5dc0
PB
358852011-05-12 Ulrich Drepper <drepper@gmail.com>
35886
35887 [BZ #12511]
35888 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35889 don't set DF_1_NODELETE here.
35890 (do_lookup_x): When entering new entry test for copy relocation
35891 and if necessary set DF_1_NODELETE flag.
35892 * elf/tst-unique4.cc: New file.
35893 * elf/tst-unique4.h: New file.
35894 * elf/tst-unique4lib.cc: New file.
35895 * elf/Makefile: Add rules to build and run tst-unique4.
35896 Patch by Piotr Bury <pbury@goahead.com>.
35897
22836f52
UD
358982011-05-11 Ulrich Drepper <drepper@gmail.com>
35899
f574184a
UD
35900 [BZ #12052]
35901 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35902
e1fb097f
UD
35903 [BZ #12625]
35904 * misc/mntent_r.c (addmntent): Flush the stream after the output
35905
22836f52
UD
35906 [BZ #12393]
35907 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35908 (is_trusted_path_normalize): Skip initial colon. Append slash
35909 to empty buffer. Duplicate is_trusted_path code but allow
35910 constructed patch to be prefix.
35911 (is_dst): Allow $ORIGIN followed by /.
35912 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35913 Correct testing of result of is_trusted_path_normalize
35914 (decompose_rpath): Fix warning.
35915
7b3b0b2a
UD
359162011-05-10 Ulrich Drepper <drepper@gmail.com>
35917
35918 [BZ #11257]
35919 * grp/initgroups.c (internal_getgrouplist): When we found the service
35920 list through the initgroups entry in nsswitch.conf do not always
35921 continue on a successful lookup. Don't always use the
eac80ce2 35922 __nss_group_database value if it is set.
7b3b0b2a
UD
35923 * nss/nsswitch.conf (initgroups): Change action for successful db
35924 lookup to continue for compatibility.
35925
2a81eaa5
UD
359262011-05-09 Ulrich Drepper <drepper@gmail.com>
35927
be97a69e
UD
35928 [BZ #11532]
35929 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35930 and CP774 modules.
35931 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35932 and CP774 modules.
35933 * iconvdata/tst-tables.sh: Likewise.
35934 * iconvdata/cp770.c: New file.
35935 * iconvdata/cp771.c: New file.
35936 * iconvdata/cp772.c: New file.
35937 * iconvdata/cp773.c: New file.
35938 * iconvdata/cp774.c: New file.
35939 * iconvdata/testdata/CP770: New file.
35940 * iconvdata/testdata/CP770..UTF8: New file.
35941 * iconvdata/testdata/CP771: New file.
35942 * iconvdata/testdata/CP771..UTF8: New file.
35943 * iconvdata/testdata/CP772: New file.
35944 * iconvdata/testdata/CP772..UTF8: New file.
35945 * iconvdata/testdata/CP773: New file.
35946 * iconvdata/testdata/CP773..UTF8: New file.
35947 * iconvdata/testdata/CP774: New file.
35948 * iconvdata/testdata/CP774..UTF8: New file.
35949
35950 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35951 END CHARMAP line.
35952 * iconvdata/gen-8bit-gap.sh: Likewise.
35953 * iconvdata/gen-8bit.sh: Likewise.
35954
c1e9e399
UD
35955 * locale/iso-639.def: Add ary entry.
35956
24c55fb3 35957 [BZ #11258]
96b4b1b0
UD
35958 * locale/C-translit.h.in: Add U20A1 transliteration.
35959
bdc2f971
KB
35960 [BZ #12178]
35961 * locale/iso-639.def: Add wae entry.
35962 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35963
2952b117
UD
35964 [BZ #12545]
35965 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35966 for n.
35967
2a81eaa5
UD
35968 [BZ #12711]
35969 * locale/C-translit.h.in: Add entry for U20B9.
35970 Patch by pravin.d.s@gmail.com.
35971
28377d1b
UD
359722011-05-08 Ulrich Drepper <drepper@gmail.com>
35973
7fb90fb8
UD
35974 [BZ #12713]
35975 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35976 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
35977 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35978 in rtld. Use *stat64.
7fb90fb8 35979 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 35980 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 35981 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
35982 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35983 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35984 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35985 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35986 __fstatat64 macros.
7fb90fb8
UD
35987 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35988 * dirent/rewinddir.c: Add libc_hidden_def.
35989 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 35990 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 35991
28377d1b
UD
35992 * include/dirent.h (__alloc_dir): Add flags parameter.
35993 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35994 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35995 __alloc_dir.
35996 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35997 from fdopendir if O_CLOEXEC is already set.
35998
66bdbaa4
AM
359992011-03-15 Alan Modra <amodra@gmail.com>
36000
36001 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36002 l_tls_firstbyte_offset non-zero. Save padding offset in
36003 l_tls_firstbyte_offset for later use.
36004 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36005 freeing static tls block.
36006
95721191
JN
360072011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36008
36009 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36010 where #ifdef was intended. The intent is to prevent ARG_MAX from
36011 being defined by the kernel headers.
36012
f87dfb1f
UD
360132011-05-07 Ulrich Drepper <drepper@gmail.com>
36014
36015 [BZ #12734]
36016 * resolv/resolv.h: Define RES_NOTLDQUERY.
36017 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36018 no-tld-query and set RES_NOTLDQUERY.
36019 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36020 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36021 modern BIND to search name as TLD unless forbidden.
36022
47c3cd7a
UD
360232011-05-07 Petr Baudis <pasky@suse.cz>
36024 Ulrich Drepper <drepper@gmail.com>
36025
36026 [BZ #12393]
36027 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36028 (is_trusted_path): ...to here.
c1e9ea35 36029 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 36030 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 36031 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 36032
8a35c912
PP
360332011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36034
36035 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36036 __BEGIN/__END_DECLS.
36037
acd41f47
UD
360382011-05-06 Ulrich Drepper <drepper@gmail.com>
36039
36040 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36041 NSS_STATUS_NOTFOUND if no record was found.
36042
597df647
AS
360432011-05-05 Andreas Schwab <schwab@redhat.com>
36044
36045 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36046 (headers-not-in-tirpc): Remove rpc/netdb.h
36047 * resolv/netdb.h: Revert last change.
36048
b9af1301
PP
360492011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36050
36051 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36052 circular dependency between libgcc.a and libc.a.
36053
4e34d5f5
AS
360542011-05-05 Andreas Schwab <schwab@redhat.com>
36055
36056 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36057 * nis/Makefile: Don't install rpcsvc/*.
36058 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36059 instead of <rpc/types.h>.
36060 (MAXHOSTNAMELEN): Define.
36061
00ee369c
AS
360622011-05-03 Andreas Schwab <schwab@redhat.com>
36063
36064 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36065
0b592a30
MB
360662011-04-28 Maciej Babinski <mbabinski@google.com>
36067
36068 [BZ #12714]
36069 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36070 gethostbyname4_r when IPv6 results are possible.
36071
6e04cbbe
UD
360722011-05-02 Ulrich Drepper <drepper@gmail.com>
36073
36074 [BZ #12723]
36075 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36076 _PC_PIPE_BUF handling.
36077
e4ecafe0
BH
360782011-04-30 Bruno Haible <bruno@clisp.org>
36079
36080 [BZ #12717]
36081 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36082 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36083 to 'int'.
36084 * inet/getnameinfo.c (getnameinfo): Likewise.
36085
125ee683
UD
360862011-04-29 Ulrich Drepper <drepper@gmail.com>
36087
36088 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36089 to groups setting in database lookup.
36090 * nss/nsswitch.conf: Add initgroups entry.
36091
b722481a
EB
360922011-04-22 Ulrich Drepper <drepper@gmail.com>
36093
36094 [BZ #12685]
36095 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36096 mode string.
36097 Patch by Eric Blake <eblake@redhat.com>.
36098
4df46dbd
L
360992011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36100
36101 * sunrpc/Makefile (need-export-routines): Add svc_run.
36102 (routines): Remove svc_run.
36103 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36104 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36105 * sunrpc/svc_run.c (svc_run): Likewise.
36106 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36107
e84142d2
UD
361082011-04-21 Ulrich Drepper <drepper@gmail.com>
36109
36110 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36111 problem in reallocation in last patch.
36112
877175d8
UD
361132011-04-20 Ulrich Drepper <drepper@gmail.com>
36114
36115 * sunrpc/Makefile: Move inclusion of Rules.
36116
ab8eed78
UD
361172011-04-19 Ulrich Drepper <drepper@gmail.com>
36118
36119 * nss/nss_files/files-initgroups.c: New file.
36120 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36121 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36122 _nss_files_initgroups_dyn.
36123
e3d8f584
RS
361242011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36125
36126 * elf/elf.h (R_ARM_IRELATIVE): Define.
36127
af190f45
UD
361282011-04-19 Ulrich Drepper <drepper@gmail.com>
36129
36130 * po/ru.po: Update from translation team.
36131
53cf59ef
UD
361322011-04-17 Ulrich Drepper <drepper@gmail.com>
36133
36134 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36135 dependencies.
36136
4c559bcd
MF
361372011-02-06 Mike Frysinger <vapier@gentoo.org>
36138
36139 [BZ #12653]
36140 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36141 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36142 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36143 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36144 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36145
4420675c
AS
361462011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36147
36148 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36149 differing bytes.
36150 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36151 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36152 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36153
75ea32ab
UD
361542011-04-17 Ulrich Drepper <drepper@gmail.com>
36155
36156 [BZ #12420]
36157 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36158 storing it.
36159 * stdlib/bug-getcontext.c: New file.
36160 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36161
27390476
AK
361622011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36163
36164 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36165 instructions into .machine "z9-109".
36166 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36167 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36168
10442705
AK
361692011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36170
36171 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36172 between environment variables and auxiliary vector.
36173
7b57bfe5
UD
361742011-04-16 Ulrich Drepper <drepper@gmail.com>
36175
36176 * Makefile: Add rules to build linkobj/libc.so.
36177 * include/libc-symbols.h: Define libc_hidden_nolink.
36178 * include/rpc/auth.h: Mark functions which are to be hidden.
36179 * include/rpc/auth_des.h: Likewise.
36180 * include/rpc/auth_unix.h: Likewise.
36181 * include/rpc/clnt.h: Likewise.
36182 * include/rpc/des_crypt.h: Likewise.
36183 * include/rpc/key_prot.h: Likewise.
36184 * include/rpc/pmap_clnt.h: Likewise.
36185 * include/rpc/pmap_prot.h: Likewise.
36186 * include/rpc/pmap_rmt.h: Likewise.
36187 * include/rpc/rpc_msg.h: Likewise.
36188 * include/rpc/svc.h: Likewise.
36189 * include/rpc/svc_auth.h: Likewise.
36190 * include/rpc/xdr.h: Likewise.
36191 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36192 * nss/Makefile: Likewise.
36193 * sunrpc/Makefile: Don't install headers. Build library with normal
36194 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36195 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36196 for the compat linking library. Remove use of INTDEF/INTUSE.
36197 * sunrpc/auth_none.c: Likewise.
36198 * sunrpc/auth_unix.c: Likewise.
36199 * sunrpc/authdes_prot.c: Likewise.
36200 * sunrpc/authuxprot.c: Likewise.
36201 * sunrpc/clnt_gen.c: Likewise.
36202 * sunrpc/clnt_perr.c: Likewise.
36203 * sunrpc/clnt_raw.c: Likewise.
36204 * sunrpc/clnt_simp.c: Likewise.
36205 * sunrpc/clnt_tcp.c: Likewise.
36206 * sunrpc/clnt_udp.c: Likewise.
36207 * sunrpc/clnt_unix.c: Likewise.
36208 * sunrpc/des_crypt.c: Likewise.
36209 * sunrpc/des_soft.c: Likewise.
36210 * sunrpc/get_myaddr.c: Likewise.
36211 * sunrpc/key_call.c: Likewise.
36212 * sunrpc/key_prot.c: Likewise.
36213 * sunrpc/netname.c: Likewise.
36214 * sunrpc/pm_getmaps.c: Likewise.
36215 * sunrpc/pm_getport.c: Likewise.
36216 * sunrpc/pmap_clnt.c: Likewise.
36217 * sunrpc/pmap_prot.c: Likewise.
36218 * sunrpc/pmap_prot2.c: Likewise.
36219 * sunrpc/pmap_rmt.c: Likewise.
36220 * sunrpc/publickey.c: Likewise.
36221 * sunrpc/rpc_cmsg.c: Likewise.
36222 * sunrpc/rpc_common.c: Likewise.
36223 * sunrpc/rpc_dtable.c: Likewise.
36224 * sunrpc/rpc_prot.c: Likewise.
36225 * sunrpc/rpc_thread.c: Likewise.
36226 * sunrpc/rtime.c: Likewise.
36227 * sunrpc/svc.c: Likewise.
36228 * sunrpc/svc_auth.c: Likewise.
36229 * sunrpc/svc_authux.c: Likewise.
36230 * sunrpc/svc_raw.c: Likewise.
36231 * sunrpc/svc_run.c: Likewise.
36232 * sunrpc/svc_simple.c: Likewise.
36233 * sunrpc/svc_tcp.c: Likewise.
36234 * sunrpc/svc_udp.c: Likewise.
36235 * sunrpc/svc_unix.c: Likewise.
36236 * sunrpc/svcauth_des.c: Likewise.
36237 * sunrpc/xcrypt.c: Likewise.
36238 * sunrpc/xdr.c: Likewise.
36239 * sunrpc/xdr_array.c: Likewise.
36240 * sunrpc/xdr_float.c: Likewise.
36241 * sunrpc/xdr_intXX_t.c: Likewise.
36242 * sunrpc/xdr_mem.c: Likewise.
36243 * sunrpc/xdr_rec.c: Likewise.
36244 * sunrpc/xdr_ref.c: Likewise.
36245 * sunrpc/xdr_sizeof.c: Likewise.
36246 * sunrpc/xdr_stdio.c: Likewise.
36247
e6c61494
UD
362482011-04-10 Ulrich Drepper <drepper@gmail.com>
36249
36250 [BZ #12650]
36251 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36252 * sysdeps/ia64/dl-tls.h: Likewise.
36253 * sysdeps/powerpc/dl-tls.h: Likewise.
36254 * sysdeps/s390/dl-tls.h: Likewise.
36255 * sysdeps/sh/dl-tls.h: Likewise.
36256 * sysdeps/sparc/dl-tls.h: Likewise.
36257 * sysdeps/x86_64/dl-tls.h: Likewise.
36258 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36259
34fe483e
AS
362602011-03-14 Andreas Schwab <schwab@redhat.com>
36261
36262 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36263 rpath element also skip the following colon.
36264 (expand_dynamic_string_token): Add is_path parameter and pass
36265 down to DL_DST_REQUIRED and _dl_dst_substitute.
36266 (decompose_rpath): Call expand_dynamic_string_token with
36267 non-zero is_path. Ignore empty rpaths.
36268 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36269 with zero is_path.
36270
f12a32e6
AS
362712011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36272
36273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36274 Make cancelable.
36275
38a7d692
UD
362762011-04-09 Ulrich Drepper <drepper@gmail.com>
36277
36278 [BZ #12655]
36279 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36280 Patch by Filipe David Manana <fdmanana@apache.org>.
36281
e451d22b
AS
362822011-04-07 Andreas Schwab <schwab@redhat.com>
36283
36284 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36285 Maintain aligned stack.
36286 (CHECK_RSP): Remove unused macro.
36287
dedc7c7b
UD
362882011-04-03 Ulrich Drepper <drepper@gmail.com>
36289
36290 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36291 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36292
94521213
UD
362932011-04-02 Ulrich Drepper <drepper@gmail.com>
36294
36295 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36296
8cb700c0 36297 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 36298
0354e355
L
362992011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36300
36301 [BZ #12518]
36302 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36303 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36304 * sysdeps/x86_64/memmove.c: New file.
36305 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36306 (memcpy): Renamed to ...
36307 (__new_memcpy): This.
36308 (memcpy): Provide GLIBC_2_14 memcpy.
36309 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36310 (memcpy): Provide GLIBC_2_2_5 memcpy.
36311
8593482f
UD
363122011-04-01 Ulrich Drepper <drepper@gmail.com>
36313
36314 [BZ #12631]
36315 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36316
81a5726b
AS
363172011-03-30 Andreas Schwab <schwab@redhat.com>
36318
36319 * misc/syncfs.c: New file.
36320 * misc/Makefile (routines): Add syncfs.
36321 * posix/unistd.h: Declare syncfs.
36322 * sysdeps/unix/syscalls.list: Add syncfs.
36323
00e5419f
AS
363242011-04-01 Andreas Schwab <schwab@redhat.com>
36325
36326 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36327 open_by_handle_at.
36328 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
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/syscalls.list: Likewise.
36334 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36335
748876bf
UD
363362011-04-01 Ulrich Drepper <drepper@gmail.com>
36337
658e451d
UD
36338 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36339 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36340 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36341 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36342 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36343 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36344 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36345
748876bf
UD
36346 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36347 sync_file_range.c with -fexceptions.
36348 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36349 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36350 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36351 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36352 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36353 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36354 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
36355 sync_file_range as cancellation point
36356 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36357 now a wrapper around __call_sync_file_range with cancellation handling.
36358 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36359 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36360 function name to __call_sync_file_range.
36361 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36362 Add call_sync_file_range.
748876bf 36363
6e63d5e1
AS
363642011-04-01 Andreas Schwab <schwab@redhat.com>
36365
36366 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 36367 bits/timex.h.
6e63d5e1 36368
46998f74
UD
363692011-04-01 Ulrich Drepper <drepper@gmail.com>
36370
4c1423ed
UD
36371 * iconv/iconv.h: Fix typo in comment.
36372 * io/fcntl.h: Likewise.
36373 * libio/stdio.h: Likewise.
36374 * posix/spawn.h: Likewise.
36375 * posix/unistd.h: Likewise.
36376 * stdlib/stdlib.h: Likewise.
36377 * time/time.h: Likewise.
36378 * wcsmbs/wchar.h: Likewise.
36379
158648c0
UD
36380 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36381 open_by_handle): Add.
36382 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36383 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36384 Augment a few comments.
36385 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36386 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36387 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36388 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36389 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36390 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36391 open_by_handle.
36392
46998f74
UD
36393 * io/fcntl.h (AT_EMPTY_PATH): Define.
36394
83fe108b
UD
363952011-03-30 Ulrich Drepper <drepper@gmail.com>
36396
36397 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36398 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36399 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36400 to...
36401 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
36402 * Versions.def: Add GLIBC_2.14.
36403 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36404 Export.
83fe108b 36405
bb242059
UD
364062011-03-22 Ulrich Drepper <drepper@gmail.com>
36407
36408 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36409 round counter.
36410 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36411
c97a1282
L
364122011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36413
36414 [BZ #12597]
36415 * string/test-strncmp.c (do_page_test): New function.
36416 (check2): Likewise.
36417 (test_main): Call check2.
36418 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36419
2a115601
UD
364202011-03-20 Ulrich Drepper <drepper@gmail.com>
36421
36422 [BZ #12587]
36423 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36424 Handle cache information in CPU leaf 4.
36425 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36426
8126d904
UD
364272011-03-18 Ulrich Drepper <drepper@gmail.com>
36428
042c49c6 36429 [BZ #12583]
8126d904
UD
36430 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36431 character representation.
36432 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36433
ccfe366e
RA
364342011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36435
36436 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36437 END(__isnan) to END(__isnanf) to match function entry point/label
36438 EALIGN(__isnanf,...).
36439
c6e13027
JJ
364402011-03-10 Jakub Jelinek <jakub@redhat.com>
36441
36442 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36443
33f85a3f
UD
364442011-03-10 Ulrich Drepper <drepper@gmail.com>
36445
028478fa
UD
36446 [BZ #12510]
36447 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36448 copy from the symbol referenced in the relocation to initialize the
36449 used variable.
36450 Patch by Piotr Bury <pbury@goahead.com>.
36451 * elf/Makefile: Add rules to build and tst-unique3.
36452 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36453 * elf/tst-unique3.cc: New file.
36454 * elf/tst-unique3.h: New file.
36455 * elf/tst-unique3lib.cc: New file.
36456 * elf/tst-unique3lib2.cc: New file.
36457
33f85a3f
UD
36458 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36459
03592fc7
MF
364602011-03-10 Mike Frysinger <vapier@gentoo.org>
36461
36462 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36463 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36464 to _start.
03592fc7 36465
6a5ee102
UD
364662011-03-06 Ulrich Drepper <drepper@gmail.com>
36467
36468 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36469 to-be-loaded object along a path to loader is ld.so.
36470
7e4ba49c
HJ
364712011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36472 Ulrich Drepper <drepper@gmail.com>
36473
36474 * sysdeps/x86_64/memset.S: After aligning destination, code
36475 branches to different locations depending on the value of
36476 misalignment, when multiarch is enabled. Fix this.
36477
364782011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36479
36480 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36481 Set _x86_64_preferred_memory_instruction for AMD processsors.
36482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36483 Set bit_Prefer_SSE_for_memop for AMD processors.
36484
13a804de
UD
364852011-03-04 Ulrich Drepper <drepper@gmail.com>
36486
36487 * libio/fmemopen.c (fmemopen): Optimize a bit.
36488
9d25c392
AS
364892011-03-03 Andreas Schwab <schwab@redhat.com>
36490
36491 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36492
a5543c6a
RM
364932011-03-03 Roland McGrath <roland@redhat.com>
36494
36495 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36496
012d35f7
DM
364972011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36498
7e4ba49c 36499 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
36500 __bzero_ultra1 instead of __memset_ultra1.
36501
4bff6e01
AS
365022011-02-23 Andreas Schwab <schwab@redhat.com>
36503 Ulrich Drepper <drepper@gmail.com>
36504
36505 [BZ #12509]
36506 * include/link.h (struct link_map): Add l_orig_initfini.
36507 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36508 returning unsuccessfully.
36509 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36510 close of a file loaded at startup, restore the original l_initfini
36511 list.
36512 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36513 list, store the pointer.
36514 * elf/Makefile ($(objpfx)noload-mem): New rule.
36515 (noload-ENV): Define.
36516 (tests): Add $(objpfx)noload-mem.
36517 * elf/noload.c: Include <memcheck.h>.
36518 (main): Call mtrace. Close all opened handles.
36519
f2092faf
AS
365202011-02-17 Andreas Schwab <schwab@redhat.com>
36521
36522 [BZ #12454]
36523 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36524 dependencies are missing.
36525
6c8a2e88
ST
365262011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36527
f2092faf 36528 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
36529 Hurd needs munmap.
36530 * sysdeps/mach/hurd/ifreq.h: New file.
36531
84a42118
PB
365322011-01-27 Petr Baudis <pasky@suse.cz>
36533 Ulrich Drepper <drepper@gmail.com>
36534
071f805e 36535 [BZ 12445]#
84a42118
PB
36536 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36537 to extend_alloca().
36538 * stdio-common/bug23.c: New file.
36539 * stdio-common/Makefile (tests): Add bug23.
36540
e23fe25b
AS
365412010-09-28 Andreas Schwab <schwab@redhat.com>
36542 Ulrich Drepper <drepper@gmail.com>
36543
36544 [BZ #12489]
36545 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36546 before performing relro protection. At old place add assertion
36547 to make sure nothing changed.
36548
d3f02e10
NS
365492011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36550 Glauber de Oliveira Costa <glommer@gmail.com>
36551
36552 * elf/elf.h: Add new ARM TLS relocs.
36553
d55fd7a5
RA
365542011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36555
36556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36557 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36558 cast from r3.
36559 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36560 'tests' variable.
36561 * sysdeps/wordsize-64/tst-writev.c: New file.
36562
2206397e
RA
365632011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36564
36565 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36566 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36567 insns in _dl_start to prevent a TOC reference before relocs are
36568 resolved.
36569
e9433893
UD
365702011-02-15 Ulrich Drepper <drepper@gmail.com>
36571
36572 [BZ #12469]
36573 * Makeconfig: Remove RANLIB definition.
36574 * Makerules: Don't use RANLIB.
36575 * aclocal.m4: Remove ranlib test.
36576 * configure.in: No need to check for ranlib.
36577 * elf/rtld-Rules: Don't use RANLIB.
36578
f75286c6
ST
365792011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36580
8e31c82d
ST
36581 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36582 protection macro.
36583 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36584 inclusion protection macro.
36585
f75286c6
ST
36586 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36587 SIGRTMIN and SIGRTMAX and print information in that case only when
36588 SIGRTMIN is defined.
36589
c1d0e639
JJ
365902011-02-11 Jakub Jelinek <jakub@redhat.com>
36591
36592 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36593 arginfo fn returning -1.
36594
36595 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36596 and thousands string is zero terminated.
36597
edf9294e
AS
365982011-02-03 Andreas Schwab <schwab@redhat.com>
36599
36600 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36601 sysdeps/unix/sysv/linux/bits/socket.h.
36602
2b7e92df
ST
366032011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36604
edf9294e
AS
36605 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36606 (__CPU_COUNT): Remove old macros.
36607 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36608 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36609 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
36610 (__sched_cpualloc, __sched_cpufree): Add declarations.
36611
a4c7ea7b
UD
366122011-02-05 Ulrich Drepper <drepper@gmail.com>
36613
36614 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36615 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36616 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36617 (readdhstai): Return value of addhstaiX call.
36618 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36619 (addgrbyX): Return value returned by cache_addgr.
36620 (readdgrbyname): Return value returned by addgrbyX.
36621 (readdgrbygid): Likewise.
36622 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36623 (addpwbyX): Return value returned by cache_addpw.
36624 (readdpwbyname): Return value returned by addhstbyX.
36625 (readdpwbyuid): Likewise.
36626 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36627 (addservbyX): Return value returned by cache_addserv.
36628 (readdservbyname): Return value returned by addservbyX:
36629 (readdservbyport): Likewise.
36630 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36631 (addhstbyX): Return value returned by cache_addhst.
36632 (readdhstbyname): Return value returned by addhstbyX.
36633 (readdhstbyaddr): Likewise.
36634 (readdhstbynamev6): Likewise.
36635 (readdhstbyaddrv6): Likewise.
36636 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36637 (readdinitgroups): Return value returned by addinitgroupsX.
36638 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36639 (prune_cache): Keep track of timeout value of re-added entries.
36640 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36641 * nscd/nscd.h: Adjust prototypes of readd* functions.
36642
a0bf67cc
RM
366432011-02-04 Roland McGrath <roland@redhat.com>
36644
36645 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36646 (nis_stats): Likewise.
36647 * nis/nis_modify.c (nis_modify): Likewise.
36648 * nis/nis_remove.c (nis_remove): Likewise.
36649 * nis/nis_add.c (nis_add): Likewise.
36650
36651 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36652
36653 * posix/fnmatch_loop.c: Add some consts.
36654
36655 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36656
435b95eb
L
366572011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36658
36659 [BZ #12460]
36660 * config.make.in (config-cflags-novzeroupper): Define.
36661 * configure.in: Substitute libc_cv_cc_novzeroupper.
36662 * elf/Makefile (AVX-CFLAGS): Define.
36663 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36664 (CFLAGS-tst-auditmod4a.c): Likewise.
36665 (CFLAGS-tst-auditmod4b.c): Likewise.
36666 (CFLAGS-tst-auditmod6b.c): Likewise.
36667 (CFLAGS-tst-auditmod6c.c): Likewise.
36668 (CFLAGS-tst-auditmod7b.c): Likewise.
36669 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36670
8517b15e
UD
366712011-02-02 Ulrich Drepper <drepper@gmail.com>
36672
36673 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36674 function to the callback.
36675 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36676
10a656fe
AS
366772011-02-02 Andreas Schwab <schwab@redhat.com>
36678
36679 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36680 of errno.
36681
968dad0a
UD
366822011-01-19 Ulrich Drepper <drepper@gmail.com>
36683
9f94d2ea 36684 [BZ #11724]
968dad0a
UD
36685 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36686 of constructors.
36687 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36688 of destructors.
36689 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36690
36691 [BZ #11724]
36692 * elf/Makefile: Add rules to build and run new test.
36693 * elf/tst-initorder.c: New file.
36694 * elf/tst-initorder.exp: New file.
36695 * elf/tst-initordera1.c: New file.
36696 * elf/tst-initordera2.c: New file.
36697 * elf/tst-initordera3.c: New file.
36698 * elf/tst-initordera4.c: New file.
36699 * elf/tst-initorderb1.c: New file.
36700 * elf/tst-initorderb2.c: New file.
36701 * elf/tst-order-a1.c: New file.
36702 * elf/tst-order-a2.c: New file.
36703 * elf/tst-order-a3.c: New file.
36704 * elf/tst-order-a4.c: New file.
36705 * elf/tst-order-b1.c: New file.
36706 * elf/tst-order-b2.c: New file.
36707 * elf/tst-order-main.c: New file.
36708 New test case by George Gensure <werkt0@gmail.com>.
36709
86e92359
UD
367102010-10-01 Andreas Schwab <schwab@redhat.com>
36711
36712 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36713 decoding ACE if AI_CANONIDN.
36714
5d5732b0
UD
367152011-01-18 Ulrich Drepper <drepper@gmail.com>
36716
36717 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36718
a77e8cbc
UD
367192011-01-17 Ulrich Drepper <drepper@gmail.com>
36720
6392473f
UD
36721 * version.h (RELEASE): Bump for 2.13 release.
36722 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36723
620a0529
UD
36724 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36725
18ba70a5
UD
36726 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36727 MADV_NOHUGEPAGE.
32465c3e
UD
36728 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36729 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36730 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36731 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36732 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36733 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36734
c0dafcf1
UD
36735 * posix/getconf.c: Update copyright year.
36736 * catgets/gencat.c: Likewise.
36737 * csu/version.c: Likewise.
36738 * debug/catchsegv.sh: Likewise.
36739 * debug/xtrace.sh: Likewise.
36740 * elf/ldconfig.c: Likewise.
36741 * elf/ldd.bash.in: Likewise.
36742 * elf/sprof.c (print_version): Likewise.
36743 * iconv/iconv_prog.c: Likewise.
36744 * iconv/iconvconfig.c: Likewise.
36745 * locale/programs/locale.c: Likewise.
36746 * locale/programs/localedef.c: Likewise.
36747 * malloc/memusage.sh: Likewise.
36748 * malloc/mtrace.pl: Likewise.
36749 * nscd/nscd.c (print_version): Likewise.
36750 * nss/getent.c: Likewise.
36751
a77e8cbc
UD
36752 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36753 PF_CAIF, and PF_ALG.
36754 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36755
77e8bddf
AS
367562011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36757
1f20b93a
AS
36758 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36759 (modules-names): Use them.
36760 (ifunc-test-modules, ifunc-pie-tests): Define.
36761 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36762 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36763 (test-extras): Likewise.
36764 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36765 $(compile-command.c).
36766 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36767 (all-built-dso): Define.
36768 (check-textrel.out, check-execstack.out): Depend on it.
36769
77e8bddf
AS
36770 * configure.in: Don't override --enable-multi-arch.
36771
bc425b33
UD
367722011-01-15 Ulrich Drepper <drepper@gmail.com>
36773
36774 [BZ #6812]
36775 * nscd/hstcache.c (tryagain): Define.
36776 (cache_addhst): Return tryagain not notfound for temporary errors.
36777 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36778 failed.
36779
794c3ad3
UD
367802011-01-14 Ulrich Drepper <drepper@gmail.com>
36781
70181fdd
UD
36782 [BZ #10563]
36783 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36784 to make the syscall.
36785 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36786
794c3ad3
UD
36787 [BZ #12378]
36788 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36789 and fall back to matching as normal character if the string ends before
36790 the matching ']' is found. This is what POSIX requires.
36791 * posix/testfnm.c: Adjust test result.
36792 * posix/globtest.sh: Adjust test result. Add new test.
36793 * posix/tst-fnmatch.input: Likewise.
36794 * posix/tst-fnmatch2.c: Add new test.
36795
68dc9497
AS
367962010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36797
36798 * elf/Makefile (check-execstack): Revert last change. Depend on
36799 check-execstack.h.
36800 (check-execstack.h): New target.
36801 (generated): Add check-execstack.h.
36802 * elf/check-execstack.c: Include "check-execstack.h".
36803 (main): Revert last change.
36804 (handle_file): Return zero if GNU_STACK is absent and
36805 DEFAULT_STACK_PERMS doesn't include PF_X.
36806
451f001b
UD
368072011-01-13 Ulrich Drepper <drepper@gmail.com>
36808
cfa28e56
UD
36809 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36810 in child fails because the descriptor is already closed.
8cf8ce17
UD
36811 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36812 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36813 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 36814
1086d70d
UD
36815 [BZ #12397]
36816 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36817 syscall.
36818
451f001b
UD
36819 [BZ #10484]
36820 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36821 temporary buffer used to handle multi lookups locally.
a85b5cb4 36822 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 36823
08769175
UD
368242011-01-12 Ulrich Drepper <drepper@gmail.com>
36825
36826 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36827 loader is ld.so.
36828
5e49c52e
UD
368292011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36830
36831 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36832 alignment for SSE2.
36833
60522a5f
UD
368342011-01-12 Ulrich Drepper <drepper@gmail.com>
36835
36836 [BZ #12394]
36837 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36838 characters. When rounding increased number of integer digits recompute
36839 number of groups.
36840 * stdio-common/tst-grouping.c: New file.
36841 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36842
f257bbd7
UD
368432011-01-09 Ulrich Drepper <drepper@gmail.com>
36844
36845 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36846 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36847
36848 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36849 void.
36850 * bits/select.h: Likewise.
36851
fa9c15cb
UD
368522011-01-08 Ulrich Drepper <drepper@gmail.com>
36853
36854 * po/ja.po: Update from translation team.
36855
16c2895f
DM
368562011-01-04 David S. Miller <davem@sunset.davemloft.net>
36857
36858 [BZ #11155]
36859 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36860 implementation just like for lxstat, fxstatat, et al.
36861
2543fef2
JM
368622010-12-27 Jim Meyering <meyering@redhat.com>
36863
36864 [BZ #12348]
36865 * posix/regexec.c (build_trtable): Return failure indication upon
36866 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36867
98727dbe
UD
368682010-12-25 Ulrich Drepper <drepper@gmail.com>
36869
5bd6dc5c
UD
36870 [BZ #12201]
36871 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36872 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36873 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36874 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36875
97983464
UD
36876 [BZ #12207]
36877 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36878
98727dbe
UD
36879 [BZ #12204]
36880 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36881 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36882
4a531bb0
L
368832010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36884
36885 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36886 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36887 script has SORT_BY_INIT_PRIORITY.
36888 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36889 NO_CTORS_DTORS_SECTIONS is defined.
36890 * elf/soinit.c: Likewise.
36891 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36892 NO_CTORS_DTORS_SECTIONS is defined.
36893 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36894 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36895 * sysdeps/sh/init-first.c: Likewise.
36896 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36897
07eb4b71
UD
368982010-12-24 Ulrich Drepper <drepper@gmail.com>
36899
36900 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36901 always use the slow path.
36902
30950a5f
RA
369032010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36904
36905 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36906 similar rule which adds the sysdep directories to the header search in
36907 order to pick up the correct platform stackinfo.h.
36908 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36909 perform test if it is, otherwise return successfully without testing.
36910 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36911 DEFAULT_STACK_PERMS define in stackinfo.h.
36912 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36913 defined in stackinfo.h.
36914 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36915 DEFAULT_STACK_PERMS defined in stackinfo.h.
36916 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36917 * sysdeps/ia64/stackinfo.h: Likewise.
36918 * sysdeps/s390/stackinfo.h: Likewise.
36919 * sysdeps/sh/stackinfo.h: Likewise.
36920 * sysdeps/sparc/stackinfo.h: Likewise.
36921 * sysdeps/x86_64/stackinfo.h: Likewise.
36922 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36923 PF_X for powerpc64. Retain PF_X for powerpc32.
36924
db753e2c
UD
369252010-12-19 Ulrich Drepper <drepper@gmail.com>
36926
14b697f7
UD
36927 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36928 accurately.
db753e2c
UD
36929 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36930 GETDENTS_64BIT_ALIGNED.
36931
28300719
UD
369322010-12-14 Ulrich Drepper <dreper@gmail.com>
36933
14b697f7 36934 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 36935
4f197237
AS
369362010-12-10 Andreas Schwab <schwab@redhat.com>
36937
dbb0472f
AS
36938 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36939 _GNU_SOURCE.
36940
4f197237
AS
36941 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36942 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36943 Remove __restrict.
36944 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36945 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36946
fb88ac72
UD
369472010-12-09 Ulrich Drepper <drepper@gmail.com>
36948
36949 [BZ #11655]
36950 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36951 are initialized.
36952
42acbb92
JJ
369532010-12-09 Jakub Jelinek <jakub@redhat.com>
36954
36955 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36956
c038d98d
UD
369572010-12-03 Ulrich Drepper <drepper@gmail.com>
36958
36959 * po/it.po: Update from translation team.
36960
3a4a2499
L
369612010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36962
36963 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36964 unused codes.
36965
1e24cf6e
UD
369662010-11-30 Ulrich Drepper <drepper@gmail.com>
36967
36968 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36969
a7690819
AS
369702010-11-24 Andreas Schwab <schwab@redhat.com>
36971
36972 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36973 specially.
36974 (gaih_getanswer_slice): Likewise.
36975
3bf8d1b1
JJ
369762010-10-20 Jakub Jelinek <jakub@redhat.com>
36977
36978 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36979
6db52fbb
PB
369802010-05-31 Petr Baudis <pasky@suse.cz>
36981
36982 [BZ #11149]
36983 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36984 silently even in the chroot mode.
36985
eaca7569
UD
369862010-11-22 Ulrich Drepper <drepper@gmail.com>
36987
36988 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36989 last patch a bit. Pretty printing
36990
3056dcdb
UD
369912010-05-31 Petr Baudis <pasky@suse.cz>
36992
36993 [BZ #10085]
36994 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36995 initialization of skip_initgroups_dyn.
36996
cf7c9078
UD
369972010-11-19 Ulrich Drepper <drepper@gmail.com>
36998
36999 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37000 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37001
a1fb5e3e
UD
370022010-11-16 Ulrich Drepper <drepper@gmail.com>
37003
37004 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37005
3540d66b
AS
370062010-11-11 Andreas Schwab <schwab@redhat.com>
37007
37008 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37009 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37010 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37011 ($(objpfx)tst-fnmatch-mem): New rule.
37012 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37013 * posix/tst-fnmatch.c (main): Call mtrace.
37014
13b69574
L
370152010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37016
37017 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37018 Support Intel processor model 6 and model 0x2c.
37019
da93d214
LM
370202010-11-10 Luis Machado <luisgpm@br.ibm.com>
37021
37022 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37023 signed comparison.
37024
8ca52c6e
L
370252010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37026
37027 [BZ #12205]
37028 * string/test-strncasecmp.c (check_result): New function.
37029 (do_one_test): Use it.
37030 (check1): New function.
37031 (test_main): Use it.
37032 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37033 Support strcasecmp and strncasecmp.
37034
69da074d
UD
370352010-11-08 Ulrich Drepper <drepper@gmail.com>
37036
37037 [BZ #12194]
37038 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37039 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37040
ff02d528
L
370412010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37042
37043 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37044 IFUNC support.
37045 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37046 memset-x86-64.
37047 * sysdeps/x86_64/multiarch/bzero.S: New file.
37048 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37049 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37050 * sysdeps/x86_64/multiarch/memset.S: New file.
37051 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37052 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37053 Set bit_Prefer_SSE_for_memop for Intel processors.
37054 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37055 Define.
37056 (index_Prefer_SSE_for_memop): Define.
37057 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37058
344d0b54
LM
370592010-11-04 Luis Machado <luisgpm@br.ibm.com>
37060
37061 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37062 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37063
c0dde15b
UD
370642010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37065
37066 [BZ #12191]
37067 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37068 (__x86_64_raw_data_cache_size_half): Likewise.
37069 (__x86_64_raw_shared_cache_size): Likewise.
37070 (__x86_64_raw_shared_cache_size_half): Likewise.
37071
37072 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37073 (__x86_64_raw_data_cache_size_half): Likewise.
37074 (__x86_64_raw_shared_cache_size): Likewise.
37075 (__x86_64_raw_shared_cache_size_half): Likewise.
37076 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37077 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37078 and __x86_64_raw_shared_cache_size_half. Round
37079 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37080 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37081 to multiple of 256 bytes.
37082
0e516e0e
MS
370832010-11-03 Ulrich Drepper <drepper@gmail.com>
37084
37085 [BZ #12167]
37086 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37087 of inacessible symlinks. Verify result of symlink before returning it.
37088 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37089 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37090
0e012e87
ER
370912010-10-28 Erich Ritz <erichritz@gmail.com>
37092
37093 * math/math.h (isinf): Fix typo in comment.
37094
de0ff7bc
UD
370952010-11-01 Ulrich Drepper <drepper@gmail.com>
37096
37097 * po/da.po: Update from translation team.
37098
fa41c84d
UD
370992010-10-26 Ulrich Drepper <drepper@gmail.com>
37100
37101 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37102 is added to the list.
37103
f0967738
AK
371042010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37105 Ulrich Drepper <drepper@gmail.com>
37106
37107 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37108 the global list here. Move code to...
37109 (_dl_add_to_namespace_list): ...here. New function.
37110 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37111 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37112 * elf/dl-load.c (lose): Don't remove the element from the list.
37113 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37114 (_dl_map_object): Likewise.
37115
371162010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
37117
37118 [BZ #12159]
37119 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37120 into all bytes of SSE register.
37121 Patch by Richard Li <richardpku@gmail.com>.
37122
f0967738 371232010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
37124
37125 [BZ #12140]
37126 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37127 perturbing.
37128
d0b9e94f
MB
371292010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37130
37131 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37132 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37133 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37134 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37136 submachine.
37137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37138
8e9f92e9
AS
371392010-10-22 Andreas Schwab <schwab@redhat.com>
37140
37141 * include/dlfcn.h (__RTLD_SECURE): Define.
37142 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37143 mode & __RTLD_SECURE instead.
37144 (open_path): Rename preloaded parameter to secure.
37145 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37146 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37147 * elf/dl-deps.c (openaux): Likewise.
37148 * elf/rtld.c (struct map_args): Remove is_preloaded.
37149 (map_doit): Don't use it.
37150 (dl_main): Likewise.
37151 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37152 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37153
bc96fbda
AS
371542010-09-09 Andreas Schwab <schwab@redhat.com>
37155
37156 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37157 (sysd-rules-targets): Remove duplicates.
37158 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37159 rtld-%.$o dependency.
37160
22cd1c9b
AS
371612010-10-18 Andreas Schwab <schwab@redhat.com>
37162
37163 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37164 _dl_map_object do it.
37165
18edac48
UD
371662010-10-19 Ulrich Drepper <drepper@gmail.com>
37167
37168 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37169 fast fma builtins, define the macros in the C99 standard.
37170 (FP_FAST_FMAF): Likewise.
37171 (FP_FAST_FMAL): Likewise.
37172 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37173
37174 * bits/mathdef.h: Update copyright year.
37175 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37176
d2050124
MM
371772010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37178
37179 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37180 builtins, define the macros in the C99 standard.
37181 (FP_FAST_FMAF): Likewise.
37182 (FP_FAST_FMAL): Likewise.
37183 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37184 multiply/add.
37185 (FP_FAST_FMAF): Likewise.
37186
475facd1
JJ
371872010-10-15 Jakub Jelinek <jakub@redhat.com>
37188
37189 [BZ #3268]
37190 * math/libm-test.inc (fma_test): Some new testcases.
37191 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37192 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37193 y and infinite z. Do multiplication by C already in long double.
37194 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37195 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37196 y and infinite z. Do bitwise or of inexact bit into u.d.
37197 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37198 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37199 * sysdeps/i386/fpu/s_fma.S: Removed.
37200 * sysdeps/i386/fpu/s_fmal.S: Removed.
37201
7c08a05c
JJ
372022010-10-16 Jakub Jelinek <jakub@redhat.com>
37203
37204 [BZ #3268]
37205 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37206 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37207 computation is not scheduled after fetestexcept. Fix value
37208 of minimum denormal long double.
37209
f3f7372d
JJ
372102010-10-14 Jakub Jelinek <jakub@redhat.com>
37211
37212 [BZ #3268]
37213 * math/libm-test.inc (fma_test): Add some more tests.
37214 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37215 correctly.
37216
14d43591
AS
372172010-10-15 Andreas Schwab <schwab@redhat.com>
37218
37219 * scripts/data/localplt-s390-linux-gnu.data: New file.
37220 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37221
5e908464
JJ
372222010-10-13 Jakub Jelinek <jakub@redhat.com>
37223
37224 [BZ #3268]
37225 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37226 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37227 instead of dbl-64.
37228 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37229 inlines.
37230 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37231 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37232 if one of x and y is very large and the other is subnormal.
37233 * sysdeps/s390/fpu/s_fmaf.c: New file.
37234 * sysdeps/s390/fpu/s_fma.c: New file.
37235 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37236 * sysdeps/powerpc/fpu/s_fma.S: New file.
37237 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37238 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37239 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37240
372412010-10-12 Jakub Jelinek <jakub@redhat.com>
37242
37243 [BZ #3268]
37244 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37245 fma tests.
37246 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37247 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37248 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37249 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37250 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37251 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37252 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37253
b833d51f
UD
372542010-10-12 Ulrich Drepper <drepper@redhat.com>
37255
37256 [BZ #12078]
37257 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37258 * posix/bug-regex31.input: Add test case.
37259
1751705d
UD
372602010-10-11 Ulrich Drepper <drepper@gmail.com>
37261
e9b9cbf5
UD
37262 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37263 * posix/bug-regex31.input: New file.
37264
37265 [BZ #12078]
37266 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37267 (parse_sub_exp): Fix last change, use postorder.
37268
ef06edbe
UD
37269 * posix/bug-regex31.c: New file.
37270 * posix/Makefile: Add rules to build and run bug-regex31.
37271
a129c80d
UD
37272 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37273
37274 [BZ #12078]
37275 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37276
b76b818e
UD
37277 [BZ #12108]
37278 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37279 to have entries in sys_siglist.
37280
1751705d
UD
37281 [BZ #12093]
37282 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37283 be NULL.
37284
9ff8d36f
JJ
372852010-10-07 Jakub Jelinek <jakub@redhat.com>
37286
37287 [BZ #3268]
37288 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37289 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37290 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37291 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37292 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37293 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37294 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37295 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37296 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37297 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37298 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37299 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37300 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37301 * math/ftestexcept.c (fetestexcept): Likewise.
37302 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37303 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37304 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37305 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37306 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37307 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37308 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37309
af325969
UD
373102010-10-11 Ulrich Drepper <drepper@gmail.com>
37311
c579b202 37312 [BZ #12107]
af325969
UD
37313 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37314 newline.
37315
67a67b95
UD
373162010-10-06 Ulrich Drepper <drepper@gmail.com>
37317
37318 * string/bug-strstr1.c: New file.
37319 * string/Makefile: Add rules to build and run bug-strstr1.
37320
5fb308bc
EB
373212010-10-05 Eric Blake <eblake@redhat.com>
37322
37323 [BZ #12092]
37324 * string/str-two-way.h (two_way_long_needle): Always clear memory
37325 when skipping input due to the shift table.
37326
45db99c7
UD
373272010-10-03 Ulrich Drepper <drepper@gmail.com>
37328
3b111893
UD
37329 [BZ #12005]
37330 * malloc/mcheck.c: Handle large requests.
37331
45db99c7
UD
37332 [BZ #12077]
37333 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37334 for strncmp and strncasecmp.
37335 * string/stratcliff.c: Add tests for strcmp and strncmp.
37336 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37337
cf7a1eb8
NI
373382010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37339
37340 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37341 __set_fpscr.
37342
6484ba5e
AJ
373432010-09-30 Andreas Jaeger <aj@suse.de>
37344
37345 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37346 (CGROUP_SUPER_MAGIC): Define.
37347 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37348 Handle btrfs and cgroup file systems.
37349 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37350 Likewise.
37351
91c42559
LM
373522010-09-27 Luis Machado <luisgpm@br.ibm.com>
37353
37354 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37355 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37356
87a97932
AK
373572010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37358
37359 [BZ #12067]
37360 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37361 trying to locate the ELF header.
37362
c21cc9bc
AS
373632010-09-27 Andreas Schwab <schwab@redhat.com>
37364
37365 [BZ #11611]
37366 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37367 Mask out sign-bit copies when constructing f_fsid.
37368
315970f6
PB
373692010-09-24 Petr Baudis <pasky@suse.cz>
37370
37371 * debug/stack_chk_fail_local.c: Add missing licence exception.
37372 * debug/warning-nop.c: Likewise.
37373
1ac7a2c7
JM
373742010-09-15 Joseph Myers <joseph@codesourcery.com>
37375
37376 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37377 implementing getdents64 using getdents syscall, set d_type if
37378 __ASSUME_GETDENTS32_D_TYPE.
37379
56801c50
AS
373802010-09-16 Andreas Schwab <schwab@redhat.com>
37381
37382 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37383 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37384
dda51327
UD
373852010-09-21 Ulrich Drepper <drepper@redhat.com>
37386
37387 [BZ #12037]
37388 * posix/unistd.h: Undo change of feature selection for ftruncate from
37389 2010-01-11.
37390
8ffcee4a
UD
373912010-09-20 Ulrich Drepper <drepper@redhat.com>
37392
a545ecd9 37393 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
37394 detection.
37395
e24f0a8b
AS
373962010-09-20 Andreas Schwab <schwab@redhat.com>
37397
37398 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37399 fanotify_mark.
37400 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37401
7291c56f
AS
374022010-09-14 Andreas Schwab <schwab@redhat.com>
37403
37404 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37405 variables after CHECK_SP call.
37406 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37407
bc5fb037
AS
374082010-09-13 Andreas Schwab <schwab@redhat.com>
37409 Ulrich Drepper <drepper@redhat.com>
37410
37411 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37412 re-relocationg ld.so.
37413 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37414 _dl_init_paths call.
37415 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37416 here anymore.
37417
e66e7419
UD
374182010-09-14 Ulrich Drepper <drepper@redhat.com>
37419
37420 * resolv/res_init.c (__res_vinit): Count the default server we added.
37421
c044aa75
CLT
374222010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37423 Ulrich Drepper <drepper@redhat.com>
37424
37425 [BZ #11968]
37426 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37427 (____longjmp_chk): Use %ebx for saving value across system call.
37428 Add unwind info.
37429
32cf4069
AS
374302010-09-06 Andreas Schwab <schwab@redhat.com>
37431
37432 * manual/Makefile: Don't mix pattern rules with normal rules.
37433
817328ee
AS
374342010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37435
37436 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37437 operation.
37438 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37439 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37440 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37441 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37442 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37443 Likewise.
37444
29fddf61
UD
374452010-09-04 Ulrich Drepper <drepper@redhat.com>
37446
37447 [BZ #11979]
37448 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37449 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37450
0959ffc9
UD
374512010-09-02 Ulrich Drepper <drepper@redhat.com>
37452
37453 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37454 * sysdeps/x86_64/addmul_1.S: Likewise.
37455 * sysdeps/x86_64/lshift.S: Likewise.
37456 * sysdeps/x86_64/mul_1.S: Likewise.
37457 * sysdeps/x86_64/rshift.S: Likewise.
37458 * sysdeps/x86_64/sub_n.S: Likewise.
37459 * sysdeps/x86_64/submul_1.S: Likewise.
37460
ece29840
ST
374612010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37462
0959ffc9
UD
37463 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37464 Define __sched_param instead of SCHED_* and sched_param when
ece29840 37465 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 37466 * bits/sched.h [__need_schedparam]
ece29840 37467 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
37468 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37469 (__defined_schedparam): Define to 1.
ece29840
ST
37470 (__sched_param): New structure, identical to sched_param.
37471 (__need_schedparam): Undefine.
37472
e53a31fe
MF
374732010-08-31 Mike Frysinger <vapier@gentoo.org>
37474
fdc0c10d
MF
37475 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37476 (epoll_create1): Declare.
37477
e53a31fe
MF
37478 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37479
a726d796
AS
374802010-08-31 Andreas Schwab <schwab@redhat.com>
37481
37482 [BZ #7066]
37483 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37484 shifting retval into place.
37485
2f3e3dc7
UD
374862010-09-01 Ulrich Drepper <drepper@redhat.com>
37487
f2933da9
UD
37488 * nis/rpcsvc/nis.h: Update copyright notice.
37489 * nis/rpcsvc/nis.x: Likewise.
37490 * nis/rpcsvc/nis_callback.h: Likewise.
37491 * nis/rpcsvc/nis_callback.x: Likewise.
37492 * nis/rpcsvc/nis_object.x: Likewise.
37493 * nis/rpcsvc/nis_tags.h: Likewise.
37494 * nis/rpcsvc/yp.h: Likewise.
37495 * nis/rpcsvc/yp.x: Likewise.
37496 * nis/rpcsvc/ypupd.h: Likewise.
37497 * nis/yp_xdr.c: Likewise.
37498 * nis/ypupdate_xdr.c: Likewise.
37499
2f3e3dc7
UD
37500 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37501 mainly the body of pmap_getport. Add parameters to specify timeouts.
37502 (pmap_getport): Use __libc_rpc_getport.
37503 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37504 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37505 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37506
f3dcc2f9
AS
375072010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37508
37509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37510 fanotify_mark.
37511
6d34eb5b
RM
375122010-08-27 Roland McGrath <roland@redhat.com>
37513
37514 * sysdeps/i386/i686/multiarch/Makefile
37515 (CFLAGS-varshift.c): New variable.
37516
9ea3de11
UD
375172010-08-27 Ulrich Drepper <drepper@redhat.com>
37518
c96d23fc
UD
37519 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37520 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37521
9ea3de11
UD
37522 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37523
37524 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37525
623aac7f
L
375262010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37527
37528 * sysdeps/x86_64/strlen.S: Unroll the loop.
37529 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37530 strlen-sse2 strlen-sse2-bsf.
37531 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37532 __strlen_no_bsf if bit_Slow_BSF is set.
37533 (__strlen_sse42): Removed.
37534 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37535 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37536
8b2b7715
RM
375372010-08-25 Roland McGrath <roland@redhat.com>
37538
37539 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37540 * sysdeps/x86_64/multiarch/varshift.c: New file.
37541 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37542 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37543 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37544 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37545
e73015f2
L
375462010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37547
37548 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37549 strlen-sse2 strlen-sse2-bsf.
37550 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37551 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37552 (__strlen_sse2): Removed.
37553 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37554 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37556 bit_Slow_BSF for Atom.
37557 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37558 (index_Slow_BSF): Define.
37559 (HAS_SLOW_BSF): Define.
37560
df24a73e
UD
375612010-08-25 Ulrich Drepper <drepper@redhat.com>
37562
37563 [BZ #10851]
37564 * resolv/res_init.c (__res_vinit): When no server address at all
37565 is given default to loopback.
37566
f2ac4868
RM
375672010-08-24 Roland McGrath <roland@redhat.com>
37568
09055553
RM
37569 * configure.in: Remove config-name.h generation.
37570 * configure: Regenerated.
37571 * config-name.in: File removed.
37572 * scripts/config-uname.sh: New file.
37573 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37574 ($(objdir)config-name.h): New target.
37575
f2ac4868
RM
37576 * sunrpc/rpc_parse.h: Avoid nested comment.
37577
73f27d5e
RH
375782010-08-24 Richard Henderson <rth@redhat.com>
37579 Ulrich Drepper <drepper@redhat.com>
37580 H.J. Lu <hongjiu.lu@intel.com>
37581
37582 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37583 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37584 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37585 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37586 _mm_alignr_epi8 with _mm_loadu_si128.
37587 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37588 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37589 (__m128i_shift_right): Removed.
37590 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37591 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37592 * sysdeps/x86_64/multiarch/varshift.h: New file.
37593 * sysdeps/x86_64/multiarch/varshift.S: New file.
37594
84b9230c
MF
375952010-08-21 Mike Frysinger <vapier@gentoo.org>
37596
37597 * configure.in: Move assembler checks to before sysdep dir checking.
37598
9bbd0ddc
PB
375992010-08-20 Petr Baudis <pasky@suse.cz>
37600
37601 * LICENSES: Sync the sunrpc license.
37602
9da4bb31
UD
376032010-08-19 Ulrich Drepper <drepper@redhat.com>
37604
a7ab6ec8
UD
37605 * sunrpc/auth_des.c: Update copyright notice once again.
37606 * sunrpc/auth_none.c: Likewise.
37607 * sunrpc/auth_unix.c: Likewise.
37608 * sunrpc/authdes_prot.c: Likewise.
37609 * sunrpc/authuxprot.c: Likewise.
37610 * sunrpc/bindrsvprt.c: Likewise.
37611 * sunrpc/clnt_gen.c: Likewise.
37612 * sunrpc/clnt_perr.c: Likewise.
37613 * sunrpc/clnt_raw.c: Likewise.
37614 * sunrpc/clnt_simp.c: Likewise.
37615 * sunrpc/clnt_tcp.c: Likewise.
37616 * sunrpc/clnt_udp.c: Likewise.
37617 * sunrpc/clnt_unix.c: Likewise.
37618 * sunrpc/des_crypt.c: Likewise.
37619 * sunrpc/des_soft.c: Likewise.
37620 * sunrpc/get_myaddr.c: Likewise.
37621 * sunrpc/getrpcport.c: Likewise.
37622 * sunrpc/key_call.c: Likewise.
37623 * sunrpc/key_prot.c: Likewise.
37624 * sunrpc/openchild.c: Likewise.
37625 * sunrpc/pm_getmaps.c: Likewise.
37626 * sunrpc/pm_getport.c: Likewise.
37627 * sunrpc/pmap_clnt.c: Likewise.
37628 * sunrpc/pmap_prot.c: Likewise.
37629 * sunrpc/pmap_prot2.c: Likewise.
37630 * sunrpc/pmap_rmt.c: Likewise.
37631 * sunrpc/rpc/auth.h: Likewise.
37632 * sunrpc/rpc/auth_unix.h: Likewise.
37633 * sunrpc/rpc/clnt.h: Likewise.
37634 * sunrpc/rpc/des_crypt.h: Likewise.
37635 * sunrpc/rpc/key_prot.h: Likewise.
37636 * sunrpc/rpc/netdb.h: Likewise.
37637 * sunrpc/rpc/pmap_clnt.h: Likewise.
37638 * sunrpc/rpc/pmap_prot.h: Likewise.
37639 * sunrpc/rpc/pmap_rmt.h: Likewise.
37640 * sunrpc/rpc/rpc.h: Likewise.
37641 * sunrpc/rpc/rpc_des.h: Likewise.
37642 * sunrpc/rpc/rpc_msg.h: Likewise.
37643 * sunrpc/rpc/svc.h: Likewise.
37644 * sunrpc/rpc/svc_auth.h: Likewise.
37645 * sunrpc/rpc/types.h: Likewise.
37646 * sunrpc/rpc/xdr.h: Likewise.
37647 * sunrpc/rpc_clntout.c: Likewise.
37648 * sunrpc/rpc_cmsg.c: Likewise.
37649 * sunrpc/rpc_common.c: Likewise.
37650 * sunrpc/rpc_cout.c: Likewise.
37651 * sunrpc/rpc_dtable.c: Likewise.
37652 * sunrpc/rpc_hout.c: Likewise.
37653 * sunrpc/rpc_main.c: Likewise.
37654 * sunrpc/rpc_parse.c: Likewise.
37655 * sunrpc/rpc_parse.h: Likewise.
37656 * sunrpc/rpc_prot.c: Likewise.
37657 * sunrpc/rpc_sample.c: Likewise.
37658 * sunrpc/rpc_scan.c: Likewise.
37659 * sunrpc/rpc_scan.h: Likewise.
37660 * sunrpc/rpc_svcout.c: Likewise.
37661 * sunrpc/rpc_tblout.c: Likewise.
37662 * sunrpc/rpc_util.c: Likewise.
37663 * sunrpc/rpc_util.h: Likewise.
37664 * sunrpc/rpcinfo.c: Likewise.
37665 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37666 * sunrpc/rpcsvc/key_prot.x: Likewise.
37667 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37668 * sunrpc/rpcsvc/mount.x: Likewise.
37669 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37670 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37671 * sunrpc/rpcsvc/rex.x: Likewise.
37672 * sunrpc/rpcsvc/rstat.x: Likewise.
37673 * sunrpc/rpcsvc/rusers.x: Likewise.
37674 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37675 * sunrpc/rpcsvc/spray.x: Likewise.
37676 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37677 * sunrpc/rtime.c: Likewise.
37678 * sunrpc/svc.c: Likewise.
37679 * sunrpc/svc_auth.c: Likewise.
37680 * sunrpc/svc_authux.c: Likewise.
37681 * sunrpc/svc_raw.c: Likewise.
37682 * sunrpc/svc_run.c: Likewise.
37683 * sunrpc/svc_simple.c: Likewise.
37684 * sunrpc/svc_tcp.c: Likewise.
37685 * sunrpc/svc_udp.c: Likewise.
37686 * sunrpc/svc_unix.c: Likewise.
37687 * sunrpc/svcauth_des.c: Likewise.
37688 * sunrpc/xcrypt.c: Likewise.
37689 * sunrpc/xdr.c: Likewise.
37690 * sunrpc/xdr_array.c: Likewise.
37691 * sunrpc/xdr_float.c: Likewise.
37692 * sunrpc/xdr_mem.c: Likewise.
37693 * sunrpc/xdr_rec.c: Likewise.
37694 * sunrpc/xdr_ref.c: Likewise.
37695 * sunrpc/xdr_sizeof.c: Likewise.
37696 * sunrpc/xdr_stdio.c: Likewise.
37697
9da4bb31
UD
37698 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37699 handling.
37700
bdaa77bc
AS
377012010-08-19 Andreas Schwab <schwab@redhat.com>
37702
37703 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37704
fe2f79db
LM
377052010-08-19 Luis Machado <luisgpm@br.ibm.com>
37706
37707 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37708 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37709 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37710 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37711 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37712 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37713 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37714 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37715 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37716 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37717 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37718 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37719 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37720 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37721
b9b42ee0
AB
377222010-07-26 Anton Blanchard <anton@samba.org>
37723
37724 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37725 * malloc/arena.c (heap_trim): Likewise.
37726
1c06ba31
UD
377272010-08-16 Ulrich Drepper <drepper@redhat.com>
37728
37729 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37730 here. Not...
37731 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37732 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37733
f8392f40
L
377342010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37735
37736 * sysdeps/i386/elf/Makefile: New file.
37737
3162f12e
AS
377382010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37739
37740 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37741 from fanotify_init.
37742 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37743 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37744
28c90b2c
UD
377452010-08-15 Ulrich Drepper <drepper@redhat.com>
37746
37747 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37748 of strncasecmp_l.
1feccb6c 37749 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 37750
ca6bb004
UD
377512010-08-14 Ulrich Drepper <drepper@redhat.com>
37752
e9f82e0d
UD
37753 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37754 strncase_l-nonascii.
37755 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37756 Add strncase_l-ssse3.
37757 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37758 * sysdeps/x86_64/strcmp.S: Likewise.
37759 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37760 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37761 * sysdeps/x86_64/strncase.S: New file.
37762 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37763 * sysdeps/x86_64/strncase_l.S: New file.
37764 * string/Makefile (strop-tests): Add strncasecmp.
37765 * string/test-strncasecmp.c: New file.
37766
37767 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37768 warning.
37769
ca6bb004
UD
37770 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37771 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37772
052fa7b3
AS
377732010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37774
37775 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37776
962dba78
UD
377772010-08-12 Ulrich Drepper <drepper@redhat.com>
37778
37779 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37780 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37781 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37782
bebff237
AM
377832010-05-01 Alan Modra <amodra@gmail.com>
37784
37785 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37786 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37787 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37788 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37789 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37790 tidying. Don't tail-call __sigjmp_save for static lib.
37791 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37792 save location.
37793 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37794 (CALL_MCOUNT): Add eh info, and nop after bl.
37795 (TAIL_CALL_SYSCALL_ERROR): New macro.
37796 (PSEUDO_RET): Use it.
37797 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37798 Correct save location of integer regs and cr.
37799 (_dl_profile_resolve): Correct cr save location. Delete nops
37800 after bl when SHARED. Reduce cfi size a little by better
37801 placement of cfi directives.
37802 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37803 make a stack frame. Instead use parm save area as a temp.
37804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37805 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37807 Don't make a stack frame for parent, use parm save area.
37808 Increase child stack frame to 112 bytes. Don't save unused reg,
37809 and adjust reg usage. Set up cfi on error recovery and
37810 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37812 (__makecontext): Add dummy nop after jump to exit.
37813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37814 Use correct parm save area and cr save, reduce stack frame.
37815 Correct cfi for possible PSEUDO_RET frame setup.
37816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37817 Branch to local label emitted by PSEUDO_RET rather than
37818 __syscall_error.
37819
02637374
AS
378202010-08-12 Andreas Schwab <schwab@redhat.com>
37821
37822 [BZ #11904]
37823 * locale/programs/locale.c (print_assignment): New function.
37824 (show_locale_vars): Use it.
37825
c3e2f19b
UD
378262010-08-11 Ulrich Drepper <drepper@redhat.com>
37827
3cdaa6ad
UD
37828 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37829 field.
37830 (struct statfs64): Likewise.
37831 (_STATFS_F_FLAGS): Define.
37832 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37833 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37834 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37835 (ST_VALID): Define locally.
37836 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37837 __statvfs_getflags, use the provided value.
37838 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37839 __ASSUME_STATFS_F_FLAGS.
37840
754f7da3
UD
37841 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37842
10b3bedc
UD
37843 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37844 Add sys/fanotify.h.
37845 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37846 fanotify_mask for GLIBC_2.13.
37847 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37848 fanotify_init and fanotify_mark.
37849 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37850 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37851
c08fb0d7
UD
37852 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37853 Add prlimit.
37854 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37855 prlimit64 for GLIBC_2.13.
37856 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37857 prlimit64.
37858 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37859 syscall.
37860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37861 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37862 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37863 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37864 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37865 add prlimit alias.
37866 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37867
15bac72b
UD
37868 [BZ #11903]
37869 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37870 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37871
c3e2f19b
UD
37872 * nss/Makefile: Add rules to build and run tst-nss-test1.
37873 * shlib-versions: Add entry for libnss_test1.
37874 * nss/nss_test1.c: New file.
37875 * nss/tst-nss-test1.c: New file.
37876
37877 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37878 (__nss_configure_lookup): Set appropriate entry in
37879 __nss_configure_lookup to true.
37880 * nss/nsswitch.h: Define enum with indeces of databases in
37881 databases and __nss_database_custom arrays. Declare
37882 __nss_database_custom.
37883 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37884 to avoid using nscd when custom rules are installed.
37885 * nss/getXXbyYY_r.c: Likewise.
37886 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37887
37888 * nss/nss_files/files-parse.c: Whitespace fixes.
37889
f15ce4d8
UD
378902010-08-09 Ulrich Drepper <drepper@redhat.com>
37891
37892 [BZ #11883]
37893 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37894 * posix/fnmatch_loop.c: Likewise.
37895
d22e4cc9
AK
378962010-07-17 Andi Kleen <ak@linux.intel.com>
37897
37898 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37899 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37900 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37901 * Versions.def [GLIBC_2.13]: Add.
37902
805bc17d
UD
379032010-08-06 Ulrich Drepper <drepper@redhat.com>
37904
37905 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37906 Also fail if tpwd after pwuid call is NULL.
37907
5a42321d
ST
379082010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37909
37910 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37911 when converting to ms.
37912
fd3ebeda
ST
379132010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37914
37915 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37916 EOPNOTSUPP errors with ENOTTY.
37917 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37918 EOPNOTSUPP errors with ENOTTY.
37919
73507d3a
UD
379202010-07-31 Ulrich Drepper <drepper@redhat.com>
37921
37922 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37923 Add strcasecmp_l-ssse3.
37924 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37925 strcasecmp.
37926 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37927 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37928 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37929
fe36dd02
UD
379302010-07-30 Ulrich Drepper <drepper@redhat.com>
37931
66f6765a
UD
37932 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37933
42e08a54
UD
37934 * string/Makefile (strop-tests): Add strcasecmp.
37935 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37936 strcasecmp_l-nonascii.
37937 (gen-as-const-headers): Add locale-defines.sym.
37938 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37939 * sysdeps/x86_64/strcasecmp.S: New file.
37940 * sysdeps/x86_64/strcasecmp_l.S: New file.
37941 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37942 * sysdeps/x86_64/locale-defines.sym: New file.
37943 * string/test-strcasecmp.c: New file.
37944
fe36dd02
UD
37945 * string/test-strcasestr.c: Test both ends of the range of characters.
37946 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37947
48cbc0d6
RM
379482010-07-29 Roland McGrath <roland@redhat.com>
37949
76e6d6bc 37950 [BZ #11856]
48cbc0d6
RM
37951 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37952
880113d9
UD
379532010-07-27 Ulrich Drepper <drepper@redhat.com>
37954
37955 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37956 for ld.so.
37957
deb9cabb
AS
379582010-07-27 Andreas Schwab <schwab@redhat.com>
37959
37960 * manual/memory.texi (Malloc Tunable Parameters): Document
37961 M_PERTURB.
37962
1c7570ff
RM
379632010-07-26 Roland McGrath <roland@redhat.com>
37964
37965 [BZ #11840]
37966 * configure.in (-fgnu89-inline check): Set and substitute
37967 gnu89_inline, not libc_cv_gnu89_inline.
37968 * configure: Regenerated.
37969 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37970
24fb0f88
UD
379712010-07-26 Ulrich Drepper <drepper@redhat.com>
37972
37973 * string/test-strnlen.c: New file.
37974 * string/Makefile (strop-tests): Add strnlen.
37975 * string/tester.c (test_strnlen): Add a few more test cases.
37976 * string/tst-strlen.c: Better error reporting.
37977
37978 * sysdeps/x86_64/strnlen.S: New file.
37979
8e96b93a
UD
379802010-07-24 Ulrich Drepper <drepper@redhat.com>
37981
37982 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37983 lower-latency instructions.
37984
dbc676d4
UD
379852010-07-23 Ulrich Drepper <drepper@redhat.com>
37986
37987 * string/test-strcasestr.c: New file.
37988 * string/test-strstr.c: New file.
37989 * string/Makefile (strop-tests): Add strstr and strcasestr.
37990 * string/str-two-way.h: Don't undefine MAX.
37991 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37992
f6a31e0e
AS
379932010-07-21 Andreas Schwab <schwab@redhat.com>
37994
37995 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37996 strcasestr-nonascii.
37997 (CFLAGS-strcasestr-nonascii.c): Define.
37998 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37999 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38000 Remove unused attribute.
38001
5dbc3b6c
RM
380022010-07-20 Roland McGrath <roland@redhat.com>
38003
38004 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38005 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38006 ld.so.cache was broken. With it, there is no way to disable dsocaps
38007 like LD_HWCAP_MASK can disable hwcaps.
38008
23d101d8
EPM
380092010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38010
38011 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38012
cc9f2e47
UD
380132010-07-16 Ulrich Drepper <drepper@redhat.com>
38014
38015 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38016 call in strcasestr.
38017 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38018 __strcasestr_sse42_nonascii.
38019 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38020 strcasestr-nonascii.c.
38021 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38022
77c1b069
LM
380232010-06-15 Luis Machado <luisgpm@br.ibm.com>
38024
38025 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38026 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38027 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38028 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38029
440566c3
UD
380302010-07-09 Ulrich Drepper <drepper@redhat.com>
38031
38032 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38033 fcntl.
38034
5be9d05d
AS
380352010-07-06 Andreas Schwab <schwab@redhat.com>
38036
c30b7ee2 38037 [BZ #11577]
5be9d05d
AS
38038 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38039 dl_signal_cerror.
38040
8a492a67
UD
380412010-07-06 Ulrich Drepper <drepper@redhat.com>
38042
38043 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38044 _PC_PIPE_BUF using F_GETPIPE_SZ.
38045
713df3d5
RM
380462010-07-05 Roland McGrath <roland@redhat.com>
38047
38048 * manual/arith.texi (Rounding Functions): Fix rint description
38049 implicit in round description.
38050
702e8f14
UD
380512010-07-02 Ulrich Drepper <drepper@redhat.com>
38052
38053 * elf/Makefile: Fix linking for a few tests to make recent linker
38054 happy.
38055
52ed8be9
AS
380562010-06-30 Andreas Schwab <schwab@redhat.com>
38057
38058 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38059 $(common-objpfx)libc_nonshared.a.
38060
f47c9a11
LM
380612010-06-21 Luis Machado <luisgpm@br.ibm.com>
38062
38063 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38064 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38065 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38066 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38067 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38068 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38069 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38070 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38085 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38086 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38087 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38088 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38089 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38090 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38091 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38092 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38093 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38094 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38095 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38096 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38111
6fb8cbcb
L
381122010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38113
38114 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38115 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38116 * string/memmove.c (memmove): Renamed to ...
38117 (MEMMOVE): ...this. Default to memmove.
38118 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38119 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38120 (END_CHK): Define.
38121 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38122 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38123 mempcpy-ssse3-back memmove-ssse3-back.
38124 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38125 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38126 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38127 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38128 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38129 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38130 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38131 * sysdeps/x86_64/multiarch/memmove.c: New file.
38132 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38133 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38134 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38135 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38136 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38137 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38138 Define.
38139 (index_Fast_Copy_Backward): Define.
38140 (HAS_ARCH_FEATURE): Define.
38141 (HAS_FAST_REP_STRING): Define.
38142 (HAS_FAST_COPY_BACKWARD): Define.
38143
4e733bac 381442010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
38145
38146 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38147 Restore proper fallback handling.
38148
63c4ed22
UD
381492010-06-19 Ulrich Drepper <drepper@redhat.com>
38150
ac2b484c
UD
38151 [BZ #11701]
38152 * posix/group_member.c (__group_member): Correct checking loop.
38153
63c4ed22
UD
38154 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38155 OOM in getpwuid_r correctly. Return error number when the caller
38156 should return, otherwise -1.
38157 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38158 call returning > 0 value.
38159 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38160
765ade4b
AS
381612010-06-07 Andreas Schwab <schwab@redhat.com>
38162
38163 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38164 libc_nonshared.a from targets in modules-names.
38165
80da2e09
KS
381662010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38167
38168 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38169 requires it.
38170
158db122
LM
381712010-06-10 Luis Machado <luisgpm@br.ibm.com>
38172
38173 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38174 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38175 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38176 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38177
caa78cf8
AS
381782010-06-02 Andreas Schwab <schwab@redhat.com>
38179
38180 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38181
b2ef2c01
UD
381822010-06-14 Ulrich Drepper <drepper@redhat.com>
38183
38184 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38185 and F_GETPIPE_SZ.
38186 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38187 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38188 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38189 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38190 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38191 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38192
fbd643b6
RM
381932010-06-14 Roland McGrath <roland@redhat.com>
38194
38195 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38196
f32f2869
JJ
381972010-06-07 Jakub Jelinek <jakub@redhat.com>
38198
38199 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38200 __REDIRECT followed by __THROW.
38201 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38202 * posix/getopt.h (getopt): Likewise.
38203
2a50c078
EPM
382042010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38205
38206 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38207 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38208 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38209 in AT_FLAGS.
38210 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38211 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38212
eb5ad2eb
LM
382132010-05-28 Luis Machado <luisgpm@br.ibm.com>
38214
38215 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38216
3c88fe1e
L
382172010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38218
38219 [BZ #11640]
38220 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38221 Properly check family and model.
38222
d2f73151
TY
382232010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38224
38225 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38226
ebd2e13d
LM
382272010-05-24 Luis Machado <luisgpm@br.ibm.com>
38228
38229 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38230
b32b8b45
UD
382312010-05-21 Ulrich Drepper <drepper@redhat.com>
38232
38233 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38234 symbol reference.
38235
9acbe24d
AS
382362010-05-19 Andreas Schwab <schwab@redhat.com>
38237
38238 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38239 symbol reference.
38240
f0ccf6ea
AS
382412010-05-21 Andreas Schwab <schwab@redhat.com>
38242
3d04ff3a
AS
38243 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38244 and internal_recvmmsg.
38245 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38246 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38247 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38248 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38249
f0ccf6ea
AS
38250 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38251 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38252 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38253
5b08ac57
AS
382542010-05-20 Andreas Schwab <schwab@redhat.com>
38255
38256 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38257
4828935d
LM
382582010-05-17 Luis Machado <luisgpm@br.ibm.com>
38259
38260 POWER7 optimizations.
38261 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38262 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38263
373d545e
UD
382642010-05-19 Ulrich Drepper <drepper@redhat.com>
38265
38266 * version.h: Update for 2.13 development version.
38267
21a2b1ae
AS
382682010-05-12 Andrew Stubbs <ams@codesourcery.com>
38269
38270 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38271 exceptions. Return 0.
38272
3f7dcb2b
RM
382732010-05-07 Roland McGrath <roland@redhat.com>
38274
38275 * elf/ldconfig.c (main): Add a const.
38276
5f24d53a 382772010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 38278
a160f8d8
UD
38279 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38280 (args_options): Add no-idn option.
38281 (ahosts_keys_int): Add idn_flags to ai_flags.
38282 (parse_option): Handle 'i' option to clear idn_flags.
38283
5f24d53a
UD
38284 * malloc/malloc.c (_int_free): Possible race in the most recently
38285 added check. Only act on the data if no current modification
38286 happened.
265bb1ce
UD
38287
38288See ChangeLog.17 for earlier changes.